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ACA;;;;;;;;;;;ACjGA;AACA,4CAA4C,mBAAO,CAAC,2EAAgE;AACpH,kCAAkC,mBAAO,CAAC,oEAAyD;AACnG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,wIAAwI,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,UAAU,KAAK,KAAK,UAAU,KAAK,KAAK,WAAW,KAAK,KAAK,UAAU,WAAW,UAAU,UAAU,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,UAAU,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,WAAW,KAAK,KAAK,WAAW,UAAU,UAAU,WAAW,WAAW,WAAW,WAAW,UAAU,KAAK,KAAK,UAAU,KAAK,MAAM,UAAU,WAAW,UAAU,MAAM,KAAK,UAAU,UAAU,MAAM,MAAM,WAAW,MAAM,MAAM,WAAW,MAAM,MAAM,WAAW,MAAM,MAAM,UAAU,MAAM,MAAM,UAAU,UAAU,WAAW,WAAW,UAAU,WAAW,WAAW,MAAM,OAAO,WAAW,UAAU,MAAM,SAAS,UAAU,MAAM,M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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,6IAA6I,MAAM,WAAW,KAAK,KAAK,UAAU,WAAW,KAAK,KAAK,WAAW,WAAW,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,UAAU,WAAW,UAAU,UAAU,KAAK,MAAM,YAAY,KAAK,KAAK,WAAW,UAAU,KAAK,KAAK,WAAW,KAAK,OAAO,WAAW,KAAK,KAAK,YAAY,WAAW,KAAK,KAAK,YAAY,WAAW,KAAK,KAAK,YAAY,KAAK,MAAM,WAAW,MAAM,MAAM,WAAW,MAAM,MAAM,WAAW,MAAM,KAAK,WAAW,MAAM,MAAM,WAAW,MAAM,MAAM,WAAW,MAAM,MAAM,WAAW,MAAM,MAAM,WAAW,WAAW,WAAW,MAAM,KAAK,WAAW,WAAW,WAAW,MAAM,KAAK,YAAY,WAAW,UAAU,MAAM,KAAK,YAAY,MAAM,KAAK,YAA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AmC,iBAAiB,eAAe,aAAa,WAAW,SAAS,OAAO,KAAK,GAAG,qBAAqB;AAC1qP;AACA;;;;;;;;;;;AClOA;AACA,4CAA4C,mBAAO,CAAC,2EAAgE;AACpH,kCAAkC,mBAAO,CAAC,oEAAyD;AACnG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,kIAAkI,UAAU,UAAU,KAAK,MAAM,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,YAAY,UAAU,MAAM,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,UAAU,KAAK,KAAK,UAAU,KAAK,KAAK,UAAU,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,WAAW,KAAK,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yD;AACnG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,+IAA+I,MAAM,WAAW,KAAK,KAAK,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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,+GAA+G,WAAW,WAAW,UAAU,WAAW,KAAK,KAAK,YAAY,MAAM,OAAO,WAAW,KAAK,aAAa,aAAa,MAAM,cAAc,UAAU,MAAM,MAAM,aAAa,MAAM,MAAM,YAAY,UAAU,WAAW,WAAW,WAAW,WAAW,WAAW,MAAM,KAAK,WAAW,MAAM,KAAK,UAAU,UAAU,KAAK,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,WAAW,WAAW,KAAK,KAAK,WAAW,WAAW,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,WAA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,8HAA8H,WAAW,KAAK,KAAK,WAAW,KAAK,KAAK,UAAU,WAAW,WAAW,WAAW,KAAK,KAAK,UAAU,WAAW,WAAW,KAAK,KAAK,WAAW,WAAW,WAAW,UAAU,WAAW,UAAU,KAAK,KAAK,WAAW,WAAW,KAAK,MAAM,YAAY,WAAW,WAAW,UAAU,WAAW,KAAK,MAAM,YAAY,WAAW,UAAU,WAAW,KAAK,MAAM,YAAY,KAAK,MAAM,YAAY,WAAW,KAAK,KAAK,UAAU,KAAK,MAAM,YAAY,KAAK,MAAM,YAAY,KAAK,MAAM,YAAY,KAAK,MAAM,YAAY,KAAK,MAAM,YAAY,KAAK,MAAM,WAAW,WAAW,MAAM,OAA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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,uKAAuK,UAAU,UAAU,UAAU,WAAW,WAAW,WAAW,WAAW,WAAW,KAAK,SAAS,YAAY,KAAK,UAAU,WAAW,UAAU,UAAU,WAAW,WAAW,KAAK,SAAS,WAAW,KAAK,SAAS,WAAW,KAAK,SAAS,WAAW,KAAK,SAAS,WAAW,MAAM,UAAU,YAAY,MAAM,yBAAyB,YAAY,WAAW,UAAU,UAAU,WAAW,WAAW,WAAW,MAAM,UAAU,YAAY,MAAM,UAAU,YAAY,MAAM,MAAM,WAAW,UAAU,UAAU,WAAW,WAAW,WAAW,WAAW,WAAW,WAAW,MAAM,MAAM,UAAU,MAAM,MAAM,WAAW,UAAU,UAAU,UAAU,MAAM,MAAM,WAAW,MAAM,MAAM,YAAY,WAAW,MAAM,MAAM,YAAY,WAAW,WAAW,MAAM,M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AA0B,uBAAuB,kCAAkC,OAAO,kBAAkB,qBAAqB,OAAO,sBAAsB,2BAA2B,OAAO,2BAA2B,8BAA8B,2BAA2B,0BAA0B,4BAA4B,OAAO,4BAA4B,8BAA8B,0BAA0B,0BAA0B,4BAA4B,OAAO,KAAK,GAAG,wBAAwB,gBAAgB,uBAAuB,cAAc,oCAAoC,gCAAgC,WAAW,oCAAoC,+BAA+B,WAAW,SAAS,OAAO,KAAK,GAAG,qBAAqB;AACvpL;AACA;;;;;;;;;;;ACtPA;AACA,4CAA4C,mBAAO,CAAC,wEAA6D;AACjH,kCAAkC,mBAAO,CAAC,iEAAsD;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["./src/app/app.component.ts","./src/app/app.module.ts","./src/app/app.routes.ts","./src/app/models/app.models.ts","./src/app/models/editor-config.model.ts","./src/app/models/roles.enum.model.ts","./src/app/page.component.ts","./src/app/principle-topics/principle-topics.component.ts","./src/app/principle-topics/principle-topics.service.ts","./src/app/principles/cited-submissions/cited-submissions.component.ts","./src/app/principles/cited-submissions/cited-submissions.model.ts","./src/app/principles/establish-edit/establish-edit.component.ts","./src/app/principles/expire-principle/expire-principle.component.ts","./src/app/principles/principle-search/principle-search.component.ts","./src/app/principles/principle-search/principle-search.model.ts","./src/app/principles/principle-search/principle-search.service.ts","./src/app/principles/principle.model.ts","./src/app/principles/principle.service.ts","./src/app/principles/view-principle/view-principle.component.ts","./src/app/remove-required-pipe.ts","./src/app/safe-html-pipe.ts","./src/app/services/app-cache-interceptor.service.ts","./src/app/services/app-config.service.ts","./src/app/shared/link-submission.component.ts","./src/app/shared/shared.service.ts","./src/app/shared/validation.service.ts","./src/app/submission/amendment/amendment-create/amendment-create.component.ts","./src/app/submission/amendment/amendment-edit/amendment-edit.component.ts","./src/app/submission/amendment/amendment-final-decision/amendment-final-decision.component.ts","./src/app/submission/amendment/amendment-group/amendment-group.component.ts","./src/app/submission/amendment/amendment-reference/amendment-reference.component.ts","./src/app/submission/amendment/amendment-summary/amendment-summary.component.ts","./src/app/submission/amendment/amendment.component.ts","./src/app/submission/amendment/amendment.model.ts","./src/app/submission/amendment/amendment.service.ts","./src/app/submission/contribution-view-amd-fi/contribution-view-amd-fi.component.ts","./src/app/submission/contribution-view/contribution-view.component.ts","./src/app/submission/contribution/contribution.component.ts","./src/app/submission/create/create-submission-container-guard.ts","./src/app/submission/create/create-submission.component.ts","./src/app/submission/create/create-submission.model.ts","./src/app/submission/create/create-submission.service.ts","./src/app/submission/financial-implications/financial-implications.component.ts","./src/app/submission/financial-implications/type-create/type-create.component.ts","./src/app/submission/financial-implications/type-panel/type-panel.component.ts","./src/app/submission/financial-implications/type-view/type-view.component.ts","./src/app/submission/header/header.component.ts","./src/app/submission/status/status.component.ts","./src/app/submission/submission-search/submission-search.component.ts","./src/app/submission/submission-search/submission-search.model.ts","./src/app/submission/submission-search/submission-search.service.ts","./src/app/submission/submission.component.ts","./src/app/submission/submission.model.ts","./src/app/submission/submission.resolve.ts","./src/app/submission/submission.service.ts","./src/app/submission/support-info-view/support-info-view.component.ts","./src/app/submission/support-info/existing-support-info/existing-support-info.component.ts","./src/app/submission/support-info/support-info.component.ts","./src/app/submission/support-info/support-info.model.ts","./src/app/submission/support-info/support-info.service.ts","./src/app/submission/support-info/upload-other-related-doc/upload-other-related-doc.component.ts","./src/app/task-manager/task-manager.component.model.ts","./src/app/task-manager/task-manager.component.ts","./src/app/task-manager/task-manager.resolve.ts","./src/app/task-manager/task-manager.service.ts","./src/environments/base.environment.ts","./src/environments/environment.prod.ts","./src/main.ts","./src/app/page.component.less","./src/app/principle-topics/principle-topics.component.less","./src/app/principles/cited-submissions/cited-submissions.component.less","./src/app/principles/establish-edit/establish-edit.component.less","./src/app/principles/principle-search/principle-search.component.less","./src/app/principles/view-principle/view-principle.component.less","./src/app/shared/link-submission.component.less","./src/app/submission/amendment/amendment-create/amendment-create.component.less","./src/app/submission/amendment/amendment-edit/amendment-edit.component.less","./src/app/submission/amendment/amendment-final-decision/amendment-final-decision.component.less","./src/app/submission/amendment/amendment-group/amendment-group.component.less","./src/app/submission/amendment/amendment-reference/amendment-reference.component.less","./src/app/submission/amendment/amendment-summary/amendment-summary.component.less","./src/app/submission/amendment/amendment.component.less","./src/app/submission/contribution-view-amd-fi/contribution-view-amd-fi.component.less","./src/app/submission/contribution-view/contribution-view.component.less","./src/app/submission/contribution/contribution.component.less","./src/app/submission/create/create-submission.component.less","./src/app/submission/financial-implications/financial-implications.component.less","./src/app/submission/financial-implications/type-create/type-create.component.less","./src/app/submission/financial-implications/type-panel/type-panel.component.less","./src/app/submission/financial-implications/type-view/type-view.component.less","./src/app/submission/header/header.component.less","./src/app/submission/status/status.component.less","./src/app/submission/submission-search/submission-search.component.less","./src/app/submission/submission.component.less","./src/app/submission/support-info-view/support-info-view.component.less","./src/app/submission/support-info/existing-support-info/existing-support-info.component.less","./src/app/submission/support-info/support-info.component.less","./src/app/submission/support-info/upload-other-related-doc/upload-other-related-doc.component.less","./src/app/task-manager/task-manager.component.less","./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["import {\r\n Component,\r\n ElementRef,\r\n AfterViewInit\r\n} from \"@angular/core\";\r\nimport { TranslateService } from \"@ngx-translate/core\";\r\nimport { ConfigurationService, IAppSettings } from \"proceduralsystem-clientcomponents\";\r\nimport { forkJoin } from \"rxjs\";\r\nimport { take } from \"rxjs/operators\";\r\nimport { AppConfig, AppConfigService } from \"./services/app-config.service\";\r\n\r\n@Component({\r\n selector: \"app-root\",\r\n template: \"\",\r\n})\r\nexport class AppComponent implements AfterViewInit {\r\n public navigateTo;\r\n public appSettings: IAppSettings;\r\n\r\n constructor(\r\n public configurationService: ConfigurationService,\r\n private elementRef: ElementRef,\r\n private readonly config: AppConfigService,\r\n private readonly translateService: TranslateService\r\n ) {\r\n this.navigateTo = this.elementRef.nativeElement.getAttribute(\"navigateTo\");\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.showMessage(`${this.config.getValue('ModuleName')} application started`);\r\n\r\n forkJoin([this.config.get('VersionNumber'), this.config.get('defaultLang')])\r\n .pipe(take(1))\r\n .subscribe(([version, defaultLang]) => {\r\n this.showMessage(`v. ${version}`);\r\n\r\n this.translateService.addLangs(['en', 'ga']);\r\n this.translateService.use(defaultLang);\r\n });\r\n }\r\n\r\n private showMessage(message: string): void {\r\n console.log(\r\n `%c${message}`,\r\n 'color: #b39841; font-family: Arial; font-size: 1.5em; font-weight: bold;'\r\n );\r\n }\r\n}\r\n","import { APP_INITIALIZER, NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterModule } from '@angular/router';\r\nimport { AppComponent } from './app.component';\r\nimport { AppRoutes } from './app.routes';\r\nimport { Observable, of } from 'rxjs';\r\n\r\nimport {\r\n EventType,\r\n InteractionType,\r\n PublicClientApplication\r\n} from '@azure/msal-browser';\r\nimport {\r\n MSAL_GUARD_CONFIG,\r\n MSAL_INSTANCE,\r\n MSAL_INTERCEPTOR_CONFIG,\r\n MsalGuardConfiguration,\r\n MsalInterceptor,\r\n MsalInterceptorConfiguration,\r\n MsalRedirectComponent,\r\n MsalModule,\r\n MsalService,\r\n MsalGuard,\r\n MsalBroadcastService\r\n} from '@azure/msal-angular';\r\nimport { AuthenticationResult } from '@azure/msal-common/dist/response/AuthenticationResult';\r\n\r\nimport { ClientFrameworkModule } from 'proceduralsystem-clientcomponents';\r\nimport { NgxPaginationModule } from 'ngx-pagination';\r\nimport {\r\n MissingTranslationHandler,\r\n MissingTranslationHandlerParams,\r\n TranslateLoader,\r\n TranslateModule\r\n} from '@ngx-translate/core';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { FileUploadModule } from 'ng2-file-upload';\r\n\r\nimport { AppConfigService } from './services/app-config.service';\r\n\r\nimport { ViewPrincipleComponent } from './principles/view-principle/view-principle.component';\r\nimport { EstablishEditComponent } from './principles/establish-edit/establish-edit.component';\r\nimport { PrincipleTopicsComponent } from './principle-topics/principle-topics.component';\r\nimport { TaskManagerComponent } from './task-manager/task-manager.component';\r\nimport { SubmissionComponent } from './submission/submission.component';\r\nimport { PrincipleService } from './principles/principle.service';\r\nimport { ExpirePrincipleComponent } from './principles/expire-principle/expire-principle.component';\r\nimport { LinkSubmissionComponent } from './shared/link-submission.component';\r\nimport { SharedService } from './shared/shared.service';\r\nimport { ValidationService } from './shared/validation.service';\r\nimport { PrincipleSearchService } from './principles/principle-search/principle-search.service';\r\nimport { PrincipleTopicsService } from './principle-topics/principle-topics.service';\r\nimport { PrincipleSearchComponent } from './principles/principle-search/principle-search.component';\r\nimport { CitedSubmissionsComponent } from './principles/cited-submissions/cited-submissions.component';\r\nimport { SubmissionService } from './submission/submission.service';\r\nimport { SubmissionHeaderComponent } from './submission/header/header.component'\r\nimport { SubmissionStatusComponent } from './submission/status/status.component';\r\nimport { SubmissionContributionComponent } from './submission/contribution/contribution.component';\r\nimport { SubmissionResolve } from './submission/submission.resolve';\r\nimport { ContributionViewComponent } from './submission/contribution-view/contribution-view.component';\r\nimport { CreateSubmissionComponent } from './submission/create/create-submission.component';\r\nimport { CreateSubmissionContainerGuard } from './submission/create/create-submission-container-guard';\r\nimport { SafeHtmlPipe } from './safe-html-pipe';\r\nimport { RemoveRequiredPipe } from './remove-required-pipe';\r\nimport { SupportInfoComponent } from './submission/support-info/support-info.component';\r\nimport { ExistingSupportInfoComponent } from './submission/support-info/existing-support-info/existing-support-info.component';\r\nimport { UploadOtherRelatedDocComponent } from './submission/support-info/upload-other-related-doc/upload-other-related-doc.component';\r\nimport { SupportInfoViewComponent } from './submission/support-info-view/support-info-view.component';\r\nimport { TaskManagerService } from './task-manager/task-manager.service';\r\nimport { TaskManagerResolve } from './task-manager/task-manager.resolve';\r\nimport { SupportInfoService } from './submission/support-info/support-info.service';\r\nimport { FinancialImplicationsComponent } from './submission/financial-implications/financial-implications.component';\r\nimport { FinancialImplicationTypePanelComponent } from './submission/financial-implications/type-panel/type-panel.component';\r\nimport { FinancialImplicationTypeViewComponent } from './submission/financial-implications/type-view/type-view.component';\r\nimport { FinancialImplicationTypeCreateComponent } from './submission/financial-implications/type-create/type-create.component';\r\nimport { ContributionViewAmdFiComponent } from './submission/contribution-view-amd-fi/contribution-view-amd-fi.component';\r\nimport { SubmissionSearchComponent } from './submission/submission-search/submission-search.component';\r\n\r\nimport { AmendmentComponent } from './submission/amendment/amendment.component';\r\nimport { AmendmentService } from './submission/amendment/amendment.service';\r\nimport { SubmissionSearchService } from './submission/submission-search/submission-search.service';\r\nimport { AmendmentGroupComponent } from './submission/amendment/amendment-group/amendment-group.component';\r\nimport { AmendmentReferenceComponent } from './submission/amendment/amendment-reference/amendment-reference.component';\r\nimport { AmendmentCreateComponent } from './submission/amendment/amendment-create/amendment-create.component';\r\nimport { AmendmentEditComponent } from './submission/amendment/amendment-edit/amendment-edit.component';\r\nimport { AmendmentSummaryComponent } from './submission/amendment/amendment-summary/amendment-summary.component';\r\nimport { AmendmentFinalDecisionComponent } from './submission/amendment/amendment-final-decision/amendment-final-decision.component';\r\nimport { environment } from '../environments/environment';\r\nimport { PageComponent } from './page.component';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { CKEditorModule } from '@ckeditor/ckeditor5-angular';\r\nimport { HttpCacheInterceptor } from './services/app-cache-interceptor.service';\r\n\r\n// AoT requires an exported function for factories\r\nexport function HttpLoaderFactory(\r\n httpClient: HttpClient,\r\n config: AppConfigService\r\n): TranslateHttpLoader {\r\n return new TranslateHttpLoader(\r\n httpClient,\r\n './assets/i18n/',\r\n `.json?v=${config.getValue('VersionNumber')}`\r\n );\r\n}\r\n\r\nexport class TranslationHandlerService implements MissingTranslationHandler {\r\n /**\r\n * Missing translation handler.\r\n */\r\n public handle(params: MissingTranslationHandlerParams): Observable {\r\n return of(params.key);\r\n }\r\n}\r\n\r\n/**\r\n * MSAL Angular retrieve tokens for authorizaion\r\n */\r\nexport function MSALInstanceFactory(\r\n config: AppConfigService\r\n): PublicClientApplication {\r\n const msalConfig = environment.msalConfig;\r\n const endpoint = config.getValue('AzureAd');\r\n if (endpoint) {\r\n msalConfig.auth.clientId = endpoint.ClientId;\r\n msalConfig.auth.authority = `${endpoint.Instance}${endpoint.TenantId}`;\r\n }\r\n\r\n const msalInstance = new PublicClientApplication(msalConfig);\r\n\r\n // Account selection logic is app dependent. Adjust as needed for different use cases.\r\n const account = msalInstance.getActiveAccount();\r\n if (!account) {\r\n // Set active account on page load\r\n const accounts = msalInstance.getAllAccounts();\r\n if (accounts.length > 0) {\r\n msalInstance.setActiveAccount(accounts[0]);\r\n } else {\r\n // handle auth redirect/do all initial setup for msal\r\n msalInstance.addEventCallback(event => {\r\n // set active account after redirect\r\n if (event.eventType === EventType.LOGIN_SUCCESS && event.payload) {\r\n msalInstance.setActiveAccount(\r\n (event.payload as AuthenticationResult).account\r\n );\r\n window.location.reload();\r\n }\r\n });\r\n }\r\n }\r\n\r\n return msalInstance;\r\n}\r\n\r\nexport function MSALInterceptorConfigFactory(\r\n config: AppConfigService\r\n): MsalInterceptorConfiguration {\r\n const protectedResourceMap = new Map();\r\n let endpoint = config.getValue('ApiEndpoint');\r\n if (endpoint) {\r\n protectedResourceMap.set(endpoint.url, endpoint.scopes);\r\n }\r\n endpoint = config.getValue('CommsEndpoint');\r\n if (endpoint) {\r\n protectedResourceMap.set(endpoint.url, endpoint.scopes);\r\n }\r\n\r\n return {\r\n interactionType: InteractionType.Redirect,\r\n protectedResourceMap\r\n };\r\n}\r\n\r\nexport function MSALGuardConfigFactory(\r\n config: AppConfigService\r\n): MsalGuardConfiguration {\r\n return {\r\n interactionType: InteractionType.Redirect,\r\n authRequest: { scopes: config.getValue('ApiEndpoint').scopes }\r\n };\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n PageComponent,\r\n EstablishEditComponent,\r\n PrincipleTopicsComponent,\r\n TaskManagerComponent,\r\n SubmissionComponent,\r\n SubmissionHeaderComponent,\r\n SubmissionStatusComponent,\r\n SubmissionContributionComponent,\r\n ExpirePrincipleComponent,\r\n LinkSubmissionComponent,\r\n PrincipleSearchComponent,\r\n CitedSubmissionsComponent,\r\n ViewPrincipleComponent,\r\n ContributionViewComponent,\r\n CreateSubmissionComponent,\r\n SafeHtmlPipe,\r\n RemoveRequiredPipe,\r\n SupportInfoComponent,\r\n ExistingSupportInfoComponent,\r\n UploadOtherRelatedDocComponent,\r\n SupportInfoViewComponent,\r\n FinancialImplicationsComponent,\r\n FinancialImplicationTypePanelComponent,\r\n FinancialImplicationTypeViewComponent,\r\n FinancialImplicationTypeCreateComponent,\r\n ContributionViewAmdFiComponent,\r\n SubmissionSearchComponent,\r\n AmendmentComponent,\r\n AmendmentGroupComponent,\r\n AmendmentReferenceComponent,\r\n AmendmentCreateComponent,\r\n AmendmentEditComponent,\r\n AmendmentSummaryComponent,\r\n AmendmentFinalDecisionComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n BrowserAnimationsModule,\r\n RouterModule,\r\n TranslateModule.forRoot({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: HttpLoaderFactory,\r\n deps: [HttpClient, AppConfigService]\r\n },\r\n missingTranslationHandler: {\r\n provide: MissingTranslationHandler,\r\n useClass: TranslationHandlerService\r\n },\r\n // defaultLanguage: 'en',\r\n isolate: false\r\n }),\r\n ReactiveFormsModule,\r\n FormsModule,\r\n ClientFrameworkModule,\r\n AppRoutes,\r\n TabViewModule,\r\n CKEditorModule,\r\n NgxPaginationModule,\r\n FileUploadModule,\r\n MsalModule\r\n ],\r\n providers: [\r\n AppConfigService,\r\n PrincipleService,\r\n SharedService,\r\n ValidationService,\r\n PrincipleTopicsService,\r\n PrincipleSearchService,\r\n TaskManagerService,\r\n CreateSubmissionContainerGuard,\r\n PrincipleService,\r\n SubmissionService,\r\n SubmissionResolve,\r\n TaskManagerResolve,\r\n SupportInfoService,\r\n SubmissionSearchService,\r\n AmendmentService,\r\n { provide: 'debug', useValue: true },\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: (config: AppConfigService) => () => config.init().toPromise(),\r\n deps: [AppConfigService],\r\n multi: true\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: MsalInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: MSAL_INSTANCE,\r\n useFactory: MSALInstanceFactory,\r\n deps: [AppConfigService]\r\n },\r\n {\r\n provide: MSAL_GUARD_CONFIG,\r\n useFactory: MSALGuardConfigFactory,\r\n deps: [AppConfigService]\r\n },\r\n {\r\n provide: MSAL_INTERCEPTOR_CONFIG,\r\n useFactory: MSALInterceptorConfigFactory,\r\n deps: [AppConfigService]\r\n },\r\n { provide: HTTP_INTERCEPTORS, useClass: HttpCacheInterceptor, multi: true },\r\n MsalService,\r\n MsalGuard,\r\n MsalBroadcastService\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\n\r\nexport class AppModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport {\r\n AccessDeniedComponent,\r\n RoleGuardService,\r\n CanDeactivateGuard,\r\n} from 'proceduralsystem-clientcomponents';\r\n\r\nimport { PrincipleSearchComponent } from './principles/principle-search/principle-search.component';\r\nimport { PrincipleTopicsComponent } from './principle-topics/principle-topics.component';\r\nimport { TaskManagerComponent } from './task-manager/task-manager.component';\r\nimport { SubmissionComponent } from './submission/submission.component';\r\nimport { ViewPrincipleComponent } from './principles/view-principle/view-principle.component';\r\nimport { EstablishEditComponent } from './principles/establish-edit/establish-edit.component';\r\nimport { CreateSubmissionComponent } from './submission/create/create-submission.component';\r\nimport { CreateSubmissionContainerGuard } from './submission/create/create-submission-container-guard';\r\nimport { Roles } from './models/roles.enum.model';\r\nimport { SubmissionResolve } from './submission/submission.resolve';\r\nimport { TaskManagerResolve } from './task-manager/task-manager.resolve';\r\nimport { SubmissionSearchComponent } from './submission/submission-search/submission-search.component';\r\nimport { MsalGuard } from '@azure/msal-angular';\r\nimport { PageComponent } from './page.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: '/task-manager', pathMatch: 'full' },\r\n {\r\n path: '',\r\n component: PageComponent,\r\n canActivate: [MsalGuard],\r\n children: [\r\n {\r\n path: 'principle-search',\r\n canActivate: [RoleGuardService],\r\n data: {\r\n title: 'Search principles',\r\n roles: [\r\n Roles.BillsOffice,\r\n Roles.BillsOfficeReviewers,\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n children: [\r\n {\r\n path: '',\r\n component: PrincipleSearchComponent,\r\n pathMatch: 'full',\r\n canDeactivate: [CreateSubmissionContainerGuard],\r\n },\r\n ],\r\n },\r\n {\r\n path: 'principle/establish-edit',\r\n data: { title: 'Establish Principle' },\r\n children: [\r\n {\r\n path: '',\r\n component: EstablishEditComponent,\r\n pathMatch: 'full',\r\n canDeactivate: [CanDeactivateGuard, CreateSubmissionContainerGuard],\r\n canActivate: [RoleGuardService],\r\n data: {\r\n title: 'Establish Principle',\r\n roles: [\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'principle/establish-edit/:id',\r\n data: { title: 'Establish Principle' },\r\n children: [\r\n {\r\n path: '',\r\n component: EstablishEditComponent,\r\n pathMatch: 'full',\r\n canDeactivate: [CanDeactivateGuard, CreateSubmissionContainerGuard],\r\n canActivate: [RoleGuardService],\r\n data: {\r\n title: 'Establish Principle',\r\n roles: [\r\n Roles.BillsOffice,\r\n Roles.BillsOfficeReviewers,\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'principle-topics',\r\n data: { title: 'Principle Topics' },\r\n children: [\r\n {\r\n path: '',\r\n component: PrincipleTopicsComponent,\r\n pathMatch: 'full',\r\n canDeactivate: [CreateSubmissionContainerGuard],\r\n canActivate: [RoleGuardService],\r\n data: {\r\n roles: [\r\n Roles.BillsOffice,\r\n Roles.BillsOfficeReviewers,\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'task-manager',\r\n canActivate: [RoleGuardService],\r\n resolve: {\r\n tasks: TaskManagerResolve,\r\n },\r\n data: {\r\n title: 'Task Manager',\r\n roles: [\r\n Roles.BillsOffice,\r\n Roles.BillsOfficeReviewers,\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n children: [\r\n {\r\n path: '',\r\n component: TaskManagerComponent,\r\n pathMatch: 'full',\r\n canDeactivate: [CreateSubmissionContainerGuard],\r\n },\r\n ],\r\n },\r\n {\r\n path: 'submission/:id',\r\n component: SubmissionComponent,\r\n canActivate: [RoleGuardService],\r\n canDeactivate: [CanDeactivateGuard, CreateSubmissionContainerGuard],\r\n data: {\r\n roles: [\r\n Roles.BillsOffice,\r\n Roles.BillsOfficeReviewers,\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n runGuardsAndResolvers: 'always',\r\n resolve: {\r\n submission: SubmissionResolve,\r\n },\r\n },\r\n {\r\n path: 'submission-search',\r\n canActivate: [RoleGuardService],\r\n data: {\r\n title: 'Search submissions',\r\n roles: [\r\n Roles.BillsOffice,\r\n Roles.BillsOfficeReviewers,\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n children: [\r\n {\r\n path: '',\r\n component: SubmissionSearchComponent,\r\n pathMatch: 'full',\r\n canDeactivate: [CreateSubmissionContainerGuard],\r\n },\r\n ],\r\n },\r\n {\r\n path: 'principle/view/:id',\r\n canActivate: [RoleGuardService],\r\n data: {\r\n roles: [\r\n Roles.BillsOffice,\r\n Roles.BillsOfficeReviewers,\r\n Roles.POHouseServices,\r\n Roles.ClerkAssistantOfTheDail,\r\n Roles.ClerkOfTheDail,\r\n Roles.ClerkAssistantOfTheSeanad,\r\n Roles.ClerkOfTheSeanad,\r\n ],\r\n },\r\n children: [\r\n {\r\n path: '',\r\n component: ViewPrincipleComponent,\r\n pathMatch: 'full',\r\n canDeactivate: [CreateSubmissionContainerGuard],\r\n },\r\n ],\r\n },\r\n {\r\n path: 'principle/expired-principle/:id',\r\n redirectTo: 'principle/view/:id',\r\n },\r\n { path: 'create-submission', component: CreateSubmissionComponent },\r\n { path: 'access-denied', component: AccessDeniedComponent },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AppRoutes {}\r\n","\r\nexport class ListItem {\r\n id: number;\r\n name: string;\r\n}\r\n\r\nexport class ErrorModel {\r\n error: string;\r\n method: string;\r\n}\r\n\r\nexport class ValidModel {\r\n public id: number;\r\n public clean: boolean;\r\n}\r\n\r\n","import { CKEditorToolbarItems, OirCkEditorConfig } from \"proceduralsystem-ckeditor\";\r\n\r\ninterface localCKEditorConfig extends OirCkEditorConfig {\r\n toolbar: {\r\n items: Array\r\n };\r\n fontSize: {\r\n options: Array\r\n } | undefined;\r\n}\r\n\r\n\r\nexport const EditorConfig: localCKEditorConfig = {\r\n toolbar: {\r\n items: [\r\n CKEditorToolbarItems.Bold,\r\n CKEditorToolbarItems.Italic,\r\n CKEditorToolbarItems.Underline,\r\n CKEditorToolbarItems.Strikethrough,\r\n CKEditorToolbarItems.SEPARATOR,\r\n CKEditorToolbarItems.NumberedList,\r\n CKEditorToolbarItems.BulletedList,\r\n CKEditorToolbarItems.SEPARATOR,\r\n CKEditorToolbarItems.Outdent,\r\n CKEditorToolbarItems.Indent,\r\n CKEditorToolbarItems.SEPARATOR,\r\n CKEditorToolbarItems.Heading,\r\n CKEditorToolbarItems.SEPARATOR,\r\n CKEditorToolbarItems.FontSize,\r\n CKEditorToolbarItems.SEPARATOR,\r\n CKEditorToolbarItems.FullScreen,\r\n CKEditorToolbarItems.Link\r\n ]\r\n },\r\n fontSize: {\r\n options: ['default', 8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48, 72]\r\n },\r\n removePlugins: ['Title', 'Markdown'],\r\n placeholder: '',\r\n licenseKey: ''\r\n}\r\n","export enum Roles {\r\n BillsOffice = '0a2eb18d-8d79-462f-8e4b-5ea435fdbbbf',\r\n BillsOfficeReviewers = '7cd512c2-85cb-44e9-9678-7f1a5541bfcf',\r\n POHouseServices = 'fe4742e9-2518-4cfb-a051-1f2b83dd5cd0',\r\n ClerkAssistantOfTheDail = 'af729a63-405b-4ae5-a12a-1bda20d93044',\r\n ClerkOfTheDail= '52f562c5-9c96-4654-b20a-c4ecafee0845',\r\n ClerkAssistantOfTheSeanad = '908db054-2c4f-412e-9527-a64145d70f9d',\r\n ClerkOfTheSeanad = '96048d91-6bd8-4c1e-8854-eb8d86caae16'\r\n}\r\n\r\nexport enum UserRoleRank {\r\n BillsOffice = 10,\r\n BillReviewers = 20,\r\n POHouseServices = 30,\r\n AssistantClerkOfDail = 40,\r\n AssistantClerkOfSeanad = 40,\r\n ClerkOfSeanad = 50,\r\n ClerkOfDail = 50\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { NavigationEnd } from '@angular/router';\r\nimport {\r\n ConfigurationService,\r\n NavigationService,\r\n OirAuthService\r\n} from 'proceduralsystem-clientcomponents';;\r\nimport { UserRoleRank } from './models/roles.enum.model';\r\nimport { AppConfig, AppConfigService } from './services/app-config.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './page.component.html',\r\n styleUrls: ['./page.component.less']\r\n})\r\nexport class PageComponent implements OnInit {\r\n\r\n router: any;\r\n activatedRoute: any;\r\n titleService: any;\r\n\r\n constructor(\r\n private navigationService: NavigationService,\r\n private config: AppConfigService,\r\n private configurationService: ConfigurationService,\r\n protected authService: OirAuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.router?.events\r\n .filter((event) => event instanceof NavigationEnd)\r\n ?.map(() => this.activatedRoute)\r\n ?.map((route) => {\r\n while (route.firstChild) {\r\n route = route.firstChild;\r\n }\r\n return route;\r\n })\r\n .filter((route) => route.outlet === \"primary\")\r\n .mergeMap((route) => route.data)\r\n .subscribe((event) => this.titleService.setTitle(event[\"title\"]));\r\n\r\n if (+this.config.getValue('RoleRank') >= UserRoleRank.BillsOffice) {\r\n this.initNavigation(this.configurationService.getValue('ModuleName'));\r\n }\r\n }\r\n\r\n private initNavigation(moduleName: string): void {\r\n const tree = [];\r\n tree.push({ title: \"TASKMANAGER.TITLE\", path: \"/task-manager\" });\r\n tree.push({\r\n title: \"SEARCHSUBMISSIONS.SEARCHSUBMISSIONS\",\r\n path: \"/submission-search\",\r\n });\r\n tree.push({ title: \"Create a submission\", path: \"/create-submission\" });\r\n tree.push({ title: \"Search principles\", path: \"/principle-search\" });\r\n if (+this.config.getValue('RoleRank') > UserRoleRank.BillReviewers) {\r\n tree.push({\r\n title: \"Establish principle\",\r\n path: \"/principle/establish-edit\",\r\n });\r\n }\r\n tree.push({ title: \"Edit principle topics\", path: \"/principle-topics\" });\r\n this.configurationService.setCookie(\"lang\", \"en\", 30);\r\n\r\n this.navigationService.init({\r\n module: { title: moduleName ? moduleName : 'Submissions', path: \"\" },\r\n tree,\r\n });\r\n }\r\n}\r\n","import { Component, ViewChild, Input } from '@angular/core';\r\n\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { PrincipleTopicsService } from './principle-topics.service';\r\nimport { TopicModel } from './principle-topics.model';\r\nimport { ModalComponent, SelectValue, AccordionComponent, ToastNotificationsService, PaginationOptions } from 'proceduralsystem-clientcomponents';\r\nimport { Observable } from 'rxjs';\r\nimport { CreateSubmissionContainer } from '../submission/create/create-submission-container-guard';\r\nimport { CreateSubmissionComponent } from '../submission/create/create-submission.component';\r\n\r\n@Component({\r\n selector: 'oir-principle-topics',\r\n templateUrl: './principle-topics.component.html',\r\n styleUrls: ['./principle-topics.component.less']\r\n})\r\nexport class PrincipleTopicsComponent implements CreateSubmissionContainer {\r\n @ViewChild(CreateSubmissionComponent) createComponent: CreateSubmissionComponent;\r\n @ViewChild(ModalComponent) modal: ModalComponent;\r\n @ViewChild(Input) editTopicDescription: Input;\r\n @ViewChild(AccordionComponent) topicAccordion: AccordionComponent;\r\n\r\n public editModel: SelectValue;\r\n public results$: Observable;\r\n public topicForm: UntypedFormGroup;\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private principleTopicsService: PrincipleTopicsService,\r\n private toastService: ToastNotificationsService,\r\n ) {\r\n this.topicForm = this.fb.group({\r\n title: ['', [Validators.required, Validators.maxLength(256)]],\r\n value: 0\r\n });\r\n this.init();\r\n }\r\n\r\n clearForm() {\r\n this.topicForm.reset({title: '', value: 0});\r\n this.topicForm.markAsPristine();\r\n }\r\n\r\n private async init() {\r\n this.changePage(1);\r\n }\r\n\r\n changePage(pageNumber) {\r\n this.results$ = this.principleTopicsService.changePage(pageNumber);\r\n }\r\n\r\n get paginationOptions(): PaginationOptions {\r\n return {\r\n id: 'topics',\r\n itemsPerPage: this.principleTopicsService.pageSize,\r\n currentPage: this.principleTopicsService.currentPage,\r\n totalItems: this.principleTopicsService.numberOfResults\r\n }\r\n }\r\n\r\n public setTopic(id: number, desc: string) {\r\n this.topicForm.get('value').setValue(id);\r\n this.topicForm.get('title').setValue(desc);\r\n this.topicForm.get('title').markAsPristine({onlySelf: true});\r\n }\r\n\r\n public openModal(id?: number , text?: string) {\r\n this.modal.toggle();\r\n }\r\n\r\n public cancelModal() {\r\n this.clearForm();\r\n this.modal.close();\r\n }\r\n\r\n public saveTopic() {\r\n const id = this.topicForm.get('value').value;\r\n const title = this.topicForm.get('title').value;\r\n\r\n this.clearForm();\r\n this.modal.close();\r\n\r\n this.principleTopicsService.addOrUpdateTopic(id, title)\r\n .subscribe(() => {\r\n if (id === 0) {\r\n this.toastService.addNotification({ title: 'TOAST.TOPIC.CREATED.TITLE', description: 'TOAST.TOPIC.CREATED.SUBTITLE' });\r\n } else {\r\n this.toastService.addNotification({ title: 'TOAST.TOPIC.SAVED.TITLE', description: 'TOAST.TOPIC.SAVED.SUBTITLE' });\r\n }\r\n this.changePage(this.principleTopicsService.currentPage);\r\n });\r\n }\r\n\r\n public deleteTopic() {\r\n const id = this.topicForm.get('value').value;\r\n const title = this.topicForm.get('title').value;\r\n\r\n this.clearForm();\r\n this.modal.close();\r\n\r\n this.principleTopicsService.deleteTopic(id, title)\r\n .subscribe(() => {\r\n this.toastService.addNotification({ title: 'TOAST.TOPIC.DELETED.TITLE', description: 'TOAST.TOPIC.DELETED.SUBTITLE' });\r\n this.changePage(this.principleTopicsService.currentPage);\r\n });\r\n }\r\n\r\n toggle(): void {\r\n this.createComponent.toggle();\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { SelectValue } from \"proceduralsystem-clientcomponents\";\r\nimport { TopicModel, TopicResultsModel } from \"./principle-topics.model\";\r\nimport { Observable } from \"rxjs\";\r\nimport { HttpClient } from \"@angular/common/http\";\r\nimport { AppConfigService } from \"../services/app-config.service\";\r\nimport { map, shareReplay } from \"rxjs/operators\";\r\n\r\n@Injectable()\r\nexport class PrincipleTopicsService {\r\n public pageSize = 20;\r\n public numberOfResults = 0;\r\n public currentPage = 1;\r\n private userName: string;\r\n private baseUrl: string;\r\n\r\n constructor(\r\n private readonly http: HttpClient,\r\n private readonly config: AppConfigService\r\n ) {\r\n this.userName = this.config.getValue(\"UserName\");\r\n this.baseUrl = `${this.config.getValue(\"ApiEndpoint\").url}/api/Topic`;\r\n }\r\n\r\n getTopicsByPage(page: number): Observable {\r\n const url = `${this.baseUrl}?skip=${this.pageSize * (page - 1)}&take=${\r\n this.pageSize\r\n }`;\r\n return this.http.get(url)\r\n .pipe(\r\n map((result: TopicResultsModel) => {\r\n this.numberOfResults = result.numberOfResults;\r\n return result.topicsResult;\r\n }),\r\n shareReplay()\r\n );\r\n }\r\n\r\n changePage(pageNumber: number): Observable {\r\n this.currentPage = pageNumber;\r\n return this.getTopicsByPage(this.currentPage);\r\n }\r\n\r\n getTopics(): Observable[]> {\r\n return this.http.get[]>(this.baseUrl);\r\n }\r\n\r\n deleteTopic(id, text) {\r\n const data = {\r\n Id: id,\r\n Name: text,\r\n UpdatedBy: this.userName,\r\n DelegateRoleMemberId: this.config.getValue(\"DelegateRoleMemberId\"),\r\n };\r\n const url = `${this.baseUrl}?id=${id}&updatedBy=${data.UpdatedBy}`;\r\n return this.http.delete(url);\r\n }\r\n\r\n addOrUpdateTopic(id: number, text: string) {\r\n const data = {\r\n Id: id,\r\n Name: text,\r\n UpdatedBy: this.userName,\r\n DelegateRoleMemberId: this.config.getValue(\"DelegateRoleMemberId\"),\r\n };\r\n return this.http.post(this.baseUrl, data, {\r\n headers: { ContentType: \"application/json\" },\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core';\r\nimport { SelectValue, PaginationOptions } from 'proceduralsystem-clientcomponents';\r\nimport { PrincipleService } from '../principle.service';\r\nimport { SortByEnum } from '../principle.model';\r\nimport { CitedSubmissionsModel, SupportInformation } from './cited-submissions.model';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-cited-submissions',\r\n templateUrl: './cited-submissions.component.html',\r\n styleUrls: ['./cited-submissions.component.less']\r\n})\r\nexport class CitedSubmissionsComponent implements OnInit {\r\n @Output() onChange: EventEmitter = new EventEmitter();\r\n @Input() readonly = false;\r\n\r\n public viewBillLink;\r\n public init = false;\r\n public sortOptionsList: Array> = [];\r\n public sortBy = 0;\r\n public model = new CitedSubmissionsModel();\r\n\r\n private principleId: number;\r\n\r\n constructor(\r\n private config: AppConfigService,\r\n private principleService: PrincipleService,\r\n private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n this.sortOptionsList = this.loadSortingOptions();\r\n this.viewBillLink = `${this.config.getValue('BillsAdminWebUrl')}/edit/`;\r\n\r\n this.principleService.principle.subscribe((data:any) => {\r\n this.principleId = data.principle.principleId;\r\n\r\n this.model.count = data.citedSubmissions.count;\r\n this.model.items = data.citedSubmissions.items;\r\n this.model.establishedForSubmission = data.citedSubmissions.establishedForSubmission;\r\n this.model.take = data.citedSubmissions.pageSize;\r\n\r\n if (this.principleId > 0) { this.init = true; };\r\n });\r\n }\r\n\r\n get paginationOptions(): PaginationOptions {\r\n return {\r\n id: 'cited',\r\n itemsPerPage: this.model.take,\r\n currentPage: this.model.currentPage,\r\n totalItems: this.model.count\r\n }\r\n }\r\n\r\n public markAsNotable(supportInfo: SupportInformation) {\r\n if (!this.readonly) {\r\n this.principleService.markSubmissionAsNotable(supportInfo);\r\n supportInfo.isNotable = !supportInfo.isNotable;\r\n\r\n this.onChange.emit();\r\n }\r\n }\r\n\r\n public hasBill(supportInfo: SupportInformation) {\r\n return supportInfo.billId !== 0;\r\n }\r\n\r\n public markEstablishedSubmissionAsNotable() {\r\n if (!this.readonly) {\r\n this.principleService.markEstablishedSubmissionAsNotable();\r\n\r\n this.onChange.emit();\r\n }\r\n }\r\n\r\n public onChangePage(pageNumber) {\r\n this.model.skip = pageNumber === 1 ? 0 : this.model.take * (pageNumber - 1);\r\n this.model.currentPage = pageNumber;\r\n\r\n this.search();\r\n }\r\n\r\n public onSortChange() {\r\n this.model.skip = 0;\r\n this.model.currentPage = 1;\r\n this.search();\r\n }\r\n\r\n private search() {\r\n this.principleService.searchCitedSubmission(this.principleId, this.model.skip, this.model.take, this.sortBy);\r\n }\r\n\r\n private loadSortingOptions(): Array> {\r\n return [\r\n { value: SortByEnum.MostNotable, title: this.translateService.instant('PRINCIPLE.FILTER.NOTABLE') },\r\n { value: SortByEnum.MostRecent, title: this.translateService.instant('PRINCIPLE.FILTER.RECENT') }\r\n ];\r\n }\r\n\r\n}\r\n","export class CitedSubmissionsModel {\r\n count = 0;\r\n items: Array> = [];\r\n establishedForSubmission: SupportInformation;\r\n skip = 0;\r\n take = 0;\r\n currentPage = 1;\r\n}\r\n\r\nexport class SupportInformation {\r\n billId: number;\r\n supportInfoId: number;\r\n submissionIdLink: number;\r\n shortTitleEngLink: string;\r\n submissionCategory: string;\r\n citationDate: string;\r\n isNotable: boolean;\r\n submissionSubCategory: string;\r\n}\r\n","import { SharedService } from './../../shared/shared.service';\r\nimport { Component, OnInit, ViewChild, ViewChildren, QueryList, OnDestroy, AfterViewInit, ElementRef,\r\n AfterViewChecked} from '@angular/core';\r\nimport { ActivatedRoute, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { PrincipleService } from '../principle.service';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { PrincipleModel, PrincipleExpiry, Topic, PrincipleLink, LinkTypeEnum } from '../principle.model';\r\nimport { SelectValue, ModalComponent, AccordionComponent, NavigationService, DatePickerComponent, OirAuthService } from 'proceduralsystem-clientcomponents';\r\nimport { LinkSubmissionComponent } from '../../shared/link-submission.component';\r\nimport { ExpirePrincipleComponent } from '../expire-principle/expire-principle.component';\r\nimport { CitedSubmissionsModel } from '../cited-submissions/cited-submissions.model';\r\nimport { Subject, Subscription } from 'rxjs';\r\nimport { CreateSubmissionComponent } from '../../submission/create/create-submission.component';\r\nimport { CreateSubmissionContainer } from '../../submission/create/create-submission-container-guard';\r\nimport { Title } from '@angular/platform-browser';\r\nimport * as moment from 'moment';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'oir-principles-establish-edit',\r\n templateUrl: './establish-edit.component.html',\r\n styleUrls: ['./establish-edit.component.less'],\r\n preserveWhitespaces: true\r\n})\r\nexport class EstablishEditComponent implements OnInit, CreateSubmissionContainer, OnDestroy, AfterViewInit, AfterViewChecked {\r\n @ViewChild(CreateSubmissionComponent) createComponent: CreateSubmissionComponent;\r\n @ViewChild('titleBox', {read: ElementRef}) titleBox: ElementRef;\r\n @ViewChild('textBox', {read: ElementRef}) textBox: ElementRef;\r\n @ViewChild('additionalDetailsBox', {read: ElementRef}) additionalDetailsBox: ElementRef;\r\n @ViewChildren(ModalComponent) modalChildren: QueryList;\r\n @ViewChild(AccordionComponent) accordion: AccordionComponent;\r\n @ViewChild('expirePrinciple') expireModal: ExpirePrincipleComponent;\r\n @ViewChild('unsavedChangesModal') unsavedChangesModal: ModalComponent;\r\n @ViewChild(LinkSubmissionComponent) linkSubmission: LinkSubmissionComponent;\r\n @ViewChild(DatePickerComponent) datepicker: DatePickerComponent;\r\n\r\n public principleForm: UntypedFormGroup;\r\n public topicsList: Array> = [];\r\n public principlesList: Array> = [];\r\n public forumList: Array> = [];\r\n public principleLinks: Array = [];\r\n public isSaveDisabled = true;\r\n public isLinkingDisabled = true;\r\n public userDiscardResponse$ = new Subject();\r\n public modals: any = {};\r\n public submissionLinking = {\r\n establishedUnderBill: [],\r\n establishedUnderSubmissionId: 0,\r\n establishedUnderSectionId: 0\r\n }\r\n public billOption = [];\r\n public data;\r\n public pristine = false;\r\n public showExpireButton = false;\r\n public principle: PrincipleModel;\r\n\r\n private model: PrincipleModel = new PrincipleModel();\r\n private citedSubmissions: CitedSubmissionsModel;\r\n private routeSubscription: Subscription;\r\n private principleSubscription: Subscription;\r\n private heightNeedsCheck = true;\r\n\r\n constructor(\r\n private config: AppConfigService,\r\n public principleService: PrincipleService,\r\n public sharedService: SharedService,\r\n private fb: UntypedFormBuilder,\r\n private translateService: TranslateService,\r\n private navigationService: NavigationService,\r\n private route: ActivatedRoute,\r\n private titleService: Title,\r\n private authService: OirAuthService) { }\r\n\r\n ngAfterViewInit() {\r\n const modalChildren = this.modalChildren.toArray();\r\n this.modals.showSupercedeConfirmationModal = modalChildren[0];\r\n this.principleForm.updateValueAndValidity();\r\n }\r\n\r\n ngAfterViewChecked() {\r\n if (this.heightNeedsCheck) {\r\n if (this.principleForm.get('title').value ||\r\n this.principleForm.get('text').value ||\r\n this.principleForm.get('additionalDetails').value) {\r\n this.heightUpdater('titleBox');\r\n this.heightUpdater('textBox');\r\n this.heightUpdater('additionalDetailsBox');\r\n delete this.heightNeedsCheck;\r\n }\r\n }\r\n }\r\n\r\n heightUpdater(directive: string): void {\r\n const box = this[directive].nativeElement;\r\n box.style.height = 'auto';\r\n\r\n if (box.offsetHeight - 2 !== box.scrollHeight) {\r\n box.style.height = (box.scrollHeight + 2) + 'px';\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.routeSubscription = this.route.params.subscribe(params => {\r\n const id = params['id'];\r\n\r\n this.principleService.getPrinciple(id > 0 ? id : 0);\r\n\r\n this.principleForm = this.fb.group({\r\n principleId: 0,\r\n topicIds: [[]],\r\n houseIdForum: [null, [Validators.required]],\r\n title: ['', [Validators.required]],\r\n text: [''],\r\n additionalDetails: '',\r\n dateEstablished: [null, [Validators.required]],\r\n principleIdLinking: [[]],\r\n principleLinks1: [[]],\r\n principleLinks2: [[]],\r\n submissionLinking: [this.submissionLinking, [this.validateSubmission.bind(this), this.validateSubmissionLinking.bind(this)]],\r\n establishedUnderSubmissionId: 0,\r\n establishedUnderSectionId: 0,\r\n establishedUnderBill: [[]],\r\n isExpired: false,\r\n submissions: [[]],\r\n sections: [[]],\r\n linkType: 0,\r\n isAllowedSave: true\r\n });\r\n\r\n this.principleSubscription = this.principleService.principle.subscribe((data: any) => {\r\n if (data) {\r\n this.topicsList = data.topics;\r\n this.forumList = data.forums;\r\n\r\n if (id > 0) {\r\n this.model = data.principle;\r\n this.citedSubmissions = data.citedSubmissions;\r\n this.titleService.setTitle(this.translateService.instant('PRINCIPLE.TABTITLE', { principleId: this.model.principleId } ));\r\n this.getTopicsIds(this.model.principleTopics);\r\n this.getBillTitle(this.model.establishedUnderBillId).subscribe(billTitle => {\r\n this.billOption = billTitle;\r\n this.data = {\r\n establishedUnderBill: this.billOption,\r\n establishedUnderSubmissionId: this.model.establishedUnderSubmissionId,\r\n establishedUnderSectionId: this.model.establishedUnderSectionId\r\n }\r\n\r\n this.principleForm.setValue({\r\n principleId: this.model.principleId,\r\n topicIds: this.model.topicIds,\r\n houseIdForum: this.model.houseIdForum,\r\n title: this.model.title,\r\n text: this.model.text,\r\n additionalDetails: this.model.additionalDetails,\r\n dateEstablished: moment(this.model.dateEstablished, ['DD/MM/YYYY']).format('DD/MM/YYYY'),\r\n principleIdLinking: [],\r\n principleLinks1: this.model.principleLinks1,\r\n principleLinks2: this.model.principleLinks2,\r\n submissionLinking: this.data,\r\n establishedUnderSubmissionId: this.model.establishedUnderSubmissionId,\r\n establishedUnderSectionId: this.model.establishedUnderSectionId,\r\n establishedUnderBill: this.model.establishedUnderBillId,\r\n isExpired: this.model.isExpired,\r\n submissions: [],\r\n sections: [],\r\n linkType: 0,\r\n isAllowedSave: true\r\n });\r\n\r\n this.principleService.initNavigationEditChild(this.model.principleId);\r\n this.principleForm.markAsPristine();\r\n });\r\n\r\n if (this.model.principleId && !this.model.isExpired && data.isAuthorizedToExpire) {\r\n this.onUpdateExpireModal();\r\n this.showExpireButton = true;\r\n }\r\n }\r\n }\r\n this.principleForm.markAsPristine();\r\n });\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.routeSubscription.unsubscribe();\r\n this.principleSubscription.unsubscribe();\r\n\r\n const searchNode = this.navigationService.model.tree.find(x => x.title === 'Search principles');\r\n searchNode.expanded = false;\r\n }\r\n\r\n toggle(): void {\r\n this.createComponent.toggle();\r\n }\r\n\r\n public getPrinciples() {\r\n this.principleService.getPrinciples().subscribe((response: any) => {\r\n const principlesArray = response.principles.filter(e => e.value !== this.model.principleId);\r\n this.principlesList = principlesArray;\r\n\r\n if (this.model.principleLinks1.length > 0) {\r\n if (this.principleForm.value.linkType === LinkTypeEnum.Relate) {\r\n\r\n this.principlesList = principlesArray.filter(p => !this.model.principleLinks1.includes(p));\r\n\r\n } else if (this.principleForm.value.linkType === LinkTypeEnum.Supercede) {\r\n this.principlesList = principlesArray;\r\n }\r\n }\r\n });\r\n }\r\n\r\n public onEstablishEditPrinciple() {\r\n this.markAsPristine();\r\n let result = new PrincipleModel();\r\n result = this.principleForm.value;\r\n result.establishedUnderBillId = Number(this.principleForm.value.submissionLinking.establishedUnderBill.value);\r\n result.establishedUnderSubmissionId = this.principleForm.value.submissionLinking.establishedUnderSubmissionId;\r\n \r\n if (this.principleForm.value.submissionLinking.establishedUnderSectionId == null) {\r\n result.establishedUnderSectionId = 0;\r\n } else {\r\n result.establishedUnderSectionId = this.principleForm.value.submissionLinking.establishedUnderSectionId;\r\n }\r\n\r\n result.principleExpiries = new Array();\r\n result.principleLinks2 = new Array();\r\n result.citedSubmissions = this.citedSubmissions;\r\n result.dateEstablished = moment.utc(result.dateEstablished, ['DD/MM/YYYY']).toISOString();\r\n this.principleService.establishEditPrinciple(result);\r\n }\r\n\r\n public getTopicsIds(principleTopics: Array) {\r\n this.model.topicIds = [];\r\n for (const topic of principleTopics) {\r\n this.model.topicIds.push(topic.topicId);\r\n }\r\n }\r\n\r\n public onLinkRelatedPrinciples() {\r\n let linkingData = this.createLinkingData();\r\n const linksValue = this.model.principleLinks1.concat(this.principleLinks);\r\n const mySet = new Set(linksValue);\r\n linkingData = Array.from(mySet);\r\n\r\n if (this.principleForm.value.principleId !== 0) {\r\n this.onClearPrinciplesLinking();\r\n this.principleForm.get('principleLinks1').patchValue(linkingData);\r\n } else {\r\n this.model.principleLinks1 = linkingData;\r\n this.onClearPrinciplesLinking();\r\n this.principleForm.get('principleLinks1').patchValue(this.model.principleLinks1);\r\n }\r\n }\r\n\r\n public onSupercedePrinciples() {\r\n let linkingData = this.createLinkingData();\r\n this.modals.showSupercedeConfirmationModal.toggle();\r\n const linksValue = this.model.principleLinks1.concat(this.principleLinks);\r\n const mySet = new Set(linksValue);\r\n linkingData = Array.from(mySet);\r\n\r\n if (this.principleForm.value.principleId !== 0) {\r\n this.onClearPrinciplesLinking();\r\n this.principleForm.get('principleLinks1').patchValue(linkingData);\r\n } else {\r\n this.model.principleLinks1 = linkingData;\r\n this.onClearPrinciplesLinking();\r\n this.principleForm.get('principleLinks1').patchValue(this.model.principleLinks1);\r\n }\r\n }\r\n\r\n public createLinkingData() {\r\n const linkType = this.principleForm.value.linkType;\r\n\r\n for (const id of this.principleForm.value.principleIdLinking) {\r\n const linkedPrincipleTitle = this.principlesList.filter(p => p.value === id)[0].title;\r\n const principleLink = new PrincipleLink;\r\n {\r\n principleLink.principleId1 = this.principleForm.value.principleId;\r\n principleLink.principleId2 = id;\r\n principleLink.principleLinkTypeId = linkType;\r\n principleLink.principleId2Title = linkedPrincipleTitle;\r\n }\r\n if (linkType === LinkTypeEnum.Supercede) {\r\n principleLink.principleLinkTypeId = 2;\r\n } else {\r\n principleLink.principleLinkTypeId = 1;\r\n }\r\n this.principleLinks.push(principleLink);\r\n };\r\n\r\n return this.principleLinks;\r\n }\r\n\r\n public onClearPrinciplesLinking() {\r\n this.principleForm.get('linkType').reset();\r\n this.principleForm.get('principleIdLinking').patchValue([]);\r\n this.principlesList = [];\r\n this.accordion.close();\r\n }\r\n\r\n public onDeletePrincipleLink(link: PrincipleLink, index: number) {\r\n this.principleLinks = this.principleForm.get('principleLinks1').value;\r\n this.principleLinks.splice(index, 1);\r\n this.principleForm.get('principleLinks1').patchValue(this.principleLinks);\r\n this.principleForm.markAsDirty();\r\n }\r\n\r\n\r\n public canLinkPrinciples() {\r\n const link = this.principleForm.get('linkType');\r\n const linkedPrinciple = this.principleForm.get('principleIdLinking');\r\n if (link.value !== 0 && linkedPrinciple.value.length !== 0) {\r\n this.isLinkingDisabled = false;\r\n } else {\r\n this.isLinkingDisabled = true;\r\n }\r\n }\r\n\r\n public getBillTitle(id: number) {\r\n return this.sharedService.getBill(id);\r\n }\r\n\r\n public onShowExpireModal() {\r\n this.expireModal.toggle();\r\n }\r\n\r\n public canDeactivate(_component: EstablishEditComponent,\r\n _currentRoute: ActivatedRouteSnapshot,\r\n _currentState: RouterStateSnapshot,\r\n nextState?: RouterStateSnapshot) {\r\n\r\n if (!this.principleForm.pristine) {\r\n if (nextState.url !== '/create-submission') {\r\n this.unsavedChangesModal.toggle();\r\n }\r\n return this.userDiscardResponse$.pipe(\r\n map(value => {\r\n if (value) {\r\n return true;\r\n } else {\r\n this.principleService.initNavigationEditChild(this.model.principleId);\r\n return false;\r\n }\r\n })\r\n );\r\n }\r\n return true;\r\n }\r\n\r\n public markAsPristine(): void {\r\n this.pristine = true;\r\n\r\n this.principleForm.markAsPristine();\r\n this.principleForm.markAsUntouched();\r\n\r\n }\r\n\r\n public onCancelChanges(toggle = true) {\r\n this.userDiscardResponse$.next(false);\r\n\r\n if (toggle) {\r\n this.unsavedChangesModal.toggle();\r\n }\r\n }\r\n\r\n public onDiscardChanges() {\r\n this.userDiscardResponse$.next(true);\r\n this.unsavedChangesModal.toggle();\r\n }\r\n\r\n public onClosePrincipleScreen() {\r\n this.navigationService.clearSelect(this.navigationService.currentNode);\r\n\r\n if (this.model.principleId > 0) {\r\n this.navigationService.navigateToPath(`/principle/view/${this.model.principleId}`);\r\n } else {\r\n this.navigationService.navigateToPath(`/principle-search`);\r\n }\r\n }\r\n\r\n public onCitedSubmissionsChange() {\r\n this.principleForm.markAsDirty();\r\n }\r\n\r\n private validateSubmission(input, context) {\r\n if (!context) {\r\n return;\r\n }\r\n\r\n let result = null;\r\n const submissionId = input.value.establishedUnderSubmissionId;\r\n\r\n if (submissionId && this.citedSubmissions) {\r\n if (this.citedSubmissions.items.find(group => group.some(item => item.submissionIdLink === submissionId) )) {\r\n result = {\r\n validateSubmission: {\r\n valid: false\r\n }\r\n }\r\n }\r\n }\r\n\r\n return result;\r\n }\r\n\r\n private validateSubmissionLinking(input, _context) {\r\n let result = null;\r\n const submissionLinking = input.value;\r\n const establishedUnderBill = submissionLinking.establishedUnderBill.value;\r\n const submissionId = submissionLinking.establishedUnderSubmissionId;\r\n const sectionId = submissionLinking.establishedUnderSectionId;\r\n\r\n if ((submissionLinking.establishedUnderBill.length === 0 ) ||\r\n (submissionLinking.establishedUnderBill.length === 0 && Number(establishedUnderBill) > 0\r\n && (submissionId === null) || submissionId === 0)\r\n || (Number(establishedUnderBill) > 0 && submissionId === null && this.linkSubmission?.hideSection === true)\r\n || (this.linkSubmission?.hideSection === false && (sectionId === 0 || sectionId === null) )) {\r\n result = {\r\n validateSubmissionLinking: {\r\n valid: false\r\n }\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n private onUpdateExpireModal() {\r\n if (!this.expireModal) {\r\n return;\r\n }\r\n\r\n this.expireModal.principleTitle = this.model.title;\r\n this.expireModal.principleText = this.model.text;\r\n\r\n this.expireModal.expirePrincipleForm.setValue({\r\n expiryReason: '',\r\n expiryReasonValue: '',\r\n principleId: this.model.principleId,\r\n updatedBy: this.authService.getUsername(),\r\n AdRoleMemberIdExpiredBy: this.config.getValue('UserRoleMemberId')\r\n });\r\n\r\n this.expireModal.expiryComplete.subscribe(result => {\r\n if (result) {\r\n this.principleService.initNavigationViewChild(this.model.principleId);\r\n this.navigationService.navigateToPath(`/principle/view/${this.model.principleId}`);\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';\r\nimport { ModalComponent, ToastNotificationsService } from 'proceduralsystem-clientcomponents';\r\nimport { PrincipleService } from '../principle.service';\r\nimport { Subject } from 'rxjs';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'oir-expire-principle',\r\n templateUrl: './expire-principle.component.html',\r\n})\r\n\r\nexport class ExpirePrincipleComponent implements OnInit {\r\n @ViewChild(ModalComponent) modal: ModalComponent;\r\n public principleTitle = '';\r\n public principleText = '';\r\n public expirePrincipleForm: UntypedFormGroup;\r\n public expiryComplete = new Subject();\r\n\r\n constructor(\r\n private principleService: PrincipleService,\r\n private toastService: ToastNotificationsService,\r\n private formBuilder: UntypedFormBuilder,\r\n private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n this.expirePrincipleForm = this.formBuilder.group({\r\n expiryReason: '',\r\n expiryReasonValue: '',\r\n principleId: '',\r\n updatedBy: '',\r\n AdRoleMemberIdExpiredBy: ''\r\n });\r\n\r\n setTimeout(() => {\r\n this.expirePrincipleForm.markAsPristine();\r\n }, 200);\r\n }\r\n\r\n public toggle() {\r\n const expiryReasonValue = this.expirePrincipleForm.get('expiryReason').value;\r\n this.expirePrincipleForm.get('expiryReasonValue').patchValue(expiryReasonValue);\r\n this.expirePrincipleForm.get('expiryReason').patchValue('');\r\n this.expirePrincipleForm.markAsPristine();\r\n this.modal.toggle();\r\n }\r\n\r\n public expirePrinciple() {\r\n this.toggle();\r\n const expiryReasonValue = this.expirePrincipleForm.get('expiryReasonValue').value;\r\n this.expirePrincipleForm.get('expiryReason').patchValue(expiryReasonValue);\r\n this.principleService.expirePrinciple(this.expirePrincipleForm.value).subscribe(\r\n response => {\r\n const description = this.translateService.instant(response.value, [this.expirePrincipleForm.value.principleId]);\r\n const message = { title: 'PRINCIPLE.EXPIRE.SUCCESS.TITLE', description };\r\n this.toastService.addNotification(message);\r\n\r\n this.expiryComplete.next(true);\r\n },\r\n err => {\r\n const message = { title: 'COMMON.SAVEERROR', description: err.error.error };\r\n this.toastService.addNotification(message);\r\n });\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\r\nimport { PrincipleSearchService } from './principle-search.service';\r\nimport { SelectValue, PaginationOptions } from 'proceduralsystem-clientcomponents';\r\nimport { SortByEnum, ResultsModel, TopicsListModel } from './principle-search.model';\r\nimport { CreateSubmissionContainer } from '../../submission/create/create-submission-container-guard';\r\nimport { CreateSubmissionComponent } from '../../submission/create/create-submission.component';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'oir-principle-search',\r\n templateUrl: './principle-search.component.html',\r\n styleUrls: ['./principle-search.component.less']\r\n})\r\n\r\nexport class PrincipleSearchComponent implements OnInit, CreateSubmissionContainer {\r\n @ViewChild(CreateSubmissionComponent) createComponent: CreateSubmissionComponent;\r\n\r\n filterForm: UntypedFormGroup;\r\n topicsList: Array> = [];\r\n forumList: Array> = [];\r\n sortOptionsList: Array> = [];\r\n viewPrincipleBaseUrl: string;\r\n viewBillBaseUrl: string;\r\n results$: Observable;\r\n\r\n constructor(private fb: UntypedFormBuilder, public searchService: PrincipleSearchService) {\r\n this.filterForm = this.fb.group({\r\n topicsIds: [[]],\r\n forumId: 0,\r\n freeText: '',\r\n take: 20,\r\n sortBy: SortByEnum.PrincipleNumber\r\n });\r\n\r\n this.filterForm.get('sortBy').valueChanges.subscribe((data) => {\r\n this.onSort(data);\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.searchService.getReferenceData().subscribe(model => {\r\n this.topicsList = model.topics;\r\n this.forumList = model.forums;\r\n this.sortOptionsList = model.sortByOptions\r\n });\r\n this.viewPrincipleBaseUrl = window.location.origin + '/principle/view/';\r\n this.viewBillBaseUrl = this.searchService.billsBaseUrl;\r\n }\r\n\r\n get shouldEnableApplyFiltersButton(): boolean {\r\n return (this.filterForm.value.forumId && this.filterForm.value.forumId !== 0)\r\n || this.filterForm.value.topicsIds.length >= 1 || this.filterForm.value.freeText;\r\n }\r\n\r\n getPaginationOptions(results: ResultsModel): PaginationOptions {\r\n return {\r\n id: 'search',\r\n itemsPerPage: 20,\r\n currentPage: results.currentPage,\r\n totalItems: results.numberOfResults\r\n }\r\n }\r\n\r\n getDisplayTo(results: ResultsModel): number {\r\n const to = results.skip + results.take;\r\n if (to > results.numberOfResults) {\r\n return results.numberOfResults;\r\n }\r\n return to;\r\n }\r\n\r\n getTopics(list: TopicsListModel[]): string {\r\n let topics = '';\r\n if (list !== null) {\r\n for (let index = 0; index < list.length; index++) {\r\n topics += list[index].topicDescription;\r\n if (index !== list.length - 1) {\r\n topics += '; '\r\n }\r\n }\r\n }\r\n return topics;\r\n }\r\n\r\n onClearFilter() {\r\n this.filterForm.get('topicsIds').reset([]);\r\n this.filterForm.get('forumId').reset(0);\r\n this.filterForm.get('freeText').reset('');\r\n this.filterForm.markAsPristine();\r\n }\r\n\r\n onSearch() {\r\n this.results$ = this.searchService.search(this.filterForm.value);\r\n }\r\n\r\n onChangePage(pageNumber) {\r\n this.results$ = this.searchService.changePage(pageNumber);\r\n }\r\n\r\n onSort(selected) {\r\n this.results$ = this.searchService.sort(selected);\r\n }\r\n\r\n toggle(): void {\r\n this.createComponent.toggle();\r\n }\r\n}\r\n","import { SelectValue } from 'proceduralsystem-clientcomponents';\r\n\r\nexport class LoadSearchModel {\r\n topics: SelectValue[];\r\n forums: SelectValue[];\r\n sortByOptions: SelectValue[];\r\n}\r\n\r\nexport class FilterSearchModel {\r\n freeText: string;\r\n topicsIds: number[];\r\n forumId: number;\r\n sortBy: number = SortByEnum.PrincipleNumber;\r\n skip;\r\n take;\r\n currentPage: number;\r\n}\r\n\r\nexport class ResultsModel {\r\n numberOfResults: number;\r\n principlesResult: ItemResultModel[];\r\n skip;\r\n take;\r\n currentPage: number;\r\n}\r\n\r\nexport class ItemResultModel {\r\n principleId: number;\r\n principleNumber: number;\r\n principleTitle: string;\r\n dateEstablished: string;\r\n citationDate: string;\r\n forum: string;\r\n principleTopicList: TopicsListModel[];\r\n billId: number;\r\n billShortTitle: string;\r\n billNumber: string;\r\n billYear?: number;\r\n submissionValue: string;\r\n lastUpdated: string;\r\n citationCount?: number;\r\n}\r\n\r\nexport class TopicsListModel {\r\n topicID: number;\r\n topicDescription: string;\r\n}\r\n\r\nexport enum SortByEnum {\r\n PrincipleNumber,\r\n MostUsed,\r\n DateEstablished,\r\n LastUpdated\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { SelectValue } from 'proceduralsystem-clientcomponents';\r\nimport { LoadSearchModel, SortByEnum, ResultsModel, FilterSearchModel } from './principle-search.model';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class PrincipleSearchService {\r\n public filterModel = new FilterSearchModel();\r\n public billsBaseUrl;\r\n private baseUrl;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private config: AppConfigService,\r\n private translateService: TranslateService,\r\n ) {\r\n this.baseUrl = `${this.config.getValue('ApiEndpoint').url}/api/PrincipleSearch`;\r\n this.billsBaseUrl = `${this.config.getValue('BillsAdminWebUrl')}/edit/`;\r\n }\r\n\r\n getReferenceData(): Observable {\r\n return this.http.get(this.baseUrl)\r\n .pipe(\r\n map(result => {\r\n result.sortByOptions = this.loadSortingOptions();\r\n return result;\r\n })\r\n );\r\n }\r\n\r\n search(filter: FilterSearchModel): Observable {\r\n filter.skip = 0;\r\n filter.currentPage = 1;\r\n\r\n this.filterModel = filter;\r\n return this.performSearch(filter);\r\n }\r\n\r\n changePage(pageNumber: number): Observable {\r\n this.filterModel.skip = pageNumber === 1 ? 0 : this.filterModel.take * (pageNumber - 1);\r\n this.filterModel.currentPage = pageNumber;\r\n return this.performSearch(this.filterModel);\r\n }\r\n\r\n sort(selectedOption: SortByEnum): Observable {\r\n this.filterModel.skip = 0;\r\n this.filterModel.currentPage = 1;\r\n this.filterModel.sortBy = selectedOption;\r\n return this.performSearch(this.filterModel);\r\n }\r\n\r\n private performSearch(filter: FilterSearchModel): Observable {\r\n if (!filter.forumId) {\r\n filter.forumId = 0;\r\n }\r\n return this.http.post(this.baseUrl, filter)\r\n .pipe(\r\n map((model) => {\r\n model.skip = filter.skip;\r\n model.take = filter.take;\r\n model.currentPage = filter.currentPage;\r\n return model;\r\n })\r\n );\r\n }\r\n\r\n private loadSortingOptions(): Array> {\r\n return [\r\n { value: SortByEnum.PrincipleNumber, title: this.translateService.instant('SEARCHPRINCIPLE.PRINCIPLENUMBER') },\r\n { value: SortByEnum.MostUsed, title: this.translateService.instant('SEARCHPRINCIPLE.MOSTUSED') },\r\n { value: SortByEnum.DateEstablished, title: this.translateService.instant('SEARCHPRINCIPLE.DATEESTABLISHED') },\r\n { value: SortByEnum.LastUpdated, title: this.translateService.instant('SEARCHPRINCIPLE.LASTUPDATED') }\r\n ];\r\n }\r\n}\r\n","import { SelectValue } from 'proceduralsystem-clientcomponents';\r\nimport { CitedSubmissionsModel } from './cited-submissions/cited-submissions.model';\r\n\r\nexport class LoadEditPrincipleModel {\r\n public principle: PrincipleModel;\r\n public topics: SelectValue[];\r\n public forums: SelectValue[];\r\n}\r\nexport class PrincipleModel {\r\n public principleId = 0;\r\n public number = 0;\r\n public houseIdForum = 0;\r\n public houseForumDescr = '';\r\n public title = '';\r\n public text = '';\r\n public additionalDetails = '';\r\n public establishedUnderBillId = 0;\r\n public establishedUnderSubmissionId = 0;\r\n public establishedUnderSectionId = 0;\r\n public dateEstablished = '';\r\n public isExpired = false;\r\n public principleExpiries: Array = [];\r\n public topicIds: Array = [];\r\n public principleTopics: Array = [];\r\n public principleLinks1: Array = [];\r\n public principleLinks2: Array = [];\r\n public citedSubmissions: CitedSubmissionsModel;\r\n public updatedBy = '';\r\n public delegateRoleMemberId;\r\n}\r\n\r\nexport class PrincipleExpiry {\r\n public principleExpiryId = 0;\r\n public principleId = 0;\r\n public expiryReason: string;\r\n public expiryDate: string;\r\n public updatedByName: string;\r\n public updatedByRole: string;\r\n}\r\n\r\nexport class Topic {\r\n public topicId: number;\r\n public descr: string;\r\n public isActive: boolean;\r\n public updatedBy: string;\r\n}\r\n\r\nexport class PrincipleLink {\r\n public principleLinkId: number;\r\n public principleId1: number;\r\n public principleId2: number;\r\n public principleId2Title: string;\r\n public principleLinkTypeId: number;\r\n public principleLinkTypeDescr: string;\r\n public updatedBy: string;\r\n}\r\n\r\nexport class LoadReferenceData {\r\n topics: SelectValue[];\r\n forums: SelectValue[];\r\n\r\n}\r\n\r\nexport enum SortByEnum {\r\n MostNotable,\r\n MostRecent\r\n}\r\n\r\nexport enum LinkTypeEnum {\r\n Relate = 1,\r\n Supercede = 2\r\n}\r\n\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport {\r\n NavigationService,\r\n ToastNotificationsService,\r\n OirAuthService\r\n} from 'proceduralsystem-clientcomponents';\r\nimport {\r\n PrincipleModel,\r\n LoadEditPrincipleModel,\r\n LinkTypeEnum\r\n} from './principle.model';\r\nimport { SupportInformation } from './cited-submissions/cited-submissions.model';\r\nimport { CitedSubmissionsModel } from './cited-submissions/cited-submissions.model';\r\n\r\nimport { throwError as observableThrowError, Observable, Subject, of } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AppConfigService } from '../services/app-config.service';\r\n\r\n@Injectable()\r\nexport class PrincipleService {\r\n public loadEditmodel: LoadEditPrincipleModel;\r\n public principle = new Subject();\r\n public key = 'MostNotable';\r\n public reverse = false;\r\n\r\n private baseUrl: string;\r\n private citedHash = {};\r\n private model: PrincipleModel;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private readonly config: AppConfigService,\r\n private router: Router,\r\n private translateService: TranslateService,\r\n private toastService: ToastNotificationsService,\r\n private navigationService: NavigationService,\r\n private authService: OirAuthService\r\n ) {\r\n this.baseUrl = `${this.config.getValue('ApiEndpoint').url}/api`;\r\n }\r\n\r\n public getUpdatedBy() {\r\n return this.authService.getUsername();\r\n }\r\n\r\n public establishEditPrinciple(principle: PrincipleModel) {\r\n principle.updatedBy = this.getUpdatedBy();\r\n principle.delegateRoleMemberId = this.config.getValue('DelegateRoleMemberId');\r\n const data = {\r\n principle: principle,\r\n citedSubmissions: {\r\n establishedForSubmission: this.model.citedSubmissions.establishedForSubmission,\r\n items: this.citedHash\r\n }\r\n };\r\n\r\n const url = this.baseUrl + '/Principle';\r\n this.http.post(url, data).subscribe((model) => {\r\n if (principle.principleId === 0) {\r\n this.toastService.addNotification({\r\n title: 'TOAST.PRINCIPLE.ESTABLISHED.TITLE',\r\n description: this.translateService.instant(\r\n 'TOAST.PRINCIPLE.ESTABLISHED.SUBTITLE',\r\n { principleId: model.principleId }\r\n ),\r\n })\r\n } else {\r\n this.toastService.addNotification({\r\n title: 'TOAST.PRINCIPLE.SAVED.TITLE',\r\n description: this.translateService.instant(\r\n 'TOAST.PRINCIPLE.SAVED.SUBTITLE',\r\n { principleId: model.principleId }\r\n ),\r\n })\r\n }\r\n if (model.principleId !== 0) {\r\n this.router.navigate(['/principle/view/' + model.principleId], { queryParams: { keepTab: true } });\r\n }\r\n\r\n return model;\r\n });\r\n }\r\n\r\n public getPrinciple(id: number) {\r\n const url = this.baseUrl + `/Principle/id?Id=${id}&UserName=${this.authService.getUsername()}`;\r\n this.http.get(url).subscribe((model: any) => {\r\n if (model) {\r\n this.model = model;\r\n\r\n this.principle.next(model);\r\n }\r\n });\r\n }\r\n\r\n public getPrinciples(): Observable {\r\n const url = this.baseUrl + '/PrincipleList';\r\n return this.http.get(url);\r\n }\r\n\r\n public expirePrinciple(principleToExpire): any {\r\n const url = this.baseUrl + '/Principle';\r\n return this.http.put(url, principleToExpire)\r\n .pipe(catchError((error: any) => observableThrowError(error)));\r\n }\r\n\r\n deleteRelatedPrincipleLink(principleLinkId: number) {\r\n const data = {\r\n updatedBy: this.getUpdatedBy(),\r\n principleLinkId: principleLinkId\r\n };\r\n const url = this.baseUrl + `/LinkPrinciple?principleLinkId=${data.principleLinkId}&updatedBy=${data.updatedBy}`;\r\n return this.http.delete(url);\r\n }\r\n\r\n public linkPrinciples(linkingData: any) {\r\n let url;\r\n const data = {\r\n updatedBy: this.getUpdatedBy(),\r\n PrincipleLinks: linkingData\r\n };\r\n\r\n if (linkingData[0].principleLinkTypeId === LinkTypeEnum.Relate) {\r\n url = this.baseUrl + '/LinkPrinciple';\r\n } else {\r\n url = this.baseUrl + '/api/SupercedePrinciple';\r\n }\r\n\r\n return this.http.post(url, data).subscribe();\r\n }\r\n\r\n public isAllowedExpire(id): Observable {\r\n if (!id) { return of(false) };\r\n const userName = this.authService.getUsername();\r\n const url = this.baseUrl + `/Principle/?UserName=${userName}`;\r\n return this.http.get(url);\r\n }\r\n\r\n public initNavigationViewChild(principleId) {\r\n const searchNode = this.navigationService.model.tree.find(x => x.title === 'Search principles');\r\n searchNode.children = [];\r\n searchNode.children.push({ title: `Principle #${principleId}`, path: `principle/view/${principleId}` });\r\n searchNode.expanded = true;\r\n this.navigationService.select(searchNode.children[0]);\r\n }\r\n\r\n public initNavigationEditChild(principleId) {\r\n if (principleId > 0 ) {\r\n const searchNode = this.navigationService.model.tree.find(x => x.title === 'Search principles');\r\n searchNode.children = [];\r\n searchNode.children.push({ title: `Edit principle #${principleId}`, path: `principle/establish-edit/${principleId}` });\r\n searchNode.expanded = true;\r\n this.navigationService.select(searchNode.children[0]);\r\n } else {\r\n this.navigationService.select(this.navigationService.model.tree.find(x => x.title === 'Establish principle'), true);\r\n }\r\n\r\n }\r\n\r\n public searchCitedSubmission(id: number, skip: number, take: number, sortBy: number): void {\r\n const url = this.baseUrl + `/SupportInformation?id=${id}&skip=${skip}&take=${take}&sortBy=${sortBy}`;\r\n\r\n this.http.get(url).subscribe((response: any) => {\r\n this.model.citedSubmissions.items = response;\r\n\r\n this.updateSupportInformations(this.model.citedSubmissions.items);\r\n\r\n this.principle.next(this.model);\r\n });\r\n }\r\n\r\n public markEstablishedSubmissionAsNotable(): void {\r\n this.model.citedSubmissions.establishedForSubmission.isNotable = !this.model.citedSubmissions.establishedForSubmission.isNotable;\r\n }\r\n\r\n public markSubmissionAsNotable(supportInfo: SupportInformation) {\r\n if (this.citedHash.hasOwnProperty(supportInfo.supportInfoId)) {\r\n this.citedHash[supportInfo.supportInfoId] = !this.citedHash[supportInfo.supportInfoId];\r\n } else {\r\n this.citedHash[supportInfo.supportInfoId] = !supportInfo.isNotable;\r\n }\r\n }\r\n\r\n private updateSupportInformations(groups: Array) {\r\n for (let i = 0; i < groups.length; i++) {\r\n for (let j = 0; j < groups[i].length; j++) {\r\n const supportInfoId = groups[i][j].supportInfoId;\r\n\r\n if (this.citedHash.hasOwnProperty(supportInfoId)) {\r\n groups[i][j].isNotable = this.citedHash[supportInfoId];\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { SelectValue, NavigationService, OirAuthService } from 'proceduralsystem-clientcomponents';\r\nimport { Subscription } from 'rxjs';\r\nimport * as moment from 'moment';\r\n\r\nimport { PrincipleModel } from '../principle.model';\r\nimport { PrincipleService } from '../principle.service';\r\nimport { ExpirePrincipleComponent } from '../expire-principle/expire-principle.component';\r\nimport { CreateSubmissionComponent } from '../../submission/create/create-submission.component';\r\nimport { CreateSubmissionContainer } from '../../submission/create/create-submission-container-guard';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-view-principle',\r\n templateUrl: './view-principle.component.html',\r\n styleUrls: ['./view-principle.component.less']\r\n})\r\nexport class ViewPrincipleComponent implements OnInit, CreateSubmissionContainer, OnDestroy {\r\n @ViewChild(CreateSubmissionComponent) createComponent: CreateSubmissionComponent;\r\n\r\n @ViewChild('expirePrinciple') expireModal: ExpirePrincipleComponent;\r\n sortOptionsList: Array> = [];\r\n public relatedLinks = [];\r\n public supercededLinks = [];\r\n public supercedingLinks = [];\r\n public id: number;\r\n public model: PrincipleModel = new PrincipleModel();\r\n public showExpireButton = false;\r\n private routeSubscription: Subscription;\r\n private principleSubscription: Subscription;\r\n private keepTab = true;\r\n\r\n constructor(\r\n private config: AppConfigService,\r\n private principleService: PrincipleService,\r\n private navigationService: NavigationService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private titleService: Title,\r\n private translateService: TranslateService,\r\n private authService: OirAuthService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.routeSubscription = this.route.params.subscribe(params => {\r\n this.id = params['id'];\r\n this.principleService.getPrinciple(this.id);\r\n this.principleSubscription = this.principleService.principle.subscribe((data: any) => {\r\n if (this.id > 0) {\r\n this.model = data.principle;\r\n this.model.dateEstablished = moment(this.model.dateEstablished, ['DD/MM/YYYY']).format('DD/MM/YYYY');\r\n this.titleService.setTitle(this.translateService.instant('PRINCIPLE.TABTITLE', { principleId: this.model.principleId } ));\r\n if (this.model.principleId && !this.model.isExpired && data.isAuthorizedToExpire) {\r\n this.onUpdateExpireModal();\r\n this.showExpireButton = true;\r\n }\r\n }\r\n\r\n this.relatedLinks = this.hasRelatedPrinciples();\r\n this.supercededLinks = this.hasSupercededPrinciples();\r\n this.supercedingLinks = this.hasSupercedingPrinciples();\r\n });\r\n\r\n this.principleService.initNavigationViewChild(this.id);\r\n this.keepTab = Boolean(\r\n this.route.snapshot.queryParamMap.get('keepTab')\r\n );\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.routeSubscription.unsubscribe();\r\n this.principleSubscription.unsubscribe();\r\n\r\n const searchNode = this.navigationService.model.tree.find(x => x.title === 'Search principles');\r\n searchNode.expanded = false;\r\n }\r\n\r\n toggle(): void {\r\n this.createComponent.toggle();\r\n }\r\n\r\n public onShowExpireModal() {\r\n this.expireModal.toggle();\r\n }\r\n\r\n public hasRelatedPrinciples() {\r\n if (this.model && this.model.principleLinks1 && this.model.principleLinks1.length > 0) {\r\n const relatedLinkIds = this.model.principleLinks1.filter(\r\n p => p.principleLinkTypeId === 1\r\n );\r\n return relatedLinkIds;\r\n }\r\n return [];\r\n }\r\n\r\n public hasSupercededPrinciples() {\r\n if (this.model && this.model.principleLinks1 && this.model.principleLinks1.length > 0) {\r\n const supercededLinkIds = this.model.principleLinks1.filter(\r\n p => p.principleLinkTypeId === 2\r\n );\r\n return supercededLinkIds;\r\n }\r\n return [];\r\n }\r\n\r\n public hasSupercedingPrinciples() {\r\n if (this.model && this.model.principleLinks1 && this.model.principleLinks1.length > 0) {\r\n const supercedingLinkIds = this.model.principleLinks1.filter(\r\n p => p.principleLinkTypeId === 3\r\n );\r\n return supercedingLinkIds;\r\n }\r\n return [];\r\n }\r\n\r\n public onGoToEditScreen() {\r\n this.navigationService.navigateToPath(`/principle/establish-edit/${this.id}`);\r\n }\r\n\r\n public onCloseViewPrinciple() {\r\n if (this.keepTab) {\r\n this.navigationService.clearSelect(this.navigationService.currentNode);\r\n const searchNode = this.navigationService.model.tree.find(x => x.title === 'Search principles');\r\n this.navigationService.select(searchNode, true);\r\n this.router.navigate([`/principle-search`]);\r\n } else {\r\n this.tryCloseTab();\r\n }\r\n }\r\n\r\n private onUpdateExpireModal() {\r\n if (this.expireModal) {\r\n this.expireModal.principleTitle = this.model.title;\r\n this.expireModal.principleText = this.model.text;\r\n\r\n this.expireModal.expirePrincipleForm.setValue({\r\n expiryReason: '',\r\n expiryReasonValue: '',\r\n principleId: this.model.principleId,\r\n updatedBy: this.authService.getUsername(),\r\n AdRoleMemberIdExpiredBy: this.config.getValue('UserRoleMemberId')\r\n });\r\n\r\n this.expireModal.expiryComplete.subscribe(result => {\r\n this.principleService.getPrinciple(this.model.principleId);\r\n });\r\n }\r\n }\r\n\r\n private tryCloseTab() {\r\n const objWin = window.self;\r\n objWin.open('', '_self', '');\r\n objWin.close();\r\n\r\n if (!objWin.closed) {\r\n this.router.navigate(['task-manager']);\r\n }\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({name: 'removeRequired'})\r\nexport class RemoveRequiredPipe implements PipeTransform {\r\n transform(value: string): string {\r\n let newStr: string = \"\";\r\n newStr = value.replace(\"required\", \"\");\r\n newStr = newStr.replace(\"Required\", \"\");\r\n return newStr;\r\n }\r\n}","import { DomSanitizer } from '@angular/platform-browser'\r\nimport { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({ name: 'safehtml'})\r\n\r\nexport class SafeHtmlPipe implements PipeTransform {\r\n constructor(private sanitized: DomSanitizer) {}\r\n transform(value) {\r\n return this.sanitized.bypassSecurityTrustHtml(value);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent, HttpHeaders } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable()\r\nexport class HttpCacheInterceptor implements HttpInterceptor {\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n request = request.clone({\r\n setHeaders: {\r\n 'Cache-Control': 'no-cache, no-store, must-revalidate, post-check=0, pre-check=0',\r\n 'Pragma': 'no-cache',\r\n 'Expires': '0'\r\n }\r\n });\r\n\r\n return next.handle(request);\r\n }\r\n}","import { HttpBackend, HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n ConfigurationService,\r\n IAppEndpoint,\r\n IAppSettings,\r\n} from 'proceduralsystem-clientcomponents';\r\nimport { BehaviorSubject, Observable, of } from 'rxjs';\r\nimport { filter, map, pluck, switchMap, takeUntil, tap } from 'rxjs/operators';\r\n\r\nexport interface AppConfig extends IAppSettings {\r\n RoleId: string;\r\n UserId: string;\r\n UserRoleMemberId: string;\r\n ReturnUrl: string;\r\n AADGroupBillsAdmin: string;\r\n CustomHeader: string;\r\n defaultLang: string;\r\n\r\n ApiEndpoint: IAppEndpoint;\r\n BillsAdminWebUrl: string;\r\n UserGrade: string;\r\n AccessToken: string;\r\n Role: string;\r\n DelegateRoleMemberId: string;\r\n VersionNumber: string;\r\n \r\n CKEditor5LicenseKey: string;\r\n RoleRank: string;\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AppConfigService {\r\n private http: HttpClient;\r\n private localSettings: AppConfig;\r\n private localSettings$: Observable | null = null;\r\n private config$: Observable | null = null;\r\n private values$ = new BehaviorSubject(null);\r\n\r\n constructor(\r\n private httpHandler: HttpBackend,\r\n private config: ConfigurationService,\r\n ) {\r\n this.http = new HttpClient(httpHandler);\r\n }\r\n\r\n init(): Observable {\r\n this.localSettings$ = this.http\r\n .get('./app.config.json')\r\n .pipe(\r\n tap(v => (this.localSettings = v)),\r\n tap(v => this.values$.next(v)),\r\n switchMap(v => this.fetchConfig()),\r\n takeUntil(this.values$.pipe(filter(v => !!v)))\r\n )\r\n return this.localSettings$;\r\n }\r\n\r\n get(prop: T): Observable {\r\n if (!this.config$) {\r\n this.config$ = this.fetchConfig();\r\n }\r\n\r\n return this.config$.pipe(pluck(prop));\r\n }\r\n\r\n getValue(prop: T): AppConfig[T] {\r\n const config = this.values$.getValue();\r\n\r\n return config ? config[prop] : null;\r\n }\r\n\r\n set(prop: T, value: string): void {\r\n let config = this.values$.getValue();\r\n if (!config) {\r\n config = {} as AppConfig;\r\n }\r\n if (prop) {\r\n // eslint-disable-next-line\r\n // @ts-ignore\r\n config[prop] = value;\r\n\r\n this.values$.next(config);\r\n if (this.config$) {\r\n this.config$ = of(config);\r\n }\r\n }\r\n }\r\n\r\n setCookie(property: string, value: string, days = 30): void {\r\n this.config.setCookie(property, value, days);\r\n }\r\n\r\n parseJwt(token) {\r\n var base64Url = token.split(\".\")[1];\r\n var base64 = base64Url.replace(/-/g, \"+\").replace(/_/g, \"/\");\r\n var jsonPayload = decodeURIComponent(\r\n window\r\n .atob(base64)\r\n .split(\"\")\r\n .map(function (c) {\r\n return \"%\" + (\"00\" + c.charCodeAt(0).toString(16)).slice(-2);\r\n })\r\n .join(\"\")\r\n );\r\n\r\n return JSON.parse(jsonPayload);\r\n }\r\n\r\n private fetchConfig(): Observable {\r\n return of(this.localSettings).pipe(\r\n switchMap((v) => this.config.getAll(v)),\r\n map(v => Object.assign(v, this.localSettings)),\r\n tap(v => this.values$.next(v))\r\n );\r\n }\r\n}\r\n","import { Component, OnInit, forwardRef, OnDestroy } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators,\r\n ControlValueAccessor, NG_VALUE_ACCESSOR, NG_ASYNC_VALIDATORS, AsyncValidator, AbstractControl } from '@angular/forms';\r\nimport { SelectValue } from 'proceduralsystem-clientcomponents';\r\nimport { SharedService } from './shared.service';\r\nimport { BillSubmission } from './link-submission.model';\r\nimport { Subscription , Observable, of } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'oir-link-submission',\r\n templateUrl: './link-submission.component.html',\r\n styleUrls: ['./link-submission.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => LinkSubmissionComponent),\r\n multi: true\r\n }\r\n , {\r\n provide: NG_ASYNC_VALIDATORS,\r\n useExisting: forwardRef(() => LinkSubmissionComponent),\r\n multi: true,\r\n }]\r\n})\r\n\r\nexport class LinkSubmissionComponent implements ControlValueAccessor, OnInit, OnDestroy, AsyncValidator {\r\n public submissionList: Array> = [];\r\n public sectionList: Array> = [];\r\n public apiUrlBill: string;\r\n public hideSection = true;\r\n public submissionLinkForm: UntypedFormGroup;\r\n public billSubmissions: Array = [];\r\n public billSection: Array = [];\r\n public currentItemSubId = 0;\r\n public currentItemSecId = 0;\r\n public isUpdate = false;\r\n private subscription: Subscription;\r\n\r\n propagateChange = (_: any) => { };\r\n propagateTouch = (_: any) => { };\r\n\r\n constructor(private fb: UntypedFormBuilder, private sharedService: SharedService) {\r\n this.submissionList = new Array>();\r\n }\r\n\r\n writeValue(submissionLinking: any) {\r\n if (submissionLinking && submissionLinking.establishedUnderSubmissionId) {\r\n // Store set form data from model.\r\n this.currentItemSubId = submissionLinking.establishedUnderSubmissionId;\r\n this.currentItemSecId = submissionLinking.establishedUnderSectionId;\r\n\r\n this.submissionLinkForm.setValue({\r\n establishedUnderBill: {\r\n value: submissionLinking.establishedUnderBill[0].value,\r\n title: submissionLinking.establishedUnderBill[0].title\r\n },\r\n establishedUnderSubmissionId:\r\n submissionLinking.establishedUnderSubmissionId,\r\n establishedUnderSectionId:\r\n submissionLinking.establishedUnderSectionId\r\n });\r\n }\r\n }\r\n\r\n updateSection(val: number) {\r\n if (this.currentItemSecId !== this.currentItemSubId\r\n || (val != null && this.currentItemSubId !== val)\r\n || this.isUpdate) {\r\n // Only update section if submission dropdown change and is different from initial submission id.\r\n this.submissionLinkForm.patchValue({establishedUnderSectionId: null });\r\n this.isUpdate = true;\r\n }\r\n }\r\n\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n ngOnInit() {\r\n this.submissionLinkForm = this.fb.group({\r\n establishedUnderBill: [[''], [Validators.required]],\r\n establishedUnderSubmissionId: [0, [Validators.required]],\r\n establishedUnderSectionId: 0\r\n });\r\n\r\n this.onBillChanges();\r\n this.getTypeaheadApi();\r\n\r\n this.subscription = this.submissionLinkForm.valueChanges.subscribe(x => this.propagateChange(x));\r\n }\r\n\r\n resetTheForm() {\r\n this.submissionLinkForm = this.fb.group({\r\n establishedUnderBill: 0,\r\n establishedUnderSubmissionId: 0,\r\n establishedUnderSectionId: 0\r\n });\r\n }\r\n\r\n validate(c: AbstractControl): Promise<{ [key: string]: any; }> | Observable<{ [key: string]: any; }> {\r\n return of(this.submissionLinkForm.valid ? null : {invalid: true});\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n onBillChanges(): void {\r\n const bill = this.submissionLinkForm.get('establishedUnderBill');\r\n bill.patchValue([]);\r\n\r\n this.submissionLinkForm.get('establishedUnderBill').valueChanges.subscribe(val => {\r\n this.submissionLinkForm.controls['establishedUnderSubmissionId'].reset();\r\n this.submissionLinkForm.markAsPristine();\r\n this.submissionList = new Array>();\r\n this.hideSection = true;\r\n\r\n if (val.value !== undefined && this.submissionLinkForm.value.establishedUnderSubmissionId == null) {\r\n this.populateSubmissionDropdown(val.value);\r\n this.onSubmissionChanges();\r\n }\r\n });\r\n }\r\n\r\n onSubmissionChanges(): void {\r\n this.submissionLinkForm.get('establishedUnderSubmissionId').valueChanges.subscribe(val => {\r\n this.updateSection(val);\r\n this.submissionLinkForm.markAsPristine();\r\n this.sectionList = new Array>();\r\n this.hideSection = true;\r\n\r\n if (val !== undefined && this.submissionLinkForm.value.establishedUnderSectionId == null) {\r\n this.populateSectionsDropdown(val);\r\n this.submissionLinkForm.markAsPristine();\r\n }\r\n });\r\n }\r\n\r\n public async getTypeaheadApi() {\r\n this.apiUrlBill = `/api/Bill`;\r\n }\r\n\r\n public populateSubmissionDropdown(billId: number) {\r\n this.sharedService.getBillSubmissions(billId).subscribe(billSubmissions => {\r\n this.submissionList = new Array>();\r\n this.submissionList = billSubmissions;\r\n this.submissionList.forEach(submission => submission.title = '#' + submission.title);\r\n });\r\n\r\n }\r\n\r\n public populateSectionsDropdown(submissionId: number) {\r\n if (submissionId != null) {\r\n this.sharedService.getSubmissionSections(submissionId).subscribe(sections => {\r\n this.sectionList = new Array>();\r\n this.sectionList = sections;\r\n this.hideSection = this.hideSections();\r\n });\r\n }\r\n }\r\n\r\n public hideSections() {\r\n return !this.sectionList || !this.sectionList.length;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AppConfigService } from '../services/app-config.service';\r\nimport { HttpClient } from '@angular/common/http';\r\n\r\n@Injectable()\r\nexport class SharedService {\r\n constructor(\r\n private config: AppConfigService,\r\n private http: HttpClient\r\n ) { }\r\n\r\n public getBillSubmissions(id: number): Observable {\r\n const url = `${this.config.getValue('ApiEndpoint').url}/api/SubmissionRefData/id?Id=${id}`;\r\n return this.http.get(url);\r\n }\r\n\r\n public getSubmissionSections(id: number): Observable {\r\n const url = `${this.config.getValue('ApiEndpoint').url}/api/SubmissionSectionRef/id?Id=${id}`;\r\n return this.http.get(url);\r\n }\r\n\r\n public getBill(id: number): Observable {\r\n const url = `${this.config.getValue('ApiEndpoint').url}/api/BillTitle/id?Id=${id}`;\r\n return this.http.get(url);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { ValidModel } from '../models/app.models';\r\n\r\ninterface Map {\r\n [K: string]: T;\r\n}\r\n\r\n@Injectable()\r\nexport class ValidationService {\r\n formsArr: Map = {};\r\n ids = [];\r\n amendments = 0;\r\n\r\n private subject = new BehaviorSubject(true);\r\n private subjectSend = new BehaviorSubject(false);\r\n private callValidation = new BehaviorSubject(0);\r\n\r\n activateValidation() {\r\n let currentVal = this.callValidation.value;\r\n currentVal++;\r\n this.callValidation.next(currentVal);\r\n }\r\n\r\n markForm(model: ValidModel) {\r\n let result = true;\r\n // Add to associative array.\r\n this.formsArr[String(model.id)] = model.clean;\r\n // Store Ids.\r\n if (this.ids.indexOf(model.id) === -1) {\r\n this.ids.push(model.id);\r\n }\r\n // If model is clean make sure other models are clean also.\r\n if (model.clean) {\r\n for (let i = 0; i < this.ids.length; i++) {\r\n if (!this.formsArr[String(this.ids[i])]) {\r\n result = false;\r\n }\r\n }\r\n } else {\r\n result = false;\r\n }\r\n this.subject.next(result);\r\n this.checkAmendments();\r\n }\r\n\r\n addAmendment() {\r\n this.amendments++;\r\n this.checkAmendments();\r\n }\r\n\r\n deleteAmendment() {\r\n this.amendments--;\r\n this.checkAmendments();\r\n }\r\n\r\n checkAmendments () {\r\n // Check if validation is true and an amendment exists.\r\n this.subjectSend.next(!!this.subject.value && this.amendments > 0);\r\n }\r\n\r\n resetNoOfAmendments() {\r\n this.amendments = 0;\r\n this.formsArr = {};\r\n this.ids = [];\r\n this.checkAmendments();\r\n }\r\n\r\n getValidationCall(): Observable {\r\n return this.callValidation.asObservable();\r\n }\r\n\r\n getData(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n getDataWithAnAmendment(): Observable {\r\n return this.subjectSend.asObservable();\r\n }\r\n\r\n getTopInvalidForm(): any {\r\n for (let i = 0; i < this.ids.length; i++) {\r\n if (!this.formsArr[String(this.ids[i])]) {\r\n return this.ids[i];\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n","/// \r\n\r\nimport {\r\n Component,\r\n Input,\r\n OnInit,\r\n forwardRef,\r\n Output,\r\n ViewChild,\r\n OnDestroy,\r\n EventEmitter,\r\n ChangeDetectionStrategy\r\n} from '@angular/core';\r\nimport {\r\n UntypedFormGroup,\r\n UntypedFormBuilder,\r\n Validators,\r\n UntypedFormArray,\r\n NG_VALUE_ACCESSOR,\r\n UntypedFormControl\r\n} from '@angular/forms';\r\nimport { BehaviorSubject, Subscription } from 'rxjs';\r\nimport { ValidationService } from '../../../shared/validation.service';\r\nimport { ValidModel } from '../../../models/app.models';\r\nimport { AmendmentDecision, AmendmentGroupWithIndex } from './../amendment.model';\r\nimport OirCkEditor, { OirCkEditorConfig } from 'proceduralsystem-ckeditor';\r\nimport { EditorConfig } from 'src/app/models/editor-config.model';\r\nimport { AppConfigService } from 'src/app/services/app-config.service';\r\n@Component({\r\n selector: 'oir-amendment-create',\r\n templateUrl: './amendment-create.component.html',\r\n styleUrls: ['./amendment-create.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AmendmentCreateComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class AmendmentCreateComponent implements OnInit, OnDestroy {\r\n @Input()\r\n decisions;\r\n @Input()\r\n group: any;\r\n @Input()\r\n contribution: any;\r\n @Input()\r\n preventCreate: boolean;\r\n @Output()\r\n onCreate = new EventEmitter();\r\n @Output()\r\n onUpdate = new EventEmitter();\r\n @Output()\r\n onCancel = new EventEmitter();\r\n\r\n createMode = true;\r\n groupObj = [];\r\n formID: number;\r\n\r\n private subscription: Subscription;\r\n private validationSubscription: Subscription;\r\n\r\n public noSplitDecisions = [];\r\n public form: UntypedFormGroup;\r\n public editForm: UntypedFormGroup;\r\n public showValidations$ = new BehaviorSubject(false);\r\n validService: ValidationService;\r\n \r\n Editor = OirCkEditor;\r\n ckEditorConfig: OirCkEditorConfig;\r\n\r\n get formData() {\r\n return this.form.get('billAmendments');\r\n }\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private validationService: ValidationService,\r\n private configurationService: AppConfigService\r\n ) {\r\n this.validService = validationService;\r\n this.formID = Math.floor(Math.random() * 90000) + 10000;\r\n this.ckEditorConfig = {\r\n ...EditorConfig,\r\n licenseKey: this.configurationService.getValue('CKEditor5LicenseKey')\r\n }\r\n }\r\n\r\n propagateChange = (_: any) => { };\r\n propagateTouch = (_: any) => { };\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n billAmendments: this.fb.array([]),\r\n comment: ['', Validators.required],\r\n supportingInformation: [],\r\n amendmentDecisionId: ['', Validators.required]\r\n });\r\n\r\n // Check if data exists then open in edit mode.\r\n if (typeof this.group !== 'undefined') {\r\n this.createMode = false;\r\n this.form.patchValue({\r\n comment: this.group.contributions[0].commentAmendments[0].comment,\r\n supportingInformation: this.group.contributions[0].commentAmendments[0].supportingInformation,\r\n amendmentDecisionId: this.group.contributions[0].commentAmendments[0]\r\n .decision.amendmentDecisionId\r\n });\r\n this.contribution.commentAmendments.forEach(\r\n x => (x.amendmentDecisionId = x.amendmentDecisionId || '')\r\n );\r\n this.group.amendments.forEach(element => {\r\n const obj = {\r\n amendmentId: element.amendmentId,\r\n amendmentStatusId: element.amendmentStatusId,\r\n listType: element.listType,\r\n numberListReference: element.numberListReference,\r\n whiteListNumber: element.whiteListNumber,\r\n whiteListReference: element.whiteListReference,\r\n amendmentSubmitters: element.amendmentSubmitters\r\n };\r\n const cleanObj = this.removeUndef(obj);\r\n const arrObj = new UntypedFormControl();\r\n arrObj.setValue(cleanObj);\r\n const items = this.form.get('billAmendments') as UntypedFormArray;\r\n items.push(arrObj);\r\n this.groupObj.push(cleanObj);\r\n });\r\n\r\n this.editForm = this.fb.group({\r\n comment: this.group.contributions[0].commentAmendments[0].comment,\r\n amendmentGroupId: this.group.amendmentGroupId,\r\n commentAmendments: this.fb.array([]),\r\n billAmendments: this.fb.array([]),\r\n supportingInformation: this.fb.array([]),\r\n Updated: false\r\n });\r\n\r\n this.setCommentAmendments(this.contribution.commentAmendments);\r\n this.form.markAsDirty();\r\n\r\n const mValidation = new ValidModel();\r\n mValidation.id = this.formID;\r\n mValidation.clean = false;\r\n\r\n this.validService.markForm(mValidation);\r\n }\r\n\r\n this.subscription = this.form.valueChanges.subscribe(data => {\r\n const mValidation = new ValidModel();\r\n mValidation.id = this.formID;\r\n mValidation.clean = !this.form.dirty;\r\n this.validService.markForm(mValidation);\r\n this.propagateChange(this.form.value);\r\n });\r\n\r\n this.validationSubscription = this.validationService\r\n .getValidationCall()\r\n .subscribe(data => {\r\n if (data !== 0 && this.form.dirty) {\r\n this.form.get('amendmentDecisionId').markAsTouched();\r\n this.form.get('comment').markAsTouched();\r\n this.showValidations$.next(true);\r\n }\r\n });\r\n\r\n const arr = this.form.controls['billAmendments'];\r\n\r\n if (arr.length === 0) {\r\n this.addAmendmentReference();\r\n }\r\n\r\n this.noSplitDecisions = this.decisions.slice(0, this.decisions.length - 1);\r\n }\r\n\r\n // Removes undefined property from object passed into function.\r\n removeUndef(obj) {\r\n Object.keys(obj).forEach(key => {\r\n if (obj[key] === undefined) {\r\n delete obj[key];\r\n }\r\n });\r\n return obj;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n if (this.validationSubscription) {\r\n this.validationSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n writeValue(_contribution: any): void { }\r\n\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n public resetForm() {\r\n // Select editor based on mode.\r\n\r\n this.showValidations$.next(false);\r\n // If component in edit mode revert back to readonly.\r\n if (!this.createMode) {\r\n this.onCancel.emit();\r\n this.scrollToAmendmentGroup(this.editForm.value.amendmentGroupId);\r\n } else {\r\n this.form.reset({\r\n comment: '',\r\n amendmentDecisionId: ''\r\n });\r\n const arr = this.form.controls['billAmendments'];\r\n this.addAmendmentReference();\r\n while (arr.length > 1) {\r\n arr.removeAt(0);\r\n }\r\n }\r\n this.form.markAsPristine();\r\n this.form.markAsUntouched();\r\n\r\n const mValidation = new ValidModel();\r\n mValidation.id = this.formID;\r\n mValidation.clean = true;\r\n this.validService.markForm(mValidation);\r\n }\r\n\r\n public scrollToAmendmentGroup(amendmentGroupId) {\r\n const scrollVal = this.getOffsetTop(\r\n document.getElementById(amendmentGroupId)\r\n );\r\n\r\n if (typeof document.getElementsByClassName('body')[0].scroll !== 'undefined') {\r\n document.getElementsByClassName('body')[0].scroll({\r\n top: scrollVal,\r\n behavior: 'auto'\r\n });\r\n } else if (typeof document.getElementsByClassName('body')[0].scrollTop !== 'undefined') {\r\n document.getElementsByClassName('body')[0].scrollTop = scrollVal;\r\n }\r\n }\r\n\r\n public createAmendment() {\r\n this.showValidations$.next(!this.form.valid);\r\n\r\n if (this.form.valid) {\r\n this.validService.addAmendment();\r\n this.propagateChange(this.form.value);\r\n this.onCreate.emit(this.form.value);\r\n this.resetForm();\r\n } else {\r\n this.form.get('amendmentDecisionId').markAsTouched();\r\n this.form.get('comment').markAsDirty();\r\n }\r\n }\r\n\r\n public updateAmendment() {\r\n if (this.form.valid) {\r\n const formArr2 = [];\r\n this.form.value.billAmendments.forEach((element, index) => {\r\n // If missing properties add them in.\r\n if (typeof this.groupObj[index] !== 'undefined') {\r\n for (const key in this.groupObj[index]) {\r\n if (!element.hasOwnProperty(key) || (element.hasOwnProperty(key) && typeof element[key] === 'undefined')) {\r\n element[key] = this.groupObj[index][key];\r\n }\r\n }\r\n }\r\n if (\r\n !element.hasOwnProperty('chamberMembers') &&\r\n typeof this.group.amendments[index]['chamberMembers'] !== 'undefined'\r\n ) {\r\n element['chamberMembers'] = this.group.amendments[index][\r\n 'chamberMembers'\r\n ];\r\n }\r\n // Make sure value is number for chamberMembers Id.\r\n Object.keys(element).forEach(function (key) {\r\n if (key === 'chamberMembers') {\r\n element[key].forEach(element2 => {\r\n Object.keys(element2).forEach(function (objKey) {\r\n if (objKey === 'value') {\r\n element2[objKey] = Number(element2[objKey]);\r\n }\r\n });\r\n });\r\n }\r\n });\r\n formArr2.push(element);\r\n });\r\n\r\n const decisionObj = {\r\n amendmentDecisionId: this.form.value.amendmentDecisionId,\r\n descr:\r\n this.form.value.amendmentDecisionId === AmendmentDecision.InOrder\r\n ? 'In Order'\r\n : 'Out of Order'\r\n };\r\n const doUpdate = this.editForm.value.amendmentGroupId !== 0;\r\n this.editForm.patchValue({\r\n commentAmendments: [\r\n {\r\n amendmentDecisionId: this.form.value.amendmentDecisionId,\r\n comment: this.form.value.comment,\r\n decision: decisionObj,\r\n supportingInformation: this.form.value.supportingInformation,\r\n }\r\n ],\r\n Updated: doUpdate,\r\n decision: decisionObj\r\n });\r\n this.editForm.setControl('billAmendments', this.fb.array(formArr2));\r\n this.editForm.value.commentAmendments[0].billAmendment = formArr2;\r\n this.propagateChange(this.editForm.value);\r\n\r\n const aGroupWithIndex = new AmendmentGroupWithIndex();\r\n aGroupWithIndex.groupIndex = this.group.groupIndex;\r\n aGroupWithIndex.amendmentGroup = this.editForm.value;\r\n this.onUpdate.emit(aGroupWithIndex);\r\n\r\n this.resetForm();\r\n this.scrollToAmendmentGroup(this.editForm.value.amendmentGroupId);\r\n } else {\r\n this.showValidations$.next(true);\r\n this.form.get('amendmentDecisionId').markAsTouched();\r\n this.form.get('comment').markAsTouched();\r\n }\r\n }\r\n\r\n public getOffsetTop(elem) {\r\n let offsetTop = -50;\r\n do {\r\n if (!isNaN(elem.offsetTop)) {\r\n offsetTop += elem.offsetTop;\r\n }\r\n } while ((elem = elem.offsetParent));\r\n return offsetTop;\r\n }\r\n\r\n private setCommentAmendments(commentAmendments: any) {\r\n let amendmentId = -1;\r\n const arr = this.editForm.controls['commentAmendments'];\r\n\r\n for (let i = 0; i < commentAmendments.length; i++) {\r\n if (\r\n commentAmendments[i].hasOwnProperty('billAmendments') &&\r\n commentAmendments[i].billAmendments.hasOwnProperty('amendmentId')\r\n ) {\r\n amendmentId = commentAmendments[i].billAmendments.amendmentId;\r\n }\r\n arr.push(\r\n this.fb.group({\r\n commentAmendmentId: commentAmendments[i].commentAmendmentId,\r\n contributionId: commentAmendments[i].contributionId,\r\n amendmentDecisionId: commentAmendments[i].amendmentDecisionId,\r\n comment: commentAmendments[i].comment,\r\n supportingInformation: new UntypedFormControl(commentAmendments[i].supportingInformation == null ?\r\n [] : commentAmendments[i].supportingInformation),\r\n billAmendment: this.fb.group({\r\n amendmentId: amendmentId,\r\n amendmentReference: this.getAmendmentReference(\r\n commentAmendments[i].billAmendment\r\n )\r\n }),\r\n decision: commentAmendments[i].decision\r\n })\r\n );\r\n }\r\n }\r\n\r\n private getAmendmentReference(billAmendment: any) {\r\n let result = null;\r\n\r\n if (billAmendment) {\r\n const amendment = this.group.amendments.find(\r\n x => x.amendmentId === billAmendment.amendmentId\r\n );\r\n if (amendment) {\r\n result = amendment.numberListReference || amendment.whiteListReference;\r\n }\r\n }\r\n\r\n return result;\r\n }\r\n\r\n public addAmendmentReference() {\r\n const arr = this.form.controls['billAmendments'];\r\n\r\n arr.push(\r\n this.fb.control({\r\n listType: 1,\r\n numberListReference: '',\r\n whiteListNumber: '',\r\n whiteListReference: '',\r\n chamberMembers: []\r\n })\r\n );\r\n }\r\n\r\n public removeAmendmentReference(i: number) {\r\n const arr = this.form.controls['billAmendments'];\r\n arr.removeAt(i);\r\n }\r\n}\r\n","import { Component, OnInit, forwardRef, Input, EventEmitter, Output, OnDestroy, QueryList, ViewChildren } from '@angular/core';\r\nimport {\r\n NG_VALUE_ACCESSOR, UntypedFormBuilder, UntypedFormGroup, UntypedFormArray, Validators, NG_ASYNC_VALIDATORS, AbstractControl\r\n , UntypedFormControl\r\n} from '@angular/forms';\r\nimport { AmendmentView, AmendmentDecision } from '../amendment.model';\r\nimport { Observable, of, Subscription } from 'rxjs';\r\nimport { ValidModel } from '../../../models/app.models';\r\nimport { ValidationService } from '../../../shared/validation.service';\r\nimport { SupportInfoComponent } from '../../../submission/support-info/support-info.component';\r\nimport { SubmissionComponent } from '../../submission.component';\r\nimport { EditorConfig } from '../../../models/editor-config.model';\r\nimport { AppConfigService } from '../../../services/app-config.service';\r\nimport OirCkEditor, { OirCkEditorConfig } from 'proceduralsystem-ckeditor';\r\n\r\n\r\n@Component({\r\n selector: 'oir-amendment-edit',\r\n templateUrl: './amendment-edit.component.html',\r\n styleUrls: ['./amendment-edit.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AmendmentEditComponent),\r\n multi: true\r\n },\r\n {\r\n provide: NG_ASYNC_VALIDATORS,\r\n useExisting: forwardRef(() => AmendmentEditComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class AmendmentEditComponent implements OnInit, OnDestroy {\r\n @Input() decisions;\r\n @Input() group;\r\n @Input() amendmentView;\r\n\r\n @Output() onUpdate = new EventEmitter();\r\n @Output() onDelete = new EventEmitter();\r\n\r\n @ViewChildren('supportinfo') supportInfoComponents: QueryList;\r\n\r\n public form: UntypedFormGroup;\r\n public readonly = true;\r\n public newDecision = true;\r\n public isSplitDecision = false;\r\n public canSplitDecision = false;\r\n public noSplitDecisions = [];\r\n public mustSplitDecision = false;\r\n public amendmentDecision = AmendmentDecision;\r\n public isConflict = false;\r\n formID: number;\r\n\r\n private decisionSubscription: Subscription;\r\n private contribution: any;\r\n\r\n private subscription: Subscription;\r\n\r\n get formData() { return this.form.get('commentAmendments'); }\r\n Editor = OirCkEditor;\r\n ckEditorConfig: OirCkEditorConfig;\r\n constructor(private fb: UntypedFormBuilder,\r\n private config: AppConfigService,\r\n readonly validationService: ValidationService,\r\n readonly submissionComponent: SubmissionComponent) {\r\n this.formID = Math.floor(Math.random() * 90000) + 10000;\r\n this.ckEditorConfig = {\r\n ...EditorConfig,\r\n licenseKey: this.config.getValue('CKEditor5LicenseKey')\r\n };\r\n }\r\n\r\n propagateChange = (_: any) => { };\r\n propagateTouch = (_: any) => { };\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n amendmentGroupId: 0,\r\n commentAmendments: this.fb.array([]),\r\n });\r\n\r\n this.canSplitDecision = this.group.canSplitDecision;\r\n this.noSplitDecisions = this.decisions.slice(0);\r\n this.noSplitDecisions.splice(this.noSplitDecisions.length - 1, 1);\r\n this.subscription = this.form.valueChanges.subscribe((data) => {\r\n if (this.form.touched) {\r\n this.makeValidationChange(!this.form.touched);\r\n this.propagateChange(this.form.value);\r\n }\r\n });\r\n this.validationService.addAmendment();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.decisionSubscription) {\r\n this.decisionSubscription.unsubscribe();\r\n }\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n }\r\n\r\n writeValue(contribution: any): void {\r\n contribution.commentAmendments.forEach(x => x.amendmentDecisionId = x.amendmentDecisionId || '');\r\n\r\n this.form.setValue({\r\n amendmentGroupId: contribution.amendmentGroupId,\r\n commentAmendments: [],\r\n });\r\n\r\n this.setCommentAmendments(contribution.commentAmendments);\r\n\r\n this.newDecision = !contribution.commentAmendments.some(x => x.amendmentDecisionId > 0);\r\n this.checkSplitDecision(false);\r\n\r\n this.contribution = this.form.value;\r\n\r\n setTimeout(() => {\r\n this.setValidators();\r\n\r\n this.validate(this.form);\r\n this.propagateChange(this.form.value);\r\n });\r\n }\r\n\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n validate(c: AbstractControl): Promise<{ [key: string]: any; }> | Observable<{ [key: string]: any; }> {\r\n return of(this.form.valid ? null : { invalid: true });\r\n }\r\n\r\n private setCommentAmendments(commentAmendments: any) {\r\n const arr = this.form.controls['commentAmendments'];\r\n\r\n for (let i = 0; i < commentAmendments.length; i++) {\r\n arr.push(this.fb.group({\r\n commentAmendmentId: commentAmendments[i].commentAmendmentId,\r\n contributionId: commentAmendments[i].contributionId,\r\n amendmentDecisionId: commentAmendments[i].amendmentDecisionId,\r\n comment: commentAmendments[i].comment,\r\n supportingInformation: new UntypedFormControl(commentAmendments[i].supportingInformation == null ?\r\n [] : commentAmendments[i].supportingInformation),\r\n billAmendment: this.fb.group({\r\n amendmentId: commentAmendments[i].billAmendment ? commentAmendments[i].billAmendment.amendmentId : -1,\r\n amendmentReference: this.getAmendmentReference(commentAmendments[i].billAmendment)\r\n })\r\n }));\r\n }\r\n }\r\n\r\n private addEmptyDecision(arr, billAmendment, markastouched = true) {\r\n arr.push(this.fb.group({\r\n billAmendment: this.fb.group({\r\n amendmentId: billAmendment ? billAmendment.amendmentId : -1,\r\n amendmentReference: this.getAmendmentReference(billAmendment)\r\n }),\r\n commentAmendmentId: 0,\r\n contributionId: 0,\r\n amendmentDecisionId: '',\r\n comment: '',\r\n supportingInformation: []\r\n }));\r\n if (markastouched) {\r\n this.form.markAsTouched();\r\n }\r\n setTimeout(() => {\r\n this.setValidators();\r\n });\r\n }\r\n\r\n private checkSplitDecision(markastouched = true) {\r\n this.mustSplitDecision = this.group\r\n .contributions\r\n .filter(x => x.adRoleMemberId !== this.config.getValue('UserRoleMemberId'))\r\n .some(x => x.commentAmendments.length > 1);\r\n\r\n this.isSplitDecision = this.form.get('commentAmendments').value.length > 1;\r\n\r\n if (!this.isSplitDecision) {\r\n if (!this.mustSplitDecision) {\r\n const commentAmendments = (this.form.controls['commentAmendments'] as UntypedFormArray).controls[0];\r\n const amendmentDecision = (commentAmendments as UntypedFormGroup).controls['amendmentDecisionId'];\r\n\r\n if (this.decisionSubscription) { this.decisionSubscription.unsubscribe(); }\r\n\r\n this.decisionSubscription = amendmentDecision.valueChanges.subscribe((value) => {\r\n if (value === AmendmentDecision.Split) {\r\n this.splitDecision(markastouched);\r\n }\r\n });\r\n } else {\r\n this.splitDecision(markastouched);\r\n }\r\n }\r\n }\r\n\r\n private splitDecision(markastouched = true) {\r\n const arr = this.form.controls['commentAmendments'];\r\n\r\n for (let i = 0; i < this.group.amendments.length; i++) {\r\n this.addEmptyDecision(arr, this.group.amendments[i], markastouched);\r\n }\r\n\r\n arr.removeAt(0);\r\n\r\n this.isSplitDecision = true;\r\n }\r\n\r\n private saveFormChanges() {\r\n this.readonly = true;\r\n this.contribution = this.form.value;\r\n\r\n setTimeout(() => {\r\n this.validate(this.form);\r\n this.propagateChange(this.form.value);\r\n this.form.markAsPristine();\r\n });\r\n }\r\n\r\n private deleteSplitDecisions() {\r\n const arr = this.form.controls['commentAmendments'];\r\n\r\n this.addEmptyDecision(arr, null);\r\n\r\n while (arr.length > 1) {\r\n arr.removeAt(0)\r\n }\r\n\r\n this.newDecision = true;\r\n\r\n this.checkSplitDecision();\r\n }\r\n\r\n private getAmendmentReference(billAmendment: any) {\r\n let result = null;\r\n\r\n if (billAmendment) {\r\n const amendment = this.group.amendments.find(x => x.amendmentId === billAmendment.amendmentId);\r\n if (amendment) {\r\n result = amendment.numberListReference || amendment.whiteListReference;\r\n }\r\n }\r\n\r\n return result;\r\n }\r\n\r\n private setValidators() {\r\n const arr = this.form.controls['commentAmendments'];\r\n\r\n if (this.amendmentView === AmendmentView.FirstReview) {\r\n arr.controls.forEach(x => {\r\n const control = x.get('amendmentDecisionId');\r\n control.setValidators(Validators.required);\r\n control.updateValueAndValidity();\r\n });\r\n } else if (this.amendmentView === AmendmentView.SecondReview) {\r\n const otherContributions = this.group.contributions.filter(\r\n x => x.adRoleMemberId !== this.config.getValue('UserRoleMemberId'));\r\n\r\n this.isConflict = this.groupIsConflict(otherContributions);\r\n\r\n if (this.isConflict) {\r\n arr.controls.forEach(x => {\r\n const control = x.get('amendmentDecisionId');\r\n control.setValidators(Validators.required);\r\n control.updateValueAndValidity();\r\n });\r\n }\r\n }\r\n setTimeout(() => {\r\n this.form.updateValueAndValidity();\r\n });\r\n }\r\n\r\n public add() {\r\n const arr = this.form.controls['commentAmendments'];\r\n\r\n if (this.form.valid && arr.controls.every(x => x.get('amendmentDecisionId').value > 0)) {\r\n this.form.markAsUntouched();\r\n this.makeValidationChange(true);\r\n this.saveFormChanges();\r\n this.onUpdate.emit(this.form.value);\r\n this.newDecision = false;\r\n this.supportInfoComponents.forEach((child) => {\r\n child.makeValidationChange(true);\r\n });\r\n setTimeout(() => {\r\n this.submissionComponent.onSubmit(true, true);\r\n });\r\n } else {\r\n arr.controls.forEach(x => x.get('amendmentDecisionId').markAsTouched());\r\n }\r\n\r\n }\r\n\r\n public cancel() {\r\n if (this.isSplitDecision) {\r\n if (this.contribution.commentAmendments.length === 1 && !this.mustSplitDecision) {\r\n this.deleteSplitDecisions();\r\n }\r\n } else if (this.contribution.commentAmendments.length > 1) {\r\n this.splitDecision();\r\n }\r\n\r\n this.form.reset(this.contribution);\r\n this.readonly = true;\r\n this.form.markAsUntouched();\r\n\r\n setTimeout(() => {\r\n this.setValidators();\r\n this.validate(this.form);\r\n this.propagateChange(this.form.value);\r\n this.makeValidationChange(true);\r\n this.supportInfoComponents.forEach((child) => {\r\n child.makeValidationChange(true);\r\n });\r\n });\r\n }\r\n\r\n public delete() {\r\n this.onDelete.emit(this.contribution.commentAmendments[0].contributionId);\r\n\r\n this.deleteSplitDecisions();\r\n this.saveFormChanges();\r\n this.form.markAsUntouched();\r\n this.makeValidationChange(true);\r\n }\r\n\r\n public onUnsplitChange($event) {\r\n this.deleteSplitDecisions();\r\n\r\n const arr = this.form.controls['commentAmendments'];\r\n const commentAmendment = arr.at(0) as UntypedFormGroup;\r\n\r\n commentAmendment.controls.amendmentDecisionId.setValue($event);\r\n }\r\n\r\n public groupIsConflict(groupContributions: any) {\r\n return groupContributions.some(x => x.commentAmendments.some(y => y.decision.amendmentDecisionId === AmendmentDecision.InOrder)) &&\r\n groupContributions.some(x => x.commentAmendments.some(y => y.decision.amendmentDecisionId === AmendmentDecision.OutOfOrder));\r\n }\r\n\r\n public makeValidationChange(clean = false) {\r\n const mValidation = new ValidModel();\r\n mValidation.id = this.formID;\r\n mValidation.clean = clean;\r\n this.validationService.markForm(mValidation);\r\n }\r\n}\r\n","import { Component, OnInit, forwardRef, Input, OnDestroy } from '@angular/core';\r\nimport {\r\n NG_VALUE_ACCESSOR,\r\n UntypedFormBuilder,\r\n UntypedFormGroup,\r\n UntypedFormArray,\r\n UntypedFormControl,\r\n AbstractControl,\r\n Validators,\r\n NG_ASYNC_VALIDATORS\r\n} from '@angular/forms';\r\nimport { ListType } from '../amendment.model';\r\nimport { Subscription, BehaviorSubject, Observable, of } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'oir-amendment-final-decision',\r\n templateUrl: './amendment-final-decision.component.html',\r\n styleUrls: ['./amendment-final-decision.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AmendmentFinalDecisionComponent),\r\n multi: true\r\n },\r\n {\r\n provide: NG_ASYNC_VALIDATORS,\r\n useExisting: forwardRef(() => AmendmentFinalDecisionComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class AmendmentFinalDecisionComponent implements OnInit, OnDestroy {\r\n\r\n @Input() group: any;\r\n @Input() showValidations$ = new BehaviorSubject(false);\r\n\r\n public amendments: any;\r\n public form: UntypedFormGroup;\r\n public readonly = true;\r\n\r\n private formSubscription: Subscription;\r\n private validationSubscription: Subscription;\r\n\r\n get formData() { return this.form.get('billAmendments'); }\r\n\r\n constructor(private fb: UntypedFormBuilder) { }\r\n\r\n propagateChange = (_: any) => { };\r\n propagateTouch = (_: any) => { };\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n amendmentGroupId: 0,\r\n billAmendments: this.fb.array([]),\r\n supportingInformation: []\r\n });\r\n\r\n this.formSubscription = this.form.valueChanges.subscribe(() => {\r\n this.propagateChange(this.form.value)\r\n });\r\n\r\n this.validationSubscription = this.form.statusChanges.subscribe((value) => {\r\n this.validate(this.form);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.formSubscription) {\r\n this.formSubscription.unsubscribe();\r\n }\r\n\r\n if (this.validationSubscription) {\r\n this.validationSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n writeValue(obj: any): void {\r\n this.amendments = obj.billAmendments;\r\n\r\n this.form.setValue({\r\n amendmentGroupId: obj.amendmentGroupId,\r\n billAmendments: [],\r\n supportingInformation: obj.supportingInformation ? obj.supportingInformation : []\r\n });\r\n\r\n this.setBillAmendments(obj.billAmendments)\r\n }\r\n\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n validate(c: AbstractControl): Promise<{ [key: string]: any; }> | Observable<{ [key: string]: any; }> {\r\n return of(this.form.valid ? null : { invalid: true });\r\n }\r\n\r\n private setBillAmendments(billAmendments) {\r\n const arr = this.form.controls['billAmendments'];\r\n\r\n for (let i = 0; i < billAmendments.length; i++) {\r\n const amendment = billAmendments[i];\r\n\r\n arr.push(this.fb.group({\r\n amendmentId: amendment.amendmentId,\r\n listType: new UntypedFormControl(amendment.listType),\r\n numberListReference: [\r\n { value: amendment.numberListReference, disabled: amendment.listType === 2 },\r\n ],\r\n whiteListNumber: [\r\n { value: `${amendment.whiteListNumber}`, disabled: amendment.listType === 1 }\r\n ],\r\n whiteListReference: [\r\n { value: amendment.whiteListReference, disabled: amendment.listType === 1 }\r\n ]\r\n }));\r\n\r\n this.updateListType(i);\r\n }\r\n }\r\n\r\n public updateListType(index) {\r\n const arr = this.form.controls['billAmendments'];\r\n const control = arr.controls[index];\r\n\r\n const numberListReference = control.get('numberListReference');\r\n const whiteListNumber = control.get('whiteListNumber');\r\n const whiteListReference = control.get('whiteListReference');\r\n\r\n if (control.value.listType === ListType.Numbered) {\r\n numberListReference.enable();\r\n numberListReference.setValidators(Validators.required);\r\n numberListReference.setValidators([Validators.required, Validators.pattern('([A-Za-z]?)+[0-9]+([A-Za-z]?)+')]);\r\n\r\n whiteListNumber.disable();\r\n whiteListNumber.clearValidators();\r\n\r\n whiteListReference.disable();\r\n whiteListReference.clearValidators();\r\n } else {\r\n numberListReference.disable();\r\n numberListReference.clearValidators();\r\n\r\n whiteListNumber.enable();\r\n whiteListNumber.setValidators(Validators.required);\r\n\r\n whiteListReference.enable();\r\n whiteListNumber.setValidators([Validators.required, Validators.pattern('[0-9]+')]);\r\n whiteListReference.setValidators([Validators.required, Validators.pattern('[0-9]+')]);\r\n }\r\n\r\n numberListReference.updateValueAndValidity();\r\n whiteListNumber.updateValueAndValidity();\r\n whiteListReference.updateValueAndValidity();\r\n }\r\n}\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { ValidationService } from '../../../shared/validation.service';\r\n\r\n@Component({\r\n selector: 'oir-amendment-group',\r\n templateUrl: './amendment-group.component.html',\r\n styleUrls: ['./amendment-group.component.less']\r\n})\r\nexport class AmendmentGroupComponent implements OnInit {\r\n @Input() group: any;\r\n @Input() isFinalDecision: boolean;\r\n @Input() isCreator: boolean;\r\n @Input() decisions: any = [];\r\n @Input() preventEdit: boolean;\r\n @Output() onCollapse = new EventEmitter();\r\n @Output() onCreate = new EventEmitter();\r\n @Output() onEdit = new EventEmitter();\r\n @Output() onDelete = new EventEmitter();\r\n @Output() onEditClick = new EventEmitter();\r\n @Output() onCancel = new EventEmitter();\r\n updateGroup: any = false;\r\n\r\n constructor(private validationService: ValidationService) {\r\n }\r\n\r\n ngOnInit() {\r\n this.validationService.addAmendment();\r\n for (let i = 0; i < this.group.contributions.length; i++) {\r\n const contribution = this.group.contributions[i];\r\n\r\n for (let j = 0; j < contribution.commentAmendments.length; j++) {\r\n const commentAmendment = contribution.commentAmendments[j];\r\n commentAmendment.amendmentReference = this.getAmendmentReference(commentAmendment.amendmentId);\r\n }\r\n }\r\n }\r\n\r\n collapse() {\r\n this.group.collapsed = !this.group.collapsed;\r\n this.onCollapse.emit(this.group.collapsed);\r\n }\r\n\r\n private getAmendmentReference(amendmentId: any) {\r\n let result = null;\r\n\r\n if (amendmentId) {\r\n const amendment = this.group.amendments.find(x => x.amendmentId === amendmentId);\r\n if (amendment) { result = amendment.numberListReference || amendment.whiteListReference; }\r\n }\r\n\r\n return result;\r\n }\r\n\r\n public delete(): void {\r\n this.onDelete.emit(this.group.contributions[0].contributionId);\r\n this.validationService.deleteAmendment();\r\n }\r\n\r\n public edit(): void {\r\n this.updateGroup = true;\r\n this.onEditClick.emit();\r\n }\r\n\r\n public createContribution(value: any) {\r\n this.onCreate.emit(value);\r\n }\r\n\r\n public updateContribution(value: any) {\r\n this.onEdit.emit(value);\r\n }\r\n\r\n public groupCancel() {\r\n this.updateGroup = false;\r\n this.onCancel.emit();\r\n }\r\n}\r\n","import { Component, OnInit, forwardRef, Input, Output, EventEmitter, OnDestroy } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, NG_VALUE_ACCESSOR, Validators, AbstractControl, NG_ASYNC_VALIDATORS } from '@angular/forms';\r\nimport { ListType } from '../amendment.model';\r\nimport { Subscription , BehaviorSubject , Observable, of } from 'rxjs';\r\nimport { BillAmendment, Member } from '../amendment.model';\r\n\r\n@Component({\r\n selector: 'oir-amendment-reference',\r\n templateUrl: './amendment-reference.component.html',\r\n styleUrls: ['./amendment-reference.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AmendmentReferenceComponent),\r\n multi: true\r\n },\r\n {\r\n provide: NG_ASYNC_VALIDATORS,\r\n useExisting: forwardRef(() => AmendmentReferenceComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\n\r\nexport class AmendmentReferenceComponent implements OnInit, OnDestroy {\r\n @Input() siblingsCount: number;\r\n @Input() billAmendment: BillAmendment;\r\n @Input() showValidations$ = new BehaviorSubject(false);\r\n @Input() index: number;\r\n\r\n @Output() onRemove = new EventEmitter();\r\n\r\n private formSubscription: Subscription;\r\n private validationSubscription: Subscription;\r\n\r\n public form: UntypedFormGroup;\r\n public apiUrlMember: string;\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder\r\n ) { }\r\n\r\n propagateChange = (_: any) => { };\r\n propagateTouch = (_: any) => { };\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n listType: [{ value: 1, disabled: false }, Validators.required],\r\n numberListReference: [{ value: '', disabled: false }],\r\n whiteListNumber: [{ value: '', disabled: true }],\r\n whiteListReference: [{ value: '', disabled: true }],\r\n chamberMembers: [{ value: Array(), disabled: false }, Validators.required],\r\n });\r\n if (this.billAmendment != null && typeof this.billAmendment[this.index] !== 'undefined') {\r\n\r\n this.form.patchValue(\r\n {\r\n listType: this.billAmendment[this.index].listType,\r\n numberListReference: this.billAmendment[this.index].numberListReference\r\n });\r\n\r\n this.form.patchValue(\r\n {\r\n listType: this.billAmendment[this.index].listType,\r\n whiteListNumber: this.billAmendment[this.index].whiteListNumber,\r\n whiteListReference: this.billAmendment[this.index].whiteListReference\r\n });\r\n\r\n const chamberobject = Array();\r\n if (this.billAmendment[this.index].hasOwnProperty('chamberMembers')) {\r\n this.billAmendment[this.index].chamberMembers.forEach(element => {\r\n chamberobject.push(\r\n {\r\n value: Number(element.value),\r\n title: String(element.title),\r\n typeId: Number(element.typeId),\r\n amendmentSubmitterId: Number(element.amendmentSubmitterId)});\r\n })\r\n }\r\n this.form.patchValue({chamberMembers: chamberobject});\r\n }\r\n\r\n this.formSubscription = this.form.valueChanges.subscribe(() => {\r\n this.propagateChange(this.form.value);\r\n });\r\n\r\n this.validationSubscription = this.showValidations$.subscribe((value) => {\r\n this.markAllAsTouched(value);\r\n });\r\n\r\n this.apiUrlMember = `/api/Member`;\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.formSubscription) {\r\n this.formSubscription.unsubscribe();\r\n }\r\n\r\n if (this.validationSubscription) {\r\n this.validationSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n writeValue(_obj: any) {\r\n this.updateListType();\r\n }\r\n\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n validate(c: AbstractControl): Promise<{ [key: string]: any; }> | Observable<{ [key: string]: any; }> {\r\n return of(this.form.valid ? null : { invalid: true });\r\n }\r\n\r\n private markAllAsTouched(value: boolean) {\r\n if (value) {\r\n this.form.get('numberListReference').markAsTouched();\r\n this.form.get('whiteListNumber').markAsTouched();\r\n this.form.get('whiteListReference').markAsTouched();\r\n this.form.get('chamberMembers').markAsTouched();\r\n } else {\r\n this.form.get('numberListReference').markAsUntouched();\r\n this.form.get('whiteListNumber').markAsUntouched();\r\n this.form.get('whiteListReference').markAsUntouched();\r\n this.form.get('chamberMembers').markAsUntouched();\r\n }\r\n }\r\n\r\n public updateListType() {\r\n const numberListReference = this.form.get('numberListReference');\r\n const whiteListNumber = this.form.get('whiteListNumber');\r\n const whiteListReference = this.form.get('whiteListReference');\r\n\r\n if (this.form.value.listType === ListType.Numbered) {\r\n numberListReference.enable();\r\n numberListReference.setValidators([Validators.required, Validators.pattern('([A-Za-z]?)+[0-9]+([A-Za-z]?)+')]);\r\n\r\n whiteListNumber.disable();\r\n whiteListNumber.clearValidators();\r\n\r\n whiteListReference.disable();\r\n whiteListReference.clearValidators();\r\n } else {\r\n numberListReference.disable();\r\n numberListReference.clearValidators();\r\n\r\n whiteListNumber.enable();\r\n whiteListNumber.setValidators([Validators.required, Validators.pattern('[0-9]+')]);\r\n\r\n whiteListReference.enable();\r\n whiteListReference.setValidators([Validators.required, Validators.pattern('[0-9]+')]);\r\n }\r\n\r\n numberListReference.updateValueAndValidity();\r\n whiteListNumber.updateValueAndValidity();\r\n whiteListReference.updateValueAndValidity();\r\n }\r\n\r\n public remove() {\r\n this.onRemove.emit();\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { AmendmentService } from '../amendment.service';\r\n\r\n@Component({\r\n selector: 'oir-amendment-summary',\r\n templateUrl: './amendment-summary.component.html',\r\n styleUrls: ['./amendment-summary.component.less']\r\n})\r\nexport class AmendmentSummaryComponent implements OnInit, OnDestroy {\r\n public amendmentSummary: any;\r\n public render = false;\r\n\r\n private subscription;\r\n\r\n constructor(private amendmentService: AmendmentService) { }\r\n\r\n ngOnInit() {\r\n this.subscription = this.amendmentService.amendmentSummary$.subscribe(response => {\r\n if (response) {\r\n this.amendmentSummary = response.amendmentSummary;\r\n\r\n this.render = this.amendmentSummary && (\r\n this.amendmentSummary.conflicts ||\r\n this.amendmentSummary.inOrder ||\r\n this.amendmentSummary.outOfOrder\r\n );\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, AfterViewInit, forwardRef, Input, OnDestroy } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, NG_VALUE_ACCESSOR, NG_ASYNC_VALIDATORS } from '@angular/forms';\r\nimport { AmendmentView, AmendmentDecision, ReferenceNumberType, AmendmentSectionTitles, AmendmentGroupWithIndex } from './amendment.model';\r\nimport { AmendmentService } from './amendment.service';\r\nimport { OirAuthService } from 'proceduralsystem-clientcomponents';\r\nimport { Observable, of, Subscription } from 'rxjs';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { SubmissionService } from '../submission.service';\r\nimport { SubmissionComponent } from '../submission.component';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-amendment',\r\n templateUrl: './amendment.component.html',\r\n styleUrls: ['./amendment.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AmendmentComponent),\r\n multi: true\r\n },\r\n {\r\n provide: NG_ASYNC_VALIDATORS,\r\n useExisting: forwardRef(() => AmendmentComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class AmendmentComponent implements OnInit, AfterViewInit, OnDestroy {\r\n @Input() amendment: any;\r\n @Input() readOnly: boolean;\r\n\r\n private init = false;\r\n private valueSubscription: Subscription;\r\n private statusSubscription: Subscription;\r\n private amendmentServiceSubscription: Subscription;\r\n private section: string;\r\n\r\n public form: UntypedFormGroup;\r\n public isReviewer = false;\r\n public isCreator = false;\r\n public isFinalDecision = false;\r\n public preventEdit = false;\r\n\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private config: AppConfigService,\r\n private amendmentService: AmendmentService,\r\n private submissionService: SubmissionService,\r\n readonly submissionComponent: SubmissionComponent,\r\n private route: ActivatedRoute,\r\n private authService: OirAuthService) { }\r\n\r\n propagateChange = (_: any) => { };\r\n propagateTouch = (_: any) => { };\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n amendmentGroups: this.fb.array([]),\r\n amendmentView: AmendmentView,\r\n updatedBy: this.authService.getUsername(),\r\n adRoleMemberId: this.config.getValue('UserRoleMemberId')\r\n });\r\n\r\n this.valueSubscription = this.form.valueChanges.subscribe(() => {\r\n this.propagateChange(this.form.value)\r\n });\r\n\r\n this.statusSubscription = this.form.statusChanges.subscribe(() => {\r\n this.validate();\r\n });\r\n\r\n this.route.queryParams.subscribe(params => {\r\n if (typeof(params['section']) !== 'undefined') {\r\n this.section = params['section'];\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.section) {\r\n const countEditors = Object.keys(CKEDITOR.instances).length;\r\n const readyEditors = [];\r\n if (countEditors === 0) {\r\n setTimeout(() => {\r\n this.submissionService.scrollToSection(this.section);\r\n });\r\n } else {\r\n for (let i in CKEDITOR.instances) {\r\n CKEDITOR.instances[i].on('instanceReady', () => {\r\n readyEditors.push(i);\r\n if(readyEditors.length === countEditors) {\r\n this.submissionService.scrollToSection(this.section);\r\n }\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.valueSubscription) {\r\n this.valueSubscription.unsubscribe();\r\n }\r\n\r\n if (this.statusSubscription) {\r\n this.statusSubscription.unsubscribe();\r\n }\r\n\r\n if (this.amendmentServiceSubscription) {\r\n this.amendmentServiceSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n writeValue(obj: any) {\r\n const arr = this.form.controls['amendmentGroups'];\r\n const sortedArray = this.sortArray(obj.amendmentGroups);\r\n\r\n for (let i = 0; i < sortedArray.length; i++) {\r\n const group = sortedArray[i];\r\n\r\n arr.push(this.fb.control({\r\n amendmentGroupId: group.amendmentGroupId,\r\n commentAmendments: group.commentAmendments,\r\n billAmendments: group.billAmendments,\r\n supportingInformation: group.supportingInformation\r\n }));\r\n }\r\n\r\n if (arr.length > sortedArray.length) {\r\n while (arr.length > sortedArray.length) { arr.removeAt(0) }\r\n }\r\n\r\n this.getWorkflowStatus(obj.amendmentView);\r\n\r\n setTimeout(() => this.form.updateValueAndValidity());\r\n }\r\n\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n validate(): Promise<{ [key: string]: any; }> | Observable<{ [key: string]: any; }> {\r\n return of(this.form.valid ? null : { invalid: true });\r\n }\r\n\r\n get sortedArray() {\r\n return this.sortArray(this.amendment.amendmentGroups);\r\n }\r\n\r\n public sortArray(amendmentGroup) {\r\n return amendmentGroup.sort(\r\n (n1, n2) => {\r\n if (n1.decisionId > n2.decisionId) {\r\n return 1;\r\n }\r\n\r\n if (n1.decisionId < n2.decisionId) {\r\n return -1;\r\n }\r\n\r\n });\r\n }\r\n\r\n public updateCreateContribution(value: any) {\r\n this.createGroup(value);\r\n const arr = this.form.controls['amendmentGroups'];\r\n arr.push(this.fb.control({\r\n amendmentGroupId: 0,\r\n commentAmendments: [{\r\n commentAmendmentId: 0,\r\n contributionId: 0,\r\n amendmentDecisionId: value.amendmentDecisionId,\r\n supportingInformation: value.supportingInformation,\r\n comment: value.comment\r\n }],\r\n billAmendments: this.getBillAmendments(value.billAmendments)\r\n }));\r\n this.submissionComponent.onSubmit(true, true);\r\n }\r\n\r\n public isSameDecision(previousGroup: any, currentGroup: any) {\r\n let result = false;\r\n\r\n if (previousGroup) {\r\n result = previousGroup.decisionId === currentGroup.decisionId;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n public collapseGroups(decisionId: number) {\r\n const groups = this.amendment.amendmentGroups.filter(x => x.decisionId === decisionId);\r\n\r\n for (let i = 0; i < groups.length; i++) {\r\n groups[i].sectionCollapsed = !groups[i].sectionCollapsed;\r\n }\r\n }\r\n\r\n private getWorkflowStatus(status: AmendmentView) {\r\n switch (status) {\r\n case AmendmentView.Create:\r\n this.isCreator = true;\r\n this.isReviewer = false;\r\n this.isFinalDecision = false;\r\n break;\r\n\r\n case AmendmentView.FirstReview:\r\n case AmendmentView.SecondReview:\r\n case AmendmentView.AdditionalReview:\r\n this.isReviewer = true;\r\n this.isCreator = false;\r\n this.isFinalDecision = false;\r\n break;\r\n\r\n case AmendmentView.FinalDecision:\r\n this.isFinalDecision = true;\r\n this.isReviewer = false;\r\n this.isCreator = false;\r\n break;\r\n }\r\n\r\n this.form.get('amendmentView').setValue(status);\r\n }\r\n\r\n private getBillAmendments(value: any) {\r\n const billAmendments = value?.map(v => {\r\n return {\r\n listType: v.listType,\r\n numberListReference: v.numberListReference,\r\n whiteListNumber: v.whiteListNumber,\r\n whiteListReference: v.whiteListReference,\r\n chamberMembers: v.chamberMembers\r\n }\r\n });\r\n\r\n return billAmendments;\r\n }\r\n\r\n private createGroup(value: any) {\r\n const index = this.amendment.amendmentGroups.push({\r\n amendmentGroupId: 0,\r\n groupTitle: '',\r\n contributions: [],\r\n groupIndex: this.amendment.amendmentGroups.length,\r\n amendments: value.billAmendments,\r\n supportingInformation: value.supportingInformation\r\n });\r\n\r\n const commentAmendments = {\r\n commentAmendments: [{\r\n billAmendment: {\r\n amendmentId: -1,\r\n },\r\n amendmentGroupId: 0,\r\n comment: value.comment,\r\n commentAmendmentId: 0,\r\n contributionId: 0,\r\n supportingInformation: value.supportingInformation,\r\n amendmentDecisionId: value.amendmentDecisionId\r\n }]\r\n };\r\n\r\n this.updateContribution(commentAmendments, index - 1);\r\n\r\n const group = this.amendment.amendmentGroups[this.amendment.amendmentGroups.length - 1];\r\n this.updateAmendmentGroupTitle(group);\r\n }\r\n\r\n\r\n\r\n // Only called for Creator for editing groups.\r\n public editContribution(value: AmendmentGroupWithIndex, orderIndex: number) {\r\n this.form.markAsDirty();\r\n const tempVal = value.amendmentGroup;\r\n let groupIndex = value.groupIndex;\r\n\r\n if ( tempVal.amendmentGroupId !== 0) {\r\n groupIndex = this.form.value.amendmentGroups.findIndex(x => x.amendmentGroupId === tempVal.amendmentGroupId)\r\n }\r\n // Amendment return from server contains billAmendment.\r\n // API is exprcting billAmendments when creator.\r\n // Rename property.\r\n if (tempVal.hasOwnProperty('commentAmendments')) {\r\n for (let b = 0; b < tempVal.commentAmendments.length ; b++) {\r\n Object.defineProperty(tempVal.commentAmendments[b], 'billAmendments',\r\n Object.getOwnPropertyDescriptor(tempVal.commentAmendments[b], 'billAmendment'));\r\n delete tempVal.commentAmendments[b].billAmendment;\r\n }\r\n }\r\n\r\n const submitters = [];\r\n // Remove amendment submitters, it is not needed for creator.\r\n for (let i = 0; i < tempVal.billAmendments.length; i++) {\r\n if (tempVal.billAmendments[i].hasOwnProperty('amendmentSubmitters') && !tempVal.billAmendments[i].hasOwnProperty('chamberMembers')) {\r\n submitters.push({\r\n billIndex: i,\r\n submitters: tempVal.billAmendments[i].amendmentSubmitters\r\n });\r\n delete tempVal.billAmendments[i].amendmentSubmitters;\r\n }\r\n }\r\n // Set value of form that is being return to server\r\n Object.assign(this.form.controls['amendmentGroups'].value[groupIndex], tempVal);\r\n this.updateContribution(tempVal, orderIndex, true , submitters);\r\n this.propagateChange(this.form.value);\r\n this.submissionComponent.onSubmit(true, true);\r\n this.preventEdit = false;\r\n}\r\n\r\n public updateContribution(value: any, groupIndex: number, edit = false , submitters = []) {\r\n if (typeof value.amendmentGroupId !== 'undefined' && value.amendmentGroupId > 0) {\r\n groupIndex = this.amendment.amendmentGroups.findIndex(x => x.amendmentGroupId === value.amendmentGroupId)\r\n }\r\n\r\n const amendmentGroup = this.amendment.amendmentGroups[groupIndex];\r\n\r\n if (amendmentGroup) {\r\n const contributionId = value.commentAmendments[0].contributionId;\r\n const contribution = amendmentGroup.contributions.find(x => x.contributionId === contributionId) ||\r\n {\r\n adGroupMemberIdSentTo: null,\r\n adRoleMemberId: this.config.getValue('UserRoleMemberId'),\r\n contributionId: 0,\r\n createdByUser: `${this.config.getValue('FullName')} (${this.config.getValue('UserGrade')}` + ')',\r\n sendToDate: null\r\n };\r\n if ( edit ) {\r\n contribution.commentAmendments = value.commentAmendments;\r\n amendmentGroup.amendments = value.billAmendments;\r\n amendmentGroup.supportingInformation = value.supportingInformation;\r\n this.updateAmendmentGroupTitle(amendmentGroup, edit, submitters);\r\n } else {\r\n contribution.commentAmendments = this.updateCommentAmendments(amendmentGroup.amendmentGroupId, value.commentAmendments);\r\n }\r\n const contributionIndex = amendmentGroup.contributions.indexOf(contribution) >= 0 ?\r\n amendmentGroup.contributions.indexOf(contribution) :\r\n amendmentGroup.contributions.length;\r\n\r\n amendmentGroup.contributions.splice(contributionIndex, 1, contribution);\r\n this.updateGroupDecision(amendmentGroup);\r\n\r\n const data = this.getAmendmentNumbers(this.amendment.amendmentGroups, true);\r\n this.amendmentService.refreshAmendmentSummary(data);\r\n }\r\n }\r\n\r\n private updateCommentAmendments(amendmentGroupId: number, commentAmendments: Array) {\r\n let listReference = '';\r\n const result = [];\r\n const amendments = this.amendment.amendmentGroups.find(x => x.amendmentGroupId === amendmentGroupId).amendments || [];\r\n\r\n for (let i = 0; i < commentAmendments.length; i++) {\r\n if ( typeof amendments[i] !== 'undefined' ) {\r\n if ( typeof amendments[i].numberListReference !== 'undefined' && amendments[i].numberListReference != null) {\r\n listReference = amendments[i].numberListReference;\r\n } else if ( typeof amendments[i].whiteListReference !== 'undefined' && amendments[i].whiteListReference != null) {\r\n listReference = amendments[i].whiteListReference;\r\n }\r\n }\r\n const billAmendID = typeof commentAmendments[i].commentAmendmentId !== 'undefined' &&\r\n commentAmendments[i].commentAmendmentId !== null ? commentAmendments[i].commentAmendmentId : 0;\r\n const commentAmendment = {\r\n amendmentGroupId: amendmentGroupId,\r\n amendmentId: typeof commentAmendments[i].billAmendment !== 'undefined' ?\r\n commentAmendments[i].billAmendment.amendmentId : commentAmendments[i].billAmendments.amendmentId,\r\n amendmentReference: listReference,\r\n comment: commentAmendments[i].comment,\r\n commentAmendmentId: billAmendID,\r\n supportingInformation: commentAmendments[i].supportingInformation,\r\n contributionId: commentAmendments[i].contributionId,\r\n decision: {\r\n amendmentDecisionId: commentAmendments[i].amendmentDecisionId,\r\n descr: this.getDecisionTitle(commentAmendments[i].amendmentDecisionId)\r\n }\r\n };\r\n let amendment;\r\n amendment = amendments.find(x => x.amendmentId === billAmendID);\r\n\r\n if (amendment) {\r\n amendment.amendmentReference = amendment.numberListReference || amendment.whiteListReference;\r\n commentAmendment.amendmentReference = amendment.amendmentReference;\r\n }\r\n result.push(commentAmendment);\r\n }\r\n\r\n return result;\r\n }\r\n\r\n public deleteEditContribution(_contributionId: number, groupIndex?: number) {\r\n // Get removed item.\r\n const removedItem = this.amendment.amendmentGroups.splice(groupIndex, 1);\r\n this.amendment.amendmentContribution.amendmentGroups.splice(groupIndex, 1);\r\n\r\n const data = this.getAmendmentNumbers(this.amendment.amendmentGroups);\r\n this.amendmentService.refreshAmendmentSummary(data);\r\n\r\n const thisFormArray = this.form.get('amendmentGroups') as UntypedFormArray;\r\n // Find removed Item and remove it from main form.\r\n const indexOfItemInForm = thisFormArray.value.findIndex(x => x.amendmentGroupId === removedItem[0].amendmentGroupId)\r\n thisFormArray.removeAt(indexOfItemInForm);\r\n }\r\n\r\n public deleteContribution(contributionId: number, groupIndex: number) {\r\n const amendmentGroup = this.amendment.amendmentGroups[groupIndex];\r\n\r\n if (amendmentGroup) {\r\n const index = amendmentGroup.contributions?.map(x => x.contributionId)\r\n .indexOf(contributionId);\r\n\r\n if (index >= 0) {\r\n amendmentGroup.contributions.splice(index, 1);\r\n\r\n this.updateGroupDecision(amendmentGroup);\r\n\r\n const data = this.getAmendmentNumbers(this.amendment.amendmentGroups);\r\n this.amendmentService.refreshAmendmentSummary(data);\r\n }\r\n }\r\n }\r\n\r\n private getDecisionTitle(amendmentDecisionId, asConflicts: boolean = false) {\r\n let result = '';\r\n const decision = AmendmentSectionTitles.find(x => x.value === amendmentDecisionId);\r\n\r\n if (decision) {\r\n result = decision.value === AmendmentDecision.Conflict && asConflicts ? AmendmentSectionTitles[0].title : decision.title;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n private updateGroupDecision(amendmentGroup: any) {\r\n const contributionDecision = this.getContributionDecision(amendmentGroup);\r\n\r\n if (amendmentGroup.decisionId !== contributionDecision) {\r\n amendmentGroup.decisionId = contributionDecision;\r\n amendmentGroup.decisionTitle = this.getDecisionTitle(contributionDecision, true);\r\n\r\n this.expandGroupSection(contributionDecision);\r\n }\r\n }\r\n\r\n private getContributionDecision(amendmentGroup: any) {\r\n let result = AmendmentDecision.Conflict;\r\n\r\n const contributionDecisions = [];\r\n\r\n for (let i = 0; i < amendmentGroup.contributions.length; i++) {\r\n contributionDecisions.push(this.getCommentAmendmentDecision(amendmentGroup.contributions[i].commentAmendments));\r\n }\r\n\r\n if (contributionDecisions.every(x => x === AmendmentDecision.InOrder)) {\r\n result = AmendmentDecision.InOrder;\r\n } else if (contributionDecisions.every(x => x === AmendmentDecision.OutOfOrder)) {\r\n result = AmendmentDecision.OutOfOrder;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n private getCommentAmendmentDecision(commentAmendments: Array) {\r\n let result = AmendmentDecision.Conflict;\r\n\r\n if (commentAmendments.every(x => x.decision.amendmentDecisionId === AmendmentDecision.InOrder)) {\r\n result = AmendmentDecision.InOrder;\r\n } else if (commentAmendments.every(x => x.decision.amendmentDecisionId === AmendmentDecision.OutOfOrder)) {\r\n result = AmendmentDecision.OutOfOrder;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n private expandGroupSection(decisionId: number) {\r\n const groups = this.amendment.amendmentGroups.filter(x => x.decisionId === decisionId);\r\n\r\n for (let i = 0; i < groups.length; i++) {\r\n groups[i].sectionCollapsed = false;\r\n }\r\n }\r\n\r\n private updateAmendmentGroupTitle(group: any, edit = false, submitters = [] ) {\r\n let data = this.getAmendmentNumbers([group]);\r\n const dataGroup = [];\r\n if (submitters.length > 0 && edit) {\r\n for (let y = 0; y < group.amendments.length; y++) {\r\n dataGroup.push({\r\n decisionId: group.decisionId,\r\n decisionTitle: group.decisionTitle,\r\n value: group.amendments[y].listType === ReferenceNumberType.NumberedList\r\n ? group.amendments[y].numberListReference : group.amendments[y].whiteListReference,\r\n referenceNumberType: group.amendments[y].listType,\r\n chamberMembers: submitters,\r\n whiteListNumber: group.amendments[y].listType === ReferenceNumberType.WhiteList\r\n ? group.amendments[y].whiteListNumber : null\r\n });\r\n }\r\n for (let y = 0; y < dataGroup.length; y++) {\r\n const cMemsArr = [];\r\n const s = submitters.find(x => x.billIndex === y);\r\n if ( typeof s !== 'undefined') {\r\n for (let z = 0; z < s.submitters.length; z++) {\r\n cMemsArr.push({\r\n title: s.submitters[z].chamberMember.firstName + ' ' +\r\n s.submitters[z].chamberMember.lastName,\r\n value: s.submitters[z].chamberMember.chamberMemberId\r\n });\r\n }\r\n group.amendments[y].chamberMembers = cMemsArr;\r\n if (group.amendments[y].hasOwnProperty('amendmentSubmitters')) {\r\n delete group.amendments[y].amendmentSubmitters;\r\n }\r\n dataGroup[y].chamberMembers = cMemsArr;\r\n } else {\r\n dataGroup[y].chamberMembers = group.amendments[y].chamberMembers;\r\n }\r\n }\r\n data = dataGroup;\r\n } else {\r\n for (let y = 0; y < group.amendments.length; y++) {\r\n delete group.amendments[y].amendmentSubmitters;\r\n }\r\n }\r\n this.amendmentServiceSubscription = this.amendmentService.getAmendmentGroupTitle(data).subscribe(response => {\r\n if (response) {\r\n group.groupTitle = response.groupTitle;\r\n }\r\n });\r\n }\r\n\r\n // Convert the Amendment objects into AmendmentNumber objects for easier parsing server side.\r\n private getAmendmentNumbers(amendmentGroups: any, create = false) {\r\n const data = [];\r\n\r\n for (let i = 0; i < amendmentGroups.length; i++) {\r\n const group = amendmentGroups[i];\r\n\r\n for (let j = 0; j < group.amendments.length; j++) {\r\n const amendment = group.amendments[j];\r\n\r\n const decision = this.getContributionDecision(group);\r\n const isNumberList = amendment.numberListReference != null && amendment.numberListReference !== '';\r\n\r\n data.push({\r\n decisionId: decision,\r\n decisionTitle: this.getDecisionTitle(decision),\r\n value: isNumberList ? amendment.numberListReference : amendment.whiteListReference,\r\n referenceNumberType: isNumberList ? ReferenceNumberType.NumberedList : ReferenceNumberType.WhiteList,\r\n chamberMembers: amendment.chamberMembers,\r\n whiteListNumber: !isNumberList ? amendment.whiteListNumber : null\r\n });\r\n }\r\n }\r\n\r\n return data;\r\n }\r\n\r\n onEditClick(_event, _i) {\r\n this.preventEdit = true;\r\n }\r\n\r\n onGroupCancel(_event, _i) {\r\n this.preventEdit = false;\r\n }\r\n}\r\n","import { SupportingInformation } from '../support-info/support-info.model';\r\n\r\nexport class AmendmentContributionSave {\r\n contributionId: number;\r\n amendmentGroups: Array;\r\n}\r\nexport class Contribution {\r\n contributionId: number;\r\n amendmentGroups: Array;\r\n comment: string;\r\n}\r\n\r\nexport class AmendmentGroup {\r\n amendmentGroupId: number;\r\n commentAmendments: Array;\r\n amendments: Array;\r\n}\r\n\r\nexport class CommentAmendment {\r\n amendment?: BillAmendment;\r\n comment: string;\r\n supportingInformation: SupportingInformation[];\r\n amendmentDecisionId: number;\r\n}\r\n\r\nexport class BillAmendment {\r\n amendmentReferenceId = 0;\r\n listType = 1;\r\n numberListReference: number = null;\r\n whiteListNumber: number = null;\r\n whiteListReference: number = null;\r\n chamberMembers: Member[];\r\n}\r\n\r\nexport enum ListType {\r\n Numbered = 1,\r\n White = 2\r\n}\r\n\r\nexport enum AmendmentView {\r\n Create,\r\n FirstReview,\r\n SecondReview,\r\n AdditionalReview,\r\n FinalDecision,\r\n Readonly,\r\n Migrated\r\n}\r\n\r\nexport enum AmendmentDecision {\r\n Conflict = 0,\r\n InOrder = 1,\r\n OutOfOrder = 2,\r\n Split = 3\r\n}\r\n\r\nexport enum ReferenceNumberType {\r\n NumberedList = 1,\r\n WhiteList = 2\r\n}\r\n\r\nexport const AmendmentSectionTitles = [\r\n { 'title': 'Conflicts', 'value': 0 },\r\n { 'title': 'In Order', 'value': 1 },\r\n { 'title': 'Out of Order', 'value': 2 }\r\n]\r\n\r\nexport class Member {\r\n public typeId: number;\r\n public title: string;\r\n public value: number;\r\n public amendmentSubmitterId: number;\r\n}\r\n\r\nexport class AmendmentGroupWithIndex {\r\n public amendmentGroup: any;\r\n public groupIndex: number;\r\n}\r\n","import { HttpClient } from \"@angular/common/http\";\r\nimport { Injectable, OnDestroy } from \"@angular/core\";\r\nimport { BehaviorSubject } from \"rxjs\";\r\nimport { AppConfigService } from \"../../services/app-config.service\";\r\n\r\n@Injectable()\r\nexport class AmendmentService implements OnDestroy {\r\n public amendmentSummary$ = new BehaviorSubject({});\r\n\r\n constructor(\r\n private config: AppConfigService,\r\n private http: HttpClient\r\n ) {}\r\n\r\n public refreshAmendmentSummary(data: any) {\r\n const url = `${this.config.getValue(\r\n \"ApiEndpoint\"\r\n ).url}/api/amendmentSummary`;\r\n\r\n return this.http\r\n .post(url, { amendmentNumbers: data })\r\n .subscribe((model) => {\r\n this.amendmentSummary$.next(model);\r\n });\r\n }\r\n\r\n public getAmendmentGroupTitle(data: any) {\r\n const url = `${this.config.getValue(\r\n \"ApiEndpoint\"\r\n ).url}/api/amendmentGroupTitle`;\r\n return this.http.post(url, { amendmentNumbers: data });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.amendmentSummary$.complete();\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Submission, Contribution, UserRoleRank, ContributionStatus } from '../submission.model';\r\nimport { SubmissionService } from '../submission.service';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-contribution-view-amd-fi',\r\n templateUrl: './contribution-view-amd-fi.component.html',\r\n styleUrls: ['./contribution-view-amd-fi.component.less']\r\n})\r\n\r\nexport class ContributionViewAmdFiComponent implements OnInit, OnDestroy {\r\n\r\n public Rank = UserRoleRank;\r\n public completedContributions: Contribution[];\r\n public submission: Submission;\r\n public collapsed = false;\r\n\r\n private readOnly;\r\n private subscription;\r\n public scrollTop = false;\r\n\r\n constructor(\r\n private submissionService: SubmissionService,\r\n private config: AppConfigService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n this.submission = model.submission;\r\n\r\n // Check if submission is unassigned.\r\n if (this.submission.assignedToUser === null) {\r\n this.readOnly = true;\r\n } else {\r\n // Else check if current user matches user submission assigned to.\r\n this.readOnly = this.submission.assignedToUser.adRoleMemberId !== +this.config.getValue('UserRoleMemberId');\r\n }\r\n\r\n this.completedContributions = model.submission.contributions.filter(x => x.contributionStatusId === ContributionStatus.Completed);\r\n\r\n // If readonly, push draft contribution on to the end off the contributions array to display.\r\n if (this.readOnly && this.submission.contributions.filter(x => x.contributionStatusId === 1).length > 0) {\r\n this.completedContributions.push(this.submission.contributions.filter(x => x.contributionStatusId === ContributionStatus.Draft)[0])\r\n }\r\n\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n toggle(): void {\r\n this.collapsed = !this.collapsed;\r\n }\r\n\r\n get firstContrib(): Contribution {\r\n return this.completedContributions && this.completedContributions.length > 0 ?\r\n this.completedContributions[this.completedContributions.length - 1] :\r\n new Contribution();\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Submission, Contribution, UserRoleRank } from '../submission.model';\r\nimport { SubmissionService } from '../submission.service';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\nimport { marked } from 'marked';\r\n\r\n@Component({\r\n selector: 'oir-submission-contribution-view',\r\n templateUrl: 'contribution-view.component.html',\r\n styleUrls: ['./contribution-view.component.less'],\r\n})\r\n\r\nexport class ContributionViewComponent implements OnInit, OnDestroy {\r\n public submission: Submission;\r\n public Rank = UserRoleRank;\r\n public completedContributions: Contribution[];\r\n private subscription;\r\n public readOnly;\r\n\r\n constructor(\r\n private submissionService: SubmissionService,\r\n private config: AppConfigService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n this.submission = model.submission;\r\n if (this.submission.assignedToUser === null) {\r\n this.readOnly = true;\r\n } else {\r\n this.readOnly = this.submission.assignedToUser.adRoleMemberId !== +this.config.getValue('UserRoleMemberId');\r\n }\r\n this.completedContributions = this.submission.contributions\r\n .filter(x => x.contributionStatusId === 2)\r\n .map(contrib => ({\r\n ...contrib,\r\n comment: marked(contrib.comment).toString()\r\n }));\r\n if (this.readOnly && this.submission.contributions.filter(x => x.contributionStatusId === 1).length > 0) {\r\n this.completedContributions.unshift(this.submission.contributions.filter(x => x.contributionStatusId === 1)[0])\r\n }\r\n if (this.submission.leaveToIntroduce && this.completedContributions.length > 0) {\r\n this.completedContributions[this.completedContributions.length - 1].leaveToIntroduce\r\n = this.submission.leaveToIntroduce;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n}\r\n\r\n","import { Component, OnInit, OnDestroy, forwardRef } from '@angular/core';\r\nimport { SelectValue } from 'proceduralsystem-clientcomponents';\r\nimport { Submission, SubmissionCategory, UserRoleRank, ActionType, Contribution } from '../submission.model';\r\nimport { SubmissionService } from '../submission.service';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators, ControlValueAccessor, NG_VALUE_ACCESSOR, NG_ASYNC_VALIDATORS, AsyncValidator, AbstractControl } from '@angular/forms';\r\nimport { Observable, of } from 'rxjs';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\nimport OirCkEditor, { OirCkEditorConfig } from 'proceduralsystem-ckeditor';\r\nimport { EditorConfig } from 'src/app/models/editor-config.model';\r\n\r\n@Component({\r\n selector: 'oir-submission-contribution',\r\n templateUrl: 'contribution.component.html',\r\n styleUrls: ['./contribution.component.less'],\r\n providers: [\r\n {\r\n provide: NG_ASYNC_VALIDATORS,\r\n useExisting: forwardRef(() => SubmissionContributionComponent),\r\n multi: true,\r\n },\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => SubmissionContributionComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\n\r\nexport class SubmissionContributionComponent implements OnInit, OnDestroy, ControlValueAccessor, AsyncValidator {\r\n\r\n public billDecisions: Array> = [];\r\n public category = SubmissionCategory;\r\n public editorValue;\r\n public form: UntypedFormGroup;\r\n public submission: Submission;\r\n public reviewers: Array = [];\r\n public Rank = UserRoleRank;\r\n public ActionType = ActionType;\r\n public submitted = false;\r\n public firstContribution = true;\r\n public showBillDecision = true;\r\n private subscription;\r\n Editor = OirCkEditor;\r\n ckEditorConfig: OirCkEditorConfig;\r\n\r\n propagateChange = (_: Contribution) => {};\r\n propagateTouch = (_: any) => {};\r\n\r\n constructor(\r\n private submissionService: SubmissionService,\r\n private formBuilder: UntypedFormBuilder,\r\n public config: AppConfigService,\r\n ) { \r\n this.ckEditorConfig = {\r\n ...EditorConfig,\r\n licenseKey: this.config.getValue('CKEditor5LicenseKey')\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.formBuilder.group({\r\n billDecisionId: [null],\r\n comment: [''],\r\n leaveToIntroduce: [''],\r\n contributionId: 0,\r\n reviewerId: [null, Validators.required],\r\n actionType: ActionType.Review,\r\n supportingInformation: []\r\n });\r\n this.form.valueChanges.subscribe(contribution => this.propagateChange(contribution));\r\n\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n this.submission = model.submission;\r\n this.billDecisions = model.decisions;\r\n this.reviewers = model.submission.reviewers;\r\n if (model.submission.contributions.filter(x => x.contributionStatusId === 2).length > 0) {\r\n this.firstContribution = false;\r\n } else {\r\n this.firstContribution = true;\r\n }\r\n\r\n setTimeout(() => {this.setValidators()});\r\n\r\n setTimeout(() => {\r\n this.propagateChange(this.form.value);\r\n this.form.markAsPristine();\r\n });\r\n });\r\n\r\n this.form.get('actionType').valueChanges.subscribe(action => {\r\n const reviewers = this.form.get('reviewerId');\r\n if (action === ActionType.Decision) {\r\n reviewers.reset();\r\n reviewers.disable();\r\n } else if (action === ActionType.Review) {\r\n reviewers.reset();\r\n reviewers.enable();\r\n }\r\n })\r\n }\r\n\r\n validate(c: AbstractControl): Promise<{ [key: string]: any; }> | Observable<{ [key: string]: any; }> {\r\n return of(this.form.valid ? null : {invalid: true});\r\n }\r\n\r\n setValidators() {\r\n if (this.submission.category.categoryId === SubmissionCategory.FinancialImplications ||\r\n this.submission.category.categoryId === SubmissionCategory.Amendments) {\r\n this.showBillDecision = false;\r\n } else {\r\n this.showBillDecision = true;\r\n this.form.controls['billDecisionId'].setValidators([Validators.required]);\r\n this.form.controls['billDecisionId'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n writeValue(contribution: Contribution): void {\r\n if (contribution != null) {\r\n if (contribution.billDecisionId === 0) {\r\n contribution.billDecisionId = null;\r\n }\r\n this.form.patchValue(contribution);\r\n } else {\r\n const newContribution = new Contribution();\r\n newContribution.billDecisionId = null;\r\n newContribution.leaveToIntroduce = null;\r\n newContribution.contributionId = 0;\r\n newContribution.supportingInformation = [];\r\n newContribution.comment = '';\r\n newContribution.reviewerId = null;\r\n this.form.patchValue(newContribution);\r\n }\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n public allowFinalDecision(): boolean {\r\n return !!this.submission\r\n && (+this.config.getValue('RoleRank') >= this.Rank.POHouseServices)\r\n && this.submission.contributions.filter(x => x.isActive === true && x.contributionStatusId !== 1).length > 0;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport interface CreateSubmissionContainer {\r\n toggle: () => void;\r\n}\r\n\r\n@Injectable()\r\nexport class CreateSubmissionContainerGuard {\r\n canDeactivate(component: CreateSubmissionContainer, _currentRoute: ActivatedRouteSnapshot,\r\n _currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): boolean | Observable | Promise {\r\n const result = nextState.url === '/create-submission';\r\n if (result) { component.toggle(); }\r\n\r\n return !result;\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport {\r\n SingleselectOptions,\r\n ModalComponent,\r\n NavigationService,\r\n ToastNotificationsService,\r\n OirAuthService\r\n} from 'proceduralsystem-clientcomponents';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\nimport { CreateSubmissionModel } from './create-submission.model';\r\nimport { CreateSubmissionService } from './create-submission.service';\r\n\r\n@Component({\r\n selector: 'oir-create-submission',\r\n templateUrl: './create-submission.component.html',\r\n styleUrls: ['./create-submission.component.less'],\r\n providers: [CreateSubmissionService]\r\n})\r\nexport class CreateSubmissionComponent implements OnInit {\r\n @ViewChild(ModalComponent) modal: ModalComponent;\r\n\r\n private dataModel: CreateSubmissionModel = new CreateSubmissionModel();\r\n\r\n public form: UntypedFormGroup;\r\n public model: CreateSubmissionModel = new CreateSubmissionModel();\r\n public forumSelectOptions: SingleselectOptions = { search: false, headings: false };\r\n public subCategorySelectOptions: SingleselectOptions = { search: false, headings: false, modelPropertyName: 'subCategoryId' };\r\n public assignedToSelectOptions: SingleselectOptions = { search: false, headings: false, modelPropertyName: 'roleMemberId' };\r\n public showSubCategory = true;\r\n public billIsRequired = true;\r\n public apiUrl: string;\r\n public saving = true;\r\n\r\n private assignedToSelf = false;\r\n\r\n constructor(\r\n private router: Router,\r\n private readonly config: AppConfigService,\r\n private navigationService: NavigationService,\r\n private formBuilder: UntypedFormBuilder,\r\n private createService: CreateSubmissionService,\r\n private toastService: ToastNotificationsService,\r\n private translateService: TranslateService,\r\n private authService: OirAuthService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.form = this.formBuilder.group({\r\n categoryId: [{ value: '', disabled: true }, Validators.required],\r\n houseIdForum: [{ value: '', disabled: true }, Validators.required],\r\n subCategoryId: { value: '', disabled: true },\r\n billId: { value: '', disabled: true },\r\n assignedTo: [{ value: '', disabled: true }, Validators.required],\r\n updatedBy: this.authService.getUsername(),\r\n userRoleMemberId: +this.config.getValue('UserRoleMemberId'),\r\n assignedToRole: '',\r\n delegateRoleMemberId: this.config.getValue('DelegateRoleMemberId')\r\n });\r\n\r\n this.setupDropdownCascade();\r\n this.apiUrl = `/api/Bill`;\r\n }\r\n\r\n private setupDropdownCascade(): void {\r\n\r\n this.form.get('categoryId').valueChanges.subscribe((categoryId) => {\r\n const bill = this.form.get('billId');\r\n const forum = this.form.get('houseIdForum');\r\n const assignedTo = this.form.get('assignedTo');\r\n const subCategory = this.form.get('subCategoryId');\r\n\r\n this.resetControls(bill, forum, assignedTo, subCategory);\r\n if (categoryId) {\r\n this.enableControls(bill, forum, assignedTo, subCategory);\r\n this.model.forums = this.dataModel.forums.filter(x => x.value.categoryId === categoryId);\r\n this.model.subCategories = this.dataModel.subCategories.filter(x => x.value.categoryId === categoryId);\r\n\r\n this.showSubCategory = categoryId === 1 || categoryId === 4 || categoryId === 5;\r\n this.billIsRequired = categoryId === 1 || categoryId === 2 || categoryId === 3 || categoryId === 4;\r\n\r\n this.setConditionalValidators(categoryId);\r\n this.updateAssignedTo();\r\n } else {\r\n this.disableControls(bill, forum, assignedTo, subCategory);\r\n }\r\n });\r\n\r\n this.form.get('assignedTo').valueChanges.subscribe((roleMemberId) => {\r\n if (roleMemberId) {\r\n const userId = this.dataModel.billUsers.find(x => x.value.roleMemberId === roleMemberId).value.userId;\r\n\r\n this.assignedToSelf = userId === this.config.getValue('UserId');\r\n\r\n const roleId = this.dataModel.billUsers.find(x => x.value.roleMemberId === roleMemberId).value.roleId;\r\n this.form.get('assignedToRole').setValue(roleId);\r\n } else {\r\n const user = this.dataModel.billUsers.find(x => x.value.roleMemberId == this.config.getValue('UserRoleMemberId'));\r\n if (user) { this.form.get('assignedTo').setValue(user.value.roleMemberId); }\r\n }\r\n });\r\n }\r\n\r\n private resetControls(...controls: Array) {\r\n controls.forEach(x => x.reset());\r\n }\r\n\r\n private enableControls(...controls: Array) {\r\n controls.forEach(x => x.enable());\r\n }\r\n\r\n private disableControls(...controls: Array) {\r\n controls.forEach(x => x.disable());\r\n }\r\n\r\n private setConditionalValidators(categoryId): void {\r\n const bill = this.form.get('billId');\r\n const subCategory = this.form.get('subCategoryId');\r\n\r\n bill.setValidators(Validators.required);\r\n // subCategory.setValidators(Validators.required);\r\n\r\n if (categoryId === 5) {\r\n bill.clearValidators();\r\n } else if (categoryId === 2 || categoryId === 3) {\r\n subCategory.clearValidators();\r\n }\r\n\r\n subCategory.updateValueAndValidity();\r\n bill.updateValueAndValidity();\r\n }\r\n\r\n private updateAssignedTo() {\r\n const user = this.dataModel.billUsers.find(x => {\r\n return x.value.roleMemberId == this.config.getValue('UserRoleMemberId');\r\n });\r\n\r\n if (user) {\r\n this.form.get('assignedTo').setValue(user.value.roleMemberId);\r\n this.form.get('assignedToRole').setValue(user.value.roleId);\r\n\r\n this.assignedToSelf = true;\r\n }\r\n }\r\n\r\n private redirect(submissionId): void {\r\n this.modal.close();\r\n const url = this.assignedToSelf ? `/submission/${submissionId}` : '/task-manager';\r\n this.router.navigateByUrl(url);\r\n }\r\n\r\n public toggle(): void {\r\n this.form.reset({\r\n houseIdForum: { value: '', disabled: true },\r\n subCategoryId: { value: '', disabled: true },\r\n billId: { value: '', disabled: true },\r\n assignedTo: { value: '', disabled: true },\r\n updatedBy: this.authService.getUsername(),\r\n userRoleMemberId: this.config.getValue('UserRoleMemberId'),\r\n assignedToRole: '',\r\n delegateRoleMemberId: this.config.getValue('DelegateRoleMemberId')\r\n });\r\n\r\n this.showSubCategory = false;\r\n\r\n const userAccount = this.authService.getUsername();\r\n this.createService.get(userAccount).subscribe((response) => {\r\n this.dataModel = response;\r\n this.model.categories = response.categories;\r\n this.model.billUsers = response.billUsers;\r\n\r\n this.form.get('categoryId').enable();\r\n this.saving = false;\r\n });\r\n\r\n this.modal.toggle();\r\n }\r\n\r\n public updateNavigation(): void {\r\n this.navigationService.select(this.navigationService.previousNode);\r\n }\r\n\r\n public onSubmit($event): void {\r\n /// TODO: This is required because the typeahead model is an object instead\r\n /// of an int. Will refactor after the typeahead is updated.\r\n this.saving = true;\r\n\r\n const data = this.form.value;\r\n if (data.billId) {\r\n data.billId = parseInt(data.billId.value);\r\n }\r\n\r\n this.createService.post(data).subscribe(\r\n response => {\r\n if (response) {\r\n\r\n setTimeout(() => this.redirect(response.submissionId));\r\n\r\n const message = this.translateService.instant(response.responseMessage, [response.submissionId]);\r\n this.toastService.addNotification({ title: 'SUBMISSION.CREATESUCCESS', description: message });\r\n this.saving = false;\r\n }\r\n },\r\n () => {\r\n this.toastService.addNotification({ title: 'COMMON.SAVEERROR', description: 'COMMON.SAVEERRORDESCRIPTION' });\r\n this.saving = false;\r\n });\r\n }\r\n}\r\n","export class CreateSubmissionModel {\r\n public categories: Array = [];\r\n public subCategories: Array = [];\r\n public forums: Array = [];\r\n public billUsers: Array = [];\r\n public currentUserRoleMemberId: number;\r\n}\r\n","import { throwError as observableThrowError, Observable } from 'rxjs';\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\nimport { catchError } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class CreateSubmissionService {\r\n public appSettings;\r\n private readonly controllerName = 'Submission';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private config: AppConfigService\r\n ) { }\r\n\r\n public get(userAccount: string): Observable {\r\n return this.http.get(`${this.config.getValue('ApiEndpoint').url}/api/${this.controllerName}?userAccount=${userAccount}`);\r\n }\r\n\r\n public post(model: any): Observable {\r\n return this.http\r\n .post(`${this.config.getValue('ApiEndpoint').url}/api/${this.controllerName}`, model)\r\n .pipe(catchError((error: any) => observableThrowError(error)));\r\n }\r\n}\r\n","import { Component, OnInit, AfterViewInit, Input, OnDestroy } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, UntypedFormArray } from '@angular/forms';\r\n\r\nimport { FinancialImplication, Submission } from '../submission.model';\r\nimport { SubmissionService } from '../submission.service';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'oir-financial-implications',\r\n templateUrl: './financial-implications.component.html',\r\n styleUrls: ['./financial-implications.component.less']\r\n})\r\n\r\nexport class FinancialImplicationsComponent implements OnInit, AfterViewInit, OnDestroy {\r\n @Input() parentFormGroup: UntypedFormGroup;\r\n @Input() financialImplications: FinancialImplication[];\r\n @Input() readOnly: boolean;\r\n\r\n public submission: Submission;\r\n public form: UntypedFormGroup;\r\n\r\n private subscription;\r\n private section: string;\r\n\r\n constructor(private formBuilder: UntypedFormBuilder,\r\n private submissionService: SubmissionService,\r\n private route: ActivatedRoute) { }\r\n\r\n ngOnInit() {\r\n this.form = this.formBuilder.group({\r\n financialImplicationTypes: [this.formBuilder.array([])]\r\n });\r\n\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n this.submission = model.submission;\r\n this.form.setControl('financialImplicationTypes', this.formBuilder.array(this.submission.financialImplications || []));\r\n });\r\n\r\n this.route.queryParams.subscribe(params => {\r\n if (typeof(params['section']) !== 'undefined') {\r\n this.section = 'FinanceSection' + params['section'];\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.section) {\r\n const countEditors = Object.keys(CKEDITOR.instances).length;\r\n const readyEditors = [];\r\n if (countEditors === 0) {\r\n setTimeout(() => {\r\n this.submissionService.scrollToSection(this.section);\r\n });\r\n } else {\r\n for (let i in CKEDITOR.instances) {\r\n CKEDITOR.instances[i].on('instanceReady', () => {\r\n readyEditors.push(i);\r\n if(readyEditors.length === countEditors){\r\n this.submissionService.scrollToSection(this.section);\r\n }\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n getType(index: number): FinancialImplication {\r\n return this.submission.financialImplications[index];\r\n }\r\n\r\n get financialImplicationTypes(): UntypedFormArray {\r\n return this.form.get('financialImplicationTypes');\r\n }\r\n}\r\n","/// \r\n\r\nimport { Component, OnInit, Input, forwardRef } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, UntypedFormArray, Validators, AbstractControl,\r\n ControlValueAccessor, NG_VALUE_ACCESSOR, NG_ASYNC_VALIDATORS, AsyncValidator } from '@angular/forms';\r\n\r\nimport { FinancialImplicationType, FinancialImplicationComment, Submission } from '../../submission.model';\r\nimport { Observable, of } from 'rxjs';\r\nimport { EditorConfig } from '../../../models/editor-config.model';\r\nimport { SelectValue } from 'proceduralsystem-clientcomponents';\r\nimport OirCkEditor, { OirCkEditorConfig } from 'proceduralsystem-ckeditor';\r\nimport { AppConfigService } from 'src/app/services/app-config.service';\r\n\r\n\r\n@Component({\r\n selector: 'oir-financial-implications-type-create',\r\n templateUrl: './type-create.component.html',\r\n styleUrls: ['./type-create.component.less'],\r\n providers: [\r\n {\r\n provide: NG_ASYNC_VALIDATORS,\r\n useExisting: forwardRef(() => FinancialImplicationTypeCreateComponent),\r\n multi: true,\r\n },\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => FinancialImplicationTypeCreateComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class FinancialImplicationTypeCreateComponent implements OnInit, ControlValueAccessor, AsyncValidator {\r\n @Input() parentFormGroup: UntypedFormGroup;\r\n @Input() decisions: Array>;\r\n @Input() type: FinancialImplicationType;\r\n @Input() comment: FinancialImplicationComment;\r\n @Input() isCollapsed: boolean;\r\n\r\n public form: UntypedFormGroup;\r\n public parentForm: UntypedFormGroup;\r\n public submission: Submission;\r\n Editor = OirCkEditor;\r\n ckEditorConfig: OirCkEditorConfig;\r\n propagateChange = (_: any) => {};\r\n propagateTouch = (_: any) => {};\r\n\r\n constructor(private formBuilder: UntypedFormBuilder,private configurationService: AppConfigService) { \r\n this.ckEditorConfig = {\r\n ...EditorConfig,\r\n licenseKey: this.configurationService.getValue('CKEditor5LicenseKey')\r\n };\r\n }\r\n\r\n ngOnInit() {\r\n this.parentForm = this.parentFormGroup;\r\n this.form = this.formBuilder.group({\r\n comment: '',\r\n decision: '',\r\n decisionId: [null, [Validators.required], [this.validate.bind(this)]],\r\n id: null,\r\n sendtoDate: '',\r\n typeId: this.type.id,\r\n user: '',\r\n supportingInformation: []\r\n });\r\n\r\n if (this.comment) {\r\n this.form.patchValue({\r\n decisionId: this.comment.decisionId,\r\n comment: this.comment.comment,\r\n id: this.comment.id,\r\n supportingInformation: this.comment.supportingInformation\r\n });\r\n }\r\n\r\n const thisFormArray = this.parentFormGroup.get('financialImplications') as UntypedFormArray;\r\n thisFormArray.removeAt(this.type.id - 1);\r\n thisFormArray.insert(this.type.id - 1, this.form);\r\n }\r\n\r\n writeValue(contribution: any): void {\r\n if (contribution) {\r\n this.form.patchValue(contribution);\r\n }\r\n }\r\n\r\n validate(c: AbstractControl): Promise<{ [key: string]: any; }> | Observable<{ [key: string]: any; }> {\r\n return of(c.errors === null ? null : {invalid: true});\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.propagateTouch = fn;\r\n }\r\n}\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\r\nimport { FinancialImplication, FinancialImplicationComment } from '../../submission.model';\r\nimport { UntypedFormGroup } from '@angular/forms';\r\nimport { SubmissionService } from '../../submission.service';\r\nimport { AppConfigService } from '../../../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-financial-implications-type-panel',\r\n templateUrl: './type-panel.component.html',\r\n styleUrls: ['./type-panel.component.less']\r\n})\r\nexport class FinancialImplicationTypePanelComponent implements OnInit, OnDestroy {\r\n @Input() parentFormGroup: UntypedFormGroup;\r\n @Input() index: number;\r\n\r\n public model: FinancialImplication;\r\n public commentToEdit = new FinancialImplicationComment()\r\n public commentsToView: number;\r\n public readOnly: Boolean;\r\n public isDraft: Boolean;\r\n public showFirst: Boolean;\r\n public collapsed = false;\r\n\r\n private subscription;\r\n\r\n constructor(\r\n private submissionService: SubmissionService,\r\n private config: AppConfigService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n\r\n this.model = model.submission.financialImplications[this.index];\r\n this.commentsToView = this.model.comments.length;\r\n const completeContributionsCount = model.submission.contributions.filter(x => x.contributionStatusId === 2).length;\r\n\r\n if (model.submission.assignedToUser == null ||\r\n model.submission.assignedToUser.adRoleMemberId === null ||\r\n model.submission.assignedToUser.adRoleMemberId === 0) {\r\n this.readOnly = true;\r\n } else {\r\n this.readOnly = model.submission.assignedToUser.adRoleMemberId !== +this.config.getValue('UserRoleMemberId');\r\n }\r\n const draftContribution = model.submission.contributions.filter(x => x.contributionStatusId === 1);\r\n if (draftContribution.length > 0) {\r\n this.isDraft = true;\r\n }\r\n\r\n if (this.isDraft && !this.readOnly && this.commentsToView > completeContributionsCount) {\r\n this.commentsToView = this.commentsToView - 1;\r\n this.commentToEdit = this.model.comments[this.commentsToView];\r\n }\r\n\r\n this.showFirst = this.commentsToView > 1 ||\r\n (this.commentsToView === 1 &&\r\n (!this.readOnly || !this.isDraft || completeContributionsCount >= 1 || (this.readOnly && this.isDraft))\r\n );\r\n\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n toggle(): void {\r\n this.collapsed = !this.collapsed;\r\n }\r\n}\r\n","import { Component, Input } from '@angular/core';\r\nimport { FinancialImplicationComment } from '../../submission.model';\r\n\r\n@Component({\r\n selector: 'oir-financial-implications-type-view',\r\n templateUrl: './type-view.component.html',\r\n styleUrls: ['./type-view.component.less']\r\n})\r\nexport class FinancialImplicationTypeViewComponent {\r\n @Input() model: FinancialImplicationComment;\r\n @Input() isCollapsed: boolean;\r\n @Input() lastDecision: boolean;\r\n @Input() firstDecision: boolean;\r\n\r\n constructor() { }\r\n}\r\n","import { Component, OnInit, OnDestroy } from \"@angular/core\";\r\nimport { SubmissionService } from \"../submission.service\";\r\nimport { Submission, SubmissionCategory } from \"../submission.model\";\r\nimport { AppConfigService } from \"../../services/app-config.service\";\r\n\r\n@Component({\r\n selector: \"oir-submission-header\",\r\n templateUrl: \"header.component.html\",\r\n styleUrls: [\"./header.component.less\"],\r\n})\r\n\r\nexport class SubmissionHeaderComponent implements OnInit, OnDestroy {\r\n public submission: Submission;\r\n private subscription;\r\n public category = SubmissionCategory;\r\n\r\n constructor(\r\n private submissionService: SubmissionService,\r\n private config: AppConfigService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.subscription = this.submissionService.submission$.subscribe(\r\n (model) => {\r\n this.submission = model.submission;\r\n if (this.submission.bill.billInfo) {\r\n this.submission.bill.billUrl = `${this.config.getValue(\"BillsAdminWebUrl\")}/edit/${this.submission.bill.billInfo.billId}`;\r\n }\r\n }\r\n );\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { SubmissionService } from '../submission.service';\r\nimport { Submission, SubmissionStatus, SubmissionCategory } from '../submission.model';\r\n\r\n@Component({\r\n selector: 'oir-submission-status',\r\n templateUrl: 'status.component.html',\r\n styleUrls: ['./status.component.less']\r\n})\r\n\r\nexport class SubmissionStatusComponent implements OnInit, OnDestroy {\r\n public submission: Submission;\r\n public status = SubmissionStatus;\r\n public category = SubmissionCategory;\r\n private subscription;\r\n\r\n constructor(private submissionService: SubmissionService) { }\r\n\r\n ngOnInit() {\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n this.submission = model.submission;\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n}\r\n\r\n","import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\r\n\r\nimport { SubmissionSearchService } from './submission-search.service';\r\nimport { SelectValue, PaginationOptions } from 'proceduralsystem-clientcomponents';\r\nimport {\r\n AdvancedFiltersOptions, SortByEnum, SearchResultsModel,\r\n SubmissionCategory, SubmissionStatus, SubCategoryAliases\r\n} from './submission-search.model';\r\nimport { CreateSubmissionContainer } from '../create/create-submission-container-guard';\r\nimport { CreateSubmissionComponent } from '../create/create-submission.component';\r\nimport { Observable } from 'rxjs';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'oir-submission-search',\r\n templateUrl: './submission-search.component.html',\r\n styleUrls: ['./submission-search.component.less']\r\n})\r\nexport class SubmissionSearchComponent implements OnInit, OnDestroy, CreateSubmissionContainer {\r\n @ViewChild(CreateSubmissionComponent) createComponent: CreateSubmissionComponent;\r\n\r\n public form: UntypedFormGroup;\r\n public model: AdvancedFiltersOptions = new AdvancedFiltersOptions();\r\n public sortOptionsList: Array> = [];\r\n public submissionStatus = SubmissionStatus;\r\n public submissionCategory = SubmissionCategory;\r\n public subCategoryAliases = SubCategoryAliases;\r\n public showOutcomes: boolean = true;\r\n public showSubCategory: boolean = true;\r\n public userOrRoleRequired: boolean = false;\r\n public results$: Observable;\r\n\r\n private dataModel: AdvancedFiltersOptions = new AdvancedFiltersOptions();\r\n\r\n constructor(\r\n private formBuilder: UntypedFormBuilder,\r\n private searchService: SubmissionSearchService,\r\n private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n this.form = this.formBuilder.group({\r\n freeText: '',\r\n categoryId: [{ value: null, disabled: true }],\r\n subCategoryIds: [{value: [], disabled: true}],\r\n statusIds: [{ value: [], disabled: true }],\r\n forumIds: [{ value: [], disabled: true }],\r\n movementIds: [{ value: [], disabled: true }],\r\n userOrRoleId: [{ value: null, disabled: true }],\r\n outcomeIds: [{ value: [], disabled: true }],\r\n sortBy: SortByEnum.LastUpdatedDate\r\n });\r\n\r\n this.setupDropdowns();\r\n\r\n this.setupSubscriptions();\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n clearFilter(): void {\r\n this.form.get('freeText').reset('');\r\n this.form.get('categoryId').reset(null);\r\n this.form.get('subCategoryIds').reset([]);\r\n this.form.get('statusIds').reset([]);\r\n this.form.get('forumIds').reset([]);\r\n this.form.get('movementIds').reset([]);\r\n this.form.get('userOrRoleId').reset(null);\r\n this.form.get('outcomeIds').reset([]);\r\n\r\n this.form.markAsPristine();\r\n }\r\n\r\n search(): void {\r\n this.results$ = this.searchService.search(this.form.value);\r\n }\r\n\r\n changePage(pageNumber) {\r\n this.results$ = this.searchService.changePage(pageNumber);\r\n }\r\n\r\n sort(sortOption) {\r\n this.results$ = this.searchService.sort(sortOption);\r\n }\r\n\r\n toggle(): void {\r\n this.createComponent.toggle();\r\n }\r\n\r\n getPaginationOptions(results: SearchResultsModel): PaginationOptions {\r\n return {\r\n id: 'pagination',\r\n itemsPerPage: results.take,\r\n currentPage: results.currentPage,\r\n totalItems: results.count\r\n }\r\n }\r\n\r\n getDisplayFrom(results: SearchResultsModel): number {\r\n return results.skip + 1;\r\n }\r\n\r\n getDisplayTo(results: SearchResultsModel): number {\r\n return Math.min(results.skip + results.take, results.count);\r\n }\r\n\r\n trackBySubmisisonId(index, item) {\r\n return item ? item.submissionNumber : index;\r\n }\r\n\r\n trackByBillId(index, item) {\r\n return item ? item.bill.id : index;\r\n }\r\n\r\n private setupSubscriptions(): void {\r\n this.form.get('categoryId').valueChanges.subscribe((categoryId) => {\r\n this.onCategoryChange(categoryId);\r\n });\r\n\r\n this.form.get('movementIds').valueChanges.subscribe(() => {\r\n this.onMovementChange();\r\n });\r\n\r\n this.form.get('userOrRoleId').valueChanges.subscribe(() => {\r\n this.onUserOrRoleChange();\r\n });\r\n\r\n this.form.get('sortBy').valueChanges.subscribe((sortOption) => {\r\n this.sort(sortOption);\r\n });\r\n }\r\n\r\n private setupDropdowns(): void {\r\n this.getDropdownData();\r\n\r\n this.sortOptionsList = this.loadSortingOptions();\r\n }\r\n\r\n private getDropdownData(): void {\r\n this.searchService.getDropdownData().subscribe(\r\n (options: AdvancedFiltersOptions) => {\r\n this.dataModel = options;\r\n this.populateDropdowns(this.dataModel);\r\n this.initiateDropdowns();\r\n });\r\n }\r\n\r\n private initiateDropdowns(): void {\r\n this.userOrRoleRequired = false;\r\n this.model.forums = this.dataModel.forums.filter(x => x.value.categoryId === SubmissionCategory.PMB);\r\n this.enableControls(this.form.get('categoryId'),\r\n this.form.get('statusIds'),\r\n this.form.get('forumIds'),\r\n this.form.get('movementIds'),\r\n this.form.get('userOrRoleId'));\r\n }\r\n\r\n private populateDropdowns(options: AdvancedFiltersOptions): void {\r\n this.model.categories = options.categories;\r\n this.model.subCategories = options.subCategories;\r\n this.model.statuses = options.statuses;\r\n this.model.forums = options.forums;\r\n this.model.movements = options.movements;\r\n this.model.usersAndRoles = options.usersAndRoles;\r\n this.model.outcomes = options.outcomes;\r\n }\r\n\r\n private loadSortingOptions(): Array> {\r\n return [\r\n { value: SortByEnum.LastUpdatedDate, title: this.translateService.instant('SEARCHSUBMISSIONS.SORTBY.LASTUPDATEDATE') },\r\n { value: SortByEnum.BillNumberDescending, title: this.translateService.instant('Bill number descending') }\r\n ];\r\n }\r\n\r\n private onCategoryChange(categoryId?: number): void {\r\n this.showSubCategory = this.showOutcomes = false;\r\n\r\n if (categoryId) {\r\n const subCategory = this.form.get('subCategoryIds');\r\n const forum = this.form.get('forumIds');\r\n const outcome = this.form.get('outcomeIds');\r\n\r\n this.resetControls(subCategory, forum, outcome);\r\n this.enableControls(subCategory, forum, outcome);\r\n\r\n this.model.forums = this.dataModel.forums.filter(x => x.value.categoryId === categoryId);\r\n this.model.subCategories = this.dataModel.subCategories.filter(x => x.value.categoryId === categoryId);\r\n\r\n if (categoryId === SubmissionCategory.PMB || categoryId === SubmissionCategory.FinancialImplications) {\r\n this.showOutcomes = true;\r\n this.model.outcomes = this.dataModel.outcomes.filter(x => x.value.categoryId === categoryId);\r\n }\r\n\r\n this.showSubCategory = categoryId === SubmissionCategory.PMB ||\r\n categoryId === SubmissionCategory.Amendments ||\r\n categoryId === SubmissionCategory.Other;\r\n\r\n }\r\n }\r\n\r\n private onMovementChange(): void {\r\n this.setUserOrRoleValidation();\r\n }\r\n\r\n private onUserOrRoleChange(): void {\r\n this.setUserOrRoleValidation();\r\n }\r\n\r\n private setUserOrRoleValidation(): void {\r\n this.userOrRoleRequired = false;\r\n const userOrRoleId = this.form.get('userOrRoleId');\r\n const movementIds = this.form.get('movementIds');\r\n if (movementIds && movementIds.value && movementIds.value.length > 0) {\r\n if (!userOrRoleId.value) {\r\n this.userOrRoleRequired = true;\r\n }\r\n }\r\n }\r\n\r\n private resetControls(...controls: Array): void {\r\n controls.forEach(x => x.reset());\r\n }\r\n\r\n private enableControls(...controls: Array): void {\r\n controls.forEach(x => x.enable());\r\n }\r\n\r\n}\r\n\r\n\r\n","export class AdvancedFiltersOptions {\r\n public categories?: Array = [];\r\n public subCategories?: Array = [];\r\n public statuses?: Array = [];\r\n public forums?: Array = [];\r\n public movements?: Array = [];\r\n public usersAndRoles?: Array = [];\r\n public outcomes?: Array = [];\r\n}\r\n\r\nexport class FilterModel {\r\n public freeText: string;\r\n public categoryId: number;\r\n public subCategoryIds: SubCategoryDto[];\r\n public statusIds: number[];\r\n public forumIds: ForumDto[];\r\n public movementIds: number[];\r\n public userOrRoleId: UserOrRoleDto;\r\n public outcomeIds: OutcomeDto[];\r\n public sortBy: number = SortByEnum.BillNumberDescending;\r\n public skip;\r\n public take;\r\n public currentPage: number;\r\n}\r\n\r\nexport interface ForumDto {\r\n catgoryId: number;\r\n houseId: number;\r\n}\r\n\r\nexport interface OutcomeDto {\r\n categoryId: number;\r\n outcomeId: number;\r\n descr: string;\r\n}\r\n\r\nexport interface SubCategoryDto {\r\n categoryId: number;\r\n subCategoryId: number;\r\n}\r\n\r\nexport interface UserOrRoleDto {\r\n headerSelected: boolean;\r\n roleId: number;\r\n userId: number;\r\n}\r\n\r\nexport class SearchResultsModel {\r\n count: number;\r\n items: ItemResultModel[];\r\n skip;\r\n take;\r\n currentPage;\r\n}\r\n\r\nexport class ItemResultModel {\r\n bill: Bill;\r\n submissions: Submission[];\r\n}\r\n\r\nexport class Bill {\r\n id?: number;\r\n title?: string;\r\n number?: string;\r\n year?: number;\r\n url?: string;\r\n}\r\n\r\nexport class Submission {\r\n submissionNumber?: number;\r\n submissionCategory?: string;\r\n catId?: SubmissionCategory;\r\n subCatId?: SubmissionSubCategory;\r\n subCategoryType?: string;\r\n subCategory?: string;\r\n status?: string;\r\n statusId?: SubmissionStatus;\r\n forum?: string;\r\n assignedTo?: string;\r\n dateAssignedAt?: string;\r\n dateAssignedAtIso?: string;\r\n createdBy?: string;\r\n dateCreatedAt?: string;\r\n dateCreatedAtIso?: string;\r\n completedBy?: string;\r\n dateReceivedAt?: string;\r\n mostRecentCompletedDate: string;\r\n lastUpdatedDate: string;\r\n pmbDecisionOutcome: string;\r\n jsonDataFinancialDecision?: string;\r\n jsonDataFinancialDecisionList?: FinancialDecision[];\r\n jsonDataCountAmndOrders?: string;\r\n jsonDataCountAmndOrdersList?: AmendmentOrder[];\r\n url?: string;\r\n}\r\n\r\nexport class FinancialDecision {\r\n decision?: string;\r\n outcome?: number;\r\n}\r\n\r\nexport class AmendmentOrder {\r\n inOrder?: string;\r\n outOfOrder?: number;\r\n}\r\n\r\nexport enum SortByEnum {\r\n LastUpdatedDate = 1,\r\n BillNumberDescending = 2\r\n}\r\n\r\nexport enum SubmissionMovement {\r\n CreatedBy = 1,\r\n AssignedTo = 2,\r\n CompletedBy = 3\r\n}\r\n\r\nexport enum SubmissionStatus {\r\n InDraft = 1,\r\n InProgress = 2,\r\n FinalDecisionMade = 3\r\n}\r\n\r\nexport enum SubmissionCategory {\r\n PMB = 1,\r\n PrivateBill = 2,\r\n FinancialImplications = 3,\r\n Amendments = 4,\r\n Other = 5\r\n}\r\n\r\nexport enum SubmissionSubCategory {\r\n LeaveToIntroduce = 1,\r\n Presentation = 2,\r\n SecondStage = 3,\r\n CommitteeStage = 4,\r\n ReportStage = 5,\r\n Acts = 6,\r\n Bills = 7,\r\n Elections = 8,\r\n RequestForInstructions = 9,\r\n Other = 10,\r\n CreamList = 11\r\n}\r\n\r\nexport const CategoryAliases = new Map([\r\n [SubmissionCategory.Amendments, 'Amnd'],\r\n [SubmissionCategory.FinancialImplications, 'FI'],\r\n [SubmissionCategory.Other, 'Other'],\r\n [SubmissionCategory.PMB, 'PMB'],\r\n [SubmissionCategory.PrivateBill, 'Private Bill']\r\n]);\r\n\r\nexport const SubCategoryAliases = new Map([\r\n [SubmissionSubCategory.LeaveToIntroduce, 'LTI'],\r\n [SubmissionSubCategory.Presentation, 'Pres'],\r\n [SubmissionSubCategory.SecondStage, '2nd'],\r\n [SubmissionSubCategory.CommitteeStage, 'C'],\r\n [SubmissionSubCategory.ReportStage, 'R'],\r\n [SubmissionSubCategory.CreamList, 'CL'],\r\n [SubmissionSubCategory.Acts, 'Acts'],\r\n [SubmissionSubCategory.Bills, 'Bills'],\r\n [SubmissionSubCategory.Elections, 'Elections'],\r\n [SubmissionSubCategory.RequestForInstructions, 'Instruct'],\r\n [SubmissionSubCategory.Other, 'Other']\r\n]);\r\n","\r\nimport { throwError as observableThrowError, Observable } from 'rxjs';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n AdvancedFiltersOptions, FilterModel, SearchResultsModel, SortByEnum,\r\n SubCategoryAliases, SubmissionSubCategory, CategoryAliases\r\n} from './submission-search.model';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\nimport { catchError, map } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class SubmissionSearchService {\r\n private model: SearchResultsModel;\r\n private readonly controllerName = 'SubmissionSearch';\r\n private filterModel = new FilterModel();\r\n private url;\r\n private billUrl;\r\n private submissionUrl;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private config: AppConfigService\r\n ) {\r\n this.url = `${this.config.getValue('ApiEndpoint').url}/api/` + this.controllerName;\r\n this.billUrl = `${this.config.getValue('BillsAdminWebUrl')}/edit/`;\r\n this.submissionUrl = window.location.origin + '/submission/';\r\n }\r\n\r\n public getDropdownData(): Observable {\r\n return this.http.get(this.url)\r\n .pipe(\r\n catchError((error: any) => observableThrowError(error)),\r\n map(result => {\r\n return result;\r\n })\r\n );\r\n }\r\n\r\n public search(filter: FilterModel): Observable {\r\n this.filterModel = this.initializeFilterModel(filter);\r\n return this.performSearch(this.filterModel);\r\n }\r\n\r\n public changePage(pageNumber: number) {\r\n this.filterModel.skip = pageNumber === 1 ? 0 : this.filterModel.take * (pageNumber - 1);\r\n this.filterModel.currentPage = pageNumber;\r\n return this.performSearch(this.filterModel);\r\n }\r\n\r\n public sort(selectedOption: SortByEnum) {\r\n this.filterModel.skip = 0;\r\n this.filterModel.currentPage = 1;\r\n this.filterModel.sortBy = selectedOption;\r\n return this.performSearch(this.filterModel);\r\n }\r\n\r\n private performSearch(filter: FilterModel): Observable {\r\n return this.http.post(this.url, filter)\r\n .pipe(\r\n catchError((error: any) => observableThrowError(error)),\r\n map((response) => {\r\n this.model = response;\r\n\r\n this.model.skip = filter.skip;\r\n this.model.take = filter.take;\r\n this.model.currentPage = filter.currentPage;\r\n this.updateSearchResultsModel(this.model);\r\n\r\n return this.model;\r\n })\r\n );\r\n }\r\n\r\n private updateSearchResultsModel(model: SearchResultsModel): void {\r\n if (model.items) {\r\n model.items.forEach((x) => {\r\n if (x.bill != null && x.bill.id != null) {\r\n x.bill.url = this.billUrl + `${x.bill.id}`;\r\n }\r\n x.submissions.forEach((y) => {\r\n y.url = this.submissionUrl + `${y.submissionNumber}`;\r\n y.submissionCategory = CategoryAliases.get(y.catId);\r\n y.subCategory = y.subCatId !== null && y.subCatId !== SubmissionSubCategory.Other\r\n ? '(' + SubCategoryAliases.get(y.subCatId) + ')' : '';\r\n });\r\n });\r\n }\r\n }\r\n\r\n private initializeFilterModel(filter: FilterModel): FilterModel {\r\n if (filter.categoryId === null) { filter.categoryId = 0; }\r\n if (filter.subCategoryIds === null) { delete filter.subCategoryIds; }\r\n if (filter.statusIds === null) { delete filter.statusIds; }\r\n if (filter.forumIds === null) { delete filter.forumIds; }\r\n if (filter.movementIds === null) { delete filter.movementIds; }\r\n if (filter.userOrRoleId === null) { delete filter.userOrRoleId; }\r\n if (filter.outcomeIds === null) { delete filter.outcomeIds; }\r\n if (filter.sortBy === null) { filter.sortBy = SortByEnum.LastUpdatedDate; }\r\n\r\n filter.skip = 0;\r\n filter.currentPage = 1;\r\n filter.take = 10;\r\n\r\n return filter;\r\n }\r\n\r\n}\r\n","import {\r\n Component,\r\n OnInit,\r\n ViewChild,\r\n OnDestroy\r\n} from '@angular/core';\r\nimport { SubmissionService } from './submission.service';\r\nimport {\r\n Submission,\r\n SubmissionStatus,\r\n ActionType,\r\n SubmissionCategory\r\n} from './submission.model';\r\nimport {\r\n ModalComponent,\r\n NavigationService,\r\n ConfigurationService,\r\n ToastNotificationsService,\r\n OirAuthService\r\n} from 'proceduralsystem-clientcomponents';\r\nimport { Subject } from 'rxjs';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';\r\nimport * as moment from 'moment';\r\nimport {\r\n Router,\r\n ActivatedRouteSnapshot,\r\n RouterStateSnapshot,\r\n ActivatedRoute\r\n} from '@angular/router';\r\nimport { CreateSubmissionContainer } from '../submission/create/create-submission-container-guard';\r\nimport { AmendmentService } from './amendment/amendment.service';\r\nimport { ValidationService } from '../shared/validation.service';\r\nimport { Subscription } from '../../../node_modules/rxjs';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { map } from 'rxjs/operators';\r\nimport { CreateSubmissionComponent } from './create/create-submission.component';\r\nimport { AppConfig, AppConfigService } from '../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-submission',\r\n templateUrl: './submission.component.html',\r\n styleUrls: ['./submission.component.less']\r\n})\r\nexport class SubmissionComponent implements OnInit, CreateSubmissionContainer, OnDestroy {\r\n @ViewChild('unsavedChangesModal')\r\n unsavedChangesModal: ModalComponent;\r\n @ViewChild('amendmentRequiredModel')\r\n amendmentRequiredModel: ModalComponent;\r\n @ViewChild('amendmentIncompleteModel')\r\n amendmentIncompleteModel: ModalComponent;\r\n @ViewChild(CreateSubmissionComponent)\r\n createComponent: CreateSubmissionComponent;\r\n\r\n public submission: Submission;\r\n public form: UntypedFormGroup;\r\n public userDiscardResponse$ = new Subject();\r\n public selectedNode;\r\n public completedContributions;\r\n public readOnly = false;\r\n public submissionCategory = SubmissionCategory;\r\n public amendment: any;\r\n public submissionStatus = SubmissionStatus;\r\n public formClean = true;\r\n public formCleanWithAmendment = false;\r\n public validationService1: Subscription;\r\n public validationService2: Subscription;\r\n private closeTab = false;\r\n private subscription;\r\n private cameFromCloseButton = false;\r\n private routerSubscription;\r\n\r\n constructor(\r\n private submissionService: SubmissionService,\r\n private navigationService: NavigationService,\r\n private validationService: ValidationService,\r\n private formBuilder: UntypedFormBuilder,\r\n public configurationService: ConfigurationService,\r\n private readonly config: AppConfigService,\r\n private toastService: ToastNotificationsService,\r\n private router: Router,\r\n private titleService: Title,\r\n private route: ActivatedRoute,\r\n private amendmentService: AmendmentService,\r\n private translateService: TranslateService,\r\n private authService: OirAuthService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.form = this.formBuilder.group({\r\n coreContribution: '',\r\n financialImplications: this.formBuilder.array([]),\r\n amendmentContribution: '',\r\n supportingInformation: []\r\n });\r\n this.routerSubscription = this.route.url.subscribe(url => {\r\n this.closeTab = Boolean(\r\n this.route.snapshot.queryParamMap.get('closeTab')\r\n );\r\n });\r\n this.selectedNode = this.navigationService.currentNode;\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n // Reset number of amendments.\r\n this.validationService.resetNoOfAmendments();\r\n this.submission = model.submission;\r\n this.completedContributions = this.submission.contributions.filter(\r\n x => x.contributionStatusId === 2\r\n ).length;\r\n if (\r\n this.submission.assignedToUser == null ||\r\n this.submission.assignedToUser.adRoleMemberId === null ||\r\n this.submission.assignedToUser.adRoleMemberId === 0\r\n ) {\r\n this.readOnly = true;\r\n } else {\r\n this.readOnly = this.submission.assignedToUser.adRoleMemberId !== +this.config.getValue('UserRoleMemberId');\r\n }\r\n const draftContribution = model.submission.contributions.filter(\r\n x => x.contributionStatusId === 1\r\n );\r\n if (draftContribution.length > 0) {\r\n if (model.submission.leaveToIntroduce) {\r\n draftContribution[0].leaveToIntroduce = moment(\r\n model.submission.leaveToIntroduce\r\n ).format('DD/MM/YYYY');\r\n }\r\n this.form.controls['coreContribution'].patchValue(draftContribution[0]);\r\n } else {\r\n this.form.controls['coreContribution'].reset();\r\n }\r\n if (model.submission.supportingInformation) {\r\n this.form.controls['supportingInformation'].patchValue(\r\n model.submission.supportingInformation\r\n );\r\n }\r\n if (model.amendment) {\r\n this.amendment = model.amendment;\r\n // Clone amendment groups array and sort it by amendment groupid.\r\n const sortedAmendmentGroups = this.amendment.amendmentGroups.slice(0).sort(this.compare);\r\n const sortedAGArray = [];\r\n sortedAmendmentGroups.forEach((element) => {\r\n sortedAGArray.push(element['amendmentGroupId']);\r\n });\r\n // Set groupIndex by order of amendment group id asc.\r\n this.amendment.amendmentGroups.forEach((element, index) => {\r\n element['groupIndex'] = sortedAGArray.indexOf(element['amendmentGroupId']);\r\n });\r\n this.form\r\n .get('amendmentContribution')\r\n .setValue(model.amendment.amendmentContribution);\r\n this.amendmentService.amendmentSummary$.next(this.amendment);\r\n }\r\n\r\n setTimeout(() => {\r\n this.initNavigation();\r\n this.form.markAsPristine();\r\n }, 500);\r\n });\r\n this.validationService1 = this.validationService\r\n .getData()\r\n .subscribe(data => {\r\n // True if data is valid or not an amendment category.\r\n this.formClean =\r\n data ||\r\n this.submission.category.categoryId !==\r\n this.submissionCategory.Amendments;\r\n });\r\n this.validationService2 = this.validationService\r\n .getDataWithAnAmendment()\r\n .subscribe(data => {\r\n // True if data is valid and contains at least one amendment.\r\n this.formCleanWithAmendment = data;\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n this.clearTaskManagerNavigation();\r\n this.validationService1.unsubscribe();\r\n this.validationService2.unsubscribe();\r\n this.routerSubscription.unsubscribe();\r\n }\r\n\r\n public compare(a, b) {\r\n if (a.amendmentGroupId < b.amendmentGroupId) {\r\n return -1;\r\n } else if (a.amendmentGroupId > b.amendmentGroupId) {\r\n return 1;\r\n }\r\n return 0;\r\n }\r\n\r\n public scrollToError() {\r\n // Get first invalid form on page, if create is invalid it will always be scrolled to first as it is first on array.\r\n const formiId = this.validationService.getTopInvalidForm();\r\n // Get element offset to top of page.\r\n if (\r\n typeof document.getElementById(formiId) !== 'undefined' &&\r\n document.getElementById(formiId) != null\r\n ) {\r\n const scrollVal = this.getOffsetTop(document.getElementById(formiId));\r\n // Main scrollbar belongs to element with class name body.\r\n if (\r\n typeof document.getElementsByClassName('body')[0].scroll !== 'undefined'\r\n ) {\r\n document.getElementsByClassName('body')[0].scroll({\r\n top: scrollVal,\r\n behavior: 'smooth'\r\n });\r\n } else if (\r\n typeof document.getElementsByClassName('body')[0].scrollTop !==\r\n 'undefined'\r\n ) {\r\n document.getElementsByClassName('body')[0].scrollTop = scrollVal;\r\n }\r\n }\r\n }\r\n\r\n public getOffsetTop(elem) {\r\n let offsetTop = 0;\r\n do {\r\n if (!isNaN(elem.offsetTop)) {\r\n offsetTop += elem.offsetTop;\r\n }\r\n } while ((elem = elem.offsetParent));\r\n return offsetTop;\r\n }\r\n\r\n public onSubmit(isDraft = false, isAmendmentUpdate = false): void {\r\n const category = this.submission.category.categoryId as SubmissionCategory;\r\n if (\r\n category === SubmissionCategory.Amendments &&\r\n ((!this.formCleanWithAmendment && !isDraft) ||\r\n (!this.formClean && isDraft))\r\n ) {\r\n // save amendement changes\r\n if (isAmendmentUpdate) {\r\n this.submit(isDraft, category);\r\n }\r\n // Show amendments validation modal.\r\n else if (!this.formCleanWithAmendment && !isDraft) {\r\n if (!this.formClean) {\r\n this.amendmentIncompleteModel.toggle();\r\n this.validationService.activateValidation();\r\n this.scrollToError();\r\n } else {\r\n this.amendmentRequiredModel.toggle();\r\n }\r\n } else if (!this.formClean && isDraft) {\r\n this.amendmentIncompleteModel.toggle();\r\n this.validationService.activateValidation();\r\n this.scrollToError();\r\n }\r\n } else {\r\n if (this.form.valid || isDraft) {\r\n this.submit(isDraft, category);\r\n }\r\n }\r\n }\r\n\r\n private submit(isDraft = false, category) {\r\n const formData = new FormData();\r\n const data = this.form.value;\r\n\r\n data.isDraft = isDraft;\r\n\r\n if (data.coreContribution) {\r\n if (data.coreContribution.leaveToIntroduce) {\r\n data.coreContribution.leaveToIntroduce = moment\r\n .utc(data.coreContribution.leaveToIntroduce, ['DD/MM/YYYY'])\r\n .toISOString();\r\n }\r\n\r\n if (data.coreContribution.supportingInformation) {\r\n this.attachDocuments(\r\n data.coreContribution.supportingInformation,\r\n formData\r\n );\r\n }\r\n }\r\n\r\n data.submissionId = this.submission.submissionId;\r\n data.createdBy = this.config.getValue('UserId');\r\n data.createdByUserName = this.authService.getUsername();\r\n data.delegateRoleMemberId = this.config.getValue('DelegateRoleMemberId');\r\n data.validFrom = this.submission.validFrom;\r\n\r\n if (data.financialImplications) {\r\n data.financialImplications.forEach(fi => {\r\n this.attachDocuments(fi.supportingInformation, formData);\r\n });\r\n }\r\n\r\n if (data.supportingInformation) {\r\n this.attachDocuments(data.supportingInformation, formData);\r\n }\r\n\r\n if (data.amendmentContribution) {\r\n data.amendmentContribution.amendmentGroups.forEach(amd => {\r\n if (amd.commentAmendments) {\r\n amd.commentAmendments.forEach(commentAmd => {\r\n this.attachDocuments(commentAmd.supportingInformation, formData);\r\n });\r\n }\r\n this.attachDocuments(amd.supportingInformation, formData);\r\n });\r\n }\r\n formData.append('SubmissionData', JSON.stringify(data));\r\n\r\n this.submissionService.put(formData, category).subscribe(\r\n response => {\r\n if (response) {\r\n const finalDecision =\r\n data.coreContribution &&\r\n data.coreContribution.actionType === ActionType.Decision;\r\n const msg = this.translateService.instant(\r\n response.responseMessage,\r\n [response.submissionId]\r\n );\r\n\r\n this.toastService.addNotification(\r\n {\r\n title: isDraft\r\n ? 'SUBMISSION.SAVED'\r\n : finalDecision\r\n ? 'SUBMISSION.FINALDECISION'\r\n : 'SUBMISSION.SENTFORREVIEW',\r\n description: msg\r\n }\r\n );\r\n if (isDraft) {\r\n this.submissionService.refresh(this.submission.submissionId);\r\n } else {\r\n this.form.markAsPristine();\r\n this.navigationService.clearSelect(\r\n this.navigationService.currentParent\r\n );\r\n this.router.navigate(['/task-manager']);\r\n }\r\n }\r\n },\r\n err => {\r\n if (err.error.error === 'Concurrency Violation') {\r\n this.toastService.addNotification(\r\n { title: 'COMMON.SAVEERROR', description: 'COMMON.SAVEERROR-STALESUBMISSION' }\r\n );\r\n } else {\r\n this.toastService.addNotification(\r\n { title: 'COMMON.SAVEERROR', description: 'COMMON.SAVEERRORDESCRIPTION' }\r\n );\r\n }\r\n\r\n // this.router.navigate(['/task-manager']);\r\n }\r\n );\r\n }\r\n\r\n public canDeactivate(\r\n _component: SubmissionComponent,\r\n _currentRoute: ActivatedRouteSnapshot,\r\n _currentState: RouterStateSnapshot,\r\n nextState?: RouterStateSnapshot\r\n ) {\r\n if (\r\n !this.form.pristine &&\r\n (!this.readOnly ||\r\n this.submission.status.statusId ===\r\n SubmissionStatus.FinalDecisionMade) &&\r\n nextState.url !== '/create-submission'\r\n ) {\r\n this.unsavedChangesModal.toggle();\r\n return this.userDiscardResponse$\r\n .pipe(\r\n map(value => {\r\n if (value) {\r\n this.clearTaskManagerNavigation();\r\n return true;\r\n } else {\r\n this.initNavigation();\r\n return false;\r\n }\r\n })\r\n );\r\n }\r\n return true;\r\n }\r\n\r\n public onClose() {\r\n if (this.closeTab) {\r\n this.cameFromCloseButton = true;\r\n if (\r\n !this.form.pristine &&\r\n (!this.readOnly ||\r\n this.submission.status.statusId ===\r\n SubmissionStatus.FinalDecisionMade)\r\n ) {\r\n this.unsavedChangesModal.toggle();\r\n return this.userDiscardResponse$\r\n .pipe(\r\n map(value => {\r\n if (value) {\r\n return true;\r\n } else {\r\n this.initNavigation();\r\n return false;\r\n }\r\n })\r\n );\r\n } else {\r\n this.tryCloseTab();\r\n }\r\n } else {\r\n this.router.navigate(['task-manager']);\r\n }\r\n }\r\n\r\n public cancelChanges(toggle = true) {\r\n this.cameFromCloseButton = false;\r\n this.userDiscardResponse$.next(false);\r\n if (toggle) {\r\n this.unsavedChangesModal.toggle();\r\n }\r\n }\r\n\r\n public discardChanges() {\r\n this.userDiscardResponse$.next(true);\r\n this.unsavedChangesModal.toggle();\r\n if (this.closeTab && this.cameFromCloseButton) {\r\n this.tryCloseTab();\r\n }\r\n }\r\n\r\n private tryCloseTab() {\r\n const objWin = window.self;\r\n objWin.open('', '_self', '');\r\n objWin.close();\r\n if (!objWin.closed) {\r\n this.router.navigate(['task-manager']);\r\n }\r\n }\r\n\r\n public toggle(): void {\r\n this.createComponent.toggle();\r\n }\r\n\r\n public acknowledgeIncompleNotice() {\r\n this.amendmentIncompleteModel.toggle();\r\n }\r\n\r\n public acknowledgeReqNotice() {\r\n this.amendmentRequiredModel.toggle();\r\n }\r\n\r\n private clearTaskManagerNavigation() {\r\n this.navigationService.select(this.navigationService.currentNode);\r\n const taskManagerNode = this.navigationService.model.tree.find(\r\n x => x.title === 'Task manager' || 'TASKMANAGER.TITLE'\r\n );\r\n taskManagerNode.expanded = false;\r\n }\r\n\r\n private initNavigation() {\r\n const title = this.translateService.instant(\r\n 'SUBMISSION.TITLE',\r\n { categoryDesc: this.submission.category.descr, submissionId: this.submission.submissionId }\r\n );\r\n\r\n this.titleService.setTitle(title);\r\n const taskManagerNode = this.navigationService.model.tree.find(\r\n x => x.title === 'Task manager' || 'TASKMANAGER.TITLE'\r\n );\r\n this.navigationService.select(taskManagerNode);\r\n setTimeout(() => {\r\n const node = {\r\n title,\r\n path: `/submission/${this.submission.submissionId}`\r\n };\r\n this.navigationService.addNode(node);\r\n }, 420);\r\n }\r\n\r\n private attachDocuments(\r\n supportingInformation: Array,\r\n formData: FormData\r\n ) {\r\n if (supportingInformation === undefined || supportingInformation === null) {\r\n return;\r\n }\r\n\r\n supportingInformation.forEach(s => {\r\n if (s.attachedDocuments !== undefined && s.attachedDocuments !== null) {\r\n s.attachedDocuments.forEach(a => {\r\n formData.append(a.documentUniqueId, a.content, a.name);\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","import { SelectValue } from 'proceduralsystem-clientcomponents';\r\nimport { SupportingInformation } from './support-info/support-info.model';\r\n\r\nexport class Submission {\r\n submissionId: number;\r\n bill: Bill;\r\n createdAt: Date;\r\n assignedAt: Date;\r\n completedAt: Date;\r\n forum: House;\r\n subCategory: SubCategory;\r\n category: Category;\r\n status: Status;\r\n createdByUser: User;\r\n assignedToUser: User;\r\n completedByUser: User;\r\n contributions: Contribution[];\r\n financialImplications: FinancialImplication[];\r\n supportingInformation: SupportingInformation[];\r\n leaveToIntroduce: Date;\r\n finalDecision: string;\r\n validFrom: string;\r\n}\r\n\r\nexport class Contribution {\r\n contributionId: number;\r\n reviewerId: number;\r\n actionType: number;\r\n contributionStatusId: number;\r\n billDecisionId: number;\r\n billDecisionDescr: string;\r\n comment: string;\r\n isActive: boolean;\r\n leaveToIntroduce: Date;\r\n createdByUser: User;\r\n sendToDate: Date;\r\n supportingInformation: SupportingInformation[];\r\n}\r\n\r\nexport class FinancialImplication {\r\n type: FinancialImplicationType;\r\n decisions: SelectValue[];\r\n comments: FinancialImplicationComment[];\r\n}\r\n\r\nexport class FinancialImplicationType {\r\n id?: number;\r\n title?: string;\r\n}\r\n\r\nexport class FinancialImplicationComment {\r\n id?: number;\r\n comment?: string;\r\n typeId?: number;\r\n decisionId: number;\r\n decision?: string;\r\n user?: string;\r\n sendToDate?: string;\r\n supportingInformation: SupportingInformation[];\r\n}\r\n\r\nexport class Member {\r\n public chamberMemberId: number;\r\n public memberId: number;\r\n public memberName: string;\r\n public partyName: string;\r\n public organisation: string;\r\n}\r\n\r\nexport class ShortTitleEng {\r\n public billId: number;\r\n public shortTitleEng = '';\r\n}\r\n\r\nexport class BlgBill {\r\n public billId: number;\r\n public billNumber = '';\r\n public billYear: number;\r\n}\r\n\r\nexport class House {\r\n public houseId: number;\r\n public houseTitle: string;\r\n}\r\n\r\nexport class SubCategory {\r\n public subCategoryId: number;\r\n public categoryId: number;\r\n public descr: string;\r\n}\r\n\r\nexport class Bill {\r\n public shortTitleEng: ShortTitleEng;\r\n public sponsor: Member;\r\n public billInfo: BlgBill;\r\n public billUrl: string;\r\n}\r\n\r\nexport class Category {\r\n public categoryId: number;\r\n public descr: string;\r\n}\r\n\r\nexport class Status {\r\n public statusId: number;\r\n public descr: string;\r\n}\r\n\r\nexport enum SubmissionStatus {\r\n InDraft = 1,\r\n InProgress = 2,\r\n FinalDecisionMade = 3\r\n}\r\n\r\nexport enum ContributionStatus {\r\n Draft = 1,\r\n Completed = 2\r\n}\r\n\r\nexport enum SubmissionCategory {\r\n PMB = 1,\r\n PrivateBill = 2,\r\n FinancialImplications = 3,\r\n Amendments = 4,\r\n Other = 5\r\n}\r\n\r\nexport enum SubmissionView {\r\n Default,\r\n Amendment,\r\n FinancialImplication\r\n}\r\n\r\nexport enum ActionType {\r\n Review = 1,\r\n Decision = 2\r\n}\r\n\r\nexport enum UserRoleRank {\r\n BillsOffice = 10,\r\n BillReviewers = 20,\r\n POHouseServices = 30,\r\n AssistantClerkOfDail = 40,\r\n AssistantClerkOfSeanad = 40,\r\n ClerkOfSeanad = 50,\r\n ClerkOfDail = 50\r\n}\r\n\r\nexport class User {\r\n public userId: number;\r\n public adRoleMemberId: number;\r\n public userName: string;\r\n public firstName: string;\r\n public lastName: string;\r\n public title: string;\r\n public role: string;\r\n public roleRank: number;\r\n public userObjectId: string;\r\n}\r\n\r\nexport enum FinancialImplicationEnum {\r\n MoneyMessageRequired = 1,\r\n FinancialResolutionRequired = 2,\r\n MoneyBill = 3,\r\n ECBConsultationRequired = 4\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot } from '@angular/router';\r\nimport { map } from 'rxjs/operators';\r\nimport { SubmissionService } from './submission.service';\r\n\r\n@Injectable()\r\nexport class SubmissionResolve {\r\n\r\n constructor(private submissionService: SubmissionService) {}\r\n\r\n resolve(route: ActivatedRouteSnapshot) {\r\n return this.submissionService.get(route.params['id'])\r\n .pipe(\r\n map(data => {\r\n this.submissionService.submission$.next(data)\r\n })\r\n );\r\n }\r\n}\r\n","import { throwError as observableThrowError, Observable, BehaviorSubject } from 'rxjs';\r\nimport { Injectable, OnDestroy } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Submission, SubmissionCategory } from './submission.model';\r\nimport { AppConfigService } from '../services/app-config.service';\r\nimport { catchError } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class SubmissionService implements OnDestroy {\r\n private readonly controllerName = '/api/Submission';\r\n public submission$ = new BehaviorSubject(new Submission());\r\n public url = `${this.config.getValue('ApiEndpoint').url}` + this.controllerName;\r\n\r\n constructor(\r\n private httpClient: HttpClient,\r\n private config: AppConfigService,\r\n ) {}\r\n\r\n public get(id: number) {\r\n const adRoleMemberId = this.config.getValue('UserRoleMemberId');\r\n const url = `${this.url}/${id}?adRoleMemberId=${adRoleMemberId}`;\r\n\r\n return this.httpClient.get(url);\r\n }\r\n\r\n public refresh(id: number) {\r\n const adRoleMemberId = this.config.getValue('UserRoleMemberId');\r\n const url = `${this.url}/${id}?adRoleMemberId=${adRoleMemberId}`;\r\n\r\n return this.httpClient.get(url).subscribe(model => {\r\n this.submission$.next(model);\r\n });\r\n }\r\n\r\n public put(model: any, submissionType: SubmissionCategory): Observable {\r\n const url = this.getControllerUrl(submissionType);\r\n\r\n return this.httpClient.put(url, model)\r\n .pipe(catchError((error: any) => observableThrowError(error)));\r\n }\r\n\r\n private getControllerUrl(submissionType) {\r\n switch (submissionType) {\r\n case SubmissionCategory.Amendments:\r\n return `${this.config.getValue('ApiEndpoint').url}/api/amendment`;\r\n case SubmissionCategory.FinancialImplications:\r\n return `${this.config.getValue('ApiEndpoint').url}/api/financialImplications`;\r\n default:\r\n return this.url;\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.submission$.complete();\r\n }\r\n\r\n public scrollToSection(sectionId: string): void {\r\n const docElement = document.getElementById(sectionId);\r\n\r\n if (docElement == null) {\r\n console.log('Scroll Error: Cannot scroll to section; target element not found');\r\n } else {\r\n const scrollVal = this.getOffsetTop(docElement);\r\n if ( typeof document.getElementsByClassName('body')[0].scroll !== 'undefined' ) { // Chrome\r\n document.getElementsByClassName('body')[0].scroll({\r\n top: scrollVal,\r\n behavior: 'auto'\r\n });\r\n } else if (typeof document.getElementsByClassName('body')[0].scrollTop !== 'undefined') { // IE\r\n document.getElementsByClassName('body')[0].scrollTop = scrollVal;\r\n }\r\n }\r\n }\r\n\r\n private getOffsetTop(elem) {\r\n let offsetTop = -50;\r\n do {\r\n if (!isNaN(elem.offsetTop)) {\r\n offsetTop += elem.offsetTop;\r\n }\r\n } while ((elem = elem.offsetParent));\r\n return offsetTop;\r\n }\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { SupportingInformation, SupportingInformationOptionsEnum } from '../support-info/support-info.model';\r\nimport { SupportInfoService } from '../support-info/support-info.service';\r\nimport { SharedService } from '../../shared/shared.service';\r\nimport { AppConfigService } from '../../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-support-info-view',\r\n templateUrl: './support-info-view.component.html',\r\n styleUrls: ['./support-info-view.component.less']\r\n})\r\nexport class SupportInfoViewComponent implements OnInit {\r\n @Input() supportingInformation: SupportingInformation[];\r\n public textValue = '';\r\n public supportingInformationOptions = SupportingInformationOptionsEnum;\r\n\r\n constructor(\r\n private config: AppConfigService,\r\n private supportInfoService: SupportInfoService,\r\n private sharedService: SharedService) { }\r\n\r\n ngOnInit() {\r\n this.supportingInformation.forEach((supportInfo) => {\r\n if (supportInfo.establishedUnderSectionId) {\r\n this.getSection(supportInfo, supportInfo.submissionIdLink, supportInfo.establishedUnderSectionId);\r\n }\r\n });\r\n }\r\n\r\n getSection(obj, submissionId, sectionId) {\r\n if (submissionId != null) {\r\n this.sharedService.getSubmissionSections(submissionId).subscribe(x => {\r\n const t = x.filter(y => y.value === sectionId);\r\n if (t.length === 1) {\r\n obj.establishedUnderSectionName = t[0].title;\r\n }\r\n }\r\n )\r\n }\r\n return '';\r\n }\r\n\r\n public getBillsBaseUrl(): string {\r\n return `${this.config.getValue('BillsAdminWebUrl')}/edit/`;\r\n }\r\n\r\n public onDownloadDocument(info: any) {\r\n const regexp = new RegExp('\\.(PDF|doc|odt) &', 'i');\r\n const match = info.documentDescr.match(regexp);\r\n if (match) {\r\n info.documentDescr = 'documents.zip';\r\n }\r\n this.supportInfoService.downloadDocument(null, info.documentId, info.documentDescr);\r\n }\r\n\r\n public getFileExtension(fileName: any): string | undefined {\r\n if (!fileName) {\r\n return;\r\n }\r\n\r\n let extension;\r\n\r\n if (fileName.indexOf('.odt') !== -1) {\r\n extension = 'odt';\r\n } else if (fileName.indexOf('.pdf') !== -1) {\r\n extension = 'pdf';\r\n } else {\r\n extension = 'doc';\r\n }\r\n return extension;\r\n }\r\n}\r\n","import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core';\r\nimport { UntypedFormGroup } from '@angular/forms';\r\nimport { SupportingInformationOptionsEnum } from '../support-info.model';\r\nimport { SupportInfoService } from '../support-info.service';\r\nimport { SharedService } from '../../../shared/shared.service';\r\nimport { AppConfigService } from '../../../services/app-config.service';\r\n\r\n@Component({\r\n selector: 'oir-existing-support-info',\r\n templateUrl: './existing-support-info.component.html',\r\n styleUrls: ['./existing-support-info.component.less']\r\n})\r\nexport class ExistingSupportInfoComponent implements OnInit {\r\n @Input() form: UntypedFormGroup;\r\n @Input() index: number;\r\n @Output() delete = new EventEmitter();\r\n\r\n public sectionName = '';\r\n public supportingInformationOptions = SupportingInformationOptionsEnum;\r\n\r\n constructor(\r\n private supportInfoService: SupportInfoService,\r\n private sharedService: SharedService,\r\n private config: AppConfigService\r\n ) { }\r\n\r\n ngOnInit() {\r\n if (this.form.get('submissionIdLink').value) {\r\n if (this.form.get('establishedUnderSectionId').value) {\r\n this.getSection(this.form.get('submissionIdLink').value, this.form.get('establishedUnderSectionId').value)\r\n // IF NewItem, => unsaved, not in DB; => no AmendmentGroupID/ F_I_ID => no accessible description in model!\r\n // => getSectionNames for submissionID, and filter by generic \"establishedUnderSectionId\".\r\n }\r\n }\r\n }\r\n\r\n getBillsBaseUrl(): string {\r\n return `${this.config.getValue('BillsAdminWebUrl')}/edit/`;\r\n }\r\n\r\n getSection(submissionId, sectionId) {\r\n if (submissionId != null) {\r\n this.sharedService.getSubmissionSections(submissionId).subscribe(x => {\r\n const t = x.filter(y => y.value === sectionId);\r\n if (t.length === 1) {\r\n this.sectionName = t[0].title;\r\n }\r\n }\r\n )\r\n }\r\n }\r\n\r\n public onDelete() {\r\n this.delete.emit(this.index);\r\n }\r\n\r\n public onDownloadDocument(fileName: any) {\r\n const regexp = new RegExp('\\.(PDF|doc|odt) &', 'i');\r\n const match = fileName.match(regexp);\r\n\r\n if (match) {\r\n fileName = 'documents.zip';\r\n }\r\n\r\n this.supportInfoService.downloadDocument(null, this.form.get('documentId').value, fileName);\r\n }\r\n\r\n public getFileExtension(fileName: any): string {\r\n let extension;\r\n const regexp = new RegExp('\\.(pdf|doc|odt) &', 'i');\r\n const match = fileName.match(regexp);\r\n\r\n if (match) {\r\n extension = 'multi'\r\n } else if (fileName.indexOf('.odt') !== -1) {\r\n extension = 'odt';\r\n } else if (fileName.indexOf('.pdf') !== -1) {\r\n extension = 'pdf';\r\n } else {\r\n extension = 'doc';\r\n }\r\n return extension;\r\n }\r\n\r\n get billIdLink(): number {\r\n return this.form.get('billIdLink').value;\r\n }\r\n}\r\n","import {\r\n Component,\r\n OnInit,\r\n AfterViewInit,\r\n forwardRef,\r\n Input,\r\n OnDestroy,\r\n ViewChild\r\n} from '@angular/core';\r\nimport {\r\n ControlValueAccessor,\r\n UntypedFormGroup,\r\n UntypedFormBuilder,\r\n Validators,\r\n NG_VALUE_ACCESSOR,\r\n UntypedFormArray\r\n} from '@angular/forms';\r\nimport {\r\n AddSupportInfoModel,\r\n SupportingInformation,\r\n SupportingInformationOptionsEnum,\r\n AddSupportingInformation\r\n} from './support-info.model';\r\nimport { Subject } from 'rxjs';\r\nimport { SubmissionService } from '../submission.service';\r\nimport { LinkSubmissionComponent } from '../../shared/link-submission.component';\r\nimport * as moment from 'moment';\r\nimport { ValidModel } from '../../models/app.models';\r\nimport { ValidationService } from '../../shared/validation.service';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'oir-support-info',\r\n templateUrl: './support-info.component.html',\r\n styleUrls: ['./support-info.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => SupportInfoComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class SupportInfoComponent\r\n implements OnInit, OnDestroy, AfterViewInit, ControlValueAccessor {\r\n @Input() contributionId;\r\n @Input() submissionId;\r\n @Input() formTouchedValidation = false;\r\n @ViewChild(LinkSubmissionComponent) linkSubmission: LinkSubmissionComponent;\r\n\r\n public formID: number;\r\n public form: UntypedFormGroup;\r\n public supportInfoForm: UntypedFormGroup;\r\n public refDataModel: AddSupportInfoModel = new AddSupportInfoModel();\r\n public supportingInformationOptions = SupportingInformationOptionsEnum;\r\n public addSupportingInformation = AddSupportingInformation;\r\n public selectedTypeDesc = '';\r\n public obs$ = new Subject();\r\n private subscription;\r\n\r\n public allowedMimeType = [\r\n 'application/vnd.oasis.opendocument.text',\r\n 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\r\n 'text/plain',\r\n 'application/x-excel',\r\n 'application/x-msexcel',\r\n 'application/vnd.ms-excel',\r\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\r\n 'text/richtext',\r\n 'application/pdf',\r\n 'text/enriched',\r\n 'application/rtf',\r\n 'application/x-rtf',\r\n 'text/rtf',\r\n 'text/richtext',\r\n 'application/msword',\r\n 'application/doc',\r\n 'application/x-soffice'\r\n ];\r\n propagateChange = (_: SupportingInformation[]) => {};\r\n propagateTouch = (_: any) => {};\r\n\r\n constructor(\r\n private formBuilder: UntypedFormBuilder,\r\n private submissionService: SubmissionService,\r\n private validationService: ValidationService\r\n ) {\r\n this.formID = Math.floor(Math.random() * 90000) + 10000;\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.formBuilder.group({\r\n supportingInformation: this.formBuilder.array([])\r\n });\r\n\r\n this.supportInfoForm = this.newFormGroup();\r\n\r\n\r\n this.subscription = this.submissionService.submission$.subscribe(model => {\r\n this.obs$.next(this.addSupportingInformation.SelectFromOptions);\r\n this.refDataModel = model.supportInformationRefData;\r\n });\r\n\r\n this.obs$.subscribe(() => {\r\n if (+this.supportInfoForm.get('supportInfoTypeId').value > 0) {\r\n this.selectedTypeDesc = this.refDataModel.supportInfoTypes.find(\r\n x => x.value === this.supportInfoForm.get('supportInfoTypeId').value\r\n ).title;\r\n }\r\n });\r\n\r\n this.form.valueChanges.subscribe(() => {\r\n if (this.form.touched) {\r\n this.makeValidationChange(!this.form.touched);\r\n }\r\n this.propagateChange(this.form.get('supportingInformation').value)\r\n });\r\n\r\n this.supportInfoForm.get('supportInfoTypeId').valueChanges.subscribe(\r\n (infoType: number) => {\r\n const principleIds = this.supportInfoForm.get('principleIds');\r\n const existingDocument = this.supportInfoForm.get('existingDocument');\r\n const url = this.supportInfoForm.get('url');\r\n const urlDesc = this.supportInfoForm.get('urlDesc');\r\n const standingOrderIds = this.supportInfoForm.get('standingOrderIds');\r\n const salientRulingIds = this.supportInfoForm.get('salientRulingIds');\r\n const articlesIds = this.supportInfoForm.get('articlesIds');\r\n const docDesc = this.supportInfoForm.get('documentUserDescription');\r\n\r\n if (this.linkSubmission !== undefined) {\r\n this.linkSubmission.resetTheForm();\r\n }\r\n\r\n this.clearValidators(principleIds, existingDocument, url, urlDesc, standingOrderIds,\r\n salientRulingIds, articlesIds, docDesc);\r\n this.resetControls(principleIds, existingDocument, url, urlDesc, standingOrderIds,\r\n salientRulingIds, articlesIds, docDesc);\r\n\r\n switch (+infoType) {\r\n case SupportingInformationOptionsEnum.EstablishPrinciple: {\r\n this.supportInfoForm\r\n .get('principleIds')\r\n .setValidators([\r\n Validators.required\r\n ]);\r\n this.supportInfoForm.get('principleIds').updateValueAndValidity();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.ExistingDocument: {\r\n this.supportInfoForm\r\n .get('existingDocument')\r\n .setValidators([\r\n Validators.required\r\n ]);\r\n this.supportInfoForm\r\n .get('documentUserDescription')\r\n .setValidators([\r\n Validators.required\r\n ]);\r\n this.supportInfoForm.get('existingDocument').updateValueAndValidity();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.ExternalLink: {\r\n this.supportInfoForm\r\n .get('url')\r\n .setValidators([\r\n Validators.required,\r\n Validators.maxLength(2048)\r\n ]);\r\n this.supportInfoForm\r\n .get('urlDesc')\r\n .setValidators([\r\n Validators.required,\r\n Validators.maxLength(200)\r\n ]);\r\n this.supportInfoForm.get('url').updateValueAndValidity();\r\n this.supportInfoForm.get('urlDesc').updateValueAndValidity();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.StandingOrder: {\r\n this.supportInfoForm\r\n .get('standingOrderIds')\r\n .setValidators([\r\n Validators.required\r\n ]);\r\n this.supportInfoForm.get('standingOrderIds').updateValueAndValidity();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.SalientRuling: {\r\n this.supportInfoForm\r\n .get('salientRulingIds')\r\n .setValidators([\r\n Validators.required\r\n ]);\r\n this.supportInfoForm.get('salientRulingIds').updateValueAndValidity();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.ArticlesOfTheConstitution: {\r\n this.supportInfoForm\r\n .get('articlesIds')\r\n .setValidators([\r\n Validators.required\r\n ]);\r\n this.supportInfoForm.get('articlesIds').updateValueAndValidity();\r\n break;\r\n }\r\n }\r\n this.supportInfoForm.markAsPristine();\r\n this.supportInfoForm.markAsUntouched();\r\n }\r\n );\r\n }\r\n\r\n get supportingInfoFormData() { return this.form.get('supportingInformation'); }\r\n\r\n ngAfterViewInit() {\r\n this.obs$\r\n .pipe(filter(r => r === this.addSupportingInformation.SelectFromOptions))\r\n .subscribe(r => {\r\n this.supportInfoForm.reset();\r\n });\r\n setTimeout(() => { this.obs$.next(this.addSupportingInformation.SelectFromOptions);\r\n });\r\n }\r\n\r\n onSaveSupportingInfo() {\r\n this.form.markAsTouched();\r\n this.makeValidationChange();\r\n switch (+this.supportInfoForm.get('supportInfoTypeId').value) {\r\n case SupportingInformationOptionsEnum.EstablishPrinciple: {\r\n this.addPrinciples();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.ExistingDocument: {\r\n this.addLinkToRelatedDocument();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.NewDocument: {\r\n this.addOtherDocument();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.LinkToASubmission: {\r\n this.addLinkToSubimssion();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.ExternalLink: {\r\n this.addRelatedLink();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.StandingOrder: {\r\n this.addStandingOrder();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.SalientRuling: {\r\n this.addSaliantRuling();\r\n break;\r\n }\r\n case SupportingInformationOptionsEnum.ArticlesOfTheConstitution: {\r\n this.addarticlesofTheConstitution();\r\n break;\r\n }\r\n }\r\n setTimeout(() => {\r\n this.onCloseForm();\r\n this.supportInfoForm.markAsPristine();\r\n });\r\n }\r\n\r\n public onCloseForm(): void {\r\n this.obs$.next(this.addSupportingInformation.SelectFromOptions);\r\n }\r\n\r\n public addPrinciples(): void {\r\n for (const p of this.supportInfoForm.get('principleIds').value) {\r\n const newInfo = new SupportingInformation();\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.principleId = p.id;\r\n newInfo.principleDesc = this.refDataModel.principles.filter(\r\n l => l.value.id === p.id\r\n )[0].value.title;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n }\r\n\r\n public addLinkToRelatedDocument(): void {\r\n const newInfo = new SupportingInformation();\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.documentId = this.supportInfoForm.get('existingDocument').value.documentId;\r\n newInfo.documentUserDescription = this.supportInfoForm.get('documentUserDescription').value;\r\n newInfo.documentDescr = this.supportInfoForm.get('existingDocument').value.name;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n\r\n public addOtherDocument(): void {\r\n const newInfo = new SupportingInformation();\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.documentUserDescription = newInfo.documentLanguageId = this.supportInfoForm.get(\r\n 'newDocument'\r\n ).value.documentUserDescription;\r\n newInfo.documentLanguageId = this.supportInfoForm.get(\r\n 'newDocument'\r\n ).value.documentLanguageId;\r\n newInfo.documentDate = moment.utc(this.supportInfoForm.get(\r\n 'newDocument'\r\n ).value.documentDate, ['DD/MM/YYYY']).toISOString();\r\n newInfo.attachedDocuments = this.supportInfoForm.get(\r\n 'newDocument'\r\n ).value.attachedDocuments;\r\n newInfo.documentUniqueId = this.supportInfoForm.get(\r\n 'newDocument'\r\n ).value.documentUniqueId;\r\n newInfo.documentDescr = newInfo.attachedDocuments[0].name;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n\r\n public addLinkToSubimssion(): void {\r\n const newInfo = new SupportingInformation();\r\n newInfo.billIdLink = this.supportInfoForm.get(\r\n 'submissionLinking'\r\n ).value.establishedUnderBill.value;\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.submissionIdLink = this.supportInfoForm.get(\r\n 'submissionLinking'\r\n ).value.establishedUnderSubmissionId;\r\n newInfo.shortTitleEngLink = this.supportInfoForm.get(\r\n 'submissionLinking'\r\n ).value.establishedUnderBill.title;\r\n\r\n newInfo.establishedUnderSectionId = this.supportInfoForm.get(\r\n 'submissionLinking'\r\n ).value.establishedUnderSectionId;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n\r\n public addRelatedLink(): void {\r\n const newInfo = new SupportingInformation();\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.url = this.supportInfoForm.get('url').value;\r\n if (newInfo.url.indexOf('http') === -1) {\r\n newInfo.url = 'http://' + newInfo.url;\r\n }\r\n newInfo.urlDesc = this.supportInfoForm.get('urlDesc').value;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n\r\n public addStandingOrder(): void {\r\n for (const so of this.supportInfoForm.get('standingOrderIds').value) {\r\n const newInfo = new SupportingInformation();\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.standingOrderId = so.id;\r\n newInfo.standingOrderReference = so.soReference;\r\n newInfo.standingOrderDescr = this.refDataModel.standingOrders.filter(\r\n l => l.value.id === so.id\r\n )[0].value.title;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n }\r\n\r\n public addSaliantRuling(): void {\r\n for (const sr of this.supportInfoForm.get('salientRulingIds').value) {\r\n const newInfo = new SupportingInformation();\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.salientRulingId = sr.id;\r\n newInfo.salientRulingReference = sr.srReference;\r\n newInfo.salientRulingDescr = this.refDataModel.salientRulings.filter(\r\n l => l.value.id === sr.id\r\n )[0].value.title;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n }\r\n\r\n public addarticlesofTheConstitution(): void {\r\n for (const ac of this.supportInfoForm.get('articlesIds').value) {\r\n const newInfo = new SupportingInformation();\r\n newInfo.supportInfoTypeId = this.supportInfoForm.get(\r\n 'supportInfoTypeId'\r\n ).value;\r\n newInfo.constitutionArticleId = ac.id;\r\n newInfo.constitutionArticleReference = ac.coReference;\r\n newInfo.constitutionArticleDescr = this.refDataModel.articlesofTheConstitution.filter(\r\n l => l.value.id === ac.id\r\n )[0].value.title;\r\n this.addSupportingInfo(newInfo);\r\n }\r\n }\r\n\r\n public addSupportingInfo(model: SupportingInformation) {\r\n const control = this.form.get('supportingInformation');\r\n const formControl = this.formBuilder.group({\r\n supportInfoId: 0,\r\n contributionId: '',\r\n submissionId: '',\r\n billId: 0,\r\n supportInfoTypeId: '',\r\n commentFinancialId: '',\r\n commentAmendmentId: '',\r\n supportinfoTypeDescr: '',\r\n standingOrderId: '',\r\n standingOrderReference: '',\r\n standingOrderDescr: '',\r\n salientRulingId: '',\r\n salientRulingReference: '',\r\n salientRulingDescr: '',\r\n constitutionArticleId: '',\r\n constitutionArticleReference: '',\r\n constitutionArticleDescr: '',\r\n principleId: '',\r\n principleDesc: '',\r\n documentId: '',\r\n documentTypeId: 0,\r\n documentDescr: '',\r\n documentDate: '',\r\n documentTypeDescr: '',\r\n documentLanguageId: 0,\r\n documentLanguageDescr: '',\r\n documentUniqueId: '',\r\n url: '',\r\n urlDesc: '',\r\n establishedUnderSectionId: '',\r\n financialImplicationTypeIdLink: '',\r\n financialImplicationTypeDescr: '',\r\n amendmentGroupIdLink: '',\r\n amendmentGroupTitle: '',\r\n submissionIdLink: '',\r\n shortTitleEngLink: '',\r\n submissionDesc: '',\r\n attachedDocuments: [],\r\n documentUserDescription: '',\r\n billIdLink: 0,\r\n });\r\n formControl.patchValue(model);\r\n\r\n if (this.isUnique(control, formControl)) {\r\n control.push(formControl);\r\n }\r\n }\r\n\r\n public isUnique(existingSupportInfo: UntypedFormArray, model: any): boolean {\r\n switch (+model.get('supportInfoTypeId').value.toString()) {\r\n case SupportingInformationOptionsEnum.EstablishPrinciple: {\r\n return (\r\n existingSupportInfo.controls.find(\r\n i => i.value.principleId === model.get('principleId').value\r\n ) === undefined\r\n );\r\n }\r\n case SupportingInformationOptionsEnum.ExistingDocument: {\r\n return (\r\n existingSupportInfo.controls.find(\r\n i => i.value.documentId === model.get('documentId').value\r\n ) === undefined\r\n );\r\n }\r\n case SupportingInformationOptionsEnum.NewDocument: {\r\n // Cannot check\r\n return true;\r\n }\r\n case SupportingInformationOptionsEnum.LinkToASubmission: {\r\n return (\r\n existingSupportInfo.controls.find(\r\n i =>\r\n i.value.submissionIdLink === model.get('submissionIdLink').value &&\r\n i.value.establishedUnderSectionId === model.get('establishedUnderSectionId').value) === undefined\r\n );\r\n }\r\n case SupportingInformationOptionsEnum.ExternalLink: {\r\n return (\r\n existingSupportInfo.controls.find(\r\n i => i.value.url === model.get('url').value\r\n ) === undefined\r\n );\r\n }\r\n case SupportingInformationOptionsEnum.StandingOrder: {\r\n return (\r\n existingSupportInfo.controls.find(\r\n i => i.value.standingOrderId === model.get('standingOrderId').value\r\n ) === undefined\r\n );\r\n }\r\n case SupportingInformationOptionsEnum.SalientRuling: {\r\n return (\r\n existingSupportInfo.controls.find(\r\n i => i.value.salientRulingId === model.get('salientRulingId').value\r\n ) === undefined\r\n );\r\n }\r\n case SupportingInformationOptionsEnum.ArticlesOfTheConstitution: {\r\n return (\r\n existingSupportInfo.controls.find(\r\n i =>\r\n i.value.constitutionArticleId ===\r\n model.get('constitutionArticleId').value\r\n ) === undefined\r\n );\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n public deleteSupportingInformation(index: number) {\r\n const control = this.form.controls['supportingInformation'];\r\n control.removeAt(index);\r\n }\r\n\r\n public newFormGroup(): UntypedFormGroup {\r\n return this.formBuilder.group({\r\n supportInfoTypeId: 0,\r\n supportInfoTypeDescr: '',\r\n principleIds: [[]],\r\n documentId: [null],\r\n salientRulingIds: [[]],\r\n standingOrderIds: [[]],\r\n articlesIds: [[]],\r\n shortTitleEngLink: '',\r\n newFileContent: '',\r\n attachedDocuments: [],\r\n url: [null],\r\n urlDesc: [null],\r\n existingDocument: [null],\r\n documentUserDescription: '',\r\n submissionLinking : [{\r\n establishedUnderBill: [],\r\n establishedUnderSubmissionId: null,\r\n establishedUnderSectionId: null\r\n }],\r\n newDocument: this.formBuilder.control({\r\n documentTypeId: 0,\r\n submissionId: 0,\r\n otherDescription: '',\r\n documentLanguageId: 0,\r\n documentUserDescription: '',\r\n documentDate: '',\r\n documentUniqueId: '',\r\n newFileContent: '',\r\n attachedDocuments: []\r\n })\r\n });\r\n }\r\n\r\n private clearValidators(...controls: Array) {\r\n controls.forEach(x => x.clearValidators());\r\n }\r\n private resetControls(...controls: Array) {\r\n controls.forEach(x => x.reset());\r\n }\r\n\r\n public writeValue(supportingInfo: SupportingInformation[]): void {\r\n if (supportingInfo) {\r\n const infoFGs = supportingInfo?.map(info => this.formBuilder.group(info));\r\n const infoFormArray = this.formBuilder.array(infoFGs);\r\n this.form.setControl('supportingInformation', infoFormArray);\r\n } else {\r\n this.form.setControl('supportingInformation', this.formBuilder.array([]));\r\n this.onCloseForm();\r\n }\r\n }\r\n\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n public makeValidationChange(clean = false) {\r\n if (this.formTouchedValidation) {\r\n const mValidation = new ValidModel();\r\n mValidation.id = this.formID;\r\n mValidation.clean = clean;\r\n this.validationService.markForm(mValidation);\r\n }\r\n }\r\n}\r\n","import { FileItem } from 'ng2-file-upload';\r\n\r\nexport class SelectItem {\r\n value: any;\r\n title: any;\r\n heading: any;\r\n}\r\nexport enum RelatedDocumentEnum {\r\n Other = '5'\r\n}\r\nexport enum SupportingInformationOptionsEnum {\r\n EstablishPrinciple = 1,\r\n ExistingDocument = 2,\r\n NewDocument = 3,\r\n LinkToASubmission = 4,\r\n ExternalLink = 5,\r\n StandingOrder = 6,\r\n SalientRuling = 7,\r\n ArticlesOfTheConstitution = 8\r\n}\r\n\r\nexport class Principle {\r\n public principleId: number;\r\n public descr: string;\r\n}\r\n\r\nexport class RefDataModel {\r\n public SupportInfoTypes: any;\r\n public RelatedDocuments: any;\r\n public OtherRelatedDocTypes: any;\r\n public Languages: any;\r\n public PrinciplesList: any;\r\n public SaliantRulingList: any;\r\n public StandingOrdersList: any;\r\n public ArticlesOfTheConstList: any;\r\n}\r\n\r\nexport class SupportingInformation {\r\n supportInfoId: number;\r\n supportInfoTypeId: number;\r\n contributionId: number;\r\n commentFinancialId: number;\r\n commentAmendmentId: number;\r\n submissionCategory: string;\r\n supportinfoTypeDescr: string;\r\n standingOrderId: number;\r\n standingOrderReference: string;\r\n standingOrderDescr: string;\r\n salientRulingId: number;\r\n salientRulingReference: string;\r\n salientRulingDescr: string;\r\n constitutionArticleId: number;\r\n constitutionArticleReference: string;\r\n constitutionArticleDescr: string;\r\n principleId: number;\r\n principleDesc: string;\r\n documentId: number;\r\n documentTypeId: number;\r\n documentDescr: string;\r\n documentUserDescription: string;\r\n documentDate: string;\r\n documentTypeDescr: string;\r\n documentLanguageId: number;\r\n documentLanguageDescr: string;\r\n documentUniqueId: number;\r\n url: string;\r\n urlDesc: string;\r\n submissionIdLink: string;\r\n submissionDesc: string;\r\n establishedUnderSectionId: number;\r\n establishedUnderSectionName: string;\r\n financialImplicationTypeIdLink: number;\r\n financialImplicationTypeDescr: string;\r\n amendmentGroupIdLink: number;\r\n amendmentGroupTitle: string;\r\n shortTitleEngLink: string;\r\n billId: number;\r\n isActive: number;\r\n newFileContent: FileItem[];\r\n attachedDocuments: FileAttachment[];\r\n billIdLink: number;\r\n}\r\n\r\nexport class FileAttachment {\r\n documentUniqueId: string;\r\n name: string;\r\n content: File;\r\n}\r\n\r\n\r\nexport enum AddSupportingInformation {\r\n SelectFromOptions = 1,\r\n AddingInfo = 2\r\n}\r\nexport class AddSupportInfoModel {\r\n public supportInfoTypes: Array = [];\r\n public relatedDocuments: Array = [];\r\n public otherRelatedDocTypes: Array = [];\r\n public languages: Array = [];\r\n public principles: Array = [];\r\n public salientRulings: Array = [];\r\n public standingOrders: Array = [];\r\n public articlesofTheConstitution: Array = [];\r\n public allowedMimeType: String[];\r\n}\r\n\r\nexport class RelatedDocument {\r\n documentTypeId: number;\r\n submissionId: number;\r\n otherDescription: string;\r\n documentLanguageId: number;\r\n documentUserDescription: string;\r\n documentDate: string;\r\n fileContent: string;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { AppConfigService } from \"../../../app/services/app-config.service\";\r\nimport { OirAuthService } from \"proceduralsystem-clientcomponents\";\r\n\r\n@Injectable()\r\nexport class SupportInfoService {\r\n\r\n constructor(\r\n private config: AppConfigService,\r\n private authService: OirAuthService,\r\n ) {}\r\n\r\n public downloadDocument(\r\n fileId: number,\r\n documentId: number,\r\n fileName: string\r\n ) {\r\n const params =\r\n documentId !== null ? `documentId=` + documentId : `fileId=` + fileId;\r\n const file =\r\n `${this.config.getValue(\"ApiEndpoint\").url}/api/Document?` + params;\r\n\r\n // Internet Explorer 6-11\r\n const isIE = /*@cc_on!@*/ false || !!(document as any).documentMode;\r\n if (isIE) {\r\n this.downloadFileIE(file, function (blob) {\r\n const url = URL.createObjectURL(blob);\r\n (window.navigator as any).msSaveOrOpenBlob(blob, fileName);\r\n });\r\n return;\r\n }\r\n this.downloadFile(file, fileName);\r\n }\r\n\r\n private async downloadFile(url, fileName) {\r\n const anchor = document.createElement(\"a\");\r\n document.body.appendChild(anchor);\r\n const accessToken = await this.authService.getAccessToken().toPromise();\r\n const headers = new Headers();\r\n headers.append(\r\n \"Authorization\",\r\n `Bearer ${accessToken}`\r\n );\r\n fetch(url, { headers })\r\n .then((response) => response.blob())\r\n .then((blobby) => {\r\n const objectUrl = window.URL.createObjectURL(blobby);\r\n anchor.href = objectUrl;\r\n anchor.download = fileName;\r\n anchor.click();\r\n window.URL.revokeObjectURL(objectUrl);\r\n });\r\n }\r\n\r\n private async downloadFileIE(url, success) {\r\n const accessToken = await this.authService.getAccessToken().toPromise();\r\n const xhr = new XMLHttpRequest();\r\n xhr.open(\"GET\", url, true);\r\n xhr.setRequestHeader(\r\n \"Authorization\",\r\n `Bearer ${accessToken}`\r\n );\r\n xhr.responseType = \"blob\";\r\n xhr.onreadystatechange = function () {\r\n if (xhr.readyState === 4) {\r\n if (success) {\r\n success(xhr.response);\r\n }\r\n }\r\n };\r\n xhr.send(null);\r\n }\r\n}\r\n","import { FileAttachment } from './../support-info.model';\r\nimport { AfterViewInit, Component, OnInit, Input, forwardRef, ViewChild, Output, EventEmitter } from '@angular/core';\r\nimport {\r\n ControlValueAccessor,\r\n UntypedFormGroup,\r\n UntypedFormBuilder,\r\n NG_VALUE_ACCESSOR,\r\n Validators\r\n} from '@angular/forms';\r\nimport {\r\n RelatedDocument,\r\n SupportingInformationOptionsEnum,\r\n RelatedDocumentEnum\r\n} from '../support-info.model';\r\nimport * as moment from 'moment';\r\nimport { SelectValue } from 'proceduralsystem-clientcomponents';\r\nimport { FileUploader } from 'ng2-file-upload';\r\n\r\n@Component({\r\n selector: 'oir-upload-other-related-doc',\r\n templateUrl: './upload-other-related-doc.component.html',\r\n styleUrls: ['./upload-other-related-doc.component.less'],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => UploadOtherRelatedDocComponent),\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class UploadOtherRelatedDocComponent implements OnInit, ControlValueAccessor, AfterViewInit {\r\n @Input() documentLanguages = new Array>();\r\n @Input() otherTypes = new Array>();\r\n @Input() queueLimit = 1;\r\n @Input() allowedMimeTypes;\r\n @Output() onUploadDocument: EventEmitter = new EventEmitter(false);\r\n @Output() onFormClose: EventEmitter = new EventEmitter(false);\r\n\r\n @ViewChild('otherInput') otherInput: any;\r\n\r\n public extension = null;\r\n public documentUniqueId = moment().format('YYYY-DD-MM h:mm:ss');\r\n public otherUploader: FileUploader\r\n public relatedDocumentForm: UntypedFormGroup;\r\n\r\n propagateChange = (_: RelatedDocument) => {};\r\n propagateTouch = (_: any) => {};\r\n\r\n constructor(private formBuilder: UntypedFormBuilder) {}\r\n\r\n ngAfterViewInit(): void {\r\n this.otherUploader = new FileUploader({\r\n url: \"\",\r\n allowedMimeType: this.allowedMimeTypes,\r\n queueLimit: this.queueLimit\r\n });\r\n }\r\n\r\n writeValue(document: RelatedDocument): void {\r\n if (document) {\r\n document.documentDate = moment.utc(document.documentDate, ['DD/MM/YYYY']).toISOString();\r\n this.relatedDocumentForm.patchValue(document, { emitEvent: false });\r\n }\r\n }\r\n registerOnChange(fn) {\r\n this.propagateChange = fn;\r\n }\r\n registerOnTouched(fn) {\r\n this.propagateTouch = fn;\r\n }\r\n\r\n ngOnInit() {\r\n this.relatedDocumentForm = this.formBuilder.group({\r\n supportInfoTypeId: SupportingInformationOptionsEnum.NewDocument,\r\n documentTypeId: RelatedDocumentEnum.Other,\r\n\r\n documentLanguageId: [null, Validators.required],\r\n documentDate: ['', Validators.required],\r\n documentUniqueId: this.documentUniqueId,\r\n documentUserDescription: ['', Validators.required],\r\n newFileContent: new FormData(),\r\n docDesc: '',\r\n attachedDocuments: []\r\n });\r\n this.relatedDocumentForm.valueChanges.subscribe((document) =>\r\n this.propagateChange(document)\r\n );\r\n }\r\n\r\n private uploadFileData() {\r\n const files = Array();\r\n\r\n this.otherUploader.queue.forEach(x => {\r\n if (x._file.type !== '') {\r\n const f = new FileAttachment();\r\n f.name = x._file.name;\r\n f.content = x._file;\r\n f.documentUniqueId = this.documentUniqueId;\r\n files.push(f);\r\n }\r\n });\r\n\r\n this.relatedDocumentForm.get('attachedDocuments').setValue(files);\r\n this.relatedDocumentForm.get('documentUniqueId').setValue(this.documentUniqueId);\r\n }\r\n\r\n replaceFile() {\r\n if (this.otherUploader.queue.length > this.queueLimit) {\r\n this.deleteFile(this.otherUploader.queue[0]);\r\n }\r\n this.otherInput.nativeElement.value = '';\r\n }\r\n\r\n private deleteFile(item: any) {\r\n item.remove();\r\n }\r\n\r\n async upload() {\r\n this.uploadFileData();\r\n this.onUploadDocument.emit(true);\r\n setTimeout(() => {\r\n this.relatedDocumentForm.reset();\r\n });\r\n }\r\n\r\n public noFilesUploaded(): any {\r\n return this.otherUploader.queue.length === 0;\r\n }\r\n}\r\n","export class FilterModel {\r\n skip: number;\r\n take = 20;\r\n tabType: TabType;\r\n currentPage: number;\r\n}\r\n\r\nexport class TaskManagerModel {\r\n actionRequiredCount = 0;\r\n allActiveCount = 0;\r\n unassignedCount = 0;\r\n shouldDisplayUnassignedTab: boolean;\r\n tabType = TabType.ActionRequired;\r\n tasksResult: TaskModel[];\r\n currentPage: number;\r\n}\r\n\r\nexport class TaskModel {\r\n submissionId: number;\r\n submissionType?: string;\r\n submissionMovement?: number;\r\n billId?: number;\r\n billTitle: string;\r\n billNumber: string;\r\n billYear?: number;\r\n categoryId: number;\r\n category: string;\r\n subCategory: string;\r\n forum: string;\r\n currentUserOrRole: string;\r\n createdOrAssignedAt?: Date;\r\n shouldDisplayCreatedBy: boolean;\r\n isPriority: boolean;\r\n isClaimable: boolean;\r\n isInDraftByLoggedUser: boolean;\r\n validFrom: string;\r\n}\r\n\r\nexport enum TabType {\r\n ActionRequired,\r\n AllActive,\r\n Unassigned\r\n}\r\n\r\nexport enum Status {\r\n InDraft = 1,\r\n InProgress,\r\n FinalDecisionMade\r\n}\r\n","import { Component, OnInit, ViewChild } from \"@angular/core\";\r\nimport {\r\n ModalComponent,\r\n ToastNotificationsService,\r\n} from \"proceduralsystem-clientcomponents\";\r\nimport { CreateSubmissionContainer } from \"../submission/create/create-submission-container-guard\";\r\nimport { CreateSubmissionComponent } from \"../submission/create/create-submission.component\";\r\nimport {\r\n TaskManagerModel,\r\n TabType,\r\n Status,\r\n} from \"./task-manager.component.model\";\r\nimport { TaskManagerService } from \"./task-manager.service\";\r\nimport { UntypedFormBuilder, UntypedFormGroup } from \"@angular/forms\";\r\nimport { ErrorModel } from \"../models/app.models\";\r\nimport { PaginationInstance } from \"ngx-pagination\";\r\nimport { ActivatedRoute } from \"@angular/router\";\r\nimport { TranslateService } from \"@ngx-translate/core\";\r\n\r\n@Component({\r\n selector: \"oir-task-manager\",\r\n templateUrl: \"./task-manager.component.html\",\r\n styleUrls: [\"./task-manager.component.less\"],\r\n})\r\nexport class TaskManagerComponent implements OnInit, CreateSubmissionContainer {\r\n @ViewChild(CreateSubmissionComponent)\r\n createComponent: CreateSubmissionComponent;\r\n @ViewChild(\"claimModal\") claimModal: ModalComponent;\r\n\r\n Status = Status;\r\n TabType = TabType;\r\n viewSubmissionBaseUrl: string;\r\n viewBillBaseUrl: string;\r\n claimForm: UntypedFormGroup;\r\n tabIndex = 0;\r\n taskManagerModel: TaskManagerModel;\r\n page: { [id: string]: number } = {};\r\n\r\n constructor(\r\n public taskManagerService: TaskManagerService,\r\n private toastService: ToastNotificationsService,\r\n private route: ActivatedRoute,\r\n private translateService: TranslateService,\r\n private fb: UntypedFormBuilder\r\n ) {\r\n this.claimForm = this.fb.group({\r\n reason: [\"\"],\r\n value: 0,\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.taskManagerModel = this.route.snapshot.data[\"tasks\"];\r\n this.viewSubmissionBaseUrl = window.location.origin + \"/submission/\";\r\n this.viewBillBaseUrl = this.taskManagerService.getBillsBaseUrl();\r\n }\r\n\r\n public clearForm() {\r\n this.claimForm.reset({ reason: \"\", value: 0 });\r\n this.claimForm.markAsPristine();\r\n }\r\n\r\n public getTabHeader(tabTypeName: string): string {\r\n switch (tabTypeName) {\r\n case TabType[TabType.ActionRequired]:\r\n return `${this.translateService.instant(\"TASKMANAGER.TAB.ACTION\")} (${\r\n this.taskManagerModel.actionRequiredCount\r\n })`;\r\n case TabType[TabType.AllActive]:\r\n return `${this.translateService.instant(\"TASKMANAGER.TAB.ALL\")} (${\r\n this.taskManagerModel.allActiveCount\r\n })`;\r\n case TabType[TabType.Unassigned]:\r\n return `${this.translateService.instant(\r\n \"TASKMANAGER.TAB.UNASSIGNED\"\r\n )} (${this.taskManagerModel.unassignedCount})`;\r\n }\r\n }\r\n\r\n public getNoResultMessage(tabTypeIndex: number): string {\r\n switch (tabTypeIndex) {\r\n case TabType.ActionRequired:\r\n return this.translateService.instant(\r\n \"TASKMANAGER.NORESULTS.TSUPPORT.INFO.AB.ACTION\"\r\n );\r\n case TabType.AllActive:\r\n return this.translateService.instant(\"TASKMANAGER.NORESULTS.TAB.ALL\");\r\n case TabType.Unassigned:\r\n return this.translateService.instant(\r\n \"TASKMANAGER.NORESULTS.TAB.UNASSIGNED\"\r\n );\r\n }\r\n }\r\n\r\n public getPaginationOptions(tabIndex): PaginationInstance {\r\n const paginationId = \"task\" + tabIndex;\r\n return {\r\n id: paginationId,\r\n itemsPerPage: 20,\r\n currentPage: this.page[paginationId],\r\n totalItems: this.getNumberOfResults(tabIndex),\r\n };\r\n }\r\n\r\n private getNumberOfResults(tabIndex): number {\r\n switch (tabIndex) {\r\n case TabType.ActionRequired:\r\n return this.taskManagerModel.actionRequiredCount;\r\n case TabType.AllActive:\r\n return this.taskManagerModel.allActiveCount;\r\n case TabType.Unassigned:\r\n return this.taskManagerModel.unassignedCount;\r\n }\r\n }\r\n\r\n public onTabChange(event) {\r\n this.taskManagerService.getTasksForTab(event.index).subscribe((m) => {\r\n this.tabIndex = event.index;\r\n this.taskManagerModel = m;\r\n });\r\n }\r\n\r\n public onPageChange(pageNumber) {\r\n this.taskManagerService\r\n .changePageForTab(pageNumber, this.taskManagerModel.tabType)\r\n .subscribe((m) => {\r\n this.page[\"task\" + this.taskManagerModel.tabType] = pageNumber;\r\n this.taskManagerModel = m;\r\n });\r\n }\r\n\r\n public onPriorityChange(submissionId: number) {\r\n const priority = this.taskManagerModel.tasksResult.find(\r\n (x) => x.submissionId === submissionId\r\n );\r\n this.taskManagerService\r\n .togglePriority(priority.submissionId, !priority.isPriority)\r\n .subscribe(() =>\r\n this.onPageChange(this.taskManagerModel.currentPage)\r\n );\r\n }\r\n\r\n public onTaskClaimClick(taskId: number) {\r\n this.claimForm.get(\"value\").setValue(taskId);\r\n this.claimModal.toggle();\r\n }\r\n\r\n public claimTask() {\r\n const id = this.claimForm.get(\"value\").value;\r\n const reason = this.claimForm.get(\"reason\").value;\r\n const validFrom = this.taskManagerModel.tasksResult.find(\r\n (m) => m.submissionId === id\r\n ).validFrom;\r\n\r\n this.clearForm();\r\n this.claimModal.close();\r\n\r\n this.taskManagerService.claimTask(id, reason, validFrom).subscribe(\r\n () => {\r\n this.toastService.addNotification({\r\n title: \"TOAST.TASK.CLAIM.TITLE\",\r\n description: this.translateService.instant(\r\n \"TOAST.TASK.CLAIM.SUBTITLE\",\r\n { principleId: id }\r\n ),\r\n });\r\n this.onTabChange({ index: TabType.ActionRequired });\r\n },\r\n (errorData) => {\r\n const model = errorData.error as ErrorModel;\r\n const errorMsg = this.translateService.instant(\r\n \"TASKMANAGER.GENERIC.ERROR.TITLE\"\r\n );\r\n this.toastService.addNotification({\r\n title: errorMsg,\r\n description: model.error,\r\n });\r\n }\r\n );\r\n }\r\n\r\n public cancelModal() {\r\n this.clearForm();\r\n this.claimModal.close();\r\n }\r\n\r\n // toggle Create Submission modal\r\n public toggle(): void {\r\n this.createComponent.toggle();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot } from '@angular/router';\r\nimport { TaskManagerService } from './task-manager.service';\r\nimport { TabType } from './task-manager.component.model';\r\n\r\n@Injectable()\r\nexport class TaskManagerResolve {\r\n constructor(private taskManagerService: TaskManagerService) {}\r\n\r\n resolve(_route: ActivatedRouteSnapshot) {\r\n return this.taskManagerService.getTasksForTab(TabType.ActionRequired);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { OirAuthService, OirHttpService, ToastNotificationsService } from 'proceduralsystem-clientcomponents';\r\nimport { TaskManagerModel, FilterModel, TabType } from './task-manager.component.model';\r\nimport { ErrorModel } from '../models/app.models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AppConfigService } from '../services/app-config.service';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class TaskManagerService {\r\n public filter: FilterModel;\r\n public tabsList: string[];\r\n public appSettings;\r\n private hasUpdatedLastTab = false;\r\n private baseUrl: string;\r\n\r\n constructor(\r\n private http: OirHttpService,\r\n private readonly config: AppConfigService,\r\n private toastService: ToastNotificationsService,\r\n private translateService: TranslateService,\r\n private authService: OirAuthService\r\n ) {\r\n this.filter = new FilterModel();\r\n this.baseUrl = `/api/TaskManager`;\r\n }\r\n\r\n public getBillsBaseUrl(): string {\r\n return `${this.config.getValue('BillsAdminWebUrl')}/edit/`;\r\n }\r\n\r\n public getTasksForTab(tabType: TabType): Observable {\r\n this.filter.skip = 0;\r\n this.filter.currentPage = 1;\r\n this.filter.tabType = tabType;\r\n return this.getTasks();\r\n }\r\n\r\n public changePageForTab(pageNumber: number, tabType: TabType) {\r\n this.filter.skip = pageNumber === 1 ? 0 : this.filter.take * (pageNumber - 1);\r\n this.filter.currentPage = pageNumber;\r\n this.filter.tabType = tabType;\r\n return this.getTasks();\r\n }\r\n\r\n private getTasks(): Observable {\r\n const user = this.authService.getUsername();\r\n const url = `${this.baseUrl}?skip=${this.filter.skip}&take=${this.filter.take}&tabType=${this.filter.tabType}&UserAD=${user}`;\r\n\r\n return this.http.get(url)?.pipe(\r\n map((model: TaskManagerModel) => {\r\n model.tabType = this.filter.tabType;\r\n model.currentPage = this.filter.currentPage;\r\n\r\n if (!this.hasUpdatedLastTab) {\r\n this.updateTabsList(model.shouldDisplayUnassignedTab);\r\n this.hasUpdatedLastTab = true;\r\n }\r\n return model;\r\n },\r\n errorData => {\r\n const model = errorData.error as ErrorModel;\r\n const errorMsg = this.translateService.instant('TASKMANAGER.GENERIC.ERROR.TITLE');\r\n this.toastService.addNotification({ title: errorMsg, description: model.error });\r\n }\r\n ));\r\n }\r\n\r\n public updateTabsList(shouldDisplayUnassignedTab) {\r\n const tabTypes = Object.keys(TabType).filter(\r\n k => typeof TabType[k as any] === 'number'\r\n );\r\n if (!shouldDisplayUnassignedTab) {\r\n tabTypes.pop();\r\n }\r\n this.tabsList = tabTypes;\r\n }\r\n\r\n public togglePriority(submissionId: number, priorityBool: boolean) {\r\n const data = {\r\n submissionId : submissionId,\r\n setPriority : priorityBool,\r\n UpdatedBy: this.authService.getUsername()\r\n }\r\n return this.http.put({ path: this.baseUrl, body: { ...data }});\r\n }\r\n\r\n public claimTask(id: number, text: string, validFrom: string) {\r\n const data = {\r\n SubmissionId: id,\r\n ClaimReason: text,\r\n UpdatedBy: this.authService.getUsername(),\r\n ValidFrom: validFrom,\r\n DelegateRoleMemberId: this.config.getValue('DelegateRoleMemberId')\r\n }\r\n return this.http.post({ path: this.baseUrl, body: { ...data }});\r\n }\r\n}\r\n","import { LogLevel, Configuration, BrowserCacheLocation } from '@azure/msal-browser';\r\n\r\nexport const msalConfig: Configuration = {\r\n auth: {\r\n clientId: '', // This is the ONLY mandatory field that you need to supply. SPA application Client Id\r\n authority: 'https://login.microsoftonline.com/ce71ecf0-0b97-47b2-966c-b4ecc8db23f2', // Defaults to \"https://login.microsoftonline.com/common\"\r\n redirectUri: '/', // Points to window.location.origin. You must register this URI on Azure portal/App Registration.\r\n knownAuthorities: ['https://login.microsoftonline.com/ce71ecf0-0b97-47b2-966c-b4ecc8db23f2']\r\n },\r\n cache: {\r\n cacheLocation: BrowserCacheLocation.LocalStorage, // Configures cache location. \"sessionStorage\" is more secure, but \"localStorage\" gives you SSO between tabs.\r\n storeAuthStateInCookie: false, // Set this to \"true\" if you are having issues on IE11 or Edge\r\n },\r\n system: {\r\n loggerOptions: {\r\n logLevel: LogLevel.Verbose,\r\n piiLoggingEnabled: false\r\n }\r\n }\r\n}\r\n\r\n","import { msalConfig } from './base.environment';\r\n\r\nexport const environment = {\r\n msalConfig,\r\n production: true\r\n};\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule, { preserveWhitespaces: true });\r\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.app-container {\n height: 100%;\n background-color: #f4f2ea;\n}\n.app-container oir-navigation {\n float: left;\n height: 100%;\n}\n.app-container .body.no-scroll {\n overflow: hidden;\n}\n::ng-deep oir-notifications-tray {\n display: block;\n height: 0;\n}\n::ng-deep oir-toast-notifications {\n display: block;\n height: 0;\n}\n.spinner-overlay {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n background-color: #000;\n transition: background-color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);\n opacity: 0.75;\n z-index: 5;\n}\n#spinaroonie {\n position: absolute;\n top: calc(50% - 50px);\n left: calc(50% + 50px);\n z-index: 5;\n transform-origin: center;\n animation-name: spin;\n animation-duration: 1s;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n}\n@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol {\n counter-reset: list;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"roman\"] {\n list-style-type: none !important;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"alpha\"] {\n list-style-type: none !important;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"decimal\"] {\n list-style-type: none !important;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol:not([style]) > ::ng-deep li {\n list-style-type: decimal;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"lower\"][style*=\"roman\"] > ::ng-deep li:before {\n content: \"(\" counter(list, lower-roman) \") \";\n counter-increment: list;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"upper\"][style*=\"roman\"] > ::ng-deep li:before {\n content: \"(\" counter(list, upper-roman) \") \";\n counter-increment: list;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"lower\"][style*=\"alpha\"] > ::ng-deep li:before {\n content: \"(\" counter(list, lower-alpha) \") \";\n counter-increment: list;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"upper\"][style*=\"alpha\"] > ::ng-deep li:before {\n content: \"(\" counter(list, upper-alpha) \") \";\n counter-increment: list;\n}\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div ::ng-deep ol[style*=\"decimal\"] > ::ng-deep li:before {\n content: \"(\" counter(list, decimal) \") \";\n counter-increment: list;\n}\n.noPadding {\n padding-left: 0px !important;\n padding-right: 0px !important;\n overflow-y: hidden !important;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/page.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACE,YAAA;EACA,yBAAA;AADF;AADA;EAKI,WAAA;EACA,YAAA;AADJ;AAKI;EACE,gBAAA;AAHN;AAQA;EACE,cAAA;EACA,SAAA;AANF;AASA;EACE,cAAA;EACA,SAAA;AAPF;AAUA;EACE,kBAAA;EACA,MAAA;EACA,OAAA;EACA,YAAA;EACA,WAAA;EACA,sBAAA;EACA,qEAAA;EACA,aAAA;EACA,UAAA;AARF;AAWA;EACE,kBAAA;EACA,qBAAA;EACA,sBAAA;EACA,UAAA;EACA,wBAAA;EACA,oBAAA;EACA,sBAAA;EACA,iCAAA;EACA,mCAAA;AATF;AAYA;EACE;IACE,uBAAA;EAVF;EAaA;IACE,yBAAA;EAXF;AACF;AAeA;EAEI,mBAAA;AAdJ;AAYA;EAMI,gCAAA;AAfJ;AASA;EASI,gCAAA;AAfJ;AAMA;EAYI,gCAAA;AAfJ;AAGA;EAgBI,wBAAA;AAhBJ;AAAA;EAoBI,4CAAA;EACA,uBAAA;AAjBJ;AAJA;EAwBI,4CAAA;EACA,uBAAA;AAjBJ;AARA;EA4BI,4CAAA;EACA,uBAAA;AAjBJ;AAZA;EAgCI,4CAAA;EACA,uBAAA;AAjBJ;AAhBA;EAoCI,wCAAA;EACA,uBAAA;AAjBJ;AAqBA;EACE,4BAAA;EACA,6BAAA;EACA,6BAAA;AAnBF\",\"sourcesContent\":[\"@import (reference) \\\"~proceduralsystem-clientcomponents/styles/variables.less\\\";\\n\\n.app-container {\\n height: 100%;\\n background-color: @primary-40;\\n\\n oir-navigation {\\n float: left;\\n height: 100%;\\n }\\n\\n .body {\\n &.no-scroll {\\n overflow: hidden;\\n }\\n }\\n}\\n\\n::ng-deep oir-notifications-tray {\\n display: block;\\n height: 0;\\n}\\n\\n::ng-deep oir-toast-notifications {\\n display: block;\\n height: 0;\\n}\\n\\n.spinner-overlay {\\n position: absolute;\\n top: 0;\\n left: 0;\\n height: 100%;\\n width: 100%;\\n background-color: #000;\\n transition: background-color .2s cubic-bezier(.215,.61,.355,1);\\n opacity: .75;\\n z-index: 5;\\n}\\n\\n#spinaroonie {\\n position: absolute;\\n top: ~\\\"calc(50% - 50px)\\\";\\n left: ~\\\"calc(50% + 50px)\\\";\\n z-index: 5;\\n transform-origin: center;\\n animation-name: spin;\\n animation-duration: 1s;\\n animation-timing-function: linear;\\n animation-iteration-count: infinite;\\n}\\n\\n@keyframes spin {\\n from {\\n transform: rotate(0deg);\\n }\\n\\n to {\\n transform: rotate(360deg);\\n }\\n}\\n\\n\\n::ng-deep ckeditor ::ng-deep .cke_wysiwyg_div {\\n ::ng-deep ol {\\n counter-reset: list;\\n }\\n // remove default style type if a style has been selected.\\n ::ng-deep ol[style*=\\\"roman\\\"]{\\n list-style-type: none !important;\\n }\\n ::ng-deep ol[style*=\\\"alpha\\\"]{\\n list-style-type: none !important;\\n }\\n ::ng-deep ol[style*=\\\"decimal\\\"]{\\n list-style-type: none !important;\\n }\\n // if not list type has been selected default to decimal bulleting.\\n ::ng-deep ol:not([style]) > ::ng-deep li {\\n list-style-type: decimal;\\n }\\n // if list type selected add in the parentheses to the outside of list style bullet\\n ::ng-deep ol[style*=\\\"lower\\\"][style*=\\\"roman\\\"] > ::ng-deep li:before {\\n content: \\\"(\\\" counter(list, lower-roman) \\\") \\\";\\n counter-increment: list;\\n }\\n ::ng-deep ol[style*=\\\"upper\\\"][style*=\\\"roman\\\"] > ::ng-deep li:before {\\n content: \\\"(\\\" counter(list, upper-roman) \\\") \\\";\\n counter-increment: list;\\n }\\n ::ng-deep ol[style*=\\\"lower\\\"][style*=\\\"alpha\\\"] > ::ng-deep li:before {\\n content: \\\"(\\\" counter(list, lower-alpha) \\\") \\\";\\n counter-increment: list;\\n }\\n ::ng-deep ol[style*=\\\"upper\\\"][style*=\\\"alpha\\\"] > ::ng-deep li:before {\\n content: \\\"(\\\" counter(list, upper-alpha) \\\") \\\";\\n counter-increment: list;\\n }\\n ::ng-deep ol[style*=\\\"decimal\\\"] > ::ng-deep li:before {\\n content: \\\"(\\\" counter(list, decimal) \\\") \\\";\\n counter-increment: list;\\n }\\n}\\n\\n.noPadding{\\n padding-left: 0px !important;\\n padding-right: 0px !important;\\n overflow-y: hidden !important;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `table.principle-topics-table {\n width: 100%;\n}\ntable.principle-topics-table tr {\n width: 100%;\n}\ntable.principle-topics-table tr td {\n line-height: 20px;\n padding-bottom: 5px;\n}\ntable.principle-topics-table tr td p {\n word-wrap: normal;\n word-break: break-all;\n}\ntable.principle-topics-table tr:hover td p {\n color: #b39841;\n}\ntable.principle-topics-table tr:hover td a {\n color: #b39841;\n}\n.text-wrapper {\n width: 100%;\n}\n.line-separator {\n border-top: 1px solid #d4cfbc;\n padding: 20px;\n}\nselect.invalid,\ninput.invalid {\n background-color: #ffe5e9;\n border: 1px solid #c30e2e;\n color: #c30e2e;\n}\n::ng-deep pagination-controls {\n text-align: right;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template {\n padding: 5px;\n margin-top: 10px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li {\n height: 25px;\n min-width: 25px;\n line-height: 20px;\n border-radius: 20px;\n border: none;\n margin-right: 5px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next {\n font-family: Montserrat-Light;\n width: auto;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous span,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next span,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous a,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next a {\n color: #7F6C2E;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li div,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li a {\n color: #444444;\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.disabled span {\n color: #bfbbaa;\n cursor: no-drop;\n pointer-events: none;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current {\n vertical-align: top;\n background-color: #7F6C2E;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div {\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div span {\n color: #ffffff;\n font-weight: 600;\n}\n.topicAccordion {\n border-top: 1px solic #d4cfbc;\n padding: 20px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/principle-topics/principle-topics.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACE,WAAA;AADF;AAAA;EAII,WAAA;AADJ;AAHA;EAOM,iBAAA;EACA,mBAAA;AADN;AAPA;EAWQ,iBAAA;EACA,qBAAA;AADR;AAKI;EAGM,cAAA;AALV;AAEI;EAMM,cAAA;AALV;AAYA;EACE,WAAA;AAVF;AAaA;EACE,6BAAA;EACA,aAAA;AAXF;AAcA;;EAEE,yBAAA;EACA,yBAAA;EACA,cAAA;AAZF;AAeA;EACE,iBAAA;AAbF;AAYA;EAII,YAAA;EACA,gBAAA;AAbJ;AAQA;EAUQ,YAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;EACA,YAAA;EACA,iBAAA;AAfR;AAiBQ;;EACE,6BAAA;EACA,WAAA;AAdV;AAYQ;;;;EAKI,cAAA;AAXZ;AAXA;;EA2BU,cAAA;EACA,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AAZV;AAeQ;EAEI,cAAA;EACA,eAAA;EACA,oBAAA;AAdZ;AAkBQ;EACE,mBAAA;EACA,yBAAA;AAhBV;AAcQ;EAKI,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AAhBZ;AAQQ;EAWM,cAAA;EACA,gBAAA;AAhBd;AAyBA;EACE,6BAAA;EACA,aAAA;AAvBF\",\"sourcesContent\":[\"@import (reference) \\\"../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n\\ntable.principle-topics-table {\\n width: 100%;\\n\\n tr {\\n width: 100%;\\n\\n td{\\n line-height: 20px;\\n padding-bottom: 5px;\\n\\n p{\\n word-wrap: normal;\\n word-break: break-all;\\n }\\n }\\n\\n &:hover {\\n td {\\n p{\\n color: @primary-90;\\n }\\n a{\\n color: @primary-90;\\n }\\n }\\n }\\n }\\n}\\n\\n.text-wrapper{\\n width: 100%;\\n}\\n\\n.line-separator{\\n border-top: 1px solid #d4cfbc;\\n padding: 20px;\\n}\\n\\nselect.invalid,\\ninput.invalid {\\n background-color: #ffe5e9;\\n border: 1px solid #c30e2e;\\n color: #c30e2e;\\n}\\n\\n::ng-deep pagination-controls {\\n text-align: right;\\n\\n ::ng-deep pagination-template {\\n padding: 5px;\\n margin-top: 10px;\\n\\n ul.ngx-pagination {\\n\\n li {\\n height: 25px;\\n min-width: 25px;\\n line-height: 20px;\\n border-radius: 20px;\\n border: none;\\n margin-right: 5px;\\n\\n &.pagination-previous, &.pagination-next {\\n font-family: Montserrat-Light;\\n width: auto;\\n\\n span, a {\\n color: @primary-base;\\n }\\n }\\n\\n div, a {\\n color: @secondary-90;\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n }\\n\\n &.disabled {\\n span {\\n color: @disabled-fill;\\n cursor: no-drop;\\n pointer-events: none;\\n }\\n }\\n\\n &.current {\\n vertical-align: top;\\n background-color: @primary-base;\\n\\n div {\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n\\n span {\\n color: @white;\\n font-weight: 600;\\n }\\n }\\n }\\n }\\n }\\n }\\n}\\n\\n.topicAccordion{\\n border-top: 1px solic #d4cfbc;\\n padding:20px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.cited-submissions {\n margin-top: -70px;\n}\na {\n text-decoration: underline;\n}\na b {\n text-decoration: inherit;\n}\na:hover {\n color: #7F6C2E;\n}\na:focus {\n color: inherit;\n}\n.category {\n margin-left: 35px;\n}\n.star {\n float: left;\n margin-right: 15px;\n width: 20px;\n height: 20px;\n background-image: url('unselected-star.38e9aade04e22243.svg');\n}\n.star.selected {\n background-image: url('star.f3a6239ce024fe62.svg');\n}\n.star:hover:not(.readonly) {\n cursor: pointer;\n background-image: url('star-hover.83f3fc5092b78ff7.svg') !important;\n}\n.bill-title {\n position: relative;\n}\n.bill-title b {\n display: inline-block;\n margin: 0 5px 10px 0;\n}\n.bill-title .link {\n background-image: url('link-out.6c38c5f5cf0ff1a3.svg');\n height: 20px;\n width: 22px;\n background-size: cover;\n background-repeat: no-repeat;\n display: inline-block;\n position: absolute;\n top: -3px;\n}\n.bill-title .link:hover {\n cursor: pointer;\n}\n.sort-by label {\n float: right;\n margin-right: 10px;\n margin-top: 8px;\n}\n.sort-by .sort-options {\n width: 300px;\n float: right;\n}\n.results-table {\n list-style: none;\n}\n.results-table .results-row {\n margin-bottom: 15px;\n}\n::ng-deep pagination-controls {\n text-align: right;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template {\n padding: 1px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li {\n height: 25px;\n min-width: 25px;\n line-height: 20px;\n border-radius: 20px;\n border: none;\n margin-right: 5px;\n margin-top: 15px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next {\n font-family: Montserrat-Light;\n width: auto;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous span,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next span,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous a,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next a {\n color: #7F6C2E;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li div,\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li a {\n color: #444444;\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.disabled span {\n color: #bfbbaa;\n cursor: no-drop;\n pointer-events: none;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current {\n vertical-align: top;\n background-color: #7F6C2E;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div {\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div span {\n color: #ffffff;\n font-weight: 600;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/principles/cited-submissions/cited-submissions.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACE,iBAAA;AADF;AAIA;EACE,0BAAA;AAFF;AACA;EAII,wBAAA;AAFJ;AAKE;EACE,cAAA;AAHJ;AAME;EACE,cAAA;AAJJ;AAQA;EACE,iBAAA;AANF;AASA;EACE,WAAA;EACA,kBAAA;EACA,WAAA;EACA,YAAA;EACA,6DAAA;AAPF;AASE;EACE,kDAAA;AAPJ;AAUE;EACE,eAAA;EACA,mEAAA;AARJ;AAYA;EACE,kBAAA;AAVF;AASA;EAII,qBAAA;EACA,oBAAA;AAVJ;AAKA;EASI,sDAAA;EACA,YAAA;EACA,WAAA;EACA,sBAAA;EACA,4BAAA;EACA,qBAAA;EACA,kBAAA;EACA,SAAA;AAXJ;AAaI;EACE,eAAA;AAXN;AAgBA;EAGI,YAAA;EACA,kBAAA;EACA,eAAA;AAhBJ;AAWA;EASI,YAAA;EACA,YAAA;AAjBJ;AAqBA;EACE,gBAAA;AAnBF;AAkBA;EAII,mBAAA;AAnBJ;AAuBA;EACE,iBAAA;AArBF;AAoBA;EAII,YAAA;AArBJ;AAiBA;EAQQ,YAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;AAtBR;AAwBQ;;EAEE,6BAAA;EACA,WAAA;AAtBV;AAmBQ;;;;EAOI,cAAA;AApBZ;AAHA;;EA6BU,cAAA;EACA,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AAtBV;AAyBQ;EAEI,cAAA;EACA,eAAA;EACA,oBAAA;AAxBZ;AA4BQ;EACE,mBAAA;EACA,yBAAA;AA1BV;AAwBQ;EAKI,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AA1BZ;AAkBQ;EAWM,cAAA;EACA,gBAAA;AA1Bd\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n\\n.cited-submissions {\\n margin-top: -70px;\\n}\\n\\na {\\n text-decoration: underline;\\n\\n b {\\n text-decoration: inherit;\\n }\\n\\n &:hover {\\n color: @primary-base;\\n }\\n\\n &:focus {\\n color: inherit;\\n }\\n}\\n\\n.category {\\n margin-left: 35px;\\n}\\n\\n.star {\\n float: left;\\n margin-right: 15px;\\n width: 20px;\\n height: 20px;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/unselected-star.svg');\\n\\n &.selected {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/star.svg');\\n }\\n\\n &:hover:not(.readonly) {\\n cursor: pointer;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/star-hover.svg') !important;\\n }\\n}\\n\\n.bill-title {\\n position: relative;\\n\\n b {\\n display: inline-block;\\n margin: 0 5px 10px 0;\\n }\\n\\n .link {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out.svg');\\n height: 20px;\\n width: 22px;\\n background-size: cover;\\n background-repeat: no-repeat;\\n display: inline-block;\\n position: absolute;\\n top: -3px;\\n\\n &:hover {\\n cursor: pointer;\\n }\\n }\\n}\\n\\n.sort-by {\\n\\n label {\\n float: right;\\n margin-right: 10px;\\n margin-top: 8px;\\n }\\n\\n .sort-options {\\n width: 300px;\\n float: right;\\n }\\n}\\n\\n.results-table {\\n list-style: none;\\n\\n .results-row {\\n margin-bottom: 15px;\\n }\\n}\\n\\n::ng-deep pagination-controls {\\n text-align: right;\\n\\n ::ng-deep pagination-template {\\n padding: 1px;\\n\\n ul.ngx-pagination {\\n li {\\n height: 25px;\\n min-width: 25px;\\n line-height: 20px;\\n border-radius: 20px;\\n border: none;\\n margin-right: 5px;\\n margin-top: 15px;\\n\\n &.pagination-previous,\\n &.pagination-next {\\n font-family: Montserrat-Light;\\n width: auto;\\n\\n span,\\n a {\\n color: @primary-base;\\n }\\n }\\n\\n div,\\n a {\\n color: @secondary-90;\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n }\\n\\n &.disabled {\\n span {\\n color: @disabled-fill;\\n cursor: no-drop;\\n pointer-events: none;\\n }\\n }\\n\\n &.current {\\n vertical-align: top;\\n background-color: @primary-base;\\n\\n div {\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n\\n span {\\n color: @white;\\n font-weight: 600;\\n }\\n }\\n }\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:-ms-input-placeholder {\n color: #777;\n}\n.row {\n margin-bottom: 20px;\n}\n.row .col-lg-6:nth-of-type(1) {\n padding-right: 30px;\n}\n.row .col-lg-6:nth-of-type(2) {\n padding-left: 30px;\n}\nselect.single-select.full-width {\n width: 100%;\n}\nlabel.top-label {\n display: block;\n margin-bottom: 10px;\n}\n.text-wrapper {\n width: 100%;\n}\n.text-wrapper textarea {\n width: 100%;\n}\n.text-wrapper textarea:-ms-input-placeholder {\n color: #777;\n}\n.radio-list-container {\n padding: 20px 0px;\n}\n.radio-list-container h3 {\n margin-bottom: 20px;\n}\n.radio-list-container ul.radio-list {\n list-style: none;\n margin-left: -40px;\n}\n.radio-list-container ul.radio-list li input[type=\"radio\"] {\n margin-right: 5px;\n cursor: pointer;\n}\n.radio-list-container ul.radio-list li p.inline-block {\n display: inline-block;\n}\n.row.buttons {\n padding: 20px 0px;\n text-align: right;\n}\n.row.buttons button {\n text-align: center;\n}\n.grouped-inputs .grouped-content {\n padding-left: 20px;\n border-left: 2px solid #b39841;\n}\n.row .instance {\n position: relative;\n padding: 20px;\n min-height: 40px;\n line-height: 20px;\n border: 2px solid #d4cfbe;\n border-left: 5px solid #b39841;\n margin-bottom: 10px;\n margin-top: 5px;\n}\n.row .instance .details-wrapper {\n display: inline-block;\n width: 85%;\n}\n.row .instance .details-wrapper .instance-details {\n margin: 0;\n}\n.row .instance .details-wrapper .instance-details .link {\n display: inline-block;\n background-image: url('link.e6228c1817d2428b.svg');\n height: 32px;\n width: 32px;\n margin-right: 20px;\n}\n.row .instance .details-wrapper .instance-details p {\n margin-bottom: 5px;\n display: inline-block;\n}\n.row .instance .buttons {\n display: inline-block;\n text-align: right;\n vertical-align: bottom;\n width: 14%;\n}\n.row .instance .buttons button {\n text-align: right;\n}\n.modal-body div {\n display: inline-block;\n}\n.modal-body div p,\n.modal-body div strong,\n.modal-body div b,\n.modal-body div u {\n display: inline-block;\n}\n.modal-body div u {\n font-family: Montserrat-Light, sans-serif;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/principles/establish-edit/establish-edit.component.less\"],\"names\":[],\"mappings\":\"AACA;EAEE,WAAA;AADF;AAIA;EACE,mBAAA;AAFF;AACA;EAII,mBAAA;AAFJ;AAFA;EAQI,kBAAA;AAHJ;AAQE;EACE,WAAA;AANJ;AAUA;EACE,cAAA;EACA,mBAAA;AARF;AAWA;EACE,WAAA;AATF;AAQA;EAII,WAAA;AATJ;AAKA;EAOI,WAAA;AATJ;AAaA;EACE,iBAAA;AAXF;AAUA;EAII,mBAAA;AAXJ;AAOA;EAQI,gBAAA;EACA,kBAAA;AAZJ;AAGA;EAaQ,iBAAA;EACA,eAAA;AAbR;AADA;EAkBQ,qBAAA;AAdR;AAoBA;EACE,iBAAA;EACA,iBAAA;AAlBF;AAgBA;EAKI,kBAAA;AAlBJ;AAsBA;EAEI,kBAAA;EACA,8BAAA;AArBJ;AAyBA;EAEI,kBAAA;EACA,aAAA;EACA,gBAAA;EACA,iBAAA;EACA,yBAAA;EACA,8BAAA;EACA,mBAAA;EACA,eAAA;AAxBJ;AAeA;EAYM,qBAAA;EACA,UAAA;AAxBN;AAWA;EAgBQ,SAAA;AAxBR;AAQA;EAmBU,qBAAA;EACA,kDAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;AAxBV;AACA;EA4BU,kBAAA;EACA,qBAAA;AA1BV;AAHA;EAmCM,qBAAA;EACA,iBAAA;EACA,sBAAA;EACA,UAAA;AA7BN;AATA;EAyCQ,iBAAA;AA7BR;AAmCA;EAEI,qBAAA;AAlCJ;AAgCA;;;;EAKM,qBAAA;AA/BN;AA0BA;EASM,yCAAA;AAhCN\",\"sourcesContent\":[\"@import (reference) \\\"../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n:-ms-input-placeholder {\\n // !important; /* IE11 needs the !important flag */\\n color: #777;\\n}\\n\\n.row {\\n margin-bottom: 20px;\\n\\n .col-lg-6:nth-of-type(1) {\\n padding-right: 30px;\\n }\\n\\n .col-lg-6:nth-of-type(2) {\\n padding-left: 30px;\\n }\\n}\\n\\nselect{\\n &.single-select.full-width{\\n width: 100%;\\n }\\n}\\n\\nlabel.top-label {\\n display: block;\\n margin-bottom: 10px;\\n}\\n\\n.text-wrapper{\\n width: 100%;\\n\\n textarea{\\n width: 100%;\\n }\\n textarea:-ms-input-placeholder {\\n color:#777;\\n }\\n}\\n\\n.radio-list-container {\\n padding: 20px 0px;\\n\\n h3 {\\n margin-bottom: 20px;\\n }\\n\\n ul.radio-list {\\n list-style: none;\\n margin-left: -40px;\\n\\n li {\\n input[type=\\\"radio\\\"] {\\n margin-right: 5px;\\n cursor: pointer;\\n }\\n\\n p.inline-block {\\n display: inline-block;\\n }\\n }\\n }\\n}\\n\\n.row.buttons {\\n padding: 20px 0px;\\n text-align: right;\\n\\n button {\\n text-align: center;\\n }\\n\\n}\\n.grouped-inputs{\\n .grouped-content{\\n padding-left: 20px;\\n border-left: 2px solid @primary-90;\\n }\\n}\\n\\n.row {\\n .instance {\\n position: relative;\\n padding: 20px;\\n min-height: 40px;\\n line-height: 20px;\\n border: 2px solid @primary-50;\\n border-left: 5px solid @primary-90;\\n margin-bottom: 10px;\\n margin-top: 5px;\\n\\n .details-wrapper {\\n display: inline-block;\\n width: 85%;\\n\\n .instance-details {\\n margin: 0;\\n\\n .link {\\n display: inline-block;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link.svg');\\n height: 32px;\\n width: 32px;\\n margin-right: 20px;\\n }\\n\\n\\n p {\\n margin-bottom: 5px;\\n display: inline-block;\\n }\\n }\\n }\\n\\n .buttons{\\n display: inline-block;\\n text-align: right;\\n vertical-align: bottom;\\n width: 14%;\\n\\n button{\\n text-align: right;\\n }\\n }\\n }\\n}\\n\\n.modal-body {\\n div {\\n display: inline-block;\\n\\n p, strong, b, u{\\n display: inline-block;\\n }\\n\\n u{\\n font-family: Montserrat-Light, sans-serif;\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/*Search & Filter Styles*/\n.search {\n margin-bottom: 30px;\n}\n.search .search-btn-container {\n display: flex;\n align-items: flex-start;\n}\n.search .search-btn-container .btn-search {\n align-self: flex-start;\n margin-left: 20px;\n white-space: nowrap;\n}\n.search .search-btn-container input[type=search] {\n padding-right: 36px;\n}\n.search :-ms-input-placeholder {\n color: #777;\n}\n.search p.hint {\n display: block;\n margin-top: 5px;\n font-family: Montserrat-LightItalic, sans-serif;\n font-size: 14px;\n color: #444444;\n}\n.search p.hint b {\n font-style: italic;\n}\n.filter-container {\n position: relative;\n display: block;\n}\n.filter-container label {\n margin-bottom: 10px;\n}\n.filter-container .checks-container,\n.filter-container .topics-container,\n.filter-container .house-container {\n margin-bottom: 25px;\n}\n.filter-container .checks-container p {\n display: inline-block;\n margin-left: 10px;\n}\n.filter-container .buttons {\n text-align: right;\n margin-bottom: 25px;\n}\n.filter-container .buttons button {\n text-align: center;\n}\nh2#margin-top {\n margin-top: 22px !important;\n}\n::ng-deep oir-collapsible-panel.filter-wrapper .collapsible-container .collapsible-heading-container .arrow {\n margin-top: 24px;\n}\n::ng-deep oir-collapsible-panel.filter-wrapper .collapsible-container .collapsible-heading-container .collapsible-heading.filter-wrapper {\n border: none !important;\n}\n::ng-deep oir-collapsible-panel.filter-wrapper .collapsible-container .collapsible-heading-container .collapsible-heading.filter-wrapper .buttons {\n margin-right: 40px;\n}\n.search-results {\n padding: 10px 0px;\n}\n.search-results .item-amount {\n padding: 10px 0px;\n}\n.search-results .sort-by {\n text-align: right;\n}\n.search-results .sort-by .single-select {\n text-align: left;\n margin-left: 10px;\n min-width: 200px;\n}\n.search-results .sort-by label {\n float: right;\n line-height: 40px;\n margin-right: 10px;\n}\n.search-results .sort-by ::ng-deep oir-singleselect .single-select-dropdown {\n min-width: 250px;\n text-align: left;\n float: right;\n}\n.search-results table.results-table tr:nth-child(odd) {\n background-color: #f4f2ea;\n}\n.search-results table.results-table tr td {\n font-family: Montserrat-Light, sans-serif;\n color: #444444;\n font-size: 15px;\n}\n.search-results table.results-table tr.results-row {\n border-bottom: 1px solid #d4cfbe;\n}\n.search-results table.results-table tr.results-row:hover {\n background-color: #ece9dd;\n}\n.search-results table.results-table tr.results-row td .principle-instance {\n background-color: transparent;\n padding: 20px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n.search-results table.results-table tr.results-row td .principle-instance .established p {\n margin-left: 110px;\n}\n.search-results table.results-table tr.results-row td .principle-instance .established p > span {\n display: block;\n}\n.search-results table.results-table tr.results-row td .principle-instance .established p a {\n text-decoration: none;\n font-family: Montserrat, sans-serif;\n}\n.search-results table.results-table tr.results-row td .principle-instance .established strong {\n float: left;\n margin-right: 4px;\n}\n.search-results table.results-table tr.results-row td .principle-instance p {\n font-size: 12px;\n color: #333333;\n}\n.search-results table.results-table tr.results-row td .principle-instance p.info {\n font-family: Montserrat-LightItalic, sans-serif;\n margin-bottom: 0px;\n}\n.search-results table.results-table tr.results-row td .principle-instance p a {\n font-size: 12px;\n}\n.search-results table.results-table tr.results-row td .principle-instance b {\n font-size: 12px;\n}\n.search-results table.results-table tr.results-row td .principle-instance b.topics {\n margin-right: 66px;\n}\n.search-results table.results-table tr.results-row td .principle-instance .principleTitle {\n padding: 10px 0px;\n}\n.search-results table.results-table tr.results-row td .principle-instance .principleTitle a {\n text-decoration: none;\n font-family: Montserrat-Semibold, sans-serif;\n font-size: 14px;\n color: #333333;\n}\n.search-results table.results-table tr.results-row td .principle-instance .principleTitle a:hover {\n text-decoration: underline;\n}\n.search-results table.results-table tr.results-row td .principle-instance .right {\n text-align: right;\n}\n.search-results table.results-table tr.results-row td .principle-instance a.link-out {\n display: inline-block;\n height: 20px;\n width: 20px;\n vertical-align: text-bottom;\n background-image: url('link-out.6c38c5f5cf0ff1a3.svg');\n background-repeat: no-repeat;\n background-position: center;\n /*&:hover {\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out-hover.svg');\n }*/\n}\n.search-results ::ng-deep pagination-controls {\n text-align: right;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template {\n padding: 1px;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li {\n height: 25px;\n min-width: 25px;\n line-height: 20px;\n border-radius: 20px;\n border: none;\n margin-right: 5px;\n margin-top: 15px;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous,\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next {\n font-family: Montserrat-Light;\n width: auto;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous span,\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next span,\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous a,\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next a {\n color: #7F6C2E;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li div,\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li a {\n color: #444444;\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.disabled span {\n color: #bfbbaa;\n cursor: no-drop;\n pointer-events: none;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current {\n vertical-align: top;\n background-color: #7F6C2E;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div {\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n.search-results ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div span {\n color: #ffffff;\n font-weight: 600;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/principles/principle-search/principle-search.component.less\"],\"names\":[],\"mappings\":\"AAAA,yBAAyB;AAGzB;EACE,mBAAA;AADF;AAAA;EAII,aAAA;EACA,uBAAA;AADJ;AAJA;EAQM,sBAAA;EACA,iBAAA;EACA,mBAAA;AADN;AATA;EAcM,mBAAA;AAFN;AAZA;EAmBI,WAAA;AAJJ;AAfA;EAuBI,cAAA;EACA,eAAA;EACA,+CAAA;EACA,eAAA;EACA,cAAA;AALJ;AAtBA;EA8BM,kBAAA;A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AA;EACA,sDAAA;EACA,4BAAA;EACA,2BAAA;EArDV;;kBAEgB;AAClB;AA1EA;EAwII,iBAAA;AA3DJ;AA7EA;EA2IM,YAAA;AA3DN;AAhFA;EA+IU,YAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;AA5DV;AA8DU;;EAEE,6BAAA;EACA,WAAA;AA5DZ;AAyDU;;;;EAOI,cAAA;AA1Dd;AApGA;;EAoKY,cAAA;EACA,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AA5DZ;AA+DU;EAEI,cAAA;EACA,eAAA;EACA,oBAAA;AA9Dd;AAkEU;EACE,mBAAA;EACA,yBAAA;AAhEZ;AA8DU;EAKI,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AAhEd;AAwDU;EAWM,cAAA;EACA,gBAAA;AAhEhB\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n\\n/*Search & Filter Styles*/\\n.search {\\n margin-bottom: 30px;\\n\\n .search-btn-container {\\n display: flex;\\n align-items: flex-start;\\n\\n .btn-search {\\n align-self: flex-start;\\n margin-left: 20px;\\n white-space: nowrap;\\n }\\n\\n input[type=search] {\\n padding-right: 36px;\\n }\\n }\\n\\n :-ms-input-placeholder {\\n color: #777;\\n }\\n\\n p.hint {\\n display: block;\\n margin-top: 5px;\\n font-family: Montserrat-LightItalic, sans-serif;\\n font-size: 14px;\\n color: @secondary-90;\\n\\n b {\\n font-style: italic;\\n }\\n }\\n}\\n\\n.filter-container {\\n position: relative;\\n display: block;\\n\\n label {\\n margin-bottom: 10px;\\n }\\n\\n .checks-container,\\n .topics-container,\\n .house-container {\\n margin-bottom: 25px;\\n }\\n\\n .checks-container {\\n p {\\n display: inline-block;\\n margin-left: 10px;\\n }\\n }\\n\\n .buttons {\\n text-align: right;\\n margin-bottom: 25px;\\n\\n button {\\n text-align: center;\\n }\\n }\\n}\\n\\nh2#margin-top {\\n margin-top: 22px !important;\\n}\\n\\n::ng-deep oir-collapsible-panel.filter-wrapper {\\n .collapsible-container {\\n .collapsible-heading-container {\\n .arrow {\\n margin-top: 24px;\\n }\\n\\n .collapsible-heading.filter-wrapper {\\n border: none !important;\\n\\n .buttons {\\n margin-right: 40px;\\n }\\n }\\n }\\n }\\n}\\n\\n.search-results {\\n padding: 10px 0px;\\n\\n .item-amount {\\n padding: 10px 0px;\\n }\\n\\n .sort-by {\\n text-align: right;\\n\\n .single-select {\\n text-align: left;\\n margin-left: 10px;\\n min-width: 200px;\\n }\\n label {\\n float: right;\\n line-height: 40px;\\n margin-right: 10px;\\n }\\n ::ng-deep oir-singleselect {\\n .single-select-dropdown {\\n min-width: 250px;\\n text-align: left;\\n float: right;\\n }\\n }\\n }\\n\\n table.results-table {\\n tr:nth-child(odd) {\\n background-color: @primary-40;\\n }\\n\\n tr {\\n td {\\n font-family: Montserrat-Light, sans-serif;\\n color: @secondary-90;\\n font-size: 15px;\\n }\\n }\\n\\n tr.results-row {\\n border-bottom: 1px solid @primary-50;\\n\\n &:hover {\\n background-color: @neutral-background-light;\\n }\\n\\n td {\\n .principle-instance {\\n background-color: transparent;\\n padding: 20px;\\n padding-bottom: 10px;\\n line-height: 20px;\\n\\n .established {\\n p {\\n margin-left: 110px;\\n\\n & > span {\\n display: block;\\n }\\n\\n a {\\n text-decoration: none;\\n font-family: Montserrat, sans-serif;\\n }\\n }\\n\\n strong {\\n float: left;\\n margin-right: 4px;\\n }\\n }\\n\\n p {\\n font-size: 12px;\\n color: @secondary-base;\\n\\n &.info {\\n font-family: Montserrat-LightItalic, sans-serif;\\n margin-bottom: 0px;\\n }\\n\\n a {\\n font-size: 12px;\\n }\\n }\\n\\n b {\\n font-size: 12px;\\n\\n &.topics {\\n margin-right: 66px\\n }\\n }\\n\\n .principleTitle {\\n padding: 10px 0px;\\n\\n a {\\n text-decoration: none;\\n font-family: Montserrat-Semibold, sans-serif;\\n font-size: 14px;\\n color: @secondary-base;\\n\\n &:hover {\\n text-decoration: underline;\\n }\\n }\\n }\\n\\n .right {\\n text-align: right;\\n }\\n\\n a.link-out {\\n display: inline-block;\\n height: 20px;\\n width: 20px;\\n vertical-align: text-bottom;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out.svg');\\n background-repeat: no-repeat;\\n background-position: center;\\n\\n /*&:hover {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out-hover.svg');\\n }*/\\n }\\n }\\n }\\n }\\n }\\n\\n ::ng-deep pagination-controls {\\n text-align: right;\\n\\n ::ng-deep pagination-template {\\n padding: 1px;\\n\\n ul.ngx-pagination {\\n li {\\n height: 25px;\\n min-width: 25px;\\n line-height: 20px;\\n border-radius: 20px;\\n border: none;\\n margin-right: 5px;\\n margin-top: 15px;\\n\\n &.pagination-previous,\\n &.pagination-next {\\n font-family: Montserrat-Light;\\n width: auto;\\n\\n span,\\n a {\\n color: @primary-base;\\n }\\n }\\n\\n div,\\n a {\\n color: @secondary-90;\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n }\\n\\n &.disabled {\\n span {\\n color: @disabled-fill;\\n cursor: no-drop;\\n pointer-events: none;\\n }\\n }\\n\\n &.current {\\n vertical-align: top;\\n background-color: @primary-base;\\n\\n div {\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n\\n span {\\n color: @white;\\n font-weight: 600;\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.expired {\n color: #999999;\n font-size: 15px;\n}\n.expiredp,\n.expiredi {\n font-family: 'Montserrat-light', sans-serif;\n}\n.expiredlabel {\n font-family: 'Montserrat-Semibold', sans-serif;\n}\n.row {\n margin-bottom: 20px;\n}\n.row .col-lg-10 span i {\n font-family: 'Montserrat-light', sans-serif;\n font-size: 15px;\n}\n.row .col-lg-6:nth-of-type(1) {\n padding-right: 30px;\n}\n.row .col-lg-6:nth-of-type(2) {\n padding-left: 30px;\n}\nselect.single-select.full-width {\n width: 100%;\n}\n.text-wrapper {\n width: 100%;\n}\n.text-wrapper textarea {\n width: 100%;\n}\n.radio-list-container {\n padding: 20px 0px;\n}\n.radio-list-container h3 {\n margin-bottom: 20px;\n}\n.radio-list-container ul.radio-list {\n list-style: none;\n margin-left: -40px;\n}\n.radio-list-container ul.radio-list li input[type=\"radio\"] {\n margin-right: 5px;\n cursor: pointer;\n}\n.radio-list-container ul.radio-list li p.inline-block {\n display: inline-block;\n}\n.row.buttons {\n padding: 20px 0px;\n text-align: right;\n}\n.row.buttons button {\n text-align: center;\n}\n.grouped-inputs .grouped-content {\n padding-left: 20px;\n border-left: 2px solid #b39841;\n}\n.row .instance {\n position: relative;\n padding: 20px;\n min-height: 40px;\n line-height: 20px;\n border: 2px solid #d4cfbe;\n border-left: 5px solid #b39841;\n margin-bottom: 10px;\n margin-top: 5px;\n}\n.row .instance .details-wrapper {\n display: inline-block;\n width: 90%;\n}\n.row .instance .details-wrapper .instance-details {\n margin: 0;\n}\n.row .instance .details-wrapper .instance-details p {\n margin-bottom: 5px;\n display: inline-block;\n}\n.row .instance .buttons {\n display: inline-block;\n text-align: right;\n width: 9%;\n}\n.row .instance .buttons button {\n text-align: right;\n}\n.row .link-out {\n display: inline-block;\n height: 20px;\n width: 20px;\n vertical-align: text-bottom;\n background-image: url('link-out.6c38c5f5cf0ff1a3.svg');\n background-repeat: no-repeat;\n background-position: center;\n}\n.row .star {\n display: inline-block;\n height: 20px;\n width: 20px;\n vertical-align: text-bottom;\n background-image: url('star.f3a6239ce024fe62.svg');\n background-repeat: no-repeat;\n background-position: center;\n}\n.principle-info div {\n display: inline-block;\n}\n.principle-info div p,\n.principle-info div strong,\n.principle-info div b,\n.principle-info div u {\n display: inline-block;\n}\n.principle-info div u {\n font-family: Montserrat-Light, sans-serif;\n}\n@media print {\n .saf {\n display: none;\n }\n .page-title {\n padding: 0px 0px 0px 0px;\n }\n ::ng-deep h1 {\n font-size: 20px !important;\n }\n ::ng-deep h2 {\n font-size: 15px !important;\n }\n ::ng-deep p {\n font-size: 12px !important;\n }\n ::ng-deep i {\n font-size: 12px !important;\n }\n ::ng-deep label {\n font-size: 12px !important;\n }\n ::ng-deep a {\n font-size: 12px !important;\n }\n ::ng-deep b {\n font-size: 12px !important;\n }\n ::ng-deep h4 {\n font-size: 12px !important;\n }\n ::ng-deep strong {\n font-size: 13px !important;\n }\n :host ::ng-deep oir-cited-submissions .cited-submissions {\n margin-top: 0px;\n }\n :host ::ng-deep oir-cited-submissions .sort-options {\n display: none;\n }\n :host ::ng-deep oir-cited-submissions .sort-by label {\n display: none;\n }\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/principles/view-principle/view-principle.component.less\"],\"names\":[],\"mappings\":\"AACA;EACI,cAAA;EACA,eAAA;AAAJ;AACI;;EAEI,2CAAA;AACR;AACI;EACI,8CAAA;AACR;AAGA;EACI,mBAAA;AADJ;AAAA;EAKgB,2CAAA;EACA,eAAA;AAFhB;AAJA;EAWQ,mBAAA;AAJR;AAPA;EAcQ,kBAAA;AAJR;AASI;EACI,WAAA;AAPR;AAWA;EACI,WAAA;AATJ;AAQA;EAGQ,WAAA;AARR;AAYA;EACI,iBAAA;AAVJ;AASA;EAGQ,mBAAA;AATR;AAMA;EAMQ,gBAAA;EACA,kBAAA;AATR;AAEA;EAUgB,iBAAA;EACA,eAAA;AAThB;AAFA;EAcgB,qBAAA;AAThB;AAeA;EACI,iBAAA;EACA,iBAAA;AAbJ;AAWA;EAIQ,kBAAA;AAZR;AAgBA;EAEQ,kBAAA;EACA,8BAAA;AAfR;AAmBA;EAEQ,kBAAA;EACA,aAAA;EACA,gBAAA;EACA,iBAAA;EACA,yBAAA;EACA,8BAAA;EACA,mBAAA;EACA,eAAA;AAlBR;AASA;EAWY,qBAAA;EACA,UAAA;AAjBZ;AAKA;EAcgB,SAAA;AAhBhB;AAEA;EAgBoB,kBAAA;EACA,qBAAA;AAfpB;AAFA;EAsBY,qBAAA;EACA,iBAAA;EACA,SAAA;AAjBZ;AAPA;EA0BgB,iBAAA;AAhBhB;AAVA;EA+BQ,qBAAA;EACA,YAAA;EACA,WAAA;EACA,2BAAA;EACA,sDAAA;EACA,4BAAA;EACA,2BAAA;AAlBR;AAnBA;EAwCQ,qBAAA;EACA,YAAA;EACA,WAAA;EACA,2BAAA;EACA,kDAAA;EACA,4BAAA;EACA,2BAAA;AAlBR;AAsBA;EAEQ,qBAAA;AArBR;AAmBA;;;;EAOY,qBAAA;AApBZ;AAaA;EAUY,yCAAA;AApBZ;AAyBA;EACI;IACI,aAAA;EAvBN;EAyBE;IACE,wBAAA;EAvBJ;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IACI,0BAAA;EAvBN;EAyBE;IAEQ,eAAA;EAxBV;EAsBE;IAKQ,aAAA;EAxBV;EAmBE;IAQM,aAAA;EAxBR;AACF\",\"sourcesContent\":[\"@import (reference) \\\"../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n.expired {\\n color: @secondary-60;\\n font-size: 15px;\\n &p,\\n &i {\\n font-family: 'Montserrat-light', sans-serif;\\n }\\n &label {\\n font-family: 'Montserrat-Semibold', sans-serif;\\n }\\n}\\n\\n.row {\\n margin-bottom: 20px;\\n .col-lg-10 {\\n span {\\n i {\\n font-family: 'Montserrat-light', sans-serif;\\n font-size: 15px;\\n }\\n }\\n }\\n .col-lg-6:nth-of-type(1) {\\n padding-right: 30px;\\n }\\n .col-lg-6:nth-of-type(2) {\\n padding-left: 30px;\\n }\\n}\\n\\nselect {\\n &.single-select.full-width {\\n width: 100%;\\n }\\n}\\n\\n.text-wrapper {\\n width: 100%;\\n textarea {\\n width: 100%;\\n }\\n}\\n\\n.radio-list-container {\\n padding: 20px 0px;\\n h3 {\\n margin-bottom: 20px;\\n }\\n ul.radio-list {\\n list-style: none;\\n margin-left: -40px;\\n li {\\n input[type=\\\"radio\\\"] {\\n margin-right: 5px;\\n cursor: pointer;\\n }\\n p.inline-block {\\n display: inline-block;\\n }\\n }\\n }\\n}\\n\\n.row.buttons {\\n padding: 20px 0px;\\n text-align: right;\\n button {\\n text-align: center;\\n }\\n}\\n\\n.grouped-inputs {\\n .grouped-content {\\n padding-left: 20px;\\n border-left: 2px solid @primary-90;\\n }\\n}\\n\\n.row {\\n .instance {\\n position: relative;\\n padding: 20px;\\n min-height: 40px;\\n line-height: 20px;\\n border: 2px solid @primary-50;\\n border-left: 5px solid @primary-90;\\n margin-bottom: 10px;\\n margin-top: 5px;\\n .details-wrapper {\\n display: inline-block;\\n width: 90%;\\n .instance-details {\\n margin: 0;\\n p {\\n margin-bottom: 5px;\\n display: inline-block;\\n }\\n }\\n }\\n .buttons {\\n display: inline-block;\\n text-align: right;\\n width: 9%;\\n button {\\n text-align: right;\\n }\\n }\\n }\\n .link-out {\\n display: inline-block;\\n height: 20px;\\n width: 20px;\\n vertical-align: text-bottom;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out.svg');\\n background-repeat: no-repeat;\\n background-position: center;\\n }\\n .star {\\n display: inline-block;\\n height: 20px;\\n width: 20px;\\n vertical-align: text-bottom;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/star.svg');\\n background-repeat: no-repeat;\\n background-position: center;\\n }\\n}\\n\\n.principle-info {\\n div {\\n display: inline-block;\\n p,\\n strong,\\n b,\\n u {\\n display: inline-block;\\n }\\n u {\\n font-family: Montserrat-Light, sans-serif;\\n }\\n }\\n}\\n\\n@media print {\\n .saf {\\n display: none\\n }\\n .page-title {\\n padding: 0px 0px 0px 0px;\\n }\\n ::ng-deep h1 {\\n font-size: 20px !important;\\n }\\n ::ng-deep h2 {\\n font-size: 15px !important;\\n }\\n ::ng-deep p {\\n font-size: 12px !important;\\n }\\n ::ng-deep i {\\n font-size: 12px !important;\\n }\\n ::ng-deep label {\\n font-size: 12px !important;\\n }\\n ::ng-deep a {\\n font-size: 12px !important;\\n }\\n ::ng-deep b {\\n font-size: 12px !important;\\n }\\n ::ng-deep h4 {\\n font-size: 12px !important;\\n }\\n ::ng-deep strong {\\n font-size: 13px !important;\\n }\\n :host ::ng-deep oir-cited-submissions {\\n .cited-submissions {\\n margin-top: 0px;\\n }\\n .sort-options {\\n display: none\\n }\\n .sort-by label{\\n display: none\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.row {\n margin-bottom: 20px;\n}\n.row input.invalid {\n background-color: #ffe5e9;\n border: 1px solid #c30e2e;\n color: #c30e2e;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/shared/link-submission.component.less\"],\"names\":[],\"mappings\":\"AAAA;EACE,mBAAA;AACF;AAFA;EAII,yBAAA;EACA,yBAAA;EACA,cAAA;AACJ\",\"sourcesContent\":[\".row {\\n margin-bottom: 20px;\\n\\n input.invalid {\\n background-color: #ffe5e9;\\n border: 1px solid #c30e2e;\\n color: #c30e2e;\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.pull-down {\n float: none;\n vertical-align: bottom;\n}\n.required::after {\n content: \" *\";\n color: black;\n}\n:host ::ng-deep ckeditor .ck-editor__editable_inline {\n min-height: 200px;\n}\n:host ::ng-deep ckeditor .ck-toolbar_grouping {\n background: #f8f8f8;\n}\n:host ::ng-deep ckeditor li {\n font-family: 'Montserrat-Light', sans-serif;\n font-size: 15px;\n line-height: 20px;\n color: #444444;\n}\n:host ::ng-deep ckeditor ol {\n list-style-type: decimal;\n}\n:host ::ng-deep ckeditor ol > li > ol {\n list-style-type: lower-alpha;\n}\n:host ::ng-deep ckeditor ol > li > ol > li > ol {\n list-style-type: upper-roman;\n}\n:host ::ng-deep ckeditor.invalid .cke {\n border: none;\n}\n:host ::ng-deep ckeditor.invalid .cke_wysiwyg_div {\n background-color: #ffe5e9;\n color: #c30e2e;\n}\n:host ::ng-deep ckeditor.invalid .cke_inner {\n border: 1px solid #c30e2e;\n}\n:host ::ng-deep oir-singleselect.invalid .select-container .input-container {\n background-color: #ffe5e9;\n color: #c30e2e !important;\n border: 1px solid #c30e2e;\n}\n:host ::ng-deep oir-singleselect.invalid .select-container .input-container .title.placeholder {\n color: #c30e2e !important;\n}\n:host ::ng-deep oir-typeahead invalid .-ms-input-placeholder {\n color: #c30e2e !important;\n}\n:host ::ng-deep oir-typeahead .typeahead-container .input-container input {\n width: 250px !important;\n}\n.form-item {\n margin-top: 15px;\n}\nbutton[type=reset] {\n margin-right: 10px;\n}\nhr {\n border-color: #d4cfbc;\n}\n.editable-create h4 {\n margin-top: 10px !important;\n}\n.spnUpdateNotify {\n float: right;\n}\n.edit-amendment-title {\n display: block;\n clear: both;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/amendment/amendment-create/amendment-create.component.less\"],\"names\":[],\"mappings\":\"AAAA;EACI,WAAA;EACA,sBAAA;AACJ;AAGA;EACI,aAAA;EACA,YAAA;AADJ;AAMA;EAEY,iBAAA;AALZ;AAGA;EAMY,mBAAA;AANZ;AAAA;EAUY,2CAAA;EACA,eAAA;EACA,iBAAA;EACA,cAAA;AAPZ;AANA;EAgBQ,wBAAA;AAPR;AATA;EAmBQ,4BAAA;AAPR;AAZA;EAsBQ,4BAAA;AAPR;AASI;EAEQ,YAAA;AARZ;AAMI;EAKQ,yBAAA;EACA,cAAA;AARZ;AAEI;EASQ,yBAAA;AARZ;AAcI;EAGY,yBAAA;EACA,yBAAA;EACA,yBAAA;AAdhB;AASI;EAOgB,yBAAA;AAbpB;AAqBI;EAEQ,yBAAA;AApBZ;AAiBA;EASgB,uBAAA;AAvBhB;AA6BA;EACI,gBAAA;AA3BJ;AA8BA;EACI,kBAAA;AA5BJ;AA+BA;EACI,qBAAA;AA7BJ;AAgCA;EACI,2BAAA;AA9BJ;AAiCA;EACI,YAAA;AA/BJ;AAkCA;EACI,cAAA;EACA,WAAA;AAhCJ\",\"sourcesContent\":[\".pull-down {\\n float: none;\\n vertical-align: bottom;\\n}\\n\\n// TODO Add to Pattern Library?\\n.required::after {\\n content: \\\" *\\\";\\n color: black;\\n}\\n\\n\\n\\n:host ::ng-deep ckeditor {\\n .ck-editor__editable_inline {\\n min-height: 200px;\\n }\\n \\n .ck-toolbar_grouping {\\n background: #f8f8f8;\\n }\\n \\n li {\\n font-family: 'Montserrat-Light', sans-serif;\\n font-size: 15px;\\n line-height: 20px;\\n color: #444444;\\n }\\n ol {\\n list-style-type: decimal;\\n }\\n ol>li>ol {\\n list-style-type: lower-alpha;\\n }\\n ol>li>ol>li>ol {\\n list-style-type: upper-roman;\\n }\\n &.invalid {\\n .cke {\\n border: none;\\n }\\n .cke_wysiwyg_div {\\n background-color: #ffe5e9;\\n color: #c30e2e;\\n }\\n .cke_inner {\\n border: 1px solid #c30e2e;\\n }\\n }\\n}\\n\\n:host ::ng-deep oir-singleselect {\\n &.invalid {\\n .select-container {\\n .input-container {\\n background-color: #ffe5e9;\\n color: #c30e2e !important;\\n border: 1px solid #c30e2e;\\n .title.placeholder {\\n color: #c30e2e !important;\\n }\\n }\\n }\\n }\\n}\\n\\n:host ::ng-deep oir-typeahead {\\n & invalid {\\n .-ms-input-placeholder {\\n color: #c30e2e !important;\\n }\\n }\\n .typeahead-container {\\n .input-container {\\n input {\\n width: 250px !important;\\n }\\n }\\n }\\n}\\n\\n.form-item {\\n margin-top: 15px;\\n}\\n\\nbutton[type=reset] {\\n margin-right: 10px;\\n}\\n\\nhr {\\n border-color: #d4cfbc;\\n}\\n\\n.editable-create h4 {\\n margin-top: 10px !important;\\n}\\n\\n.spnUpdateNotify {\\n float: right;\\n}\\n\\n.edit-amendment-title {\\n display: block;\\n clear: both;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `span {\n font-family: Montserrat-Light;\n}\n.row ::ng-deep oir-singleselect .select-container {\n min-width: 172px;\n text-align: left;\n}\n.row ::ng-deep ckeditor .ck-editor__editable_inline {\n min-height: 100px;\n}\n.row ::ng-deep ckeditor .ck-toolbar_grouping {\n background: #f8f8f8;\n}\n.row .select-container {\n padding-right: 20px;\n}\n.row .btn-med-primary {\n min-width: 112px;\n margin: 0 0 10px 0;\n display: block;\n margin-left: 10px;\n}\n.row.button-container {\n margin-top: 20px;\n}\n.row.split-decision-container {\n margin-bottom: 20px;\n}\n:host ::ng-deep oir-singleselect.invalid .select-container .input-container {\n background-color: #ffe5e9;\n color: #c30e2e;\n border: 1px solid #c30e2e;\n}\n@media screen and (max-width: 1280px) {\n .comment-container {\n max-width: 766px;\n }\n}\nstrong {\n font-family: Montserrat-Semibold;\n font-size: 15px;\n line-height: 20px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/amendment/amendment-edit/amendment-edit.component.less\"],\"names\":[],\"mappings\":\"AAAA;EACE,6BAAA;AACF;AAEA;EAGM,gBAAA;EACA,gBAAA;AAFN;AAFA;EAUM,iBAAA;AALN;AALA;EAaM,mBAAA;AALN;AARA;EAkBI,mBAAA;AAPJ;AAXA;EAsBI,gBAAA;EACA,kBAAA;EACA,cAAA;EACA,iBAAA;AARJ;AAWE;EACE,gBAAA;AATJ;AAYE;EACE,mBAAA;AAVJ;AAeE;EAGM,yBAAA;EACA,cAAA;EACA,yBAAA;AAfR;AAsBE;EAAA;IACE,gBAAA;EAnBF;AACF;AAsBA;EACE,gCAAA;EACA,eAAA;EACA,iBAAA;AApBF\",\"sourcesContent\":[\"span {\\n font-family: Montserrat-Light;\\n}\\n\\n.row {\\n ::ng-deep oir-singleselect {\\n .select-container {\\n min-width: 172px;\\n text-align: left;\\n }\\n }\\n\\n ::ng-deep ckeditor {\\n .ck-editor__editable_inline {\\n min-height: 100px;\\n }\\n .ck-toolbar_grouping {\\n background: #f8f8f8;\\n }\\n }\\n\\n .select-container {\\n padding-right: 20px;\\n }\\n\\n .btn-med-primary {\\n min-width: 112px;\\n margin: 0 0 10px 0;\\n display: block;\\n margin-left: 10px;\\n }\\n\\n &.button-container {\\n margin-top: 20px;\\n }\\n\\n &.split-decision-container {\\n margin-bottom: 20px;\\n }\\n}\\n\\n:host ::ng-deep oir-singleselect {\\n &.invalid {\\n .select-container {\\n .input-container {\\n background-color: #ffe5e9;\\n color: #c30e2e;\\n border: 1px solid #c30e2e;\\n }\\n }\\n }\\n}\\n\\n.comment-container {\\n @media screen and (max-width: 1280px) {\\n max-width: 766px;\\n }\\n}\\n\\nstrong {\\n font-family: Montserrat-Semibold;\\n font-size: 15px;\\n line-height: 20px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `ul.radio-list {\n padding-left: 0px;\n}\nul.radio-list li {\n list-style: none;\n}\nspan {\n font-family: Montserrat-Light;\n}\n.item-instance {\n margin-top: 15px;\n}\n.item-instance input {\n margin-top: 0 !important;\n}\n.item-instance input:disabled {\n background-color: #f4f2ea !important;\n border: 1px solid #d4cfbc !important;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/amendment/amendment-final-decision/amendment-final-decision.component.less\"],\"names\":[],\"mappings\":\"AAAA;EACE,iBAAA;AACF;AAFA;EAII,gBAAA;AACJ;AAGA;EACE,6BAAA;AADF;AAIA;EACE,gBAAA;AAFF;AACA;EAII,wBAAA;AAFJ;AAII;EACE,oCAAA;EACA,oCAAA;AAFN\",\"sourcesContent\":[\"ul.radio-list {\\n padding-left: 0px;\\n\\n li {\\n list-style: none;\\n }\\n}\\n\\nspan {\\n font-family: Montserrat-Light;\\n}\\n\\n.item-instance {\\n margin-top: 15px;\\n\\n input {\\n margin-top: 0 !important;\\n\\n &:disabled {\\n background-color: #f4f2ea !important;\\n border: 1px solid #d4cfbc !important;\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `strong {\n font-family: Montserrat-Semibold;\n font-size: 15px;\n line-height: 20px;\n}\nspan {\n font-family: Montserrat-Light;\n}\nspan .noFloat {\n float: none;\n}\n.group-title strong {\n vertical-align: super;\n}\n.group-title .collapse {\n width: 23px;\n height: 23px;\n display: inline-block;\n background-image: url('open-chev-big.f05d398ec6e57c90.svg');\n}\n.group-title .collapse.active {\n background-image: url('closed-chev-big.847c1b52d4b4a306.svg');\n}\n.group-title .collapse:hover {\n cursor: pointer;\n}\n.creator {\n text-align: right;\n}\n.creator strong,\n.creator span {\n display: inline-block;\n}\n.comment {\n margin-top: 10px;\n font-family: Montserrat-Light;\n font-size: 15px;\n line-height: 20px;\n}\n.no-select {\n -webkit-touch-callout: none;\n /* iOS Safari */\n -webkit-user-select: none;\n /* Safari */\n /* Konqueror HTML */\n /* Firefox */\n /* Internet Explorer/Edge */\n user-select: none;\n /* Non-prefixed version, currently\n supported by Chrome and Opera */\n}\n.rowLastGroup {\n margin-top: 10px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/amendment/amendment-group/amendment-group.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACE,gCAAA;EACA,eAAA;EACA,iBAAA;AADF;AAIA;EACE,6BAAA;AAFF;AACA;EAGI,WAAA;AADJ;AAKA;EAEI,qBAAA;AAJJ;AAEA;EAMI,WAAA;EACA,YAAA;EACA,qBAAA;EACA,2DAAA;AALJ;AAOI;EACE,6DAAA;AALN;AAQI;EACE,eAAA;AANN;AAWA;EACE,iBAAA;AATF;AAQA;;EAGI,qBAAA;AAPJ;AAWA;EACE,gBAAA;EACA,6BAAA;EACA,eAAA;EACA,iBAAA;AATF;AAYA;EACE,2BAAA;EAVA,eAAe;EAWf,yBAAA;EATA,WAAW;EAEX,mBAAmB;EAEnB,YAAY;EAEZ,2BAA2B;EAO3B,iBAAA;EALA;iEAC+D;AACjE;AAOA;EACE,gBAAA;AALF\",\"sourcesContent\":[\"@import (reference) '../../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n\\nstrong {\\n font-family: Montserrat-Semibold;\\n font-size: 15px;\\n line-height: 20px;\\n}\\n\\nspan {\\n font-family: Montserrat-Light;\\n .noFloat {\\n float:none\\n }\\n}\\n\\n.group-title {\\n strong {\\n vertical-align: super;\\n }\\n\\n .collapse {\\n width: 23px;\\n height: 23px;\\n display: inline-block;\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/open-chev-big.svg');\\n\\n &.active {\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/closed-chev-big.svg');\\n }\\n\\n &:hover {\\n cursor: pointer;\\n }\\n }\\n}\\n\\n.creator {\\n text-align: right;\\n strong, span {\\n display: inline-block;\\n }\\n}\\n\\n.comment {\\n margin-top: 10px;\\n font-family: Montserrat-Light;\\n font-size: 15px;\\n line-height: 20px;\\n}\\n\\n.no-select {\\n -webkit-touch-callout: none; /* iOS Safari */\\n -webkit-user-select: none; /* Safari */\\n -khtml-user-select: none; /* Konqueror HTML */\\n -moz-user-select: none; /* Firefox */\\n -ms-user-select: none; /* Internet Explorer/Edge */\\n user-select: none; /* Non-prefixed version, currently\\n supported by Chrome and Opera */\\n}\\n\\n.rowLastGroup{\\n margin-top:10px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `ul.radio-list {\n padding-left: 0px;\n}\nul.radio-list li {\n list-style: none;\n}\nspan {\n font-family: Montserrat-Light;\n}\n.item-instance {\n margin-top: 15px;\n padding-right: 40px;\n}\n.item-instance input {\n margin-top: 0 !important;\n}\n.item-instance input:disabled {\n background-color: #f4f2ea !important;\n border: 1px solid #d4cfbc !important;\n}\n:host ::ng-deep oir-typeahead .typeahead-container .input-container input {\n width: 200px;\n}\n:host ::ng-deep oir-typeahead.invalid .typeahead-container .input-container {\n background-color: #ffe5e9;\n color: #c30e2e;\n border: 1px solid #c30e2e;\n}\n.remove-comm {\n position: absolute;\n top: 0;\n right: 20px;\n}\nform {\n margin-top: 20px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/amendment/amendment-reference/amendment-reference.component.less\"],\"names\":[],\"mappings\":\"AAAA;EACE,iBAAA;AACF;AAFA;EAII,gBAAA;AACJ;AAGA;EACE,6BAAA;AADF;AAIA;EACE,gBAAA;EACA,mBAAA;AAFF;AAAA;EAKI,wBAAA;AAFJ;AAII;EACE,oCAAA;EACA,oCAAA;AAFN;AAOA;EAIQ,YAAA;AARR;AAaE;EAGM,yBAAA;EACA,cAAA;EACA,yBAAA;AAbR;AAmBA;EACE,kBAAA;EACA,MAAA;EACA,WAAA;AAjBF;AAoBA;EACE,gBAAA;AAlBF\",\"sourcesContent\":[\"ul.radio-list {\\n padding-left: 0px;\\n\\n li {\\n list-style: none;\\n }\\n}\\n\\nspan {\\n font-family: Montserrat-Light;\\n}\\n\\n.item-instance {\\n margin-top: 15px;\\n padding-right: 40px;\\n\\n input {\\n margin-top: 0 !important;\\n\\n &:disabled {\\n background-color: #f4f2ea !important;\\n border: 1px solid #d4cfbc !important;\\n }\\n }\\n}\\n\\n:host ::ng-deep oir-typeahead {\\n .typeahead-container {\\n .input-container {\\n input {\\n width: 200px;\\n }\\n }\\n }\\n\\n &.invalid {\\n .typeahead-container {\\n .input-container {\\n background-color: #ffe5e9;\\n color: #c30e2e;\\n border: 1px solid #c30e2e;\\n }\\n }\\n }\\n}\\n\\n.remove-comm {\\n position: absolute;\\n top: 0;\\n right: 20px;\\n}\\n\\nform {\\n margin-top: 20px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `strong {\n font-family: Montserrat-Semibold;\n font-size: 15px;\n line-height: 20px;\n color: #444444;\n}\np {\n display: inline-block;\n}\ni {\n display: inline-block;\n font-family: Montserrat-LightItalic;\n font-size: 14px;\n line-height: 20px;\n}\n.body {\n margin-top: 10px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/amendment/amendment-summary/amendment-summary.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACE,gCAAA;EACA,eAAA;EACA,iBAAA;EACA,cAAA;AADF;AAIA;EACE,qBAAA;AAFF;AAKA;EACE,qBAAA;EACA,mCAAA;EACA,eAAA;EACA,iBAAA;AAHF;AAMA;EACE,gBAAA;AAJF\",\"sourcesContent\":[\"@import (reference) '../../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n\\nstrong {\\n font-family: Montserrat-Semibold;\\n font-size: 15px;\\n line-height: 20px;\\n color: @secondary-90;\\n}\\n\\np {\\n display: inline-block;\\n}\\n\\ni {\\n display: inline-block;\\n font-family: Montserrat-LightItalic;\\n font-size: 14px;\\n line-height: 20px;\\n}\\n\\n.body {\\n margin-top: 10px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `hr {\n margin: 14px 0 14px 0;\n}\n.group-container {\n display: block;\n}\n.group-container.collapsed {\n display: none;\n}\n.amendment-section h1 {\n display: inline-block;\n}\n.amendment-section .collapse-section {\n width: 23px;\n height: 23px;\n display: inline-block;\n background-image: url('open-chev-big.f05d398ec6e57c90.svg');\n}\n.amendment-section .collapse-section.active {\n background-image: url('closed-chev-big.847c1b52d4b4a306.svg');\n}\n.amendment-section .collapse-section:hover {\n cursor: pointer;\n}\nspan {\n font-family: 'Montserrat-Regular', sans-serif;\n font-size: 15px;\n font-weight: normal;\n}\n.no-select {\n -webkit-touch-callout: none;\n /* iOS Safari */\n -webkit-user-select: none;\n /* Safari */\n /* Konqueror HTML */\n /* Firefox */\n /* Internet Explorer/Edge */\n user-select: none;\n /* Non-prefixed version, currently\n supported by Chrome and Opera */\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/amendment/amendment.component.less\"],\"names\":[],\"mappings\":\"AACA;EACE,qBAAA;AAAF;AAGA;EACE,cAAA;AADF;AAGE;EACE,aAAA;AADJ;AAKA;EAEI,qBAAA;AAJJ;AAEA;EAMI,WAAA;EACA,YAAA;EACA,qBAAA;EACA,2DAAA;AALJ;AAOI;EACE,6DAAA;AALN;AAQI;EACE,eAAA;AANN;AAWA;EACE,6CAAA;EACA,eAAA;EACA,mBAAA;AATF;AAYA;EACE,2BAAA;EAVA,eAAe;EAWf,yBAAA;EATA,WAAW;EAEX,mBAAmB;EAEnB,YAAY;EAEZ,2BAA2B;EAO3B,iBAAA;EALA;iEAC+D;AACjE\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\nhr {\\n margin: 14px 0 14px 0;\\n}\\n\\n.group-container {\\n display: block;\\n\\n &.collapsed {\\n display: none;\\n }\\n}\\n\\n.amendment-section {\\n h1 {\\n display: inline-block;\\n }\\n\\n .collapse-section {\\n width: 23px;\\n height: 23px;\\n display: inline-block;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/open-chev-big.svg');\\n\\n &.active {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/closed-chev-big.svg');\\n }\\n\\n &:hover {\\n cursor: pointer;\\n }\\n }\\n}\\n\\nspan {\\n font-family: 'Montserrat-Regular', sans-serif;\\n font-size: 15px;\\n font-weight: normal;\\n}\\n\\n.no-select {\\n -webkit-touch-callout: none; /* iOS Safari */\\n -webkit-user-select: none; /* Safari */\\n -khtml-user-select: none; /* Konqueror HTML */\\n -moz-user-select: none; /* Firefox */\\n -ms-user-select: none; /* Internet Explorer/Edge */\\n user-select: none; /* Non-prefixed version, currently\\n supported by Chrome and Opera */\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host ::ng-deep oir-collapsible-panel li {\n font-family: 'Montserrat-Light', sans-serif;\n font-size: 15px;\n line-height: 20px;\n color: #444444;\n}\n:host ::ng-deep oir-collapsible-panel ol {\n list-style-type: decimal;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol {\n list-style-type: lower-alpha;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol > li > ol {\n list-style-type: lower-roman;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol > li > ol > li > ol {\n list-style-type: upper-roman;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .user-role-date {\n text-align: right;\n float: right;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .user-role-date b {\n margin-right: 10px;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container h4 {\n float: left;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .collapsible-heading-container .arrow {\n left: 0;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .collapsible-heading-container h4 {\n margin-left: 37px;\n}\nhr {\n margin: 15px 0;\n}\nhr.full-line {\n margin: 20px -20px;\n border-color: #d4cfbc;\n}\nhr.spacer {\n margin: 1px 0;\n width: 100%;\n border: 0;\n}\n.group-title strong {\n display: inline-block;\n vertical-align: super;\n}\n.group-title .collapse {\n width: 23px;\n height: 23px;\n display: inline-block;\n background-image: url('closed-chev-big.847c1b52d4b4a306.svg');\n}\n.group-title .collapse.active {\n background-image: url('open-chev-big.f05d398ec6e57c90.svg');\n}\n.group-title .collapse:hover {\n cursor: pointer;\n}\n.user-role-date {\n display: block;\n right: 40px;\n height: 20px;\n text-align: right;\n}\n.panelTitle {\n display: inline-block;\n position: relative;\n top: -5px;\n left: 10px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/contribution-view-amd-fi/contribution-view-amd-fi.component.less\"],\"names\":[],\"mappings\":\"AAEA;EAEI,2CAAA;EACA,eAAA;EACA,iBAAA;EACA,cAAA;AAFJ;AAHA;EAQI,wBAAA;AAFJ;AANA;EAWI,4BAAA;AAFJ;AATA;EAcI,4BAAA;AAFJ;AAZA;EAiBI,4BAAA;AAFJ;AAfA;EAqBM,iBAAA;EACA,YAAA;AAHN;AAnBA;EAwBQ,kBAAA;AAFR;AAtBA;EA6BM,WAAA;AAJN;AAzBA;EAiCQ,OAAA;AALR;AA5BA;EAqCQ,iBAAA;AANR;AAYA;EACE,cAAA;AAVF;AAYE;EACE,kBAAA;EACA,qBAAA;AAVJ;AAaE;EACE,aAAA;EACA,WAAA;EACA,SAAA;AAXJ;AAeA;EAEI,qBAAA;EACA,qBAAA;AAdJ;AAWA;EAOI,WAAA;EACA,YAAA;EACA,qBAAA;EACA,6DAAA;AAfJ;AAiBI;EACE,2DAAA;AAfN;AAkBI;EACE,eAAA;AAhBN;AAqBA;EACE,cAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;AAnBF;AAsBA;EACE,qBAAA;EACA,kBAAA;EACA,SAAA;EACA,UAAA;AApBF\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n\\n:host ::ng-deep oir-collapsible-panel {\\n li {\\n font-family: 'Montserrat-Light', sans-serif;\\n font-size: 15px;\\n line-height: 20px;\\n color: #444444;\\n }\\n ol {\\n list-style-type: decimal;\\n }\\n ol > li > ol {\\n list-style-type: lower-alpha;\\n }\\n ol > li > ol > li > ol {\\n list-style-type: lower-roman;\\n }\\n ol > li > ol > li > ol > li > ol {\\n list-style-type: upper-roman;\\n }\\n .collapsible-container {\\n .user-role-date {\\n text-align: right;\\n float: right;\\n b {\\n margin-right: 10px;\\n }\\n }\\n\\n h4 {\\n float: left;\\n }\\n .collapsible-heading-container {\\n .arrow {\\n left: 0;\\n }\\n\\n h4 {\\n margin-left: 37px;\\n }\\n }\\n }\\n}\\n\\nhr {\\n margin: 15px 0;\\n\\n &.full-line {\\n margin: 20px -20px;\\n border-color: #d4cfbc;\\n }\\n\\n &.spacer {\\n margin:1px 0;\\n width: 100%;\\n border: 0;\\n }\\n}\\n\\n.group-title {\\n strong {\\n display: inline-block;\\n vertical-align: super;\\n }\\n\\n .collapse {\\n width: 23px;\\n height: 23px;\\n display: inline-block;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/closed-chev-big.svg');\\n\\n &.active {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/open-chev-big.svg');\\n }\\n\\n &:hover {\\n cursor: pointer;\\n }\\n }\\n}\\n\\n.user-role-date{\\n display: block;\\n right: 40px;\\n height: 20px;\\n text-align: right;\\n}\\n\\n.panelTitle{\\n display: inline-block;\\n position: relative;\\n top: -5px;\\n left: 10px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.dateTime {\n text-align: right;\n}\n:host ::ng-deep oir-collapsible-panel li {\n font-family: 'Montserrat-Light', sans-serif;\n font-size: 15px;\n line-height: 20px;\n color: #444444;\n}\n:host ::ng-deep oir-collapsible-panel ol {\n list-style-type: decimal;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol {\n list-style-type: lower-alpha;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol > li > ol {\n list-style-type: lower-roman;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol > li > ol > li > ol {\n list-style-type: upper-roman;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .collapsible-heading-container .arrow {\n left: 0px;\n}\nh4#padTitle {\n padding-left: 35px;\n}\n@media print {\n :host ::ng-deep oir-collapsible-panel .collapsible-container .collapsible-content-container {\n overflow: visible;\n max-height: 100%;\n }\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/contribution-view/contribution-view.component.less\"],\"names\":[],\"mappings\":\"AACA;EACI,iBAAA;AAAJ;AAGA;EAEQ,2CAAA;EACA,eAAA;EACA,iBAAA;EACA,cAAA;AAFR;AAHA;EAQQ,wBAAA;AAFR;AANA;EAWQ,4BAAA;AAFR;AATA;EAcQ,4BAAA;AAFR;AAZA;EAiBQ,4BAAA;AAFR;AAfA;EAsBgB,SAAA;AAJhB;AAUA;EACI,kBAAA;AARJ;AAWA;EACE;IAGc,iBAAA;IACA,gBAAA;EAXd;AACF\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n.dateTime {\\n text-align: right;\\n}\\n\\n:host ::ng-deep oir-collapsible-panel {\\n li {\\n font-family: 'Montserrat-Light', sans-serif;\\n font-size: 15px;\\n line-height: 20px;\\n color: #444444;\\n }\\n ol {\\n list-style-type: decimal;\\n }\\n ol>li>ol {\\n list-style-type: lower-alpha;\\n }\\n ol>li>ol>li>ol {\\n list-style-type: lower-roman;\\n }\\n ol>li>ol>li>ol>li>ol {\\n list-style-type: upper-roman;\\n }\\n .collapsible-container {\\n .collapsible-heading-container {\\n .arrow {\\n left: 0px;\\n }\\n }\\n }\\n}\\n\\nh4#padTitle {\\n padding-left: 35px;\\n}\\n\\n@media print {\\n :host ::ng-deep oir-collapsible-panel {\\n .collapsible-container {\\n .collapsible-content-container {\\n overflow: visible;\\n max-height: 100%;\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host ::ng-deep ckeditor .ck-editor__editable_inline {\n min-height: 200px;\n}\n:host ::ng-deep ckeditor .ck-toolbar_grouping {\n background: #f8f8f8;\n}\n:host ::ng-deep ckeditor li {\n font-family: 'Montserrat-Light', sans-serif;\n font-size: 15px;\n line-height: 20px;\n color: #444444;\n}\n:host ::ng-deep ckeditor ol {\n list-style-type: decimal;\n}\n:host ::ng-deep ckeditor ol > li > ol {\n list-style-type: lower-alpha;\n}\n:host ::ng-deep ckeditor ol > li > ol > li > ol {\n list-style-type: upper-roman;\n}\n.content h4.content-title {\n margin-bottom: 15px;\n margin-top: 15px;\n}\n.content h4.content-title#first {\n margin-top: 0px;\n}\n.content .row {\n margin-bottom: 15px;\n}\n.content .row div.buttons {\n text-align: right;\n}\n.content .row div.buttons button {\n text-align: center;\n}\n.content .row .proposed-container {\n padding-right: 30px;\n}\n.content .row .intro-date-container {\n padding-left: 30px;\n}\n.content ul.radio-list {\n padding-left: 0;\n list-style: none;\n}\n.content ul.radio-list li p,\n.content ul.radio-list li input[type=\"radio\"] {\n display: inline-block;\n}\n.content ul.radio-list li p {\n padding-left: 5px;\n}\n.content ul.radio-list li input[type=\"radio\"] {\n margin-right: 10px;\n}\n.content ul.radio-list li ::ng-deep oir-singleselect {\n margin-left: 37px;\n display: inline-block;\n width: 100%;\n}\n.content ul.radio-list h4 {\n margin-left: 37px;\n}\n@media print {\n ::ng-deep ckeditor .cke_top {\n visibility: hidden;\n }\n ::ng-deep oir-singleselect .select-container {\n display: flex;\n }\n .datepicker-wrapper {\n display: flex;\n }\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/contribution/contribution.component.less\"],\"names\":[],\"mappings\":\"AACA;EAEY,iBAAA;AADZ;AADA;EAMY,mBAAA;AAFZ;AAJA;EASQ,2CAAA;EACA,eAAA;EACA,iBAAA;EACA,cAAA;AAFR;AAVA;EAeQ,wBAAA;AAFR;AAbA;EAkBQ,4BAAA;AAFR;AAhBA;EAqBQ,4BAAA;AAFR;AAMA;EAEQ,mBAAA;EACA,gBAAA;AALR;AAMQ;EACI,eAAA;AAJZ;AADA;EASQ,mBAAA;AALR;AAJA;EAWY,iBAAA;AAJZ;AAPA;EAagB,kBAAA;AAHhB;AAVA;EAiBY,mBAAA;AAJZ;AAbA;EAoBY,kBAAA;AAJZ;AAhBA;EAwBQ,eAAA;EACA,gBAAA;AALR;AApBA;;EA6BgB,qBAAA;AALhB;AAxBA;EAgCgB,iBAAA;AALhB;AA3BA;EAmCgB,kBAAA;AALhB;AA9BA;EAsCgB,iBAAA;EACA,qBAAA;EACA,WAAA;AALhB;AAnCA;EA4CY,iBAAA;AANZ;AAWA;EACI;IAEQ,kBAAA;EAVV;EAaE;IAEM,aAAA;EAZR;EAeE;IACI,aAAA;EAbN;AACF\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n:host ::ng-deep ckeditor {\\n .ck-editor__editable_inline {\\n min-height: 200px;\\n }\\n \\n .ck-toolbar_grouping {\\n background: #f8f8f8;\\n }\\n li {\\n font-family: 'Montserrat-Light', sans-serif;\\n font-size: 15px;\\n line-height: 20px;\\n color: #444444;\\n }\\n ol {\\n list-style-type: decimal;\\n }\\n ol>li>ol {\\n list-style-type: lower-alpha;\\n }\\n ol>li>ol>li>ol {\\n list-style-type: upper-roman;\\n }\\n}\\n\\n.content {\\n h4.content-title {\\n margin-bottom: 15px;\\n margin-top: 15px;\\n first {\\n margin-top: 0px;\\n }\\n }\\n .row {\\n margin-bottom: 15px;\\n div.buttons {\\n text-align: right;\\n button {\\n text-align: center;\\n }\\n }\\n .proposed-container {\\n padding-right: 30px;\\n }\\n .intro-date-container {\\n padding-left: 30px;\\n }\\n }\\n ul.radio-list {\\n padding-left: 0;\\n list-style: none;\\n li {\\n p,\\n input[type=\\\"radio\\\"] {\\n display: inline-block;\\n }\\n p {\\n padding-left: 5px;\\n }\\n input[type=\\\"radio\\\"] {\\n margin-right: 10px\\n }\\n ::ng-deep oir-singleselect {\\n margin-left: 37px;\\n display: inline-block;\\n width: 100%;\\n }\\n }\\n h4 {\\n margin-left: 37px\\n }\\n }\\n}\\n\\n@media print {\\n ::ng-deep ckeditor {\\n .cke_top {\\n visibility: hidden;\\n }\\n }\\n ::ng-deep oir-singleselect {\\n .select-container {\\n display: flex;\\n }\\n }\\n .datepicker-wrapper {\\n display: flex;\\n }\\n\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host ::ng-deep oir-modal .modal-dialog-container {\n top: 25%;\n}\n::ng-deep oir-typeahead .ck-toolbar_grouping,\n::ng-deep oir-singleselect .ck-toolbar_grouping,\n::ng-deep ckeditor .ck-toolbar_grouping {\n background: #f8f8f8;\n}\n::ng-deep oir-typeahead:focus,\n::ng-deep oir-singleselect:focus,\n::ng-deep ckeditor:focus {\n outline: none !important;\n}\n.modal-body p {\n margin-bottom: 10px;\n}\n.modal-body .row {\n margin-bottom: 15px;\n}\n.modal-body .row .category-container multiselect,\n.modal-body .row .sub-category-container multiselect,\n.modal-body .row .forum-container multiselect,\n.modal-body .row .orders-container multiselect {\n width: 100%;\n}\n.modal-body .row .category-container,\n.modal-body .row .sub-category-container {\n padding-right: 30px;\n}\n.modal-body .row .forum-container,\n.modal-body .row .assigned-container {\n padding-left: 30px;\n}\n.modal-body .row .forum-container.padding-right,\n.modal-body .row .assigned-container.padding-right {\n padding-left: 0px;\n padding-right: 30px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/create/create-submission.component.less\"],\"names\":[],\"mappings\":\"AACA;EAEE,QAAA;AADF;AAKA;;;EAII,mBAAA;AAJJ;AAME;;;EACE,wBAAA;AAFJ;AAMA;EAGI,mBAAA;AANJ;AAGA;EAOI,mBAAA;AAPJ;AAAA;;;;EAWQ,WAAA;AALR;AANA;;EAgBM,mBAAA;AANN;AAVA;;EAoBM,kBAAA;AANN;AAQM;;EACE,iBAAA;EACA,mBAAA;AALR\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n:host ::ng-deep oir-modal {\\n .modal-dialog-container {\\n top: 25%;\\n}\\n}\\n\\n::ng-deep oir-typeahead,\\n::ng-deep oir-singleselect,\\n::ng-deep ckeditor {\\n .ck-toolbar_grouping {\\n background: #f8f8f8;\\n}\\n &:focus {\\n outline: none !important;\\n }\\n}\\n\\n.modal-body {\\n\\n p {\\n margin-bottom: 10px;\\n }\\n\\n .row {\\n margin-bottom: 15px;\\n\\n .category-container, .sub-category-container, .forum-container, .orders-container {\\n multiselect {\\n width: 100%;\\n }\\n }\\n\\n .category-container, .sub-category-container {\\n padding-right: 30px;\\n }\\n\\n .forum-container, .assigned-container {\\n padding-left: 30px;\\n\\n &.padding-right {\\n padding-left: 0px;\\n padding-right: 30px;\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, ``, \"\",{\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host ::ng-deep ckeditor .ck-editor__editable_inline {\n min-height: 200px;\n}\n:host ::ng-deep ckeditor .ck-toolbar_grouping {\n background: #f8f8f8;\n}\n:host ::ng-deep ckeditor li {\n font-family: 'Montserrat-Light', sans-serif;\n font-size: 15px;\n line-height: 20px;\n color: #444444;\n}\n:host ::ng-deep ckeditor ol {\n list-style-type: decimal;\n}\n:host ::ng-deep ckeditor ol > li > ol {\n list-style-type: lower-alpha;\n}\n:host ::ng-deep ckeditor ol > li > ol > li > ol {\n list-style-type: upper-roman;\n}\n.content {\n padding: 0 !important;\n margin-bottom: 0 !important;\n}\n.content h4.content-title {\n margin-bottom: 15px;\n margin-top: 15px;\n}\n.content h4.content-title#first {\n margin-top: 0px;\n}\n.content .row {\n margin-bottom: 15px;\n}\n.content .row div.buttons {\n text-align: right;\n}\n.content .row div.buttons button {\n text-align: center;\n}\n.content .row .proposed-container {\n padding-right: 30px;\n}\n.content .row .intro-date-container {\n padding-left: 30px;\n}\n.content .row.no-margin-bottom {\n margin-bottom: 0;\n}\n.content ul.radio-list {\n padding-left: 0;\n list-style: none;\n}\n.content ul.radio-list li p,\n.content ul.radio-list li input[type='radio'] {\n display: inline-block;\n}\n.content ul.radio-list li p {\n padding-left: 5px;\n}\n::ng-deep oir-singleselect .select-container {\n min-width: 0px !important;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/financial-implications/type-create/type-create.component.less\"],\"names\":[],\"mappings\":\"AACA;EAEM,iBAAA;AADN;AADA;EAMM,mBAAA;AAFN;AAJA;EASI,2CAAA;EACA,eAAA;EACA,iBAAA;EACA,cAAA;AAFJ;AAVA;EAeI,wBAAA;AAFJ;AAbA;EAkBI,4BAAA;AAFJ;AAhBA;EAqBI,4BAAA;AAFJ;AAMA;EACE,qBAAA;EACA,2BAAA;AAJF;AAEA;EAKI,mBAAA;EACA,gBAAA;AAJJ;AAKI;EACE,eAAA;AAHN;AALA;EAYI,mBAAA;AAJJ;AARA;EAcM,iBAAA;AAHN;AAXA;EAgBQ,kBAAA;AAFR;AAdA;EAoBM,mBAAA;AAHN;AAjBA;EAuBM,kBAAA;AAHN;AAMI;EACE,gBAAA;AAJN;AAvBA;EAgCI,eAAA;EACA,gBAAA;AANJ;AA3BA;;EAqCQ,qBAAA;AANR;AA/BA;EAwCQ,iBAAA;AANR;AAYA;EAEI,yBAAA;AAXJ\",\"sourcesContent\":[\"@import (reference) '../../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n:host ::ng-deep ckeditor {\\n .ck-editor__editable_inline {\\n min-height: 200px;\\n }\\n \\n .ck-toolbar_grouping {\\n background: #f8f8f8;\\n }\\n li {\\n font-family: 'Montserrat-Light', sans-serif;\\n font-size: 15px;\\n line-height: 20px;\\n color: #444444;\\n }\\n ol {\\n list-style-type: decimal;\\n }\\n ol > li > ol {\\n list-style-type: lower-alpha;\\n }\\n ol > li > ol > li > ol {\\n list-style-type: upper-roman;\\n }\\n}\\n\\n.content {\\n padding:0 !important;\\n margin-bottom:0 !important;\\n\\n h4.content-title {\\n margin-bottom: 15px;\\n margin-top: 15px;\\n first {\\n margin-top: 0px;\\n }\\n }\\n .row {\\n margin-bottom: 15px;\\n div.buttons {\\n text-align: right;\\n button {\\n text-align: center;\\n }\\n }\\n .proposed-container {\\n padding-right: 30px;\\n }\\n .intro-date-container {\\n padding-left: 30px;\\n }\\n\\n &.no-margin-bottom {\\n margin-bottom:0;\\n }\\n }\\n\\n ul.radio-list {\\n padding-left: 0;\\n list-style: none;\\n li {\\n p,\\n input[type='radio'] {\\n display: inline-block;\\n }\\n p {\\n padding-left: 5px;\\n }\\n }\\n }\\n}\\n\\n::ng-deep oir-singleselect{\\n .select-container{\\n min-width: 0px !important;\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.dateTime {\n text-align: right;\n}\n:host ::ng-deep oir-collapsible-panel li {\n font-family: 'Montserrat-Light', sans-serif;\n font-size: 15px;\n line-height: 20px;\n color: #444;\n}\n:host ::ng-deep oir-collapsible-panel ol {\n list-style-type: decimal;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol {\n list-style-type: lower-alpha;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol > li > ol {\n list-style-type: lower-roman;\n}\n:host ::ng-deep oir-collapsible-panel ol > li > ol > li > ol > li > ol {\n list-style-type: upper-roman;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .collapsible-heading-container .arrow {\n left: 0;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .collapsible-heading-container h4 {\n margin-left: 37px;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container h4 {\n float: left;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .user-role-date {\n float: right;\n text-align: right;\n}\n:host ::ng-deep oir-collapsible-panel .collapsible-container .user-role-date b {\n margin-right: 10px;\n}\nhr {\n margin: 15px 0;\n}\nhr.full-line {\n margin: 20px -20px;\n border-color: #d4cfbc;\n}\nhr.spacer {\n margin: 1px 0;\n width: 100%;\n border: 0;\n}\n.group-title strong {\n display: inline-block;\n vertical-align: super;\n}\n.group-title .collapse {\n width: 23px;\n height: 23px;\n display: inline-block;\n background-image: url('closed-chev-big.847c1b52d4b4a306.svg');\n}\n.group-title .collapse.active {\n background-image: url('open-chev-big.f05d398ec6e57c90.svg');\n}\n.group-title .collapse:hover {\n cursor: pointer;\n}\n.panelTitle {\n display: inline-block;\n position: relative;\n top: -5px;\n left: 10px;\n}\n.user-role-date-first-fi {\n right: 40px;\n position: absolute;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/financial-implications/type-panel/type-panel.component.less\"],\"names\":[],\"mappings\":\"AACA;EACE,iBAAA;AAAF;AAGA;EAEI,2CAAA;EACA,eAAA;EACA,iBAAA;EACA,WAAA;AAFJ;AAHA;EAQI,wBAAA;AAFJ;AANA;EAWI,4BAAA;AAFJ;AATA;EAcI,4BAAA;AAFJ;AAZA;EAiBI,4BAAA;AAFJ;AAfA;EAsBQ,OAAA;AAJR;AAlBA;EAyBQ,iBAAA;AAJR;AArBA;EA8BM,WAAA;AANN;AAxBA;EAkCM,YAAA;EACA,iBAAA;AAPN;AA5BA;EAqCQ,kBAAA;AANR;AAYA;EACE,cAAA;AAVF;AAYE;EACE,kBAAA;EACA,qBAAA;AAVJ;AAaE;EACE,aAAA;EACA,WAAA;EACA,SAAA;AAXJ;AAeA;EAEI,qBAAA;EACA,qBAAA;AAdJ;AAWA;EAOI,WAAA;EACA,YAAA;EACA,qBAAA;EACA,6DAAA;AAfJ;AAiBI;EACE,2DAAA;AAfN;AAkBI;EACE,eAAA;AAhBN;AAqBA;EACE,qBAAA;EACA,kBAAA;EACA,SAAA;EACA,UAAA;AAnBF;AAsBA;EACE,WAAA;EACA,kBAAA;AApBF\",\"sourcesContent\":[\"@import (reference) '../../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n.dateTime {\\n text-align: right;\\n}\\n\\n:host ::ng-deep oir-collapsible-panel {\\n li {\\n font-family: 'Montserrat-Light', sans-serif;\\n font-size: 15px;\\n line-height: 20px;\\n color: #444;\\n }\\n ol {\\n list-style-type: decimal;\\n }\\n ol > li > ol {\\n list-style-type: lower-alpha;\\n }\\n ol > li > ol > li > ol {\\n list-style-type: lower-roman;\\n }\\n ol > li > ol > li > ol > li > ol {\\n list-style-type: upper-roman;\\n }\\n .collapsible-container {\\n .collapsible-heading-container {\\n .arrow {\\n left: 0;\\n }\\n h4 {\\n margin-left: 37px;\\n }\\n }\\n\\n h4 {\\n float: left;\\n }\\n\\n .user-role-date {\\n float: right;\\n text-align: right;\\n b {\\n margin-right: 10px;\\n }\\n }\\n }\\n}\\n\\nhr {\\n margin: 15px 0;\\n\\n &.full-line {\\n margin: 20px -20px;\\n border-color: #d4cfbc;\\n }\\n\\n &.spacer {\\n margin:1px 0;\\n width: 100%;\\n border: 0;\\n }\\n}\\n\\n.group-title {\\n strong {\\n display: inline-block;\\n vertical-align: super;\\n }\\n\\n .collapse {\\n width: 23px;\\n height: 23px;\\n display: inline-block;\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/closed-chev-big.svg');\\n\\n &.active {\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/open-chev-big.svg');\\n }\\n\\n &:hover {\\n cursor: pointer;\\n }\\n }\\n}\\n\\n.panelTitle{\\n display: inline-block;\\n position: relative;\\n top: -5px;\\n left: 10px;\\n}\\n\\n.user-role-date-first-fi{\\n right: 40px;\\n position: absolute;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `hr {\n margin: 15px 0;\n}\nhr.full-line {\n margin: 20px -20px;\n border-color: #d4cfbc;\n}\nhr.spacer {\n margin: 1px 0;\n width: 100%;\n border: 0;\n}\n.mdecision {\n display: inline-block;\n}\n.collapse {\n display: inline-block;\n}\n.model-decision-hr {\n font-size: 18px;\n font-family: 'Montserrat-Regular', sans-serif;\n color: #454545;\n}\n.creator {\n text-align: right;\n}\n.creator strong,\n.creator span {\n display: inline-block;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/financial-implications/type-view/type-view.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACE,cAAA;AADF;AAGE;EACE,kBAAA;EACA,qBAAA;AADJ;AAIE;EACE,aAAA;EACA,WAAA;EACA,SAAA;AAFJ;AAMA;EACE,qBAAA;AAJF;AAOA;EACE,qBAAA;AALF;AAQA;EACE,eAAA;EACA,6CAAA;EACA,cAAA;AANF;AASA;EACE,iBAAA;AAPF;AAMA;;EAGI,qBAAA;AALJ\",\"sourcesContent\":[\"\\n\\nhr {\\n margin: 15px 0;\\n\\n &.full-line {\\n margin: 20px -20px;\\n border-color: #d4cfbc;\\n }\\n\\n &.spacer {\\n margin:1px 0;\\n width: 100%;\\n border: 0;\\n }\\n}\\n\\n.mdecision{\\n display:inline-block;\\n}\\n\\n.collapse{\\n display: inline-block;\\n}\\n\\n.model-decision-hr{\\n font-size: 18px;\\n font-family: 'Montserrat-Regular', sans-serif;\\n color: #454545;\\n}\\n\\n.creator {\\n text-align: right;\\n strong, span {\\n display: inline-block;\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.synopsis {\n background-color: #ffffff;\n line-height: 20px;\n padding: 20px;\n margin-bottom: 30px;\n}\n.synopsis .row .bill-record a {\n font-family: Montserrat-Semibold, sans-serif;\n}\n.synopsis .row .date,\n.synopsis .row .orders,\n.synopsis .row .edit {\n text-align: right;\n}\n.synopsis .row .date a,\n.synopsis .row .orders a,\n.synopsis .row .edit a,\n.synopsis .row .date p,\n.synopsis .row .orders p,\n.synopsis .row .edit p,\n.synopsis .row .date span,\n.synopsis .row .orders span,\n.synopsis .row .edit span {\n display: inline-block;\n}\n.synopsis .row .date a.ghost,\n.synopsis .row .orders a.ghost,\n.synopsis .row .edit a.ghost,\n.synopsis .row .date p.ghost,\n.synopsis .row .orders p.ghost,\n.synopsis .row .edit p.ghost,\n.synopsis .row .date span.ghost,\n.synopsis .row .orders span.ghost,\n.synopsis .row .edit span.ghost {\n color: #bbbbbb;\n}\n.synopsis .row .orders p {\n margin-right: 5px;\n}\n.synopsis .row .edit span.edit-icon {\n height: 24px;\n width: 24px;\n margin-right: 5px;\n vertical-align: middle;\n background-image: url('unselected-pencil.1f942b87c6915b62.svg');\n background-repeat: no-repeat;\n background-position: center;\n}\n.synopsis .row .edit:hover span.edit-icon {\n background-image: url('pencil.3de9b56a0e1a4b60.svg');\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/header/header.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACE,yBAAA;EACA,iBAAA;EACA,aAAA;EACA,mBAAA;AADF;AAHA;EAUQ,4CAAA;AAJR;AANA;;;EAeM,iBAAA;AAJN;AAXA;;;;;;;;;EAkBQ,qBAAA;AAIR;AAFQ;;;;;;;;;EACE,cAAA;AAYV;AAjCA;EA4BQ,iBAAA;AAQR;AApCA;EAkCQ,YAAA;EACA,WAAA;EACA,iBAAA;EACA,sBAAA;EACA,+DAAA;EACA,4BAAA;EACA,2BAAA;AAKR;AAFM;EAEI,oDAAA;AAGV\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n//@import (reference) 'styles/variables.less';\\n.synopsis {\\n background-color: @white;\\n line-height: 20px;\\n padding: 20px;\\n margin-bottom: 30px;\\n\\n .row {\\n\\n .bill-record {\\n a {\\n font-family: Montserrat-Semibold, sans-serif;\\n }\\n }\\n\\n .date, .orders, .edit {\\n text-align: right;\\n\\n a, p, span {\\n display: inline-block;\\n\\n &.ghost{\\n color: @secondary-40;\\n }\\n }\\n }\\n\\n .orders {\\n p {\\n margin-right: 5px;\\n }\\n }\\n\\n .edit {\\n span.edit-icon {\\n height: 24px;\\n width: 24px;\\n margin-right: 5px;\\n vertical-align: middle;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/unselected-pencil.svg'); //unselected-pencil.svg\\n background-repeat: no-repeat;\\n background-position: center;\\n }\\n\\n &:hover {\\n span.edit-icon {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/pencil.svg');\\n }\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.record-sum {\n background-color: #ffffff;\n line-height: 20px;\n padding: 20px;\n margin-bottom: 30px;\n}\n.record-sum .row .status p {\n font-family: Montserrat-Semibold, sans-serif;\n}\n.record-sum .row .created {\n text-align: right;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/status/status.component.less\"],\"names\":[],\"mappings\":\"AACA;EACE,yBAAA;EACA,iBAAA;EACA,aAAA;EACA,mBAAA;AAAF;AAJA;EASQ,4CAAA;AAFR;AAPA;EAaM,iBAAA;AAHN\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n.record-sum {\\n background-color: @white;\\n line-height: 20px;\\n padding: 20px;\\n margin-bottom: 30px;\\n\\n .row {\\n .status {\\n p {\\n font-family: Montserrat-Semibold, sans-serif;\\n }\\n }\\n .created {\\n text-align: right;\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/*Search & Filter Styles*/\n.search {\n margin-bottom: 30px;\n}\n.search .search-btn-container {\n display: flex;\n align-items: flex-start;\n}\n.search .search-btn-container .btn-search {\n align-self: flex-start;\n margin-left: 20px;\n white-space: nowrap;\n}\n.search p.hint {\n display: block;\n margin-top: 5px;\n font-family: Montserrat-LightItalic, sans-serif;\n font-size: 14px;\n color: #444444;\n}\n.search p.hint b {\n font-style: italic;\n}\n.filter-container {\n position: relative;\n display: block;\n}\n.filter-container label {\n margin-bottom: 10px;\n}\n.filter-container .row-container {\n margin-bottom: 25px;\n}\n.filter-container .row-container .col-lg-6:first-of-type {\n padding-right: 30px;\n}\n.filter-container .row-container .col-lg-6:nth-of-type(2) {\n padding-left: 30px;\n}\n.filter-container .buttons {\n text-align: right;\n margin-bottom: 25px;\n}\n.filter-container .buttons button {\n text-align: center;\n}\nh2#margin-top {\n margin-top: 22px !important;\n}\n::ng-deep oir-collapsible-panel.filter-wrapper .collapsible-container .collapsible-heading-container .arrow {\n margin-top: 24px;\n}\n::ng-deep oir-collapsible-panel.filter-wrapper .collapsible-container .collapsible-heading-container .collapsible-heading.filter-wrapper {\n border: none !important;\n}\n::ng-deep oir-collapsible-panel.filter-wrapper .collapsible-container .collapsible-heading-container .collapsible-heading.filter-wrapper .buttons {\n margin-right: 40px;\n}\n.search-results.row {\n padding: 10px 0px;\n}\n.search-results.row .item-amount {\n padding: 10px 0px;\n}\n.search-results.row .sort-by {\n text-align: right;\n}\n.search-results.row .sort-by .single-select {\n text-align: left;\n margin-left: 10px;\n min-width: 200px;\n}\n.search-results.row .sort-by label {\n float: right;\n line-height: 40px;\n margin-right: 10px;\n}\n.search-results.row .sort-by ::ng-deep oir-singleselect .single-select-dropdown {\n min-width: 250px;\n text-align: left;\n float: right;\n}\n.search-results.row table.results-table tr:nth-child(odd) {\n background-color: #f4f2ea;\n}\n.search-results.row table.results-table tr td {\n font-family: Montserrat-Light, sans-serif;\n color: #444444;\n font-size: 15px;\n}\n.search-results.row table.results-table tr.results-row {\n border-bottom: 1px solid #d4cfbe;\n}\n.search-results.row table.results-table tr.results-row:hover {\n background-color: #ece9dd;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row {\n background-color: transparent;\n padding: 15px 20px 20px 20px;\n line-height: 20px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-12.heading b.bill-title {\n font-family: Montserrat-Semibold, sans-serif;\n color: #444444;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-12.heading a.link-out {\n display: inline-block;\n margin-left: 5px;\n height: 15px;\n width: 15px;\n vertical-align: text-bottom;\n background-image: url('link-out.6c38c5f5cf0ff1a3.svg');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 18px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-12.heading a.link-out:hover {\n background-image: url('link-out-hover.c507811cdc76952f.svg');\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-2.category {\n padding-top: 15px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-2.category b {\n font-family: Montserrat-Semibold, sans-serif;\n color: #444444;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content {\n display: inline-block;\n background-color: transparent;\n padding: 15px 0 0 0;\n margin-bottom: 0px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details {\n display: inline-block;\n margin-right: 25px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details p {\n font-family: Montserrat-Light, sans-serif;\n color: #444444;\n display: inline-block;\n /*&.type {\n ???\n }*/\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details p.forum {\n font-family: Montserrat-LightItalic, sans-serif !important;\n margin-left: 10px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details p.outcome {\n margin-left: 10px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details .outcome-fi {\n display: inline-block;\n margin-left: 10px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details .outcome-fi span {\n display: inline-block;\n margin-left: 5px;\n height: 15px;\n width: 15px;\n vertical-align: text-bottom;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 18px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details .outcome-fi span.yes {\n background-image: url('gold-tick.6727008a90dc2cdd.svg');\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details .outcome-fi span.no {\n background-image: url('cross-hover.51d99dd21ec0e20c.svg');\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .details .outcome-fi p {\n display: inline-block;\n margin-left: 5px;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .user-details {\n display: inline-block;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .user-details p {\n font-family: Montserrat-Light, sans-serif;\n color: #444444;\n display: inline-block;\n}\n.search-results.row table.results-table tr.results-row td .submission-instance.row .col-lg-10.content .user-details p.movement {\n font-family: Montserrat-Semibold, sans-serif !important;\n}\n.search-results.row ::ng-deep pagination-controls {\n text-align: right;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template {\n padding: 1px;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li {\n height: 25px;\n min-width: 25px;\n line-height: 20px;\n border-radius: 20px;\n border: none;\n margin-right: 5px;\n margin-top: 15px;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous,\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next {\n font-family: Montserrat-Light;\n width: auto;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous span,\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next span,\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous a,\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next a {\n color: #7F6C2E;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li div,\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li a {\n color: #444444;\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.disabled span {\n color: #bfbbaa;\n cursor: no-drop;\n pointer-events: none;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current {\n vertical-align: top;\n background-color: #7F6C2E;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div {\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n.search-results.row ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div span {\n color: #ffffff;\n font-weight: 600;\n}\n.search input[type=search] {\n padding-right: 36px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/submission-search/submission-search.component.less\"],\"names\":[],\"mappings\":\"AAAA,yBAAyB;AAGzB;EACE,mBAAA;AADF;AAAA;EAII,aAAA;EACA,uBAAA;AADJ;AAJA;EAQM,sBAAA;EACA,iBAAA;EACA,mBAAA;AADN;AATA;EAeI,cAAA;EACA,eAAA;EACA,+CAAA;EACA,eAAA;EACA,cAAA;AAHJ;AAhBA;EAsBM,kBAAA;AAHN;AAQA;EACE,kBAAA;EACA,cAAA;AANF;AAIA;EAKI,mBAAA;AANJ;AACA;EASI,mBAAA;AAPJ;AAFA;EAYM,mBAAA;AAPN;AALA;EAgBM,kBAAA;AARN;AARA;EAqBI,iBAAA;EACA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CkB;EACE,uDAAA;AA/BpB;AAiCkB;EACE,yDAAA;AA/BpB;AAxFA;EA2HkB,qBAAA;EACA,gBAAA;AAhClB;AA5FA;EAiIc,qBAAA;AAlCd;AA/FA;EAmIgB,yCAAA;EACA,cAAA;EACA,qBAAA;AAjChB;AAkCgB;EACE,uDAAA;AAhClB;AAvGA;EAsJI,iBAAA;AA5CJ;AA1GA;EAyJM,YAAA;AA5CN;AA7GA;EA6JU,YAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;AA7CV;AA+CU;;EAEE,6BAAA;EACA,WAAA;AA7CZ;AA0CU;;;;EAOI,cAAA;AA3Cd;AAjIA;;EAkLY,cAAA;EACA,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AA7CZ;AAgDU;EAEI,cAAA;EACA,eAAA;EACA,oBAAA;AA/Cd;AAmDU;EACE,mBAAA;EACA,yBAAA;AAjDZ;AA+CU;EAKI,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AAjDd;AAyCU;EAWM,cAAA;EACA,gBAAA;AAjDhB;AA2DA;EAEI,mBAAA;AA1DJ\",\"sourcesContent\":[\"@import (reference) '../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n\\n/*Search & Filter Styles*/\\n.search {\\n margin-bottom: 30px;\\n\\n .search-btn-container {\\n display: flex;\\n align-items: flex-start;\\n\\n .btn-search {\\n align-self: flex-start;\\n margin-left: 20px;\\n white-space: nowrap;\\n }\\n }\\n\\n p.hint {\\n display: block;\\n margin-top: 5px;\\n font-family: Montserrat-LightItalic, sans-serif;\\n font-size: 14px;\\n color: @secondary-90;\\n\\n b {\\n font-style: italic;\\n }\\n }\\n}\\n\\n.filter-container {\\n position: relative;\\n display: block;\\n\\n label {\\n margin-bottom: 10px;\\n }\\n\\n .row-container {\\n margin-bottom: 25px;\\n\\n .col-lg-6:first-of-type{\\n padding-right: 30px;\\n }\\n\\n .col-lg-6:nth-of-type(2){\\n padding-left: 30px;\\n }\\n }\\n\\n .buttons {\\n text-align: right;\\n margin-bottom: 25px;\\n\\n button {\\n text-align: center;\\n }\\n }\\n}\\n\\nh2#margin-top {\\n margin-top: 22px !important;\\n}\\n\\n::ng-deep oir-collapsible-panel.filter-wrapper {\\n .collapsible-container {\\n .collapsible-heading-container {\\n .arrow {\\n margin-top: 24px;\\n }\\n\\n .collapsible-heading.filter-wrapper {\\n border: none !important;\\n\\n .buttons {\\n margin-right: 40px;\\n }\\n }\\n }\\n }\\n}\\n\\n.search-results.row {\\n padding: 10px 0px;\\n\\n .item-amount {\\n padding: 10px 0px;\\n }\\n\\n .sort-by {\\n text-align: right;\\n\\n .single-select {\\n text-align: left;\\n margin-left: 10px;\\n min-width: 200px;\\n }\\n label {\\n float: right;\\n line-height: 40px;\\n margin-right: 10px;\\n }\\n ::ng-deep oir-singleselect {\\n .single-select-dropdown {\\n min-width: 250px;\\n text-align: left;\\n float: right;\\n }\\n }\\n }\\n\\n table.results-table {\\n tr:nth-child(odd) {\\n background-color: @primary-40;\\n }\\n tr {\\n td {\\n font-family: Montserrat-Light, sans-serif;\\n color: @secondary-90;\\n font-size: 15px;\\n }\\n }\\n tr.results-row {\\n border-bottom: 1px solid @primary-50;\\n &:hover {\\n background-color: @neutral-background-light;\\n }\\n td {\\n .submission-instance.row {\\n background-color: transparent;\\n padding: 15px 20px 20px 20px;\\n line-height: 20px;\\n .col-lg-12.heading {\\n b.bill-title {\\n font-family: Montserrat-Semibold, sans-serif;\\n color: @secondary-90;\\n }\\n a.link-out {\\n display: inline-block;\\n margin-left: 5px;\\n height: 15px;\\n width: 15px;\\n vertical-align: text-bottom;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out.svg');\\n background-repeat: no-repeat;\\n background-position: center;\\n background-size: 18px;\\n &:hover {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out-hover.svg');\\n }\\n }\\n }\\n .col-lg-2.category {\\n padding-top: 15px;\\n b {\\n font-family: Montserrat-Semibold, sans-serif;\\n color: @secondary-90;\\n }\\n }\\n .col-lg-10.content {\\n display: inline-block;\\n background-color: transparent;\\n padding: 15px 0 0 0;\\n margin-bottom: 0px;\\n .details {\\n display: inline-block;\\n margin-right: 25px;\\n p {\\n font-family: Montserrat-Light, sans-serif;\\n color: @secondary-90;\\n display: inline-block;\\n /*&.type {\\n ???\\n }*/\\n &.status {\\n\\n }\\n &.forum {\\n font-family: Montserrat-LightItalic, sans-serif !important;\\n margin-left: 10px;\\n }\\n &.outcome {\\n margin-left: 10px;\\n }\\n }\\n .outcome-fi {\\n display: inline-block;\\n margin-left: 10px;\\n span {\\n display: inline-block;\\n margin-left: 5px;\\n height: 15px;\\n width: 15px;\\n vertical-align: text-bottom;\\n background-repeat: no-repeat;\\n background-position: center;\\n background-size: 18px;\\n &.yes {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/gold-tick.svg');\\n }\\n &.no {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/cross-hover.svg');\\n }\\n }\\n p {\\n display: inline-block;\\n margin-left: 5px;\\n }\\n }\\n }\\n .user-details {\\n display: inline-block;\\n p {\\n font-family: Montserrat-Light, sans-serif;\\n color: @secondary-90;\\n display: inline-block;\\n &.movement {\\n font-family: Montserrat-Semibold, sans-serif !important;\\n }\\n &.user {\\n }\\n &.date {\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n\\n ::ng-deep pagination-controls {\\n text-align: right;\\n\\n ::ng-deep pagination-template {\\n padding: 1px;\\n\\n ul.ngx-pagination {\\n li {\\n height: 25px;\\n min-width: 25px;\\n line-height: 20px;\\n border-radius: 20px;\\n border: none;\\n margin-right: 5px;\\n margin-top: 15px;\\n\\n &.pagination-previous,\\n &.pagination-next {\\n font-family: Montserrat-Light;\\n width: auto;\\n\\n span,\\n a {\\n color: @primary-base;\\n }\\n }\\n\\n div,\\n a {\\n color: @secondary-90;\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n }\\n\\n &.disabled {\\n span {\\n color: @disabled-fill;\\n cursor: no-drop;\\n pointer-events: none;\\n }\\n }\\n\\n &.current {\\n vertical-align: top;\\n background-color: @primary-base;\\n\\n div {\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n\\n span {\\n color: @white;\\n font-weight: 600;\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n}\\n\\n.search {\\n input[type=search] {\\n padding-right: 36px;\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.synopsis {\n background-color: #ffffff;\n line-height: 20px;\n padding: 20px;\n margin-bottom: 30px;\n}\n.synopsis .row .bill-record a {\n font-family: Montserrat-Semibold, sans-serif;\n}\n.synopsis .row .date,\n.synopsis .row .orders,\n.synopsis .row .edit {\n text-align: right;\n}\n.synopsis .row .date a,\n.synopsis .row .orders a,\n.synopsis .row .edit a,\n.synopsis .row .date p,\n.synopsis .row .orders p,\n.synopsis .row .edit p,\n.synopsis .row .date span,\n.synopsis .row .orders span,\n.synopsis .row .edit span {\n display: inline-block;\n}\n.synopsis .row .date a.ghost,\n.synopsis .row .orders a.ghost,\n.synopsis .row .edit a.ghost,\n.synopsis .row .date p.ghost,\n.synopsis .row .orders p.ghost,\n.synopsis .row .edit p.ghost,\n.synopsis .row .date span.ghost,\n.synopsis .row .orders span.ghost,\n.synopsis .row .edit span.ghost {\n color: #bbbbbb;\n}\n.synopsis .row .orders p {\n margin-right: 5px;\n}\n.synopsis .row .edit span.edit-icon {\n height: 24px;\n width: 24px;\n margin-right: 5px;\n vertical-align: middle;\n background-image: url('unselected-pencil.1f942b87c6915b62.svg');\n background-repeat: no-repeat;\n background-position: center;\n}\n.synopsis .row .edit:hover span.edit-icon {\n background-image: url('pencil.3de9b56a0e1a4b60.svg');\n}\n.validateAmendmentGroup {\n color: #c30e2e;\n font-size: 14px;\n}\n@media print {\n .saf {\n display: none !important;\n }\n ::ng-deep oir-support-info .option-accordion {\n display: none !important;\n }\n .page-title {\n padding: 0px 0px 0px 0px !important;\n }\n ::ng-deep h1 {\n font-size: 20px !important;\n }\n ::ng-deep p {\n font-size: 12px !important;\n }\n ::ng-deep a {\n font-size: 12px !important;\n }\n ::ng-deep b {\n font-size: 12px !important;\n font-weight: 900;\n font-family: \"Montserrat-Semibold\", sans-serif;\n }\n ::ng-deep strong {\n font-size: 12px !important;\n font-weight: 900;\n font-family: \"Montserrat-Semibold\", sans-serif;\n }\n ::ng-deep h4 {\n font-size: 12px !important;\n }\n ::ng-deep p.doctitle {\n font-size: 12px !important;\n padding-left: 0px !important;\n }\n ::ng-deep .synopsis {\n padding: 0px !important;\n }\n ::ng-deep .collapse {\n display: none !important;\n }\n ::ng-deep .amendment-split {\n font-size: 12px !important;\n }\n ::ng-deep .panelTitle {\n font-size: 14px !important;\n left: 0px !important;\n text-decoration: underline !important;\n margin-top: 10px !important;\n }\n ::ng-deep .group-title {\n text-decoration: underline !important;\n margin-top: 10px !important;\n }\n ::ng-deep .row .instance {\n padding: 0px !important;\n margin: 0px !important;\n }\n :host ::ng-deep .app-container > .body .content {\n padding: 0px !important;\n margin: 0px !important;\n }\n ::ng-deep .buttons {\n display: none !important;\n }\n ::ng-deep .creator span {\n font-size: 12px !important;\n }\n ::ng-deep .supportInfoLabel {\n font-size: 12px !important;\n }\n ::ng-deep oir-amendment-final-decision {\n display: none !important;\n }\n ::ng-deep oir-amendment-create {\n display: none !important;\n }\n ::ng-deep oir-amendment-edit {\n display: none !important;\n }\n ::ng-deep h4#padTitle {\n padding-left: 0px !important;\n }\n ::ng-deep oir-submission-contribution {\n display: none !important;\n }\n ::ng-deep .model-decision-hr {\n font-size: 12px !important;\n }\n ::ng-deep .record-sum {\n border-bottom-color: black !important;\n border-bottom-width: 2px !important;\n border-bottom-style: solid !important;\n margin-bottom: 5px !important;\n }\n ::ng-deep .submitforreview {\n display: none !important;\n }\n ::ng-deep oir-financial-implications-type-create {\n display: none !important;\n }\n #Header,\n #Footer {\n display: none !important;\n }\n :host ::ng-deep a[href]:after {\n content: none !important;\n }\n @page {\n margin: 0 !important;\n }\n body {\n margin: 1.6cm !important;\n }\n}\n#print-area {\n padding-bottom: 80px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/submission.component.less\"],\"names\":[],\"mappings\":\"AAEA;EACI,yBAAA;EACA,iBAAA;EACA,aAAA;EACA,mBAAA;AADJ;AAHA;EAQgB,4CAAA;AAFhB;AANA;;;EAcY,iBAAA;AAHZ;AAXA;;;;;;;;;EAkBgB,qBAAA;AAIhB;AAHgB;;;;;;;;;EACI,cAAA;AAapB;AAjCA;EA0BgB,iBAAA;AAUhB;AApCA;EA+BgB,YAAA;EACA,WAAA;EACA,iBAAA;EACA,sBAAA;EACA,+DAAA;EACA,4BAAA;EACA,2BAAA;AAQhB;AANY;EAEQ,oDAAA;AAOpB;AAAA;EACI,cAAA;EACA,eAAA;AAEJ;AAEA;EACI;IACI,wBAAA;EAAN;EAEE;IAEQ,wBAAA;EADV;EAIE;IACE,mCAAA;EAFJ;EAIE;IACE,0BAAA;EAFJ;EAIE;IACE,0BAAA;EAFJ;EAIE;IACE,0BAAA;EAFJ;EAKE;IACE,0BAAA;IACA,gBAAA;IACA,8CAAA;EAHJ;EAME;IACE,0BAAA;IACA,gBAAA;IACA,8CAAA;EAJJ;EAOE;IACE,0BAAA;EALJ;EAQE;IACE,0BAAA;IACA,4BAAA;EANJ;EASE;IACE,uBAAA;EAPJ;EASE;IACC,wBAAA;EAPH;EAUE;IACE,0BAAA;EARJ;EAWE;IACE,0BAAA;IACA,oBAAA;IACA,qCAAA;IACA,2BAAA;EATJ;EAYG;IACC,qCAAA;IACA,2BAAA;EAVJ;EAaG;IACC,uBAAA;IACA,sBAAA;EAXJ;EAaE;IACE,uBAAA;IACA,sBAAA;EAXJ;EAaE;IACE,wBAAA;EAXJ;EAaE;IACE,0BAAA;EAXJ;EAaE;IACE,0BAAA;EAXJ;EAaE;IACE,wBAAA;EAXJ;EAaE;IACE,wBAAA;EAXJ;EAaE;IACE,wBAAA;EAXJ;EAaE;IACE,4BAAA;EAXJ;EAaE;IACE,wBAAA;EAXJ;EAaE;IACE,0BAAA;EAXJ;EAaE;IACC,qCAAA;IACA,mCAAA;IACA,qCAAA;IACA,6BAAA;EAXH;EAaE;IACE,wBAAA;EAXJ;EAaE;IACE,wBAAA;EAXJ;EAcE;;IAAmB,wBAAA;EAVrB;EAYE;IACE,wBAAA;EAVJ;EAYA;IAAQ,oBAAA;EATR;EAUA;IAAQ,wBAAA;EAPR;AACF;AASA;EACE,oBAAA;AAPF\",\"sourcesContent\":[\"@import (reference) '../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less';\\n//Top Two Panels -- Start\\n.synopsis {\\n background-color: @white;\\n line-height: 20px;\\n padding: 20px;\\n margin-bottom: 30px;\\n .row {\\n .bill-record {\\n a {\\n font-family: Montserrat-Semibold, sans-serif;\\n }\\n }\\n .date,\\n .orders,\\n .edit {\\n text-align: right;\\n a,\\n p,\\n span {\\n display: inline-block;\\n &.ghost {\\n color: @secondary-40;\\n }\\n }\\n }\\n .orders {\\n p {\\n margin-right: 5px;\\n }\\n }\\n .edit {\\n span.edit-icon {\\n height: 24px;\\n width: 24px;\\n margin-right: 5px;\\n vertical-align: middle;\\n background-image: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/unselected-pencil.svg'); //unselected-pencil.svg\\n background-repeat: no-repeat;\\n background-position: center;\\n }\\n &:hover {\\n span.edit-icon {\\n background-image: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/pencil.svg');\\n }\\n }\\n }\\n }\\n}\\n\\n.validateAmendmentGroup {\\n color: #c30e2e;\\n font-size: 14px;\\n}\\n\\n//Top Two Panels -- End\\n@media print {\\n .saf {\\n display: none !important;\\n }\\n ::ng-deep oir-support-info {\\n .option-accordion {\\n display: none !important;\\n }\\n }\\n .page-title {\\n padding: 0px 0px 0px 0px !important;\\n }\\n ::ng-deep h1 {\\n font-size: 20px !important;\\n }\\n ::ng-deep p {\\n font-size: 12px !important;\\n }\\n ::ng-deep a {\\n font-size: 12px !important;\\n }\\n\\n ::ng-deep b {\\n font-size: 12px !important;\\n font-weight: 900;\\n font-family: \\\"Montserrat-Semibold\\\", sans-serif\\n }\\n\\n ::ng-deep strong {\\n font-size: 12px !important;\\n font-weight: 900;\\n font-family: \\\"Montserrat-Semibold\\\", sans-serif\\n }\\n\\n ::ng-deep h4 {\\n font-size: 12px !important;\\n }\\n\\n ::ng-deep p.doctitle {\\n font-size: 12px !important;\\n padding-left: 0px !important;\\n }\\n\\n ::ng-deep .synopsis {\\n padding: 0px !important;\\n }\\n ::ng-deep .collapse {\\n display: none !important;\\n }\\n\\n ::ng-deep .amendment-split {\\n font-size: 12px !important;\\n }\\n\\n ::ng-deep .panelTitle {\\n font-size: 14px !important;\\n left: 0px !important;\\n text-decoration: underline !important;\\n margin-top: 10px !important;\\n }\\n\\n ::ng-deep .group-title {\\n text-decoration: underline !important;\\n margin-top: 10px !important;\\n }\\n\\n ::ng-deep .row .instance {\\n padding: 0px !important;\\n margin: 0px !important;\\n }\\n :host ::ng-deep .app-container > .body .content {\\n padding: 0px !important;\\n margin: 0px !important;\\n }\\n ::ng-deep .buttons {\\n display: none !important;\\n }\\n ::ng-deep .creator span {\\n font-size: 12px !important;\\n }\\n ::ng-deep .supportInfoLabel {\\n font-size: 12px !important;\\n }\\n ::ng-deep oir-amendment-final-decision {\\n display: none !important;\\n }\\n ::ng-deep oir-amendment-create {\\n display: none !important;\\n }\\n ::ng-deep oir-amendment-edit {\\n display: none !important;\\n }\\n ::ng-deep h4#padTitle {\\n padding-left: 0px !important;\\n }\\n ::ng-deep oir-submission-contribution {\\n display: none !important;\\n }\\n ::ng-deep .model-decision-hr {\\n font-size: 12px !important;\\n }\\n ::ng-deep .record-sum{\\n border-bottom-color: black !important;\\n border-bottom-width: 2px !important;\\n border-bottom-style: solid !important;\\n margin-bottom: 5px !important;\\n }\\n ::ng-deep .submitforreview {\\n display: none !important;\\n }\\n ::ng-deep oir-financial-implications-type-create {\\n display: none !important;\\n }\\n\\n #Header, #Footer { display: none !important; }\\n\\n :host ::ng-deep a[href]:after {\\n content: none !important;\\n }\\n @page { margin: 0 !important; }\\n body { margin: 1.6cm !important; }\\n}\\n\\n#print-area {\\n padding-bottom: 80px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.doctitle {\n font-size: 15px;\n font-weight: 300;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n text-align: left;\n color: #444;\n}\np.doctitle {\n display: inline-block;\n padding-left: 30px;\n}\np.doctitle .link {\n display: inline-block;\n background-image: url('link.e6228c1817d2428b.svg');\n height: 26px;\n width: 20px;\n margin-left: -30px;\n background-size: 100%;\n vertical-align: middle;\n}\np.doctitle .filelink {\n display: inline-block;\n height: 26px;\n width: 20px;\n margin-left: -30px;\n background-size: 100%;\n vertical-align: middle;\n}\np.doctitle .filelink.pdf {\n background-image: url('pdf-icon-default.4ccbd8d35aa106dc.svg');\n}\np.doctitle .filelink.odt {\n background-image: url('odt-icon-default.ef34f06c87b19eb4.svg');\n}\np.doctitle .filelink.doc {\n background-image: url('doc-icon-default.6a0830f6a3577bf2.svg');\n}\np.doctitle .filelink.multi {\n background-image: url('multi-file-icon.b4c3bee5f063efc2.svg');\n}\n.row .instance {\n position: relative;\n padding: 20px;\n min-height: 40px;\n line-height: 20px;\n border: 2px solid #d4cfbe;\n border-left: 5px solid #b39841;\n margin-bottom: 10px;\n margin-top: 5px;\n}\n.row .instance .details-wrapper {\n display: inline-block;\n width: 85%;\n}\n.row .instance .details-wrapper .instance-details {\n margin: 0;\n}\n.row .instance .details-wrapper .instance-details p {\n margin-bottom: 5px;\n display: inline-block;\n}\n.row .instance .buttons {\n display: inline-block;\n text-align: right;\n vertical-align: bottom;\n width: 14%;\n}\n.row .instance .buttons button {\n text-align: right;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/support-info-view/support-info-view.component.less\"],\"names\":[],\"mappings\":\"AACA;EACE,eAAA;EACA,gBAAA;EACA,kBAAA;EACA,oBAAA;EACA,mBAAA;EACA,sBAAA;EACA,gBAAA;EACA,WAAA;AAAF;AAEA;EACE,qBAAA;EACA,kBAAA;AAAF;AAFA;EAII,qBAAA;EACA,kDAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,qBAAA;EACA,sBAAA;AACJ;AAXA;EAcI,qBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,qBAAA;EACA,sBAAA;AAAJ;AAEI;EACE,8DAAA;AAAN;AAGI;EACE,8DAAA;AADN;AAII;EACE,8DAAA;AAFN;AAII;EACE,6DAAA;AAFN;AAMA;EAEI,kBAAA;EACA,aAAA;EACA,gBAAA;EACA,iBAAA;EACA,yBAAA;EACA,8BAAA;EACA,mBAAA;EACA,eAAA;AALJ;AAJA;EAWM,qBAAA;EACA,UAAA;AAJN;AARA;EAcQ,SAAA;AAHR;AAXA;EAgBU,kBAAA;EACA,qBAAA;AAFV;AAfA;EAsBM,qBAAA;EACA,iBAAA;EACA,sBAAA;EACA,UAAA;AAJN;AArBA;EA2BQ,iBAAA;AAHR\",\"sourcesContent\":[\"@import (reference) \\\"../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n.doctitle {\\n font-size: 15px;\\n font-weight: 300;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n color: #444;\\n}\\np.doctitle{\\n display: inline-block;\\n padding-left: 30px;\\n .link {\\n display: inline-block;\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link.svg');\\n height: 26px;\\n width: 20px;\\n margin-left:-30px;\\n background-size: 100%;\\n vertical-align: middle;\\n }\\n\\n .filelink {\\n display: inline-block;\\n height: 26px;\\n width: 20px;\\n margin-left:-30px;\\n background-size: 100%;\\n vertical-align: middle;\\n\\n &.pdf {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/pdf-icon-default.svg');\\n }\\n\\n &.odt {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/odt-icon-default.svg');\\n }\\n\\n &.doc {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/doc-icon-default.svg');\\n }\\n &.multi {\\n background-image: url('../../../../node_modules/proceduralsystem-clientcomponents/styles/img/multi-file-icon.svg');\\n }\\n }\\n}\\n.row {\\n .instance {\\n position: relative;\\n padding: 20px;\\n min-height: 40px;\\n line-height: 20px;\\n border: 2px solid @primary-50;\\n border-left: 5px solid @primary-90;\\n margin-bottom: 10px;\\n margin-top: 5px;\\n .details-wrapper {\\n display: inline-block;\\n width: 85%;\\n .instance-details {\\n margin: 0;\\n p {\\n margin-bottom: 5px;\\n display: inline-block;\\n }\\n }\\n }\\n .buttons{\\n display: inline-block;\\n text-align: right;\\n vertical-align: bottom;\\n width: 14%;\\n button{\\n text-align: right;\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host ::ng-deep ckeditor .ck-editor__editable_inline {\n min-height: 200px;\n}\n:host ::ng-deep ckeditor .ck-toolbar_grouping {\n background: #f8f8f8;\n}\n.row .instance {\n position: relative;\n padding: 20px;\n min-height: 40px;\n line-height: 20px;\n border: 2px solid #d4cfbe;\n border-left: 5px solid #b39841;\n margin-bottom: 10px;\n margin-top: 5px;\n}\n.row .instance .details-wrapper {\n display: inline-block;\n width: 85%;\n}\n.row .instance .details-wrapper .instance-details {\n margin: 0;\n}\n.row .instance .details-wrapper .instance-details .link {\n display: inline-block;\n background-image: url('link.e6228c1817d2428b.svg');\n height: 32px;\n width: 32px;\n margin-right: 20px;\n}\n.row .instance .details-wrapper .instance-details .filelink {\n display: inline-block;\n height: 47px;\n width: 35px;\n margin-right: 20px;\n}\n.row .instance .details-wrapper .instance-details .filelink.pdf {\n background-image: url('pdf-icon-default.4ccbd8d35aa106dc.svg');\n}\n.row .instance .details-wrapper .instance-details .filelink.odt {\n background-image: url('odt-icon-default.ef34f06c87b19eb4.svg');\n}\n.row .instance .details-wrapper .instance-details .filelink.doc {\n background-image: url('doc-icon-default.6a0830f6a3577bf2.svg');\n}\n.row .instance .details-wrapper .instance-details .filelink.multi {\n background-image: url('multi-file-icon.b4c3bee5f063efc2.svg');\n width: 42px;\n}\n.row .instance .details-wrapper .instance-details p {\n margin-bottom: 5px;\n display: inline-block;\n}\n.row .instance .details-wrapper .instance-details p .active-title {\n font-family: Montserrat-Semibold, sans-serif;\n color: #444444;\n font-size: 16px;\n}\n.row .instance .details-wrapper .instance-details p .active-title .link-out {\n display: inline-block;\n width: 18px;\n vertical-align: text-bottom;\n background-image: url('link-out.6c38c5f5cf0ff1a3.svg');\n background-repeat: no-repeat;\n background-position: center;\n}\n.row .instance .details-wrapper .instance-details p .active-title .link-out:hover {\n background-image: url('link-out-hover.c507811cdc76952f.svg');\n}\n.row .instance .buttons {\n display: inline-block;\n text-align: right;\n vertical-align: bottom;\n width: 14%;\n}\n.row .instance .buttons button {\n text-align: right;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/support-info/existing-support-info/existing-support-info.component.less\"],\"names\":[],\"mappings\":\"AACA;EAEI,iBAAA;AADJ;AADA;EAKI,mBAAA;AADJ;AAMA;EAEI,kBAAA;EACA,aAAA;EACA,gBAAA;EACA,iBAAA;EACA,yBAAA;EACA,8BAAA;EACA,mBAAA;EACA,eAAA;AALJ;AAJA;EAYM,qBAAA;EACA,UAAA;AALN;AARA;EAgBQ,SAAA;AALR;AAXA;EAmBU,qBAAA;EACA,kDAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;AALV;AAlBA;EA2BU,qBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;AANV;AAQU;EACE,8DAAA;AANZ;AASU;EACE,8DAAA;AAPZ;AAUU;EACE,8DAAA;AARZ;AAUU;EACE,6DAAA;EACA,WAAA;AARZ;AArCA;EAkDU,kBAAA;EACA,qBAAA;AAVV;AAzCA;EAyDU,4CAAA;EACA,cAAA;EACA,eAAA;AAbV;AA9CA;EA8DY,qBAAA;EACA,WAAA;EACA,2BAAA;EACA,sDAAA;EACA,4BAAA;EACA,2BAAA;AAbZ;AAcY;EACE,4DAAA;AAZd;AAzDA;EAoFM,qBAAA;EACA,iBAAA;EACA,sBAAA;EACA,UAAA;AAxBN;AA/DA;EA0FQ,iBAAA;AAxBR\",\"sourcesContent\":[\"@import (reference) \\\"../../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n:host ::ng-deep ckeditor {\\n .ck-editor__editable_inline {\\n min-height: 200px;\\n }\\n .ck-toolbar_grouping {\\n background: #f8f8f8;\\n}\\n}\\n\\n\\n.row {\\n .instance {\\n position: relative;\\n padding: 20px;\\n min-height: 40px;\\n line-height: 20px;\\n border: 2px solid @primary-50;\\n border-left: 5px solid @primary-90;\\n margin-bottom: 10px;\\n margin-top: 5px;\\n\\n .details-wrapper {\\n display: inline-block;\\n width: 85%;\\n\\n .instance-details {\\n margin: 0;\\n\\n .link {\\n display: inline-block;\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link.svg');\\n height: 32px;\\n width: 32px;\\n margin-right: 20px;\\n }\\n\\n .filelink {\\n display: inline-block;\\n height: 47px;\\n width: 35px;\\n margin-right: 20px;\\n\\n &.pdf {\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/pdf-icon-default.svg');\\n }\\n\\n &.odt {\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/odt-icon-default.svg');\\n }\\n\\n &.doc {\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/doc-icon-default.svg');\\n }\\n &.multi {\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/multi-file-icon.svg');\\n width: 42px;\\n }\\n }\\n\\n p {\\n margin-bottom: 5px;\\n display: inline-block;\\n\\n\\n\\n\\n .active-title {\\n font-family: Montserrat-Semibold, sans-serif;\\n color: @secondary-90;\\n font-size: 16px;\\n\\n .link-out {\\n display: inline-block;\\n width: 18px;\\n vertical-align: text-bottom;\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out.svg');\\n background-repeat: no-repeat;\\n background-position: center;\\n &:hover {\\n background-image: url('../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out-hover.svg');\\n }\\n }\\n }\\n }\\n\\n\\n\\n\\n\\n\\n }\\n }\\n\\n .buttons{\\n display: inline-block;\\n text-align: right;\\n vertical-align: bottom;\\n width: 14%;\\n\\n button{\\n text-align: right;\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host ::ng-deep ckeditor .ck-editor__editable_inline {\n min-height: 200px;\n}\n:host ::ng-deep ckeditor .ck-toolbar_grouping {\n background: #f8f8f8;\n}\nfieldset .content {\n padding-left: 0;\n padding-right: 0;\n padding-bottom: 0;\n margin-bottom: 0;\n}\nfieldset .content .select-support-info-type-btn-container {\n display: flex;\n align-items: flex-start;\n margin-left: 45px;\n}\nfieldset .content .select-support-info-type-btn-container .btn-select-type {\n align-self: flex-start;\n margin-left: 20px;\n white-space: nowrap;\n right: 50px;\n position: absolute;\n width: 150px;\n}\nfieldset .content .add-support-info-btn-container {\n display: flex;\n align-items: flex-start;\n}\nfieldset .content .add-support-info-btn-container .btn-associate-info {\n align-self: flex-start;\n margin-left: 20px;\n white-space: nowrap;\n right: 30px;\n position: absolute;\n}\nfieldset .content .add-support-info-btn-container .btn-add-link-info {\n align-self: flex-start;\n white-space: nowrap;\n right: 5px;\n position: absolute;\n}\nfieldset .content .add-support-info-btn-container .text-wrapper > input[type-text] {\n width: 80%!important;\n}\nfieldset .content h4.content-title {\n margin-bottom: 15px;\n margin-top: 15px;\n}\nfieldset .content h4.content-title#first {\n margin-top: 0px;\n}\nfieldset .content .row {\n margin-bottom: 15px;\n}\nfieldset .content .row div.buttons {\n text-align: right;\n}\nfieldset .content .row div.buttons button {\n text-align: center;\n}\nfieldset .content .row .proposed-container {\n padding-right: 30px;\n}\nfieldset .content .row .intro-date-container {\n padding-left: 30px;\n}\nfieldset .content ul.radio-list {\n padding-left: 0;\n list-style: none;\n}\nfieldset .content ul.radio-list li p,\nfieldset .content ul.radio-list li input[type=\"radio\"] {\n display: inline-block;\n}\nfieldset .content ul.radio-list li p {\n padding-left: 5px;\n}\nfieldset .content .option-accordion {\n position: relative;\n background-color: #f4f2ea;\n}\nfieldset .content .option-accordion .panel {\n width: auto;\n margin: 5px 25px 0px 25px;\n border: none;\n background-color: transparent;\n box-shadow: none;\n -webkit-box-shadow: none;\n}\nfieldset .content .option-accordion .panel .header {\n height: auto;\n vertical-align: middle;\n background-color: #f4f2ea;\n}\nfieldset .content .option-accordion .panel .header span {\n display: inline-block;\n height: 24px;\n width: 24px;\n vertical-align: top;\n margin-top: 15px;\n}\nfieldset .content .option-accordion .panel .header span.icon {\n background-image: url('unfilled-plus-grey.741f0fe719bb2d75.svg');\n background-repeat: no-repeat;\n background-position: 50%;\n}\nfieldset .content .option-accordion .panel .header span.icon.active {\n background-image: url('unfilled-plus.12cf3c2da4d95201.svg');\n}\nfieldset .content .option-accordion .panel .header span.icon.active.open {\n background-image: url('unfilled-circle-x.8122d2f1408175c5.svg');\n}\nfieldset .content .option-accordion .panel .header .oa-title {\n display: inline-block;\n margin-left: 20px;\n}\nfieldset .content .option-accordion .panel .header .oa-title p {\n display: inline-block;\n margin-top: 17px;\n vertical-align: middle;\n font-weight: 600;\n}\nfieldset .content .option-accordion .panel .header .oa-options {\n margin-left: 48px;\n padding-bottom: 15px;\n}\nfieldset .content .option-accordion .panel .header .oa-selected {\n padding: 20px 0px 20px 48px;\n}\nfieldset .content .option-accordion .panel .header .oa-selected p {\n padding-bottom: 0px;\n margin-bottom: 0px;\n}\nfieldset .content .option-accordion .panel .body {\n border-top: 1px solid #d4cfbe;\n background-color: #f4f2ea;\n height: auto;\n}\nfieldset .content .option-accordion .panel .body.hidden {\n display: none;\n}\nfieldset .content .option-accordion .panel .body .oa-body .oa-row {\n margin-top: 15px;\n}\nfieldset .content .option-accordion .panel .body .oa-body .oa-row .button-container {\n text-align: right;\n padding-top: 26px;\n}\nfieldset .content .option-accordion .panel .body .oa-body .oa-row .button-container button {\n text-align: center;\n}\nfieldset .content .option-accordion .panel .body .oa-body .oa-row .row .buttons {\n margin-top: 20px;\n}\nfieldset .content .option-accordion .panel .body .oa-body .radio-list {\n list-style: none;\n padding-left: 0px;\n margin-bottom: 0px;\n}\nfieldset .content .option-accordion .panel .body .oa-body .radio-list li p.inline-block {\n margin-bottom: 5px;\n vertical-align: middle;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/support-info/support-info.component.less\"],\"names\":[],\"mappings\":\"AACA;EAEI,iBAAA;AADJ;AADA;EAKI,mBAAA;AADJ;AAIA;EACE,eAAA;EACA,gBAAA;EACA,iBAAA;EACA,gBAAA;AAFF;AAFA;EAOI,aAAA;EACA,uBAAA;EACA,iBAAA;AAFJ;AAPA;EAYM,sBAAA;EACA,iBAAA;EACA,mBAAA;EACA,WAAA;EACA,kBAAA;EACA,YAAA;AAFN;AAfA;EAsBI,aAAA;EACA,uBAAA;AAJJ;AAnBA;EA0BM,sBAAA;EACA,iBAAA;EACA,mBAAA;EACA,WAAA;EACA,kBAAA;AAJN;AA1BA;EAkCM,sBAAA;EACA,mBAAA;EACA,UAAA;EACA,kBAAA;AALN;AAhCA;EA0CQ,oBAAA;AAPR;AAnCA;EA+CI,mBAAA;EACA,gBAAA;AATJ;AAWI;EACE,eAAA;AATN;AA1CA;EAwDI,mBAAA;AAXJ;AA7CA;EA2DM,iBAAA;AAXN;AAhDA;EA8DQ,kBAAA;AAXR;AAnDA;EAmEM,mBAAA;AAbN;AAtDA;EAuEM,kBAAA;AAdN;AAzDA;EA4EI,eAAA;EACA,gBAAA;AAhBJ;AA7DA;;EAkFQ,qBAAA;AAjBR;AAjEA;EAqFQ,iBAAA;AAjBR;AApEA;EA4FI,kBAAA;EACA,yBAAA;AArBJ;AAxEA;EAgGM,WAAA;EACA,yBAAA;EACA,YAAA;EACA,6BAAA;EACA,gBAAA;EACA,wBAAA;AArBN;AAhFA;EAwGQ,YAAA;EACA,sBAAA;EACA,yBAAA;AArBR;AArFA;EA6GU,qBAAA;EACA,YAAA;EACA,WAAA;EACA,mBAAA;EACA,gBAAA;AArBV;AAuBU;EACE,gEAAA;EACA,4BAAA;EACA,wBAAA;AArBZ;AAuBY;EACE,2DAAA;AArBd;AAuBc;EACE,+DAAA;AArBhB;AAvGA;EAmIU,qBAAA;EACA,iBAAA;AAzBV;AA3GA;EAuIY,qBAAA;EACA,gBAAA;EACA,sBAAA;EACA,gBAAA;AAzBZ;AAjHA;EA+IU,iBAAA;EACA,oBAAA;AA3BV;AArHA;EAoJU,2BAAA;AA5BV;AAxHA;EAuJY,mBAAA;EACA,kBAAA;AA5BZ;AA5HA;EA8JQ,6BAAA;EACA,yBAAA;EACA,YAAA;AA/BR;AAkCQ;EACE,aAAA;AAhCV;AApIA;EAyKY,gBAAA;AAlCZ;AAvIA;EA4Kc,iBAAA;EACA,iBAAA;AAlCd;AA3IA;EAgLgB,kBAAA;AAlChB;AA9IA;EAsLgB,gBAAA;AArChB;AAjJA;EA4LY,gBAAA;EACA,iBAAA;EACA,kBAAA;AAxCZ;AAtJA;EAkMgB,kBAAA;EACA,sBAAA;AAzChB\",\"sourcesContent\":[\"@import (reference) \\\"../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n:host ::ng-deep ckeditor {\\n .ck-editor__editable_inline {\\n min-height: 200px;\\n }\\n .ck-toolbar_grouping {\\n background: #f8f8f8;\\n}\\n}\\nfieldset .content {\\n padding-left: 0;\\n padding-right: 0;\\n padding-bottom: 0;\\n margin-bottom: 0;\\n\\n .select-support-info-type-btn-container {\\n display: flex;\\n align-items: flex-start;\\n margin-left:45px;\\n\\n .btn-select-type {\\n align-self: flex-start;\\n margin-left: 20px;\\n white-space: nowrap;\\n right: 50px;\\n position: absolute;\\n width: 150px;\\n }\\n }\\n\\n .add-support-info-btn-container {\\n display: flex;\\n align-items: flex-start;\\n\\n .btn-associate-info {\\n align-self: flex-start;\\n margin-left: 20px;\\n white-space: nowrap;\\n right:30px;\\n position:absolute;\\n }\\n\\n .btn-add-link-info {\\n align-self: flex-start;\\n white-space: nowrap;\\n right:5px;\\n position:absolute;\\n }\\n\\n\\n .text-wrapper > input[type-text] {\\n width:80%!important;\\n }\\n\\n }\\n h4.content-title {\\n margin-bottom: 15px;\\n margin-top: 15px;\\n\\n first {\\n margin-top: 0px;\\n }\\n }\\n\\n .row {\\n margin-bottom: 15px;\\n\\n div.buttons {\\n text-align: right;\\n\\n button {\\n text-align: center;\\n }\\n }\\n\\n .proposed-container {\\n padding-right: 30px;\\n }\\n\\n .intro-date-container {\\n padding-left: 30px;\\n }\\n }\\n\\n ul.radio-list {\\n padding-left: 0;\\n list-style: none;\\n\\n li {\\n p,\\n input[type=\\\"radio\\\"] {\\n display: inline-block;\\n }\\n p {\\n padding-left: 5px;\\n }\\n }\\n }\\n\\n //Option Accordion Styling\\n .option-accordion {\\n position: relative;\\n background-color: @primary-40;\\n\\n .panel {\\n width: auto;\\n margin: 5px 25px 0px 25px;\\n border: none;\\n background-color: transparent;\\n box-shadow: none;\\n -webkit-box-shadow: none;\\n\\n .header {\\n height: auto;\\n vertical-align: middle;\\n background-color: @primary-40;\\n\\n span {\\n display: inline-block;\\n height: 24px;\\n width: 24px;\\n vertical-align: top;\\n margin-top: 15px;\\n\\n &.icon {\\n background-image: url(\\\"../../../../node_modules/proceduralsystem-clientcomponents/styles/img/unfilled-plus-grey.svg\\\");\\n background-repeat: no-repeat;\\n background-position: 50%;\\n\\n &.active {\\n background-image: url(\\\"../../../../node_modules/proceduralsystem-clientcomponents/styles/img/unfilled-plus.svg\\\");\\n\\n &.open {\\n background-image: url(\\\"../../../../node_modules/proceduralsystem-clientcomponents/styles/img/unfilled-circle-x.svg\\\");\\n }\\n }\\n }\\n }\\n\\n .oa-title {\\n display: inline-block;\\n margin-left: 20px;\\n\\n p {\\n display: inline-block;\\n margin-top: 17px;\\n vertical-align: middle;\\n font-weight: 600;\\n }\\n }\\n\\n .oa-options {\\n margin-left: 48px;\\n padding-bottom: 15px;\\n }\\n\\n .oa-selected {\\n padding: 20px 0px 20px 48px;\\n\\n p {\\n padding-bottom: 0px;\\n margin-bottom: 0px;\\n }\\n }\\n }\\n\\n .body {\\n border-top: 1px solid @primary-50;\\n background-color: @primary-40;\\n height: auto;\\n // padding: 20px 0px;\\n\\n &.hidden {\\n display: none;\\n }\\n\\n .oa-body {\\n .oa-row {\\n margin-top: 15px;\\n\\n .button-container {\\n text-align: right;\\n padding-top: 26px;\\n\\n button {\\n text-align: center;\\n }\\n }\\n\\n .row {\\n .buttons {\\n margin-top: 20px;\\n }\\n }\\n }\\n\\n .radio-list {\\n list-style: none;\\n padding-left: 0px;\\n margin-bottom: 0px;\\n\\n li {\\n p.inline-block {\\n margin-bottom: 5px;\\n vertical-align: middle;\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.related-docs-container .memo-container .file-instance,\n.related-docs-container .bill-version-container .file-instance,\n.related-docs-container .amendment-container .file-instance,\n.related-docs-container .act-container .file-instance,\n.related-docs-container .non-web-container .file-instance {\n display: block;\n width: 100%;\n height: auto;\n padding: 20px 20px 0px 20px;\n border: 2px solid #d4cfbe;\n border-left: 5px solid #b39841;\n background-color: #f4f2ea;\n margin-bottom: 10px;\n}\n.related-docs-container .memo-container .file-instance .file-type-icon,\n.related-docs-container .bill-version-container .file-instance .file-type-icon,\n.related-docs-container .amendment-container .file-instance .file-type-icon,\n.related-docs-container .act-container .file-instance .file-type-icon,\n.related-docs-container .non-web-container .file-instance .file-type-icon {\n display: inline-block;\n}\n.related-docs-container .memo-container .file-instance .file-type-icon .icon,\n.related-docs-container .bill-version-container .file-instance .file-type-icon .icon,\n.related-docs-container .amendment-container .file-instance .file-type-icon .icon,\n.related-docs-container .act-container .file-instance .file-type-icon .icon,\n.related-docs-container .non-web-container .file-instance .file-type-icon .icon {\n display: block;\n height: 48px;\n width: 40px;\n background-repeat: no-repeat;\n background-position: 50%;\n}\n.related-docs-container .memo-container .file-instance .file-type-icon .icon.pdf,\n.related-docs-container .bill-version-container .file-instance .file-type-icon .icon.pdf,\n.related-docs-container .amendment-container .file-instance .file-type-icon .icon.pdf,\n.related-docs-container .act-container .file-instance .file-type-icon .icon.pdf,\n.related-docs-container .non-web-container .file-instance .file-type-icon .icon.pdf {\n background-image: url('pdf-icon-default.4ccbd8d35aa106dc.svg');\n}\n.related-docs-container .memo-container .file-instance .file-type-icon .icon.odt,\n.related-docs-container .bill-version-container .file-instance .file-type-icon .icon.odt,\n.related-docs-container .amendment-container .file-instance .file-type-icon .icon.odt,\n.related-docs-container .act-container .file-instance .file-type-icon .icon.odt,\n.related-docs-container .non-web-container .file-instance .file-type-icon .icon.odt {\n background-image: url('odt-icon-default.ef34f06c87b19eb4.svg');\n}\n.related-docs-container .memo-container .file-instance .file-type-icon .icon.doc,\n.related-docs-container .bill-version-container .file-instance .file-type-icon .icon.doc,\n.related-docs-container .amendment-container .file-instance .file-type-icon .icon.doc,\n.related-docs-container .act-container .file-instance .file-type-icon .icon.doc,\n.related-docs-container .non-web-container .file-instance .file-type-icon .icon.doc {\n background-image: url('doc-icon-default.6a0830f6a3577bf2.svg');\n}\n.related-docs-container .memo-container .file-instance .file-type-icon .icon.multi,\n.related-docs-container .bill-version-container .file-instance .file-type-icon .icon.multi,\n.related-docs-container .amendment-container .file-instance .file-type-icon .icon.multi,\n.related-docs-container .act-container .file-instance .file-type-icon .icon.multi,\n.related-docs-container .non-web-container .file-instance .file-type-icon .icon.multi {\n background-image: url('multi-file-icon.b4c3bee5f063efc2.svg');\n}\n.related-docs-container .memo-container .file-instance .file-content .content-container,\n.related-docs-container .bill-version-container .file-instance .file-content .content-container,\n.related-docs-container .amendment-container .file-instance .file-content .content-container,\n.related-docs-container .act-container .file-instance .file-content .content-container,\n.related-docs-container .non-web-container .file-instance .file-content .content-container {\n margin-bottom: 0px;\n}\n.related-docs-container .memo-container .file-instance .file-content .content-container .file-name-container .file-name,\n.related-docs-container .bill-version-container .file-instance .file-content .content-container .file-name-container .file-name,\n.related-docs-container .amendment-container .file-instance .file-content .content-container .file-name-container .file-name,\n.related-docs-container .act-container .file-instance .file-content .content-container .file-name-container .file-name,\n.related-docs-container .non-web-container .file-instance .file-content .content-container .file-name-container .file-name,\n.related-docs-container .memo-container .file-instance .file-content .content-container .file-size-container .file-name,\n.related-docs-container .bill-version-container .file-instance .file-content .content-container .file-size-container .file-name,\n.related-docs-container .amendment-container .file-instance .file-content .content-container .file-size-container .file-name,\n.related-docs-container .act-container .file-instance .file-content .content-container .file-size-container .file-name,\n.related-docs-container .non-web-container .file-instance .file-content .content-container .file-size-container .file-name,\n.related-docs-container .memo-container .file-instance .file-content .content-container .file-name-container .file-size,\n.related-docs-container .bill-version-container .file-instance .file-content .content-container .file-name-container .file-size,\n.related-docs-container .amendment-container .file-instance .file-content .content-container .file-name-container .file-size,\n.related-docs-container .act-container .file-instance .file-content .content-container .file-name-container .file-size,\n.related-docs-container .non-web-container .file-instance .file-content .content-container .file-name-container .file-size,\n.related-docs-container .memo-container .file-instance .file-content .content-container .file-size-container .file-size,\n.related-docs-container .bill-version-container .file-instance .file-content .content-container .file-size-container .file-size,\n.related-docs-container .amendment-container .file-instance .file-content .content-container .file-size-container .file-size,\n.related-docs-container .act-container .file-instance .file-content .content-container .file-size-container .file-size,\n.related-docs-container .non-web-container .file-instance .file-content .content-container .file-size-container .file-size {\n display: inline-block;\n padding-right: 5px;\n max-width: 50%;\n color: #444444;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.related-docs-container .memo-container .file-instance .file-content .content-container .file-info-container,\n.related-docs-container .bill-version-container .file-instance .file-content .content-container .file-info-container,\n.related-docs-container .amendment-container .file-instance .file-content .content-container .file-info-container,\n.related-docs-container .act-container .file-instance .file-content .content-container .file-info-container,\n.related-docs-container .non-web-container .file-instance .file-content .content-container .file-info-container {\n margin-bottom: 0px;\n}\n.related-docs-container .memo-container .file-instance .buttons button,\n.related-docs-container .bill-version-container .file-instance .buttons button,\n.related-docs-container .amendment-container .file-instance .buttons button,\n.related-docs-container .act-container .file-instance .buttons button,\n.related-docs-container .non-web-container .file-instance .buttons button {\n margin-bottom: 5px;\n}\n.related-docs-container .drop-area {\n display: block;\n height: 100px;\n width: 100%;\n border: 2px dashed #d4cfbe;\n border-radius: 5px;\n text-align: center;\n vertical-align: top;\n line-height: 100px;\n margin-bottom: 20px;\n}\n.related-docs-container .drop-area:hover .drop-text b {\n color: #b39841;\n}\n.related-docs-container .drop-area .drop-load {\n display: inline;\n opacity: 0;\n height: 100%;\n width: 100%;\n}\n.related-docs-container .drop-area .drop-load:focus {\n text-indent: -1000px;\n}\n.related-docs-container .drop-area p.drop-text {\n margin-top: -100px;\n line-height: 100px;\n}\n.related-docs-container .drop-area p.drop-text b {\n font-family: Montserrat-Light, sans-serif;\n font-weight: 300;\n text-decoration: underline;\n}\n.related-docs-container .drop-area p.drop-text .icon {\n display: inline-block;\n height: 24px;\n width: 30px;\n margin-bottom: 5px;\n vertical-align: middle;\n background-position: 50%;\n background-repeat: no-repeat;\n}\n.related-docs-container .drop-area p.drop-text .icon#cloud {\n background-image: url('cloud-upload.df255fb3b6804c85.svg');\n}\n.related-docs-container .accordion-body .buttons {\n padding-bottom: 20px;\n text-align: right;\n}\n.related-docs-container .row {\n margin-bottom: 20px;\n}\n.related-docs-container .row-1,\n.related-docs-container .row-2,\n.related-docs-container .row-3,\n.related-docs-container .row-4,\n.related-docs-container .row-5,\n.related-docs-container .row-6,\n.related-docs-container .row-7,\n.related-docs-container .row-8,\n.related-docs-container .row-9 {\n width: 100%;\n margin-bottom: 20px;\n}\n.related-docs-container .row-1 .text-wrapper,\n.related-docs-container .row-2 .text-wrapper,\n.related-docs-container .row-3 .text-wrapper,\n.related-docs-container .row-4 .text-wrapper,\n.related-docs-container .row-5 .text-wrapper,\n.related-docs-container .row-6 .text-wrapper,\n.related-docs-container .row-7 .text-wrapper,\n.related-docs-container .row-8 .text-wrapper,\n.related-docs-container .row-9 .text-wrapper {\n display: block !important;\n}\n.related-docs-container .row-1#toggle,\n.related-docs-container .row-2#toggle,\n.related-docs-container .row-3#toggle,\n.related-docs-container .row-4#toggle,\n.related-docs-container .row-5#toggle,\n.related-docs-container .row-6#toggle,\n.related-docs-container .row-7#toggle,\n.related-docs-container .row-8#toggle,\n.related-docs-container .row-9#toggle {\n height: 71px;\n}\n.related-docs-container .row-1 label.toggle,\n.related-docs-container .row-2 label.toggle,\n.related-docs-container .row-3 label.toggle,\n.related-docs-container .row-4 label.toggle,\n.related-docs-container .row-5 label.toggle,\n.related-docs-container .row-6 label.toggle,\n.related-docs-container .row-7 label.toggle,\n.related-docs-container .row-8 label.toggle,\n.related-docs-container .row-9 label.toggle {\n margin-top: 14.5px;\n}\n.related-docs-container .row-1 .toggle-text-left,\n.related-docs-container .row-2 .toggle-text-left,\n.related-docs-container .row-3 .toggle-text-left,\n.related-docs-container .row-4 .toggle-text-left,\n.related-docs-container .row-5 .toggle-text-left,\n.related-docs-container .row-6 .toggle-text-left,\n.related-docs-container .row-7 .toggle-text-left,\n.related-docs-container .row-8 .toggle-text-left,\n.related-docs-container .row-9 .toggle-text-left {\n display: inline-block;\n margin-right: 10px;\n line-height: 61px;\n vertical-align: top;\n}\n.related-docs-container .row-1 .toggle-text-right,\n.related-docs-container .row-2 .toggle-text-right,\n.related-docs-container .row-3 .toggle-text-right,\n.related-docs-container .row-4 .toggle-text-right,\n.related-docs-container .row-5 .toggle-text-right,\n.related-docs-container .row-6 .toggle-text-right,\n.related-docs-container .row-7 .toggle-text-right,\n.related-docs-container .row-8 .toggle-text-right,\n.related-docs-container .row-9 .toggle-text-right {\n display: inline-block;\n margin-left: 10px;\n line-height: 61px;\n vertical-align: top;\n}\n.non-web-container .col-lg-12 .accordion-body .row .col-lg-6:nth-of-type(1) {\n padding-right: 30px;\n}\n.non-web-container .col-lg-12 .accordion-body .row .col-lg-6:nth-of-type(2) {\n padding-left: 30px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/submission/support-info/upload-other-related-doc/upload-other-related-doc.component.less\"],\"names\":[],\"mappings\":\"AAEA;;;;;EAOM,cAAA;EACA,WAAA;EACA,YAAA;EACA,2BAAA;EACA,yBAAA;EACA,8BAAA;EACA,yBAAA;EAEA,mBAAA;AAJN;AAXA;;;;;EAiBQ,qBAAA;AACR;AAlBA;;;;;EAoBU,cAAA;EACA,YAAA;EACA,WAAA;EACA,4BAAA;EACA,wBAAA;AAKV;AAHU;;;;;EACE,8DAAA;AASZ;AANU;;;;;EACE,8DAAA;AAYZ;AATU;;;;;EACE,8DAAA;AAeZ;AAbU;;;;;EACE,6DAAA;AAmBZ;AAzDA;;;;;EA6CU,kBAAA;AAmBV;AAhEA;;;;;;;;;;;;;;;;;;;;EAmDc,qBAAA;EACA,kBAAA;EACA,cAAA;EACA,cAAA;EACA,uBAAA;EACA,mBAAA;EACA,gBAAA;AAmCd;AA5FA;;;;;EA8DY,kBAAA;AAqCZ;AAnGA;;;;;EAqEU,kBAAA;AAqCV;AA1GA;EA4EI,cAAA;EACA,aAAA;EACA,WAAA;EACA,0BAAA;EACA,kBAAA;EACA,kBAAA;EACA,mBAAA;EACA,kBAAA;EACA,mBAAA;AAiCJ;AA/BI;EAGM,cAAA;AA+BV;AAxHA;EA+FM,eAAA;EACA,UAAA;EACA,YAAA;EACA,WAAA;AA4BN;AA1BM;EACE,oBAAA;AA4BR;AAjIA;EA0GM,kBAAA;EACA,kBAAA;AA0BN;AArIA;EA8GQ,yCAAA;EACA,gBAAA;EACA,0BAAA;AA0BR;AA1IA;EAoHQ,qBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,sBAAA;EACA,wBAAA;EACA,4BAAA;AAyBR;AAvBQ;EACE,0DAAA;AAyBV;AAtJA;EAqIM,oBAAA;EACA,iBAAA;AAoBN;AA1JA;EA2II,mBAAA;AAkBJ;AA7JA;;;;;;;;;EAuJI,WAAA;EACA,mBAAA;AAiBJ;AAzKA;;;;;;;;;EA2JM,yBAAA;AAyBN;AAtBI;;;;;;;;;EACE,YAAA;AAgCN;AA/LA;;;;;;;;;EAmKM,kBAAA;AAuCN;AA1MA;;;;;;;;;EAuKM,qBAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;AA8CN;AAxNA;;;;;;;;;EA8KM,qBAAA;EACA,iBAAA;EACA,iBAAA;EACA,mBAAA;AAqDN;AAhDA;EAKU,mBAAA;AA8CV;AAnDA;EAQU,kBAAA;AA8CV\",\"sourcesContent\":[\"@import (reference) \\\"../../../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n\\n.related-docs-container {\\n .memo-container,\\n .bill-version-container,\\n .amendment-container,\\n .act-container,\\n .non-web-container {\\n .file-instance {\\n display: block;\\n width: 100%;\\n height: auto;\\n padding: 20px 20px 0px 20px;\\n border: 2px solid @primary-50;\\n border-left: 5px solid @primary-90;\\n background-color: #f4f2ea;\\n// padding-bottom: 0px;\\n margin-bottom: 10px;\\n .file-type-icon {\\n display: inline-block;\\n\\n .icon {\\n display: block;\\n height: 48px;\\n width: 40px;\\n background-repeat: no-repeat;\\n background-position: 50%;\\n\\n &.pdf {\\n background-image: url(\\\"../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/pdf-icon-default.svg\\\");\\n }\\n\\n &.odt {\\n background-image: url(\\\"../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/odt-icon-default.svg\\\");\\n }\\n\\n &.doc {\\n background-image: url(\\\"../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/doc-icon-default.svg\\\");\\n }\\n &.multi {\\n background-image: url(\\\"../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/multi-file-icon.svg\\\");\\n }\\n }\\n }\\n\\n .file-content {\\n .content-container {\\n margin-bottom: 0px;\\n\\n .file-name-container,\\n .file-size-container {\\n .file-name,\\n .file-size {\\n display: inline-block;\\n padding-right: 5px;\\n max-width: 50%;\\n color: @secondary-90;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n }\\n }\\n\\n .file-info-container {\\n margin-bottom: 0px;\\n }\\n }\\n }\\n\\n .buttons {\\n button {\\n margin-bottom: 5px;\\n }\\n }\\n }\\n }\\n\\n .drop-area {\\n display: block;\\n height: 100px;\\n width: 100%;\\n border: 2px dashed @primary-50;\\n border-radius: 5px;\\n text-align: center;\\n vertical-align: top;\\n line-height: 100px;\\n margin-bottom: 20px;\\n\\n &:hover {\\n .drop-text {\\n b {\\n color: @primary-90;\\n }\\n }\\n }\\n\\n .drop-load {\\n display: inline;\\n opacity: 0;\\n height: 100%;\\n width: 100%;\\n\\n &:focus {\\n text-indent: -1000px;\\n }\\n }\\n\\n p.drop-text {\\n margin-top: -100px;\\n line-height: 100px;\\n\\n b {\\n font-family: Montserrat-Light, sans-serif;\\n font-weight: 300;\\n text-decoration: underline;\\n }\\n\\n .icon {\\n display: inline-block;\\n height: 24px;\\n width: 30px;\\n margin-bottom: 5px;\\n vertical-align: middle;\\n background-position: 50%;\\n background-repeat: no-repeat;\\n\\n cloud {\\n background-image: url(\\\"../../../../../node_modules/proceduralsystem-clientcomponents/styles/img/cloud-upload.svg\\\");\\n }\\n }\\n }\\n }\\n\\n .accordion-body {\\n .buttons {\\n padding-bottom: 20px;\\n text-align: right;\\n }\\n }\\n\\n .row {\\n margin-bottom: 20px;\\n }\\n\\n .row-1,\\n .row-2,\\n .row-3,\\n .row-4,\\n .row-5,\\n .row-6,\\n .row-7,\\n .row-8,\\n .row-9 {\\n width: 100%;\\n margin-bottom: 20px;\\n\\n .text-wrapper {\\n display: block !important;\\n }\\n\\n toggle {\\n height: 71px;\\n }\\n\\n label.toggle {\\n margin-top: 14.5px;\\n }\\n\\n .toggle-text-left {\\n display: inline-block;\\n margin-right: 10px;\\n line-height: 61px;\\n vertical-align: top;\\n }\\n\\n .toggle-text-right {\\n display: inline-block;\\n margin-left: 10px;\\n line-height: 61px;\\n vertical-align: top;\\n }\\n }\\n}\\n\\n.non-web-container {\\n .col-lg-12 {\\n .accordion-body {\\n .row {\\n .col-lg-6:nth-of-type(1) {\\n padding-right: 30px;\\n }\\n .col-lg-6:nth-of-type(2) {\\n padding-left: 30px;\\n }\\n }\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.task-manager ::ng-deep p-tabview .p-tabview-nav {\n list-style: none;\n margin-left: 20px;\n margin-bottom: 0px;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav li {\n display: inline-block;\n height: auto;\n width: auto;\n margin: 0 4px 0 0;\n padding: 0;\n color: #444;\n border: none;\n background: repeating-linear-gradient(-40deg, #e6e0cd, #e6e0cd 5px, #ded5bc 5px, #ded5bc 7.5px);\n font-size: 15px;\n font-family: 'Montserrat-Regular', san-serif;\n font-weight: bold;\n vertical-align: middle;\n text-align: center;\n outline: none;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav li:hover {\n cursor: pointer;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav li a span {\n padding: 20px 30px 15px 30px;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav li a:focus {\n outline: none;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav li.p-highlight {\n background: white;\n color: #7F6C2E;\n border: 1px solid #d4cfbe;\n border-bottom: none;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav li.p-highlight:hover {\n cursor: pointer;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav li.p-highlight a {\n text-decoration: none;\n color: #7F6C2E;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav a,\n.task-manager ::ng-deep p-tabview .p-tabview-nav a:hover,\n.task-manager ::ng-deep p-tabview .p-tabview-nav a:visited,\n.task-manager ::ng-deep p-tabview .p-tabview-nav a:focus {\n text-decoration: none;\n color: #444;\n}\n.task-manager ::ng-deep p-tabview .p-tabview-nav .p-tabview-ink-bar {\n display: none;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls {\n text-align: right;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template {\n padding: 1px;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li {\n height: 25px;\n min-width: 25px;\n line-height: 20px;\n border-radius: 20px;\n border: none;\n margin-right: 5px;\n margin-top: 15px;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous,\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next {\n font-family: Montserrat-Light;\n width: auto;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous span,\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next span,\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-previous a,\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.pagination-next a {\n color: #7F6C2E;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li div,\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li a {\n color: #444444;\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.disabled span {\n color: #bfbbaa;\n cursor: no-drop;\n pointer-events: none;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current {\n vertical-align: top;\n background-color: #7F6C2E;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div {\n outline: none;\n text-decoration: none;\n text-align: center;\n border-radius: 20px;\n}\n.task-manager ::ng-deep p-tabview ::ng-deep pagination-controls ::ng-deep pagination-template ul.ngx-pagination li.current div span {\n color: #ffffff;\n font-weight: 600;\n}\n.tab-header {\n margin-left: 20px;\n}\n.tab-header a {\n text-decoration: none;\n}\n.tab-body h4.label-title {\n font-family: Montserrat-Bold, sans-serif;\n color: #333333;\n margin-bottom: 20px;\n}\n.tab-body h2.empty {\n font-family: Montserrat-Light;\n color: #333333;\n}\nul.active-list {\n list-style: none;\n margin-left: -40px;\n}\nul.active-list li {\n padding: 15px 20px 20px 20px;\n border-bottom: 1px solid #d4cfbe;\n background-color: #f4f2ea;\n}\nul.active-list li:nth-of-type(even) {\n background-color: #ffffff;\n}\nul.active-list li .active-item {\n line-height: 20px;\n}\nul.active-list li .active-item .task-item {\n width: 100%;\n margin-left: 30px;\n padding-right: 28px;\n}\nul.active-list li .active-item .task-item .task-title-row {\n margin-bottom: 10px;\n}\nul.active-list li .active-item .unread {\n display: inline-block;\n height: 10px;\n width: 10px;\n border-radius: 10px;\n background-color: #b39841;\n margin-right: 10px;\n margin-top: 5px;\n}\nul.active-list li .active-item .unread.read {\n display: none;\n}\nul.active-list li .active-item span.active-title {\n font-family: Montserrat-Semibold, sans-serif;\n color: #444444;\n font-size: 16px;\n}\nul.active-list li .active-item span.active-title .link-out {\n display: inline-block;\n width: 18px;\n vertical-align: text-bottom;\n background-image: url('link-out.6c38c5f5cf0ff1a3.svg');\n background-repeat: no-repeat;\n background-position: center;\n}\nul.active-list li .active-item span.active-title .link-out:hover {\n background-image: url('link-out-hover.c507811cdc76952f.svg');\n}\nul.active-list li .active-item .priority {\n display: block;\n text-align: right;\n float: left;\n margin: 16px 10px 0 -5px;\n}\nul.active-list li .active-item .priority .icon {\n display: inline-block;\n height: 24px;\n width: 24px;\n background: url('priority.3c4dd720da26796d.svg') top left no-repeat;\n}\nul.active-list li .active-item .priority .icon.unchecked {\n background-image: url('unselected.c74f85915c0cd5d8.svg');\n}\nul.active-list li .active-item .priority .icon.unchecked:hover {\n background-image: url('priority.3c4dd720da26796d.svg');\n}\nul.active-list li .active-item .draft {\n display: inline-block;\n text-align: right;\n}\nul.active-list li .active-item .draft .icon {\n display: inline-block;\n height: 24px;\n width: 24px;\n background-image: url('unselected-pencil.1f942b87c6915b62.svg');\n background-repeat: no-repeat;\n background-position: center;\n}\nul.active-list li .active-item .claim {\n display: inline-block;\n text-align: right;\n margin-bottom: -9px;\n}\nul.active-list li .active-item .claim button {\n text-align: center;\n}\nul.active-list li .active-item .claim.claimed {\n display: none;\n}\nul.active-list li .active-item .active-details {\n display: inline-block;\n margin-right: 20px;\n margin-bottom: 0;\n font-family: Montserrat-Light, sans-serif;\n font-size: 15px;\n line-height: 20px;\n color: #444444;\n}\nul.active-list li .active-item .active-details.house {\n font-family: Montserrat-LightItalic;\n}\nul.active-list li .active-item .active-details.no-bill {\n margin-right: 0;\n}\nul.active-list li .active-item .active-details a {\n font-family: Montserrat-Semibold;\n text-decoration: underline;\n}\nul.active-list li .active-item .categorySpacing {\n padding-bottom: 10px;\n}\n::ng-deep .modal-dialog-container .buttons {\n width: 100%;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/task-manager/task-manager.component.less\"],\"names\":[],\"mappings\":\"AAKA;EAGM,gBAAA;EACA,iBAAA;EACA,kBAAA;AANN;AACA;EAQQ,qBAAA;EACA,YAAA;EACA,WAAA;EACA,iBAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,+FAAA;EACA,eAAA;EACA,4CAAA;EACA,iBAAA;EACA,sBAAA;EACA,kBAAA;EACA,aAAA;AANR;AAQQ;EACE,eAAA;AANV;AAlBA;EA8BY,4BAAA;AATZ;AAYU;EACE,aAAA;AAVZ;AAcQ;EACE,iBAAA;EACA,cAAA;EACA,yBAAA;EACA,mBAAA;AAZV;AAcU;EACE,eAAA;AAZZ;AAKQ;EAWI,qBAAA;EACA,cAAA;AAbZ;AArCA;;;;EAwDQ,qBAAA;EACA,WAAA;AAbR;AA5CA;EA6DQ,aAAA;AAdR;AA/CA;EAkEM,iBAAA;AAhBN;AAlDA;EAqEQ,YAAA;AAhBR;AArDA;EAyEY,YAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;AAjBZ;AAmBY;;EAEE,6BAAA;EACA,WAAA;AAjBd;AAcY;;;;EAOI,cAAA;AAfhB;AAzEA;;EA8Fc,cAAA;EACA,aAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;AAjBd;AAoBY;EAEI,cAAA;EACA,eAAA;EACA,oBAAA;AAnBhB;AAuBY;EACE,mB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ACA,gBAAA;EACA,yCAAA;EACA,eAAA;EACA,iBAAA;EACA,cAAA;AArDR;AAuDQ;EACE,mCAAA;AArDV;AAwDQ;EACE,eAAA;AAtDV;AArEA;EA+HU,gCAAA;EACA,0BAAA;AAvDV;AAzEA;EAqIQ,oBAAA;AAzDR;AA+DA;EAGI,WAAA;AA/DJ\",\"sourcesContent\":[\"@import (reference) \\\"../../../node_modules/proceduralsystem-clientcomponents/styles/variables.less\\\";\\n\\n@beige: #e6e0cd;\\n@beige-dark: darken(@beige, 5%);\\n\\n.task-manager {\\n ::ng-deep p-tabview {\\n .p-tabview-nav {\\n list-style: none;\\n margin-left: 20px;\\n margin-bottom: 0px;\\n\\n li {\\n display: inline-block;\\n height: auto;\\n width: auto;\\n margin: 0 4px 0 0;\\n padding: 0;\\n color: #444;\\n border: none;\\n background: repeating-linear-gradient( -40deg, @beige, @beige 5px, @beige-dark 5px, @beige-dark 7.5px );\\n font-size: 15px;\\n font-family: 'Montserrat-Regular', san-serif;\\n font-weight: bold;\\n vertical-align: middle;\\n text-align: center;\\n outline: none;\\n\\n &:hover {\\n cursor: pointer;\\n }\\n\\n a {\\n\\n span {\\n padding: 20px 30px 15px 30px;\\n }\\n\\n &:focus {\\n outline: none;\\n }\\n }\\n\\n &.p-highlight {\\n background: white;\\n color: @primary-base;\\n border: 1px solid @primary-50;\\n border-bottom: none;\\n\\n &:hover {\\n cursor: pointer;\\n }\\n\\n a {\\n text-decoration: none;\\n color: @primary-base;\\n }\\n }\\n }\\n\\n a, a:hover, a:visited, a:focus {\\n text-decoration: none;\\n color: #444;\\n }\\n\\n .p-tabview-ink-bar {\\n display:none;\\n }\\n }\\n\\n ::ng-deep pagination-controls {\\n text-align: right;\\n\\n ::ng-deep pagination-template {\\n padding: 1px;\\n\\n ul.ngx-pagination {\\n li {\\n height: 25px;\\n min-width: 25px;\\n line-height: 20px;\\n border-radius: 20px;\\n border: none;\\n margin-right: 5px;\\n margin-top: 15px;\\n\\n &.pagination-previous,\\n &.pagination-next {\\n font-family: Montserrat-Light;\\n width: auto;\\n\\n span,\\n a {\\n color: @primary-base;\\n }\\n }\\n\\n div,\\n a {\\n color: @secondary-90;\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n }\\n\\n &.disabled {\\n span {\\n color: @disabled-fill;\\n cursor: no-drop;\\n pointer-events: none;\\n }\\n }\\n\\n &.current {\\n vertical-align: top;\\n background-color: @primary-base;\\n\\n div {\\n outline: none;\\n text-decoration: none;\\n text-align: center;\\n border-radius: 20px;\\n\\n span {\\n color: @white;\\n font-weight: 600;\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n}\\n\\n.tab-header {\\n margin-left: 20px;\\n\\n a {\\n text-decoration: none;\\n }\\n}\\n\\n.tab-body {\\n h4.label-title {\\n font-family: Montserrat-Bold, sans-serif;\\n color: @secondary-base;\\n margin-bottom: 20px;\\n }\\n\\n h2.empty{\\n font-family: Montserrat-Light;\\n color: @secondary-base;\\n }\\n}\\n\\nul.active-list {\\n list-style: none;\\n margin-left: -40px;\\n\\n li {\\n padding: 15px 20px 20px 20px;\\n border-bottom: 1px solid @primary-50;\\n background-color: @primary-40;\\n\\n &:nth-of-type(even) {\\n background-color: @white;\\n }\\n\\n .active-item {\\n line-height: 20px;\\n\\n .task-item {\\n width: 100%;\\n margin-left: 30px;\\n padding-right: 28px;\\n\\n .task-title-row {\\n margin-bottom: 10px;\\n }\\n }\\n\\n .unread {\\n display: inline-block;\\n height: 10px;\\n width: 10px;\\n border-radius: 10px;\\n background-color: @primary-90;\\n margin-right: 10px;\\n margin-top: 5px;\\n\\n &.read {\\n display: none;\\n }\\n }\\n\\n span.active-title {\\n font-family: Montserrat-Semibold, sans-serif;\\n color: @secondary-90;\\n font-size: 16px;\\n\\n .link-out {\\n display: inline-block;\\n width: 18px;\\n vertical-align: text-bottom;\\n background-image: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out.svg');\\n background-repeat: no-repeat;\\n background-position: center;\\n\\n &:hover {\\n background-image: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/link-out-hover.svg');\\n }\\n }\\n }\\n\\n .priority {\\n display: block;\\n text-align: right;\\n float: left;\\n margin: 16px 10px 0 -5px;\\n\\n .icon {\\n display: inline-block;\\n height: 24px;\\n width: 24px;\\n background: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/priority.svg') top left no-repeat;\\n\\n &.unchecked {\\n background-image: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/unselected.svg');\\n }\\n\\n &.unchecked:hover {\\n background-image: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/priority.svg');\\n }\\n }\\n }\\n\\n .draft {\\n display: inline-block;\\n text-align: right;\\n\\n .icon {\\n display: inline-block;\\n height: 24px;\\n width: 24px;\\n background-image: url('../../../node_modules/proceduralsystem-clientcomponents/styles/img/unselected-pencil.svg');\\n background-repeat: no-repeat;\\n background-position: center;\\n }\\n }\\n\\n .claim {\\n display: inline-block;\\n text-align: right;\\n margin-bottom: -9px;\\n\\n button {\\n text-align: center;\\n }\\n\\n &.claimed {\\n display: none;\\n }\\n }\\n\\n .active-details {\\n display: inline-block;\\n margin-right: 20px;\\n margin-bottom: 0;\\n font-family: Montserrat-Light, sans-serif;\\n font-size: 15px;\\n line-height: 20px;\\n color: @secondary-90;\\n\\n &.house {\\n font-family: Montserrat-LightItalic;\\n }\\n\\n &.no-bill {\\n margin-right: 0;\\n }\\n\\n a {\\n font-family: Montserrat-Semibold;\\n text-decoration: underline;\\n }\\n }\\n\\n .categorySpacing {\\n padding-bottom: 10px;\\n }\\n }\\n }\\n}\\n\\n::ng-deep .modal-dialog-container {\\n\\n .buttons {\\n width: 100%;\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n","var map = {\n\t\"./af\": 85637,\n\t\"./af.js\": 85637,\n\t\"./ar\": 6777,\n\t\"./ar-dz\": 74508,\n\t\"./ar-dz.js\": 74508,\n\t\"./ar-kw\": 67504,\n\t\"./ar-kw.js\": 67504,\n\t\"./ar-ly\": 95373,\n\t\"./ar-ly.js\": 95373,\n\t\"./ar-ma\": 92412,\n\t\"./ar-ma.js\": 92412,\n\t\"./ar-ps\": 78823,\n\t\"./ar-ps.js\": 78823,\n\t\"./ar-sa\": 36670,\n\t\"./ar-sa.js\": 36670,\n\t\"./ar-tn\": 36448,\n\t\"./ar-tn.js\": 36448,\n\t\"./ar.js\": 6777,\n\t\"./az\": 23009,\n\t\"./az.js\": 23009,\n\t\"./be\": 28299,\n\t\"./be.js\": 28299,\n\t\"./bg\": 4685,\n\t\"./bg.js\": 4685,\n\t\"./bm\": 11171,\n\t\"./bm.js\": 11171,\n\t\"./bn\": 23590,\n\t\"./bn-bd\": 5841,\n\t\"./bn-bd.js\": 5841,\n\t\"./bn.js\": 23590,\n\t\"./bo\": 54309,\n\t\"./bo.js\": 54309,\n\t\"./br\": 54130,\n\t\"./br.js\": 54130,\n\t\"./bs\": 8033,\n\t\"./bs.js\": 8033,\n\t\"./ca\": 55294,\n\t\"./ca.js\": 55294,\n\t\"./cs\": 53028,\n\t\"./cs.js\": 53028,\n\t\"./cv\": 5807,\n\t\"./cv.js\": 5807,\n\t\"./cy\": 70342,\n\t\"./cy.js\": 70342,\n\t\"./da\": 38269,\n\t\"./da.js\": 38269,\n\t\"./de\": 11489,\n\t\"./de-at\": 42123,\n\t\"./de-at.js\": 42123,\n\t\"./de-ch\": 17757,\n\t\"./de-ch.js\": 17757,\n\t\"./de.js\": 11489,\n\t\"./dv\": 28152,\n\t\"./dv.js\": 28152,\n\t\"./el\": 7687,\n\t\"./el.js\": 7687,\n\t\"./en-au\": 46668,\n\t\"./en-au.js\": 46668,\n\t\"./en-ca\": 76798,\n\t\"./en-ca.js\": 76798,\n\t\"./en-gb\": 53615,\n\t\"./en-gb.js\": 53615,\n\t\"./en-ie\": 91364,\n\t\"./en-ie.js\": 91364,\n\t\"./en-il\": 79907,\n\t\"./en-il.js\": 79907,\n\t\"./en-in\": 70533,\n\t\"./en-in.js\": 70533,\n\t\"./en-nz\": 33190,\n\t\"./en-nz.js\": 33190,\n\t\"./en-sg\": 51096,\n\t\"./en-sg.js\": 51096,\n\t\"./eo\": 3962,\n\t\"./eo.js\": 3962,\n\t\"./es\": 37726,\n\t\"./es-do\": 65010,\n\t\"./es-do.js\": 65010,\n\t\"./es-mx\": 63654,\n\t\"./es-mx.js\": 63654,\n\t\"./es-us\": 59043,\n\t\"./es-us.js\": 59043,\n\t\"./es.js\": 37726,\n\t\"./et\": 25343,\n\t\"./et.js\": 25343,\n\t\"./eu\": 90728,\n\t\"./eu.js\": 90728,\n\t\"./fa\": 60787,\n\t\"./fa.js\": 60787,\n\t\"./fi\": 71771,\n\t\"./fi.js\": 71771,\n\t\"./fil\": 45335,\n\t\"./fil.js\": 45335,\n\t\"./fo\": 69761,\n\t\"./fo.js\": 69761,\n\t\"./fr\": 1670,\n\t\"./fr-ca\": 28991,\n\t\"./fr-ca.js\": 28991,\n\t\"./fr-ch\": 97280,\n\t\"./fr-ch.js\": 97280,\n\t\"./fr.js\": 1670,\n\t\"./fy\": 24203,\n\t\"./fy.js\": 24203,\n\t\"./ga\": 69858,\n\t\"./ga.js\": 69858,\n\t\"./gd\": 38605,\n\t\"./gd.js\": 38605,\n\t\"./gl\": 27365,\n\t\"./gl.js\": 27365,\n\t\"./gom-deva\": 33896,\n\t\"./gom-deva.js\": 33896,\n\t\"./gom-latn\": 95587,\n\t\"./gom-latn.js\": 95587,\n\t\"./gu\": 97950,\n\t\"./gu.js\": 97950,\n\t\"./he\": 92029,\n\t\"./he.js\": 92029,\n\t\"./hi\": 51897,\n\t\"./hi.js\": 51897,\n\t\"./hr\": 29816,\n\t\"./hr.js\": 29816,\n\t\"./hu\": 22253,\n\t\"./hu.js\": 22253,\n\t\"./hy-am\": 28196,\n\t\"./hy-am.js\": 28196,\n\t\"./id\": 51307,\n\t\"./id.js\": 51307,\n\t\"./is\": 95474,\n\t\"./is.js\": 95474,\n\t\"./it\": 23099,\n\t\"./it-ch\": 45807,\n\t\"./it-ch.js\": 45807,\n\t\"./it.js\": 23099,\n\t\"./ja\": 19127,\n\t\"./ja.js\": 19127,\n\t\"./jv\": 30182,\n\t\"./jv.js\": 30182,\n\t\"./ka\": 10758,\n\t\"./ka.js\": 10758,\n\t\"./kk\": 93444,\n\t\"./kk.js\": 93444,\n\t\"./km\": 72034,\n\t\"./km.js\": 72034,\n\t\"./kn\": 46223,\n\t\"./kn.js\": 46223,\n\t\"./ko\": 83064,\n\t\"./ko.js\": 83064,\n\t\"./ku\": 8714,\n\t\"./ku-kmr\": 10961,\n\t\"./ku-kmr.js\": 10961,\n\t\"./ku.js\": 8714,\n\t\"./ky\": 12062,\n\t\"./ky.js\": 12062,\n\t\"./lb\": 84796,\n\t\"./lb.js\": 84796,\n\t\"./lo\": 19279,\n\t\"./lo.js\": 19279,\n\t\"./lt\": 106,\n\t\"./lt.js\": 106,\n\t\"./lv\": 11840,\n\t\"./lv.js\": 11840,\n\t\"./me\": 42240,\n\t\"./me.js\": 42240,\n\t\"./mi\": 13588,\n\t\"./mi.js\": 13588,\n\t\"./mk\": 15518,\n\t\"./mk.js\": 15518,\n\t\"./ml\": 37823,\n\t\"./ml.js\": 37823,\n\t\"./mn\": 98657,\n\t\"./mn.js\": 98657,\n\t\"./mr\": 61285,\n\t\"./mr.js\": 61285,\n\t\"./ms\": 43014,\n\t\"./ms-my\": 86253,\n\t\"./ms-my.js\": 86253,\n\t\"./ms.js\": 43014,\n\t\"./mt\": 20167,\n\t\"./mt.js\": 20167,\n\t\"./my\": 47940,\n\t\"./my.js\": 47940,\n\t\"./nb\": 50014,\n\t\"./nb.js\": 50014,\n\t\"./ne\": 49023,\n\t\"./ne.js\": 49023,\n\t\"./nl\": 34208,\n\t\"./nl-be\": 71412,\n\t\"./nl-be.js\": 71412,\n\t\"./nl.js\": 34208,\n\t\"./nn\": 81354,\n\t\"./nn.js\": 81354,\n\t\"./oc-lnc\": 40870,\n\t\"./oc-lnc.js\": 40870,\n\t\"./pa-in\": 80389,\n\t\"./pa-in.js\": 80389,\n\t\"./pl\": 7342,\n\t\"./pl.js\": 7342,\n\t\"./pt\": 34774,\n\t\"./pt-br\": 73003,\n\t\"./pt-br.js\": 73003,\n\t\"./pt.js\": 34774,\n\t\"./ro\": 85333,\n\t\"./ro.js\": 85333,\n\t\"./ru\": 73451,\n\t\"./ru.js\": 73451,\n\t\"./sd\": 43921,\n\t\"./sd.js\": 43921,\n\t\"./se\": 59682,\n\t\"./se.js\": 59682,\n\t\"./si\": 80582,\n\t\"./si.js\": 80582,\n\t\"./sk\": 4348,\n\t\"./sk.js\": 4348,\n\t\"./sl\": 95337,\n\t\"./sl.js\": 95337,\n\t\"./sq\": 39358,\n\t\"./sq.js\": 39358,\n\t\"./sr\": 50683,\n\t\"./sr-cyrl\": 69382,\n\t\"./sr-cyrl.js\": 69382,\n\t\"./sr.js\": 50683,\n\t\"./ss\": 51156,\n\t\"./ss.js\": 51156,\n\t\"./sv\": 29855,\n\t\"./sv.js\": 29855,\n\t\"./sw\": 18536,\n\t\"./sw.js\": 18536,\n\t\"./ta\": 15373,\n\t\"./ta.js\": 15373,\n\t\"./te\": 37809,\n\t\"./te.js\": 37809,\n\t\"./tet\": 61297,\n\t\"./tet.js\": 61297,\n\t\"./tg\": 92527,\n\t\"./tg.js\": 92527,\n\t\"./th\": 85862,\n\t\"./th.js\": 85862,\n\t\"./tk\": 79331,\n\t\"./tk.js\": 79331,\n\t\"./tl-ph\": 44387,\n\t\"./tl-ph.js\": 44387,\n\t\"./tlh\": 3592,\n\t\"./tlh.js\": 3592,\n\t\"./tr\": 79732,\n\t\"./tr.js\": 79732,\n\t\"./tzl\": 99570,\n\t\"./tzl.js\": 99570,\n\t\"./tzm\": 83553,\n\t\"./tzm-latn\": 7699,\n\t\"./tzm-latn.js\": 7699,\n\t\"./tzm.js\": 83553,\n\t\"./ug-cn\": 25674,\n\t\"./ug-cn.js\": 25674,\n\t\"./uk\": 69974,\n\t\"./uk.js\": 69974,\n\t\"./ur\": 45773,\n\t\"./ur.js\": 45773,\n\t\"./uz\": 357,\n\t\"./uz-latn\": 77135,\n\t\"./uz-latn.js\": 77135,\n\t\"./uz.js\": 357,\n\t\"./vi\": 20043,\n\t\"./vi.js\": 20043,\n\t\"./x-pseudo\": 40767,\n\t\"./x-pseudo.js\": 40767,\n\t\"./yo\": 80150,\n\t\"./yo.js\": 80150,\n\t\"./zh-cn\": 21828,\n\t\"./zh-cn.js\": 21828,\n\t\"./zh-hk\": 86644,\n\t\"./zh-hk.js\": 86644,\n\t\"./zh-mo\": 79305,\n\t\"./zh-mo.js\": 79305,\n\t\"./zh-tw\": 31860,\n\t\"./zh-tw.js\": 31860\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 35358;"],"names":["Component","ElementRef","TranslateService","ConfigurationService","forkJoin","take","AppConfigService","AppComponent","constructor","configurationService","elementRef","config","translateService","navigateTo","nativeElement","getAttribute","ngAfterViewInit","showMessage","getValue","get","pipe","subscribe","version","defaultLang","addLangs","use","message","console","log","__decorate","selector","template","APP_INITIALIZER","NgModule","BrowserModule","BrowserAnimationsModule","FormsModule","ReactiveFormsModule","HttpClient","HTTP_INTERCEPTORS","CommonModule","RouterModule","AppRoutes","of","EventType","InteractionType","PublicClientApplication","MSAL_GUARD_CONFIG","MSAL_INSTANCE","MSAL_INTERCEPTOR_CONFIG","MsalInterceptor","MsalModule","MsalService","MsalGuard","MsalBroadcastService","ClientFrameworkModule","NgxPaginationModule","MissingTranslationHandler","TranslateLoader","TranslateModule","TranslateHttpLoader","FileUploadModule","ViewPrincipleComponent","EstablishEditComponent","PrincipleTopicsComponent","TaskManagerComponent","SubmissionComponent","PrincipleService","ExpirePrincipleComponent","LinkSubmissionComponent","SharedService","ValidationService","PrincipleSearchService","PrincipleTopicsService","PrincipleSearchComponent","CitedSubmissionsComponent","SubmissionService","SubmissionHeaderComponent","SubmissionStatusComponent","SubmissionContributionComponent","SubmissionResolve","ContributionViewComponent","CreateSubmissionComponent","CreateSubmissionContainerGuard","SafeHtmlPipe","RemoveRequiredPipe","SupportInfoComponent","ExistingSupportInfoComponent","UploadOtherRelatedDocComponent","SupportInfoViewComponent","TaskManagerService","TaskManagerResolve","SupportInfoService","FinancialImplicationsComponent","FinancialImplicationTypePanelComponent","FinancialImplicationTypeViewComponent","FinancialImplicationTypeCreateComponent","ContributionViewAmdFiComponent","SubmissionSearchComponent","AmendmentComponent","AmendmentService","SubmissionSearchService","AmendmentGroupComponent","AmendmentReferenceComponent","AmendmentCreateComponent","AmendmentEditComponent","AmendmentSummaryComponent","AmendmentFinalDecisionComponent","environment","PageComponent","TabViewModule","CKEditorModule","HttpCacheInterceptor","HttpLoaderFactory","httpClient","TranslationHandlerService","handle","params","key","MSALInstanceFactory","msalConfig","endpoint","auth","clientId","ClientId","authority","Instance","TenantId","msalInstance","account","getActiveAccount","accounts","getAllAccounts","length","setActiveAccount","addEventCallback","event","eventType","LOGIN_SUCCESS","payload","window","location","reload","MSALInterceptorConfigFactory","protectedResourceMap","Map","set","url","scopes","interactionType","Redirect","MSALGuardConfigFactory","authRequest","AppModule","declarations","imports","forRoot","loader","provide","useFactory","deps","missingTranslationHandler","useClass","isolate","providers","useValue","init","toPromise","multi","bootstrap","AccessDeniedComponent","RoleGuardService","CanDeactivateGuard","Roles","routes","path","redirectTo","pathMatch","component","canActivate","children","data","title","roles","BillsOffice","BillsOfficeReviewers","POHouseServices","ClerkAssistantOfTheDail","ClerkOfTheDail","ClerkAssistantOfTheSeanad","ClerkOfTheSeanad","canDeactivate","resolve","tasks","runGuardsAndResolvers","submission","exports","ListItem","ErrorModel","ValidModel","EditorConfig","toolbar","items","fontSize","options","removePlugins","placeholder","licenseKey","UserRoleRank","NavigationEnd","NavigationService","OirAuthService","navigationService","authService","ngOnInit","router","events","filter","map","activatedRoute","route","firstChild","outlet","mergeMap","titleService","setTitle","initNavigation","moduleName","tree","push","BillReviewers","setCookie","module","__NG_CLI_RESOURCE__0","ViewChild","Input","UntypedFormBuilder","Validators","ModalComponent","AccordionComponent","ToastNotificationsService","fb","principleTopicsService","toastService","topicForm","group","required","maxLength","value","clearForm","reset","markAsPristine","_this","_asyncToGenerator","changePage","pageNumber","results$","paginationOptions","id","itemsPerPage","pageSize","currentPage","totalItems","numberOfResults","setTopic","desc","setValue","onlySelf","openModal","text","modal","toggle","cancelModal","close","saveTopic","addOrUpdateTopic","addNotification","description","deleteTopic","createComponent","args","Injectable","shareReplay","http","userName","baseUrl","getTopicsByPage","page","result","topicsResult","getTopics","Id","Name","UpdatedBy","DelegateRoleMemberId","delete","post","headers","ContentType","Output","EventEmitter","SortByEnum","CitedSubmissionsModel","principleService","onChange","readonly","sortOptionsList","sortBy","model","loadSortingOptions","viewBillLink","principle","principleId","count","citedSubmissions","establishedForSubmission","markAsNotable","supportInfo","markSubmissionAsNotable","isNotable","emit","hasBill","billId","markEstablishedSubmissionAsNotable","onChangePage","skip","search","onSortChange","searchCitedSubmission","MostNotable","instant","MostRecent","SupportInformation","ViewChildren","ActivatedRoute","PrincipleModel","PrincipleLink","LinkTypeEnum","DatePickerComponent","Subject","Title","moment","sharedService","topicsList","principlesList","forumList","principleLinks","isSaveDisabled","isLinkingDisabled","userDiscardResponse$","modals","submissionLinking","establishedUnderBill","establishedUnderSubmissionId","establishedUnderSectionId","billOption","pristine","showExpireButton","heightNeedsCheck","modalChildren","toArray","showSupercedeConfirmationModal","principleForm","updateValueAndValidity","ngAfterViewChecked","heightUpdater","directive","box","style","height","offsetHeight","scrollHeight","routeSubscription","getPrinciple","topicIds","houseIdForum","additionalDetails","dateEstablished","principleIdLinking","principleLinks1","principleLinks2","validateSubmission","bind","validateSubmissionLinking","isExpired","submissions","sections","linkType","isAllowedSave","principleSubscription","topics","forums","getTopicsIds","principleTopics","getBillTitle","establishedUnderBillId","billTitle","format","initNavigationEditChild","isAuthorizedToExpire","onUpdateExpireModal","ngOnDestroy","unsubscribe","searchNode","find","x","expanded","getPrinciples","response","principlesArray","principles","e","Relate","p","includes","Supercede","onEstablishEditPrinciple","Number","principleExpiries","Array","utc","toISOString","establishEditPrinciple","topic","topicId","onLinkRelatedPrinciples","linkingData","createLinkingData","linksValue","concat","mySet","Set","from","onClearPrinciplesLinking","patchValue","onSupercedePrinciples","linkedPrincipleTitle","principleLink","principleId1","principleId2","principleLinkTypeId","principleId2Title","accordion","onDeletePrincipleLink","link","index","splice","markAsDirty","canLinkPrinciples","linkedPrinciple","getBill","onShowExpireModal","expireModal","_component","_currentRoute","_currentState","nextState","unsavedChangesModal","markAsUntouched","onCancelChanges","next","onDiscardChanges","onClosePrincipleScreen","clearSelect","currentNode","navigateToPath","onCitedSubmissionsChange","input","context","submissionId","some","item","submissionIdLink","valid","_context","sectionId","linkSubmission","hideSection","principleTitle","principleText","expirePrincipleForm","expiryReason","expiryReasonValue","updatedBy","getUsername","AdRoleMemberIdExpiredBy","expiryComplete","initNavigationViewChild","read","preserveWhitespaces","formBuilder","setTimeout","expirePrinciple","err","error","searchService","filterForm","topicsIds","forumId","freeText","PrincipleNumber","valueChanges","onSort","getReferenceData","sortByOptions","viewPrincipleBaseUrl","origin","viewBillBaseUrl","billsBaseUrl","shouldEnableApplyFiltersButton","getPaginationOptions","results","getDisplayTo","to","list","topicDescription","onClearFilter","onSearch","selected","sort","LoadSearchModel","FilterSearchModel","ResultsModel","ItemResultModel","TopicsListModel","filterModel","performSearch","selectedOption","MostUsed","DateEstablished","LastUpdated","LoadEditPrincipleModel","number","houseForumDescr","PrincipleExpiry","principleExpiryId","Topic","LoadReferenceData","Router","throwError","observableThrowError","catchError","reverse","citedHash","getUpdatedBy","delegateRoleMemberId","navigate","queryParams","keepTab","principleToExpire","put","deleteRelatedPrincipleLink","principleLinkId","linkPrinciples","PrincipleLinks","isAllowedExpire","select","updateSupportInformations","hasOwnProperty","supportInfoId","groups","i","j","relatedLinks","supercededLinks","supercedingLinks","hasRelatedPrinciples","hasSupercededPrinciples","hasSupercedingPrinciples","Boolean","snapshot","queryParamMap","relatedLinkIds","supercededLinkIds","supercedingLinkIds","onGoToEditScreen","onCloseViewPrinciple","tryCloseTab","objWin","self","open","closed","Pipe","transform","newStr","replace","name","DomSanitizer","sanitized","bypassSecurityTrustHtml","intercept","request","clone","setHeaders","HttpBackend","BehaviorSubject","pluck","switchMap","takeUntil","tap","httpHandler","localSettings$","config$","values$","v","localSettings","fetchConfig","prop","property","days","parseJwt","token","base64Url","split","base64","jsonPayload","decodeURIComponent","atob","c","charCodeAt","toString","slice","join","JSON","parse","getAll","Object","assign","providedIn","forwardRef","NG_VALUE_ACCESSOR","NG_ASYNC_VALIDATORS","submissionList","sectionList","billSubmissions","billSection","currentItemSubId","currentItemSecId","isUpdate","propagateChange","_","propagateTouch","writeValue","submissionLinkForm","updateSection","val","registerOnChange","fn","registerOnTouched","onBillChanges","getTypeaheadApi","subscription","resetTheForm","validate","invalid","bill","controls","undefined","populateSubmissionDropdown","onSubmissionChanges","populateSectionsDropdown","apiUrlBill","getBillSubmissions","forEach","getSubmissionSections","hideSections","useExisting","formsArr","ids","amendments","subject","subjectSend","callValidation","activateValidation","currentVal","markForm","String","clean","indexOf","checkAmendments","addAmendment","deleteAmendment","resetNoOfAmendments","getValidationCall","asObservable","getData","getDataWithAnAmendment","getTopInvalidForm","UntypedFormControl","AmendmentDecision","AmendmentGroupWithIndex","OirCkEditor","formData","form","validationService","onCreate","onUpdate","onCancel","createMode","groupObj","noSplitDecisions","showValidations$","Editor","validService","formID","Math","floor","random","ckEditorConfig","billAmendments","array","comment","supportingInformation","amendmentDecisionId","contributions","commentAmendments","decision","contribution","element","obj","amendmentId","amendmentStatusId","listType","numberListReference","whiteListNumber","whiteListReference","amendmentSubmitters","cleanObj","removeUndef","arrObj","editForm","amendmentGroupId","Updated","setCommentAmendments","mValidation","dirty","validationSubscription","markAsTouched","arr","addAmendmentReference","decisions","keys","_contribution","resetForm","scrollToAmendmentGroup","removeAt","scrollVal","getOffsetTop","document","getElementById","getElementsByClassName","scroll","top","behavior","scrollTop","createAmendment","updateAmendment","formArr2","element2","objKey","decisionObj","descr","InOrder","doUpdate","setControl","billAmendment","aGroupWithIndex","groupIndex","amendmentGroup","elem","offsetTop","isNaN","offsetParent","commentAmendmentId","contributionId","amendmentReference","getAmendmentReference","amendment","control","chamberMembers","removeAmendmentReference","AmendmentView","submissionComponent","onDelete","newDecision","isSplitDecision","canSplitDecision","mustSplitDecision","amendmentDecision","isConflict","touched","makeValidationChange","decisionSubscription","checkSplitDecision","setValidators","addEmptyDecision","markastouched","adRoleMemberId","Split","splitDecision","saveFormChanges","deleteSplitDecisions","amendmentView","FirstReview","SecondReview","otherContributions","groupIsConflict","add","every","supportInfoComponents","child","onSubmit","cancel","onUnsplitChange","$event","commentAmendment","at","groupContributions","y","OutOfOrder","ListType","formSubscription","statusChanges","setBillAmendments","disabled","updateListType","Numbered","enable","pattern","disable","clearValidators","onCollapse","onEdit","onEditClick","updateGroup","collapse","collapsed","edit","createContribution","updateContribution","groupCancel","onRemove","chamberobject","typeId","amendmentSubmitterId","markAllAsTouched","apiUrlMember","_obj","remove","amendmentService","render","amendmentSummary$","amendmentSummary","conflicts","inOrder","outOfOrder","ReferenceNumberType","AmendmentSectionTitles","submissionService","isReviewer","isCreator","isFinalDecision","preventEdit","amendmentGroups","valueSubscription","statusSubscription","section","countEditors","CKEDITOR","instances","readyEditors","scrollToSection","on","amendmentServiceSubscription","sortedArray","sortArray","getWorkflowStatus","n1","n2","decisionId","updateCreateContribution","createGroup","getBillAmendments","isSameDecision","previousGroup","currentGroup","collapseGroups","sectionCollapsed","status","Create","AdditionalReview","FinalDecision","groupTitle","updateAmendmentGroupTitle","editContribution","orderIndex","tempVal","findIndex","b","defineProperty","getOwnPropertyDescriptor","submitters","billIndex","adGroupMemberIdSentTo","createdByUser","sendToDate","updateCommentAmendments","contributionIndex","updateGroupDecision","getAmendmentNumbers","refreshAmendmentSummary","listReference","billAmendID","getDecisionTitle","deleteEditContribution","_contributionId","removedItem","amendmentContribution","thisFormArray","indexOfItemInForm","deleteContribution","asConflicts","Conflict","contributionDecision","getContributionDecision","decisionTitle","expandGroupSection","contributionDecisions","getCommentAmendmentDecision","dataGroup","NumberedList","referenceNumberType","WhiteList","cMemsArr","s","z","chamberMember","firstName","lastName","chamberMemberId","getAmendmentGroupTitle","create","isNumberList","_event","_i","onGroupCancel","AmendmentContributionSave","Contribution","AmendmentGroup","CommentAmendment","BillAmendment","amendmentReferenceId","Member","amendmentNumbers","complete","ContributionStatus","Rank","submission$","assignedToUser","readOnly","completedContributions","contributionStatusId","Completed","Draft","firstContrib","marked","contrib","unshift","leaveToIntroduce","SubmissionCategory","ActionType","billDecisions","category","reviewers","submitted","firstContribution","showBillDecision","billDecisionId","reviewerId","actionType","Review","action","Decision","categoryId","FinancialImplications","Amendments","newContribution","allowFinalDecision","isActive","CreateSubmissionModel","CreateSubmissionService","createService","dataModel","forumSelectOptions","headings","subCategorySelectOptions","modelPropertyName","assignedToSelectOptions","showSubCategory","billIsRequired","saving","assignedToSelf","subCategoryId","assignedTo","userRoleMemberId","assignedToRole","setupDropdownCascade","apiUrl","forum","subCategory","resetControls","enableControls","subCategories","setConditionalValidators","updateAssignedTo","disableControls","roleMemberId","userId","billUsers","roleId","user","redirect","navigateByUrl","userAccount","categories","updateNavigation","previousNode","parseInt","responseMessage","controllerName","financialImplicationTypes","financialImplications","getType","parentForm","parentFormGroup","sendtoDate","type","insert","errors","FinancialImplicationComment","commentToEdit","commentsToView","comments","completeContributionsCount","draftContribution","isDraft","showFirst","billInfo","billUrl","SubmissionStatus","AdvancedFiltersOptions","SubCategoryAliases","submissionStatus","submissionCategory","subCategoryAliases","showOutcomes","userOrRoleRequired","subCategoryIds","statusIds","forumIds","movementIds","userOrRoleId","outcomeIds","LastUpdatedDate","setupDropdowns","setupSubscriptions","clearFilter","sortOption","getDisplayFrom","min","trackBySubmisisonId","submissionNumber","trackByBillId","onCategoryChange","onMovementChange","onUserOrRoleChange","getDropdownData","populateDropdowns","initiateDropdowns","PMB","statuses","movements","usersAndRoles","outcomes","BillNumberDescending","outcome","Other","setUserOrRoleValidation","FilterModel","SearchResultsModel","Bill","Submission","FinancialDecision","AmendmentOrder","SubmissionMovement","SubmissionSubCategory","CategoryAliases","PrivateBill","LeaveToIntroduce","Presentation","SecondStage","CommitteeStage","ReportStage","CreamList","Acts","Bills","Elections","RequestForInstructions","submissionUrl","initializeFilterModel","updateSearchResultsModel","catId","subCatId","formClean","formCleanWithAmendment","closeTab","cameFromCloseButton","coreContribution","routerSubscription","selectedNode","sortedAmendmentGroups","compare","sortedAGArray","validationService1","validationService2","clearTaskManagerNavigation","a","scrollToError","formiId","isAmendmentUpdate","submit","amendmentIncompleteModel","amendmentRequiredModel","FormData","attachDocuments","createdBy","createdByUserName","validFrom","fi","amd","commentAmd","append","stringify","finalDecision","msg","refresh","currentParent","statusId","FinalDecisionMade","onClose","cancelChanges","discardChanges","acknowledgeIncompleNotice","acknowledgeReqNotice","taskManagerNode","categoryDesc","node","addNode","attachedDocuments","documentUniqueId","content","FinancialImplication","FinancialImplicationType","ShortTitleEng","shortTitleEng","BlgBill","billNumber","House","SubCategory","Category","Status","SubmissionView","User","FinancialImplicationEnum","submissionType","getControllerUrl","docElement","SupportingInformationOptionsEnum","supportInfoService","textValue","supportingInformationOptions","getSection","t","establishedUnderSectionName","getBillsBaseUrl","onDownloadDocument","info","regexp","RegExp","match","documentDescr","downloadDocument","documentId","getFileExtension","fileName","extension","sectionName","billIdLink","AddSupportInfoModel","SupportingInformation","AddSupportingInformation","formTouchedValidation","refDataModel","addSupportingInformation","selectedTypeDesc","obs$","allowedMimeType","supportInfoForm","newFormGroup","SelectFromOptions","supportInformationRefData","supportInfoTypes","infoType","principleIds","existingDocument","urlDesc","standingOrderIds","salientRulingIds","articlesIds","docDesc","EstablishPrinciple","ExistingDocument","ExternalLink","StandingOrder","SalientRuling","ArticlesOfTheConstitution","supportingInfoFormData","r","onSaveSupportingInfo","addPrinciples","addLinkToRelatedDocument","NewDocument","addOtherDocument","LinkToASubmission","addLinkToSubimssion","addRelatedLink","addStandingOrder","addSaliantRuling","addarticlesofTheConstitution","onCloseForm","newInfo","supportInfoTypeId","principleDesc","l","addSupportingInfo","documentUserDescription","documentLanguageId","documentDate","shortTitleEngLink","so","standingOrderId","standingOrderReference","soReference","standingOrderDescr","standingOrders","sr","salientRulingId","salientRulingReference","srReference","salientRulingDescr","salientRulings","ac","constitutionArticleId","constitutionArticleReference","coReference","constitutionArticleDescr","articlesofTheConstitution","formControl","commentFinancialId","supportinfoTypeDescr","documentTypeId","documentTypeDescr","documentLanguageDescr","financialImplicationTypeIdLink","financialImplicationTypeDescr","amendmentGroupIdLink","amendmentGroupTitle","submissionDesc","isUnique","existingSupportInfo","deleteSupportingInformation","supportInfoTypeDescr","newFileContent","newDocument","otherDescription","supportingInfo","infoFGs","infoFormArray","SelectItem","RelatedDocumentEnum","Principle","RefDataModel","FileAttachment","relatedDocuments","otherRelatedDocTypes","languages","RelatedDocument","fileId","file","isIE","documentMode","downloadFileIE","blob","URL","createObjectURL","navigator","msSaveOrOpenBlob","downloadFile","anchor","createElement","body","appendChild","accessToken","getAccessToken","Headers","fetch","then","blobby","objectUrl","href","download","click","revokeObjectURL","success","_this2","xhr","XMLHttpRequest","setRequestHeader","responseType","onreadystatechange","readyState","send","FileUploader","documentLanguages","otherTypes","queueLimit","onUploadDocument","onFormClose","otherUploader","allowedMimeTypes","relatedDocumentForm","emitEvent","uploadFileData","files","queue","_file","f","replaceFile","deleteFile","otherInput","upload","noFilesUploaded","TaskManagerModel","actionRequiredCount","allActiveCount","unassignedCount","tabType","TabType","ActionRequired","TaskModel","taskManagerService","tabIndex","claimForm","reason","taskManagerModel","viewSubmissionBaseUrl","getTabHeader","tabTypeName","AllActive","Unassigned","getNoResultMessage","tabTypeIndex","paginationId","getNumberOfResults","onTabChange","getTasksForTab","m","onPageChange","changePageForTab","onPriorityChange","priority","tasksResult","togglePriority","isPriority","onTaskClaimClick","taskId","claimModal","claimTask","errorData","errorMsg","_route","OirHttpService","hasUpdatedLastTab","getTasks","updateTabsList","shouldDisplayUnassignedTab","tabTypes","k","pop","tabsList","priorityBool","setPriority","SubmissionId","ClaimReason","ValidFrom","LogLevel","BrowserCacheLocation","redirectUri","knownAuthorities","cache","cacheLocation","LocalStorage","storeAuthStateInCookie","system","loggerOptions","logLevel","Verbose","piiLoggingEnabled","production","enableProdMode","platformBrowserDynamic","bootstrapModule"],"sourceRoot":"webpack:///","x_google_ignoreList":[99]}