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SAAS,GAAGj9G,IAAI;MACrB,IAAI,CAACi9G,SAAS,EAAE7jG,IAAI,CAAC,CAAChC,CAAC,EAAEoC,CAAC,KAAK,IAAI,CAAC/M,KAAK,CAACoN,yCAAyC,CAACzC,CAAC,CAAC03D,YAAY,EAAEt1D,CAAC,CAACs1D,YAAY,CAAC,CAAC;MACpH,IAAI,CAACrkD,UAAU,CAAC,KAAK,EAAE,IAAI,CAACkO,aAAa,CAACkC,IAAI,CAAC;IACjD,CAAC,EACAt5B,KAAK,IAAI;MACRF,OAAO,CAACE,KAAK,CAACA,KAAK,CAAC;IACtB,CAAC,CACF;EACH;EAEAg9G,QAAQA,CAAC/kG,CAA+B;IACtC,IAAI,CAAC4gB,IAAI,EAAEgjF,gBAAgB,CAAC5jG,CAAC,CAAC;EAChC;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEAsf,KAAKA,CAAA;IACH,IAAI,CAACf,aAAa,GAAG,EAAE;EACzB;EAEAhd,MAAMA,CAAA;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEAyjG,OAAOA,CAAA;IACL;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEMC,UAAUA,CAACpoG,KAAc;IAAA,OAAArB,4IAAA;EAQ/B,C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ACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA84D,eAAeA,CAAA;IACb;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGFn2C,SAASA,CAAA;IACP;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF6mF,gBAAgBA,CAAA;IACd;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEAj0F,UAAUA,CAACvV,CAAM,EAAEulB,MAAW;IAC5B,IAAI,CAACvlB,CAAC,EAAE;MACNhB,UAAU,CAAC,MAAK;QACd,IAAI,CAACwmB,WAAW,CAACxlB,CAAC,EAAEulB,MAAM,CAAC;MAC7B,CAAC,EAAE,IAAI,CAAC;KACT,MACI;MAAE,IAAI,CAACC,WAAW,CAACxlB,CAAC,EAAEulB,MAAM,CAAC;;EACpC;EAEAC,WAAWA,CAACxlB,CAAU,EAAEulB,MAAW;IACjCvmB,UAAU,CAAC,MAAK;MACd,QAAQumB,MAAM;QACZ,KAAKhgB,aAAa,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oB,QAA+B,IAAI;UACvE,QAAQA,QAAQ;YACd,KAAKonB,0HAAqB,CAACG,OAAO;cAChC,OAAO,IAAI;YACb;cACE,OAAO,KAAK;;QAElB,CAAC,CAAC;OACH,MAAM;QACL,OAAO,IAAI;;MAEb,OAAO,KAAK;IAAC;EACf;EAAC,QAAAzqB,CAAA;qBApGU2kD,cAAc,EAAAxgD,sDAAA,CAAA7D,4DAAA,GAAA6D,sDAAA,CAAAG,+DAAA;EAAA;EAAA,QAAArE,EAAA;WAAd0kD,cAAc;IAAAxiC,OAAA,EAAdwiC,cAAc,CAAAviC,IAAA;IAAAC,UAAA,EAFb;EAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACfoC;AACC;AACA;AACD;AAEU;AACK;AACZ;AACJ;AACQ;AACN;AACqB;AACX;AACR;AACM;AAC6B;AAC9B;AACT;AACE;AACF;AACA;AACU;AACK;AACQ;AACrB;AACE;AACE;AACS;AACf;AACE;AACF;AACM;AACH;AACqB;AACL;AACnB;AACf;AACoB;AACC;AACR;AACyD;AACjD;AACA;AACN;AAC0C;AACW;AACS;AACC;AACP;AACrD;AAC2B;AACS;AACM;AACG;AACxB;AACqC;AACnB;AACA;AACf;AACO;AAC0C;AACpD;AACX;AACM;AACwB;AAC2C;AACW;AACpB;AAC8D;AACrH;AAC2B;AACiB;AACO;AACf;AACjC;AAC4B;AACS;AACU;AACA;AACsB;AACR;AACQ;AACjB;AACQ;AACnD;AACN;AACA;AACN;AACM;AACN;AACI;AAC4B;AACS;AACnC;AAC8C;AACA;AACoB;AACjB;AAC3B;AACrC;AACwB;AACA;AACnC;AACY;AAC+C;AACyB;AACwB;AACtE;AACoC;AACH;;;;;;;;AAGhI,MAAMguC,SAAS,GAAW,CACxB;EAAE3wD,IAAI,EAAE,eAAe;EAAEG,S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K;IA8LpC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA,KAAAvU,cAAc,GAAmB,KAAK;IAqPtC;IACA;IACA;IAEA,KAAAC,WAAW,GAAG,KAAK;IACnB,KAAAC,cAAc,GAAG,KAAK;IACtB,KAAAC,WAAW,GAAG,KAAK;IACnB,KAAAE,aAAa,GAAGle,aAAa;EAnd7B;EAEAme,eAAeA,CAAA;IACb,IAAI,CAAC1lB,UAAU,EAAE;EACnB;EAEAyR,WAAWA,CAACC,OAAsB;IAChC;EAAA;EAGFllB,QAAQA,CAAA;IACN,IAAI,CAACmO,WAAW,GAAG,gBAAgB;IACnC,IAAI,CAACmgE,eAAe,EAAE;EACxB;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEAl1C,KAAKA,CAAA;IACH,IAAI,CAACf,aAAa,GAAG,EAAE;EACzB;EAEAhd,MAAMA,CAAA;IACJ,IAAI,CAACqf,IAAI,CAAC+8G,eAAe,EAAE;EAE7B;EAEAF,QAAQA,CAAA;IACN,IAAI,CAACtoI,MAAM,CAACuJ,IAAI,CAACu+H,sHAA8B,EAAE;MAAE79H,KAAK,EAAE,MAAM;MAAEjE,MAAM,EAAE,MAAM;MAAEoT,YAAY,EAAE,IAAI;MAAEwJ,SAAS,EAAE;IAAK,CAAE,CAAC;EAC3H;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEAitF,OAAOA,CAAA;IACL;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EA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ACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA84D,eAAeA,CAAA;IACb;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGFn2C,SAASA,CAAA;IACP;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF6mF,gBAAgBA,CAAA;IACd;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEAj0F,UAAUA,CAACvV,CAAM,EAAEulB,MAAW;IAC5B,IAAI,CAACvlB,CAAC,EAAE;MACNhB,UAAU,CAAC,MAAK;QACd,IAAI,CAACwmB,WAAW,CAACxlB,CAAC,EAAEulB,MAAM,CAAC;MAC7B,CAAC,EAAE,IAAI,CAAC;KACT,MACI;MAAE,IAAI,CAACC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0B,CAAkB;IAC5B,IAAI,CAAC40I,cAAc,GAAG50I,CAAC;EACzB;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA4jB,KAAKA,CAAA;IACH,IAAI,CAACf,aAAa,GAAG,EAAE;EACzB;EAEAhd,MAAMA,CAAA;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEAyjG,OAAOA,CAAA;IACL;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEMC,UAAUA,CAACpoG,KAAc;IAAA,OAAArB,4IAAA;EAQ/B,CAAC,CAPC;EACA;EACA;EACA;EACA;EACA;EACA;;EAIFskB,QAAQA,CAAA;IACN,IAAI,CAACprB,UAAU,GAAG5O,MAAM,CAAC4O,UAAU;IACnC;IAEA;IACA,IAAI,IAAI,CAACA,UAAU,GAAG,GAAG,EAAE;MACzB,IAAI,CAACJ,UAAU,GAAG,KAAK;;EAE3B;EAGAyrB,aAAaA,CAAA;IACX,IAAIC,OAAO;IACX,IAAI,IAAI,CAACC,SAAS,EAAE3d,aAAa,KAAK3Q,SAAS,EAAE;MAC/CquB,OAAO,GAAG,IAAI,CAACC,SAAS,CAAC3d,aAAa,CAAC4d,qBAAqB,EAAE;MAC9D,MAAMC,UAAU,GAAGr6B,MAAM,CAACs6B,SAAS;MACnC,MAAMC,OAAO,GAAGL,OAAO,CAACpR,GAAG;MAC3B,IAAIyR,OAAO,IAAIF,UAAU,EAAE;QACzB,IAAI,CAACvB,WAAW,GAAG,IAAI;OACxB,MAAM;QACL,IAAI,CAACA,WAAW,GAAG,KAAK;;MAE1B;KACD,MAAM;MACL,IAAI,CAACA,WAAW,GAAG,KAAK;;EAE5B;EAEA;EACA0B,aAAaA,CAAA,GAAK;EAClBC,WAAWA,CAAA,GAAK;EAChBC,cAAcA,CAAA,GAAK;EACnBC,cAAcA,CAAA,GAAK;EACnBC,YAAYA,CAAA,GAAK;EACjBC,MAAMA,CAAA,GAAK;EAEX;EACA;EACA;EACA;EACA;EACA;EAEAI,WAAWA,CAACrlB,CAAM;IAChB,IAAI,CAACA,CAAC,EACJ,IAAI,CAACslB,WAAW,GAAG,EAAE;IACvB,IAAI,CAACtgB,MAAM,GAAGhF,CAAC;EACjB;EAsCA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA84D,eAAeA,CAAA;IACb;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGFn2C,SAASA,CAAA;IACP;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF6mF,gBAAgBA,CAAA;IACd;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEAj0F,UAAUA,CAACvV,CAAM,EAAEulB,MAAW;IAC5B,IAAI,CAACvlB,CAAC,EAAE;MACNhB,UAAU,CAAC,MAAK;QACd,IAAI,CAACwmB,WAAW,CAACxlB,CAAC,EAAEulB,MAAM,CAAC;MAC7B,CAAC,EAAE,IAAI,CAAC;KACT,MACI;MAAE,IAAI,CAACC,WAAW,CAACxlB,CAAC,EAAEulB,MAAM,CAAC;;EACpC;EAEAC,WAAWA,CAACxlB,CAAU,EAAEulB,MAAW;IACjCvmB,UAAU,CAAC,MAAK;MACd,QAAQumB,MAAM;QACZ,KAAKhgB,aAAa,CAACkgB,IAAI;UACrB,IAAI,CAACpC,WAAW,GAAGrjB,CAAY;UAC/B;QACF,KAAKuF,aAAa,CAACmgB,OAAO;UACxB,IAAI,CAACpC,cAAc,GAAGtjB,CAAY;UAClC;QACF,KAAKuF,aAAa,CAACogB,IAAI;UACrB,IAAI,CAACpC,WAAW,GAAGvjB,CAAY;UAC/B;;MAEJ;MACA,IAAI,CAACuP,OAAO,GAAG,IAAI,CAACgU,WAAW,IAAI,IAAI,CAACD,cAAc,IAAI,IAAI,CAACD,WAAW;IAC5E,CAAC,EAAE,GAAG,CAAC;EACT;E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AI,CAACf,aAAa,GAAG,EAAE;EACzB;EAEAhd,MAAMA,CAAA;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEAyjG,OAAOA,CAAA;IACL;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEMC,UAAUA,CAACpoG,KAAc;IAAA,OAAArB,4IAAA;EAQ/B,CAAC,CAPC;EACA;EACA;EACA;EACA;EACA;EACA;;EAIFskB,QAAQA,CAAA;IACN,IAAI,CAACprB,UAAU,GAAG5O,MAAM,CAAC4O,UAAU;IACnC;IAEA;IACA,IAAI,IAAI,CAACA,UAAU,GAAG,GAAG,EAAE;MACzB,IAAI,CAACJ,UAAU,GAAG,KAAK;;EAE3B;EAGAyrB,aAAaA,CAAA;IACX,IAAIC,OAAO;IACX,IAAI,IAAI,CAACC,SAAS,EAAE3d,aAAa,KAAK3Q,SAAS,EAAE;MAC/CquB,OAAO,GAAG,IAAI,CAACC,SAAS,CAAC3d,aAAa,CAAC4d,qBAAqB,EAAE;MAC9D,MAAMC,UAAU,GAAGr6B,MAAM,CAACs6B,SAAS;MACnC,MAAMC,OAAO,GAAGL,OAAO,CAACpR,GAAG;MAC3B,IAAIyR,OAAO,IAAIF,UAAU,EAAE;QACzB,IAAI,CAACvB,WAAW,GAAG,IAAI;OACxB,MAAM;QACL,IAAI,CAACA,WAAW,GAAG,KAAK;;MAE1B;KACD,MAAM;MACL,IAAI,CAACA,WAAW,GAAG,KAAK;;EAE5B;EAEA;EACA0B,aAAaA,CAAA,GAAK;EAClBC,WAAWA,CAAA,GAAK;EAChBC,cAAcA,CAAA,GAAK;EACnBC,cAAcA,CAAA,GAAK;EACnBC,YAAYA,CAAA,GAAK;EACjBC,MAAMA,CAAA,GAAK;EAEX;EACA;EACA;EACA;EACA;EACA;EAEAI,WAAWA,CAACrlB,CAAM;IAChB,IAAI,CAACA,CAAC,EACJ,IAAI,CAACslB,WAAW,GAAG,EAAE;IACvB,IAAI,CAACtgB,MAAM,GAAGhF,CAAC;EACjB;EAsCA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA84D,eAAeA,CAAA;IACb;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGFn2C,SAASA,CAAA;IACP;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;I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AG,KAAK;IAEf,KAAAyT,gBAAgB,GAAY,KAAK;IAEjC,KAAAC,UAAU,GAAG,IAAIvF,uDAAW,EAAE;IAE9B,KAAAmF,aAAa,GAAa,EAAE;IAC5B,KAAAK,WAAW,GAAY,KAAK;IAQ5B,KAAAC,cAAc,GAAU,EAAE;IAY1B;IACA;IAEA,KAAAwU,mBAAmB,GAAY,KAAK;IAyOpC,KAAAvU,cAAc,GAAmB,KAAK;IAqPtC;IACA;IACA;IAEA,KAAAC,WAAW,GAAG,KAAK;IACnB,KAAAC,cAAc,GAAG,KAAK;IACtB,KAAAC,WAAW,GAAG,KAAK;IACnB,KAAAE,aAAa,GAAGle,aAAa;EA5d7B;EAEAme,eAAeA,CAAA;IACb,IAAI,CAAC1lB,UAAU,EAAE;EACnB;EAEAyR,WAAWA,CAACC,OAAsB,GAClC;EAEAllB,QAAQA,CAAA;IACN,IAAI,CAACmO,WAAW,GAAG,yBAAyB;IAC5C,IAAI,CAACmgE,eAAe,EAAE;EACxB;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEAl1C,KAAKA,CAAA;IACH,IAAI,CAACf,aAAa,GAAG,EAAE;EACzB;EAEAhd,MAAMA,CAAA;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEAyjG,OAAOA,CAAA;IACL;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;I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CAACr0B,CAAiB;IAC3B,IAAI,CAACgvT,cAAc,GAAGhvT,CAAC;EACzB;EAIA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA84D,eAAeA,CAAA;IACb;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGFn2C,SAASA,CAAA;IACP;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF6mF,gBAAgBA,CAAA;IACd;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEAj0F,UAAUA,CAACvV,CAAM,EAAEulB,MAAW;IAC5B,IAAI,CAACvlB,CAAC,EAAE;MACNhB,UAAU,CAAC,MAAK;QAC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AAeA,CAAA;IACb,IAAI,CAAC1lB,UAAU,EAAE;EACnB;EAEAyR,WAAWA,CAACC,OAAsB;IAChC;EAAA;EAGFllB,QAAQA,CAAA;IACN;IACA,IAAI,CAACsuE,eAAe,EAAE;EACxB;EAEAkjH,YAAYA,CAACh8K,CAAM,GAEnB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA4jB,KAAKA,CAAA;IACH,IAAI,CAACf,aAAa,GAAG,EAAE;EACzB;EAEAhd,MAAMA,CAAA;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEAyjG,OAAOA,CAAA;IACL;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEMC,UAAUA,CAACpoG,KAAc;IAAA,OAAArB,4IAAA;EAQ/B,CAAC,CAPC;EACA;EACA;EACA;EACA;EACA;EACA;;EAIFskB,QAAQA,CAAA;IACN,IAAI,CAACprB,UAAU,GAAG5O,MAAM,CAAC4O,UAAU;IACnC;IAEA;IACA,IAAI,IAAI,CAACA,UAAU,GAAG,GAAG,EAAE;MACzB,IAAI,CAACJ,UAAU,GAAG,KAAK;;EAE3B;EAGAyrB,aAAaA,CAAA;IACX,IAAIC,OAAO;IACX,IAAI,IAAI,CAACC,SAAS,EAAE3d,aAAa,KAAK3Q,SAAS,EAAE;MAC/CquB,OAAO,GAAG,IAAI,CAACC,SAAS,CAAC3d,aAAa,CAAC4d,qBAAqB,EAAE;MAC9D,MAAMC,UAAU,GAAGr6B,MAAM,CAACs6B,SAAS;MACnC,MAAMC,OAAO,GAAGL,OAAO,CAACpR,GAAG;MAC3B,IAAIyR,OAAO,IAAIF,UAAU,EAAE;QACzB,IAAI,CAACvB,WAAW,GAAG,IAAI;OACxB,MAAM;QACL,IAAI,CAACA,WAAW,GAAG,KAAK;;MAE1B;KACD,MAAM;MACL,IAAI,CAACA,WAAW,GAAG,KAAK;;EAE5B;EAEA;EACA0B,aAAaA,CAAA,GAAK;EAClBC,WAAWA,CAAA,GAAK;EAChBC,cAAcA,CAAA,GAAK;EACnBC,cAAcA,CAAA,GAAK;EACnBC,YAAYA,CAAA,GAAK;EACjBC,MAAMA,CAAA,GAAK;EAEX;EACA;EACA;EACA;EACA;EACA;EAEAI,WAAWA,CAACrlB,CAAM;IAChB,IAAI,CAACA,CAAC,EACJ,IAAI,CAACslB,WAAW,GAAG,EAAE;IACvB,IAAI,CAACtgB,MAAM,GAAGhF,CAAC;EACjB;EAsCA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA84D,eAAeA,CAAA;IACb;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGFn2C,SAASA,CAAA;IACP;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF6mF,gBAAgBA,CAAA;IACd;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA;EAGF;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEAj0F,UAAUA,CAACvV,CAAM,EAAEulB,MAAW;IAC5B,IAAI,CAACvlB,CAAC,EAAE;MACNhB,UAAU,CAAC,MAAK;QACd,IAAI,CAACwmB,WAAW,CAACxlB,CAAC,EAAEulB,MAAM,CAAC;MAC7B,CAAC,EAAE,IAAI,CAAC;KACT,MACI;MAAE,IAAI,CAACC,WAAW,CAACxlB,CAAC,EAAEulB,MAAM,CAAC;;EACpC;EAEAC,WAAWA,CAACxlB,CAAU,EAAEulB,MAAW;IACjCvmB,UAAU,CAAC,MAAK;MACd,QAAQumB,MAAM;QACZ,KAAKhgB,aAAa,CAACkgB,IAAI;UACrB,IAAI,CAACpC,WAAW,GAAGrjB,CAAY;UAC/B;QACF,KAAKuF,aAAa,CAACmgB,OAAO;UACxB,IAAI,CAACpC,cAAc,GAAGtjB,CAAY;UAClC;QACF,KAAKuF,aAAa,CAACogB,IAAI;UACrB,IAAI,CAACpC,WAAW,GAAGvjB,CAAY;UAC/B;;MAEJ;M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACrCiD;AACvC;AACK;AACmB;AACxB;AACI;AACA;AACH;AACC;AACE;AACF;AACM;AACI;AACW;AACrB;AACF;AACU;AACR;AACF;AACW;AACK;AAChB;AACuB;AACvB;AACE;AACI;AACS;AACf;AACM;AACG;AACM;AACd;AACD;AACU;AAClB;AACc;AACrB;AACkC;AACZ;AAC2B;AACN;AACY;AACA;AACV;AACQ;AACnB;AAC4B;AACxC;AACiD;AACK;AAC1C;AAC0B;AAChC;AACoC;AACN;AACK;AAC8B;AACf;AACS;AACH;AACpB;AACN;AACA;AACkB;AACE;AACvB;AACwC;AACC;AACuC;AACtD;AACV;AACjD;AAC0B;AACiD;AAC/D;AACuB;AACjB;AAClB;AACA;AAC0B;AACT;AACyB;AACnB;AACiC;AACoC;AACvC;AACwE;AACrE;AAC5C;AACN;AAC8C;AACG;AACH;AAChC;AACG;AACC;AAEoB;AACK;AACrB;AACL;AACsB;AACQ;AACG;AACA;AACM;AACH;AACxB;AACb;AACZ;AACjB;AACiB;AACqC;AACA;AAC7B;AACF;AACA;;;;;;;;;;AAE9E,MAAMi4C,SAAS,GAAW,EACzB;AAED,MAAMxjD,UAAU,GAA+B;EAC7CA,UAAU,EAAE;CACb;AAsLK,MAAO2jC,yBAAyB;EAAA,QAAAxwC,CAAA;qBAAzBwwC,yBAAyB;EAAA;EAAA,QAAAvwC,EAAA;UAAzBuwC;EAAyB;EAAA,QAAAtwC,EAAA;cA5ElC8F,kEAAS,EACTjG,iEAAgB,EAChBgG,0FAAuB,EACvBS,kEAAa,EACbC,sEAAe,EACfC,sEAAe,EACfN,oEAAe,EACfD,mEAAgB,EAChBU,sEAAe,EACfF,6EAAkB,EAClBI,oEAAc,EACdC,0EAAiB,EACjBC,8EAAmB,EACnBH,wEAAmB,EACnBI,oEAAc,EACdC,kEAA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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;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/common/base/base.component.ts","./src/app/common/base/base.service.ts","./src/app/common/directives/resizable.directive.ts","./src/app/common/directives/strip-spaces.directive.ts","./src/app/common/enumerations/enumerations.ts","./src/app/common/enumerations/servers-enum.ts","./src/app/common/extensions/decorator.ts","./src/app/common/extensions/extensions.ts","./src/app/common/form-workflow/form-workflow.component.ts","./src/app/common/form-workflow/form-workflow.component.html","./src/app/common/guards/redirect.guard.ts","./src/app/common/guards/unsaved-changes.guard.ts","./src/app/common/models/placeholder.ts","./src/app/common/models/related-link-document-base.model.ts","./src/app/components/absi/absi-builder/absi-builder-buttons/absi-builder-buttons.component.ts","./src/app/components/absi/absi-builder/absi-builder-buttons/absi-builder-buttons.component.html","./src/app/components/absi/absi-builder/absi-builder-main/absi-builder-main.component.ts","./src/app/components/absi/absi-builder/absi-builder-main/absi-builder-main.component.html","./src/app/components/absi/absi-builder/absi-builder-main/absi-builder-section/absi-builder-section.component.ts","./src/app/components/absi/absi-builder/absi-builder-main/absi-builder-section/absi-builder-section.component.html","./src/app/components/absi/absi-builder/absi-builder-side/absi-builder-side.component.ts","./src/app/components/absi/absi-builder/absi-builder-side/absi-builder-side.component.html","./src/app/components/absi/absi-builder/absi-builder.component.ts","./src/app/components/absi/absi-builder/absi-builder.component.html","./src/app/components/absi/absi-builder/absi-builder.service.ts","./src/app/components/absi/absi-main-panel/absi-main-panel.component.ts","./src/app/components/absi/absi-main-panel/absi-main-panel.component.html","./src/app/components/absi/absi-main-panel/absi-review-and-concurrence/absi-review-and-concurrence.component.ts","./src/app/components/absi/absi-main-panel/absi-review-and-concurrence/absi-review-and-concurrence.component.html","./src/app/components/absi/absi-main-panel/absi-section-wrapper/absi-section-signature/absi-section-signature.component.ts","./src/app/components/absi/absi-main-panel/absi-section-wrapper/absi-section-signature/absi-section-signature.component.html","./src/app/components/absi/absi-main-panel/absi-section-wrapper/absi-section-wrapper.component.ts","./src/app/components/absi/absi-main-panel/absi-section-wrapper/absi-section-wrapper.component.html","./src/app/components/absi/absi-main-panel/absi-section-wrapper/absi-section-x/absi-section-x.component.ts","./src/app/components/absi/absi-main-panel/absi-section-wrapper/absi-section-x/absi-section-x.component.html","./src/app/components/absi/absi-side-panel/absi-side-panel.component.ts","./src/app/components/absi/absi-side-panel/absi-side-panel.component.html","./src/app/components/absi/absi.component.ts","./src/app/components/absi/absi.component.html","./src/app/components/absi/absi.module.ts","./src/app/components/absi/absi.service.ts","./src/app/components/absi/absi.ts","./src/app/components/absi/store/absi-sections/absi-section.action.ts","./src/app/components/absi/store/absi-sections/absi-section.state.ts","./src/app/components/absi/store/absi-sections/absi-section.store.ts","./src/app/components/absi/store/absi-template-type/absi-template-type.action.ts","./src/app/components/absi/store/absi-template-type/absi-template-type.state.ts","./src/app/components/absi/store/absi-template-type/absi-template-type.store.ts","./src/app/components/absi/store/absi-template/absi-template.action.ts","./src/app/components/absi/store/absi-template/absi-template.state.ts","./src/app/components/absi/store/absi-template/absi-template.store.ts","./src/app/components/absi/store/absi/absi.action.ts","./src/app/components/absi/store/absi/absi.state.ts","./src/app/components/absi/store/absi/absi.store.ts","./src/app/components/apl/apl-category-v2/apl-category-v2-categories/apl-category-v2-categories.component.ts","./src/app/components/apl/apl-category-v2/apl-category-v2-categories/apl-category-v2-categories.component.html","./src/app/components/apl/apl-category-v2/apl-category-v2-categories/apl-category-v2-groups/apl-category-v2-group-card/apl-category-v2-group-card.component.ts","./src/app/components/apl/apl-category-v2/apl-category-v2-categories/apl-category-v2-groups/apl-category-v2-group-card/apl-category-v2-group-card.component.html","./src/app/components/apl/apl-category-v2/apl-category-v2-categories/apl-category-v2-groups/apl-category-v2-groups.component.ts","./src/app/components/apl/apl-category-v2/apl-category-v2-categories/apl-category-v2-groups/apl-category-v2-groups.component.html","./src/app/components/apl/apl-category-v2/apl-category-v2-list/apl-category-v2-list.component.ts","./src/app/components/apl/apl-category-v2/apl-category-v2-list/apl-category-v2-list.component.html","./src/app/components/apl/apl-category-v2/apl-category-v2.component.ts","./src/app/components/apl/apl-category-v2/apl-category-v2.component.html","./src/app/components/apl/apl-category-v2/controls/apl-category-autocomplete/apl-category-autocomplete.component.ts","./src/app/components/apl/apl-category-v2/controls/apl-category-autocomplete/apl-category-autocomplete.component.html","./src/app/components/apl/apl-category-v2/controls/apl-group-autocomplete/apl-group-autocomplete.component.ts","./src/app/components/apl/apl-category-v2/controls/apl-group-autocomplete/apl-group-autocomplete.component.html","./src/app/components/apl/apl-category-v2/controls/role-chip/role-chip.component.ts","./src/app/components/apl/apl-category-v2/controls/role-chip/role-chip.component.html","./src/app/components/apl/apl-category-v2/controls/user-chip/user-chip.component.ts","./src/app/components/apl/apl-category-v2/controls/user-chip/user-chip.component.html","./src/app/components/apl/apl-category-v2/dialogs/apl-category-approval-popup/apl-category-approval-popup.component.ts","./src/app/components/apl/apl-category-v2/dialogs/apl-category-approval-popup/apl-category-approval-popup.component.html","./src/app/components/apl/apl-category-v2/dialogs/apl-category-popup/apl-category-popup.component.ts","./src/app/components/apl/apl-category-v2/dialogs/apl-category-popup/apl-category-popup.component.html","./src/app/components/apl/apl-category-v2/dialogs/apl-group-approval-popup/apl-group-approval-popup.component.ts","./src/app/components/apl/apl-category-v2/dialogs/apl-group-approval-popup/apl-group-approval-popup.component.html","./src/app/components/apl/apl-category-v2/dialogs/apl-group-popup/apl-group-popup.component.ts","./src/app/components/apl/apl-category-v2/dialogs/apl-group-popup/apl-group-popup.component.html","./src/app/components/apl/apl-category.service.ts","./src/app/components/apl/apl-group.service.ts","./src/app/components/apl/apl.module.ts","./src/app/components/apl/services/apl-category-master-role-catalog.model.ts","./src/app/components/apl/services/apl-category-role-catalog.model.ts","./src/app/components/apl/services/apl-category.model.ts","./src/app/components/apl/services/apl-group-master-role-catalog.model.ts","./src/app/components/apl/services/apl-group-role-catalog.model.ts","./src/app/components/apl/services/apl-group-role-role-catalog.model.ts","./src/app/components/apl/services/apl-group.model.ts","./src/app/components/apl/store/apl-category/apl-category.action.ts","./src/app/components/apl/store/apl-category/apl-category.state.ts","./src/app/components/apl/store/apl-category/apl-category.store.ts","./src/app/components/apl/store/apl-group/apl-group.action.ts","./src/app/components/apl/store/apl-group/apl-group.state.ts","./src/app/components/apl/store/apl-group/apl-group.store.ts","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-details/accelerator-catalog-details.component.ts","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-details/accelerator-catalog-details.component.html","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-details/accelerator-shielding/accelerator-shielding-dialog/accelerator-shielding-dialog.component.ts","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-details/accelerator-shielding/accelerator-shielding-dialog/accelerator-shielding-dialog.component.html","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-details/accelerator-shielding/accelerator-shielding.component.ts","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-details/accelerator-shielding/accelerator-shielding.component.html","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-list/accelerator-catalog-list.component.ts","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog-list/accelerator-catalog-list.component.html","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog.component.ts","./src/app/components/catalogs/accelerator-catalog/accelerator-catalog.component.html","./src/app/components/catalogs/accelerator-catalog/dialogs/location/location.component.ts","./src/app/components/catalogs/accelerator-catalog/dialogs/location/location.component.html","./src/app/components/catalogs/accelerator-catalog/services/accelerator-catalog.ts","./src/app/components/catalogs/beamline-catalog/beamline-catalog.component.ts","./src/app/components/catalogs/beamline-catalog/beamline-catalog.component.html","./src/app/components/catalogs/beamline-catalog/controls/resource-link-relation/resource-link-relation.component.ts","./src/app/components/catalogs/beamline-catalog/controls/resource-link-relation/resource-link-relation.component.html","./src/app/components/catalogs/beamline-catalog/controls/resource-user-relation-table/resource-user-relation-table.component.ts","./src/app/components/catalogs/beamline-catalog/controls/resource-user-relation-table/resource-user-relation-table.component.html","./src/app/components/catalogs/beamline-catalog/controls/restriction-table/restriction-table.component.ts","./src/app/components/catalogs/beamline-catalog/controls/restriction-table/restriction-table.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/branchline/branchline.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/branchline/branchline.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/endstation/endstation.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/endstation/endstation.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/fast-valve-sensor/fast-valve-sensor.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/fast-valve-sensor/fast-valve-sensor.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/link/link.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/link/link.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/note/note.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/note/note.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/organization/organization.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/organization/organization.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/organization/organization.service.ts","./src/app/components/catalogs/beamline-catalog/dialogs/resource-user-relation/resource-user-relation.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/resource-user-relation/resource-user-relation.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/restriction/restriction.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/restriction/restriction.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/shielding/shielding.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/shielding/shielding.component.html","./src/app/components/catalogs/beamline-catalog/dialogs/vacuum/vacuum.component.ts","./src/app/components/catalogs/beamline-catalog/dialogs/vacuum/vacuum.component.html","./src/app/components/catalogs/beamline-catalog/resource-details-new/resource-details-new.component.ts","./src/app/components/catalogs/beamline-catalog/resource-details-new/resource-details-new.component.html","./src/app/components/catalogs/beamline-catalog/resource/locations.service.ts","./src/app/components/catalogs/beamline-catalog/resource/resources.service.ts","./src/app/components/catalogs/beamline-catalog/resource/resources.ts","./src/app/components/catalogs/beamline-catalog/resource/toca.ts","./src/app/components/catalogs/beamline-catalog/resources-list-new/resources-list-new.component.ts","./src/app/components/catalogs/beamline-catalog/resources-list-new/resources-list-new.component.html","./src/app/components/catalogs/beamline-catalog/resources-new/resources-new.component.ts","./src/app/components/catalogs/beamline-catalog/resources-new/resources-new.component.html","./src/app/components/catalogs/beamline-catalog/rss-test-database/rss-test-database.component.ts","./src/app/components/catalogs/beamline-catalog/rss-test-database/rss-test-database.component.html","./src/app/components/catalogs/beamline-staff/beamline-staff-main-panel/beamline-staff-main-panel.component.ts","./src/app/components/catalogs/beamline-staff/beamline-staff-main-panel/beamline-staff-main-panel.component.html","./src/app/components/catalogs/beamline-staff/beamline-staff-side-panel/beamline-staff-side-panel.component.ts","./src/app/components/catalogs/beamline-staff/beamline-staff-side-panel/beamline-staff-side-panel.component.html","./src/app/components/catalogs/beamline-staff/beamline-staff.component.ts","./src/app/components/catalogs/beamline-staff/beamline-staff.component.html","./src/app/components/catalogs/bratoi/bratoi-add-edit/bratoi-add-edit.component.ts","./src/app/components/catalogs/bratoi/bratoi-add-edit/bratoi-add-edit.component.html","./src/app/components/catalogs/bratoi/bratoi-history/bratoi-history.component.ts","./src/app/components/catalogs/bratoi/bratoi-history/bratoi-history.component.html","./src/app/components/catalogs/bratoi/bratoi.component.ts","./src/app/components/catalogs/bratoi/bratoi.component.html","./src/app/components/catalogs/bratoi/bratoi.module.ts","./src/app/components/catalogs/bratoi/bratoi.service.ts","./src/app/components/catalogs/bratoi/store/bratoi/bratoi.action.ts","./src/app/components/catalogs/bratoi/store/bratoi/bratoi.state.ts","./src/app/components/catalogs/bratoi/store/bratoi/bratoi.store.ts","./src/app/components/catalogs/bratoi/store/toca/toca.action.ts","./src/app/components/catalogs/bratoi/store/toca/toca.state.ts","./src/app/components/catalogs/bratoi/store/toca/toca.store.ts","./src/app/components/catalogs/bratoi/toca/toca.component.ts","./src/app/components/catalogs/bratoi/toca/toca.component.html","./src/app/components/catalogs/catalog-model.ts","./src/app/components/catalogs/catalog-service.ts","./src/app/components/catalogs/catalogs.module.ts","./src/app/components/catalogs/document-type/document-type-details/dialogs/add-edit-olog-category/add-edit-olog-category.component.ts","./src/app/components/catalogs/document-type/document-type-details/dialogs/add-edit-olog-category/add-edit-olog-category.component.html","./src/app/components/catalogs/document-type/document-type-details/dialogs/add-edit-olog-email/add-edit-olog-email.component.ts","./src/app/components/catalogs/document-type/document-type-details/dialogs/add-edit-olog-email/add-edit-olog-email.component.html","./src/app/components/catalogs/document-type/document-type-details/dialogs/add-edit-template-type/add-edit-template-type.component.ts","./src/app/components/catalogs/document-type/document-type-details/dialogs/add-edit-template-type/add-edit-template-type.component.html","./src/app/components/catalogs/document-type/document-type-details/document-type-details.component.ts","./src/app/components/catalogs/document-type/document-type-details/document-type-details.component.html","./src/app/components/catalogs/document-type/document-type-details/document-type-tab/document-type-tab.component.ts","./src/app/components/catalogs/document-type/document-type-details/document-type-tab/document-type-tab.component.html","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-category-tab/olog-category-tab.component.ts","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-category-tab/olog-category-tab.component.html","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-email-tab/olog-email-tab.component.ts","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-email-tab/olog-email-tab.component.html","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-messages-tab/olog-message-dialog/olog-message-dialog.component.ts","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-messages-tab/olog-message-dialog/olog-message-dialog.component.html","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-messages-tab/olog-messages-tab.component.ts","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-messages-tab/olog-messages-tab.component.html","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-messages.component.ts","./src/app/components/catalogs/document-type/document-type-details/olog-messages/olog-messages.component.html","./src/app/components/catalogs/document-type/document-type-details/template-type-tab/template-type-tab.component.ts","./src/app/components/catalogs/document-type/document-type-details/template-type-tab/template-type-tab.component.html","./src/app/components/catalogs/document-type/document-type-list/document-type-list.component.ts","./src/app/components/catalogs/document-type/document-type-list/document-type-list.component.html","./src/app/components/catalogs/document-type/document-type.component.ts","./src/app/components/catalogs/document-type/document-type.component.html","./src/app/components/catalogs/document-type/services/olog-categories.service.ts","./src/app/components/catalogs/document-type/services/olog-category.service.ts","./src/app/components/catalogs/document-type/services/olog-category.ts","./src/app/components/catalogs/document-type/services/olog-email.service.ts","./src/app/components/catalogs/document-type/services/olog-email.ts","./src/app/components/catalogs/document-type/services/olog-message.service.ts","./src/app/components/catalogs/document-type/store/document-type/document-type.action.ts","./src/app/components/catalogs/document-type/store/document-type/document-type.state.ts","./src/app/components/catalogs/document-type/store/document-type/document-type.store.ts","./src/app/components/catalogs/document-type/store/olog-category/olog-category.action.ts","./src/app/components/catalogs/document-type/store/olog-category/olog-category.state.ts","./src/app/components/catalogs/document-type/store/olog-category/olog-category.store.ts","./src/app/components/catalogs/document-type/store/olog-email/olog-email.action.ts","./src/app/components/catalogs/document-type/store/olog-email/olog-email.state.ts","./src/app/components/catalogs/document-type/store/olog-email/olog-email.store.ts","./src/app/components/catalogs/document-type/store/olog-message/olog-message.action.ts","./src/app/components/catalogs/document-type/store/olog-message/olog-message.state.ts","./src/app/components/catalogs/document-type/store/olog-message/olog-message.store.ts","./src/app/components/catalogs/meters-catalog/meters-catalog-settings/meters-catalog-settings.component.ts","./src/app/components/catalogs/meters-catalog/meters-catalog-settings/meters-catalog-settings.component.html","./src/app/components/catalogs/meters-catalog/meters-catalog.component.ts","./src/app/components/catalogs/meters-catalog/meters-catalog.component.html","./src/app/components/catalogs/meters-catalog/meters-catalog.module.ts","./src/app/components/catalogs/meters-catalog/rad-meter-models/rad-meter-model-details/rad-meter-model-details.component.ts","./src/app/components/catalogs/meters-catalog/rad-meter-models/rad-meter-model-details/rad-meter-model-details.component.html","./src/app/components/catalogs/meters-catalog/rad-meter-models/rad-meter-models.component.ts","./src/app/components/catalogs/meters-catalog/rad-meter-models/rad-meter-models.component.html","./src/app/components/catalogs/meters-catalog/rad-meters-details/rad-meters-details.component.ts","./src/app/components/catalogs/meters-catalog/rad-meters-details/rad-meters-details.component.html","./src/app/components/catalogs/meters-catalog/rad-meters-types/rad-meters-types-details/rad-meters-types-details.component.ts","./src/app/components/catalogs/meters-catalog/rad-meters-types/rad-meters-types-details/rad-meters-types-details.component.html","./src/app/components/catalogs/meters-catalog/rad-meters-types/rad-meters-types.component.ts","./src/app/components/catalogs/meters-catalog/rad-meters-types/rad-meters-types.component.html","./src/app/components/catalogs/meters-catalog/rad-meters-units/rad-meters-units-details/rad-meters-units-details.component.ts","./src/app/components/catalogs/meters-catalog/rad-meters-units/rad-meters-units-details/rad-meters-units-details.component.html","./src/app/components/catalogs/meters-catalog/rad-meters-units/rad-meters-units.component.ts","./src/app/components/catalogs/meters-catalog/rad-meters-units/rad-meters-units.component.html","./src/app/components/catalogs/meters-catalog/rad-meters.ts","./src/app/components/catalogs/meters-catalog/rad-meters/rad-meters.component.ts","./src/app/components/catalogs/meters-catalog/rad-meters/rad-meters.component.html","./src/app/components/catalogs/meters-catalog/services/rad-meters.service.ts","./src/app/components/catalogs/meters-catalog/store/rad-meters/rad-meters.action.ts","./src/app/components/catalogs/meters-catalog/store/rad-meters/rad-meters.state.ts","./src/app/components/catalogs/meters-catalog/store/rad-meters/rad-meters.store.ts","./src/app/components/catalogs/navigation-links/link/link.ts","./src/app/components/catalogs/navigation-links/link/related-link-base.ts","./src/app/components/catalogs/navigation-links/navigation-links-details/navigation-links-details.component.ts","./src/app/components/catalogs/navigation-links/navigation-links-details/navigation-links-details.component.html","./src/app/components/catalogs/navigation-links/navigation-links-list/navigation-links-list.component.ts","./src/app/components/catalogs/navigation-links/navigation-links-list/navigation-links-list.component.html","./src/app/components/catalogs/navigation-links/navigation-links.component.ts","./src/app/components/catalogs/navigation-links/navigation-links.component.html","./src/app/components/catalogs/navigation-links/navigation-links.module.ts","./src/app/components/catalogs/navigation-links/store/navigation-links.action.ts","./src/app/components/catalogs/navigation-links/store/navigation-links.state.ts","./src/app/components/catalogs/navigation-links/store/navigation-links.store.ts","./src/app/components/catalogs/notifications/notifications-details/notifications-details.component.ts","./src/app/components/catalogs/notifications/notifications-details/notifications-details.component.html","./src/app/components/catalogs/notifications/notifications-side/notifications-side.component.ts","./src/app/components/catalogs/notifications/notifications-side/notifications-side.component.html","./src/app/components/catalogs/notifications/notifications.component.ts","./src/app/components/catalogs/notifications/notifications.component.html","./src/app/components/catalogs/notifications/services/notification.service.ts","./src/app/components/catalogs/notifications/store/notification-template.action.ts","./src/app/components/catalogs/notifications/store/notification-template.state.ts","./src/app/components/catalogs/notifications/store/notification-template.store.ts","./src/app/components/catalogs/operational-restrictions/operational-restrictions.component.ts","./src/app/components/catalogs/operational-restrictions/operational-restrictions.component.html","./src/app/components/catalogs/operational-restrictions/services/beamline-restriction.service.ts","./src/app/components/catalogs/operational-restrictions/store/beamline-restrictions/beamline-restrictions.action.ts","./src/app/components/catalogs/operational-restrictions/store/beamline-restrictions/beamline-restrictions.state.ts","./src/app/components/catalogs/operational-restrictions/store/beamline-restrictions/beamline-restrictions.store.ts","./src/app/components/catalogs/privileges-catalog/privileges-catalog-main/privileges-catalog-main.component.ts","./src/app/components/catalogs/privileges-catalog/privileges-catalog-main/privileges-catalog-main.component.html","./src/app/components/catalogs/privileges-catalog/privileges-catalog-table/privileges-catalog-table.component.ts","./src/app/components/catalogs/privileges-catalog/privileges-catalog-table/privileges-catalog-table.component.html","./src/app/components/catalogs/privileges-catalog/privileges-catalog.component.ts","./src/app/components/catalogs/privileges-catalog/privileges-catalog.component.html","./src/app/components/catalogs/rad-monitor/dialogs/add-edit-location/add-edit-location.component.ts","./src/app/components/catalogs/rad-monitor/dialogs/add-edit-location/add-edit-location.component.html","./src/app/components/catalogs/rad-monitor/dialogs/add-rad-note/add-rad-note.component.ts","./src/app/components/catalogs/rad-monitor/dialogs/add-rad-note/add-rad-note.component.html","./src/app/components/catalogs/rad-monitor/location-tab/location-tab.component.ts","./src/app/components/catalogs/rad-monitor/location-tab/location-tab.component.html","./src/app/components/catalogs/rad-monitor/monitor-tab/add-edit-monitor/add-edit-monitor.component.ts","./src/app/components/catalogs/rad-monitor/monitor-tab/add-edit-monitor/add-edit-monitor.component.html","./src/app/components/catalogs/rad-monitor/monitor-tab/monitor-tab.component.ts","./src/app/components/catalogs/rad-monitor/monitor-tab/monitor-tab.component.html","./src/app/components/catalogs/rad-monitor/rad-monitor.component.ts","./src/app/components/catalogs/rad-monitor/rad-monitor.component.html","./src/app/components/catalogs/rad-monitor/rad-monitor.module.ts","./src/app/components/catalogs/rad-monitor/rad-monitor/rad-location.ts","./src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor.ts","./src/app/components/catalogs/rad-monitor/services/rad-interlock.service.ts","./src/app/components/catalogs/rad-monitor/services/rad-location-type.service.ts","./src/app/components/catalogs/rad-monitor/services/rad-location.service.ts","./src/app/components/catalogs/rad-monitor/services/rad-monitor.service.ts","./src/app/components/catalogs/rad-monitor/services/rad-note.service.ts","./src/app/components/catalogs/rad-monitor/settings/add-edit-privilege/add-edit-privilege.component.ts","./src/app/components/catalogs/rad-monitor/settings/add-edit-privilege/add-edit-privilege.component.html","./src/app/components/catalogs/rad-monitor/settings/add-edit-rad-interlock/add-edit-rad-interlock.component.ts","./src/app/components/catalogs/rad-monitor/settings/add-edit-rad-interlock/add-edit-rad-interlock.component.html","./src/app/components/catalogs/rad-monitor/settings/add-edit-rad-location-type/add-edit-rad-location-type.component.ts","./src/app/components/catalogs/rad-monitor/settings/add-edit-rad-location-type/add-edit-rad-location-type.component.html","./src/app/components/catalogs/rad-monitor/settings/settings.component.ts","./src/app/components/catalogs/rad-monitor/settings/settings.component.html","./src/app/components/catalogs/rad-monitor/store/rad-interlock-relations/rad-interlock-relation.action.ts","./src/app/components/catalogs/rad-monitor/store/rad-interlock-relations/rad-interlock-relation.state.ts","./src/app/components/catalogs/rad-monitor/store/rad-interlock-relations/rad-interlock-relation.store.ts","./src/app/components/catalogs/rad-monitor/store/rad-interlock/rad-interlock.action.ts","./src/app/components/catalogs/rad-monitor/store/rad-interlock/rad-interlock.state.ts","./src/app/components/catalogs/rad-monitor/store/rad-interlock/rad-interlock.store.ts","./src/app/components/catalogs/rad-monitor/store/rad-location-type/rad-location-type.action.ts","./src/app/components/catalogs/rad-monitor/store/rad-location-type/rad-location-type.state.ts","./src/app/components/catalogs/rad-monitor/store/rad-location-type/rad-location-type.store.ts","./src/app/components/catalogs/rad-monitor/store/rad-location/rad-location.action.ts","./src/app/components/catalogs/rad-monitor/store/rad-location/rad-location.state.ts","./src/app/components/catalogs/rad-monitor/store/rad-location/rad-location.store.ts","./src/app/components/catalogs/rad-monitor/store/rad-monitor/rad-monitor.action.ts","./src/app/components/catalogs/rad-monitor/store/rad-monitor/rad-monitor.state.ts","./src/app/components/catalogs/rad-monitor/store/rad-monitor/rad-monitor.store.ts","./src/app/components/catalogs/roles/add-user-role-note-component/add-user-role-note.component.ts","./src/app/components/catalogs/roles/add-user-role-note-component/add-user-role-note.component.html","./src/app/components/catalogs/roles/role-details/role-details.component.ts","./src/app/components/catalogs/roles/role-details/role-details.component.html","./src/app/components/catalogs/roles/role-privilege/role-privilege-add/role-privilege-add.component.ts","./src/app/components/catalogs/roles/role-privilege/role-privilege-add/role-privilege-add.component.html","./src/app/components/catalogs/roles/role-privilege/role-privilege.component.ts","./src/app/components/catalogs/roles/role-privilege/role-privilege.component.html","./src/app/components/catalogs/roles/role-user/role-user.component.ts","./src/app/components/catalogs/roles/role-user/role-user.component.html","./src/app/components/catalogs/roles/roles-list/roles-list.component.ts","./src/app/components/catalogs/roles/roles-list/roles-list.component.html","./src/app/components/catalogs/roles/roles.component.ts","./src/app/components/catalogs/roles/roles.component.html","./src/app/components/catalogs/roles/roles.module.ts","./src/app/components/catalogs/roles/services/role.service.ts","./src/app/components/catalogs/roles/services/role.ts","./src/app/components/catalogs/roles/store/role.action.ts","./src/app/components/catalogs/roles/store/role.state.ts","./src/app/components/catalogs/roles/store/role.store.ts","./src/app/components/catalogs/rssd-list/rssd-list-main/rssd-list-main.component.ts","./src/app/components/catalogs/rssd-list/rssd-list-main/rssd-list-main.component.html","./src/app/components/catalogs/rssd-list/rssd-list-side/rssd-list-side.component.ts","./src/app/components/catalogs/rssd-list/rssd-list-side/rssd-list-side.component.html","./src/app/components/catalogs/rssd-list/rssd-list.component.ts","./src/app/components/catalogs/rssd-list/rssd-list.component.html","./src/app/components/catalogs/schedule-types/schedule-subtypes-details/schedule-subtypes-details.component.ts","./src/app/components/catalogs/schedule-types/schedule-subtypes-details/schedule-subtypes-details.component.html","./src/app/components/catalogs/schedule-types/schedule-types-details/schedule-types-details.component.ts","./src/app/components/catalogs/schedule-types/schedule-types-details/schedule-types-details.component.html","./src/app/components/catalogs/schedule-types/schedule-types-list/schedule-types-list.component.ts","./src/app/components/catalogs/schedule-types/schedule-types-list/schedule-types-list.component.html","./src/app/components/catalogs/schedule-types/schedule-types.component.ts","./src/app/components/catalogs/schedule-types/schedule-types.component.html","./src/app/components/catalogs/schedule-types/schedule-types.module.ts","./src/app/components/catalogs/services/catalog-model.ts","./src/app/components/catalogs/store/beamline-shutter/beamline-shutter.action.ts","./src/app/components/catalogs/store/beamline-shutter/beamline-shutter.state.ts","./src/app/components/catalogs/store/beamline-shutter/beamline-shutter.store.ts","./src/app/components/catalogs/store/pending-resources/pending-resources.action.ts","./src/app/components/catalogs/store/pending-resources/pending-resources.state.ts","./src/app/components/catalogs/store/pending-resources/pending-resources.store.ts","./src/app/components/catalogs/store/resource-types/resource-types.action.ts","./src/app/components/catalogs/store/resource-types/resource-types.state.ts","./src/app/components/catalogs/store/resource-types/resource-types.store.ts","./src/app/components/catalogs/store/resources-relations/resource-relations.action.ts","./src/app/components/catalogs/store/resources-relations/resource-relations.state.ts","./src/app/components/catalogs/store/resources-relations/resource-relations.store.ts","./src/app/components/catalogs/store/resources/resources.action.ts","./src/app/components/catalogs/store/resources/resources.state.ts","./src/app/components/catalogs/store/resources/resources.store.ts","./src/app/components/catalogs/user-catalog/services/user.service.ts","./src/app/components/catalogs/user-catalog/services/user.ts","./src/app/components/catalogs/user-catalog/store/users.action.ts","./src/app/components/catalogs/user-catalog/store/users.state.ts","./src/app/components/catalogs/user-catalog/store/users.store.ts","./src/app/components/catalogs/user-catalog/user-catalog-details/user-catalog-details.component.ts","./src/app/components/catalogs/user-catalog/user-catalog-details/user-catalog-details.component.html","./src/app/components/catalogs/user-catalog/user-catalog-details/user-catalog-roles/user-catalog-roles.component.ts","./src/app/components/catalogs/user-catalog/user-catalog-details/user-catalog-roles/user-catalog-roles.component.html","./src/app/components/catalogs/user-catalog/user-catalog-details/user-catalog-roles/user-role/user-role.component.ts","./src/app/components/catalogs/user-catalog/user-catalog-details/user-catalog-roles/user-role/user-role.component.html","./src/app/components/catalogs/user-catalog/user-catalog-list/user-catalog-list.component.ts","./src/app/components/catalogs/user-catalog/user-catalog-list/user-catalog-list.component.html","./src/app/components/catalogs/user-catalog/user-catalog.component.ts","./src/app/components/catalogs/user-catalog/user-catalog.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotation-edit/checklist-builder-annotation-edit.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotation-edit/checklist-builder-annotation-edit.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotation/checklist-builder-annotation.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotation/checklist-builder-annotation.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotations.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotations.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotations.service.ts","./src/app/components/checklists/checklist-builder/checklist-builder-common/checklist-roles-chips/checklist-roles-chips.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-common/checklist-roles-chips/checklist-roles-chips.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-duplicate/checklist-builder-duplicate.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-duplicate/checklist-builder-duplicate.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-edit-popup/checklist-builder-edit-popup.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-edit-popup/checklist-builder-edit-popup.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-list/checklist-builder-list.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-list/checklist-builder-list.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-map/checklist-builder-map.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-map/checklist-builder-map.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-placeholders/checklist-builder-placeholders.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-placeholders/checklist-builder-placeholders.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-reject/checklist-builder-reject.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-reject/checklist-builder-reject.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-review-summary/checklist-builder-review-signatures/checklist-builder-review-signatures.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-review-summary/checklist-builder-review-signatures/checklist-builder-review-signatures.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-review-summary/checklist-builder-review-summary.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-review-summary/checklist-builder-review-summary.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-sections/checklist-builder-section/checklist-builder-section.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-sections/checklist-builder-section/checklist-builder-section.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-sections/checklist-builder-sections.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-sections/checklist-builder-sections.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-general/checklist-builder-settings-general.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-general/checklist-builder-settings-general.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-permissions/checklist-builder-settings-permissions.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-permissions/checklist-builder-settings-permissions.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-statuses/checklist-builder-settings-status/checklist-builder-settings-status.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-statuses/checklist-builder-settings-status/checklist-builder-settings-status.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-statuses/checklist-builder-settings-statuses.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings-statuses/checklist-builder-settings-statuses.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-settings/checklist-builder-settings.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-steps/checklist-builder-step/checklist-builder-step-config/checklist-builder-step-config.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-steps/checklist-builder-step/checklist-builder-step-config/checklist-builder-step-config.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-steps/checklist-builder-step/checklist-builder-step.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-steps/checklist-builder-step/checklist-builder-step.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-steps/checklist-builder-steps.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-steps/checklist-builder-steps.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-tasks/checklist-builder-task/checklist-builder-task-more/checklist-builder-task-more.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-tasks/checklist-builder-task/checklist-builder-task-more/checklist-builder-task-more.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-tasks/checklist-builder-task/checklist-builder-task.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-tasks/checklist-builder-task/checklist-builder-task.component.html","./src/app/components/checklists/checklist-builder/checklist-builder-tasks/checklist-builder-tasks.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder-tasks/checklist-builder-tasks.component.html","./src/app/components/checklists/checklist-builder/checklist-builder.component.ts","./src/app/components/checklists/checklist-builder/checklist-builder.component.html","./src/app/components/checklists/checklist-builder/checklist-builder.service.ts","./src/app/components/checklists/checklist-exec/checklist-exec-related/checklist-exec-related.component.ts","./src/app/components/checklists/checklist-exec/checklist-exec-related/checklist-exec-related.component.html","./src/app/components/checklists/checklist-exec/checklist-exec-review-summary/checklist-exec-review-summary.component.ts","./src/app/components/checklists/checklist-exec/checklist-exec-review-summary/checklist-exec-review-summary.component.html","./src/app/components/checklists/checklist-exec/checklist-exec-side/checklist-exec-side.component.ts","./src/app/components/checklists/checklist-exec/checklist-exec-side/checklist-exec-side.component.html","./src/app/components/checklists/checklist-exec/checklist-exec-standalone/checklist-exec-standalone.component.ts","./src/app/components/checklists/checklist-exec/checklist-exec-standalone/checklist-exec-standalone.component.html","./src/app/components/checklists/checklist-exec/checklist-exec.component.ts","./src/app/components/checklists/checklist-exec/checklist-exec.component.html","./src/app/components/checklists/checklist-exec/checklist-sections/checklist-section/checklist-section.component.ts","./src/app/components/checklists/checklist-exec/checklist-sections/checklist-section/checklist-section.component.html","./src/app/components/checklists/checklist-exec/checklist-sections/checklist-sections.component.ts","./src/app/components/checklists/checklist-exec/checklist-sections/checklist-sections.component.html","./src/app/components/checklists/checklist-exec/checklist-steps/checklist-step/checklist-step.component.ts","./src/app/components/checklists/checklist-exec/checklist-steps/checklist-step/checklist-step.component.html","./src/app/components/checklists/checklist-exec/checklist-steps/checklist-steps.component.ts","./src/app/components/checklists/checklist-exec/checklist-steps/checklist-steps.component.html","./src/app/components/checklists/checklist-exec/checklist-task-counter/checklist-task-counter.component.ts","./src/app/components/checklists/checklist-exec/checklist-task-counter/checklist-task-counter.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-actionitems/checklist-task-actionitems.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-actionitems/checklist-task-actionitems.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-rcpactions.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-rcpactions.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-review-satisfaction-check/checklist-task-review-satisfaction-check.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-review-satisfaction-check/checklist-task-review-satisfaction-check.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-review/checklist-task-review.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task-review/checklist-task-review.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task/checklist-task.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-task/checklist-task.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-annotation.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-annotation.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-edit/checklist-tasks-annotations-edit.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-edit/checklist-tasks-annotations-edit.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations.component.html","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks.component.ts","./src/app/components/checklists/checklist-exec/checklist-tasks/checklist-tasks.component.html","./src/app/components/checklists/checklist-temp/checklist-temp.component.ts","./src/app/components/checklists/checklist-temp/checklist-temp.component.html","./src/app/components/checklists/checklists.module.ts","./src/app/components/checklists/checklists.service.ts","./src/app/components/checklists/checklists.ts","./src/app/components/checklists/store/annotations/annotations.action.ts","./src/app/components/checklists/store/annotations/annotations.state.ts","./src/app/components/checklists/store/annotations/annotations.store.ts","./src/app/components/checklists/store/builder-tasks/builder-task.action.ts","./src/app/components/checklists/store/builder-tasks/builder-task.state.ts","./src/app/components/checklists/store/builder-tasks/builder-task.store.ts","./src/app/components/checklists/store/checklist-status/checklist-status.action.ts","./src/app/components/checklists/store/checklist-status/checklist-status.state.ts","./src/app/components/checklists/store/checklist-status/checklist-status.store.ts","./src/app/components/checklists/store/checklist-templates/checklist-templates.action.ts","./src/app/components/checklists/store/checklist-templates/checklist-templates.state.ts","./src/app/components/checklists/store/checklist-templates/checklist-templates.store.ts","./src/app/components/checklists/store/checklists/checklists.action.ts","./src/app/components/checklists/store/checklists/checklists.state.ts","./src/app/components/checklists/store/checklists/checklists.store.ts","./src/app/components/checklists/store/components/components.action.ts","./src/app/components/checklists/store/components/components.state.ts","./src/app/components/checklists/store/components/components.store.ts","./src/app/components/checklists/store/deleted-sections/deleted-section.action.ts","./src/app/components/checklists/store/deleted-sections/deleted-section.state.ts","./src/app/components/checklists/store/deleted-sections/deleted-section.store.ts","./src/app/components/checklists/store/deleted-steps/deleted-step.action.ts","./src/app/components/checklists/store/deleted-steps/deleted-step.state.ts","./src/app/components/checklists/store/deleted-steps/deleted-step.store.ts","./src/app/components/checklists/store/deleted-tasks/deleted-task.action.ts","./src/app/components/checklists/store/deleted-tasks/deleted-task.state.ts","./src/app/components/checklists/store/deleted-tasks/deleted-task.store.ts","./src/app/components/checklists/store/tasks/task.action.ts","./src/app/components/checklists/store/tasks/task.state.ts","./src/app/components/checklists/store/tasks/task.store.ts","./src/app/components/checklists/store/template-types/template-types.action.ts","./src/app/components/checklists/store/template-types/template-types.state.ts","./src/app/components/checklists/store/template-types/template-types.store.ts","./src/app/components/eb/eb-accelerator-location.ts","./src/app/components/eb/eb-main/eb-main-s1/eb-main-s1.component.ts","./src/app/components/eb/eb-main/eb-main-s1/eb-main-s1.component.html","./src/app/components/eb/eb-main/eb-main-s2/eb-main-s2.component.ts","./src/app/components/eb/eb-main/eb-main-s2/eb-main-s2.component.html","./src/app/components/eb/eb-main/eb-main-s3/eb-main-s3.component.ts","./src/app/components/eb/eb-main/eb-main-s3/eb-main-s3.component.html","./src/app/components/eb/eb-main/eb-main-s4/eb-main-s4.component.ts","./src/app/components/eb/eb-main/eb-main-s4/eb-main-s4.component.html","./src/app/components/eb/eb-main/eb-main-s5/eb-main-s5.component.ts","./src/app/components/eb/eb-main/eb-main-s5/eb-main-s5.component.html","./src/app/components/eb/eb-main/eb-main-s6/eb-main-s6.component.ts","./src/app/components/eb/eb-main/eb-main-s6/eb-main-s6.component.html","./src/app/components/eb/eb-main/eb-main.component.ts","./src/app/components/eb/eb-main/eb-main.component.html","./src/app/components/eb/eb-other-systems.ts","./src/app/components/eb/eb-shutter.ts","./src/app/components/eb/eb-side/eb-side.component.ts","./src/app/components/eb/eb-side/eb-side.component.html","./src/app/components/eb/eb.component.ts","./src/app/components/eb/eb.component.html","./src/app/components/eb/eb.module.ts","./src/app/components/eb/eb.service.ts","./src/app/components/eb/eb.ts","./src/app/components/head-page/action-buttons/head-action-buttons.component.ts","./src/app/components/head-page/action-buttons/head-action-buttons.component.html","./src/app/components/head-page/head-login/head-login.component.ts","./src/app/components/head-page/head-login/head-login.component.html","./src/app/components/head-page/head-logo/head-logo-about/head-logo-about.component.ts","./src/app/components/head-page/head-logo/head-logo-about/head-logo-about.component.html","./src/app/components/head-page/head-logo/head-logo-tooltip/head-logo-tooltip.component.ts","./src/app/components/head-page/head-logo/head-logo-tooltip/head-logo-tooltip.component.html","./src/app/components/head-page/head-logo/head-logo.component.ts","./src/app/components/head-page/head-logo/head-logo.component.html","./src/app/components/head-page/head-menu/head-menu-dropmenu/head-menu-dropmenu.component.ts","./src/app/components/head-page/head-menu/head-menu-dropmenu/head-menu-dropmenu.component.html","./src/app/components/head-page/head-menu/head-menu-submenu/head-menu-submenu.component.ts","./src/app/components/head-page/head-menu/head-menu-submenu/head-menu-submenu.component.html","./src/app/components/head-page/head-menu/head-menu.component.ts","./src/app/components/head-page/head-menu/head-menu.component.html","./src/app/components/head-page/head-menu/head-menu.models.ts","./src/app/components/head-page/head-menu/head-menu.service.ts","./src/app/components/head-page/head-page.component.ts","./src/app/components/head-page/head-page.component.html","./src/app/components/head-page/head-search/search-dialog/search-dialog.component.ts","./src/app/components/head-page/head-search/search-dialog/search-dialog.component.html","./src/app/components/head-page/store/menu-item.action.ts","./src/app/components/head-page/store/menu-item.state.ts","./src/app/components/head-page/store/menu-item.store.ts","./src/app/components/home/accelerator-status/accelerator-status.component.ts","./src/app/components/home/accelerator-status/accelerator-status.component.html","./src/app/components/home/accelerator-status/accelerator.service.ts","./src/app/components/home/accelerator-status/store/accelerator-status.action.ts","./src/app/components/home/accelerator-status/store/accelerator-status.listener.ts","./src/app/components/home/accelerator-status/store/accelerator-status.state.ts","./src/app/components/home/bakeouts-panel/archive/archive.component.ts","./src/app/components/home/bakeouts-panel/archive/archive.component.html","./src/app/components/home/bakeouts-panel/bakeout.service.ts","./src/app/components/home/bakeouts-panel/bakeouts-panel.component.ts","./src/app/components/home/bakeouts-panel/bakeouts-panel.component.html","./src/app/components/home/bakeouts-panel/editor/editor.component.ts","./src/app/components/home/bakeouts-panel/editor/editor.component.html","./src/app/components/home/bakeouts-panel/store/bakeouts/bakeouts.action.ts","./src/app/components/home/bakeouts-panel/store/bakeouts/bakeouts.state.ts","./src/app/components/home/bakeouts-panel/store/bakeouts/bakeouts.store.ts","./src/app/components/home/beamline-status/beamline-overview/beamline-overview-details/beamline-overview-details.component.ts","./src/app/components/home/beamline-status/beamline-overview/beamline-overview-details/beamline-overview-details.component.html","./src/app/components/home/beamline-status/beamline-overview/beamline-overview-details/beamline-overview.service.ts","./src/app/components/home/beamline-status/beamline-overview/beamline-overview/beamline-overview.component.ts","./src/app/components/home/beamline-status/beamline-overview/beamline-overview/beamline-overview.component.html","./src/app/components/home/beamline-status/beamline-serv.service.ts","./src/app/components/home/beamline-status/beamline-status.component.ts","./src/app/components/home/beamline-status/beamline-status.component.html","./src/app/components/home/beamline-status/send-id.service.ts","./src/app/components/home/beamline-status/store/bl-status.action.ts","./src/app/components/home/beamline-status/store/bl-status.state.ts","./src/app/components/home/beamline-status/store/bl-status.store.ts","./src/app/components/home/branchline-status/branchline-status.component.ts","./src/app/components/home/branchline-status/branchline-status.component.html","./src/app/components/home/branchline-status/store/branchline-status.state.ts","./src/app/components/home/branchline-status/store/branchline-status.store.ts","./src/app/components/home/branchline-status/store/branchline.actions.ts","./src/app/components/home/bulletin-board/bulletin-board-service.service.ts","./src/app/components/home/bulletin-board/bulletin-board.component.ts","./src/app/components/home/bulletin-board/bulletin-board.component.html","./src/app/components/home/bulletin-board/modal-add-to-bb/modal-add-to-bb.component.ts","./src/app/components/home/bulletin-board/modal-add-to-bb/modal-add-to-bb.component.html","./src/app/components/home/bulletin-board/modal-history-bb/modal-history-bb.component.ts","./src/app/components/home/bulletin-board/modal-history-bb/modal-history-bb.component.html","./src/app/components/home/bulletin-board/store/bulletin-board.action.ts","./src/app/components/home/bulletin-board/store/bulletin-board.state.ts","./src/app/components/home/bulletin-board/store/bulletin-board.store.ts","./src/app/components/home/current-activity/current-activity.component.ts","./src/app/components/home/current-activity/current-activity.component.html","./src/app/components/home/home.component.ts","./src/app/components/home/home.component.html","./src/app/components/home/radiation-area/modal-add-to-ra/modal-add-to-ra.component.ts","./src/app/components/home/radiation-area/modal-add-to-ra/modal-add-to-ra.component.html","./src/app/components/home/radiation-area/radiation-area-attachment/radiation-area-attachment.component.ts","./src/app/components/home/radiation-area/radiation-area-attachment/radiation-area-attachment.component.html","./src/app/components/home/radiation-area/radiation-area-service.service.ts","./src/app/components/home/radiation-area/radiation-area.component.ts","./src/app/components/home/radiation-area/radiation-area.component.html","./src/app/components/home/radiation-area/store/radiation-area.action.ts","./src/app/components/home/radiation-area/store/radiation-area.state.ts","./src/app/components/home/radiation-area/store/radiation-area.store.ts","./src/app/components/home/toxic-gas-panel/archive/toxic-gase-archive.component.ts","./src/app/components/home/toxic-gas-panel/archive/toxic-gase-archive.component.html","./src/app/components/home/toxic-gas-panel/editor/toxic-gas-editor.component.ts","./src/app/components/home/toxic-gas-panel/editor/toxic-gas-editor.component.html","./src/app/components/home/toxic-gas-panel/store/toxic-gas/toxic-gas.action.ts","./src/app/components/home/toxic-gas-panel/store/toxic-gas/toxic-gas.state.ts","./src/app/components/home/toxic-gas-panel/store/toxic-gas/toxic-gas.store.ts","./src/app/components/home/toxic-gas-panel/toxic-gas-panel.component.ts","./src/app/components/home/toxic-gas-panel/toxic-gas-panel.component.html","./src/app/components/home/toxic-gas-panel/toxic-gas.service.ts","./src/app/components/kenable/ke-checklist-builder/ke-checklist-builder.component.ts","./src/app/components/kenable/ke-checklist-builder/ke-checklist-builder.component.html","./src/app/components/kenable/ke-checklist-builder/ke-checklist-builder.service.ts","./src/app/components/kenable/ke-checklist-builder/ke-cl-builder-section/ke-cl-builder-section.component.ts","./src/app/components/kenable/ke-checklist-builder/ke-cl-builder-section/ke-cl-builder-section.component.html","./src/app/components/kenable/ke-main/ke-main-panel.component.ts","./src/app/components/kenable/ke-main/ke-main-panel.component.html","./src/app/components/kenable/ke-main/ke-section0/ke-section0.component.ts","./src/app/components/kenable/ke-main/ke-section0/ke-section0.component.html","./src/app/components/kenable/ke-main/ke-sectionX/ke-sectionX.component.ts","./src/app/components/kenable/ke-main/ke-sectionX/ke-sectionX.component.html","./src/app/components/kenable/ke-side/ke-side-panel.component.ts","./src/app/components/kenable/ke-side/ke-side-panel.component.html","./src/app/components/kenable/ke.service.ts","./src/app/components/kenable/ke.ts","./src/app/components/kenable/kenable.component.ts","./src/app/components/kenable/kenable.component.html","./src/app/components/kenable/kenable.module.ts","./src/app/components/kenable/store/ke-version/ke-version.action.ts","./src/app/components/kenable/store/ke-version/ke-version.state.ts","./src/app/components/kenable/store/ke-version/ke-version.store.ts","./src/app/components/kenable/store/ke/kenable.action.ts","./src/app/components/kenable/store/ke/kenable.state.ts","./src/app/components/kenable/store/ke/kenable.store.ts","./src/app/components/login/login.component.ts","./src/app/components/login/login.component.html","./src/app/components/login/logout/logout.component.ts","./src/app/components/login/logout/logout.component.html","./src/app/components/menu-config/menu-config-actions/menu-config-actions.component.ts","./src/app/components/menu-config/menu-config-actions/menu-config-actions.component.html","./src/app/components/menu-config/menu-config-edit/menu-config-edit.component.ts","./src/app/components/menu-config/menu-config-edit/menu-config-edit.component.html","./src/app/components/menu-config/menu-config-head/menu-config-head.component.ts","./src/app/components/menu-config/menu-config-head/menu-config-head.component.html","./src/app/components/menu-config/menu-config.component.ts","./src/app/components/menu-config/menu-config.component.html","./src/app/components/menu-config/menu.service.ts","./src/app/components/messages/messages-categories/messages-categories.component.ts","./src/app/components/messages/messages-categories/messages-categories.component.html","./src/app/components/messages/messages-table/edit-display-message/edit-display-message.component.ts","./src/app/components/messages/messages-table/edit-display-message/edit-display-message.component.html","./src/app/components/messages/messages-table/messages-table.component.ts","./src/app/components/messages/messages-table/messages-table.component.html","./src/app/components/messages/messages.component.ts","./src/app/components/messages/messages.component.html","./src/app/components/messages/messages.module.ts","./src/app/components/messages/services/message-banner.enums.ts","./src/app/components/messages/services/message-banner.service.ts","./src/app/components/messages/services/message-banner.ts","./src/app/components/messages/services/system-category.service.ts","./src/app/components/messages/store/message-banner.actions.ts","./src/app/components/messages/store/message-banner.state.ts","./src/app/components/messages/store/message-banner.store.ts","./src/app/components/olog/olog-button/olog-button.component.ts","./src/app/components/olog/olog-button/olog-button.component.html","./src/app/components/olog/olog-main/olog-main.component.ts","./src/app/components/olog/olog-main/olog-main.component.html","./src/app/components/olog/olog.component.ts","./src/app/components/olog/olog.component.html","./src/app/components/olog/olog.service.ts","./src/app/components/pending-approvals-v2/pending-approvals-catalogs/pending-approvals-catalogs-table/pending-approvals-catalogs-table.component.ts","./src/app/components/pending-approvals-v2/pending-approvals-catalogs/pending-approvals-catalogs-table/pending-approvals-catalogs-table.component.html","./src/app/components/pending-approvals-v2/pending-approvals-catalogs/pending-approvals-catalogs.component.ts","./src/app/components/pending-approvals-v2/pending-approvals-catalogs/pending-approvals-catalogs.component.html","./src/app/components/pending-approvals-v2/pending-approvals-changes/pending-approvals-changes-table/pending-approvals-changes-table.component.ts","./src/app/components/pending-approvals-v2/pending-approvals-changes/pending-approvals-changes-table/pending-approvals-changes-table.component.html","./src/app/components/pending-approvals-v2/pending-approvals-changes/pending-approvals-changes.component.ts","./src/app/components/pending-approvals-v2/pending-approvals-changes/pending-approvals-changes.component.html","./src/app/components/pending-approvals-v2/pending-approvals-v2.component.ts","./src/app/components/pending-approvals-v2/pending-approvals-v2.component.html","./src/app/components/pending-approvals-v2/pending-approvals-v2.module.ts","./src/app/components/pending-approvals-v2/pending-approvals-v2.service.ts","./src/app/components/pending-approvals-v2/store/pending-approvals/pending-approvals.action.ts","./src/app/components/pending-approvals-v2/store/pending-approvals/pending-approvals.state.ts","./src/app/components/pending-approvals-v2/store/pending-approvals/pending-approvals.store.ts","./src/app/components/ppstb/ppstb-accelerator-location.ts","./src/app/components/ppstb/ppstb-main/ppstb-follow-up/ppstb-follow-up.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-follow-up/ppstb-follow-up.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s1/ppstb-main-s1.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s1/ppstb-main-s1.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s2/ppstb-main-s2.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s2/ppstb-main-s2.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s3/ppstb-main-s3.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s3/ppstb-main-s3.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s4/ppstb-main-s4.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s4/ppstb-main-s4.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s5/ppstb-main-s5.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s5/ppstb-main-s5.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s6/ppstb-main-s6.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s6/ppstb-main-s6.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s7/ppstb-main-s7.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s7/ppstb-main-s7.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main-s8/ppstb-main-s8.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main-s8/ppstb-main-s8.component.html","./src/app/components/ppstb/ppstb-main/ppstb-main.component.ts","./src/app/components/ppstb/ppstb-main/ppstb-main.component.html","./src/app/components/ppstb/ppstb-other-follow-up.ts","./src/app/components/ppstb/ppstb-other-system.ts","./src/app/components/ppstb/ppstb-shutter.ts","./src/app/components/ppstb/ppstb-side/ppstb-side.component.ts","./src/app/components/ppstb/ppstb-side/ppstb-side.component.html","./src/app/components/ppstb/ppstb.component.ts","./src/app/components/ppstb/ppstb.component.html","./src/app/components/ppstb/ppstb.module.ts","./src/app/components/ppstb/ppstb.service.ts","./src/app/components/ppstb/ppstb.ts","./src/app/components/procedure/dialogs/procedure-category-popup/procedure-category-popup.component.ts","./src/app/components/procedure/dialogs/procedure-category-popup/procedure-category-popup.component.html","./src/app/components/procedure/dialogs/procedure-note-popup/procedure-note-popup.component.ts","./src/app/components/procedure/dialogs/procedure-note-popup/procedure-note-popup.component.html","./src/app/components/procedure/dialogs/procedure-popup/procedure-popup.component.ts","./src/app/components/procedure/dialogs/procedure-popup/procedure-popup.component.html","./src/app/components/procedure/enums/procedure-obligation-type.enum.ts","./src/app/components/procedure/enums/procedure-signature-type.enum.ts","./src/app/components/procedure/enums/procedure-type.enum.ts","./src/app/components/procedure/models/procedure-category.model.ts","./src/app/components/procedure/models/procedure-master.model.ts","./src/app/components/procedure/models/procedure-note.model.ts","./src/app/components/procedure/models/procedure-training-credited.model.ts","./src/app/components/procedure/models/procedure-training.model.ts","./src/app/components/procedure/procedure-all-v2/procedure-all-v2.component.ts","./src/app/components/procedure/procedure-all-v2/procedure-all-v2.component.html","./src/app/components/procedure/procedure-all-v2/procedure-table/procedure-table.component.ts","./src/app/components/procedure/procedure-all-v2/procedure-table/procedure-table.component.html","./src/app/components/procedure/procedure-reports/procedure-reports/procedure-reports.component.ts","./src/app/components/procedure/procedure-reports/procedure-reports/procedure-reports.component.html","./src/app/components/procedure/procedure-training-v2/credited-date-popup/credited-date-popup.component.ts","./src/app/components/procedure/procedure-training-v2/credited-date-popup/credited-date-popup.component.html","./src/app/components/procedure/procedure-training-v2/extra-procedure-training-popup/extra-procedure-training-popup.component.ts","./src/app/components/procedure/procedure-training-v2/extra-procedure-training-popup/extra-procedure-training-popup.component.html","./src/app/components/procedure/procedure-training-v2/procedure-training-v2.component.ts","./src/app/components/procedure/procedure-training-v2/procedure-training-v2.component.html","./src/app/components/procedure/procedure-training-v2/procedure-trainings-table/procedure-trainings-appendices/procedure-trainings-appendices.component.ts","./src/app/components/procedure/procedure-training-v2/procedure-trainings-table/procedure-trainings-appendices/procedure-trainings-appendices.component.html","./src/app/components/procedure/procedure-training-v2/procedure-trainings-table/procedure-trainings-table.component.ts","./src/app/components/procedure/procedure-training-v2/procedure-trainings-table/procedure-trainings-table.component.html","./src/app/components/procedure/procedure-update-v2/procedure-update-table/procedure-update-table.component.ts","./src/app/components/procedure/procedure-update-v2/procedure-update-table/procedure-update-table.component.html","./src/app/components/procedure/procedure-update-v2/procedure-update-v2.component.ts","./src/app/components/procedure/procedure-update-v2/procedure-update-v2.component.html","./src/app/components/procedure/procedure.module.ts","./src/app/components/procedure/services/procedure-category.service.ts","./src/app/components/procedure/services/procedure-configuration.service.ts","./src/app/components/procedure/services/procedure-credited.service.ts","./src/app/components/procedure/services/procedure-report.service.ts","./src/app/components/procedure/services/procedure-template.service.ts","./src/app/components/procedure/services/procedure-training.service.ts","./src/app/components/procedure/services/procedure-type.service.ts","./src/app/components/procedure/services/procedure.service.ts","./src/app/components/procedure/store/procedure-category/procedure-category.action.ts","./src/app/components/procedure/store/procedure-category/procedure-category.state.ts","./src/app/components/procedure/store/procedure-category/procedure-category.store.ts","./src/app/components/procedure/store/procedure-configuration/procedure-configuration.action.ts","./src/app/components/procedure/store/procedure-configuration/procedure-configuration.state.ts","./src/app/components/procedure/store/procedure-credited/procedure-credited.action.ts","./src/app/components/procedure/store/procedure-credited/procedure-credited.state.ts","./src/app/components/procedure/store/procedure-credited/procedure-credited.store.ts","./src/app/components/procedure/store/procedure-missing-training/procedure-missing-training.action.ts","./src/app/components/procedure/store/procedure-missing-training/procedure-missing-training.state.ts","./src/app/components/procedure/store/procedure-missing-training/procedure-missing-training.store.ts","./src/app/components/procedure/store/procedure-template/procedure-template.action.ts","./src/app/components/procedure/store/procedure-template/procedure-template.state.ts","./src/app/components/procedure/store/procedure-template/procedure-template.store.ts","./src/app/components/procedure/store/procedure-training/procedure-training.action.ts","./src/app/components/procedure/store/procedure-training/procedure-training.state.ts","./src/app/components/procedure/store/procedure-training/procedure-training.store.ts","./src/app/components/procedure/store/procedure-types/procedure-types.action.ts","./src/app/components/procedure/store/procedure-types/procedure-types.state.ts","./src/app/components/procedure/store/procedure-types/procedure-types.store.ts","./src/app/components/procedure/store/procedure/procedure.action.ts","./src/app/components/procedure/store/procedure/procedure.state.ts","./src/app/components/procedure/store/procedure/procedure.store.ts","./src/app/components/redirect/redirect-dialog/redirect-dialog.component.ts","./src/app/components/redirect/redirect-dialog/redirect-dialog.component.html","./src/app/components/redirect/redirect.component.ts","./src/app/components/redirect/redirect.component.html","./src/app/components/redirect/redirect.service.ts","./src/app/components/reviews/reviews-action-items/reviews-action-item-types/reviews-action-item-types.component.ts","./src/app/components/reviews/reviews-action-items/reviews-action-item-types/reviews-action-item-types.component.html","./src/app/components/reviews/reviews-action-items/reviews-action-items-comments/reviews-action-items-comments.component.ts","./src/app/components/reviews/reviews-action-items/reviews-action-items-comments/reviews-action-items-comments.component.html","./src/app/components/reviews/reviews-action-items/reviews-action-items-details/reviews-action-items-complete/reviews-action-items-complete.component.ts","./src/app/components/reviews/reviews-action-items/reviews-action-items-details/reviews-action-items-complete/reviews-action-items-complete.component.html","./src/app/components/reviews/reviews-action-items/reviews-action-items-details/reviews-action-items-details.component.ts","./src/app/components/reviews/reviews-action-items/reviews-action-items-details/reviews-action-items-details.component.html","./src/app/components/reviews/reviews-action-items/reviews-action-items.component.ts","./src/app/components/reviews/reviews-action-items/reviews-action-items.component.html","./src/app/components/reviews/reviews-attachments-documents/review-attachment-documents/review-attachment-documents.component.ts","./src/app/components/reviews/reviews-attachments-documents/review-attachment-documents/review-attachment-documents.component.html","./src/app/components/reviews/reviews-attachments-documents/review-attachment-types/review-attachment-type-details/review-attachment-type-details.component.ts","./src/app/components/reviews/reviews-attachments-documents/review-attachment-types/review-attachment-type-details/review-attachment-type-details.component.html","./src/app/components/reviews/reviews-attachments-documents/review-attachment-types/review-attachment-types.component.ts","./src/app/components/reviews/reviews-attachments-documents/review-attachment-types/review-attachment-types.component.html","./src/app/components/reviews/reviews-attachments-documents/review-attachment/review-attachment.component.ts","./src/app/components/reviews/reviews-attachments-documents/review-attachment/review-attachment.component.html","./src/app/components/reviews/reviews-attachments-documents/review-links/review-links.component.ts","./src/app/components/reviews/reviews-attachments-documents/review-links/review-links.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-cycles/reviews-boards-cycles.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-cycles/reviews-boards-cycles.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-review-create/reviews-boards-review-create.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-review-create/reviews-boards-review-create.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-add-resource/reviews-boards-add-resource.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-add-resource/reviews-boards-add-resource.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/review-actions/review-actions-request-extension/review-actions-request-extension.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/review-actions/review-actions-request-extension/review-actions-request-extension.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-details.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-details.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/left/load-saved-roster-left.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/left/load-saved-roster-left.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/load-saved-roster.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/load-saved-roster.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/right/load-saved-roster-right.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/right/load-saved-roster-right.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-attendance-categories/review-attendance-categories.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-attendance-categories/review-attendance-categories.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-attendance-save/review-attendance-save.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-attendance-save/review-attendance-save.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-members/review-members.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-members/review-members.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/review-attendance-saved/saved-edit/saved-edit.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/review-attendance-saved/saved-edit/saved-edit.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/reviews-members.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/reviews-members.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-details-template/reviews-details-template.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-details-template/reviews-details-template.component.html","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards-reviews/reviews-boards-reviews.component.html","./src/app/components/reviews/reviews-boards/reviews-boards.component.ts","./src/app/components/reviews/reviews-boards/reviews-boards.component.html","./src/app/components/reviews/reviews-index/review-index-table/review-index-table.component.ts","./src/app/components/reviews/reviews-index/review-index-table/review-index-table.component.html","./src/app/components/reviews/reviews-index/reviews-index.component.ts","./src/app/components/reviews/reviews-index/reviews-index.component.html","./src/app/components/reviews/reviews-requests/review-request/review-request.component.ts","./src/app/components/reviews/reviews-requests/review-request/review-request.component.html","./src/app/components/reviews/reviews-requests/reviews-requests-table/reviews-requests-table.component.ts","./src/app/components/reviews/reviews-requests/reviews-requests-table/reviews-requests-table.component.html","./src/app/components/reviews/reviews-requests/reviews-requests.component.ts","./src/app/components/reviews/reviews-requests/reviews-requests.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-board-types/reviews-settings-board-types.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-board-types/reviews-settings-board-types.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-menu/reviews-settings-menu.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-menu/reviews-settings-menu.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-permissions/reviews-settings-permissions-roles/reviews-settings-permissions-roles.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-permissions/reviews-settings-permissions-roles/reviews-settings-permissions-roles.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-permissions/reviews-settings-permissions-status/reviews-settings-permissions-status.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-permissions/reviews-settings-permissions-status/reviews-settings-permissions-status.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-permissions/reviews-settings-permissions.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-permissions/reviews-settings-permissions.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-review-types/reviews-settings-review-types-details/reviews-settings-review-types-details.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-review-types/reviews-settings-review-types-details/reviews-settings-review-types-details.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-review-types/reviews-settings-review-types.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-review-types/reviews-settings-review-types.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-actions/statuses-actions-details/statuses-actions-details.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-actions/statuses-actions-details/statuses-actions-details.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-actions/statuses-actions.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-actions/statuses-actions.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-details.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-details.component.html","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings-statuses/reviews-settings-statuses.component.html","./src/app/components/reviews/reviews-settings/reviews-settings.component.ts","./src/app/components/reviews/reviews-settings/reviews-settings.component.html","./src/app/components/reviews/reviews.component.ts","./src/app/components/reviews/reviews.component.html","./src/app/components/reviews/reviews.models.ts","./src/app/components/reviews/reviews.module.ts","./src/app/components/reviews/reviews.service.ts","./src/app/components/reviews/store/review-action-item-types/review-action-item-types.action.ts","./src/app/components/reviews/store/review-action-item-types/review-action-item-types.state.ts","./src/app/components/reviews/store/review-action-item-types/review-action-item-types.store.ts","./src/app/components/reviews/store/review-action-items/review-action-items.action.ts","./src/app/components/reviews/store/review-action-items/review-action-items.state.ts","./src/app/components/reviews/store/review-action-items/review-action-items.store.ts","./src/app/components/reviews/store/review-attendance-category/review-attendance-category.action.ts","./src/app/components/reviews/store/review-attendance-category/review-attendance-category.state.ts","./src/app/components/reviews/store/review-attendance-category/review-attendance-category.store.ts","./src/app/components/reviews/store/review-attendance-roster/review-attendance-roster.action.ts","./src/app/components/reviews/store/review-attendance-roster/review-attendance-roster.state.ts","./src/app/components/reviews/store/review-attendance-save/review-attendance-save.action.ts","./src/app/components/reviews/store/review-attendance-save/review-attendance-save.state.ts","./src/app/components/reviews/store/review-attendance-save/review-attendance-save.store.ts","./src/app/components/reviews/store/review-board-types/review-board-types.action.ts","./src/app/components/reviews/store/review-board-types/review-board-types.state.ts","./src/app/components/reviews/store/review-board-types/review-board-types.store.ts","./src/app/components/reviews/store/review-boards/review-boards.action.ts","./src/app/components/reviews/store/review-boards/review-boards.state.ts","./src/app/components/reviews/store/review-boards/review-boards.store.ts","./src/app/components/reviews/store/review-cycles/review-cycles.action.ts","./src/app/components/reviews/store/review-cycles/review-cycles.state.ts","./src/app/components/reviews/store/review-cycles/review-cycles.store.ts","./src/app/components/reviews/store/review-permissions/review-permissions.action.ts","./src/app/components/reviews/store/review-permissions/review-permissions.state.ts","./src/app/components/reviews/store/review-permissions/review-permissions.store.ts","./src/app/components/reviews/store/review-satisfaction-checks/review-satisfaction-checks.action.ts","./src/app/components/reviews/store/review-satisfaction-checks/review-satisfaction-checks.state.ts","./src/app/components/reviews/store/review-satisfaction-checks/review-satisfaction-checks.store.ts","./src/app/components/reviews/store/review-status/review-status.action.ts","./src/app/components/reviews/store/review-status/review-status.state.ts","./src/app/components/reviews/store/review-status/review-status.store.ts","./src/app/components/reviews/store/review-types/review-types.action.ts","./src/app/components/reviews/store/review-types/review-types.state.ts","./src/app/components/reviews/store/review-types/review-types.store.ts","./src/app/components/reviews/store/reviews/reviews.action.ts","./src/app/components/reviews/store/reviews/reviews.state.ts","./src/app/components/reviews/store/reviews/reviews.store.ts","./src/app/components/rsswa/rsswa-main-panel/rss-functional-test-list/rss-functional-test-list.component.ts","./src/app/components/rsswa/rsswa-main-panel/rss-functional-test-list/rss-functional-test-list.component.html","./src/app/components/rsswa/rsswa-main-panel/rss-functional-test-popup/rss-functional-test-popup.component.ts","./src/app/components/rsswa/rsswa-main-panel/rss-functional-test-popup/rss-functional-test-popup.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rss-functional-test-chips/rss-functional-test-chips.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rss-functional-test-chips/rss-functional-test-chips.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-accelerator-location-chips/rsswa-accelerator-location-chips.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-accelerator-location-chips/rsswa-accelerator-location-chips.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-other-system-chips/rsswa-other-system-chips.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-other-system-chips/rsswa-other-system-chips.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-performing-work-user-chips/rsswa-performing-work-user-chips.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-performing-work-user-chips/rsswa-performing-work-user-chips.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-shutter-chips/rsswa-shutter-chips.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-chips/rsswa-shutter-chips/rsswa-shutter-chips.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-log/rsswa-log.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-log/rsswa-log.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-main-panel.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-main-panel.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-section1/rsswa-section1-functional-tests/rsswa-section1-functional-tests.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-section1/rsswa-section1-functional-tests/rsswa-section1-functional-tests.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-section1/rsswa-section1.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-section1/rsswa-section1.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-section3/rsswa-section3.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-section3/rsswa-section3.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-section4/rsswa-section4.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-section4/rsswa-section4.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-section5/rsswa-section5.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-section5/rsswa-section5.component.html","./src/app/components/rsswa/rsswa-main-panel/rsswa-section6/rsswa-section6.component.ts","./src/app/components/rsswa/rsswa-main-panel/rsswa-section6/rsswa-section6.component.html","./src/app/components/rsswa/rsswa-side-panel/rsswa-side-panel.component.ts","./src/app/components/rsswa/rsswa-side-panel/rsswa-side-panel.component.html","./src/app/components/rsswa/rsswa.component.ts","./src/app/components/rsswa/rsswa.component.html","./src/app/components/rsswa/rsswa.module.ts","./src/app/components/rsswa/rsswa.service.ts","./src/app/components/rsswa/store/rsswa.action.ts","./src/app/components/rsswa/store/rsswa.state.ts","./src/app/components/rsswa/store/rsswa.store.ts","./src/app/components/scf-v2/scf-v2-main/scf-log/scf-log-signature/scf-log-signature.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-log/scf-log-signature/scf-log-signature.component.html","./src/app/components/scf-v2/scf-v2-main/scf-log/scf-log.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-log/scf-log.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-buttons/scf-v2-main-buttons.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-buttons/scf-v2-main-buttons.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s1/scf-v2-main-s1.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s1/scf-v2-main-s1.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s2/scf-v2-main-s2.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s2/scf-v2-main-s2.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s3/scf-v2-main-s3.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s3/scf-v2-main-s3.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-holdpoints/scf-v2-main-s4-holdpoints-add/scf-v2-main-s4-holdpoints-add.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-holdpoints/scf-v2-main-s4-holdpoints-add/scf-v2-main-s4-holdpoints-add.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-holdpoints/scf-v2-main-s4-holdpoints.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-holdpoints/scf-v2-main-s4-holdpoints.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-nowork/scf-v2-main-s4-nowork.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-nowork/scf-v2-main-s4-nowork.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s4/scf-v2-main-s4.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s5/scf-v2-main-s5.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main-s5/scf-v2-main-s5.component.html","./src/app/components/scf-v2/scf-v2-main/scf-v2-main.component.ts","./src/app/components/scf-v2/scf-v2-main/scf-v2-main.component.html","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings-notifications/scf-v2-settings-notifications.component.ts","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings-notifications/scf-v2-settings-notifications.component.html","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings-permissions/scf-v2-settings-permissions.component.ts","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings-permissions/scf-v2-settings-permissions.component.html","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings-signatures/scf-v2-settings-signatures.component.ts","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings-signatures/scf-v2-settings-signatures.component.html","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings.component.ts","./src/app/components/scf-v2/scf-v2-settings/scf-v2-settings.component.html","./src/app/components/scf-v2/scf-v2-side/scf-v2-side.component.ts","./src/app/components/scf-v2/scf-v2-side/scf-v2-side.component.html","./src/app/components/scf-v2/scf-v2.component.ts","./src/app/components/scf-v2/scf-v2.component.html","./src/app/components/scf-v2/scf-v2.module.ts","./src/app/components/scf-v2/scf-v2.service.ts","./src/app/components/scf-v2/scf.ts","./src/app/components/scf-v2/store/restrictions/restrictions.action.ts","./src/app/components/scf-v2/store/restrictions/restrictions.state.ts","./src/app/components/scf-v2/store/restrictions/restrictions.store.ts","./src/app/components/scf-v2/store/scf-master/scf-masters.action.ts","./src/app/components/scf-v2/store/scf-master/scf-masters.state.ts","./src/app/components/scf-v2/store/scf-master/scf-masters.store.ts","./src/app/components/schedules/dialogs/choose-roles/choose-roles.component.ts","./src/app/components/schedules/dialogs/choose-roles/choose-roles.component.html","./src/app/components/schedules/dialogs/choose-users/choose-users.component.ts","./src/app/components/schedules/dialogs/choose-users/choose-users.component.html","./src/app/components/schedules/dialogs/edit-request-message/edit-request-message.component.ts","./src/app/components/schedules/dialogs/edit-request-message/edit-request-message.component.html","./src/app/components/schedules/models/enums.ts","./src/app/components/schedules/models/schedule-resources.ts","./src/app/components/schedules/reminder-tab/add-reminder/add-reminder.component.ts","./src/app/components/schedules/reminder-tab/add-reminder/add-reminder.component.html","./src/app/components/schedules/reminder-tab/reminder-tab.component.ts","./src/app/components/schedules/reminder-tab/reminder-tab.component.html","./src/app/components/schedules/schedule-routing.module.ts","./src/app/components/schedules/schedule-tab/add-note/add-note.component.ts","./src/app/components/schedules/schedule-tab/add-note/add-note.component.html","./src/app/components/schedules/schedule-tab/add-schedule/add-schedule.component.ts","./src/app/components/schedules/schedule-tab/add-schedule/add-schedule.component.html","./src/app/components/schedules/schedule-tab/complete-schedule/complete-schedule.component.ts","./src/app/components/schedules/schedule-tab/complete-schedule/complete-schedule.component.html","./src/app/components/schedules/schedule-tab/edit-scheduled-for/edit-scheduled-for.component.ts","./src/app/components/schedules/schedule-tab/edit-scheduled-for/edit-scheduled-for.component.html","./src/app/components/schedules/schedule-tab/reject-extension/reject-extension.component.ts","./src/app/components/schedules/schedule-tab/reject-extension/reject-extension.component.html","./src/app/components/schedules/schedule-tab/request-extension/request-extension.component.ts","./src/app/components/schedules/schedule-tab/request-extension/request-extension.component.html","./src/app/components/schedules/schedule-tab/schedule-menu/schedule-menu.component.ts","./src/app/components/schedules/schedule-tab/schedule-menu/schedule-menu.component.html","./src/app/components/schedules/schedule-tab/schedule-subdetail-menu/schedule-subdetail-menu.component.ts","./src/app/components/schedules/schedule-tab/schedule-subdetail-menu/schedule-subdetail-menu.component.html","./src/app/components/schedules/schedule-tab/schedule-tab-cell/schedule-tab-cell.component.ts","./src/app/components/schedules/schedule-tab/schedule-tab-cell/schedule-tab-cell.component.html","./src/app/components/schedules/schedule-tab/schedule-tab.component.ts","./src/app/components/schedules/schedule-tab/schedule-tab.component.html","./src/app/components/schedules/schedule.module.ts","./src/app/components/schedules/schedules-v2.component.ts","./src/app/components/schedules/schedules-v2.component.html","./src/app/components/schedules/services/role-reminder.service.ts","./src/app/components/schedules/services/role-schedule-status.service.ts","./src/app/components/schedules/services/schedule-note.service.ts","./src/app/components/schedules/services/schedule-reminder.service.ts","./src/app/components/schedules/services/schedule-status.service.ts","./src/app/components/schedules/services/schedule-subdetail-note.service.ts","./src/app/components/schedules/services/schedule-subtype.service.ts","./src/app/components/schedules/services/schedule-type.service.ts","./src/app/components/schedules/services/schedule.service.ts","./src/app/components/schedules/services/user-reminder.service.ts","./src/app/components/schedules/services/user-schedule-status.service.ts","./src/app/components/schedules/share/schedule-validations.ts","./src/app/components/schedules/store/schedule-reminder/schedule-reminder.action.ts","./src/app/components/schedules/store/schedule-reminder/schedule-reminder.state.ts","./src/app/components/schedules/store/schedule-reminder/schedule-reminder.store.ts","./src/app/components/schedules/store/schedule-subtypes/schedule-subtypes.action.ts","./src/app/components/schedules/store/schedule-subtypes/schedule-subtypes.state.ts","./src/app/components/schedules/store/schedule-subtypes/schedule-subtypes.store.ts","./src/app/components/schedules/store/schedule-types/schedule-types.action.ts","./src/app/components/schedules/store/schedule-types/schedule-types.state.ts","./src/app/components/schedules/store/schedule-types/schedule-types.store.ts","./src/app/components/schedules/store/schedules/schedule.action.ts","./src/app/components/schedules/store/schedules/schedule.state.ts","./src/app/components/schedules/store/schedules/schedule.store.ts","./src/app/components/site-configuration/site-configuration.component.ts","./src/app/components/site-configuration/site-configuration.component.html","./src/app/components/template/template-side/template-side.component.ts","./src/app/components/template/template-side/template-side.component.html","./src/app/components/template/template.component.ts","./src/app/components/template/template.component.html","./src/app/components/template/template.module.ts","./src/app/controls/accelerator-location-chips/accelerator-location-chips.component.ts","./src/app/controls/accelerator-location-chips/accelerator-location-chips.component.html","./src/app/controls/add-related-link-document/add-related-link-document.component.ts","./src/app/controls/add-related-link-document/add-related-link-document.component.html","./src/app/controls/add-related-link/add-related-link.component.ts","./src/app/controls/add-related-link/add-related-link.component.html","./src/app/controls/cancel-dialog/cancel-dialog.component.ts","./src/app/controls/cancel-dialog/cancel-dialog.component.html","./src/app/controls/catalog-history-navigation/catalog-history-navigation.component.ts","./src/app/controls/catalog-history-navigation/catalog-history-navigation.component.html","./src/app/controls/catl/action-item/action-item-edit/action-item-edit.component.ts","./src/app/controls/catl/action-item/action-item-edit/action-item-edit.component.html","./src/app/controls/catl/action-item/action-item.component.ts","./src/app/controls/catl/action-item/action-item.component.html","./src/app/controls/catl/action-item/action-item.service.ts","./src/app/controls/catl/action-item/store/actionItems.action.ts","./src/app/controls/catl/action-item/store/actionItems.state.ts","./src/app/controls/catl/action-item/store/actionItems.store.ts","./src/app/controls/catl/catl-report/catl-report.component.ts","./src/app/controls/catl/catl-report/catl-report.component.html","./src/app/controls/catl/catl.component.ts","./src/app/controls/catl/catl.component.html","./src/app/controls/checklist-chips/document-chips.component.ts","./src/app/controls/checklist-chips/document-chips.component.html","./src/app/controls/checklist-components/button-signature-duplicate/button-signature-duplicate.component.ts","./src/app/controls/checklist-components/button-signature-duplicate/button-signature-duplicate.component.html","./src/app/controls/checklist-components/button-signature-radio/button-signature-radio.component.ts","./src/app/controls/checklist-components/button-signature-radio/button-signature-radio.component.html","./src/app/controls/checklist-components/button-signature/button-signature.component.ts","./src/app/controls/checklist-components/button-signature/button-signature.component.html","./src/app/controls/checklist-components/checkbox-signature/checkbox-signature.component.ts","./src/app/controls/checklist-components/checkbox-signature/checkbox-signature.component.html","./src/app/controls/checklist-components/checklist-components.module.ts","./src/app/controls/checklist-components/cl-base/cl-base.component.ts","./src/app/controls/checklist-components/cl-bratoi/cl-bratoi.component.ts","./src/app/controls/checklist-components/cl-bratoi/cl-bratoi.component.html","./src/app/controls/checklist-components/cl-catl/cl-catl.component.ts","./src/app/controls/checklist-components/cl-catl/cl-catl.component.html","./src/app/controls/checklist-components/cl-checkbox-and-comments/cl-checkbox-and-comments.component.ts","./src/app/controls/checklist-components/cl-checkbox-and-comments/cl-checkbox-and-comments.component.html","./src/app/controls/checklist-components/cl-checkbox-and-radio/cl-checkbox-and-radio.component.ts","./src/app/controls/checklist-components/cl-checkbox-and-radio/cl-checkbox-and-radio.component.html","./src/app/controls/checklist-components/cl-checkbox-and-text-input/cl-checkbox-and-text-input.component.ts","./src/app/controls/checklist-components/cl-checkbox-and-text-input/cl-checkbox-and-text-input.component.html","./src/app/controls/checklist-components/cl-checkbox-multiple-sign/cl-checkbox-multiple-sign.component.ts","./src/app/controls/checklist-components/cl-checkbox-multiple-sign/cl-checkbox-multiple-sign.component.html","./src/app/controls/checklist-components/cl-checkbox-multiple-with-textbox/cl-checkbox-multiple-with-textbox.component.ts","./src/app/controls/checklist-components/cl-checkbox-multiple-with-textbox/cl-checkbox-multiple-with-textbox.component.html","./src/app/controls/checklist-components/cl-checkbox-multiple/cl-checkbox-multiple.component.ts","./src/app/controls/checklist-components/cl-checkbox-multiple/cl-checkbox-multiple.component.html","./src/app/controls/checklist-components/cl-checkbox-radio-location/cl-checkbox-radio-location.component.ts","./src/app/controls/checklist-components/cl-checkbox-radio-location/cl-checkbox-radio-location.component.html","./src/app/controls/checklist-components/cl-checkbox/cl-checkbox.component.ts","./src/app/controls/checklist-components/cl-checkbox/cl-checkbox.component.html","./src/app/controls/checklist-components/cl-close-action/cl-close-action.component.ts","./src/app/controls/checklist-components/cl-close-action/cl-close-action.component.html","./src/app/controls/checklist-components/cl-comments/cl-comments.component.ts","./src/app/controls/checklist-components/cl-comments/cl-comments.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-bratoi/cl-editor-bratoi.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-bratoi/cl-editor-bratoi.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-checkbox-options/cl-editor-checkbox-options.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-checkbox-options/cl-editor-checkbox-options.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-checkbox-roles/cl-editor-checkbox-roles-selection/cl-editor-checkbox-roles-selection.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-checkbox-roles/cl-editor-checkbox-roles-selection/cl-editor-checkbox-roles-selection.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-checkbox-roles/cl-editor-checkbox-roles.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-checkbox-roles/cl-editor-checkbox-roles.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-colors/cl-editor-colors.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-colors/cl-editor-colors.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-component-help/cl-editor-component-help.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-component-help/cl-editor-component-help.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-conditions-help/cl-editor-conditions-help.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-conditions-help/cl-editor-conditions-help.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-hide-disable-toggle/cl-editor-hide-disable-toggle.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-hide-disable-toggle/cl-editor-hide-disable-toggle.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-image/cl-editor-image.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-image/cl-editor-image.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-location/cl-editor-location.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-location/cl-editor-location.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-placeholder-options/cl-editor-placeholder-options.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-placeholder-options/cl-editor-placeholder-options.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-placeholder-select/cl-editor-placeholder-select.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-placeholder-select/cl-editor-placeholder-select.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-rad-locations/cl-editor-rad-locations.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-rad-locations/cl-editor-rad-locations.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-rad-monitors/cl-editor-rad-monitors.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-rad-monitors/cl-editor-rad-monitors.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-radio-options/cl-editor-radio-options.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-radio-options/cl-editor-radio-options.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-schedule/cl-editor-schedule.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-schedule/cl-editor-schedule.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-status-change/cl-editor-status-change.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-status-change/cl-editor-status-change.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-status/cl-editor-status.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-status/cl-editor-status.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-sublocations/cl-editor-sublocations.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-sublocations/cl-editor-sublocations.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-table-headers/cl-editor-table-headers.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-table-headers/cl-editor-table-headers.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-tag-info/cl-editor-tag-info.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-tag-info/cl-editor-tag-info.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor-textbox-options/cl-editor-textbox-options.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor-textbox-options/cl-editor-textbox-options.component.html","./src/app/controls/checklist-components/cl-editor/cl-editor.component.ts","./src/app/controls/checklist-components/cl-editor/cl-editor.component.html","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-info/cl-image-upload-info.component.ts","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-info/cl-image-upload-info.component.html","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table-data.service.ts","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table-data/cl-editor-table-channels-add/cl-editor-table-channels-add.component.ts","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table-data/cl-editor-table-channels-add/cl-editor-table-channels-add.component.html","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table-data/cl-image-upload-table-data.component.ts","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table-data/cl-image-upload-table-data.component.html","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table.component.ts","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table.component.html","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload.component.ts","./src/app/controls/checklist-components/cl-image-upload/cl-image-upload.component.html","./src/app/controls/checklist-components/cl-location/cl-location.component.ts","./src/app/controls/checklist-components/cl-location/cl-location.component.html","./src/app/controls/checklist-components/cl-multiple-textbox/cl-multiple-textbox.component.ts","./src/app/controls/checklist-components/cl-multiple-textbox/cl-multiple-textbox.component.html","./src/app/controls/checklist-components/cl-note/cl-note.component.ts","./src/app/controls/checklist-components/cl-note/cl-note.component.html","./src/app/controls/checklist-components/cl-olog/cl-olog.component.ts","./src/app/controls/checklist-components/cl-olog/cl-olog.component.html","./src/app/controls/checklist-components/cl-rad-location/cl-rad-location.component.ts","./src/app/controls/checklist-components/cl-rad-location/cl-rad-location.component.html","./src/app/controls/checklist-components/cl-rad-meters/cl-rad-meters-add/cl-rad-meters-add.component.ts","./src/app/controls/checklist-components/cl-rad-meters/cl-rad-meters-add/cl-rad-meters-add.component.html","./src/app/controls/checklist-components/cl-rad-meters/cl-rad-meters.component.ts","./src/app/controls/checklist-components/cl-rad-meters/cl-rad-meters.component.html","./src/app/controls/checklist-components/cl-rad-monitor-due-date/cl-rad-monitor-due-date.component.ts","./src/app/controls/checklist-components/cl-rad-monitor-due-date/cl-rad-monitor-due-date.component.html","./src/app/controls/checklist-components/cl-rad-monitor/cl-rad-monitor.component.ts","./src/app/controls/checklist-components/cl-rad-monitor/cl-rad-monitor.component.html","./src/app/controls/checklist-components/cl-radio-placeholder-cond/cl-radio-placeholder-cond.component.ts","./src/app/controls/checklist-components/cl-radio-placeholder-cond/cl-radio-placeholder-cond.component.html","./src/app/controls/checklist-components/cl-restrictions/cl-restrictions.component.ts","./src/app/controls/checklist-components/cl-restrictions/cl-restrictions.component.html","./src/app/controls/checklist-components/cl-schedule-absi/cl-schedule-absi.component.ts","./src/app/controls/checklist-components/cl-schedule-absi/cl-schedule-absi.component.html","./src/app/controls/checklist-components/cl-schedule-and-checkbox/cl-schedule-and-checkbox.component.ts","./src/app/controls/checklist-components/cl-schedule-and-checkbox/cl-schedule-and-checkbox.component.html","./src/app/controls/checklist-components/cl-shieldings/cl-shieldings.component.ts","./src/app/controls/checklist-components/cl-shieldings/cl-shieldings.component.html","./src/app/controls/checklist-components/cl-status-change/cl-status-change.component.ts","./src/app/controls/checklist-components/cl-status-change/cl-status-change.component.html","./src/app/controls/checklist-components/cl-subtitle/cl-subtitle.component.ts","./src/app/controls/checklist-components/cl-subtitle/cl-subtitle.component.html","./src/app/controls/checklist-components/cl-text/cl-text.component.ts","./src/app/controls/checklist-components/cl-text/cl-text.component.html","./src/app/controls/checklist-components/extra-action-button/extra-action-button.component.ts","./src/app/controls/checklist-components/extra-action-button/extra-action-button.component.html","./src/app/controls/checklist-components/master-control/master-control.component.ts","./src/app/controls/checklist-components/master-control/master-control.component.html","./src/app/controls/checklist-components/op-approval-w-checklists/op-approval-w-checklists.component.ts","./src/app/controls/checklist-components/op-approval-w-checklists/op-approval-w-checklists.component.html","./src/app/controls/checklist-components/question-signature/question-signature.component.ts","./src/app/controls/checklist-components/question-signature/question-signature.component.html","./src/app/controls/checklist-status/checklist-status.component.ts","./src/app/controls/checklist-status/checklist-status.component.html","./src/app/controls/color-picker/color-picker.component.ts","./src/app/controls/color-picker/color-picker.component.html","./src/app/controls/comments-and-attachments/comments-and-attachments.component.ts","./src/app/controls/comments-and-attachments/comments-and-attachments.component.html","./src/app/controls/comments-and-attachments/comments-and-attachments.module.ts","./src/app/controls/comments-and-attachments/services/comments.service.ts","./src/app/controls/comments-and-attachments/store/comments.action.ts","./src/app/controls/comments-and-attachments/store/comments.state.ts","./src/app/controls/comments-and-attachments/store/comments.store.ts","./src/app/controls/comments-box/comments-box-edit/comments-box-edit.component.ts","./src/app/controls/comments-box/comments-box-edit/comments-box-edit.component.html","./src/app/controls/comments-box/comments-box.component.ts","./src/app/controls/comments-box/comments-box.component.html","./src/app/controls/comments-box/comments-box.module.ts","./src/app/controls/comments-summary/comments-summary.component.ts","./src/app/controls/comments-summary/comments-summary.component.html","./src/app/controls/confirm-message/confirm-message.component.ts","./src/app/controls/confirm-message/confirm-message.component.html","./src/app/controls/datetime-picker/datetime-picker.component.ts","./src/app/controls/datetime-picker/datetime-picker.component.html","./src/app/controls/disapproval-reason/disapproval-reason.component.ts","./src/app/controls/disapproval-reason/disapproval-reason.component.html","./src/app/controls/file-upload-v2/file-upload-v2.component.ts","./src/app/controls/file-upload-v2/file-upload-v2.component.html","./src/app/controls/filter-box/filter-box.component.ts","./src/app/controls/filter-box/filter-box.component.html","./src/app/controls/form-table/form-table.component.ts","./src/app/controls/form-table/form-table.component.html","./src/app/controls/form-table/form.service.ts","./src/app/controls/form-table/store/forms.action.ts","./src/app/controls/form-table/store/forms.state.ts","./src/app/controls/form-table/store/forms.store.ts","./src/app/controls/initials-chip/initials-chip.component.ts","./src/app/controls/initials-chip/initials-chip.component.html","./src/app/controls/mat-checkbox-with-label/mat-checkbox-with-label.component.ts","./src/app/controls/mat-checkbox-with-label/mat-checkbox-with-label.component.html","./src/app/controls/mat-checkbox-with-roles/mat-checkbox-with-roles.component.ts","./src/app/controls/mat-checkbox-with-roles/mat-checkbox-with-roles.component.html","./src/app/controls/normal-input-dialog/normal-input-dialog.component.ts","./src/app/controls/normal-input-dialog/normal-input-dialog.component.html","./src/app/controls/notes/notes.component.ts","./src/app/controls/notes/notes.component.html","./src/app/controls/notifications/notification.component.ts","./src/app/controls/notifications/notification.component.html","./src/app/controls/olog/partial-olog/partial-olog.component.ts","./src/app/controls/olog/partial-olog/partial-olog.component.html","./src/app/controls/other-system-chips/other-system-chips.component.ts","./src/app/controls/other-system-chips/other-system-chips.component.html","./src/app/controls/overlay-loading/overlay-loading.component.ts","./src/app/controls/overlay-loading/overlay-loading.component.html","./src/app/controls/pending-changes-dialog/pending-changes-dialog-response.ts","./src/app/controls/pending-changes-dialog/pending-changes-dialog.component.ts","./src/app/controls/pending-changes-dialog/pending-changes-dialog.component.html","./src/app/controls/procedure-autocomplete/procedure-autocomplete.component.ts","./src/app/controls/procedure-autocomplete/procedure-autocomplete.component.html","./src/app/controls/pvinfo/pvinfo-details/pvinfo-details.component.ts","./src/app/controls/pvinfo/pvinfo-details/pvinfo-details.component.html","./src/app/controls/pvinfo/pvinfo.component.ts","./src/app/controls/pvinfo/pvinfo.component.html","./src/app/controls/reject-dialog/reject-dialog.component.ts","./src/app/controls/reject-dialog/reject-dialog.component.html","./src/app/controls/related-documents/related-documents.component.ts","./src/app/controls/related-documents/related-documents.component.html","./src/app/controls/related-link-chips/related-link-chips.component.ts","./src/app/controls/related-link-chips/related-link-chips.component.html","./src/app/controls/related-link-document-chips/related-link-document-chips.component.ts","./src/app/controls/related-link-document-chips/related-link-document-chips.component.html","./src/app/controls/resource-chips/resource-chips.component.ts","./src/app/controls/resource-chips/resource-chips.component.html","./src/app/controls/resources/resource-autocomplete/resource-autocomplete.component.ts","./src/app/controls/resources/resource-autocomplete/resource-autocomplete.component.html","./src/app/controls/restrictions/form-restriction-table/form-restriction-table.component.ts","./src/app/controls/restrictions/form-restriction-table/form-restriction-table.component.html","./src/app/controls/restrictions/restriction-available-autocomplete/restriction-available-autocomplete.component.ts","./src/app/controls/restrictions/restriction-available-autocomplete/restriction-available-autocomplete.component.html","./src/app/controls/restrictions/services/restriction.service.ts","./src/app/controls/restrictions/services/restriction.ts","./src/app/controls/role-chips/role-chips.component.ts","./src/app/controls/role-chips/role-chips.component.html","./src/app/controls/role-selection/role-selection.component.ts","./src/app/controls/role-selection/role-selection.component.html","./src/app/controls/rss-test-shutter-chips/rss-test-shutter-chips.component.ts","./src/app/controls/rss-test-shutter-chips/rss-test-shutter-chips.component.html","./src/app/controls/textarea-dialog/textarea-dialog.component.ts","./src/app/controls/textarea-dialog/textarea-dialog.component.html","./src/app/controls/transaction-log/store/transaction-log.action.ts","./src/app/controls/transaction-log/store/transaction-log.state.ts","./src/app/controls/transaction-log/store/transaction-log.store.ts","./src/app/controls/transaction-log/transaction-log-amendments/transaction-log-amendments.component.ts","./src/app/controls/transaction-log/transaction-log-amendments/transaction-log-amendments.component.html","./src/app/controls/transaction-log/transaction-log-approvals/transaction-log-approvals.component.ts","./src/app/controls/transaction-log/transaction-log-approvals/transaction-log-approvals.component.html","./src/app/controls/transaction-log/transaction-log.component.ts","./src/app/controls/transaction-log/transaction-log.component.html","./src/app/controls/user-autocomplete-popup/user-autocomplete-popup.component.ts","./src/app/controls/user-autocomplete-popup/user-autocomplete-popup.component.html","./src/app/controls/user/user-select/user-select.component.ts","./src/app/controls/user/user-select/user-select.component.html","./src/app/controls/waiting-dots/waiting-dots.component.ts","./src/app/controls/waiting-dots/waiting-dots.component.html","./src/app/controls/waiting-text/waiting-text.component.ts","./src/app/controls/waiting-text/waiting-text.component.html","./src/app/controls/worker-verification/store/worker-verification/worker-verification.action.ts","./src/app/controls/worker-verification/store/worker-verification/worker-verification.state.ts","./src/app/controls/worker-verification/store/worker-verification/worker-verification.store.ts","./src/app/controls/worker-verification/worker-verification.component.ts","./src/app/controls/worker-verification/worker-verification.component.html","./src/app/controls/yes-no-dialog/yes-no-dialog.component.ts","./src/app/controls/yes-no-dialog/yes-no-dialog.component.html","./src/app/interceptors/interceptorProviders.ts","./src/app/interceptors/token.interceptor.ts","./src/app/modules/file-upload/file-upload-module.ts","./src/app/modules/file-upload/lib/mat-file-list/mat-file-list.component.ts","./src/app/modules/file-upload/lib/mat-file-list/mat-file-list.component.html","./src/app/modules/file-upload/lib/mat-file-upload.component.ts","./src/app/modules/file-upload/lib/mat-file-upload.component.html","./src/app/modules/file-upload/lib/mat-file-upload.module.ts","./src/app/modules/file-upload/lib/mat-file-upload.service.ts","./src/app/modules/file-upload/lib/mat-file-v2-upload/mat-file-v2-upload.component.ts","./src/app/modules/file-upload/lib/mat-file-v2-upload/mat-file-v2-upload.component.html","./src/app/modules/file-upload/lib/mat-file/mat-file-progress.ts","./src/app/modules/file-upload/lib/mat-file/mat-file.component.ts","./src/app/modules/file-upload/lib/mat-file/mat-file.component.html","./src/app/modules/libs/condition-parser.ts","./src/app/modules/libs/quill/quill-custom-image-resize/custom-image-resize.ts","./src/app/modules/libs/quill/quill-custom-image-resize/quill-custom-names.ts","./src/app/modules/libs/utils.ts","./src/app/modules/pipes/highlightable-search.pipe.ts","./src/app/modules/pipes/linkify/linkify.pipe.ts","./src/app/modules/pipes/placeholder-highlight-pipe.pipe.ts","./src/app/modules/shared.module.ts","./src/app/services/alert/alert.service.ts","./src/app/services/alert/store/alert.action.ts","./src/app/services/alert/store/alert.state.ts","./src/app/services/alert/store/alert.store.ts","./src/app/services/authentication/authentication.service.ts","./src/app/services/authentication/token-info.service.ts","./src/app/services/dialogs/dialog.service.ts","./src/app/services/documents/documents.service.ts","./src/app/services/documents/documents.ts","./src/app/services/documents/store/documents.action.ts","./src/app/services/documents/store/documents.state.ts","./src/app/services/documents/store/documents.store.ts","./src/app/services/file/file-v2.model.ts","./src/app/services/file/file-v2.service.ts","./src/app/services/file/image-upload.service.ts","./src/app/services/forms/form-restriction.ts","./src/app/services/forms/form-status.ts","./src/app/services/forms/form-version.service.ts","./src/app/services/forms/form-version.ts","./src/app/services/forms/form.ts","./src/app/services/forms/sequence-number.ts","./src/app/services/generic-http.service.ts","./src/app/services/logs/transaction-log.service.ts","./src/app/services/navigation-links/navigation-link.service.ts","./src/app/services/navigation-links/navigation-link.ts","./src/app/services/notes/note.model.ts","./src/app/services/pending-approvals/pending-approval.ts","./src/app/services/placeholders/placeholders.service.ts","./src/app/services/placeholders/store/placeholder.action.ts","./src/app/services/placeholders/store/placeholder.state.ts","./src/app/services/placeholders/store/placeholder.store.ts","./src/app/services/pv-info/pv-info.service.ts","./src/app/services/pv-info/store/pv-info.action.ts","./src/app/services/pv-info/store/pv-info.state.ts","./src/app/services/pv-info/store/pv-info.store.ts","./src/app/services/role-privilege/privilege-category.service.ts","./src/app/services/role-privilege/privilege-enum.ts","./src/app/services/role-privilege/privilege.service.ts","./src/app/services/role-privilege/role-privilege.service.ts","./src/app/services/role-privilege/store/privilege-categories/privilege-categories.action.ts","./src/app/services/role-privilege/store/privilege-categories/privilege-categories.state.ts","./src/app/services/role-privilege/store/privilege-categories/privilege-categories.store.ts","./src/app/services/role-privilege/store/privilege/privilege.action.ts","./src/app/services/role-privilege/store/privilege/privilege.state.ts","./src/app/services/role-privilege/store/privilege/privilege.store.ts","./src/app/services/role-privilege/store/role-privilege/role-privilege.action.ts","./src/app/services/role-privilege/store/role-privilege/role-privilege.state.ts","./src/app/services/role-privilege/store/role-privilege/role-privilege.store.ts","./src/app/services/rss-functional-test/rss-functional-test.service.ts","./src/app/services/signal-r/init-store-listeners.service.ts","./src/app/services/signal-r/signal-r.service.ts","./src/app/services/signal-r/signalr-enums.ts","./src/app/services/site-configuration/site-configuration-service.ts","./src/app/services/tooltip-config.service.ts","./src/app/services/user-roles/user-role.service.ts","./src/app/services/work-flow/component.service.ts","./src/app/services/work-flow/work-flow.service.ts","./src/app/services/work-flow/work-flow.ts","./src/app/services/work-performer/work-performers.service.ts","./src/app/services/worker-verification/worker-verification.service.ts","./src/app/services/xml/xml-service.service.ts","./src/app/store/actions.ts","./src/app/store/app-state-service.ts","./src/app/store/channels.ts","./src/app/store/form-status/form-status.action.ts","./src/app/store/form-status/form-status.state.ts","./src/app/store/form-status/form-status.store.ts","./src/app/store/reducer.ts","./src/app/store/reducers.ts","./src/assets/config.ts","./src/environments/environment.ts","./src/environments/messages.ts","./src/environments/urls.prod.ts","./src/environments/urls.ts","./src/main.ts","./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { HomeComponent } from './components/home/home.component';\r\nimport { ScfV2Component } from './components/scf-v2/scf-v2.component';\r\nimport { RsswaComponent } from './components/rsswa/rsswa.component';\r\nimport { UnsavedChangesGuard } from './common/guards/unsaved-changes.guard';\r\nimport { EbComponent } from './components/eb/eb.component';\r\nimport { TemplateComponent } from './components/template/template.component';\r\nimport { RolesComponent } from './components/catalogs/roles/roles.component';\r\nimport { PpstbComponent } from './components/ppstb/ppstb.component';\r\nimport { KEComponent } from './components/kenable/kenable.component';\r\nimport { AbsiBuilderComponent } from './components/absi/absi-builder/absi-builder.component';\r\nimport { AbsiComponent } from './components/absi/absi.component';\r\nimport { PendingApprovalsV2Component } from './components/pending-approvals-v2/pending-approvals-v2.component';\r\nimport { MenuConfigComponent } from './components/menu-config/menu-config.component';\r\nimport { RedirectComponent } from './components/redirect/redirect.component';\r\nimport { OlogComponent } from './components/olog/olog.component';\r\nimport { BeamlineOverviewComponent } from './components/home/beamline-status/beamline-overview/beamline-overview/beamline-overview.component';\r\nimport { RedirectGuard } from './common/guards/redirect.guard';\r\nimport { PvInfoComponent } from './controls/pvinfo/pvinfo.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: '/home', pathMatch: 'full' },\r\n { path: 'home', component: HomeComponent },\r\n { path: 'scf', component: ScfV2Component, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'rsswa', component: RsswaComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'eb2', component: EbComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'eb', component: EbComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'ppstb', component: PpstbComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'template', component: TemplateComponent },\r\n { path: 'roles', component: RolesComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'kenable', component: KEComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'ke', component: KEComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'absi-builder', component: AbsiBuilderComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'absi', component: AbsiComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'pending-approvals', component: PendingApprovalsV2Component, canDeactivate: [RedirectGuard] },\r\n { path: 'menu-config', component: MenuConfigComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'redirect/:serialNo', component: RedirectComponent },\r\n { path: 'redirect/:serialNo/:id', component: RedirectComponent },\r\n { path: 'olog', component: OlogComponent },\r\n { path: 'beamline-overview', component: BeamlineOverviewComponent },\r\n { path: 'pv-info', component: PvInfoComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RouterModule.forRoot(routes, { useHash: true })],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { Component } from '@angular/core';\r\nimport { SignalRService } from './services/signal-r/signal-r.service';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { AuthenticationService } from './services/authentication/authentication.service';\r\nimport { AlertService } from './services/alert/alert.service';\r\nimport { Store } from '@ngxs/store';\r\nimport { SetCurrentUser } from './store/actions';\r\nimport { InitStoreAndListenersService } from './services/signal-r/init-store-listeners.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { RedirectService } from './components/redirect/redirect.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n title = 'ASCC-FE4.0';\r\n expired = false;\r\n\r\n constructor(\r\n private signalrService: SignalRService,\r\n private cookieService: CookieService,\r\n private authService: AuthenticationService,\r\n private alert: AlertService,\r\n private initService: InitStoreAndListenersService,\r\n private store: Store,\r\n private redirect: RedirectService\r\n ) {\r\n window.addEventListener('mousedown', this.updateMousePosition.bind(this));\r\n // window.addEventListener('mousemove', this.updateMousePosition.bind(this));\r\n }\r\n\r\n ngOnInit() {\r\n this.signalrService.startConnection();\r\n this.initService.initListeners();\r\n this.login();\r\n\r\n this.authService.getCookieValue().subscribe(data => {\r\n this.expired = true;\r\n this.login();\r\n });\r\n }\r\n\r\n private updateMousePosition(event: MouseEvent) {\r\n this.redirect.mouseX = event.clientX + 'px';\r\n this.redirect.mouseY = event.clientY + 'px';\r\n // localStorage.setItem('mouseX', event.clientX + 'px');\r\n // localStorage.setItem('mouseY', event.clientY + 'px');\r\n }\r\n\r\n login() {\r\n if (document.location.hostname === environment.productionEnvironment) {\r\n const cookieValue = this.cookieService.get('_shibobj');\r\n if (cookieValue) {\r\n const userEmail = JSON.parse(cookieValue).email;\r\n this.authService.loginMFA(userEmail).toPromise().then(response => {\r\n if (response?.code == 202) {\r\n console.log(\"User has been Authenticated from MFA\");\r\n }\r\n else {\r\n this.alert.error(\"User Not Found or Not Authorized, Please contact Control Room!\", \"Unauthorized!\");\r\n console.log(\"User not found\");\r\n this.authService.logout();\r\n }\r\n\r\n }).catch(error => {\r\n const errorMsg = error.status === 423 ? this.alert.message('Login_UserInactive') : error.status === 401 ? this.alert.message('Login_UserUndefined') : this.alert.defaultError();\r\n console.log(error);\r\n this.authService.logout();\r\n }).finally(() => this.initService.initStore());\r\n }\r\n else {\r\n if (this.expired)\r\n this.alert.warning(\r\n \"Your session has expired. For security purposes, please log in again.\", \"Session Expired\", -1);\r\n this.authService.logout();\r\n this.initService.initStore();\r\n }\r\n } else {\r\n this.store.dispatch(new SetCurrentUser(localStorage.getItem('Token')));\r\n this.initService.initStore();\r\n }\r\n }\r\n}\r\n","\r\n
\r\n \r\n
\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\n\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\n// import { NgxsPlugin, NGXS_PLUGINS } from '@ngxs/store';\r\nimport { NgxsLoggerPluginModule } from '@ngxs/logger-plugin';\r\n\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CommonModule } from '@angular/common';\r\nimport { reducers } from 'src/app/store/reducers';\r\nimport { config } from 'src/assets/config';\r\n// import { PreloadAllModules } from '@angular/router';\r\n\r\n// Angular Modules\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { ResizableModule } from 'angular-resizable-element';\r\n// import { ConnectionServiceModule } from 'ng-connection-service';\r\n\r\n// Angular Material Components\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldDefaultOptions } from '@angular/material/form-field';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatNativeDateModule } from '@angular/material/core';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatTabsModule, MAT_TAB_GROUP } from '@angular/material/tabs';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatTooltipModule, MAT_TOOLTIP_DEFAULT_OPTIONS } from '@angular/material/tooltip';\r\nimport { QuillModule } from 'ngx-quill';\r\n\r\n// Components\r\nimport { BaseComponent } from './common/base/base.component';\r\nimport { HeadPageComponent } from './components/head-page/head-page.component';\r\nimport { HeadLogoComponent } from './components/head-page/head-logo/head-logo.component';\r\nimport { HeadMenuComponent } from './components/head-page/head-menu/head-menu.component';\r\nimport { HeadMenuDropmenuComponent } from './components/head-page/head-menu/head-menu-dropmenu/head-menu-dropmenu.component';\r\nimport { HeadMenuSubmenuComponent } from './components/head-page/head-menu/head-menu-submenu/head-menu-submenu.component';\r\nimport { ToastrModule, provideToastr } from 'ngx-toastr';\r\nimport { HeadLoginComponent } from './components/head-page/head-login/head-login.component';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { LogoutComponent } from './components/login/logout/logout.component';\r\nimport { httpInterceptorProviders } from './interceptors/interceptorProviders';\r\nimport { HeadActionButtonsComponent } from './components/head-page/action-buttons/head-action-buttons.component';\r\nimport { HomeComponent } from './components/home/home.component';\r\nimport { AcceleratorStatusComponent } from './components/home/accelerator-status/accelerator-status.component';\r\nimport { BeamStatusComponent } from './components/home/beamline-status/beamline-status.component';\r\nimport { CurrentActivityComponent } from './components/home/current-activity/current-activity.component';\r\nimport { BulletinBoardComponent } from './components/home/bulletin-board/bulletin-board.component';\r\nimport { ModalHistoryBBComponent } from './components/home/bulletin-board/modal-history-bb/modal-history-bb.component';\r\nimport { ModalAddToBBComponent } from './components/home/bulletin-board/modal-add-to-bb/modal-add-to-bb.component';\r\nimport { BranchlineStatusComponent } from './components/home/branchline-status/branchline-status.component';\r\nimport { YesNoDialogComponent } from './controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { ResourcesService } from './components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { SendIdService } from './components/home/beamline-status/send-id.service';\r\nimport { ToxicGasPanelComponent } from './components/home/toxic-gas-panel/toxic-gas-panel.component';\r\nimport { ToxicGasArchiveComponent } from './components/home/toxic-gas-panel/archive/toxic-gase-archive.component';\r\nimport { ToxicGasEditorComponent } from './components/home/toxic-gas-panel/editor/toxic-gas-editor.component';\r\nimport { BakeoutsPanelComponent } from './components/home/bakeouts-panel/bakeouts-panel.component';\r\nimport { BakeoutArchiveComponent } from './components/home/bakeouts-panel/archive/archive.component';\r\nimport { BakeoutEditorComponent } from './components/home/bakeouts-panel/editor/editor.component';\r\nimport { PendingChangesDialogComponent } from './controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { TooltipConfigService } from './services/tooltip-config.service';\r\nimport { SharedModule } from './modules/shared.module';\r\nimport { ScfV2Module } from './components/scf-v2/scf-v2.module';\r\nimport { RsswaModule } from './components/rsswa/rsswa.module';\r\nimport { KenableModule } from './components/kenable/kenable.module';\r\nimport { EbModule } from './components/eb/eb.module';\r\nimport { TemplateModule } from './components/template/template.module';\r\nimport { RolesModule } from './components/catalogs/roles/roles.module';\r\nimport { CanDeactivateService } from './common/guards/unsaved-changes.guard';\r\nimport { PpstbModule } from './components/ppstb/ppstb.module';\r\nimport { ComponentService } from './services/work-flow/component.service';\r\nimport { AbsiModule } from './components/absi/absi.module';\r\nimport { ChecklistsModule } from './components/checklists/checklists.module';\r\nimport { CatalogsModule } from './components/catalogs/catalogs.module';\r\nimport { ReviewsModule } from './components/reviews/reviews.module';\r\nimport { ScheduleModule } from './components/schedules/schedule.module';\r\nimport { ProcedureModule } from './components/procedure/procedure.module';\r\nimport { AplModule } from './components/apl/apl.module';\r\nimport { PendingApprovalsV2Module } from './components/pending-approvals-v2/pending-approvals-v2.module';\r\nimport { BratoiModule } from './components/catalogs/bratoi/bratoi.module';\r\nimport { SiteConfigurationComponent } from './components/site-configuration/site-configuration.component';\r\nimport { ComponentRegistry } from './common/extensions/decorator';\r\nimport { MessagesModule } from './components/messages/messages.module';\r\nimport { MenuConfigComponent } from './components/menu-config/menu-config.component';\r\nimport { MenuConfigHeadComponent } from './components/menu-config/menu-config-head/menu-config-head.component';\r\nimport { MenuConfigActionsComponent } from './components/menu-config/menu-config-actions/menu-config-actions.component';\r\nimport { MenuConfigEditComponent } from './components/menu-config/menu-config-edit/menu-config-edit.component';\r\nimport { SearchDialogComponent } from './components/head-page/head-search/search-dialog/search-dialog.component';\r\nimport { RedirectComponent } from './components/redirect/redirect.component';\r\nimport { OlogComponent } from './components/olog/olog.component';\r\nimport { OlogMainComponent } from './components/olog/olog-main/olog-main.component';\r\nimport 'src/app/common/extensions/extensions';\r\nimport { HighlightModule, HIGHLIGHT_OPTIONS } from 'ngx-highlightjs';\r\nimport { RadiationAreaComponent } from './components/home/radiation-area/radiation-area.component';\r\nimport { ModalAddToRAComponent } from './components/home/radiation-area/modal-add-to-ra/modal-add-to-ra.component';\r\nimport { MatFileUploadModule } from './modules/file-upload/file-upload-module';\r\nimport { BeamlineOverviewComponent } from './components/home/beamline-status/beamline-overview/beamline-overview/beamline-overview.component';\r\nimport { BeamlineOverviewDetailsComponent } from './components/home/beamline-status/beamline-overview/beamline-overview-details/beamline-overview-details.component';\r\nimport { RedirectDialogComponent } from './components/redirect/redirect-dialog/redirect-dialog.component';\r\nimport { RedirectService } from './components/redirect/redirect.service';\r\n\r\n\r\nimport { MatSliderModule } from '@angular/material/slider';\r\nimport { HeadLogoTooltipComponent } from './components/head-page/head-logo/head-logo-tooltip/head-logo-tooltip.component';\r\nimport { HeadLogoAboutComponent } from './components/head-page/head-logo/head-logo-about/head-logo-about.component';\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n BaseComponent,\r\n HeadPageComponent,\r\n HeadLogoComponent,\r\n HeadMenuComponent,\r\n HeadMenuDropmenuComponent,\r\n HeadMenuSubmenuComponent,\r\n HeadLoginComponent,\r\n HeadActionButtonsComponent,\r\n LoginComponent,\r\n LogoutComponent,\r\n HomeComponent,\r\n AcceleratorStatusComponent,\r\n BeamStatusComponent,\r\n BeamlineOverviewComponent,\r\n BeamlineOverviewDetailsComponent,\r\n CurrentActivityComponent,\r\n BulletinBoardComponent,\r\n RadiationAreaComponent,\r\n ModalHistoryBBComponent,\r\n ModalAddToBBComponent,\r\n ModalAddToRAComponent,\r\n BranchlineStatusComponent,\r\n ToxicGasPanelComponent,\r\n ToxicGasArchiveComponent,\r\n ToxicGasEditorComponent,\r\n BakeoutsPanelComponent,\r\n BakeoutArchiveComponent,\r\n BakeoutEditorComponent,\r\n SiteConfigurationComponent,\r\n\r\n //Controls\r\n YesNoDialogComponent,\r\n PendingChangesDialogComponent,\r\n MenuConfigComponent,\r\n MenuConfigHeadComponent,\r\n MenuConfigActionsComponent,\r\n MenuConfigEditComponent,\r\n\r\n SearchDialogComponent,\r\n RedirectComponent,\r\n OlogComponent,\r\n OlogMainComponent,\r\n RedirectDialogComponent,\r\n HeadLogoTooltipComponent,\r\n HeadLogoAboutComponent,\r\n ],\r\n imports: [\r\n BrowserModule,\r\n AppRoutingModule,\r\n NgbModule,\r\n CommonModule,\r\n BrowserAnimationsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatMenuModule,\r\n MatSidenavModule,\r\n HighlightModule,\r\n ResizableModule,\r\n ToastrModule.forRoot({\r\n timeOut: 3000,\r\n positionClass: 'toast-bottom-right',\r\n preventDuplicates: true\r\n }),\r\n QuillModule.forRoot(),\r\n NgxsModule.forRoot(reducers),\r\n // NgxsLoggerPluginModule.forRoot(),\r\n\r\n /// ASCC Modules\r\n TemplateModule,\r\n SharedModule,\r\n ScfV2Module,\r\n RsswaModule,\r\n KenableModule,\r\n RolesModule,\r\n EbModule,\r\n PpstbModule,\r\n AbsiModule,\r\n ChecklistsModule,\r\n CatalogsModule,\r\n ReviewsModule,\r\n ScheduleModule,\r\n ProcedureModule,\r\n AplModule,\r\n PendingApprovalsV2Module,\r\n BratoiModule,\r\n MessagesModule,\r\n MatSliderModule\r\n ],\r\n providers: [\r\n ResourcesService,\r\n SendIdService,\r\n ComponentRegistry,\r\n RedirectService,\r\n httpInterceptorProviders,\r\n {\r\n provide: MAT_TAB_GROUP,\r\n useValue: undefined,\r\n },\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n {\r\n provide: HIGHLIGHT_OPTIONS,\r\n useValue: {\r\n fullLibraryLoader: () => import('highlight.js')\r\n },\r\n },\r\n // provideAnimations(), // required animations providers\r\n provideToastr(), // Toastr providers\r\n TooltipConfigService,\r\n CanDeactivateService,\r\n ComponentService,\r\n { provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useExisting: TooltipConfigService },\r\n ],\r\n exports: [\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class AppModule {\r\n\r\n}\r\n","import { ChangeDetectorRef, Component, HostBinding, Injector } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { TooltipComponent } from '@angular/material/tooltip';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { MessageBannerService } from 'src/app/components/messages/services/message-banner.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { FormStatusEnum, FormType, ResourceType, Roles } from '../enumerations/enumerations';\r\nimport { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';\r\nimport { DatePipe } from '@angular/common';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { CanDeactivateService } from '../guards/unsaved-changes.guard';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { COMMA, ENTER } from '@angular/cdk/keycodes';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { MessagePlaceholder } from '../models/placeholder';\r\nimport { RedirectService } from 'src/app/components/redirect/redirect.service';\r\nimport { DocumentCategory } from 'src/app/services/documents/documents';\r\nimport { FormVersion } from 'src/app/services/forms/form-version';\r\nimport { ChecklistExecStatus } from 'src/app/components/checklists/checklists';\r\nimport { Servers } from '../enumerations/servers-enum';\r\nimport { ImageUploadService } from 'src/app/services/file/image-upload.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { DialogService } from 'src/app/services/dialogs/dialog.service';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { MatSort } from '@angular/material/sort';\r\n\r\n@Component({\r\n selector: 'app-base',\r\n templateUrl: './base.component.html',\r\n styleUrls: ['./base.component.scss']\r\n})\r\nexport class BaseComponent {\r\n\r\n private subs: Subscription = new Subscription;\r\n public currentUser!: User | null;\r\n\r\n public users: User[] = [];\r\n private users$!: Observable;\r\n private usersSubs: Subscription = new Subscription;\r\n\r\n private messageBanners$!: Observable;\r\n private messageBannersSubs!: Subscription;\r\n\r\n private _mbs!: MessageBannerService;\r\n private _ass!: AppStateService;\r\n private _tis!: TokenInfoService;\r\n private _cds: CanDeactivateService;\r\n private _san!: DomSanitizer;\r\n private _http!: HttpClient;\r\n\r\n public store!: Store;\r\n public alert!: AlertService;\r\n public dialog!: MatDialog;\r\n public formBuilder!: FormBuilder;\r\n public formGroup!: FormGroup;\r\n public cdRef!: ChangeDetectorRef;\r\n\r\n public redirect: RedirectService;\r\n public dialogService!: DialogService;\r\n public imageUpload: ImageUploadService;\r\n\r\n public mouseX: number = 0;\r\n public mouseY: number = 0;\r\n\r\n //Enumerations\r\n formStatusEnum = FormStatusEnum;\r\n formTypeEnum = FormType;\r\n privilegeEnum = PrivilegeEnum;\r\n resourceTypeEnum = ResourceType;\r\n roleEnum = Roles;\r\n\r\n servers = Servers;\r\n environment = document.location.hostname;\r\n\r\n moduleTitle = 'Template Module Title';\r\n\r\n isExpanded = true;\r\n showSubmenu = false;\r\n isShowing = false;\r\n showSubSubMenu = false;\r\n innerWidth = window.innerWidth;\r\n innerHeight = window.innerHeight;\r\n\r\n utils = utils;\r\n\r\n separatorKeysCodes: number[] = [ENTER, COMMA];\r\n\r\n constructor(\r\n protected injector: Injector,\r\n ) {\r\n this._mbs = this.injector.get(MessageBannerService);\r\n this._ass = this.injector.get(AppStateService);\r\n this._tis = this.injector.get(TokenInfoService);\r\n this._cds = this.injector.get(CanDeactivateService);\r\n this._san = this.injector.get(DomSanitizer);\r\n this._http = this.injector.get(HttpClient);\r\n this.store = this.injector.get(Store);\r\n this.alert = this.injector.get(AlertService);\r\n this.dialog = this.injector.get(MatDialog);\r\n this.formBuilder = this.injector.get(FormBuilder);\r\n this.redirect = this.injector.get(RedirectService);\r\n this.imageUpload = this.injector.get(ImageUploadService);\r\n this.dialogService = this.injector.get(DialogService);\r\n this.cdRef = this.injector.get(ChangeDetectorRef);\r\n\r\n this.loadUsers();\r\n this.loadMessages();\r\n this.enableHTMLCodeOnTooltips();\r\n this.observeResize();\r\n this.loadCurrentUser();\r\n }\r\n\r\n loadMessages() {\r\n this.messageBanners$ = this.store.select(state => state.MessageBanners.items);\r\n this.messageBannersSubs = this.messageBanners$.subscribe(data => {\r\n if (data?.length) {\r\n this._mbs.messageBanners = data;\r\n }\r\n });\r\n }\r\n\r\n loadCurrentUser() {\r\n this.subs = this._ass.AppState.subscribe(appstate => {\r\n this.currentUser = appstate.currentUser;\r\n this.currentUserUpdated();\r\n });\r\n }\r\n\r\n currentUserUpdated(): void {\r\n // this.method show be overridden in derived class to trigger other methos when user updates!\r\n };\r\n\r\n loadUsers() {\r\n this.users$ = this.store.select(state => state.Users.data);\r\n this.usersSubs = this.users$.subscribe(data => {\r\n if (data?.length) {\r\n this.users = data;\r\n }\r\n });\r\n }\r\n\r\n getCurrentUser(min = false): User | undefined | null {\r\n if (!min)\r\n return this.currentUser;\r\n else return { id: this.currentUser?.id, name: this.currentUser?.name, initials: this.currentUser?.initials, emailAddress: this.currentUser?.emailAddress, username: this.currentUser?.username, userRole: this.currentUser?.userRole }\r\n }\r\n\r\n getCurrentUserInfo(): User | undefined | null {\r\n return { id: this.currentUser?.id, name: this.currentUser?.name, initials: this.currentUser?.initials, emailAddress: this.currentUser?.emailAddress, username: this.currentUser?.username }\r\n }\r\n\r\n getUsers() {\r\n this.loadUsers();\r\n return this.users ?? [];\r\n }\r\n\r\n getUser(id?: number) {\r\n this.getUsers();\r\n return this.users.find(u => u.id == id);\r\n }\r\n\r\n getUserInfo(id: number): User | undefined | null {\r\n const user = this.users.find(u => u.id == id);\r\n return { id: user?.id, name: user?.name, initials: user?.initials, emailAddress: user?.emailAddress, username: user?.username }\r\n }\r\n\r\n getMessage(val: number | string): MessageBanner {\r\n if (typeof (val) === 'string')\r\n return this._mbs.get(val);\r\n // if (typeof (val) === 'number')\r\n // return this._mbs.getById(val) as MessageBanner;\r\n return {} as MessageBanner;\r\n }\r\n\r\n hasPrivilege(privilege: PrivilegeEnum): boolean {\r\n return this._tis.hasPrivilege(privilege) ?? false;\r\n }\r\n\r\n /**\r\n * Determines whether the Current User roles includes any of the roles in the roles array, returning true or false as appropriate.\r\n * @param roles The array of Roles to evaluate, can be a Role class array or Role Enumeration array or number array.\r\n */\r\n hasRoles(roles?: Role[] | Roles[] | number[] | null) {\r\n if (!roles) return false;\r\n let roleIds = [];\r\n\r\n if (roles.some((r: any) => this.isRole(r))) {\r\n roleIds = (roles as Role[]).map((r: Role) => r?.id);\r\n } else {\r\n roleIds = roles as number[];\r\n }\r\n const intersect = utils.intersect(this.currentUser?.userRole?.map((x) => x.roleID), roleIds);\r\n return intersect;\r\n }\r\n\r\n private isRole(r: any) {\r\n return typeof r == 'object';\r\n }\r\n\r\n\r\n isSA() {\r\n return this.hasRoles([Roles.SA]) ?? false;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subs?.unsubscribe();\r\n this.usersSubs?.unsubscribe();\r\n this.messageBannersSubs?.unsubscribe();\r\n }\r\n\r\n enableHTMLCodeOnTooltips() {\r\n try {\r\n Object.defineProperty(TooltipComponent.prototype, 'message', {\r\n set(v: any) {\r\n const el = document.querySelectorAll('.mdc-tooltip__surface');\r\n\r\n if (el) {\r\n el[el.length - 1].innerHTML = v;\r\n }\r\n },\r\n });\r\n } catch (error) {\r\n\r\n }\r\n }\r\n\r\n @HostBinding('attr.title')\r\n get disableTitleAttribute(): null {\r\n return null; // Return null to prevent the title attribute from being added\r\n }\r\n\r\n observeResize() {\r\n const element = $(\"#left-nav-buttons\")[0] as Element;\r\n const buttons = $(\"#sidenav-content-buttons\")[0];\r\n const resizeObserver = new ResizeObserver(() => {\r\n this.setHeights();\r\n });\r\n if (element)\r\n resizeObserver.observe(element);\r\n if (buttons)\r\n resizeObserver.observe(buttons);\r\n window.addEventListener(\r\n \"resize\",\r\n () => {\r\n this.setHeights();\r\n },\r\n true\r\n );\r\n }\r\n\r\n formatDate(date: Date | undefined | string | null): string | null {\r\n const datePipe = new DatePipe('en-US');\r\n return datePipe.transform(date, 'MM-dd-yyyy');\r\n }\r\n\r\n formatDatePipe(date: Date | string, format: string): string {\r\n const datePipe = new DatePipe('en-US');\r\n return datePipe.transform(date, format) || '';\r\n }\r\n\r\n stripDesc(html: any) {\r\n let doc = new DOMParser().parseFromString(html, \"text/html\");\r\n if (doc.body.textContent == 'undefined') doc.body.textContent = '';\r\n return doc.body.textContent || \"\";\r\n }\r\n\r\n setHeights(offset: number = 0) {\r\n setTimeout(() => {\r\n const sideNav = document.querySelector('mat-sidenav');\r\n if (sideNav) {\r\n const sideNavHeight = sideNav.clientHeight;\r\n const buttonsElement = $('#left-nav-buttons')[0];\r\n const buttonsHeight = buttonsElement?.clientHeight ?? 0;\r\n const tableContainer = $('.left-table-container')[0];\r\n if (tableContainer)\r\n tableContainer.style.height = (sideNavHeight - buttonsHeight - 102 + offset) + 'px';\r\n }\r\n }, 300);\r\n }\r\n\r\n setFormDirty(val: boolean = true) {\r\n this._cds.formDirty = val;\r\n }\r\n\r\n isFormDirty() {\r\n return this._cds.formDirty;\r\n }\r\n\r\n async canDeactivate(): Promise {\r\n if (this.isFormDirty())\r\n return await this._cds.canDeactivate();\r\n else return true;\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n getErrorMsg(control?: AbstractControl | null): string | null {\r\n if (control) {\r\n if (control.hasError(\"required\")) {\r\n return \"You must enter a value\";\r\n }\r\n if (control.hasError(\"hasWhiteSpace\") || control.hasError(\"invalid\")) {\r\n return \"Enter a valid value\";\r\n }\r\n if (control.hasError(\"invalidDate\") && control.errors && control.errors[\"invalidDate\"]) {\r\n return \"Enter a valid date\";\r\n }\r\n if (control.hasError(\"check\")) {\r\n return \"Check at least one checkbox\";\r\n }\r\n if (control.invalid) {\r\n return \"Enter a valid value\";\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n scrollToTop(e: any = window) {\r\n if (e == window)\r\n $(window).scrollTop(0);\r\n else {\r\n let element = $(e)[0];\r\n if (!element) element = $('.' + e);\r\n if (element) {\r\n element.animate({ scrollTop: 0 });\r\n }\r\n }\r\n }\r\n\r\n mouseenter() {\r\n // if (!this.isExpanded) {\r\n // this.isShowing = true;\r\n // }\r\n }\r\n\r\n toggleSidenav() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n mouseleave() {\r\n // if (!this.isExpanded) {\r\n // this.isShowing = false;\r\n // }\r\n }\r\n\r\n deleteSerialNo(serialNo?: string) {\r\n const BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n return this._http.delete(BASE_URL + '/SerialNumbers/' + serialNo);\r\n }\r\n\r\n sanitize(value?: string | null): SafeHtml {\r\n if (value)\r\n return this._san.bypassSecurityTrustHtml(value);\r\n return value ?? '';\r\n }\r\n\r\n clearInputValue(event: MatChipInputEvent) {\r\n const input = event.input;\r\n if (input) {\r\n input.value = '';\r\n }\r\n }\r\n\r\n validateRequiredControl(control: AbstractControl | null, label: string, value: boolean, prop?: string) {\r\n if ((!prop && !control?.value) || (prop && !control?.value[prop])) {\r\n control?.setErrors({ required: true });\r\n this.alert.message('generic_NotBlank', [new MessagePlaceholder('{what}', label)]);\r\n return false;\r\n }\r\n return value;\r\n }\r\n\r\n async checkOpenDocument(type: FormType | number, documents: T[]): Promise<{ document: T; closed: boolean; } | null> {\r\n const document = await this.redirect.getDocument(type);\r\n if (document) {\r\n const found = documents.find(a => a.id == document?.formID);\r\n let closed = false;\r\n switch (found?.type) {\r\n case FormType.PPSTB:\r\n case FormType.EBF:\r\n closed = found.formVersion?.statusID == FormStatusEnum.Closed || found.formVersion?.statusID == FormStatusEnum.Canceled;\r\n break;\r\n\r\n default:\r\n if (document.category == DocumentCategory.Checklist)\r\n closed = found?.checklistStatus?.formStatusID == FormStatusEnum.Closed || found?.checklistStatus?.formStatusID == FormStatusEnum.Canceled;\r\n else\r\n closed = found?.status == FormStatusEnum.Closed || found?.status == FormStatusEnum.Canceled;\r\n\r\n break;\r\n\r\n }\r\n return found ? { document: found as T, closed } : null;\r\n }\r\n return null;\r\n }\r\n\r\n setOpenDocument(type: FormType, id?: number) {\r\n this.redirect.document = null;\r\n if (id) {\r\n const open = this.redirect.openDocuments.find(o => o.type == type);\r\n if (!open)\r\n this.redirect.openDocuments.push({ id, type });\r\n else {\r\n open.id = id;\r\n }\r\n }\r\n else {\r\n const index = this.redirect.openDocuments.findIndex(o => o.type == type);\r\n this.redirect.openDocuments.splice(index, 1);\r\n }\r\n }\r\n\r\n async showAproveToActiveMessage(): Promise {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('toActiveWarning').description,\r\n icon: 'warn',\r\n },\r\n });\r\n return await confirm.afterClosed().toPromise();\r\n }\r\n\r\n isAnyDialogOpen(): boolean {\r\n return this.dialog.openDialogs.length > 0;\r\n }\r\n\r\n setSort(dataSource: MatTableDataSource, sort: MatSort) {\r\n setTimeout(() => {\r\n dataSource.sortData = (data, sort) => {\r\n const active = sort.active;\r\n const direction = sort.direction;\r\n\r\n if (!active || direction === '') {\r\n return data;\r\n }\r\n\r\n return data.sort((a, b) => {\r\n const valueA = dataSource.sortingDataAccessor(a, active);\r\n const valueB = dataSource.sortingDataAccessor(b, active);\r\n\r\n const comparatorResult = this.utils.sortArrayAlphabeticallyWithComplexNumbers(valueA?.toString(), valueB?.toString());\r\n\r\n return direction === 'asc' ? comparatorResult : -comparatorResult;\r\n });\r\n };\r\n if (sort)\r\n dataSource.sort = sort;\r\n else {\r\n setTimeout(() => {\r\n this.setSort(dataSource, sort);\r\n }, 500);\r\n }\r\n }, 500);\r\n }\r\n\r\n getEmailAddressesFromRoles(roles: Roles[]): string[] {\r\n const emails: string[] = [];\r\n roles.forEach(r => {\r\n const users = this.users.filter(u => u.userRole?.find(ur => ur.roleID == r));\r\n users.forEach(u => {\r\n if (u.emailAddress && !emails.includes(`${u.name} <${u.emailAddress}>`))\r\n emails.push(`${u.name} <${u.emailAddress}>`);\r\n });\r\n });\r\n return emails;\r\n }\r\n\r\n}\r\n\r\n\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n\r\n\r\ninterface IOpenDocument {\r\n id?: number;\r\n status?: FormStatusEnum;\r\n type?: FormType | number | null;\r\n formVersion?: FormVersion;\r\n checklistStatus?: ChecklistExecStatus;\r\n}\r\n","import { HttpClient } from \"@angular/common/http\";\r\nimport { Injector } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\n\r\nimport { environment } from \"src/environments/environment\";\r\nimport { AlertService } from \"src/app/services/alert/alert.service\";\r\nimport { MessageBannerService } from \"src/app/components/messages/services/message-banner.service\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { AppStateService } from \"src/app/store/app-state-service\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { MatDialog } from \"@angular/material/dialog\";\r\nimport { MessageBanner } from \"src/app/components/messages/services/message-banner\";\r\nimport { Role } from \"src/app/components/catalogs/roles/services/role\";\r\nimport { Roles } from \"../enumerations/enumerations\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { TokenInfoService } from \"src/app/services/authentication/token-info.service\";\r\n\r\nexport class BaseService {\r\n\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n URL!: string;\r\n\r\n private _mbs!: MessageBannerService;\r\n private _ass!: AppStateService;\r\n private _tis!: TokenInfoService;\r\n http!: HttpClient;\r\n store!: Store;\r\n alert!: AlertService;\r\n utils!: utils;\r\n dialog!: MatDialog;\r\n\r\n subs: Subscription = new Subscription;\r\n public currentUser!: User | null;\r\n\r\n constructor(\r\n protected injector: Injector,\r\n protected endpoint: string\r\n ) {\r\n this.http = this.injector.get(HttpClient);\r\n this._mbs = this.injector.get(MessageBannerService);\r\n this._ass = this.injector.get(AppStateService);\r\n this.store = this.injector.get(Store);\r\n this.alert = this.injector.get(AlertService);\r\n this.dialog = this.injector.get(MatDialog);\r\n this._tis = this.injector.get(TokenInfoService);\r\n\r\n this.URL = this.BASE_URL + endpoint;\r\n this.subs = this._ass.AppState.subscribe(appstate => {\r\n this.currentUser = appstate?.currentUser;\r\n this.currentUserUpdated();\r\n });\r\n }\r\n\r\n currentUserUpdated(): void {\r\n // this.method show be overridden in derived class to trigger other methos when user updates!\r\n };\r\n\r\n create(data: T): Observable {\r\n return this.http.post(this.URL, data);\r\n }\r\n\r\n createRange(data: T[]): Observable {\r\n return this.http.post(this.URL + '/range', data);\r\n }\r\n\r\n getAll(): Observable {\r\n return this.http.get(this.URL);\r\n }\r\n\r\n getById(id: K): Observable {\r\n return this.http.get(this.URL + '/' + id);\r\n }\r\n\r\n update(data: T): Observable {\r\n return this.http.put(this.URL, data);\r\n }\r\n\r\n delete(id: K): Observable {\r\n return this.http.delete(this.URL + '/' + id);\r\n }\r\n\r\n hasPrivilege(privilege: PrivilegeEnum): boolean {\r\n return this._tis.hasPrivilege(privilege) ?? false;\r\n }\r\n\r\n hasRoles(roles?: Role[] | Roles[] | number[] | null) {\r\n if (!roles) return false;\r\n let roleIds = [];\r\n\r\n if (roles.some((r: any) => this.isRole(r))) {\r\n roleIds = (roles as Role[]).map((r: Role) => r?.id);\r\n } else {\r\n roleIds = roles as number[];\r\n }\r\n const intersect = utils.intersect(this.currentUser?.userRole?.map((x) => x.roleID), roleIds);\r\n return intersect;\r\n }\r\n\r\n private isRole(r: any) {\r\n return typeof r == 'object';\r\n }\r\n\r\n isSA() {\r\n return this.hasRoles([Roles.SA]) ?? false;\r\n }\r\n\r\n getMessage(val: number | string): MessageBanner {\r\n if (typeof (val) === 'string')\r\n return this._mbs.get(val);\r\n // if (typeof (val) === 'number')\r\n // return this._mbs.getById(val) as MessageBanner;\r\n return new MessageBanner();\r\n }\r\n\r\n}\r\n","import { Directive, ElementRef, Renderer2, HostListener, OnInit, Input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[resizableDialog]'\r\n})\r\nexport class ResizableDirective implements OnInit {\r\n @Input() resizableGrabWidth = 10;\r\n @Input() resizableMinWidth = 200;\r\n @Input() resizableMinHeight = 200;\r\n\r\n private draggingCorner = false;\r\n private startWidth!: number;\r\n private startHeight!: number;\r\n private startX!: number;\r\n private startY!: number;\r\n private originalWidth!: number;\r\n private originalHeight!: number;\r\n private fullscreen = false;\r\n private fullscreenIcon?: HTMLElement;\r\n private resizer?: HTMLElement;\r\n\r\n constructor(private el: ElementRef, private renderer: Renderer2) { }\r\n\r\n ngOnInit() {\r\n this.renderer.setStyle(this.el.nativeElement, 'max-height', window.innerHeight + 'px');\r\n const card = this.el.nativeElement.querySelector('.card');\r\n this.renderer.setStyle(card, 'max-height', window.innerHeight + 'px');\r\n // Create resizer handle\r\n this.resizer = this.renderer.createElement('mat-icon');\r\n this.renderer.setStyle(this.resizer, 'position', 'absolute');\r\n this.renderer.setStyle(this.resizer, 'right', '0');\r\n this.renderer.setStyle(this.resizer, 'bottom', '0');\r\n this.renderer.setStyle(this.resizer, 'cursor', 'se-resize');\r\n this.renderer.setStyle(this.resizer, 'color', '#888');\r\n this.renderer.setStyle(this.resizer, 'font-size', 'large');\r\n this.renderer.addClass(this.resizer, 'material-icons');\r\n this.renderer.addClass(this.resizer, 'diagonal-hidden');\r\n this.renderer.setProperty(this.resizer, 'innerHTML', 'texture');\r\n this.renderer.appendChild(this.el.nativeElement, this.resizer);\r\n\r\n // Create full screen icon\r\n this.fullscreenIcon = this.renderer.createElement('mat-icon');\r\n this.renderer.setAttribute(this.fullscreenIcon, 'aria-label', 'Toggle Full Screen');\r\n this.renderer.setStyle(this.fullscreenIcon, 'position', 'absolute');\r\n this.renderer.setStyle(this.fullscreenIcon, 'top', '0');\r\n this.renderer.setStyle(this.fullscreenIcon, 'right', '0');\r\n this.renderer.setStyle(this.fullscreenIcon, 'cursor', 'pointer');\r\n this.renderer.setStyle(this.fullscreenIcon, 'color', '#888'); // Gray color\r\n this.renderer.setStyle(this.fullscreenIcon, 'font-size', 'large');\r\n this.renderer.addClass(this.fullscreenIcon, 'material-icons');\r\n this.renderer.setProperty(this.fullscreenIcon, 'innerHTML', 'zoom_out_map'); // Initial icon\r\n this.renderer.listen(this.fullscreenIcon, 'click', () => this.toggleFullScreen());\r\n this.renderer.appendChild(this.el.nativeElement, this.fullscreenIcon);\r\n\r\n // Make sure the inner content is flexible\r\n this.renderer.setStyle(this.el.nativeElement, 'display', 'flex');\r\n this.renderer.setStyle(this.el.nativeElement, 'flexDirection', 'column');\r\n this.renderer.setStyle(this.el.nativeElement, 'height', '100%');\r\n\r\n // Store original dimensions\r\n this.originalWidth = this.el.nativeElement.clientWidth;\r\n this.originalHeight = this.el.nativeElement.clientHeight;\r\n }\r\n\r\n @HostListener('document:mousedown', ['$event'])\r\n onMouseDown(event: MouseEvent) {\r\n if (event.target === this.resizer) {\r\n this.initDrag(event);\r\n }\r\n }\r\n\r\n @HostListener('document:mousemove', ['$event'])\r\n onMouseMove(event: MouseEvent) {\r\n if (this.draggingCorner) {\r\n const width = this.startWidth + (event.clientX - this.startX);\r\n const height = this.startHeight + (event.clientY - this.startY);\r\n if (this.fullscreen) this.toggleFullScreen();\r\n this.resizeTo(width, height);\r\n }\r\n }\r\n\r\n @HostListener('document:mouseup')\r\n onMouseUp() {\r\n if (this.draggingCorner) {\r\n this.draggingCorner = false;\r\n }\r\n }\r\n\r\n private initDrag(event: MouseEvent) {\r\n this.draggingCorner = true;\r\n this.startWidth = this.el.nativeElement.clientWidth;\r\n this.startHeight = this.el.nativeElement.clientHeight;\r\n this.startX = event.clientX;\r\n this.startY = event.clientY;\r\n event.preventDefault();\r\n }\r\n\r\n private resizeTo(width: number, height: number) {\r\n\r\n if (width > this.resizableMinWidth) {\r\n this.renderer.setStyle(this.el.nativeElement, 'width', `${width}px`);\r\n }\r\n if (height > this.resizableMinHeight) {\r\n this.renderer.setStyle(this.el.nativeElement, 'height', `${height}px`);\r\n }\r\n }\r\n\r\n private toggleFullScreen() {\r\n const elem = this.el.nativeElement as HTMLElement;\r\n\r\n if (!this.fullscreen) {\r\n this.originalWidth = elem.clientWidth; // Store current width before full screen\r\n this.originalHeight = elem.clientHeight; // Store current height before full screen\r\n\r\n const viewportWidth = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);\r\n const viewportHeight = Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0);\r\n\r\n // Enter full screen\r\n this.renderer.setStyle(elem, 'position', 'fixed');\r\n this.renderer.setStyle(elem, 'top', '0');\r\n this.renderer.setStyle(elem, 'left', '0');\r\n this.renderer.setStyle(elem, 'width', `${viewportWidth}px`);\r\n this.renderer.setStyle(elem, 'height', `${viewportHeight}px`);\r\n\r\n this.renderer.setStyle(this.fullscreenIcon, 'color', '#888'); // Gray color\r\n this.renderer.setProperty(this.fullscreenIcon, 'innerHTML', 'zoom_in_map'); // Change to 'close_fullscreen' icon\r\n } else {\r\n // Exit full screen\r\n // Restore original dimensions\r\n this.renderer.setStyle(elem, 'position', '');\r\n this.renderer.setStyle(elem, 'top', '');\r\n this.renderer.setStyle(elem, 'left', '');\r\n this.renderer.setStyle(elem, 'width', `${this.originalWidth}px`);\r\n this.renderer.setStyle(elem, 'height', `${this.originalHeight}px`);\r\n\r\n this.renderer.setStyle(this.fullscreenIcon, 'color', '#888'); // Gray color\r\n this.renderer.setProperty(this.fullscreenIcon, 'innerHTML', 'zoom_out_map'); // Change back to 'open_in_full' icon\r\n }\r\n\r\n this.fullscreen = !this.fullscreen;\r\n }\r\n}\r\n","import { Directive, HostListener, ElementRef } from '@angular/core';\r\n\r\n@Directive({\r\n\tselector: '[stripSpaces]'\r\n})\r\nexport class StripSpacesDirective {\r\n\tconstructor(private el: ElementRef) { }\r\n\r\n\t@HostListener('input', ['$event.target.value'])\r\n\tonInput(value: string): void {\r\n\t\tconst strippedValue = value.replace(/\\s+/g, '');\r\n\t\tthis.el.nativeElement.value = strippedValue;\r\n\t}\r\n}\r\n","export enum NotificationType {\r\n CreateSCF = 1,\r\n RequesterRequired = 6,\r\n RequesterSigned = 7,\r\n CreateRSSWA = 101,\r\n Procedure = 200,\r\n ChecklistStatusChange = 300\r\n}\r\n\r\nexport enum Roles {\r\n SA = 1,\r\n ADM = 2,\r\n HP = 4,\r\n ATS = 5,\r\n VAC = 7,\r\n BLSCI = 8,\r\n EMT = 11,\r\n FO = 12,\r\n MT = 13,\r\n OIC = 14,\r\n SnA = 21,\r\n AO = 24,\r\n OT = 25,\r\n ALTBLSCI = 47,\r\n KEE = 1054,\r\n WFE = 57,\r\n BRC = 1047,\r\n RFEng = 1048,\r\n RP = 1051,\r\n PC = 1052,\r\n ARC = 1062,\r\n RWAPI = 20,\r\n EMSup = 1066,\r\n PPSTBTA = 1068,\r\n RWPADes = 1110\r\n}\r\n\r\nexport enum FormType {\r\n SCF = 1,\r\n KE = 2,\r\n RSSWA = 3,\r\n PPSTB = 4,\r\n KET = 8,\r\n EBF = 9,\r\n ABSIT = 10,\r\n ABSI = 11,\r\n RSSTEST = 13,\r\n RSSFT = 18,\r\n RADSURVEYPLAN = 12,\r\n RCP = 200,\r\n REVIEW = 201,\r\n REVIEW_REQUEST = 999\r\n}\r\n\r\nexport enum FormStatusEnum {\r\n Temporal = -2,\r\n Canceled = -1,\r\n New = 0,\r\n Draft = 1,\r\n WorkApprovals = 2,\r\n Active = 3,\r\n WorkCompleted = 4,\r\n Closed = 5,\r\n Amendment = 6,\r\n RestrictionsAmendment = 7,\r\n PendingActivation = 8,\r\n AmendmentSign = 9,\r\n Initiated = 10,\r\n Vacuum = 11,\r\n Shielding = 12,\r\n KeyEnable = 13,\r\n Handshake = 14,\r\n ActiveBypassInstalled = 15,\r\n ActiveOperationsVerified = 16,\r\n ActiveBypassRemoved = 17,\r\n ActiveMitigationsInPlace = 18,\r\n AwaitingInspection = 19,\r\n PendingReview = 30,\r\n Reviewing = 31,\r\n Correcting = 32,\r\n ApprovalsPending = 33,\r\n Approvals = 34,\r\n Preparation = 39,\r\n ReviewAndConcurrence = 41,\r\n HoldPoint = 50,\r\n PendingCancelation = 51\r\n}\r\n\r\nexport enum ResourceType {\r\n All = 0,\r\n Accelerator = 1,\r\n Beamline = 2,\r\n Branchline = 3,\r\n Shielding = 4,\r\n Vacuum = 6,\r\n Shutter = 7,\r\n RSSSystems = 10,\r\n TOMBISSystems = 11,\r\n Endstation = 13,\r\n FastValveSensor = 14,\r\n AcceleratorLocation = 15,\r\n ReviewProcessResource = 20,\r\n RadMonitor = 90,\r\n\r\n // To use only on Beamline Catalog\r\n Note = 1001,\r\n Organization = 1002,\r\n TOCA = 1003\r\n}\r\n\r\nexport enum AffectedSystemType {\r\n BLSystem = 1,\r\n AccSystem = 2,\r\n TOMBISSystem = 3\r\n}\r\n\r\nexport enum Action {\r\n Approve = 1,\r\n Disapprove = 2,\r\n Unapprove = 3,\r\n Amendment = 4,\r\n Cancel = 5\r\n}\r\n\r\nexport enum ActionPendingCatalog {\r\n None = 0,\r\n Create = 1,\r\n Update = 2,\r\n Delete = 3,\r\n Review = 4,\r\n Correction = 5,\r\n Approve = 6\r\n}\r\n\r\nexport enum StatusPendingCatalog {\r\n Pending = 1,\r\n Approved = 2,\r\n Disapproved = 3\r\n}\r\n\r\nexport enum Catalog {\r\n None = 0,\r\n BeamlineCatalog = 1,\r\n Users = 2,\r\n Roles = 3,\r\n AcceleratorCatalog = 4,\r\n EmailNotificationCatalog = 5,\r\n RolePrivileges = 6,\r\n Trainings = 7,\r\n KET = 10,\r\n ABSI = 11,\r\n ChecklistTemplate = 12\r\n}\r\n\r\nexport enum WFSaveOptions {\r\n AUTO = 1,\r\n MANUAL = 2\r\n}\r\n\r\nexport enum PendingCatalogColor {\r\n Modify = 1,\r\n Create = 2,\r\n Inactive = 3,\r\n ModifyRSS = 4\r\n}\r\n\r\nexport enum RSSTestType {\r\n Hutchless = 1,\r\n HutchHutchFunctional = 2,\r\n MiniHutch = 3,\r\n VacuumSwitch = 4\r\n}\r\n\r\nexport enum RadNoteType {\r\n Normal = 1,\r\n Fault = 2\r\n}\r\n\r\nexport enum PendingResourcesType {\r\n Default = 0,\r\n Details = 1,\r\n Rss_Database = 2,\r\n Both = 3\r\n}\r\n\r\nexport enum CustomImageSizeOptions {\r\n Fit = 1,\r\n Small = 2,\r\n Original = 3\r\n}\r\n\r\nexport enum ReviewCycleStatus {\r\n Rejected = -1,\r\n Pending = 0,\r\n Approved = 1,\r\n Archived = 9\r\n}\r\n\r\nexport enum StatusType {\r\n New = 0,\r\n Active = 1,\r\n Closed = 2,\r\n Expired = 3,\r\n Canceled = 4,\r\n Pending = 5,\r\n}\r\n\r\nexport enum ComponentType {\r\n Button = -1,\r\n ButtonSignature = 1,\r\n CheckboxSignature = 2,\r\n QuestionSignature = 3,\r\n Checkbox = 4,\r\n CheckboxAndRadio = 6,\r\n Note = 7,\r\n CheckboxAndTextInput = 8,\r\n ScheduleAndCheckbox = 9,\r\n CheckboxYesNo = 10,\r\n CheckboxAndComments = 11,\r\n Comments = 12,\r\n Subtitle = 13,\r\n Catl = 14,\r\n ScheduleAbsi = 15,\r\n CheckboxMultiple = 16,\r\n CheckboxMultipleWithTextbox = 17,\r\n MultipleTextbox = 18,\r\n TextNumericHead = 19,\r\n CheckboxRadioLocation = 20,\r\n ButtonSignatureDuplicate = 21,\r\n RADSurveyImageTable = 22,\r\n CloseButton = 23,\r\n BRATOI = 24,\r\n Olog = 25,\r\n RadMonitorIncoming = 26,\r\n RadMonitorOutgoing = 27,\r\n StatusChange = 28,\r\n RadMeters = 29,\r\n CheckboxMultipleSign = 30,\r\n PlaceholderCondition = 31,\r\n ShieldingsComponent = 32,\r\n Restrictions = 33,\r\n Locations = 34,\r\n ButtonSignatureRadio = 35,\r\n OperationalApproval = 36,\r\n RadMonitorDueDate = 37\r\n}\r\n\r\nexport enum WorkRequired {\r\n None = 0,\r\n AccRFShielding = 1,\r\n BlShielding = 2,\r\n PermanentAccRemoval = 3,\r\n PermanentBLRemoval = 4,\r\n TocaMovement = 5\r\n}\r\n\r\nexport enum OperationalApprovalCode {\r\n BLREVREQ = 'BLREVREQ',\r\n ACREVREQ = 'ACREVREQ',\r\n RADSVREQ = 'RADSVREQ',\r\n DOCUPREQ = 'DOCUPREQ'\r\n}\r\n\r\nexport enum SignatureAction {\r\n Approve = 1,\r\n Disapprove = 2,\r\n Unnaprove = 3\r\n}\r\n\r\nexport enum ReturnType {\r\n None = 0,\r\n Numeric = 1,\r\n Boolean = 2,\r\n Text = 3,\r\n Sign = 4,\r\n}\r\n\r\nexport enum CompareOperator {\r\n '=' = 0,\r\n '>' = 1,\r\n '>=' = 2,\r\n '<' = 3,\r\n '<=' = 4,\r\n '<>' = 5\r\n}\r\n\r\nexport enum GeneralCondition {\r\n AllTasksCompleted = 'ALL-TASKS-COMPLETE',\r\n ChecklistComplete = 'CHECKLIST-COMPLETE'\r\n\r\n}\r\n\r\nexport enum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3, Self = 4\r\n}\r\n\r\n\r\nexport enum MenuItemType {\r\n Divider = -1,\r\n Route = 1,\r\n Submenu = 2,\r\n Table = 3\r\n}\r\n\r\nexport enum OlogNotificationType {\r\n Activate = 1,\r\n Amended = 2,\r\n Closed = 3,\r\n Handshake = 4\r\n}\r\n\r\n\r\nexport enum Fields {\r\n TEXT = 'text',\r\n BOOLEAN = \"booleanValue\",\r\n DOUBLE = \"doubleValue\",\r\n NUMERIC = \"numericValue\",\r\n VALUE = \"value\",\r\n}\r\n\r\nexport enum icons {\r\n warning = '⚠️',\r\n info = 'ℹ️',\r\n success = '✔️',\r\n pendingActions = '',\r\n autoDelete = ''\r\n};\r\n","export enum Servers {\r\n PRODUCTION = 'ascc.als.lbl.gov',\r\n PREPROD = 'ascc-stg.als.lbl.gov:800',\r\n STAGING = 'ascc-stg.als.lbl.gov',\r\n DEVELOPMENT = 'ascc-dev.als.lbl.gov',\r\n LOCAL = 'localhost'\r\n}\r\n","// decorator.ts\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ComponentRegistry {\r\n components?: { [name: string]: any };\r\n\r\n registerComponent(name: string, component: any) {\r\n if (!this.components) this.components = {};\r\n this.components[name] = component;\r\n // console.log(this.components);\r\n }\r\n}\r\n\r\nexport function RegisterComponent(name: string) {\r\n return function (target: any) {\r\n ComponentRegistry.prototype.registerComponent(name, target);\r\n }\r\n}\r\n","interface String {\r\n // Define your method\r\n hasValue(): void;\r\n}\r\n\r\n// Implement the method\r\nString.prototype.hasValue = function () {\r\n return this.trim().length > 0;\r\n};\r\n\r\n// Usage\r\nconst myString: string = \"Hello\";\r\nmyString.hasValue(); // This will print \"My custom method for string: Hello\"\r\n","import { Component, EventEmitter, Injector, Input, Output, SimpleChanges } from '@angular/core';\r\nimport { EbService } from 'src/app/components/eb/eb.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { WfSignatureResource, WfSignature, WFConfiguration, ExtraAction } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { FormType } from '../enumerations/enumerations';\r\nimport { BaseComponent } from '../base/base.component';\r\nimport { PpstbService } from 'src/app/components/ppstb/ppstb.service';\r\nimport { Option } from 'src/app/components/checklists/checklists';\r\n\r\n@Component({\r\n selector: 'form-workflow',\r\n templateUrl: './form-workflow.component.html',\r\n styleUrls: ['./form-workflow.component.scss']\r\n})\r\nexport class FormWorkflowComponent extends BaseComponent {\r\n\r\n @Input() form?: Form | null;\r\n @Input() sectionNumber!: number;\r\n @Input() amendmentSectionNumbers?: number[] = [];\r\n @Input() leftConfigs!: number[];\r\n @Input() rightConfigs!: number[];\r\n @Input() disabled?: boolean;\r\n\r\n @Output() loading = new EventEmitter()\r\n\r\n wfSignatures?: WfSignatureResource[];\r\n signatures!: WfSignature[];\r\n\r\n amendments!: any[];\r\n configuration?: WFConfiguration[];\r\n\r\n type!: FormType;\r\n service!: EbService | PpstbService;\r\n\r\n extraActions: ExtraAction[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public ebService: EbService,\r\n public ppstbService: PpstbService,\r\n private workflowService: WorkFlowService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.form)\r\n this.type = this.form.type;\r\n this.service = this.type == FormType.EBF ? this.ebService : this.ppstbService;\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n if (!this.form?.wfTable) return;\r\n this.loading.emit(true);\r\n this.workflowService.readConfiguration(this.type, this.form.wfTableID ?? 0).toPromise().then(data => {\r\n this.configuration = data;\r\n\r\n const leftPersons = this.leftConfigs?.map(identificator => {\r\n return this.configuration?.filter(x => x.identificator === identificator) ?? [];\r\n });\r\n const rightPersons = this.rightConfigs?.map(identificator => {\r\n return this.configuration?.filter(x => x.identificator === identificator) ?? [];\r\n });\r\n\r\n this.wfSignatures = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.number == this.sectionNumber)?.wfSignatures;\r\n this.amendmentSectionNumbers?.map(s => {\r\n const wfSignatures = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.number == s)?.wfSignatures?.filter(x => x.amendmentNumber);\r\n if (wfSignatures)\r\n this.wfSignatures = this.wfSignatures?.concat(wfSignatures);\r\n });\r\n\r\n this.signatures = [];\r\n const wfSignaturesToValidate = this.wfSignatures?.concat(this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.number == (this.sectionNumber - 1))?.wfSignatures ?? []).concat(this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.number == (this.sectionNumber - 1 + 10))?.wfSignatures ?? []);\r\n if (this.leftConfigs?.length && this.rightConfigs.length) {\r\n this.wfSignatures?.map(signature => {\r\n this.signatures.push(\r\n WfSignatureResource.toWFSignatureResourceWithPerson(signature, wfSignaturesToValidate ?? [], leftPersons.filter(x => x.length), rightPersons.filter(x => x.length), this.currentUser?.id ?? -1));\r\n });\r\n }\r\n else\r\n this.wfSignatures?.map(signature => {\r\n this.signatures.push(WfSignatureResource.toWFSignatureResource(signature, true));\r\n });\r\n\r\n this.amendments = [];\r\n this.signatures.map(s => {\r\n if (!this.amendments.includes(s.amendmentNumber ?? 0)) {\r\n this.amendments.push(s.amendmentNumber ?? 0);\r\n }\r\n });\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n getSignaturesByAmendment(a: any) {\r\n return this.signatures.filter(s => (s.amendmentNumber ?? 0) == a);\r\n }\r\n\r\n getLastAmendment() {\r\n const last = this.signatures.filter(x => x.amendmentNumber).map(x => x.amendmentNumber).sort((a, b) => utils.sort(a, b, false));\r\n return last ? last[0] : 0;\r\n }\r\n\r\n async approve(s: WfSignature, approve: boolean = true, data: any = null) {\r\n let options = undefined;\r\n if (data?.options) {\r\n options = this.utils.JSONstringify(data.options);\r\n }\r\n this.service.loading = true;\r\n const signed = await this.service.confirmSign(this.form, s, approve ? s.approveId : s.unapproveId, '', options, this.configuration);\r\n if (!signed) this.refresh();\r\n }\r\n\r\n async unnaprove(taskID?: number, unnaproveID?: number, data?: any) {\r\n let options = undefined;\r\n if (data?.options) {\r\n data.options.map((o: Option) => o.checked = false);\r\n options = this.utils.JSONstringify(data.options);\r\n }\r\n this.service.loading = true;\r\n await this.service.sign(this.form, taskID, unnaproveID, '', options);\r\n }\r\n\r\n check(e: boolean, s: WfSignature) {\r\n this.approve(s, e);\r\n }\r\n}\r\n"," 0 && a == getLastAmendment(),\r\n 'border-amd-old': a > 0 && a != getLastAmendment()\r\n }\"\r\n>\r\n 0\"\r\n >Amendment {{ a }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot, UrlTree } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { RedirectDialogComponent } from 'src/app/components/redirect/redirect-dialog/redirect-dialog.component';\r\nimport { RedirectService } from 'src/app/components/redirect/redirect.service';\r\n\r\nexport interface IRedirectGuard {\r\n redirectTo: boolean | Observable;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RedirectGuard implements CanDeactivate {\r\n\r\n constructor(\r\n public dialog: MatDialog,\r\n private redirect: RedirectService\r\n ) {\r\n\r\n }\r\n\r\n async canDeactivate(component: IRedirectGuard, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState: RouterStateSnapshot): Promise {\r\n if (component.redirectTo || !nextState.url.includes('/redirect/') || localStorage.getItem('currentUrl') == nextState.url) {\r\n localStorage.setItem('currentUrl', nextState.url);\r\n this.removeLocalStorageUrl();\r\n return true;\r\n } else {\r\n localStorage.setItem('currentUrl', nextState.url);\r\n // Show the dialog and return an observable based on user's response\r\n const dialogRef = this.dialog.open(RedirectDialogComponent, {\r\n disableClose: false,\r\n backdropClass: 'transparent-backdrop',\r\n data: { targetUrl: nextState.url },\r\n position: {\r\n left: this.redirect.mouseX ?? '',\r\n top: this.redirect.mouseY ?? '',\r\n },\r\n });\r\n\r\n const response = await dialogRef.afterClosed().toPromise().then(data => {\r\n return false;\r\n });\r\n this.removeLocalStorageUrl();\r\n return response;\r\n }\r\n }\r\n\r\n removeLocalStorageUrl() {\r\n setTimeout(() => {\r\n localStorage.removeItem('currentUrl');\r\n }, 3000);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { CanDeactivate } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\n\r\nexport interface CanComponentDeactivate {\r\n canDeactivate: () => Observable | Promise | boolean;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class UnsavedChangesGuard\r\n implements CanDeactivate {\r\n canDeactivate(\r\n component: CanComponentDeactivate\r\n ): Observable | Promise | boolean {\r\n return component.canDeactivate ? component.canDeactivate() : true;\r\n }\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class CanDeactivateService {\r\n\r\n formDirty!: boolean;\r\n\r\n constructor(\r\n private dialog: MatDialog\r\n ) { }\r\n\r\n async canDeactivate(): Promise {\r\n if (this.formDirty) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '400px',\r\n data: {}\r\n });\r\n\r\n const response: CanDeactivateResponse = await confirmation.afterClosed().toPromise();\r\n\r\n const isDiscard = response === CanDeactivateResponse.Discard;\r\n if (isDiscard) {\r\n this.formDirty = false; // Reset form dirty status\r\n }\r\n\r\n return isDiscard; // Return the user's decision\r\n }\r\n\r\n return true; // Allow navigation if the form is not dirty\r\n }\r\n\r\n}\r\n","export class MessagePlaceholder {\r\n public placeholder: string;\r\n public value?: string | null;\r\n\r\n constructor(placeholder: string, value?: string | null) {\r\n this.placeholder = placeholder;\r\n this.value = value;\r\n }\r\n}\r\n\r\nexport class KeyValuePair {\r\n keyValuePair!: [key: string, value: any];\r\n}\r\n","import FileV2 from \"src/app/services/file/file-v2.model\";\r\n\r\nexport class RelatedLinkDocumentBase {\r\n public id?: number;\r\n public formID?: number;\r\n public text?: string;\r\n public url?: string | null;\r\n public fileID?: number | null;\r\n public file?: FileV2 | null;\r\n}\r\n\r\nexport class RelatedLinkDocumentBaseSave {\r\n public id?: number;\r\n public formID?: number;\r\n public text?: string;\r\n public url?: string | null;\r\n public fileID?: number | null;\r\n}\r\n\r\nexport class RelatedLinkDocumentBaseHandler {\r\n static toSave(relatedLinkDocumentBase: RelatedLinkDocumentBase): RelatedLinkDocumentBaseSave {\r\n var save = new RelatedLinkDocumentBaseSave();\r\n\r\n save.id = relatedLinkDocumentBase.id;\r\n save.formID = relatedLinkDocumentBase.formID;\r\n save.text = relatedLinkDocumentBase.text;\r\n save.url = relatedLinkDocumentBase.url;\r\n save.fileID = relatedLinkDocumentBase.fileID;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { AbsiTemplateVersionResource } from '../../absi';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'absi-builder-buttons',\r\n templateUrl: './absi-builder-buttons.component.html',\r\n styleUrls: ['./absi-builder-buttons.component.scss']\r\n})\r\nexport class AbsiBuilderButtonsComponent extends BaseComponent {\r\n @Input() version?: AbsiTemplateVersionResource | null;\r\n @Input() disabled?: boolean;\r\n\r\n @Output() canceled = new EventEmitter();\r\n @Output() approved = new EventEmitter();\r\n\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n Delete\r\n \r\n
\r\n
\r\n \r\n Approve\r\n \r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnChanges, Output, QueryList, SimpleChanges, ViewChildren } from '@angular/core';\r\nimport { AbsiTemplateVersionResource } from '../../absi';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { WFSectionConfig } from 'src/app/components/workflow/workflow';\r\nimport { AbsiBuilderSectionComponent } from './absi-builder-section/absi-builder-section.component';\r\n\r\n@Component({\r\n selector: 'absi-builder-main',\r\n templateUrl: './absi-builder-main.component.html',\r\n styleUrls: ['./absi-builder-main.component.scss']\r\n})\r\nexport class AbsiBuilderMainComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() version?: AbsiTemplateVersionResource | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChildren(AbsiBuilderSectionComponent)\r\n sectionComponents!: QueryList;\r\n\r\n sections?: WFSectionConfig[];\r\n wfTableId!: number;\r\n loadings: load[] = [];\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.version) this.loading.emit(true);\r\n this.wfTableId = this.version?.wfTableID ?? 0;\r\n this.sections = this.version?.wfTableConfig?.wfSectionConfigs.filter(s => s.number && s.number < 100).sort((a, b) => a.number - b.number);\r\n this.loadings = [];\r\n this.sections?.map(s => {\r\n const l = { s: s.number, val: false };\r\n this.loadings.push(l);\r\n });\r\n }\r\n\r\n setLoading(e: boolean, s: number) {\r\n const section = this.loadings.find(l => l.s == s);\r\n if (section) section.val = e;\r\n this.loading.emit(this.loadings.some(l => l.val));\r\n }\r\n}\r\n\r\nexport interface load {\r\n s: number;\r\n val: boolean;\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Input, Output, EventEmitter, OnChanges, Injector } from '@angular/core';\r\nimport { moveItemInArray, CdkDragDrop } from '@angular/cdk/drag-drop';\r\nimport { AbsiBuilderService } from '../../absi-builder.service';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistBuilderService } from 'src/app/components/checklists/checklist-builder/checklist-builder.service';\r\nimport { WFSectionConfig } from 'src/app/components/workflow/workflow';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { WfSignatureResource, WfSignature, WFTaskSignatureResource, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ClEditorComponent } from 'src/app/controls/checklist-components/cl-editor/cl-editor.component';\r\n\r\n@Component({\r\n selector: 'absi-builder-section',\r\n templateUrl: './absi-builder-section.component.html',\r\n styleUrls: ['./absi-builder-section.component.scss']\r\n})\r\nexport class AbsiBuilderSectionComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() section!: WFSectionConfig;\r\n @Input() wfTableId!: number;\r\n @Input() disabled!: boolean;\r\n @Input() absiTemplateID!: number;\r\n @Input() serialNo!: string;\r\n\r\n @Output() requestRefresh = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n public chbTypes: Array = [4, 5];\r\n\r\n public activeVersion!: boolean;\r\n\r\n sectionName!: string | null;\r\n\r\n adding!: boolean;\r\n editing!: boolean;\r\n editingId!: number;\r\n formType = FormType[FormType.ABSI];\r\n\r\n wfSignatures!: WfSignatureResource[];\r\n signatures!: WfSignature[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n approvals!: number;\r\n\r\n controlOptions: any[] = [\r\n { label: 'Checkbox', value: 4 },\r\n { label: 'Note', value: 7 },\r\n { label: 'Checkbox & Text', value: 8 },\r\n { label: 'Schedule & Checkbox', value: 9 }\r\n ];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _builder: AbsiBuilderService,\r\n public _gBuilder: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges() {\r\n this.refresh();\r\n }\r\n\r\n create() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n this.sectionName = null;\r\n }\r\n\r\n refresh() {\r\n if (this.wfTableId == undefined || this.wfTableId == 0) {\r\n this.create();\r\n return;\r\n }\r\n this.loading.emit(true);\r\n\r\n this._builder.ReadWFBySection(this.wfTableId, this.section.number).toPromise().then(data => {\r\n if (data?.length) {\r\n this.wfSignatures = data;\r\n this.sectionName = this.wfSignatures[0] ? this.wfSignatures[0].sectionName : null;\r\n\r\n let index = 1;\r\n const isOrdered = this.checkOrders();\r\n\r\n this.signatures = [];\r\n this.approvals = this.wfSignatures.length;\r\n this.wfSignatures.map(t => {\r\n const options: any[] = t.options ? JSON.parse(t.options) : [];\r\n const number = this.section.number + '.' + index;\r\n if (!t.wfTaskLocal.componentID) t.wfTaskLocal.componentID = t.type;\r\n const errors = this.getErrors(t.wfTaskLocal);\r\n const signature: WfSignature = {\r\n id: t.id,\r\n number: t.required ? number : null,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n question: t.question,\r\n question2: t.titleAfter,\r\n question3: t.titleAfter2,\r\n roles: t.roles.map(r => r.id),\r\n roleCodes: t.roles.map(r => r.code).join('/'),\r\n disabled: true,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveID != 0,\r\n unapprove: t.unapproveID != 0,\r\n disapprove: t.disapproveID != 0,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n value2: t.numericValue,\r\n type: t.type,\r\n options,\r\n sectionName: t.sectionName,\r\n iterable: t.iterable && (t.wfTaskLocal.name3?.includes('{KEStep}') || t.wfTaskLocal.name2?.includes('{vacuum}')),\r\n order: t.order,\r\n textValue: t.text,\r\n visible: t.visible,\r\n scheduleResourceId: t.scheduleResourceId,\r\n dateValue1: t.dateValue1,\r\n dateValue2: t.dateValue2,\r\n dateValue3: t.dateValue3 != null && t.dateValue3.toString() != '0001-01-01T00:00:00' ? t.dateValue3 : undefined,\r\n scheduleName: t.scheduleName,\r\n locationName: t.locationName,\r\n editMode: false,\r\n component: t.component,\r\n configuration: t.configuration,\r\n condition: t.condition,\r\n code: t.code,\r\n invalid: errors.value,\r\n errors: errors.errors\r\n };\r\n index++;\r\n this.signatures.push(signature);\r\n });\r\n this.renumberArray();\r\n if (!isOrdered && !this.disabled) {\r\n this.changeOrder();\r\n }\r\n\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n checkOrders() {\r\n const order = this.wfSignatures.map(x => x.order);\r\n\r\n let i = 0;\r\n let result = true;\r\n\r\n order.map(o => {\r\n if (o != i + 1) {\r\n result = false;\r\n }\r\n i++;\r\n });\r\n\r\n return result;\r\n }\r\n\r\n edit(id?: number) {\r\n const order = (this.signatures[this.signatures.length - 1]?.order ?? 0) + 1;\r\n let signature: WfSignature | undefined = {\r\n name: '[New Name]',\r\n options: [],\r\n roles: [],\r\n required: true,\r\n approve: true,\r\n unapprove: true,\r\n order,\r\n stepId: this.wfSignatures[this.wfSignatures.length - 1].wfTaskLocal.wfStepLocalID\r\n };\r\n\r\n if (id)\r\n signature = this.signatures.find((x) => x.id === id);\r\n\r\n if (signature) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n s: signature,\r\n formType: FormType[FormType.ABSI],\r\n serialNo: this.serialNo,\r\n roles: this.wfSignatures.find(x => x.id === signature?.id)?.roles,\r\n disabled: this.disabled\r\n };\r\n dialogConfig.width = '80vw';\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ClEditorComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n if (id) {\r\n this._gBuilder.updateWFTaskLocal(data).subscribe((data: WfTaskLocalResource) => {\r\n this.refresh();\r\n this.requestRefresh.emit();\r\n });\r\n }\r\n else {\r\n this._gBuilder.createWFTaskLocal(data).subscribe((data: WfTaskLocalResource) => {\r\n this.refresh();\r\n this.requestRefresh.emit();\r\n });\r\n }\r\n }\r\n else this.refresh();\r\n });\r\n }\r\n }\r\n\r\n delete(task: any) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('GenChklistBldr_DeleteTaskConfimation').description,\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this._gBuilder.deleteTask(task).subscribe(data => {\r\n this.refresh();\r\n });\r\n }\r\n });\r\n }\r\n\r\n changeRequired(e: any, taskId: number) {\r\n const required = e.checked;\r\n this.renumberArray();\r\n this._builder.SaveRequired(taskId, required).subscribe(data => {\r\n this._builder.UpdateUpdater(this.absiTemplateID).subscribe(() => {\r\n this.requestRefresh.emit();\r\n });\r\n });\r\n }\r\n\r\n changeOrder() {\r\n this.signatures.map(s => {\r\n if (s.taskId && s.order) {\r\n this._builder.SaveOrder(s.taskId, s.order).subscribe(data => {\r\n this._builder.UpdateUpdater(this.absiTemplateID).subscribe(() => {\r\n this.requestRefresh.emit();\r\n });\r\n });\r\n }\r\n });\r\n }\r\n\r\n renumberArray() {\r\n let index = 1;\r\n let order = 1;\r\n this.signatures.map(s => {\r\n s.order = order;\r\n order++;\r\n\r\n if (s.required && s.component?.numericHeader) {\r\n s.number = this.section.number + '.' + index;\r\n index++;\r\n }\r\n else {\r\n s.number = null;\r\n }\r\n });\r\n }\r\n\r\n reorderTable(event: CdkDragDrop) {\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.signatures, event.previousIndex, event.currentIndex);\r\n this.renumberArray();\r\n this.changeOrder();\r\n }\r\n }\r\n\r\n getErrors(task: WfTaskLocalResource) {\r\n return this._gBuilder.hasErrors(task);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n

Reorder

\r\n

Include

\r\n
\r\n
\r\n
\r\n
{{ section.number }}. {{ sectionName }}
\r\n
\r\n \r\n \r\n

Edit

\r\n

Delete

\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n reorder\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n warning\r\n
\r\n \r\n \r\n \r\n
\r\n edit\r\n
\r\n
\r\n delete\r\n
\r\n \r\n \r\n
\r\n visibility\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { AbsiTemplateTypeResource, AbsiTemplateVersionResource } from '../../absi';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport moment from 'moment';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { AbsiTemplateVersionRefresh } from '../../store/absi-template/absi-template.action';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { AcceleratorCatalog } from 'src/app/components/catalogs/accelerator-catalog/services/accelerator-catalog';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'absi-builder-side',\r\n templateUrl: './absi-builder-side.component.html',\r\n styleUrls: ['./absi-builder-side.component.scss']\r\n})\r\nexport class AbsiBuilderSideComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() filter?: string;\r\n @Input() version?: AbsiTemplateVersionResource | null;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() selectedRow = new EventEmitter();\r\n @Output() selectedType = new EventEmitter();\r\n\r\n versions!: AbsiTemplateVersionResource[];\r\n versions$!: Observable;\r\n versionsSubs!: Subscription;\r\n\r\n absiTemplateTypes?: AbsiTemplateTypeResource[];\r\n absiTemplateTypes$!: Observable;\r\n absiTemplateTypesSubs!: Subscription;\r\n\r\n type?: AbsiTemplateTypeResource;\r\n typeCtrl = new FormControl();\r\n\r\n public displayedColumns: string[] = ['name', 'statusName'];\r\n\r\n dataSource!: MatTableDataSource;\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n ngOnInit(): void {\r\n this.loadAbsiTemplateTypes();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadVersions();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.absiTemplateTypesSubs?.unsubscribe();\r\n this.versionsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadAbsiTemplateTypes() {\r\n this.absiTemplateTypes$ = this.store.select(state => state.AbsiTemplateType.data);\r\n this.absiTemplateTypesSubs = this.absiTemplateTypes$.subscribe(async data => {\r\n if (data?.length) {\r\n this.absiTemplateTypes = data;\r\n const document = await this.redirect.getDocument(FormType.ABSIT);\r\n const type = this.absiTemplateTypes.find(t => t.id == document?.gen1);\r\n if (document && this.type?.id != type?.id) {\r\n this.type = type;\r\n this.selectedType.emit(this.type);\r\n if (this.type?.id) {\r\n this.store.dispatch(new AbsiTemplateVersionRefresh(this.type.id));\r\n this.loadVersions();\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n displayType(type: any) {\r\n return type ? type.name : null;\r\n }\r\n\r\n selected(event: MatAutocompleteSelectedEvent) {\r\n this.loading.emit(true);\r\n this.type = event.option.value;\r\n this.selectedType.emit(this.type);\r\n if (this.type?.id) {\r\n this.store.dispatch(new AbsiTemplateVersionRefresh(this.type.id));\r\n this.loadVersions();\r\n }\r\n }\r\n\r\n loadVersions() {\r\n this.versions$ = this.store.select(state => state.AbsiTemplateVersions.data);\r\n this.versionsSubs = this.versions$.subscribe(async data => {\r\n if (data) {\r\n this.versions = data.sort((a, b) => this.utils.sort(a.name, b.name, false));\r\n if (this.version) {\r\n this.version = this.versions.find(x => x.id == this.version?.id);\r\n }\r\n this.versions.map(v => this.setStatus(v));\r\n this.dataSource = new MatTableDataSource(this.versions);\r\n this.setSort(this.dataSource, this.sort);\r\n this.loading.emit(false);\r\n\r\n const document = await this.redirect.getDocument(FormType.ABSIT);\r\n if (document) {\r\n const version = this.versions.find(v => v.id == document.formID);\r\n this.onRowClick(version);\r\n }\r\n }\r\n });\r\n }\r\n\r\n setStatus(e: AbsiTemplateVersionResource) {\r\n const activeVersion = this.versions.find(x => x.status == 1);\r\n if (e == activeVersion) {\r\n activeVersion.statusClass = 'current-version';\r\n activeVersion.statusName = 'Active';\r\n }\r\n\r\n if (moment(e.createdOn).isBefore(activeVersion?.createdOn)) {\r\n e.statusClass = 'old-version';\r\n e.statusName = 'Archived';\r\n }\r\n\r\n if (moment(e.createdOn).isAfter(activeVersion?.createdOn)) {\r\n e.statusClass = 'new-version';\r\n e.statusName = 'New';\r\n }\r\n }\r\n\r\n onRowClick(row: any) {\r\n this.version = row;\r\n if (this.version)\r\n this.selectedRow.emit(this.version);\r\n }\r\n\r\n}\r\n","\r\n ABSI Template Type\r\n \r\n \r\n \r\n {{ elem.name }}\r\n \r\n \r\n\r\n\r\n
\r\n \r\n \r\n \r\n Version\r\n \r\n \r\n edit\r\n \r\n \r\n \r\n \r\n Status\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { AbsiTemplateResource, AbsiTemplateTypeResource, AbsiTemplateVersionResource } from '../absi';\r\nimport { AbsiBuilderService } from './absi-builder.service';\r\nimport { AbsiBuilderSideComponent } from './absi-builder-side/absi-builder-side.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { AbsiBuilderMainComponent } from './absi-builder-main/absi-builder-main.component';\r\nimport { StepError } from '../../checklists/checklist-builder/checklist-builder.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-absi-builder',\r\n templateUrl: './absi-builder.component.html',\r\n styleUrls: ['./absi-builder.component.scss']\r\n})\r\nexport class AbsiBuilderComponent extends BaseComponent implements OnInit, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n @ViewChild(AbsiBuilderSideComponent) side!: AbsiBuilderSideComponent;\r\n @ViewChild(AbsiBuilderMainComponent) main!: AbsiBuilderMainComponent;\r\n\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n loadingMessage!: string;\r\n\r\n version?: AbsiTemplateVersionResource | null;\r\n versions?: AbsiTemplateVersionResource[];\r\n versions$!: Observable;\r\n versionsSubs!: Subscription;\r\n\r\n globalTemplate?: string;\r\n\r\n type?: AbsiTemplateTypeResource;\r\n\r\n //////\r\n\r\n errorMessages?: StepError[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _builder: AbsiBuilderService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'ABSI Template Builder';\r\n }\r\n\r\n loadVersions() {\r\n this.versions$ = this.store.select(state => state.AbsiTemplateVersions.data);\r\n this.versionsSubs = this.versions$.subscribe(data => {\r\n if (data?.length) {\r\n this.versions = data;\r\n if (this.version)\r\n this.version = this.versions.find(x => x.id == this.version?.id);\r\n }\r\n });\r\n }\r\n\r\n selectedRow(e: AbsiTemplateVersionResource) {\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n this.version = e;\r\n this.globalTemplate = this.version?.wfTableConfig?.name;\r\n this.setHeights();\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n }\r\n\r\n selectedType(type: AbsiTemplateTypeResource) {\r\n this.type = type;\r\n this.version = null;\r\n this.loadVersions();\r\n this.setHeights()\r\n }\r\n\r\n clear() {\r\n }\r\n\r\n create() {\r\n if (this.type) {\r\n this.version = null;\r\n let absiTemplate: AbsiTemplateResource = {\r\n name: 'ABSI',\r\n requesterId: this.getCurrentUser()?.id ?? -1,\r\n status: 0,\r\n type: this.type.id ?? 0\r\n };\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n this._builder.CreateChecklistTemplate(absiTemplate).subscribe(data => {\r\n this.alert.success(data.name + ' was Created!');\r\n this.side.setStatus(data);\r\n this.version = data;\r\n this.side.version = data;\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n\r\n },\r\n error => {\r\n console.log(error);\r\n this.alert.error(error.error);\r\n });\r\n }\r\n }\r\n\r\n duplicate() {\r\n let absiTemplate: AbsiTemplateResource = {\r\n name: 'ABSI - Copy',\r\n requesterId: this.getCurrentUser()?.id ?? -1,\r\n status: 0,\r\n type: this.type?.id ?? 0,\r\n wfTableID: this.version?.wfTableID\r\n };\r\n\r\n this._builder.CreateChecklistTemplate(absiTemplate).subscribe(data => {\r\n this.alert.success(this.version?.name + ' was Duplicated to ' + data.name + '!');\r\n this.version = data;\r\n });\r\n }\r\n\r\n delete() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: 'Are you sure you want to Delete this ABSI Template?',\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n if (this.version?.id) {\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n const name = this.version.name;\r\n this._builder.DeleteVersion(this.version.id).subscribe(data => {\r\n this.alert.warning(name + ' was Deleted!');\r\n this.version = null;\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n approve() {\r\n let version = this.version;\r\n if (version) {\r\n this.setLoading(true, this.loadingOrigin.Self)\r\n this.loading = true;\r\n this._builder.ApproveVersion(version).subscribe(async data => {\r\n this.alert.success(version?.name + ' was Approved!!');\r\n this.version = data;\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n });\r\n }\r\n }\r\n\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n hasErrors() {\r\n this.errorMessages = [];\r\n this.main?.sectionComponents.map((s) => {\r\n const errors = s.signatures?.map(t => {\r\n if (t.invalid) {\r\n const errorMessage =\r\n t.errors +\r\n \" in Section: \" +\r\n s.section.number +\r\n \" \" +\r\n s.section.name +\r\n \", Task: \" +\r\n t.name;\r\n this.errorMessages?.push({ stepId: t.sectionNumber ?? 0, taskId: t.id, text: errorMessage });\r\n }\r\n });\r\n });\r\n\r\n return this.errorMessages.length > 0;\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n console.log('self: ' + this.loadingSelf + ' main: ' + this.loadingMain + ' buttons: ' + this.loadingButtons + ' side: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide || this.loadingSelf;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingSelf = false;\r\n loadingOrigin = LoadingOrigin;\r\n}\r\n\r\nenum LoadingOrigin {\r\n Self = 0, Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{ version?.name }}\r\n

\r\n
\r\n \r\n {{ version.statusName }}\r\n \r\n
\r\n
\r\n
\r\n Global Template: {{ globalTemplate }}check_circleupdate\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Last update by: {{ version.updatedByName }} on:\r\n {{ version.updatedOn | date }}\r\n
\r\n
\r\n Approved by: {{ version.approvedBy?.name }} on:\r\n {{ version.approvedOn | date }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n Duplicate Template\r\n content_copy\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { AbsiTemplateResource, AbsiTemplateVersionResource, AbsiTemplateTypeResource } from '../absi';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { WfSignatureResource, WfTaskLocalResource, WfTaskResource } from 'src/app/services/work-flow/work-flow';\r\n\r\n@Injectable()\r\nexport class AbsiBuilderService {\r\n\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Api = '/AbsiBuilder';\r\n\r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n\r\n GetTemplateVersionsByType(typeId: number) {\r\n return this.http.get(this.BASE_URL + this.Api + '/ByType/' + typeId);\r\n }\r\n\r\n GetTemplateVersionsByID(id: number) {\r\n return this.http.get(this.BASE_URL + this.Api + '/ById/' + id);\r\n }\r\n\r\n CreateChecklistTemplate(absiTemplate: AbsiTemplateResource): Observable {\r\n let result = this.http.post(this.BASE_URL + this.Api, absiTemplate);\r\n return result;\r\n }\r\n\r\n ReadWFBySection(id: number, sectionNumber: number) {\r\n return this.http.get(this.BASE_URL + this.Api + '/WFBySection/' + id + '?SectionNumber=' + sectionNumber);\r\n }\r\n\r\n UpdateText(id: number, wfTaskLocalResource: WfTaskLocalResource) {\r\n return this.http.patch(this.BASE_URL + this.Api + '/SaveTextType/' + id, wfTaskLocalResource);\r\n }\r\n\r\n SaveRequired(id: number, required: boolean) {\r\n return this.http.patch(this.BASE_URL + this.Api + '/SaveRequired/' + id + '/' + required, null);\r\n }\r\n\r\n SaveOrder(id: number, order: number) {\r\n return this.http.patch(this.BASE_URL + this.Api + '/SaveOrder/' + id + '/' + order, null);\r\n }\r\n\r\n GetTemplateTypes(): Observable {\r\n return this.http.get(this.BASE_URL + this.Api + '/Types');\r\n }\r\n\r\n ApproveVersion(absiVersion: AbsiTemplateVersionResource): Observable {\r\n return this.http.put(this.BASE_URL + this.Api + '/ApproveVersion', absiVersion);\r\n }\r\n\r\n DeleteVersion(id: number): Observable {\r\n return this.http.delete(this.BASE_URL + this.Api + '/DeleteVersion/' + id);\r\n }\r\n\r\n UpdateUpdater(id: number) {\r\n return this.http.patch(this.BASE_URL + this.Api + '/UpdateUpdater/' + id, null);\r\n }\r\n}\r\n","import { Component, ViewChild, Output, EventEmitter, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\nimport { CommentsAndAttachmentsComponent } from '../../../controls/comments-and-attachments/comments-and-attachments.component';\r\nimport { AbsiResource, AbsiSection } from '../absi';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { load } from '../absi-builder/absi-builder-main/absi-builder-main.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ActionItemsRefresh } from 'src/app/controls/catl/action-item/store/actionItems.action';\r\n\r\n@Component({\r\n selector: 'absi-main-panel',\r\n templateUrl: './absi-main-panel.component.html',\r\n styleUrls: ['./absi-main-panel.component.scss']\r\n})\r\nexport class AbsiMainPanelComponent extends BaseComponent implements OnChanges, OnInit {\r\n\r\n @Input() absi?: AbsiResource;\r\n @Output() loading = new EventEmitter();\r\n\r\n loadings: load[] = [];\r\n\r\n formStatus = FormStatusEnum;\r\n panelOpenState = false;\r\n sectionInfo?: WFSectionLocalResource;\r\n\r\n sections?: WFSectionLocalResource[];\r\n sections$!: Observable;\r\n sectionsSubs!: Subscription;\r\n\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (this.absi && this.absi.wfTable) {\r\n this.store.dispatch(new ActionItemsRefresh(this.absi.id));\r\n this.sections = this.absi.wfTable?.wfTableLocal?.wfSectionLocals.filter(s => s.number && s.number < 100).sort((a, b) => this.utils.sort(a.number, b.number));\r\n this.sectionInfo = this.absi.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number && s.number == 100);\r\n }\r\n else {\r\n this.sectionInfo = { id: 0 };\r\n }\r\n this.cdRef.detectChanges();\r\n this.loadAbsiSections();\r\n }\r\n\r\n loadAbsiSections() {\r\n this.sections$ = this.store.select(state => state.AbsiSections.data);\r\n this.sectionsSubs = this.sections$.subscribe(data => {\r\n if (data?.length && data.some(x => x.wfTableID == this.absi?.wfTableID)) {\r\n this.sections = data.filter(s => s.wfTableID == this.absi?.wfTableID && s.number && s.number < 100).sort((a, b) => this.utils.sort(a.number, b.number));\r\n this.sectionInfo = data.find(s => s.wfTableID == this.absi?.wfTableID && s.number && s.number == 100);\r\n }\r\n });\r\n }\r\n\r\n setLoading(e: boolean, s: number) {\r\n const section = this.loadings.find(l => l.s == s);\r\n if (section) section.val = e;\r\n else this.loadings.push({ s, val: e });\r\n this.loading.emit(this.loadings.some(l => l.val));\r\n console.log('s: ' + s + ', val:' + e);\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n","import { Component, Input, EventEmitter, Output, ViewChild, OnChanges, OnDestroy, SimpleChanges, OnInit, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum, FormType, OlogNotificationType, Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { ScheduleStatusEnum } from 'src/app/components/schedules/models/enums';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { ScheduleService } from 'src/app/components/schedules/services/schedule.service';\r\nimport { ActionItemService } from 'src/app/controls/catl/action-item/action-item.service';\r\nimport { PartialOlogComponent } from 'src/app/controls/olog/partial-olog/partial-olog.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { WFSectionLocalResource, WfSignature, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { AbsiResource, SaveAbsiStatusResource } from '../../absi';\r\nimport { AbsiService } from '../../absi.service';\r\nimport { AbsiSectionXComponent } from '../absi-section-wrapper/absi-section-x/absi-section-x.component';\r\nimport { closest } from '@ng-bootstrap/ng-bootstrap/util/util';\r\n\r\n@Component({\r\n selector: 'absi-review-and-concurrence',\r\n templateUrl: './absi-review-and-concurrence.component.html',\r\n styleUrls: ['./absi-review-and-concurrence.component.scss']\r\n})\r\n\r\nexport class AbsiReviewAndConcurrenceComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() sectionInfo?: WFSectionLocalResource;\r\n @Input() absi?: AbsiResource | null;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n sectionInfo$!: Observable;\r\n sub!: Subscription;\r\n sectionLoaded = false;\r\n\r\n message!: MessageBanner;\r\n\r\n // @ViewChild('section') public section?: AbsiSectionXComponent;\r\n\r\n sections?: WFSectionLocalResource[];\r\n sectionsFiltered?: WFSectionLocalResource[];\r\n sections$!: Observable;\r\n sectionsSubs!: Subscription;\r\n\r\n ologButton = false;\r\n showReloadButton?: boolean;\r\n disableButtons?: boolean;\r\n\r\n showOlogButton?: boolean;\r\n showCloseButton?: boolean;\r\n showCompleteButton?: boolean;\r\n completeSignature?: WfSignature;\r\n closeSignature?: WfSignature;\r\n\r\n sectionLoading = true;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _absi: AbsiService,\r\n private serviceSchedule: ScheduleService,\r\n private _olog: OLogService,\r\n private _actionItems: ActionItemService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.message = this.getMessage('ABSI_RevNConc_Confirmation');\r\n }\r\n\r\n getSection() {\r\n this.sections$ = this.store.select(state => state.AbsiSections.data);\r\n this.sectionsSubs = this.sections$.subscribe((data: WFSectionLocalResource[]) => {\r\n const sectionInfo = data.find(x => x.id == this.sectionInfo?.id);\r\n if (sectionInfo) {\r\n const wfSignatures = sectionInfo.wfSignatures?.sort((a, b) => this.utils.sort(a.titleBefore, b.titleBefore));\r\n sectionInfo.wfSignatures = wfSignatures;\r\n this.sectionInfo = sectionInfo;\r\n this.loading.emit(false);\r\n setTimeout(() => {\r\n this.showReloadButton = this.sectionInfo?.wfSignatures?.some(s => !s.signed) && this.absi?.status == FormStatusEnum.ReviewAndConcurrence && this.hasRoles([Roles.OIC, Roles.FO]);\r\n }, 100);\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.disableButtons = false;\r\n this.getSection();\r\n }\r\n\r\n setButtons(e: any) {\r\n setTimeout(() => {\r\n this.showCloseButton = e?.close;\r\n this.showCompleteButton = e?.complete;\r\n this.showOlogButton = this.showCloseButton && this.absi?.status == FormStatusEnum.ReviewAndConcurrence;\r\n this.completeSignature = e.completeSignature;\r\n this.closeSignature = e.closeSignature;\r\n this.sectionLoading = false;\r\n }, 500);\r\n }\r\n\r\n async complete() {\r\n this.disableButtons = true;\r\n const s = this.completeSignature;\r\n if (this.absi?.id && s?.taskId && s.approveId) {\r\n this.loading.emit(true);\r\n await this.approve(s.taskId, s.approveId, FormStatusEnum.ReviewAndConcurrence);\r\n }\r\n }\r\n\r\n create() {\r\n this.sectionInfo = { id: 0 };\r\n this.absi = new AbsiResource();\r\n }\r\n\r\n revert() {\r\n const count = this.sectionInfo?.wfSignatures?.filter(s => s.signed && s.type != -1).length;\r\n let remove = false;\r\n\r\n if (count) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: count == 1 ? this.getMessage('one_absiApprovalReview')?.description : this.getMessage('multiple_absiApprovalReview')?.description.replace('{count}', count.toString()),\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(res => {\r\n remove = res != null;\r\n this.revertToActive(remove);\r\n });\r\n }\r\n else {\r\n this.revertToActive(remove);\r\n }\r\n }\r\n\r\n async revertToActive(remove: boolean) {\r\n if (this.absi?.id) {\r\n this.loading.emit(true);\r\n this.disableButtons = true;\r\n if (remove) {\r\n this.sectionInfo?.wfSignatures?.map(s => {\r\n if (s.signed) {\r\n this._absi.sign(s.taskID, s.unapproveID ?? 0).subscribe(res => {\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n });\r\n }\r\n const s = this.completeSignature;\r\n if (s?.taskId && s.unapproveId)\r\n await this.approve(s.taskId, s.unapproveId, FormStatusEnum.Active);\r\n }\r\n }\r\n\r\n async close(closeSchedule: boolean) {\r\n if (closeSchedule) {\r\n if (this.absi?.scheduleId) {\r\n const response = await this._olog.postToOlog(FormType.ABSI, this.absi?.id as number, OlogNotificationType.Closed);\r\n if (response?.ok) {\r\n this.loading.emit(true);\r\n this.serviceSchedule.getById(this.absi?.scheduleId).subscribe(async data => {\r\n const schedule = data;\r\n await this.openCompleteSchedule(schedule, ScheduleStatusEnum.completed);\r\n\r\n if (this.absi?.id)\r\n this._actionItems.emailByForm(this.absi?.id).toPromise();\r\n this.sectionLoaded = false;\r\n });\r\n }\r\n }\r\n }\r\n else {\r\n if (this.absi?.id)\r\n this._actionItems.emailByForm(this.absi?.id).toPromise();\r\n this.sectionLoaded = false;\r\n const s = this.closeSignature;\r\n if (s?.taskId && s.approveId)\r\n await this.approve(s.taskId, s.approveId, FormStatusEnum.Closed);\r\n }\r\n }\r\n\r\n async approve(taskId: number, actionId: number, status?: FormStatusEnum) {\r\n this.loading.emit(true);\r\n await this._absi.sign(taskId, actionId, status).toPromise().catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n async openCompleteSchedule(schedule: Schedule, status: ScheduleStatusEnum) {\r\n if (this.absi?.wfTableID)\r\n this._absi.getFirstSignatureDate(this.absi?.wfTableID).toPromise().then(async date => {\r\n schedule.completedDate = date;\r\n await this.closeSchedule(schedule, status);\r\n if (this.absi?.id) {\r\n const s = this.closeSignature;\r\n if (s?.taskId && s.approveId)\r\n await this.approve(s.taskId, s.approveId, FormStatusEnum.Closed);\r\n }\r\n });\r\n }\r\n\r\n async closeSchedule(schedule: Schedule, status: ScheduleStatusEnum) {\r\n if (schedule != null) {\r\n schedule.statusId = status;\r\n await this.serviceSchedule.updateStatus(schedule).toPromise();\r\n }\r\n }\r\n\r\n refresh() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('ABSI_ReloadRnCWarning').description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(async data => {\r\n if (data && this.absi?.wfTableID) {\r\n this.loading.emit(true);\r\n this._absi.refreshRnC(this.absi?.wfTableID).toPromise().then(() => {\r\n\r\n })\r\n .catch(e => {\r\n this.alert.message('defaultErrorMessage');\r\n console.log(e);\r\n\r\n });\r\n }\r\n });\r\n }\r\n\r\n async editOlog() {\r\n if (this.absi) {\r\n const data = await this._olog.getOlog(FormType.ABSI, this.absi.id, OlogNotificationType.Closed).toPromise();\r\n const dialogRef = this.dialog.open(PartialOlogComponent, {\r\n height: 'fit-content',\r\n width: '80%',\r\n data\r\n });\r\n dialogRef.afterClosed().subscribe((isSaved) => {\r\n console.log('The dialog was closed');\r\n if (isSaved) {\r\n console.log(isSaved);\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
Review and Concurrence
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n refresh Reload BL Staff\r\n \r\n \r\n \r\n \r\n Inspections Complete\r\n \r\n \r\n \r\n \r\n Return to Inspections\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessageBannerService } from 'src/app/components/messages/services/message-banner.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'absi-section-signature',\r\n templateUrl: './absi-section-signature.component.html',\r\n styleUrls: ['./absi-section-signature.component.scss']\r\n})\r\nexport class AbsiSectionSignatureComponent implements OnInit {\r\n\r\n @Input() date?: Date | null;\r\n @Input() user?: User | null;\r\n @Input() catl?: number | null;\r\n @Input() loading?: boolean;\r\n\r\n userName?: string;\r\n inspector: string = '';\r\n signatureDate: string = '';\r\n pendingActions: string = '';\r\n\r\n constructor(\r\n private dMessages: MessageBannerService) {\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadMessagesToShow();\r\n }\r\n\r\n loadMessagesToShow() {\r\n this.inspector = this.dMessages.get('absi_signatureInspector')?.description;\r\n this.signatureDate = this.dMessages.get('absi_signatureDate')?.description;\r\n this.pendingActions = this.dMessages.get('absi_signaturePendingActions')?.description;\r\n }\r\n}\r\n","
\r\n
\r\n {{ signatureDate }}\r\n \r\n \r\n {{ date | date : \"short\" }}\r\n \r\n
\r\n
\r\n {{ inspector }}\r\n \r\n \r\n {{ user && user.name ? user.name + \" (\" + user.initials + \")\" : null }}\r\n \r\n
\r\n
\r\n {{ pendingActions }}\r\n {{ catl }}\r\n
\r\n
\r\n","import { Component, Input, Output, EventEmitter, ViewChild, ElementRef, ViewChildren, OnChanges, OnDestroy, SimpleChanges, OnInit } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ComponentType, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WFSectionLocalResource, WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { AbsiResource } from '../../absi';\r\nimport { AbsiSectionXComponent } from './absi-section-x/absi-section-x.component';\r\n\r\n@Component({\r\n selector: 'absi-section-wrapper',\r\n templateUrl: './absi-section-wrapper.component.html',\r\n styleUrls: ['./absi-section-wrapper.component.scss']\r\n})\r\nexport class AbsiSectionWrapperComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() section?: WFSectionLocalResource;\r\n @Input() absi?: AbsiResource | null;\r\n\r\n @Output() requestRefresh = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild('section') private sectionComponent!: AbsiSectionXComponent;\r\n\r\n sections?: WFSectionLocalResource[];\r\n sections$!: Observable;\r\n sectionsSubs!: Subscription;\r\n\r\n actionItems$!: Observable;\r\n actionItemsSubs!: Subscription;\r\n actionItems!: ActionItem[];\r\n\r\n date?: Date | null;\r\n user?: User | null = new User();\r\n catl!: number;\r\n\r\n formType = FormType.ABSI;\r\n sectionLoading = false;\r\n isLoading?: boolean;\r\n\r\n @ViewChildren('panel', { read: ElementRef }) panels: any;\r\n\r\n constructor(\r\n private store: Store\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.actionItemsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n // this.setLoading(true);;\r\n this.sectionLoading = false;\r\n this.getSection();\r\n }\r\n\r\n panelOpen(val: any) {\r\n if (this.section)\r\n this.section.expanded = val;\r\n }\r\n\r\n getActionItems() {\r\n this.actionItems$ = this.store.select(state => state.ActionItems.data);\r\n this.actionItemsSubs = this.actionItems$.subscribe(async data => {\r\n this.actionItems = data.filter(x => x.wfSectionId == this.section?.id);\r\n if (this.section?.wfSignatures) {\r\n const wfSignature = this.section.wfSignatures?.find(x => x.type == ComponentType.ButtonSignature);\r\n if (wfSignature) this.showInfo(wfSignature);\r\n }\r\n });\r\n }\r\n\r\n getSection() {\r\n if (this.section) {\r\n this.sections$ = this.store.select(state => state.AbsiSections.data);\r\n this.sectionsSubs = this.sections$.subscribe((data: WFSectionLocalResource[]) => {\r\n const sectionInfo = data.find(x => x.id == this.section?.id && x.wfTableID == this.absi?.wfTableID);\r\n if (sectionInfo) {\r\n sectionInfo.expanded = this.section?.expanded ?? false;\r\n this.section = sectionInfo;\r\n this.getActionItems();\r\n }\r\n });\r\n }\r\n }\r\n\r\n create() {\r\n this.sectionComponent.create();\r\n }\r\n\r\n showInfo(wfSignature: WfSignatureResource) {\r\n this.user = wfSignature.signedBy;\r\n this.date = wfSignature.signedOn;\r\n this.catl = this.actionItems?.length;\r\n }\r\n\r\n setLoading(value: boolean) {\r\n setTimeout(() => {\r\n this.isLoading = value;\r\n this.loading.emit(value);\r\n }, 100);\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n
\r\n {{ section?.name }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n","import { Component, Input, SimpleChanges, OnChanges, OnDestroy, AfterViewInit, OnInit, Injector, Output, EventEmitter } from '@angular/core';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormType, FormStatusEnum, Roles, WFSaveOptions } from 'src/app/common/enumerations/enumerations';\r\nimport { WFComponent } from 'src/app/components/workflow/workflow';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { WFSectionLocalResource, WfSignatureResource, WfSignature, SaveTaskResource } from 'src/app/services/work-flow/work-flow';\r\nimport { AbsiResource } from '../../../absi';\r\nimport { AbsiService } from '../../../absi.service';\r\n\r\n@Component({\r\n selector: 'absi-sectionX',\r\n templateUrl: './absi-section-x.component.html',\r\n styleUrls: ['./absi-section-x.component.scss']\r\n})\r\nexport class AbsiSectionXComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {\r\n\r\n @Input() section?: WFSectionLocalResource;\r\n @Input() absi?: AbsiResource | null;\r\n @Input() collapse!: boolean;\r\n @Input() message!: MessageBanner;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() setButtons = new EventEmitter();\r\n\r\n isVacuumSection = false;\r\n isShieldingsSection = false;\r\n abbreviated!: boolean;\r\n\r\n beamline!: Resource;\r\n\r\n sectionName!: string;\r\n\r\n FormType = FormType;\r\n\r\n wfSignatures$!: Observable;\r\n wfSignatures?: WfSignatureResource[];\r\n wfSignaturesSR!: WfSignatureResource[];\r\n signatures!: WfSignature[];\r\n subscription!: Subscription;\r\n\r\n components!: WFComponent[];\r\n components$!: Observable;\r\n componentsSubs!: Subscription;\r\n\r\n ologButton = false;\r\n\r\n identificator!: number;\r\n\r\n showCompleteButton!: boolean;\r\n showCloseButton!: boolean;\r\n\r\n completeSignature?: WfSignature;\r\n closeSignature?: WfSignature;\r\n loaded = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _absi: AbsiService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.loadComponents();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.componentsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadComponents() {\r\n this.components$ = this.store.select(state => state.Components.data);\r\n this.componentsSubs = this.components$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data) {\r\n this.components = data;\r\n this.getData();\r\n }\r\n });\r\n }\r\n\r\n getData() {\r\n if (this.section?.wfSignatures) {\r\n this.wfSignatures = this.section.wfSignatures;\r\n this.setTasks();\r\n }\r\n }\r\n\r\n create() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n }\r\n\r\n setTasks() {\r\n if (this.wfSignatures) {\r\n let index = 1;\r\n if (!this.signatures) {\r\n this.signatures = [];\r\n }\r\n const signatures: WfSignature[] = [];\r\n this.wfSignatures.map(t => {\r\n let number = this.section?.number + '.' + index;\r\n const signature = this.createSignature(t, number);\r\n if (signature) {\r\n index++;\r\n t.component = this.components.find(x => x.id == t.type);\r\n signatures.push(signature);\r\n }\r\n });\r\n this.signatures = this.renumberArray(signatures);\r\n\r\n if (this.section?.number == 100) {\r\n this.completeSignature = this.signatures.find(x => x.type == -1 && x.status == FormStatusEnum.Active);\r\n this.closeSignature = this.signatures.find(x => x.type == -1 && x.status == FormStatusEnum.ReviewAndConcurrence);\r\n this.signatures = this.utils.cloneDeep(this.signatures.filter(s => s.type != -1));\r\n this.showCompleteButton = !this.completeSignature?.disabled && this.completeSignature?.status == this.absi?.status;\r\n this.showCloseButton = !this.closeSignature?.disabled && this.closeSignature?.status == this.absi?.status;\r\n this.setButtons.emit({\r\n complete: this.showCompleteButton,\r\n close: this.showCloseButton,\r\n completeSignature: this.completeSignature,\r\n closeSignature: this.closeSignature\r\n });\r\n }\r\n }\r\n }\r\n\r\n createSignature(t?: WfSignatureResource, number: string | null = null): WfSignature | null {\r\n if (t) {\r\n const signature: WfSignature = {\r\n id: t.id,\r\n number: number,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n question: t.question,\r\n question2: t.titleAfter,\r\n question3: t.titleAfter2,\r\n roles: t.roles.map(r => r.id),\r\n roleCodes: t.roles.map(r => r.code).join('/'),\r\n disabled: this.setDisabledTask(t) || this.disabled(t),\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveEnabled,\r\n unapprove: t.unapproveEnabled,\r\n disapprove: t.disapproveEnabled,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n value2: t.numericValue,\r\n textValue: t.text ? t.text.replace('^', '') : null,\r\n type: t.type,\r\n options: t.options ? JSON.parse(t.options) : [],\r\n sectionName: t.sectionName,\r\n isVacuum: false,\r\n disableEdit: this.disabled(t) || this.setDisabledTask(t),\r\n visible: t.visible,\r\n warning: this.absi?.status == FormStatusEnum.Closed ? false : t.warning,\r\n moreInfo: t.moreInfo ? JSON.parse(t.moreInfo).join('\\n') : null,\r\n component: t.component,\r\n configuration: t.configuration,\r\n condition: t.condition,\r\n code: t.code,\r\n status: t.status\r\n };\r\n return signature;\r\n }\r\n else return null;\r\n }\r\n\r\n updateSignature(t: WfSignatureResource) {\r\n const index = this.signatures.findIndex(x => x.id == t.id);\r\n // console.log(this.signatures[index]);\r\n\r\n if (index >= 0) {\r\n this.signatures[index].disabled = this.setDisabledTask(t) || !t.enabled || this.disabled(t);\r\n this.signatures[index].approvedBy = t.signedBy;\r\n this.signatures[index].approved = t.signed;\r\n this.signatures[index].approvedOn = t.signedOn;\r\n this.signatures[index].approve = t.approveEnabled;\r\n this.signatures[index].unapprove = t.unapproveEnabled;\r\n this.signatures[index].disapprove = t.disapproveEnabled;\r\n this.signatures[index].amendment = t.amendmentEnabled;\r\n this.signatures[index].value = t.value;\r\n this.signatures[index].value2 = t.numericValue;\r\n this.signatures[index].textValue = t.text ? t.text.replace('^', '') : null;\r\n this.signatures[index].disableEdit = this.disabled(t) || this.setDisabledTask(t);\r\n this.signatures[index].visible = t.visible;\r\n this.signatures[index].warning = this.absi?.status == FormStatusEnum.Closed ? false : t.warning;\r\n this.signatures[index].moreInfo = t.moreInfo ? JSON.parse(t.moreInfo).join('\\n') : null;\r\n this.signatures[index].status = t.status;\r\n }\r\n // this.cdRef.detectChanges();\r\n }\r\n\r\n disabled(t: WfSignatureResource) {\r\n if (!this.getCurrentUser()) {\r\n return true;\r\n }\r\n return !(t.status == this.absi?.status);\r\n }\r\n\r\n disableButtons() {\r\n const enable = (this.absi?.status == FormStatusEnum.Active || this.absi?.status == FormStatusEnum.Shielding) && this.hasRoles([Roles.FO, Roles.VAC]);\r\n return !enable;\r\n }\r\n\r\n setDisabledTask(t: WfSignatureResource) {\r\n const enable = this.validateRole(t);\r\n const approveDisable = this.wfSignatures?.find(x => x.type == 1)?.signed && t.type != 1 && this.section?.number != 100;\r\n return !enable || approveDisable;\r\n }\r\n\r\n validateRole(t: WfSignatureResource) {\r\n let valid = false;\r\n\r\n if (!this.getCurrentUser()) {\r\n return valid;\r\n }\r\n\r\n valid = this.hasRoles(t.roles);\r\n\r\n if (t.users.length) {\r\n valid = t.users.map(u => u.id).includes(this.getCurrentUser()?.id);\r\n }\r\n\r\n return valid;\r\n }\r\n\r\n renumberArray(signatures: WfSignature[]) {\r\n let index = 1;\r\n let order = 1;\r\n signatures.map(s => {\r\n s.order = order;\r\n order++;\r\n if (s.required && s.component?.numericHeader) {\r\n let number = this.section?.number + '.' + index;\r\n s.number = number;\r\n index++;\r\n }\r\n else {\r\n s.number = null;\r\n }\r\n });\r\n return signatures;\r\n }\r\n\r\n check(e: any, taskId?: number, approveId?: number, unapproveId?: number) {\r\n if (e == true || e.checked == true) {\r\n this.approve(taskId, approveId);\r\n }\r\n else {\r\n this.unapprove(taskId, unapproveId);\r\n }\r\n }\r\n\r\n save(e: any, taskId?: number, taskLocalId?: number, approveId?: number, code?: string) {\r\n let saveTaskResource = new SaveTaskResource();\r\n const signature = this.wfSignatures?.find(x => x.taskID == taskLocalId);\r\n if (signature) {\r\n signature.text = e;\r\n signature.wfTaskLocal.text = e;\r\n signature.signedBy = this.getCurrentUser();\r\n if (code) {\r\n const wfTaskLocals = this.section?.wfSignatures?.map(x => x.wfTaskLocal);\r\n this.wfSignatures?.map(t => {\r\n if (t.condition?.includes(code) && wfTaskLocals)\r\n t.required = this.utils.conditionParse(t.condition, wfTaskLocals);\r\n });\r\n this.setTasks();\r\n }\r\n saveTaskResource = {\r\n id: taskId ?? 0,\r\n text: e,\r\n field: 'text',\r\n option: WFSaveOptions.MANUAL\r\n };\r\n this.saveTask(saveTaskResource);\r\n }\r\n }\r\n\r\n saveTask(saveTaskResource: SaveTaskResource) {\r\n this._absi.saveWFTask(saveTaskResource).subscribe(data => {\r\n // this.requestRefresh.emit();\r\n }, error => {\r\n console.log(error);\r\n this.alert.error(error.statusText);\r\n });\r\n }\r\n\r\n getChecked(e: any) {\r\n const keyValues = JSON.parse(e);\r\n const values = keyValues.find((x: any) => x.key == 'checked').val;\r\n return values.filter((x: any) => x.checked).map((y: any) => y.value).join(',');\r\n }\r\n\r\n approve(taskId?: number, actionId?: number) {\r\n if (taskId && actionId)\r\n this._absi.sign(taskId, actionId).subscribe(res => {\r\n\r\n }, error => {\r\n console.log(error);\r\n this.alert.error(error.error);\r\n });\r\n }\r\n\r\n unapprove(taskId?: number, actionId?: number) {\r\n if (taskId && actionId) {\r\n this._absi.sign(taskId, actionId).subscribe(res => {\r\n }, error => {\r\n console.log(error);\r\n this.alert.error(error.error);\r\n });\r\n }\r\n }\r\n\r\n signedAll() {\r\n return !this.signaturesCount();\r\n }\r\n\r\n signaturesCount() {\r\n return this.wfSignatures?.filter(s => s.signed).length;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, ViewChildren, ViewContainerRef, QueryList, Output, EventEmitter, OnDestroy, OnChanges, SimpleChanges, OnInit, Injector, Input, ViewChild, AfterViewInit } from '@angular/core';\r\nimport { MatTableDataSource, MatRow } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormStatusEnum, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { AbsiService } from '../absi.service';\r\nimport { AbsiUpdate } from '../store/absi/absi.action';\r\nimport { AbsiResource } from '../absi';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { AbsiSectionRefresh } from '../store/absi-sections/absi-section.action';\r\n@Component({\r\n selector: 'absi-side-panel',\r\n templateUrl: './absi-side-panel.component.html',\r\n styleUrls: ['./absi-side-panel.component.scss']\r\n})\r\n/** absi-side-panel component*/\r\nexport class AbsiSidePanelComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @Input() filter?: string | null;\r\n @Output() loading = new EventEmitter();\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows?: QueryList;\r\n @ViewChildren('matrow') datarows?: QueryList;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n displayedColumns: string[] = [\r\n 'serialNo',\r\n 'resourceName',\r\n 'statusName',\r\n ];\r\n\r\n public dataSource = new MatTableDataSource();\r\n\r\n absi?: AbsiResource;\r\n absis?: AbsiResource[];\r\n absisFiltered?: AbsiResource[];\r\n absis$!: Observable;\r\n absisSubs!: Subscription;\r\n\r\n serialNo!: string;\r\n selectedRowIndex? = -1;\r\n selectedIndex = -1;\r\n showClosed = false;\r\n\r\n allowNew = false;\r\n disabled = false;\r\n maxHeight!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: AbsiService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setSortingAccessor();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loading.emit(true);\r\n this.loadAbsis();\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadAbsis();\r\n this.setHeights();\r\n }\r\n\r\n loadAbsis() {\r\n this.absis$ = this.store.select(state => state.Absi.data);\r\n this.absisSubs = this.absis$.subscribe(async data => {\r\n if (data?.length) {\r\n const filter = this.filter?.toLowerCase() ?? '';\r\n this.absis = data.filter(a => a.status != FormStatusEnum.Canceled && a.status != this.formStatusEnum.Closed || this.showClosed).filter(a => a.serialNo.toLowerCase().includes(filter) || a.resourceName?.toLowerCase().includes(filter) || a.formStatus?.name.toLowerCase().includes(filter));\r\n this.absisFiltered = this.absis.sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n this.dataSource = new MatTableDataSource(this.absisFiltered);\r\n this.setSortingAccessor();\r\n const openDocument = await this.checkOpenDocument(FormType.ABSI, data);\r\n if (openDocument) {\r\n this.loading.emit(true);\r\n this.showClosed = openDocument.closed ? true : this.showClosed;\r\n this.getValues(openDocument.document);\r\n }\r\n else this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (item, property) => {\r\n switch (property) {\r\n case 'statusName':\r\n return item.formStatus?.name ?? ''; // Access the nested property for status name\r\n default:\r\n return (item as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n changeClosed() {\r\n this.loadAbsis();\r\n }\r\n\r\n async getValues(row: AbsiResource) {\r\n if (await this.canDeactivate())\r\n if (!this.disabled && row) {\r\n this.disabled = true;\r\n if (!row.wfTable && row.wfTableID)\r\n this.store.dispatch(new AbsiSectionRefresh(row.wfTableID));\r\n this.rowSelected.emit(row);\r\n this.selectedRowIndex = row?.id;\r\n this.setOpenDocument(FormType.ABSI, row.id);\r\n if (!row.wfTable) {\r\n this.loading.emit(true);\r\n this.service.getById(row.id).toPromise().then(data => {\r\n if (data) {\r\n row = data;\r\n\r\n this.rowSelected.emit(row);\r\n this.store.dispatch(new AbsiUpdate(row.id, row));\r\n }\r\n this.disabled = false;\r\n this.loading.emit(false);\r\n });\r\n }\r\n else {\r\n this.disabled = false;\r\n this.loading.emit(false);\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n // //#endregion\r\n\r\n\r\n breakByComma(text: string) {\r\n if (text) {\r\n text = this.utils.replaceAll(text, ', ', '
');\r\n }\r\n return text;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n Show Closed/Canceled ABSIs\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n No.\r\n \r\n \r\n \r\n\r\n \r\n \r\n Endstation(s)\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { AbsiResource, SaveAbsiResource, SaveAbsiStatusResource } from './absi';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { FormStatusEnum, LoadingOrigin } from 'src/app/common/enumerations/enumerations';\r\nimport { CatlReportComponent } from 'src/app/controls/catl/catl-report/catl-report.component';\r\nimport { CommentsSummaryComponent } from 'src/app/controls/comments-summary/comments-summary.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { AbsiService } from './absi.service';\r\nimport { RejectDialogComponent } from 'src/app/controls/reject-dialog/reject-dialog.component';\r\nimport { MessageTypeEnum } from '../messages/services/message-banner.enums';\r\n\r\n@Component({\r\n selector: 'absi',\r\n templateUrl: './absi.component.html',\r\n styleUrls: ['./absi.component.scss', '../../../quill-helper.scss']\r\n})\r\nexport class AbsiComponent extends BaseComponent implements OnInit, AfterViewInit {\r\n\r\n absi?: AbsiResource;\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n tmpEndstations!: string;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n // absiUnchanged?: Absi | null;\r\n absis: AbsiResource[] = [];\r\n absis$!: Observable;\r\n absisSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: AbsiService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'ABSI Checklists';\r\n this.loadAbsis();\r\n }\r\n\r\n loadAbsis() {\r\n this.absis$ = this.store.select(state => state.Absi.data);\r\n this.absisSubs = this.absis$.subscribe(data => {\r\n if (data?.length) {\r\n this.absis = data;\r\n if (this.absi) {\r\n const absi = this.absis.find(a => a.id == this.absi?.id);\r\n if (absi?.status != this.absi.status)\r\n this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', this.absi?.serialNo), new MessagePlaceholder('{status}', absi?.formStatus?.name)]);\r\n this.absi = absi;\r\n }\r\n }\r\n });\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.absisSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n rowSelected(e: AbsiResource) {\r\n this.loading = true;\r\n setTimeout(() => {\r\n if (this.absi?.id != e.id) {\r\n this.setHeights();\r\n this.scrollToTop('sidenav-content');\r\n\r\n }\r\n this.absi = e;\r\n }, 100);\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n catlReport() {\r\n const report = this.dialog.open(CatlReportComponent, {\r\n width: '80vw',\r\n data: this.absi\r\n });\r\n report.afterClosed().subscribe((data) => {\r\n if (data) {\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n\r\n const cancelDialog = this.dialog.open(RejectDialogComponent, {\r\n width: '600px',\r\n data: {\r\n warning: this.getMessage('RejectDialogWarning').description,\r\n title: this.getMessage(\"GenericActionConfirmation\").description?.replace('{action}', 'Cancel').replace('{item}', `this ABSI Checklist (${this.absi?.serialNo})`),\r\n placeholder: 'Please provide a reason for canceling this ABSI Checklist',\r\n icon: true,\r\n },\r\n });\r\n\r\n cancelDialog.afterClosed().subscribe((data) => {\r\n if (data.accept) {\r\n const absi = { ...this.absi } as SaveAbsiStatusResource;\r\n absi.status = FormStatusEnum.Canceled;\r\n absi.cancelReason = data.text;\r\n this.service.setStatus(absi).subscribe(() => {\r\n this.alert.message(\"ABSI_CancelNotification\", [new MessagePlaceholder(\"{serialNo}\", this.absi?.serialNo), new MessagePlaceholder(\"{reason}\", '' + data.text + '')], MessageTypeEnum.Error, 'ABSI Canceled!');\r\n });\r\n }\r\n });\r\n }\r\n\r\n commentsSummary() {\r\n const report = this.dialog.open(CommentsSummaryComponent, {\r\n height: '85vh',\r\n width: '80vw',\r\n minHeight: '680px',\r\n data: this.absi\r\n });\r\n report.afterClosed().subscribe((data) => {\r\n });\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n case LoadingOrigin.Self:\r\n this.loadingMain = e as boolean;\r\n break;\r\n\r\n }\r\n console.log('main: ' + this.loadingMain + ' buttons: ' + this.loadingButtons + ' side: ' + this.loadingSide + ' self: ' + this.loadingSelf);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide || this.loadingSelf;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingSelf = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n

\r\n {{ absi?.serialNo }}\r\n for {{ absi.resourceName }}\r\n

\r\n \r\n {{ absi.formStatus?.name }}\r\n by {{ absi.updatedByName }} on\r\n {{ absi.updatedOn | date }}\r\n \r\n
\r\n
\r\n \r\n Type\r\n \r\n {{ absi.versionName }}\r\n \r\n
\r\n
\r\n \r\n Created Date\r\n \r\n \r\n
\r\n \r\n \r\n Cancel\r\n \r\n \r\n Cancel Reason: {{ absi?.cancelReason }}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n CATL Report\r\n summarize\r\n \r\n\r\n \r\n Comments & Recommendations\r\n feedback\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AbsiBuilderComponent } from './absi-builder/absi-builder.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule, FormControl, FormGroupDirective, NgForm } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule, ErrorStateMatcher } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldDefaultOptions } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { reducers } from 'src/app/store/reducers';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { config } from 'src/assets/config';\r\nimport { AbsiBuilderSideComponent } from './absi-builder/absi-builder-side/absi-builder-side.component';\r\nimport { AbsiBuilderService } from './absi-builder/absi-builder.service';\r\nimport { AbsiBuilderMainComponent } from './absi-builder/absi-builder-main/absi-builder-main.component';\r\nimport { AbsiBuilderButtonsComponent } from './absi-builder/absi-builder-buttons/absi-builder-buttons.component';\r\nimport { AbsiBuilderSectionComponent } from './absi-builder/absi-builder-main/absi-builder-section/absi-builder-section.component';\r\nimport { AbsiComponent } from './absi.component';\r\nimport { AbsiService } from './absi.service';\r\nimport { AbsiSidePanelComponent } from './absi-side-panel/absi-side-panel.component';\r\nimport { AbsiMainPanelComponent } from './absi-main-panel/absi-main-panel.component';\r\nimport { CatlReportComponent } from 'src/app/controls/catl/catl-report/catl-report.component';\r\nimport { AbsiSectionXComponent } from './absi-main-panel/absi-section-wrapper/absi-section-x/absi-section-x.component';\r\nimport { AbsiSectionWrapperComponent } from './absi-main-panel/absi-section-wrapper/absi-section-wrapper.component';\r\nimport { AbsiSectionSignatureComponent } from './absi-main-panel/absi-section-wrapper/absi-section-signature/absi-section-signature.component';\r\nimport { AbsiReviewAndConcurrenceComponent } from './absi-main-panel/absi-review-and-concurrence/absi-review-and-concurrence.component';\r\n\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n AbsiBuilderComponent,\r\n AbsiBuilderSideComponent,\r\n AbsiBuilderMainComponent,\r\n AbsiBuilderButtonsComponent,\r\n AbsiBuilderSectionComponent,\r\n\r\n AbsiComponent,\r\n AbsiSidePanelComponent,\r\n AbsiMainPanelComponent,\r\n AbsiSectionWrapperComponent,\r\n AbsiSectionSignatureComponent,\r\n AbsiSectionXComponent,\r\n AbsiReviewAndConcurrenceComponent,\r\n\r\n CatlReportComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ChecklistsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n AbsiService,\r\n AbsiBuilderService,\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class AbsiModule { }\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AbsiResource, AbsiTemplateTypeResource, SaveAbsiStatusResource } from './absi';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { FormType, FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { SaveTaskResource, WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\n\r\n@Injectable()\r\nexport class AbsiService extends BaseService {\r\n\r\n SerialNumber = '/SerialNumbers/' + FormType.KE;\r\n Locations = '/Locations';\r\n\r\n Api = '/Absi';\r\n apiAbsiTemplateTypes = this.BASE_URL + '/AbsiTemplateType';\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector, '/Absi');\r\n }\r\n\r\n // Gets the Serial Number of the Form\r\n getSerialNo(): Observable {\r\n const httpresult1 = this.http.get(this.BASE_URL + this.SerialNumber);\r\n return httpresult1;\r\n }\r\n\r\n getFirstSignatureDate(wfTableId: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/FirstSignatureDate/' + wfTableId);\r\n return httpresult;\r\n }\r\n\r\n sign(taskId: number, actionId: number, status?: FormStatusEnum) {\r\n let url: string = this.BASE_URL + this.Api + '/Sign?task=' + taskId + '&action=' + actionId;\r\n if (status) url += '&status=' + status;\r\n const httpresult = this.http.put(url, null);\r\n return httpresult;\r\n }\r\n\r\n saveWFTask(s: SaveTaskResource) {\r\n const httpresult = this.http.put(this.BASE_URL + this.Api + '/Save/' + s.id, s);\r\n return httpresult;\r\n }\r\n\r\n readAllSections(wfTableId: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/WFSectionLocals/' + wfTableId);\r\n return httpresult;\r\n }\r\n\r\n refreshRnC(wfTableID: number) {\r\n return this.http.patch(this.BASE_URL + this.Api + '/RefreshRnC/' + wfTableID, null);\r\n }\r\n\r\n setStatus(absi: SaveAbsiStatusResource, refresh: boolean = true) {\r\n return this.http.put(this.BASE_URL + this.Api + '/SetStatus/' + absi.id + '/' + refresh, absi);\r\n }\r\n\r\n\r\n //#region AbsiTemplateType\r\n\r\n getAllAbsiTemplateTypes(): Observable {\r\n return this.http.get(this.apiAbsiTemplateTypes);\r\n }\r\n\r\n getAbsiTemplateTypeById(absiTemplateTypeId: number): Observable {\r\n return this.http.get(this.apiAbsiTemplateTypes + '/' + absiTemplateTypeId);\r\n }\r\n\r\n createAbsiTemplateType(absiTemplateType: AbsiTemplateTypeResource): Observable {\r\n return this.http.post(this.apiAbsiTemplateTypes, absiTemplateType);\r\n }\r\n\r\n updateAbsiTemplateType(absiTemplateTypeId: number, absiTemplateType: AbsiTemplateTypeResource): Observable {\r\n return this.http.put(this.apiAbsiTemplateTypes + '/' + absiTemplateTypeId, absiTemplateType);\r\n }\r\n\r\n deleteAbsiTemplateType(absiTemplateTypeId: number, deleteReason: string): Observable {\r\n return this.http.delete(this.apiAbsiTemplateTypes + '/' + absiTemplateTypeId + '/' + deleteReason);\r\n }\r\n\r\n //#endregion\r\n}\r\n\r\nclass SerialNumber {\r\n serialNo!: string;\r\n}\r\n","import { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WFTableConfig, WFTableResource } from '../workflow/workflow';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\nimport { ChecklistExecStatus } from '../checklists/checklists';\r\n\r\nexport class AbsiResource {\r\n id!: number;\r\n name?: string;\r\n serialNo!: string;\r\n scheduleId?: number;\r\n resourceName?: string;\r\n status!: number;\r\n type?: number;\r\n formStatus?: FormStatus;\r\n requesterId?: number;\r\n requesterName?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n createdByName?: string;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n updatedByName?: string;\r\n locations?: Location[];\r\n wfTableID?: number;\r\n wfTableLocalID?: number;\r\n wfTable?: WFTableResource;\r\n wfTableConfigID?: number;\r\n typeName?: string;\r\n versionName?: string;\r\n cancelReason?: string;\r\n\r\n checklistStatusID?: number;\r\n checklistStatus?: ChecklistExecStatus;\r\n}\r\n\r\nexport class SaveAbsiResource {\r\n id!: number;\r\n name?: string;\r\n serialNo?: string;\r\n type?: number;\r\n scheduleId!: number;\r\n status?: number;\r\n requesterId?: number;\r\n wfTableID?: number;\r\n}\r\n\r\nexport class AbsiStatusResource {\r\n status!: number;\r\n completed!: boolean;\r\n userID!: number;\r\n taskCount!: number;\r\n}\r\n\r\nexport interface SaveAbsiStatusResource {\r\n id: number;\r\n status: number;\r\n cancelReason: string;\r\n}\r\n\r\nexport class AbsiTemplateResource {\r\n id?: number;\r\n name!: string;\r\n type!: number;\r\n status?: number;\r\n requesterId!: number;\r\n wfTableID?: number;\r\n createdOn?: Date;\r\n wfTableConfig?: WFTableConfig;\r\n absiTemplateVersions?: AbsiTemplateVersionResource[];\r\n}\r\n\r\nexport class AbsiTemplateVersionResource {\r\n id?: number;\r\n name!: string;\r\n status?: number;\r\n wfTableID?: number;\r\n wfTableConfig?: WFTableConfig;\r\n createdBy?: number;\r\n createdByName?: string;\r\n createdOn?: Date;\r\n updatedBy?: number;\r\n updatedByName?: string;\r\n updatedOn?: Date;\r\n approvedByID?: number;\r\n approvedBy?: User;\r\n approvedOn?: Date;\r\n\r\n statusName?: string;\r\n statusClass?: string;\r\n}\r\n\r\nexport class AbsiTemplateTypeResource {\r\n id?: number;\r\n name?: string;\r\n description?: string;\r\n status?: number;\r\n code?: string;\r\n wfTableID?: number;\r\n createdOn?: Date;\r\n absiTemplates?: AbsiTemplateResource[];\r\n}\r\n\r\nexport class ABSITStatusResource {\r\n activeTemplate!: AbsiTemplateResource;\r\n newTemplate!: number;\r\n templateStatus!: number;\r\n}\r\n\r\nexport class AbsiSection {\r\n public wfTableID!: number;\r\n public sectionNumber!: number;\r\n public wfSignatures!: WfSignatureResource[];\r\n}\r\n","import { WFSectionLocalResource } from \"src/app/services/work-flow/work-flow\";\r\n\r\n\r\nexport class AbsiSectionRefresh {\r\n static readonly type = '[AbsiSection] Refresh';\r\n constructor(public wfTableID: number) { }\r\n}\r\nexport class AbsiSectionCreate {\r\n static readonly type = '[AbsiSection] Create';\r\n constructor(public item: WFSectionLocalResource) { }\r\n}\r\nexport class AbsiSectionUpdate {\r\n static readonly type = '[AbsiSection] Update';\r\n constructor(public id: number, public item: WFSectionLocalResource) { }\r\n}\r\nexport class AbsiSectionDelete {\r\n static readonly type = '[AbsiSection] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext, Store } from '@ngxs/store';\r\nimport { AbsiService } from '../../absi.service';\r\nimport { AbsiSectionCreate, AbsiSectionDelete, AbsiSectionRefresh, AbsiSectionUpdate } from './absi-section.action';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ActionItemsUpdateBySection } from 'src/app/controls/catl/action-item/store/actionItems.action';\r\nimport { state } from '@angular/animations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class AbsiSectionStateModel {\r\n data: WFSectionLocalResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'AbsiSections',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class AbsiSectionState {\r\n constructor(\r\n private absiService: AbsiService,\r\n private store: Store\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: AbsiSectionStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(AbsiSectionRefresh)\r\n refresh({ patchState, getState }: StateContext, { wfTableID }: AbsiSectionRefresh) {\r\n if (wfTableID)\r\n this.absiService.readAllSections(wfTableID).subscribe(data => {\r\n let newData = getState().data.filter(x => x.wfTableID && x.wfTableID != wfTableID);\r\n newData = newData.concat(data);\r\n patchState({\r\n data: utils.cloneDeep(newData)\r\n });\r\n });\r\n }\r\n\r\n @Action(AbsiSectionCreate)\r\n create({ getState, patchState }: StateContext, { item }: AbsiSectionCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n this.store.dispatch(new ActionItemsUpdateBySection(item.id, item.actionItems ?? []));\r\n\r\n }\r\n\r\n @Action(AbsiSectionUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: AbsiSectionUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0)\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n this.store.dispatch(new ActionItemsUpdateBySection(item.id, item.actionItems ?? []));\r\n }\r\n\r\n @Action(AbsiSectionDelete)\r\n delete({ getState, patchState }: StateContext, { id }: AbsiSectionDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as AbsiSectionActions from 'src/app/components/absi/store/absi-sections/absi-section.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AbsiSectionStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initStore() { }\r\n\r\n initListeners() {\r\n // ABSI Sections\r\n this.signalRService.hubConnection?.on(Channels.ABSISECTION, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new AbsiSectionActions.AbsiSectionCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new AbsiSectionActions.AbsiSectionUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new AbsiSectionActions.AbsiSectionDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new AbsiSectionActions.AbsiSectionRefresh(data.obj));\r\n }\r\n });\r\n }\r\n}\r\n","import { AbsiTemplateTypeResource } from '../../absi';\r\n\r\nexport class AbsiTemplateTypeRefresh {\r\n static readonly type = '[AbsiTemplateType] Refresh';\r\n}\r\nexport class AbsiTemplateTypeCreate {\r\n static readonly type = '[AbsiTemplateType] Create';\r\n constructor(public item: AbsiTemplateTypeResource) { }\r\n}\r\nexport class AbsiTemplateTypeUpdate {\r\n static readonly type = '[AbsiTemplateType] Update';\r\n constructor(public id: number, public item: AbsiTemplateTypeResource) { }\r\n}\r\nexport class AbsiTemplateTypeDelete {\r\n static readonly type = '[AbsiTemplateType] Delete';\r\n constructor(public id: number) { }\r\n}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { AbsiTemplateTypeResource } from '../../absi';\r\nimport { AbsiService } from '../../absi.service';\r\nimport { AbsiTemplateTypeRefresh, AbsiTemplateTypeCreate, AbsiTemplateTypeUpdate, AbsiTemplateTypeDelete } from './absi-template-type.action';\r\n\r\nexport class AbsiTemplateTypeStateModel {\r\n data: AbsiTemplateTypeResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'AbsiTemplateType',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class AbsiTemplateTypeState {\r\n constructor(\r\n private absiService: AbsiService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: AbsiTemplateTypeStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(AbsiTemplateTypeRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.absiService.getAllAbsiTemplateTypes().toPromise().then(data => {\r\n patchState({ data });\r\n });\r\n }\r\n\r\n @Action(AbsiTemplateTypeCreate)\r\n create({ getState, patchState }: StateContext, { item }: AbsiTemplateTypeCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(AbsiTemplateTypeUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: AbsiTemplateTypeUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(AbsiTemplateTypeDelete)\r\n delete({ getState, patchState }: StateContext, { id }: AbsiTemplateTypeDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport * as AbsiTemplateTypeActions from './absi-template-type.action';\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AbsiTemplateTypeStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new AbsiTemplateTypeActions.AbsiTemplateTypeRefresh());\r\n }\r\n\r\n initListeners() {\r\n // AbsiTemplateType\r\n this.signalRService.hubConnection?.on(Channels.ABSITEMPLATETYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new AbsiTemplateTypeActions.AbsiTemplateTypeCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new AbsiTemplateTypeActions.AbsiTemplateTypeUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new AbsiTemplateTypeActions.AbsiTemplateTypeDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new AbsiTemplateTypeActions.AbsiTemplateTypeRefresh());\r\n break;\r\n\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { AbsiTemplateVersionResource } from \"../../absi\";\r\n\r\nexport class AbsiTemplateVersionRefresh {\r\n static readonly type = '[AbsiTemplateVersion] Refresh';\r\n constructor(public id: number) { }\r\n}\r\nexport class AbsiTemplateVersionRefreshByID {\r\n static readonly type = '[AbsiTemplateVersion] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\nexport class AbsiTemplateVersionCreate {\r\n static readonly type = '[AbsiTemplateVersion] Create';\r\n constructor(public item: AbsiTemplateVersionResource) { }\r\n}\r\nexport class AbsiTemplateVersionUpdate {\r\n static readonly type = '[AbsiTemplateVersion] Update';\r\n constructor(public id: number, public item: AbsiTemplateVersionResource) { }\r\n}\r\nexport class AbsiTemplateVersionDelete {\r\n static readonly type = '[AbsiTemplateVersion] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { AbsiTemplateVersionCreate, AbsiTemplateVersionDelete, AbsiTemplateVersionRefresh, AbsiTemplateVersionRefreshByID, AbsiTemplateVersionUpdate } from './absi-template.action';\r\nimport { AbsiBuilderService } from '../../absi-builder/absi-builder.service';\r\nimport { AbsiTemplateVersionResource } from '../../absi';\r\n\r\nexport class AbsiTemplateVersionStateModel {\r\n data: AbsiTemplateVersionResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'AbsiTemplateVersions',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class AbsiTemplateVersionState {\r\n constructor(\r\n private service: AbsiBuilderService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: AbsiTemplateVersionStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(AbsiTemplateVersionRefresh)\r\n refresh({ patchState }: StateContext, { id }: AbsiTemplateVersionRefresh) {\r\n this.service.GetTemplateVersionsByType(id).subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(AbsiTemplateVersionRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: AbsiTemplateVersionRefreshByID) {\r\n this.service.GetTemplateVersionsByID(id).subscribe(data => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, data]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(AbsiTemplateVersionCreate)\r\n create({ getState, patchState }: StateContext, { item }: AbsiTemplateVersionCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(AbsiTemplateVersionUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: AbsiTemplateVersionUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(AbsiTemplateVersionDelete)\r\n delete({ getState, patchState }: StateContext, { id }: AbsiTemplateVersionDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport * as AbsiTemplateVersionActions from './absi-template.action';\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AbsiTemplateVersionStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new AbsiTemplateVersionActions.AbsiTemplateVersionRefresh(0));\r\n }\r\n\r\n initListeners() {\r\n // AbsiTemplateVersion\r\n this.signalRService.hubConnection?.on(Channels.ABSI_TEMPLATES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new AbsiTemplateVersionActions.AbsiTemplateVersionCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new AbsiTemplateVersionActions.AbsiTemplateVersionUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new AbsiTemplateVersionActions.AbsiTemplateVersionDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new AbsiTemplateVersionActions.AbsiTemplateVersionRefresh(data.id));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new AbsiTemplateVersionActions.AbsiTemplateVersionRefreshByID(data.id));\r\n\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { AbsiResource } from \"../../absi\";\r\n\r\nexport class AbsiRefresh {\r\n static readonly type = '[Absi] Refresh';\r\n constructor(public id: number) { }\r\n}\r\nexport class AbsiRefreshByID {\r\n static readonly type = '[Absi] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\nexport class AbsiCreate {\r\n static readonly type = '[Absi] Create';\r\n constructor(public item: AbsiResource) { }\r\n}\r\nexport class AbsiUpdate {\r\n static readonly type = '[Absi] Update';\r\n constructor(public id: number, public item: AbsiResource) { }\r\n}\r\nexport class AbsiDelete {\r\n static readonly type = '[Absi] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext, Store } from '@ngxs/store';\r\nimport { AbsiCreate, AbsiDelete, AbsiRefresh, AbsiRefreshByID, AbsiUpdate } from './absi.action';\r\nimport { AbsiBuilderService } from '../../absi-builder/absi-builder.service';\r\nimport { AbsiResource } from '../../absi';\r\nimport { AbsiService } from '../../absi.service';\r\nimport { AbsiSectionUpdate } from '../absi-sections/absi-section.action';\r\n\r\nexport class AbsiStateModel {\r\n data: AbsiResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Absi',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class AbsiState {\r\n constructor(\r\n private service: AbsiService,\r\n private store: Store\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: AbsiStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(AbsiRefresh)\r\n refresh({ patchState }: StateContext, { id }: AbsiRefresh) {\r\n this.service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(AbsiRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: AbsiRefreshByID) {\r\n this.service.getById(id).subscribe(item => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(AbsiCreate)\r\n create({ getState, patchState }: StateContext, { item }: AbsiCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(AbsiUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: AbsiUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(AbsiDelete)\r\n delete({ getState, patchState }: StateContext, { id }: AbsiDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport * as AbsiActions from './absi.action';\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AbsiStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new AbsiActions.AbsiRefresh(0));\r\n }\r\n\r\n initListeners() {\r\n // Absi\r\n this.signalRService.hubConnection?.on(Channels.ALLABSIS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new AbsiActions.AbsiCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new AbsiActions.AbsiUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new AbsiActions.AbsiDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new AbsiActions.AbsiRefresh(data.id));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new AbsiActions.AbsiRefreshByID(data.id));\r\n\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, OnInit, Output, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector } from '@angular/core';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { APLCategoryService } from '../../apl-category.service';\r\nimport { APLCategoryApprovalPopupComponent, APLCategoryApprovalPopupParameters } from '../dialogs/apl-category-approval-popup/apl-category-approval-popup.component';\r\nimport { APLCategoryPopupComponent, APLCategoryPopupParameters } from '../dialogs/apl-category-popup/apl-category-popup.component';\r\nimport { APLGroupPopupComponent, APLGroupPopupParameters } from '../dialogs/apl-group-popup/apl-group-popup.component';\r\nimport { Clipboard } from '@angular/cdk/clipboard';\r\nimport { ActivatedRoute, Route, Router } from '@angular/router';\r\n\r\n\r\n@Component({\r\n selector: 'apl-category-v2-categories',\r\n templateUrl: './apl-category-v2-categories.component.html',\r\n styleUrls: ['./apl-category-v2-categories.component.scss']\r\n})\r\nexport class AplCategoryV2CategoriesComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() enableMove!: boolean;\r\n @Input() filter!: string;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n aplCategorySubscription!: Subscription;\r\n aplCategory$!: Observable;\r\n aplCategories!: APLCategory[];\r\n aplCategoriesFiltered!: APLCategory[];\r\n aplCategoriesPending!: APLCategory[];\r\n\r\n aplGroups!: APLGroup[];\r\n aplGroups$!: Observable;\r\n aplGroupsSubscription!: Subscription;\r\n\r\n createCategoryPrivilege!: boolean;\r\n\r\n aplCategoryApproval = false;\r\n aplCategoryEdit = false;\r\n aplCategoryDelete = false;\r\n\r\n labelApproveDisapprove!: string;\r\n labelEdit!: string;\r\n labelDelete!: string;\r\n labelAreYouSureYouWantToDelete!: string;\r\n labelCategoryManagers!: string;\r\n\r\n dragIndex?: number;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private aplCategoryService: APLCategoryService,\r\n private router: Router, private route: ActivatedRoute,\r\n private clipboard: Clipboard) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadGroups();\r\n this.setPermissions();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.aplCategorySubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadGroups();\r\n this.setLabels();\r\n this.setPermissions();\r\n }\r\n\r\n loadCategories() {\r\n this.aplCategory$ = this.store.select(state => state.APLCategory.APLCategories);\r\n this.aplCategorySubscription = this.aplCategory$.subscribe((data: APLCategory[]) => {\r\n if (data?.length) {\r\n this.aplCategories = data;\r\n if ((this.createCategoryPrivilege || this.aplCategoryEdit || this.aplCategoryApproval) && this.aplCategoriesPending?.length) {\r\n this.aplCategories = this.aplCategories.filter(c => !this.aplCategoriesPending.map(p => p.aplCategoryMasterID).includes(c.aplCategoryMasterID));\r\n this.aplCategories = this.aplCategories.concat(this.aplCategoriesPending);\r\n }\r\n this.aplCategories.map(x => {\r\n x.aplGroups = this.aplGroups?.filter(g => g.aplGroupMaster?.aplCategoryMasterID === x?.aplCategoryMasterID);\r\n // x.newVersion = undefined;\r\n // x.status = 1;\r\n const p = this.aplCategoriesPending?.find(y => y.previousVersionID == x.id);\r\n if (p) {\r\n x.newVersion = p;\r\n x.status = p.status;\r\n }\r\n });\r\n this.aplCategories = this.aplCategories?.sort((a, b) => a.aplCategoryMaster.order - b.aplCategoryMaster.order);\r\n this.aplCategoriesFiltered = this.utils.cloneDeep(this.aplCategories);\r\n this.applyFilter();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n loadGroups() {\r\n this.loading.emit(true);\r\n this.aplGroups$ = this.store.select(state => state.APLGroup.all);\r\n this.aplGroupsSubscription = this.aplGroups$.subscribe(data => {\r\n if (data?.length) {\r\n this.aplGroups = data;\r\n this.aplGroups.map(group => group.aplGroupRoles?.map(groupRole => {\r\n groupRole.role?.userRole?.sort((a, b) => this.utils.sort(a.order, b.order));\r\n }));\r\n this.loadCategoriesPending();\r\n }\r\n });\r\n }\r\n\r\n applyFilter() {\r\n if (this.filter) {\r\n this.filter = this.filter.trim().toLowerCase();\r\n this.aplCategoriesFiltered.map(c => {\r\n c.aplGroups?.map(g => {\r\n g.aplGroupRoles?.map(gr => {\r\n if (gr.role)\r\n gr.role.userRole = gr.role.userRole?.filter(r =>\r\n r.user?.name?.toLowerCase().includes(this.filter) ||\r\n r.user?.initials?.toLowerCase()?.includes(this.filter)\r\n );\r\n });\r\n g.aplGroupRoles = g.aplGroupRoles?.filter(r =>\r\n r.role?.userRole?.length ||\r\n r.role?.name?.toLowerCase()?.includes(this.filter) ||\r\n r.role?.information?.toLowerCase()?.includes(this.filter)\r\n );\r\n });\r\n c.aplGroups = c.aplGroups?.filter(g =>\r\n g.aplGroupRoles?.length ||\r\n g.name?.toLowerCase()?.includes(this.filter) ||\r\n g.description?.toLowerCase()?.includes(this.filter) ||\r\n g.aplGroupManagers?.map(gm => gm.user)?.some(u =>\r\n u?.name?.toLowerCase().includes(this.filter) ||\r\n u?.initials?.toLowerCase().includes(this.filter)) ||\r\n g.aplProcedureTrainingCoordinators?.map(c => c.user)?.some(u =>\r\n u?.name?.toLowerCase().includes(this.filter) ||\r\n u?.initials?.includes(this.filter))\r\n );\r\n });\r\n this.aplCategoriesFiltered = this.aplCategoriesFiltered.filter(c =>\r\n c.aplGroups?.length ||\r\n c.name?.toLowerCase()?.includes(this.filter) ||\r\n c.code?.toLowerCase()?.includes(this.filter) ||\r\n c.aplCategoryManagers?.map(cm => cm.user)?.some(u =>\r\n u?.name?.toLowerCase()?.includes(this.filter) ||\r\n u?.initials?.toLowerCase()?.includes(this.filter)) ||\r\n c.aplCategoryManagers?.map(cm => cm.user)?.some(u =>\r\n u?.initials?.toLowerCase()?.includes(this.filter) ||\r\n u?.initials?.toLowerCase().includes(this.filter)))\r\n .sort((a, b) => a.aplCategoryMaster.order - b.aplCategoryMaster.order);\r\n }\r\n }\r\n\r\n loadCategoriesPending() {\r\n this.loading.emit(true);\r\n\r\n this.aplCategory$ = this.store.select(state => state.APLCategory.APLCategoriesWithPending);\r\n this.aplCategorySubscription = this.aplCategory$.subscribe((data: APLCategory[]) => {\r\n this.aplCategoriesPending = data.filter(x => x.status < 0);\r\n this.loadCategories();\r\n });\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n const from = this.aplCategoriesFiltered[event.previousIndex];\r\n const to = this.aplCategoriesFiltered[event.currentIndex];\r\n this.loading.emit(true);\r\n this.aplCategoryService.reorder(from.aplCategoryMasterID, to.aplCategoryMasterID).subscribe(\r\n () => { },\r\n error => this.alert.defaultError(),\r\n );\r\n\r\n moveItemInArray(this.aplCategoriesFiltered, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n onDragStarted(i: number) {\r\n this.dragIndex = i;\r\n }\r\n\r\n setPermissions() {\r\n this.aplCategoryApproval = this.hasPrivilege(PrivilegeEnum.APLCategoryApproval);\r\n this.aplCategoryEdit = this.hasPrivilege(PrivilegeEnum.APLCategoryEdit);\r\n this.aplCategoryDelete = this.hasPrivilege(PrivilegeEnum.APLCategoryDelete);\r\n this.createCategoryPrivilege = this.hasPrivilege(PrivilegeEnum.APLCategoryCreate);\r\n }\r\n\r\n canAddGroup(aplCategory: APLCategory) {\r\n const createGroupPrivilege = aplCategory?.aplCategoryManagers?.map(x => x.userID).includes(this.currentUser?.id ?? 0) || this.hasPrivilege(PrivilegeEnum.APLGroupCreate);\r\n return createGroupPrivilege;\r\n }\r\n\r\n canApproveOrReject(aplCategory: APLCategory): boolean {\r\n return this.aplCategoryApproval && aplCategory?.status < 0;\r\n }\r\n\r\n canEdit(aplCategory: APLCategory): boolean {\r\n return this.aplCategoryEdit && aplCategory?.status === 1;\r\n }\r\n\r\n canDelete(aplCategory: APLCategory): boolean {\r\n return this.aplCategoryDelete && aplCategory?.status === 1;\r\n }\r\n\r\n hasActions(aplCategory: APLCategory): boolean {\r\n return this.canApproveOrReject(aplCategory) || this.canEdit(aplCategory) || this.canDelete(aplCategory);\r\n }\r\n\r\n openApprovalPopup(aplCategory: APLCategory) {\r\n this.dialog.open(APLCategoryApprovalPopupComponent, {\r\n height: 'auto',\r\n width: '25vw',\r\n data: {\r\n aplCategory: aplCategory.newVersion ?? aplCategory,\r\n user: this.currentUser\r\n } as APLCategoryApprovalPopupParameters,\r\n }).afterClosed().subscribe(data => {\r\n if (data) this.loading.emit(true);\r\n });\r\n\r\n }\r\n\r\n openEditCategoryPopup(aplCategory: APLCategory) {\r\n this.dialog.open(APLCategoryPopupComponent, {\r\n height: 'auto',\r\n width: '25vw',\r\n data: {\r\n aplCategory,\r\n } as APLCategoryPopupParameters,\r\n });\r\n }\r\n\r\n deleteCategory(aplCategory: APLCategory) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToDelete,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.aplCategoryService.delete(aplCategory.id).subscribe(\r\n () => { },\r\n error => this.alert.defaultError(),\r\n );\r\n }\r\n });\r\n }\r\n\r\n getManagers(aplCategory: APLCategory): string {\r\n return aplCategory?.aplCategoryManagers?.filter(m => m.user?.status == 1)?.map(x => x.user?.name).join(', ');\r\n }\r\n\r\n categoryOpen(aplCategory: APLCategory, val: boolean) {\r\n if (aplCategory.open != val) {\r\n aplCategory.open = val;\r\n }\r\n }\r\n\r\n setLabels() {\r\n this.labelApproveDisapprove = this.getMessage('APL_Category_ApproveDisapprove')?.description;\r\n this.labelEdit = this.getMessage('APL_Category_Edit')?.description;\r\n this.labelDelete = this.getMessage('APL_Category_Delete')?.description;\r\n this.labelAreYouSureYouWantToDelete = this.getMessage('APL_Category_AreYouSureYouWantToDelete')?.description;\r\n this.labelCategoryManagers = this.getMessage('APL_Category_Card_CategoryManagers')?.description;\r\n if (!this.labelApproveDisapprove) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 500);\r\n }\r\n }\r\n\r\n openCreateGroupPopup(aplCategory: APLCategory) {\r\n this.dialog.open(APLGroupPopupComponent, {\r\n height: 'auto',\r\n width: '40vw',\r\n disableClose: true,\r\n data: {\r\n aplCategoryMasterID: aplCategory.aplCategoryMasterID,\r\n } as APLGroupPopupParameters,\r\n });\r\n }\r\n\r\n copyLink(aplCategory: APLCategory) {\r\n const link = this.getCurrentURL() + '/' + aplCategory.id;\r\n this.clipboard.copy(link);\r\n this.alert.info(link + ' Copied to the Clipboard');\r\n }\r\n\r\n copyLinkEmbedded(aplCategory: APLCategory) {\r\n const link = '%%apl%%' + aplCategory.name + '|' + this.getCurrentURL() + '/' + aplCategory.id;\r\n this.clipboard.copy(link);\r\n this.alert.info(link.replace('%%apl%%', '') + ' Copied to the Clipboard');\r\n }\r\n\r\n getCurrentURL() {\r\n // Get the origin (e.g., http://localhost:4200)\r\n const origin = window.location.origin;\r\n\r\n // Get the current route\r\n const fullPath = this.router.url;\r\n\r\n // Split the path by '/'\r\n const urlSegments = fullPath.split('/');\r\n\r\n // Check if the last segment is a numeric ID\r\n const lastSegment = urlSegments[urlSegments.length - 1];\r\n if (!isNaN(Number(lastSegment))) {\r\n // If it's a number, remove it\r\n urlSegments.pop();\r\n }\r\n\r\n // Join the remaining segments\r\n const pathWithoutLastSegment = urlSegments.join('/');\r\n\r\n // Combine origin with the path\r\n return origin + '/#' + pathWithoutLastSegment;\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n reorder\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n warning\r\n
\r\n
\r\n \r\n link\r\n \r\n \r\n \r\n \r\n linkCategory Title and\r\n Link\r\n \r\n \r\n
\r\n \r\n more_vert\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n :\r\n \r\n \r\n\r\n \r\n Add Group add_box\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n","import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, EventEmitter, Input, OnInit, Output, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { APLGroupService } from 'src/app/components/apl/apl-group.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { APLGroupApprovalPopupComponent, APLGroupApprovalPopupParameters } from '../../../dialogs/apl-group-approval-popup/apl-group-approval-popup.component';\r\nimport { APLGroupPopupComponent, APLGroupPopupParameters } from '../../../dialogs/apl-group-popup/apl-group-popup.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'apl-category-v2-group-card',\r\n templateUrl: './apl-category-v2-group-card.component.html',\r\n styleUrls: ['./apl-category-v2-group-card.component.scss']\r\n})\r\nexport class AplCategoryV2GroupCardComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() aplGroup!: APLGroupCard;\r\n @Input() reorderable = false;\r\n @Input() rolesSelected!: Role[];\r\n @Input() aplGroupCategoryManager = false;\r\n @Input() isSuperAdmin: boolean = false;\r\n @Input() filter!: string;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n aplCategoriesSubscription!: Subscription;\r\n aplCategories$!: Observable;\r\n aplCategory!: APLCategory;\r\n\r\n labelAreYouSureYouWantToDelete!: string;\r\n labelGroupManagers!: string;\r\n labelProcedureTrainingCoordinators!: string;\r\n labelApproveDisapprove!: string;\r\n labelEdit!: string;\r\n labelDelete!: string;\r\n labelInfo!: string;\r\n labelMembers!: string;\r\n labelDescription!: string;\r\n\r\n aplGroupApproval = false;\r\n aplGroupEdit = false;\r\n aplGroupDelete = false;\r\n\r\n isGroupManager = false;\r\n override users: User[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private aplGroupService: APLGroupService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setPermissions();\r\n this.users = super.getUsers().filter(u => u.status == 1);\r\n\r\n this.aplCategories$ = this.store.select(state => state.APLCategory.APLCategories);\r\n this.aplCategoriesSubscription = this.aplCategories$.subscribe(aplCategories => {\r\n this.aplCategory = aplCategories.filter(x => x.aplCategoryMasterID === this.aplGroup?.aplGroupMaster?.aplCategoryMasterID)[0];\r\n });\r\n\r\n this.setLabels();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.aplCategoriesSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n setPermissions() {\r\n this.aplGroupApproval = this.hasPrivilege(PrivilegeEnum.APLGroupApproval);\r\n this.aplGroupEdit = this.hasPrivilege(PrivilegeEnum.APLGroupEdit);\r\n this.aplGroupDelete = this.hasPrivilege(PrivilegeEnum.APLGroupDelete);\r\n this.isGroupManager = this.aplGroup?.aplGroupManagers?.some(x => x?.userID === this.currentUser?.id) ?? false;\r\n }\r\n\r\n canApproveOrReject(): boolean {\r\n const groupStatus = this.aplGroup?.status ?? 0;\r\n const categoryStatus = this.aplCategory?.status ?? 0;\r\n\r\n // Check if the current user is a manager of the current APL group\r\n const isGroupManager = this.aplGroup?.aplGroupManagers?.some(x => x?.userID === this.currentUser?.id);\r\n\r\n // Check if the current user is a manager of the previous version of the APL group\r\n const isPreviousGroupManager = this.aplGroup?.previousVersion?.aplGroupManagers?.some(x => x?.userID === this.currentUser?.id);\r\n\r\n // Check if the current user is a manager of the current APL category\r\n const isCategoryManager = this.aplCategory?.aplCategoryManagers?.some(x => x?.userID === this.currentUser?.id);\r\n\r\n // Check if the current user is a manager of the previous version of the APL category\r\n const isPreviousCategoryManager = this.aplCategory?.previousVersion?.aplCategoryManagers?.some(x => x?.userID === this.currentUser?.id);\r\n\r\n // Check conditions for approval or rejection\r\n if (this.aplGroupApproval && groupStatus < 0) {\r\n return true;\r\n }\r\n\r\n if (groupStatus === 1) {\r\n if (groupStatus < 0 && isGroupManager) {\r\n return true;\r\n }\r\n } else {\r\n if (groupStatus < 0 && isPreviousGroupManager) {\r\n return true;\r\n }\r\n }\r\n\r\n if (categoryStatus === 1) {\r\n if (groupStatus < 0 && isCategoryManager) {\r\n return true;\r\n }\r\n } else {\r\n if (groupStatus < 0 && isPreviousCategoryManager) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n canEdit(): boolean {\r\n return this.aplGroup.status === 1 && (this.aplGroupEdit || this.aplGroup?.aplGroupManagers?.some(x => x?.userID === this.currentUser?.id) || this.aplCategory?.aplCategoryManagers?.some(x => x?.userID === this.currentUser?.id));\r\n }\r\n\r\n canDelete(): boolean {\r\n return this.aplGroup.status === 1 && (this.aplGroupDelete || this.aplGroup?.aplGroupManagers?.some(x => x?.userID === this.currentUser?.id) || this.aplCategory?.aplCategoryManagers?.some(x => x?.userID === this.currentUser?.id));\r\n }\r\n\r\n hasActions(): boolean {\r\n return this.canApproveOrReject() || this.canEdit() || this.canDelete();\r\n }\r\n\r\n openApprovalPopup() {\r\n this.dialog.open(APLGroupApprovalPopupComponent, {\r\n height: 'auto',\r\n width: '40vw',\r\n maxHeight: '90vh',\r\n data: {\r\n aplGroup: this.aplGroup.newVersion ? this.aplGroup.newVersion : this.aplGroup,\r\n user: this.currentUser\r\n } as APLGroupApprovalPopupParameters,\r\n }).afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.loading.emit(true);\r\n }\r\n });\r\n }\r\n\r\n openEditPopup() {\r\n this.dialog.open(APLGroupPopupComponent, {\r\n height: 'auto',\r\n width: '40vw',\r\n maxHeight: '90vh',\r\n disableClose: true,\r\n data: {\r\n aplGroup: this.aplGroup,\r\n rolesSelected: this.rolesSelected,\r\n } as APLGroupPopupParameters,\r\n }).afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.loading.emit(true);\r\n }\r\n });\r\n }\r\n\r\n deleteGroup() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToDelete,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.aplGroupService.delete(this.aplGroup?.id).subscribe(\r\n () => { this.loading.emit(true); },\r\n error => this.alert.error(error.error),\r\n );\r\n }\r\n });\r\n }\r\n\r\n getManagers(): string {\r\n return this.aplGroup?.aplGroupManagers?.filter(m => m.user?.status == 1)?.map(x => x.user?.name).join(', ') ?? '';\r\n }\r\n\r\n getPTCs(): string {\r\n return this.aplGroup?.aplProcedureTrainingCoordinators?.filter(m => m.user?.status == 1)?.map(x => x.user?.name).join(', ') ?? '';\r\n }\r\n\r\n dropRole(event: CdkDragDrop) {\r\n if (this.aplGroup.aplGroupRoles) {\r\n const from = this.aplGroup.aplGroupRoles[event.previousIndex];\r\n const to = this.aplGroup.aplGroupRoles[event.currentIndex];\r\n if (from?.id && to?.id)\r\n this.aplGroupService.reorderRole(from.id, to.id).subscribe(\r\n () => { },\r\n error => this.alert.error(error.error),\r\n );\r\n moveItemInArray(this.aplGroup.aplGroupRoles, event.previousIndex, event.currentIndex);\r\n }\r\n }\r\n\r\n setLabels() {\r\n this.labelAreYouSureYouWantToDelete = this.getMessage('APL_Group_Card_AreYouSureYouWantToDelete')?.description;\r\n this.labelGroupManagers = this.getMessage('APL_Group_Card_GroupManagers')?.description;\r\n this.labelApproveDisapprove = this.getMessage('APL_Group_Card_ApproveDisapprove')?.description;\r\n this.labelEdit = this.getMessage('APL_Group_Card_Edit')?.description;\r\n this.labelDelete = this.getMessage('APL_Group_Card_Delete')?.description;\r\n this.labelInfo = this.getMessage('APL_Group_Card_Info')?.description;\r\n this.labelMembers = this.getMessage('APL_Group_Card_Members')?.description;\r\n this.labelDescription = this.getMessage('APL_Group_Card_Description')?.description;\r\n this.labelProcedureTrainingCoordinators = this.getMessage('APL_Group_Card_ProcedureTrainingCoordinators')?.description;\r\n }\r\n}\r\n\r\nexport class APLGroupCard extends APLGroup {\r\n public open?: boolean;\r\n}\r\n","\r\n \r\n \r\n
\r\n
\r\n
\r\n reorder\r\n
\r\n
\r\n
\r\n \r\n more_vert\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ labelGroupManagers }}
\r\n \r\n
\r\n
\r\n {{ labelProcedureTrainingCoordinators }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ labelDescription }}:\r\n
\r\n
\r\n \r\n \r\n reorder\r\n
\r\n \r\n
\r\n
\r\n {{ labelMembers }}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, OnInit, Output, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { APLGroupService } from '../../../apl-group.service';\r\nimport { APLGroupRefresh } from '../../../store/apl-group/apl-group.action';\r\n\r\n@Component({\r\n selector: 'apl-category-v2-groups',\r\n templateUrl: './apl-category-v2-groups.component.html',\r\n styleUrls: ['./apl-category-v2-groups.component.scss']\r\n})\r\nexport class AplCategoryV2GroupsComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() aplCategory!: APLCategory;\r\n @Input() enableMove!: boolean;\r\n @Input() filter!: string;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n aplGroups?: APLGroup[];\r\n aplGroupsFiltered!: APLGroup[];\r\n aplGroups$!: Observable;\r\n aplGroupsSubscription!: Subscription;\r\n rolesSelected!: Role[];\r\n\r\n aplGroupsPending!: APLGroup[];\r\n aplGroupsPending$!: Observable;\r\n aplGroupsPendingSubscription!: Subscription;\r\n\r\n aplGroupGlobal$!: Observable;\r\n aplGroupGlobalSubscription!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private aplGroupService: APLGroupService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.aplGroups = this.aplCategory.aplGroups;\r\n this.loadPendingGroups();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.aplGroupsSubscription?.unsubscribe();\r\n this.aplGroupsPendingSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadGlobalGroups();\r\n }\r\n\r\n loadGlobalGroups() {\r\n this.aplGroupGlobal$ = this.store.select(state => state.APLGroup.all);\r\n this.aplGroupGlobalSubscription = this.aplGroupGlobal$.subscribe((aplGroups: APLGroup[]) => {\r\n this.rolesSelected = [];\r\n aplGroups.map(aplGroup => {\r\n this.rolesSelected.push(...aplGroup.aplGroupRoles?.map(x => x.role) as Role[]);\r\n aplGroup.aplGroupRoles = aplGroup.aplGroupRoles?.sort((a, b) => this.utils.sort(a.order, b.order, true));\r\n aplGroup.aplProcedureTrainingCoordinators = aplGroup.aplProcedureTrainingCoordinators ? aplGroup.aplProcedureTrainingCoordinators : [];\r\n });\r\n });\r\n }\r\n\r\n loadPendingGroups() {\r\n this.aplGroupsPending$ = this.store.select(state => state.APLGroup.allPendingGlobal);\r\n this.aplGroupsPendingSubscription = this.aplGroupsPending$.subscribe(data => {\r\n this.aplGroupsPending = data.filter(x => x.aplGroupMaster?.aplCategoryMasterID == this.aplCategory.aplCategoryMasterID);\r\n this.aplGroupsPending?.map(aplGroup => {\r\n if (aplGroup.status !== 1) {\r\n const normalAplGroup = this.aplGroups?.find(group => group.id === aplGroup.previousVersionID);\r\n if (normalAplGroup) {\r\n normalAplGroup.status = aplGroup.status;\r\n normalAplGroup.newVersion = aplGroup;\r\n }\r\n else {\r\n this.aplGroups?.push(aplGroup);\r\n }\r\n this.aplCategory.pendingGroups = true;\r\n }\r\n });\r\n this.aplGroups?.sort((a, b) => this.utils.sort(a.aplGroupMaster?.order, b.aplGroupMaster?.order));\r\n });\r\n }\r\n\r\n isManager() {\r\n return this.aplCategory?.aplCategoryManagers?.map(x => x.user?.id).includes(this.currentUser?.id);\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n if (this.aplGroups) {\r\n const from = this.aplGroups[event.previousIndex];\r\n const to = this.aplGroups[event.currentIndex];\r\n this.aplGroupService.reorder(from.aplGroupMasterID ?? 0, to.aplGroupMasterID ?? 0).subscribe(\r\n () => {\r\n // this.loading = false;\r\n },\r\n error => this.alert.error(error.error),\r\n );\r\n moveItemInArray(this.aplGroups, event.previousIndex, event.currentIndex);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { CatalogService } from 'src/app/components/catalogs/catalog-service';\r\nimport { PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n@Component({\r\n selector: 'apl-category-v2-list',\r\n templateUrl: './apl-category-v2-list.component.html',\r\n styleUrls: ['./apl-category-v2-list.component.scss']\r\n})\r\nexport class AplCategoryV2ListComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() filter?: string;\r\n @Input() aplCategories?: APLCategory[];\r\n\r\n id: string | null = null;\r\n\r\n displayedColumns: string[] = ['name'];\r\n dataSource!: MatTableDataSource;\r\n\r\n constructor(private route: ActivatedRoute, private catalog: CatalogService) { }\r\n ngOnDestroy(): void {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.dataSource = new MatTableDataSource(this.aplCategories);\r\n this.route.paramMap.subscribe(params => {\r\n const id = params.get('id');\r\n if (id)\r\n this.openCategory(+id);\r\n else if (this.catalog.pendingCatalog?.approvalType == PendingCatalogType.APLCategories) {\r\n this.openCategory(this.catalog.pendingCatalog.id);\r\n }\r\n else if (this.catalog.pendingCatalog?.approvalType == PendingCatalogType.APLGroups) {\r\n const aplCategory = this.aplCategories?.find(c => c.aplGroups?.find(g => g.id == this.catalog.pendingCatalog?.pendingID));\r\n if (aplCategory)\r\n this.openCategory(aplCategory.id);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n openCategory(aplCategoryID: number) {\r\n setTimeout(() => {\r\n const aplCategory = this.aplCategories?.find(c => c.id == aplCategoryID);\r\n if (aplCategory) {\r\n aplCategory.open = true;\r\n const divElement = document.getElementById(aplCategory.id.toString());\r\n if (divElement)\r\n divElement.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n }, 300);\r\n }\r\n}\r\n","
\r\n \r\n \r\n APL Categories \r\n \r\n {{ e.code }}\r\n \r\n arrow_forward_ios\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { APLCategoryPopupComponent, APLCategoryPopupParameters } from './dialogs/apl-category-popup/apl-category-popup.component';\r\nimport { APLGroupRefresh } from '../store/apl-group/apl-group.action';\r\n\r\n@Component({\r\n selector: 'app-apl-category-v2',\r\n templateUrl: './apl-category-v2.component.html',\r\n styleUrls: ['./apl-category-v2.component.scss']\r\n})\r\nexport class APLCategoryV2Component extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n filter!: string;\r\n\r\n loading!: boolean;\r\n loadingMessage!: string;\r\n\r\n labelTitle!: string;\r\n labelCategories!: string;\r\n labelFilter!: string;\r\n\r\n enableMove = false;\r\n createCategoryPrivilege!: boolean;\r\n\r\n ngOnInit(): void {\r\n this.store.dispatch(new APLGroupRefresh());\r\n\r\n this.createCategoryPrivilege = this.hasPrivilege(PrivilegeEnum.APLCategoryCreate);\r\n this.setLabels();\r\n }\r\n\r\n applyFilter(filter: string) {\r\n this.filter = filter;\r\n }\r\n\r\n setLabels() {\r\n this.labelTitle = this.getMessage('APL_Category_AuthorizedPersonsAndTechnicalExperts')?.description;\r\n this.labelFilter = this.getMessage('APL_Category_Filter')?.description;\r\n this.labelCategories = this.getMessage('APL_CategorySidePanel_Categories')?.description;\r\n if (!this.labelTitle) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 500);\r\n }\r\n }\r\n\r\n create() {\r\n this.dialog.open(APLCategoryPopupComponent, {\r\n height: 'auto',\r\n width: '25vw',\r\n data: {\r\n } as APLCategoryPopupParameters,\r\n });\r\n }\r\n\r\n setLoading(e: boolean) {\r\n setTimeout(() => {\r\n this.loading = e;\r\n }, 100);\r\n }\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ labelTitle }}\r\n
\r\n
\r\n \r\n swipe_vertical\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create New Category\r\n add_box\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n
\r\n\r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\n// import { APLCategory } from 'src/app/_interface/apl/apl-category.model';\r\n\r\n@Component({\r\n selector: 'apl-category-autocomplete',\r\n templateUrl: './apl-category-autocomplete.component.html',\r\n styleUrls: ['./apl-category-autocomplete.component.scss']\r\n})\r\nexport class APLCategoryAutocompleteComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() aplCategoryID?: number;\r\n\r\n // return this.aplCategoryIDValue;\r\n // }\r\n\r\n @Output() aplCategoryIDChange = new EventEmitter();\r\n\r\n // set aplCategoryID(val) {\r\n // this.aplCategoryIDValue = val;\r\n // this.aplCategoryIDChange.emit(this.aplCategoryIDValue);\r\n // }\r\n\r\n aplCategoryIDValue!: number;\r\n aplCategorySubscription!: Subscription;\r\n aplCategory$!: Observable;\r\n allAplCategories!: APLCategory[];\r\n filteredAplCategories!: APLCategory[];\r\n text!: string;\r\n\r\n constructor(\r\n private store: Store,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.aplCategory$ = this.store.select(state => state.APLCategory.APLCategories);\r\n this.aplCategorySubscription = this.aplCategory$.subscribe(aplCategories => {\r\n this.allAplCategories = aplCategories;\r\n this.filteredAplCategories = utils.cloneDeep(this.allAplCategories);\r\n this.set();\r\n this.filter();\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ('aplCategoryID' in changes) {\r\n this.set();\r\n this.filter();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.aplCategorySubscription?.unsubscribe();\r\n }\r\n\r\n set() {\r\n if (this.allAplCategories?.filter(x => x.id === this.aplCategoryID)?.length > 0) {\r\n this.text = this.allAplCategories.filter(x => x.id === this.aplCategoryID)[0]?.name;\r\n } else {\r\n this.text = '';\r\n }\r\n }\r\n\r\n filter(code?: string) {\r\n if (!code?.includes('Arrow')) {\r\n if (this.text != null) {\r\n this.filteredAplCategories = this.allAplCategories?.filter(x => x.name?.trim()?.toLowerCase()?.includes(this.text?.trim()?.toLowerCase()));\r\n } else {\r\n this.filteredAplCategories = utils.cloneDeep(this.allAplCategories);\r\n }\r\n }\r\n }\r\n\r\n select(event: MatAutocompleteSelectedEvent) {\r\n const aplCategory: APLCategory = event.option.value;\r\n this.aplCategoryID = aplCategory.id;\r\n this.set();\r\n this.filter();\r\n }\r\n\r\n}\r\n","\r\n {{ placeholder }}\r\n \r\n \r\n \r\n {{ aplCategory?.name }}\r\n \r\n \r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { Store } from '@ngxs/store';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\n\r\n@Component({\r\n selector: 'apl-group-autocomplete',\r\n templateUrl: './apl-group-autocomplete.component.html',\r\n styleUrls: ['./apl-group-autocomplete.component.scss']\r\n})\r\nexport class APLGroupAutocompleteComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() aplGroupID?: number;\r\n\r\n @Output() aplGroupIDChange = new EventEmitter();\r\n\r\n aplGroupIDValue!: number;\r\n aplGroupSubscription!: Subscription;\r\n aplGroup$!: Observable;\r\n allAplGroups!: APLGroup[];\r\n filteredAplGroups!: APLGroup[];\r\n text!: string;\r\n\r\n constructor(\r\n private store: Store,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.aplGroup$ = this.store.select(state => state.APLGroup.all);\r\n this.aplGroupSubscription = this.aplGroup$.subscribe(aplGroups => {\r\n this.allAplGroups = aplGroups;\r\n this.filteredAplGroups = utils.cloneDeep(this.allAplGroups);\r\n this.set();\r\n this.filter();\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ('aplGroupID' in changes) {\r\n this.set();\r\n this.filter();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.aplGroupSubscription?.unsubscribe();\r\n }\r\n\r\n set() {\r\n if (this.allAplGroups?.filter(x => x.id === this.aplGroupID)?.length > 0) {\r\n this.text = this.allAplGroups?.filter(x => x.id === this.aplGroupID)[0]?.name ?? '';\r\n } else {\r\n this.text = '';\r\n }\r\n }\r\n\r\n filter(code?: string) {\r\n if (!code?.includes('Arrow')) {\r\n if (this.text != undefined) {\r\n this.filteredAplGroups = this.allAplGroups?.filter(x => x?.name?.toLowerCase()?.includes(this.text.toLowerCase()));\r\n } else {\r\n this.filteredAplGroups = utils.cloneDeep(this.allAplGroups);\r\n }\r\n }\r\n }\r\n\r\n select(event: MatAutocompleteSelectedEvent) {\r\n const aplGroup: APLGroup = event.option.value;\r\n this.aplGroupID = aplGroup.id;\r\n this.set();\r\n this.filter();\r\n }\r\n\r\n}\r\n","\r\n {{ placeholder }}\r\n \r\n \r\n \r\n {{ aplGroup?.name }}\r\n \r\n \r\n\r\n","import { Component, ElementRef, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocomplete } from '@angular/material/autocomplete';\r\nimport { Subscription } from 'rxjs';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\n\r\n@Component({\r\n selector: 'role-chip',\r\n templateUrl: './role-chip.component.html',\r\n styleUrls: ['./role-chip.component.scss']\r\n})\r\nexport class RoleChipComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() relatedId!: number;\r\n @Input() roles!: any[];\r\n @Input() selectedRoles!: Role[];\r\n\r\n @Output() error = new EventEmitter();\r\n @Output() edit = new EventEmitter();\r\n\r\n @ViewChild('roleAutocomplete')\r\n roleAutocomplete!: MatAutocomplete;\r\n @ViewChild('roleInput')\r\n roleInput!: ElementRef;\r\n\r\n rolesFiltered?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n allRoles: Role[] = [];\r\n availableRoles: Role[] = [];\r\n filteredRoles: Role[] = [];\r\n localSelectedRoles: Role[] = [];\r\n\r\n ngOnInit(): void {\r\n this.control = this.control ?? new FormControl();\r\n this.loadRoles();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ('roles' in changes) {\r\n this.setAvailableRoles();\r\n this.clear();\r\n }\r\n if ('selectedRoles' in changes) {\r\n if (!this.selectedRoles) {\r\n this.localSelectedRoles = this.utils.cloneDeep(this.selectedRoles);\r\n this.setAvailableRoles();\r\n this.clear();\r\n }\r\n }\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data?.length) {\r\n this.allRoles = data;\r\n this.filteredRoles = data;\r\n this.availableRoles = data;\r\n this.setAvailableRoles();\r\n this.clear();\r\n }\r\n });\r\n }\r\n\r\n selected(role: Role) {\r\n const roleRelated = {\r\n roleID: role.id,\r\n role,\r\n aplGroupID: this.relatedId\r\n };\r\n this.roles.push(roleRelated);\r\n this.localSelectedRoles.push(role);\r\n this.setAvailableRoles();\r\n this.clear();\r\n this.edit.emit();\r\n }\r\n\r\n remove(role: Role) {\r\n const index = this.roles.indexOf(role);\r\n if (index >= 0) {\r\n this.roles.splice(index, 1);\r\n }\r\n\r\n const roleIndex = this.localSelectedRoles.indexOf(role);\r\n if (roleIndex >= 0) {\r\n this.localSelectedRoles.splice(roleIndex, 1);\r\n }\r\n\r\n this.setAvailableRoles();\r\n this.clear();\r\n this.edit.emit();\r\n }\r\n\r\n clear() {\r\n if (this.roleInput != null) {\r\n this.roleInput.nativeElement.value = '';\r\n }\r\n if (this.control != null) {\r\n this.control.setValue(null);\r\n }\r\n }\r\n\r\n setAvailableRoles() {\r\n this.availableRoles = this.utils.cloneDeep(this.allRoles);\r\n if (this.localSelectedRoles !== undefined && this.localSelectedRoles != null) {\r\n this.localSelectedRoles.map(selected => {\r\n const index = this.availableRoles.map(available => available.id).indexOf(selected.id);\r\n\r\n if (index >= 0) {\r\n this.availableRoles.splice(index, 1);\r\n }\r\n });\r\n } else {\r\n this.roles.map(selected => {\r\n const index = this.availableRoles.map(available => available.id).indexOf(selected.roleID);\r\n\r\n if (index >= 0) {\r\n this.availableRoles.splice(index, 1);\r\n }\r\n });\r\n }\r\n this.filteredRoles = this.utils.cloneDeep(this.availableRoles);\r\n }\r\n\r\n onRoleInputKeyup(e: any) {\r\n const text = e.target.value;\r\n this.filteredRoles = this.availableRoles.filter(x => x.name?.trim().toLowerCase().includes(text.trim().toLowerCase()));\r\n }\r\n\r\n}\r\n","
\r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ roleRelated?.role?.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n {{\r\n role?.name\r\n }}\r\n \r\n \r\n
\r\n","import { Component, ElementRef, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocomplete } from '@angular/material/autocomplete';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'user-chip',\r\n templateUrl: './user-chip.component.html',\r\n styleUrls: ['./user-chip.component.scss']\r\n})\r\nexport class UserChipComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() relatedId!: number;\r\n @Input() selectedUsers!: any[];\r\n @Input() aplGroup: any;\r\n\r\n @Output() error = new EventEmitter();\r\n @Output() edit = new EventEmitter();\r\n\r\n @ViewChild('userAutocomplete') userAutocomplete!: MatAutocomplete;\r\n @ViewChild('userInput') userInput!: ElementRef;\r\n\r\n allUsers!: User[];\r\n availableUsers!: User[];\r\n filteredUsers!: User[];\r\n\r\n ngOnInit(): void {\r\n if (this.control == null) this.control = new FormControl();\r\n this.availableUsers = [];\r\n this.filteredUsers = [];\r\n this.allUsers = this.getUsers().filter(u => u.status == 1);\r\n this.availableUsers = this.allUsers;\r\n this.filteredUsers = this.allUsers;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ('selectedUsers' in changes) {\r\n this.setAvailableUsers();\r\n this.clear();\r\n }\r\n }\r\n\r\n selected(user: User) {\r\n let userRelated = {\r\n userID: user.id,\r\n user: user,\r\n aplGroupID: this.relatedId\r\n }\r\n this.selectedUsers.push(userRelated);\r\n this.setAvailableUsers();\r\n this.clear();\r\n let algo = this.aplGroup;\r\n this.edit.emit();\r\n }\r\n\r\n remove(user: User) {\r\n const index = this.selectedUsers.indexOf(user);\r\n\r\n if (index >= 0) {\r\n this.selectedUsers.splice(index, 1);\r\n this.setAvailableUsers();\r\n this.clear();\r\n this.edit.emit();\r\n }\r\n }\r\n\r\n clear() {\r\n if (this.userInput != null) this.userInput.nativeElement.value = '';\r\n if (this.control != null) this.control.setValue(null);\r\n }\r\n\r\n setAvailableUsers() {\r\n this.availableUsers = [];\r\n if (this.allUsers == null) this.allUsers = [];\r\n if (this.selectedUsers == null) this.selectedUsers = [];\r\n this.availableUsers = this.utils.cloneDeep(this.allUsers);\r\n this.selectedUsers.map(x => {\r\n const index = this.availableUsers.map(y => y.id).indexOf(x.userID);\r\n\r\n if (index >= 0) {\r\n this.availableUsers.splice(index, 1);\r\n }\r\n });\r\n this.filteredUsers = [];\r\n this.filteredUsers = this.utils.cloneDeep(this.availableUsers);\r\n }\r\n\r\n onUserInputKeyup(e: any) {\r\n const text = e.target.value;\r\n this.filteredUsers = this.availableUsers.filter(x => x.name?.trim().toLowerCase().includes(text.trim().toLowerCase()));\r\n }\r\n}\r\n","
\r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ userRelated?.user?.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n {{\r\n user?.name\r\n }}\r\n \r\n \r\n
\r\n","import { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { APLCategoryService } from '../../../apl-category.service';\r\n\r\n\r\nexport class APLCategoryApprovalPopupParameters {\r\n public aplCategory!: APLCategory;\r\n public user!: User;\r\n}\r\n\r\n@Component({\r\n selector: 'apl-category-approval-popup',\r\n templateUrl: './apl-category-approval-popup.component.html',\r\n styleUrls: ['./apl-category-approval-popup.component.scss']\r\n})\r\nexport class APLCategoryApprovalPopupComponent extends BaseComponent implements OnInit, OnDestroy {\r\n aplCategoryApproval: boolean = false;\r\n loading: boolean = false;\r\n title!: string;\r\n showPrevious = false;\r\n submitted?: User;\r\n disableApproveDisapprove: boolean = false;\r\n\r\n labelCreateCategory!: string;\r\n labelEditCategory!: string;\r\n labelDeleteCategory!: string;\r\n labelName!: string;\r\n labelInitials!: string;\r\n labelManagers!: string;\r\n labelDisapprove!: string;\r\n labelApprove!: string;\r\n labelAreYouSureYouWantToApprove!: string;\r\n labelAreYouSureYouWantToDisapprove!: string;\r\n labelAreYouSureYouWantToUnsubmit!: string;\r\n labelShowPrevious!: string;\r\n labelGeneralError!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: APLCategoryApprovalPopupParameters,\r\n private dialogRef: MatDialogRef,\r\n private aplCategoryService: APLCategoryService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setPermissions();\r\n\r\n this.submitted = this.getUser(this.data?.aplCategory?.createdBy);\r\n this.disableApproveDisapprove = this.submitted?.id === this.data?.user?.id && !this.hasPrivilege(this.privilegeEnum.APLCategoryApproval);\r\n\r\n this.setLabels();\r\n }\r\n\r\n setLabels() {\r\n this.labelCreateCategory = this.getMessage('APL_CategoryApproval_CreateCategory')?.description;\r\n this.labelEditCategory = this.getMessage('APL_CategoryApprovals_EditCategory')?.description;\r\n this.labelDeleteCategory = this.getMessage('APL_CategoryApprovals_DeleteCategory')?.description;\r\n this.labelName = this.getMessage('APL_CategoryApproval_Name')?.description;\r\n this.labelInitials = this.getMessage('APL_CategoryApproval_Initials')?.description;\r\n this.labelManagers = this.getMessage('APL_CategoryApprovals_Managers')?.description;\r\n this.labelDisapprove = this.getMessage('APL_CategoryApprovals_Disapprove')?.description;\r\n this.labelApprove = this.getMessage('APL_CategoryApprovals_Approve')?.description;\r\n this.labelAreYouSureYouWantToApprove = this.getMessage('APL_CategoryApprovals_AreYouSureYouWantToApprove')?.description;\r\n this.labelAreYouSureYouWantToDisapprove = this.getMessage('APL_CategoryApprovals_AreYouSureYouWantToDisapprove')?.description;\r\n this.labelAreYouSureYouWantToUnsubmit = this.getMessage('APL_CategoryApprovals_AreYouSureYouWantToUnsubmit')?.description;\r\n this.labelShowPrevious = this.getMessage('APL_CategoryApprovals_ShowPrevious')?.description;\r\n this.title = (this.data?.aplCategory?.status == -2) ? this.labelDeleteCategory : ((!this.data?.aplCategory?.previousVersion) ? this.labelCreateCategory : this.labelEditCategory);\r\n }\r\n\r\n setPermissions() {\r\n this.aplCategoryApproval = this.hasPrivilege(PrivilegeEnum.APLCategoryApproval);\r\n }\r\n\r\n approve() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToApprove,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading = true;\r\n this.aplCategoryService.approve(this.data?.aplCategory?.id).subscribe(\r\n () => this.dialogRef.close(),\r\n () => {\r\n this.alert.error(this.labelGeneralError);\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n disapprove() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToDisapprove,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading = true;\r\n this.aplCategoryService.disapprove(this.data?.aplCategory?.id).subscribe(\r\n () => this.dialogRef.close(),\r\n () => {\r\n this.alert.error(this.labelGeneralError);\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n unSubmit() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToUnsubmit,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading = true;\r\n this.aplCategoryService.disapprove(this.data?.aplCategory?.id).subscribe(\r\n () => this.dialogRef.close(),\r\n () => {\r\n this.alert.error(this.labelGeneralError);\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n \r\n close\r\n \r\n
\r\n {{ title }}\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{\r\n labelShowPrevious\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n Submitted by: {{ submitted?.name }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n Unsubmit\r\n \r\n
\r\n
\r\n\r\n","import { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { messages } from 'src/environments/messages';\r\nimport { APLCategoryService } from '../../../apl-category.service';\r\n\r\nexport class APLCategoryPopupParameters {\r\n public aplCategory!: APLCategory;\r\n}\r\n\r\n@Component({\r\n selector: 'apl-category-popup',\r\n templateUrl: './apl-category-popup.component.html',\r\n styleUrls: ['./apl-category-popup.component.scss']\r\n})\r\nexport class APLCategoryPopupComponent extends BaseComponent implements OnInit, OnDestroy {\r\n aplCategory: APLCategory = new APLCategory();\r\n loading: boolean = false;\r\n title!: string;\r\n\r\n labelCreateCategory!: string;\r\n labelEditCategory!: string;\r\n labelName!: string;\r\n labelInitials!: string;\r\n labelManager!: string;\r\n labelCancel!: string;\r\n labelAccept!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: APLCategoryPopupParameters,\r\n private dialogRef: MatDialogRef,\r\n private aplCategoryService: APLCategoryService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setLabels();\r\n if (this.data.aplCategory) {\r\n this.aplCategory = this.utils.cloneDeep(this.data.aplCategory);\r\n this.aplCategory.previousVersionID = this.aplCategory.id;\r\n this.aplCategory.aplCategoryManagers = this.aplCategory.aplCategoryManagers.filter(m => m.user?.status == 1);\r\n this.aplCategory.id = 0;\r\n }\r\n }\r\n\r\n setLabels() {\r\n this.labelCreateCategory = this.getMessage('APL_Category_CreateCategory')?.description;\r\n this.labelEditCategory = this.getMessage('APL_Category_EditCategory')?.description;\r\n this.labelName = this.getMessage('APL_Category_Name')?.description;\r\n this.labelInitials = this.getMessage('APL_Category_Initials')?.description;\r\n this.labelManager = this.getMessage('APL_Category_Manager')?.description;\r\n this.labelCancel = this.getMessage('APL_Category_Cancel')?.description;\r\n this.labelAccept = this.getMessage('APL_Category_Accept')?.description;\r\n this.title = (!this.data?.aplCategory) ? this.labelCreateCategory : this.labelEditCategory;\r\n\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.aplCategoryService.create(this.aplCategory).subscribe(\r\n () => this.dialogRef.close(),\r\n error => {\r\n this.alert.defaultError();\r\n this.loading = false;\r\n },\r\n );\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ title }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { UserService } from 'src/app/components/catalogs/user-catalog/services/user.service';\r\nimport { APLGroupService } from '../../../apl-group.service';\r\n\r\nexport class APLGroupApprovalPopupParameters {\r\n public aplGroup!: APLGroup;\r\n public user!: User;\r\n}\r\n\r\n@Component({\r\n selector: 'app-apl-group-approval-popup',\r\n templateUrl: './apl-group-approval-popup.component.html',\r\n styleUrls: ['./apl-group-approval-popup.component.scss']\r\n})\r\nexport class APLGroupApprovalPopupComponent extends BaseComponent implements OnInit, OnDestroy {\r\n aplGroupApproval = false;\r\n loading = false;\r\n title!: string;\r\n showPrevious = false;\r\n submitted?: User;\r\n disableApproveDisapprove = false;\r\n\r\n labelDeleteGroup!: string;\r\n labelCreateGroup!: string;\r\n labelEditGroup!: string;\r\n labelAreYouSureYouWantToApprove!: string;\r\n labelAreYouSureYouWantToDisapprove!: string;\r\n labelAreYouSureYouWantToUnsubmit!: string;\r\n labelShowPrevious!: string;\r\n labelName!: string;\r\n labelManagers!: string;\r\n labelProcedureTrainingCoordinators!: string;\r\n labelRoles!: string;\r\n labelDisapprove!: string;\r\n labelApprove!: string;\r\n\r\n user!: User;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: APLGroupApprovalPopupParameters,\r\n private dialogRef: MatDialogRef,\r\n private aplGroupService: APLGroupService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setPermissions();\r\n this.user = this.data?.user;\r\n this.submitted = this.getUser(this.data?.aplGroup?.createdBy);\r\n this.disableApproveDisapprove = this.data?.user?.id === this.submitted?.id;\r\n this.setLabels();\r\n }\r\n\r\n setLabels() {\r\n this.labelDeleteGroup = this.getMessage('APL_Group_Approval_DeleteGroup')?.description;\r\n this.labelCreateGroup = this.getMessage('APL_Group_Approval_CreateGroup')?.description;\r\n this.labelEditGroup = this.getMessage('APL_Group_Approval_EditGroup')?.description;\r\n this.labelAreYouSureYouWantToApprove = this.getMessage('APL_Group_Approval_AreYouSureYouWantToApprove')?.description;\r\n this.labelAreYouSureYouWantToDisapprove = this.getMessage('APL_Group_Approval_AreYouSureYouWantToDisapprove')?.description;\r\n this.labelAreYouSureYouWantToUnsubmit = this.getMessage('APL_CategoryApprovals_AreYouSureYouWantToUnsubmit')?.description;\r\n this.labelShowPrevious = this.getMessage('APL_Group_Approval_ShowPrevious')?.description;\r\n this.labelName = this.getMessage('APL_Group_Approval_Name')?.description;\r\n this.labelManagers = this.getMessage('APL_Group_Approval_Managers')?.description;\r\n this.labelRoles = this.getMessage('APL_Group_Approval_Roles')?.description;\r\n this.labelDisapprove = this.getMessage('APL_Group_Approval_Disapprove')?.description;\r\n this.labelApprove = this.getMessage('APL_Group_Approval_Approve')?.description;\r\n this.title = this.data?.aplGroup?.status == -2 ? this.labelDeleteGroup : (!this.data?.aplGroup?.previousVersion) ? this.labelCreateGroup : this.labelEditGroup;\r\n this.labelProcedureTrainingCoordinators = this.getMessage('APL_Group_Card_ProcedureTrainingCoordinators')?.description;\r\n }\r\n\r\n setPermissions() {\r\n this.aplGroupApproval = this.hasPrivilege(PrivilegeEnum.APLGroupApproval);\r\n }\r\n\r\n approve() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToApprove,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading = true;\r\n this.aplGroupService.approve(this.data?.aplGroup?.id).subscribe(\r\n () => {\r\n this.dialogRef.close(true);\r\n },\r\n error => {\r\n this.alert.error(error.error);\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n disapprove() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToDisapprove,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading = true;\r\n this.aplGroupService.disapprove(this.data?.aplGroup?.id).subscribe(\r\n () => this.dialogRef.close(true),\r\n error => {\r\n this.alert.error(error.error);\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n unSubmit() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureYouWantToUnsubmit,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading = true;\r\n this.aplGroupService.disapprove(this.data?.aplGroup?.id).subscribe(\r\n () => this.dialogRef.close(true),\r\n error => {\r\n this.alert.error(error.error);\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n \r\n close\r\n \r\n
\r\n {{ title }} \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Submitted by: {{ submitted?.name }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Unsubmit\r\n \r\n
\r\n
\r\n\r\n","import { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport FileV2 from 'src/app/services/file/file-v2.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { APLGroupService } from '../../../apl-group.service';\r\n\r\n\r\nexport class APLGroupPopupParameters {\r\n public aplCategoryMasterID!: number;\r\n public aplGroup!: APLGroup;\r\n public rolesSelected?: Role[];\r\n}\r\n\r\n@Component({\r\n selector: 'app-apl-group-popup',\r\n templateUrl: './apl-group-popup.component.html',\r\n styleUrls: ['./apl-group-popup.component.scss']\r\n})\r\nexport class APLGroupPopupComponent extends BaseComponent implements OnInit, OnDestroy {\r\n aplGroup = new APLGroup();\r\n loading = false;\r\n title!: string;\r\n rolesSelected!: Role[];\r\n aplGroupApprovalPrivilege!: boolean;\r\n\r\n labelCreateGroup!: string;\r\n labelEditGroup!: string;\r\n labelName!: string;\r\n labelDescription!: string;\r\n labelSelectImage!: string;\r\n labelManagers!: string;\r\n labelProcedureTrainingCoordinators!: string;\r\n labelRoles!: string;\r\n labelCancel!: string;\r\n labelAccept!: string;\r\n labelAreYouSureToDiscardChanges!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: APLGroupPopupParameters,\r\n private dialogRef: MatDialogRef,\r\n private aplGroupService: APLGroupService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setLabels();\r\n if (this.data.aplGroup) {\r\n this.aplGroup = this.utils.cloneDeep(this.data.aplGroup);\r\n this.aplGroup.previousVersionID = this.aplGroup.id;\r\n this.aplGroup.aplGroupManagers = this.aplGroup.aplGroupManagers?.filter(m => m.user?.status == 1);\r\n this.aplGroup.aplProcedureTrainingCoordinators = this.aplGroup.aplProcedureTrainingCoordinators?.filter(m => m.user?.status == 1);\r\n this.aplGroup.id = 0;\r\n } else {\r\n this.aplGroup.aplGroupMaster = {\r\n aplCategoryMasterID: this.data.aplCategoryMasterID,\r\n };\r\n }\r\n\r\n this.aplGroupApprovalPrivilege = this.hasPrivilege(PrivilegeEnum.APLGroupApproval);\r\n\r\n this.rolesSelected = this.data.rolesSelected ?? [];\r\n }\r\n\r\n setLabels() {\r\n this.labelCreateGroup = this.getMessage('APL_Group_CreateGroup')?.description;\r\n this.labelEditGroup = this.getMessage('APL_Group_EditGroup')?.description;\r\n this.labelName = this.getMessage('APL_Group_Name')?.description;\r\n this.labelDescription = this.getMessage('APL_Group_Description')?.description;\r\n this.labelSelectImage = this.getMessage('APL_Group_SelectImage')?.description;\r\n this.labelManagers = this.getMessage('APL_Group_Managers')?.description;\r\n this.labelRoles = this.getMessage('APL_Group_Roles')?.description;\r\n this.labelCancel = this.getMessage('APL_Group_Cancel')?.description;\r\n this.labelAccept = this.getMessage('APL_Group_Accept')?.description;\r\n this.labelAreYouSureToDiscardChanges = this.getMessage('APL_AreYouSureToDiscardChanges')?.description;\r\n this.title = (!this.data?.aplGroup) ? this.labelCreateGroup : this.labelEditGroup;\r\n this.labelProcedureTrainingCoordinators = this.getMessage('APL_Group_Card_ProcedureTrainingCoordinators')?.description;\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.aplGroupService.create(this.aplGroup).subscribe(\r\n () => {\r\n this.dialogRef.close(true);\r\n },\r\n error => {\r\n this.alert.defaultError();\r\n this.loading = false;\r\n },\r\n );\r\n }\r\n\r\n cancel() {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.labelAreYouSureToDiscardChanges,\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.dialogRef.close(false);\r\n }\r\n });\r\n }\r\n\r\n imageLoaded(file: FileV2) {\r\n this.aplGroup.description = this.aplGroup.description ?? '';\r\n this.aplGroup.description += `\"${file.name}\"`;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ title }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class APLCategoryService {\r\n private url: string = environment.urls.baseApiUrl + '/APLCategory';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n public create(aplCategory: APLCategory): Observable {\r\n return this.http.post(this.url, aplCategory);\r\n }\r\n\r\n public delete(id: number): Observable {\r\n return this.http.delete(this.url + '/' + id.toString());\r\n }\r\n\r\n public read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n public readWithPending(): Observable {\r\n return this.http.get(this.url + '/Pending');\r\n }\r\n\r\n public approve(id: number): Observable {\r\n return this.http.patch(this.url + '/Approve/' + id.toString(), null);\r\n }\r\n\r\n public disapprove(id: number): Observable {\r\n return this.http.patch(this.url + '/Disapprove/' + id.toString(), null);\r\n }\r\n\r\n public reorder(fromID: number, toID: number): Observable {\r\n return this.http.patch(this.url + '/Reorder/' + fromID.toString() + '/' + toID.toString(), null);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class APLGroupService {\r\n private url = `${environment.urls.baseApiUrl}/APLGroup`;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n public create(aplGroup: APLGroup): Observable {\r\n return this.http.post(this.url, aplGroup);\r\n }\r\n\r\n public readAllPending(): Observable {\r\n return this.http.get(`${this.url}/AllPending`);\r\n }\r\n\r\n public read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n public readPendingByAPLCategoryMasterID(aplCategoryMasterID: number): Observable {\r\n return this.http.get(`${this.url}/Pending/${aplCategoryMasterID}`);\r\n }\r\n\r\n public delete(id: number): Observable {\r\n return this.http.delete(`${this.url}/${id}`);\r\n }\r\n\r\n public approve(id: number): Observable {\r\n return this.http.patch(`${this.url}/Approve/${id}`, null);\r\n }\r\n\r\n public disapprove(id: number): Observable {\r\n return this.http.patch(`${this.url}/Disapprove/${id}`, null);\r\n }\r\n\r\n public reorder(fromID: number, toID: number): Observable {\r\n return this.http.patch(`${this.url}/Reorder/${fromID}/${toID}`, null);\r\n }\r\n\r\n public reorderRole(fromID: number, toID: number): Observable {\r\n return this.http.patch(`${this.url}/ReorderRole/${fromID}/${toID}`, null);\r\n }\r\n}\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormControl, FormGroupDirective, NgForm, ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { APLCategoryV2Component } from './apl-category-v2/apl-category-v2.component';\r\nimport { AplCategoryV2ListComponent } from './apl-category-v2/apl-category-v2-list/apl-category-v2-list.component';\r\nimport { AplCategoryV2CategoriesComponent } from './apl-category-v2/apl-category-v2-categories/apl-category-v2-categories.component';\r\nimport { AplCategoryV2GroupsComponent } from './apl-category-v2/apl-category-v2-categories/apl-category-v2-groups/apl-category-v2-groups.component';\r\nimport { AplCategoryV2GroupCardComponent } from './apl-category-v2/apl-category-v2-categories/apl-category-v2-groups/apl-category-v2-group-card/apl-category-v2-group-card.component';\r\nimport { APLGroupApprovalPopupComponent } from './apl-category-v2/dialogs/apl-group-approval-popup/apl-group-approval-popup.component';\r\nimport { APLGroupPopupComponent } from './apl-category-v2/dialogs/apl-group-popup/apl-group-popup.component';\r\nimport { APLCategoryApprovalPopupComponent } from './apl-category-v2/dialogs/apl-category-approval-popup/apl-category-approval-popup.component';\r\nimport { APLCategoryPopupComponent } from './apl-category-v2/dialogs/apl-category-popup/apl-category-popup.component';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\n\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\nconst appRoutes: Routes = [\r\n { path: 'apl-categories', component: APLCategoryV2Component, canDeactivate: [RedirectGuard] },\r\n { path: 'apl-categories/:id', component: APLCategoryV2Component, canDeactivate: [RedirectGuard] },\r\n];\r\n\r\n@NgModule({\r\n declarations: [\r\n APLCategoryV2Component,\r\n AplCategoryV2CategoriesComponent,\r\n APLCategoryPopupComponent,\r\n APLCategoryApprovalPopupComponent,\r\n AplCategoryV2GroupsComponent,\r\n AplCategoryV2GroupCardComponent,\r\n APLGroupPopupComponent,\r\n APLGroupApprovalPopupComponent,\r\n AplCategoryV2ListComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n // MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n // SavingModule,\r\n QuillModule.forRoot(),\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules,\r\n }\r\n ),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ChecklistsModule\r\n // ClCommentsPopupModule,\r\n // CommentsAndAttachmentsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class AplModule { }\r\n","import { APLCategoryRoleCatalog } from \"./apl-category-role-catalog.model\";\r\n\r\n\r\nexport class APLCategoryMasterRoleCatalog {\r\n public id!: number;\r\n public aplCategory?: APLCategoryRoleCatalog;\r\n\r\n constructor() {\r\n this.aplCategory = this.aplCategory ?? new APLCategoryRoleCatalog();\r\n }\r\n}\r\n","import { APLCategoryManager } from \"./apl-category-manager.model\";\r\n\r\nexport class APLCategoryRoleCatalog {\r\n public id!: number;\r\n public name!: string;\r\n public code!: string;\r\n public status!: number;\r\n public aplCategoryManagers: APLCategoryManager[];\r\n\r\n constructor() {\r\n this.aplCategoryManagers = [];\r\n }\r\n}\r\n","import { APLCategoryManager } from \"./apl-category-manager.model\";\r\nimport { APLCategoryMaster } from \"./apl-category-master.model\";\r\nimport { APLGroup } from \"./apl-group.model\";\r\n\r\nexport class APLCategory {\r\n public id!: number;\r\n public name!: string;\r\n public code!: string;\r\n public status!: number;\r\n public aplCategoryMasterID!: number;\r\n public previousVersionID!: number;\r\n public version!: number;\r\n public createdBy!: number;\r\n public aplCategoryMaster!: APLCategoryMaster;\r\n public aplCategoryManagers: APLCategoryManager[];\r\n public previousVersion!: APLCategory;\r\n public newVersion?: APLCategory;\r\n public aplGroups?: APLGroup[];\r\n\r\n public open?: boolean;\r\n public pendingGroups?: boolean;\r\n\r\n constructor() {\r\n this.aplCategoryManagers = [];\r\n this.aplGroups = [];\r\n }\r\n}\r\n","import { APLCategoryMasterRoleCatalog } from \"./apl-category-master-role-catalog.model\";\r\n\r\n\r\nexport class APLGroupMasterRoleCatalog {\r\n public id!: number;\r\n public aplCategoryMaster?: APLCategoryMasterRoleCatalog;\r\n\r\n constructor() {\r\n this.aplCategoryMaster = this.aplCategoryMaster ?? new APLCategoryMasterRoleCatalog();\r\n }\r\n}\r\n","import { APLGroupManager } from \"./apl-group-manager.model\";\r\nimport { APLGroupMasterRoleCatalog } from \"./apl-group-master-role-catalog.model\";\r\nimport { APLGroupCard_PTCs } from \"./apl-group-ptc\";\r\n\r\nexport class APLGroupRoleCatalog {\r\n public id!: number;\r\n public name!: string;\r\n public status!: number;\r\n public aplGroupMaster?: APLGroupMasterRoleCatalog;\r\n public aplGroupManagers: APLGroupManager[];\r\n public aplProcedureTrainingCoordinators?: APLGroupCard_PTCs[];\r\n\r\n constructor() {\r\n this.aplGroupMaster = this.aplGroupMaster ?? new APLGroupMasterRoleCatalog();\r\n this.aplGroupManagers = [];\r\n this.aplProcedureTrainingCoordinators = []\r\n }\r\n}\r\n","import { APLGroupRoleCatalog } from \"./apl-group-role-catalog.model\";\r\n\r\nexport class APLGroupRoleRoleCatalog {\r\n public id!: number;\r\n public aplGroup!: APLGroupRoleCatalog;\r\n\r\n constructor() {\r\n this.aplGroup = this.aplGroup ?? new APLGroupRoleCatalog();\r\n }\r\n}\r\n","import { APLGroupManager } from './apl-group-manager.model';\r\nimport { APLGroupMaster } from './apl-group-master.model';\r\nimport { APLGroupCard_PTCs } from './apl-group-ptc';\r\nimport { APLGroupRole } from './apl-group-role.model';\r\n\r\nexport class APLGroup {\r\n public id!: number;\r\n public name?: string;\r\n public description?: string;\r\n public status?: number;\r\n public aplGroupMasterID?: number;\r\n public previousVersionID?: number;\r\n public version?: number;\r\n public createdBy?: number;\r\n public aplGroupMaster?: APLGroupMaster;\r\n public previousVersion?: APLGroup;\r\n public newVersion?: APLGroup;\r\n public aplGroupManagers?: APLGroupManager[];\r\n public aplGroupRoles?: APLGroupRole[];\r\n public aplProcedureTrainingCoordinators?: APLGroupCard_PTCs[];\r\n\r\n constructor() {\r\n this.aplGroupManagers = [];\r\n this.aplGroupRoles = [];\r\n this.aplProcedureTrainingCoordinators = [];\r\n }\r\n}\r\n","import { APLCategory } from \"src/app/components/apl/services/apl-category.model\";\r\n\r\nexport class APLCategoryRefresh {\r\n static readonly type = '[APL Category] Refresh';\r\n}\r\n\r\nexport class APLCategoryCreate {\r\n static readonly type = '[APL Category] Create';\r\n constructor(public item: APLCategory) { }\r\n}\r\n\r\nexport class APLCategoryUpdate {\r\n static readonly type = '[APL Category] Update';\r\n constructor(public id: number, public item: APLCategory) { }\r\n}\r\n\r\n\r\nexport class APLCategoryRefreshByID {\r\n static readonly type = '[APL Category] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Action, State, StateContext, Store } from \"@ngxs/store\";\r\nimport { APLCategoryCreate, APLCategoryRefresh, APLCategoryRefreshByID, APLCategoryUpdate } from \"./apl-category.action\";\r\nimport { APLCategory } from \"src/app/components/apl/services/apl-category.model\";\r\nimport { APLCategoryService } from \"../../apl-category.service\";\r\n\r\nexport class APLCategoryStateModel {\r\n APLCategories: APLCategory[] = [];\r\n APLCategoriesWithPending: APLCategory[] = [];\r\n}\r\n\r\n@State({\r\n name: 'APLCategory',\r\n defaults: {\r\n APLCategories: [],\r\n APLCategoriesWithPending: [],\r\n },\r\n})\r\n@Injectable()\r\nexport class APLCategoryState {\r\n constructor(\r\n private store: Store,\r\n private aplCategoryService: APLCategoryService,\r\n ) { }\r\n\r\n @Action(APLCategoryRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.aplCategoryService.read().subscribe(\r\n data => patchState({ APLCategories: data }),\r\n );\r\n this.aplCategoryService.readWithPending().subscribe(\r\n data => patchState({ APLCategoriesWithPending: data }),\r\n );\r\n }\r\n\r\n @Action(APLCategoryCreate)\r\n create({ getState }: StateContext, { item }: APLCategoryCreate) {\r\n if (getState().APLCategories && getState().APLCategoriesWithPending) {\r\n this.store.dispatch(APLCategoryRefresh);\r\n }\r\n }\r\n\r\n @Action(APLCategoryUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: APLCategoryUpdate) {\r\n const state = getState();\r\n const index = state.APLCategories.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.APLCategories.splice(index, 1);\r\n patchState({\r\n APLCategories: [...state.APLCategories, item]\r\n });\r\n }\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as APLCategoryActions from './apl-category.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class APLCategoryStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new APLCategoryActions.APLCategoryRefresh());\r\n }\r\n\r\n initListeners() {\r\n // APLCategory\r\n this.signalRService.hubConnection?.on(Channels.APLCATEGORY, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new APLCategoryActions.APLCategoryCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new APLCategoryActions.APLCategoryUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new APLCategoryActions.APLCategoryRefreshByID(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new APLCategoryActions.APLCategoryRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { APLGroup } from \"src/app/components/apl/services/apl-group.model\";\r\n\r\nexport class APLGroupAllPendingRefresh {\r\n static readonly type = '[APL Group] All Pending Refresh';\r\n}\r\nexport class APLGroupRefresh {\r\n static readonly type = '[APL Group] Refresh';\r\n\r\n constructor() { }\r\n}\r\n\r\nexport class APLGroupRefreshByAPLCategoryMasterID {\r\n static readonly type = '[APL Group] Refresh by APL Category Master ID';\r\n\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class APLGroupCreate {\r\n static readonly type = '[APL Group] Create';\r\n\r\n constructor(public item: APLGroup) { }\r\n}\r\n\r\nexport class APLGroupUpdate {\r\n static readonly type = '[APL Group] Update';\r\n\r\n constructor(public id: number, public item: APLGroup) { }\r\n}\r\n\r\nexport class APLGroupDelete {\r\n static readonly type = '[APL Group] Delete';\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, State, StateContext, Store } from '@ngxs/store';\r\n\r\nimport { APLGroupRefreshByAPLCategoryMasterID, APLGroupCreate, APLGroupUpdate, APLGroupRefresh, APLGroupAllPendingRefresh, APLGroupDelete } from './apl-group.action';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport { APLGroupService } from '../../apl-group.service';\r\n\r\nclass APLGroupStateModel {\r\n all: APLGroup[] = [];\r\n allPendingGlobal: APLGroup[] = [];\r\n allPending: APLGroup[] = [];\r\n loading: boolean = false;\r\n}\r\n\r\n@State({\r\n name: 'APLGroup',\r\n defaults: {\r\n allPendingGlobal: [],\r\n all: [],\r\n allPending: [],\r\n loading: false,\r\n },\r\n})\r\n@Injectable()\r\nexport class APLGroupState {\r\n constructor(\r\n private aplGroupService: APLGroupService,\r\n ) { }\r\n\r\n @Action(APLGroupAllPendingRefresh)\r\n refreshAllPending({ patchState }: StateContext, { }: APLGroupAllPendingRefresh) {\r\n this.aplGroupService.readAllPending().subscribe(\r\n data => patchState({ allPendingGlobal: data }),\r\n error => console.error(error),\r\n );\r\n }\r\n\r\n @Action(APLGroupRefresh)\r\n refresh({ patchState }: StateContext, { }: APLGroupRefresh) {\r\n this.aplGroupService.read().subscribe(\r\n data => patchState({ all: data }),\r\n error => console.error(error),\r\n );\r\n }\r\n\r\n @Action(APLGroupRefreshByAPLCategoryMasterID)\r\n refreshByAPLCategoryMasterID({ patchState }: StateContext, { id }: APLGroupRefreshByAPLCategoryMasterID) {\r\n patchState({ loading: true });\r\n\r\n this.aplGroupService.readPendingByAPLCategoryMasterID(id).subscribe(\r\n data => patchState({ allPending: data }),\r\n error => console.error(error),\r\n () => patchState({ loading: false }),\r\n );\r\n }\r\n\r\n // @Action(APLGroupCreate)\r\n // create({ }: StateContext, { item }: APLGroupCreate) {\r\n // this.store.dispatch(new APLGroupAllPendingRefresh());\r\n // this.store.dispatch(new APLGroupRefresh());\r\n // this.store.dispatch(new APLGroupRefreshByAPLCategoryMasterID(item.aplGroupMaster.aplCategoryMasterID));\r\n // }\r\n\r\n // @Action(APLGroupUpdate)\r\n // update({ }: StateContext, { id, item }: APLGroupUpdate) {\r\n // this.store.dispatch(new APLGroupAllPendingRefresh());\r\n // this.store.dispatch(new APLGroupRefresh());\r\n // this.store.dispatch(new APLGroupRefreshByAPLCategoryMasterID(item.aplGroupMaster.aplCategoryMasterID));\r\n // }\r\n @Action(APLGroupCreate)\r\n create({ getState, patchState }: StateContext, { item }: APLGroupCreate) {\r\n patchState({\r\n all: [...getState().all, item]\r\n });\r\n }\r\n\r\n @Action(APLGroupUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: APLGroupUpdate) {\r\n const state = getState();\r\n const index = state.all.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.all.splice(index, 1);\r\n patchState({\r\n all: [...state.all, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(APLGroupDelete)\r\n delete({ getState, patchState }: StateContext, { id }: APLGroupDelete) {\r\n patchState({\r\n all: getState().all.filter(x => x.id != id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as AplGroupActions from './apl-group.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AplGroupStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new AplGroupActions.APLGroupRefresh());\r\n this.store.dispatch(new AplGroupActions.APLGroupAllPendingRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.APLGROUP, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new AplGroupActions.APLGroupCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new AplGroupActions.APLGroupUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new AplGroupActions.APLGroupDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new AplGroupActions.APLGroupRefresh());\r\n this.store.dispatch(new AplGroupActions.APLGroupAllPendingRefresh());\r\n break;\r\n\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import {\r\n Component, OnInit, Output, EventEmitter, OnDestroy, Input, OnChanges, SimpleChanges, AfterViewInit, Injector,\r\n} from \"@angular/core\";\r\nimport { AbstractControl, FormControl, Validators } from \"@angular/forms\";\r\nimport { MatDialogConfig } from \"@angular/material/dialog\";\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { Subscription, Observable } from \"rxjs\";\r\nimport { ActionPendingCatalog, Catalog, ResourceType } from \"src/app/common/enumerations/enumerations\";\r\nimport { RestrictionsStoreAndListenersService } from \"src/app/components/scf-v2/store/restrictions/restrictions.store\";\r\nimport { DisapprovalReasonComponent } from \"src/app/controls/disapproval-reason/disapproval-reason.component\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { AcceleratorCatalog, AcceleratorCatalogDetails } from \"src/app/components/catalogs/accelerator-catalog/services/accelerator-catalog\";\r\nimport { Resource, ResourceRelation } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { Restriction } from \"src/app/controls/restrictions/services/restriction\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { CatalogModel } from \"../../catalog-model\";\r\nimport { CatalogService } from \"../../catalog-service\";\r\nimport { Shielding } from \"./accelerator-shielding/accelerator-shielding.component\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { AcceleratorLocationComponent } from \"../dialogs/location/location.component\";\r\n\r\n@Component({\r\n selector: \"app-accelerator-catalog-details\",\r\n templateUrl: \"./accelerator-catalog-details.component.html\",\r\n styleUrls: [\"./accelerator-catalog-details.component.scss\"],\r\n})\r\nexport class AcceleratorCatalogDetailsComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {\r\n @Input() acceleratorCatalog?: AcceleratorCatalog;\r\n @Input() showModification!: boolean;\r\n @Input() showHistory!: boolean;\r\n @Input() enableMove: boolean = false;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() saved = new EventEmitter();\r\n @Output() changed = new EventEmitter();\r\n @Output() showModificationChanged = new EventEmitter();\r\n\r\n catalogModel!: CatalogModel;\r\n accelerator!: Resource;\r\n\r\n restrictionsParent: any;\r\n locationsParent: any;\r\n\r\n restrictions!: Restriction[];\r\n restrictionsFiltered!: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n errorMsg!: string[];\r\n\r\n oldAcceleratorName?: string | null;\r\n\r\n canModify!: boolean;\r\n canApprove?: boolean | null;\r\n isEditing!: boolean;\r\n isCreating!: boolean;\r\n canCancel?: boolean | null;\r\n\r\n originalAccelerator?: AcceleratorCatalog | null;\r\n valid!: boolean;\r\n\r\n displayedColumnsLocations: string[] = [\"location\"];\r\n dataSourceLocation!: MatTableDataSource;\r\n dataSourceRestriction!: MatTableDataSource;\r\n\r\n locations!: Resource[];\r\n shieldings: Shielding[] = [];\r\n\r\n formGroupSubs!: Subscription;\r\n\r\n public get nameCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"nameCtrl\");\r\n }\r\n public get desciptionCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"descriptionCtrl\");\r\n }\r\n public get showCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"showCtrl\");\r\n }\r\n public get activeCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"activeCtrl\");\r\n }\r\n restrictionsCtrl = new FormControl();\r\n locationsCtrl = new FormControl();\r\n shieldingsCtrl = new FormControl();\r\n\r\n acceleratorHistory?: AcceleratorCatalog[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n restrictionsStore: RestrictionsStoreAndListenersService,\r\n private catalogService: CatalogService) {\r\n super(injector);\r\n restrictionsStore.initStore();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.restrictionsSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n async ngOnInit() {\r\n this.initializeForm();\r\n this.clear(true);\r\n this.loadResources();\r\n this.loadRestrictions();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['showModification'] && this.originalAccelerator && !this.showModification) {\r\n this.acceleratorCatalog = this.utils.cloneDeep(this.originalAccelerator);\r\n }\r\n if (changes[\"acceleratorCatalog\"]) {\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.showModification = false;\r\n this.showHistory = false;\r\n this.originalAccelerator = this.utils.cloneDeep(this.acceleratorCatalog);\r\n }\r\n this.initializeForm();\r\n this.getDetails(this.acceleratorCatalog);\r\n if (this.showHistory)\r\n this.getHistory();\r\n }\r\n\r\n loadRestrictions() {\r\n this.restrictions$ = this.store.select((state) => state.Restrictions.data);\r\n this.restrictionsSubs = this.restrictions$.subscribe((data) => {\r\n if (data?.length) {\r\n this.restrictions = data;\r\n }\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data.length) {\r\n this.resources = data;\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit(): void { }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n nameCtrl: [null, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n descriptionCtrl: [\r\n null,\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n showCtrl: [null],\r\n activeCtrl: [null],\r\n restrictionsCtrl: [null],\r\n shieldingsCtrl: [null],\r\n });\r\n this.disableControls(!this.isEditing);\r\n this.changed.emit(false);\r\n this.formGroupSubs = this.formGroup.valueChanges.subscribe((formValue) => {\r\n if (formValue) {\r\n this.changed.emit(this.formGroup.dirty);\r\n }\r\n });\r\n this.enableMove = false;\r\n }\r\n\r\n disableControls(disable: boolean = true) {\r\n if (disable) {\r\n this.formGroup.disable();\r\n this.nameCtrl?.disable();\r\n this.desciptionCtrl?.disable();\r\n this.showCtrl?.disable();\r\n } else {\r\n this.formGroup.enable();\r\n this.nameCtrl?.enable();\r\n this.desciptionCtrl?.enable();\r\n this.showCtrl?.enable();\r\n }\r\n }\r\n\r\n getDetails(acceleratorCatalog?: AcceleratorCatalog) {\r\n this.formGroup?.markAsPristine();\r\n if (acceleratorCatalog && !acceleratorCatalog?.id) {\r\n this.canModify = this.hasPrivilege(\r\n PrivilegeEnum.AcceleratorCatalogCreate\r\n );\r\n this.isCreating = true;\r\n this.setValues(acceleratorCatalog.details ?? acceleratorCatalog.pendingDetails);\r\n this.disableControls(false);\r\n } else if (acceleratorCatalog?.id) {\r\n this.loading.emit(true);\r\n this.accelerator = acceleratorCatalog.details.accelerator ?? acceleratorCatalog.pendingDetails.accelerator;\r\n const pendingAccelerator = acceleratorCatalog.pendingAcceleratorCatalog;\r\n this.canCancel =\r\n pendingAccelerator &&\r\n this.currentUser?.id == pendingAccelerator?.createdBy;\r\n if (pendingAccelerator && (this.showModification || this.showHistory)) {\r\n if (this.acceleratorCatalog?.pendingDetails)\r\n this.setValues(this.acceleratorCatalog.pendingDetails);\r\n } else {\r\n this.setValues(acceleratorCatalog.details.accelerator ? acceleratorCatalog.details : acceleratorCatalog.pendingDetails);\r\n }\r\n this.canModify =\r\n this.hasPrivilege(PrivilegeEnum.AcceleratorCatalogCreate) &&\r\n ((pendingAccelerator\r\n ? pendingAccelerator.createdBy == this.currentUser?.id\r\n : false) ||\r\n !pendingAccelerator);\r\n this.canApprove =\r\n pendingAccelerator &&\r\n pendingAccelerator.createdBy != this.currentUser?.id &&\r\n this.hasPrivilege(PrivilegeEnum.AcceleratorCatalogApprove);\r\n this.loading.emit(false);\r\n } else if ((acceleratorCatalog?.id ?? 0) < 0) {\r\n this.loading.emit(true);\r\n } else {\r\n this.clear();\r\n }\r\n }\r\n\r\n async save() {\r\n this.catalogModel.acceleratorCatalog = this.getValues();\r\n if (await this.isValid()) {\r\n this.loading.emit(true);\r\n this.showModificationChanged.emit(false);\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.catalogService\r\n .SaveAsDraft(this.catalogModel, Catalog.AcceleratorCatalog)\r\n .toPromise()\r\n .then(() => {\r\n this.alert.info(\r\n this.isCreating\r\n ? \"The New Accelerator Has Been Sent To Approval!\"\r\n : \"The Accelerator Modification Has Been Sent To Approval!\"\r\n );\r\n this.saved.emit(this.accelerator.id);\r\n this.acceleratorCatalog = this.catalogModel.acceleratorCatalog;\r\n this.getDetails(this.acceleratorCatalog);\r\n this.setFormDirty(false);\r\n this.showModification = false;\r\n // this.clear();\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n } else {\r\n this.alertError();\r\n }\r\n this.errorMsg = [];\r\n }\r\n\r\n async delete() {\r\n this.catalogModel.acceleratorCatalog = this.getValues();\r\n this.catalogModel.action = ActionPendingCatalog.Delete;\r\n this.loading.emit(true);\r\n this.showModificationChanged.emit(false);\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.catalogService\r\n .SaveAsDraft(this.catalogModel, Catalog.AcceleratorCatalog)\r\n .toPromise()\r\n .then(() => {\r\n this.alert.info(\r\n \"The Accelerator Deletion Has Been Sent To Approval!\"\r\n );\r\n this.saved.emit(this.accelerator.id);\r\n this.clear();\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }).finally(() => this.loading.emit(false));\r\n this.errorMsg = [];\r\n }\r\n\r\n modifyAccelerator() {\r\n if (this.acceleratorCatalog?.pendingDetails)\r\n this.showModificationChanged.emit(true);\r\n this.isEditing = true;\r\n this.originalAccelerator = this.utils.cloneDeep(this.acceleratorCatalog);\r\n this.disableControls(false);\r\n }\r\n\r\n approve() {\r\n this.loading.emit(true);\r\n this.showModificationChanged.emit(false);\r\n this.catalogService\r\n .Approve(\r\n this.accelerator.id ? this.accelerator.id : -(this.acceleratorCatalog?.id ?? 0),\r\n Catalog.AcceleratorCatalog\r\n )\r\n .toPromise().then(id => {\r\n this.alert.success(\r\n \"Congratulations !! Accelerator Changes Approved Successfully!!\"\r\n );\r\n this.saved.emit(id);\r\n }).catch(() => {\r\n if (this.acceleratorCatalog?.pendingAcceleratorCatalog?.action == ActionPendingCatalog.Delete) {\r\n this.alert.error('Error Approving Deletion of Accelerator. The Accelerator may be in use in a Form or somewhere else.');\r\n }\r\n else {\r\n this.alert.defaultError();\r\n }\r\n }).finally(() => this.loading.emit(false));\r\n this.errorMsg = [];\r\n }\r\n /**\r\n *\r\n *\r\n * @param {string} disapprovalReason\r\n * @memberof AcceleratorCatalogDetailsComponent\r\n */\r\n disapprove(disapprovalReason: string) {\r\n this.loading.emit(true);\r\n this.catalogService\r\n .Unapprove(\r\n this.accelerator.id,\r\n Catalog.AcceleratorCatalog,\r\n disapprovalReason\r\n )\r\n .subscribe(() => {\r\n this.alert.info(\r\n \"Accelerator Change Disapproved!\"\r\n );\r\n this.saved.emit(this.accelerator.id);\r\n this.clear();\r\n });\r\n }\r\n\r\n openAddLocationDialog(): void {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = new Resource();\r\n const dialogRef = this.dialog.open(AcceleratorLocationComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n if (\r\n this.isResourceRepeated(\r\n this.dataSourceLocation.data,\r\n data,\r\n \"Location\"\r\n )\r\n ) {\r\n this.addNewResource(data, this.dataSourceLocation);\r\n this.locationsParent = { list: this.dataSourceLocation.data };\r\n this.locationsCtrl.setValue(true);\r\n this.setFormDirty();\r\n } else {\r\n this.alertError();\r\n }\r\n this.errorMsg = [];\r\n }\r\n });\r\n }\r\n\r\n openEditLocationDialog(resource: Resource) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = resource;\r\n const dialogRef = this.dialog.open(AcceleratorLocationComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n if (\r\n this.isResourceRepeated(\r\n this.dataSourceLocation.data,\r\n data,\r\n \"Location\"\r\n )\r\n ) {\r\n this.addExistingResource(data, resource, this.dataSourceLocation);\r\n this.locationsParent = { list: this.dataSourceLocation.data };\r\n this.locationsCtrl.setValue(true);\r\n this.setFormDirty();\r\n } else {\r\n this.alertError();\r\n }\r\n this.errorMsg = [];\r\n }\r\n });\r\n }\r\n\r\n openAddDisapprovalDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = \"\";\r\n const dialogRef = this.dialog.open(\r\n DisapprovalReasonComponent,\r\n dialogConfig\r\n );\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.disapprove(data);\r\n }\r\n });\r\n }\r\n\r\n deleteLocation(resource: Resource) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Location').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceLocation.data.indexOf(resource);\r\n this.dataSourceLocation.data.splice(index, 1);\r\n this.dataSourceLocation.filter = \"\";\r\n this.locationsCtrl.setValue(true);\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n setAcceleratorName() {\r\n if (this.accelerator.name) {\r\n this.accelerator = this.createNewResource(this.accelerator, 1);\r\n }\r\n this.setFormDirty();\r\n }\r\n\r\n getDataFromRestriction(restrictions: Restriction[]) {\r\n this.restrictionsCtrl.setValue(restrictions);\r\n this.setFormDirty();\r\n this.dataSourceRestriction.data = restrictions;\r\n }\r\n\r\n shieldingsChanged(shieldings: Shielding[]) {\r\n this.shieldingsCtrl.setValue(shieldings);\r\n this.setFormDirty();\r\n this.shieldings = shieldings;\r\n }\r\n\r\n addNewResource(\r\n data: Resource,\r\n dataSourceResource: MatTableDataSource\r\n ) {\r\n const resource = this.createNewResource(\r\n data,\r\n ResourceType.AcceleratorLocation,\r\n dataSourceResource.data.length + 1\r\n );\r\n dataSourceResource.data.push(resource);\r\n dataSourceResource.filter = \"\";\r\n }\r\n\r\n addExistingResource(\r\n data: Resource,\r\n dataToUpdate: Resource,\r\n dataSourceResource: MatTableDataSource\r\n ) {\r\n const index = dataSourceResource.data.indexOf(dataToUpdate);\r\n dataSourceResource.data[index].name = data.name;\r\n dataSourceResource.filter = \"\";\r\n }\r\n\r\n createNewResource(\r\n resource: Resource,\r\n type: number,\r\n position?: number\r\n ): Resource {\r\n const resourceCreated: Resource = {\r\n id: resource.id,\r\n name: resource.name,\r\n type,\r\n status: 1,\r\n position,\r\n };\r\n return resourceCreated;\r\n }\r\n\r\n getColumns() {\r\n return this.isEditing || this.isCreating ? [\"location\", \"add\"] : [\"location\"];\r\n }\r\n\r\n getValues(): AcceleratorCatalog | undefined {\r\n this.accelerator.name = this.nameCtrl?.value;\r\n this.accelerator.description = this.desciptionCtrl?.value;\r\n this.accelerator.checkboxVisible = this.showCtrl?.value;\r\n this.accelerator.status = this.activeCtrl?.value ? 1 : 0;\r\n if (this.dataSourceLocation.data.length > 0) {\r\n this.locations = this.dataSourceLocation.data;\r\n } else {\r\n this.locations = [];\r\n }\r\n if (this.dataSourceRestriction.data.length > 0) {\r\n this.restrictions = this.dataSourceRestriction.data;\r\n } else {\r\n this.restrictions = [];\r\n }\r\n if (this.acceleratorCatalog) {\r\n this.acceleratorCatalog.pendingDetails = new AcceleratorCatalogDetails();\r\n this.acceleratorCatalog.pendingDetails.shieldings = this.shieldings.filter(s => !s.isDeleted).map(\r\n (x) => {\r\n if (x.resource) {\r\n x.resource.checkboxVisible = x.checkboxVisible;\r\n x.resource.longShutdown = x.longShutdown;\r\n x.resource.inTunnel = x.inTunnel;\r\n x.resource.isRSSD = x.isRSSD;\r\n x.resource.position = x.position;\r\n x.resource.cssClass = x.resource.cssClass;\r\n if (x.resource.parentResources) {\r\n const parentResource = x.resource.parentResources.find(\r\n (p) => p.parentResourceID == this.accelerator.id\r\n );\r\n if (parentResource) {\r\n parentResource.position = x.position;\r\n }\r\n }\r\n x.resource.childResources = x.childResources;\r\n x.resource.childResources?.map((x) => {\r\n x.childResource = null;\r\n x.parentResource = null;\r\n });\r\n }\r\n return x.resource;\r\n }\r\n\r\n ) as Resource[];\r\n this.acceleratorCatalog.pendingDetails.accelerator = this.accelerator;\r\n this.acceleratorCatalog.pendingDetails.restrictions = this.restrictions;\r\n this.acceleratorCatalog.pendingDetails.locations = this.locations;\r\n this.acceleratorCatalog.pendingAcceleratorCatalog = null;\r\n this.acceleratorCatalog.details.locations = [];\r\n this.acceleratorCatalog.details.restrictions = [];\r\n this.acceleratorCatalog.details.shieldings = [];\r\n }\r\n return this.acceleratorCatalog;\r\n }\r\n\r\n setValues(data: AcceleratorCatalogDetails) {\r\n const fields = [\"locations\", \"restrictions\", \"shieldings\"];\r\n fields.map((f) => this.isModified(f));\r\n if (this.showHistory || this.showModification)\r\n this.checkAddedAndDeletedRows();\r\n this.accelerator = data.accelerator;\r\n this.accelerator?.childResources?.map((c) => {\r\n const resource = this.resources.find((r) => r.id == c.childResourceID);\r\n c.childResourceType = resource?.type;\r\n c.childResourceName = resource?.name;\r\n c.childResource = resource;\r\n });\r\n const locations = data.locations;\r\n this.dataSourceLocation = new MatTableDataSource(locations);\r\n const restrictions = data.restrictions;\r\n this.dataSourceRestriction = new MatTableDataSource(restrictions);\r\n this.restrictionsParent = { list: restrictions };\r\n this.locationsParent = { list: locations };\r\n this.oldAcceleratorName = data.accelerator?.name;\r\n this.shieldings = this.getShieldings(this.utils.cloneDeep(data));\r\n this.nameCtrl?.setValue(this.accelerator?.name);\r\n this.desciptionCtrl?.setValue(this.accelerator?.description);\r\n this.showCtrl?.setValue(this.accelerator?.checkboxVisible);\r\n this.activeCtrl?.setValue(this.accelerator?.status);\r\n this.restrictionsCtrl.setValue(false);\r\n this.locationsCtrl.setValue(false);\r\n this.shieldingsCtrl.setValue(false);\r\n }\r\n\r\n getShieldings(data: AcceleratorCatalogDetails) {\r\n return data.shieldings?.map((s) => {\r\n const parentResource = s.parentResources?.find(\r\n (p) => p.parentResourceID == this.accelerator.id\r\n );\r\n const childResources = this.getSubLocations(s);\r\n const shielding: Shielding = {\r\n name: s.name,\r\n resourceID: s.id,\r\n resource: s,\r\n position: s.isDeleted ? (s.position ?? 0) : (parentResource ? (parentResource.position ?? 0) : (s.position ?? 0)),\r\n childResources,\r\n checkboxVisible: s.checkboxVisible ?? false,\r\n longShutdown: s.longShutdown ?? false,\r\n inTunnel: s.inTunnel,\r\n isRSSD: s.isRSSD,\r\n isModified: s.isModified,\r\n isDeleted: s.isDeleted,\r\n isAdded: s.isAdded,\r\n subLocationNames: childResources\r\n ?.map((x) =>\r\n x.childResourceName\r\n ? x.childResourceName\r\n : this.resources.find((r) => r.id == x.childResourceID)?.name\r\n )\r\n .join(\", \"),\r\n };\r\n return shielding;\r\n }).sort((a, b) => this.utils.sort(a.position, b.position));\r\n }\r\n\r\n getSubLocations(s: Resource): ResourceRelation[] {\r\n let resourceRelations: ResourceRelation[] = [];\r\n let locationIDs = s.childResources?.map((c) => c.childResourceID);\r\n if (!locationIDs?.length) {\r\n const locs = s.parentResources?.filter((x) => x.locationsIDs && x.parentResourceID == this.accelerator.id).map((p) => p.locationsIDs).join(',');\r\n locationIDs = this.utils.JSONparse(locs) as number[];\r\n }\r\n if (locationIDs?.length) {\r\n const resources = this.resources.filter((r) => locationIDs?.includes(r.id));\r\n resources.map((r) => {\r\n const rr: ResourceRelation = {\r\n id: 0,\r\n childResourceID: r.id,\r\n childResource: r,\r\n parentResourceID: s.id,\r\n parentResource: s,\r\n };\r\n resourceRelations.push(rr);\r\n });\r\n }\r\n return resourceRelations;\r\n }\r\n\r\n cancel() {\r\n if (this.isEditing || this.isCreating) {\r\n this.formGroup.reset();\r\n if (this.isEditing && this.originalAccelerator) {\r\n this.acceleratorCatalog = this.originalAccelerator;\r\n this.getDetails(this.originalAccelerator);\r\n this.originalAccelerator = null;\r\n }\r\n if (this.isCreating) {\r\n this.canModify = false;\r\n }\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.disableControls();\r\n this.setFormDirty(false);\r\n } else {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: \"Are you sure you want to Cancel your changes?\",\r\n icon: \"question\",\r\n };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.catalogService\r\n .Unapprove(this.accelerator.id, Catalog.AcceleratorCatalog, '')\r\n .subscribe(() => {\r\n this.alert.info(\"Your changes were Cancelled\");\r\n this.saved.emit(this.accelerator.id);\r\n this.clear();\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n isResourceRepeated(\r\n resources: Resource[],\r\n resource: Resource,\r\n typeName: string\r\n ) {\r\n this.valid = true;\r\n if (resources.filter((x) => x.name?.toLowerCase() === resource.name?.toLowerCase()\r\n ).length !== 0\r\n ) {\r\n this.errorMsg.push(\r\n typeName +\r\n \" \" +\r\n resource.name?.toUpperCase() +\r\n \" is already added\"\r\n );\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n async isValid() {\r\n this.valid = true;\r\n if (!this.nameCtrl?.value) {\r\n this.errorMsg.push(\"Field Accelertor Name should not be blank!\");\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n clear(isInit?: boolean) {\r\n this.catalogModel = new CatalogModel();\r\n this.acceleratorCatalog = new AcceleratorCatalog();\r\n\r\n this.dataSourceLocation = new MatTableDataSource();\r\n this.dataSourceRestriction = new MatTableDataSource();\r\n\r\n this.shieldings = [];\r\n this.restrictionsParent = { list: [] };\r\n this.locationsParent = { list: [] };\r\n\r\n this.errorMsg = [];\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.canApprove = false;\r\n this.canModify = false;\r\n this.canCancel = false;\r\n\r\n this.setFormDirty(false);\r\n this.formGroup.reset();\r\n this.disableControls();\r\n }\r\n\r\n alertError() {\r\n this.alert.error(this.errorMsg.join(\", \"));\r\n const that = this;\r\n setTimeout(() => {\r\n that.alert.clear();\r\n }, 3000);\r\n }\r\n\r\n isModified(fieldName: string) {\r\n if (this.acceleratorCatalog && (this.showModification || (this.showHistory && this.acceleratorHistory)) && this.acceleratorCatalog.details?.accelerator && this.acceleratorCatalog.pendingDetails?.accelerator) {\r\n switch (fieldName) {\r\n case \"name\":\r\n return (\r\n this.acceleratorCatalog.details.accelerator?.name !=\r\n this.acceleratorCatalog.pendingDetails?.accelerator?.name\r\n );\r\n break;\r\n case \"description\":\r\n return (\r\n this.acceleratorCatalog.details.accelerator?.description !=\r\n this.acceleratorCatalog.pendingDetails?.accelerator.description\r\n );\r\n break;\r\n case \"show\":\r\n return (\r\n this.acceleratorCatalog.details.accelerator?.checkboxVisible !=\r\n this.acceleratorCatalog.pendingDetails?.accelerator.checkboxVisible\r\n );\r\n break;\r\n case \"active\":\r\n return (\r\n this.acceleratorCatalog.details.accelerator?.status !=\r\n this.acceleratorCatalog.pendingDetails?.accelerator.status\r\n );\r\n break;\r\n case \"restrictions\":\r\n const r1 = this.acceleratorCatalog.details.restrictions?.sort(\r\n (a, b) => this.utils.sort(a.id, b.id));\r\n const r2 = this.acceleratorCatalog.pendingDetails?.restrictions.sort(\r\n (a, b) => this.utils.sort(a.id, b.id));\r\n if (r2) {\r\n r2.map((r, i) => {\r\n const s = r1[i];\r\n if (!s) return;\r\n r.isModified =\r\n r.restrictionLanguage != s.restrictionLanguage ||\r\n r.scf != s.scf ||\r\n r.rsswa != s.rsswa ||\r\n r.ebf != s.ebf ||\r\n r.ppstb != s.ppstb ||\r\n r.locationID != s.locationID ||\r\n r.resourceID != s.resourceID;\r\n });\r\n return r2.some((r) => r.isModified);\r\n }\r\n break;\r\n case \"locations\":\r\n const l1 = this.acceleratorCatalog.details.locations?.sort(\r\n (a, b) => this.utils.sort(a.position, b.position));\r\n const l2 = this.acceleratorCatalog.pendingDetails?.locations.sort(\r\n (a, b) => this.utils.sort(a.position, b.position));\r\n if (l2) {\r\n l2.map((l, i) => {\r\n const m = l1[i];\r\n l.isModified = !m || l.id != m.id || l.name != m.name;\r\n });\r\n return l2.some((l) => l.isModified);\r\n }\r\n break;\r\n case \"shieldings\":\r\n const s1 = this.getShieldings(this.acceleratorCatalog.details).sort(\r\n (a, b) => this.utils.sort(a.position, b.position));\r\n const s2 = this.getShieldings(\r\n this.acceleratorCatalog.pendingDetails\r\n ).sort((a, b) => this.utils.sort(a.position, b.position));\r\n if (s2) {\r\n s2.map((s, i) => {\r\n if (!s.isDeleted) {\r\n const t = s1.find(x => x.resourceID == s.resourceID);\r\n const shielding = this.shieldings?.find(\r\n (x) => x.name == s.name\r\n );\r\n if (shielding)\r\n shielding.isModified =\r\n !t ||\r\n s.name != t.name ||\r\n s.resource?.cssClass != t.resource?.cssClass ||\r\n s.position != t.position ||\r\n s.resource?.keText != t.resource?.keText ||\r\n (s.longShutdown ?? false) != (t.longShutdown ?? false) ||\r\n (s.inTunnel ?? false) != (t.inTunnel ?? false) ||\r\n (s.isRSSD ?? false) != (t.isRSSD ?? false) ||\r\n s.subLocationNames != t.subLocationNames ||\r\n (s.checkboxVisible ?? false) != (t.checkboxVisible ?? false);\r\n }\r\n });\r\n return this.shieldings.some((s) => s.isModified);\r\n }\r\n break;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n getHistory() {\r\n this.loading.emit(true);\r\n this.acceleratorHistory = [];\r\n this.catalogService.GetHistory(Catalog.AcceleratorCatalog, this.accelerator.id).toPromise().then(data => {\r\n if (data) {\r\n this.acceleratorHistory = data.acceleratorCatalogs;\r\n if (this.acceleratorHistory) {\r\n this.acceleratorHistory.map(h => {\r\n if (h.pendingAcceleratorCatalog) {\r\n h.pendingAcceleratorCatalog.userCreatedBy = this.users.find(u => u.id == h.pendingAcceleratorCatalog?.createdBy);\r\n h.pendingAcceleratorCatalog.statusByUser = this.users.find(u => u.id == h.pendingAcceleratorCatalog?.statusBy);\r\n }\r\n });\r\n }\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n checkAddedAndDeletedRows() {\r\n if (this.showHistory || this.showModification) {\r\n // Restrictions\r\n const currentRestrictions = this.acceleratorCatalog?.pendingDetails?.restrictions;\r\n const prevRestrictions = this.acceleratorCatalog?.details?.restrictions;\r\n\r\n if (currentRestrictions && prevRestrictions) {\r\n prevRestrictions.map(p => {\r\n if (p.id && !currentRestrictions.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentRestrictions.push(p);\r\n }\r\n });\r\n }\r\n currentRestrictions?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevRestrictions?.find(p => p.id == c.id);\r\n });\r\n\r\n // Locations\r\n const currentLocations = this.acceleratorCatalog?.pendingDetails?.locations;\r\n const prevLocations = this.acceleratorCatalog?.details?.locations;\r\n\r\n if (currentLocations && prevLocations) {\r\n prevLocations.map(p => {\r\n if (p.id && !currentLocations.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentLocations.push(p);\r\n }\r\n });\r\n }\r\n currentLocations?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevLocations?.find(p => p.id == c.id);\r\n });\r\n\r\n // Shieldings\r\n const currentShieldings = this.acceleratorCatalog?.pendingDetails?.shieldings;\r\n const prevShieldings = this.acceleratorCatalog?.details?.shieldings;\r\n if (prevShieldings && currentShieldings) {\r\n prevShieldings.map(p => {\r\n const parentResource = p.parentResources?.find(\r\n r => r.parentResourceID == this.accelerator.id\r\n );\r\n if (p.id && !currentShieldings.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n p.position = parentResource ? (parentResource.position ?? 0) : (p.position ?? 0);\r\n currentShieldings.push(p);\r\n }\r\n });\r\n }\r\n currentShieldings?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevShieldings?.find(p => p.name == c.name);\r\n });\r\n }\r\n }\r\n\r\n selectedHistory(acceleratorCatalog: AcceleratorCatalog) {\r\n this.loading.emit(true);\r\n this.acceleratorCatalog = acceleratorCatalog;\r\n this.checkAddedAndDeletedRows();\r\n this.getDetails(this.acceleratorCatalog);\r\n this.loading.emit(false);\r\n if (acceleratorCatalog.noDataFound) {\r\n this.alert.warning(\"No Detailed Data found for this Modification!\");\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Accelerator Name\r\n \r\n \r\n
\r\n
\r\n \r\n Label\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n Show?\r\n
\r\n
\r\n
\r\n \r\n \r\n Active\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Restrictions\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Locations\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Location\r\n \r\n {{\r\n element.name\r\n }}\r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Shielding\r\n
\r\n
\r\n \r\n swipe_vertical\r\n \r\n \r\n mobiledata_off\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n
\r\n No Detailed data found for this Modification!\r\n
\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Delete\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n \r\n Approve\r\n \r\n \r\n Disapprove\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n","import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, Inject, Injector, OnDestroy, OnInit, ViewChild, } from \"@angular/core\";\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from \"@angular/material/dialog\";\r\nimport { Shielding } from \"../accelerator-shielding.component\";\r\nimport { ENTER, COMMA } from \"@angular/cdk/keycodes\";\r\nimport { MatAutocompleteSelectedEvent } from \"@angular/material/autocomplete\";\r\nimport { AbstractControl, FormBuilder, FormGroup, Validators, } from \"@angular/forms\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { ResourceType } from \"src/app/common/enumerations/enumerations\";\r\nimport { Resource, ResourceRelation } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\n@Component({\r\n selector: \"app-accelerator-shielding-dialog\",\r\n templateUrl: \"./accelerator-shielding-dialog.component.html\",\r\n styleUrls: [\"./accelerator-shielding-dialog.component.scss\"],\r\n})\r\nexport class AcceleratorShieldingDialogComponent extends BaseComponent\r\n implements OnInit, AfterViewInit, OnDestroy {\r\n accelerator: Resource;\r\n shielding: Shielding;\r\n isAdding: boolean;\r\n\r\n public shieldings!: Resource[];\r\n public shieldingsFiltered!: Resource[];\r\n\r\n public shieldingKeText?: string | null;\r\n public shieldingColor?: string | null;\r\n public shieldingSharedWith!: string;\r\n public oldShielding!: string;\r\n\r\n public loading = false;\r\n\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n resourceRelations!: ResourceRelation[];\r\n resourceRelationsFiltered!: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n subLocations?: ResourceRelation[];\r\n subLocationsFiltered!: ResourceRelation[];\r\n locations?: ResourceRelation[];\r\n\r\n @ViewChild(\"locationInput\")\r\n locationInput!: ElementRef;\r\n @ViewChild(\"shieldingInput\")\r\n shieldingInput!: ElementRef;\r\n\r\n public get shieldingCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"shieldingCtrl\");\r\n }\r\n public get ketextCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"ketextCtrl\");\r\n }\r\n public get locationCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"locationCtrl\");\r\n }\r\n public get colorCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"colorCtrl\");\r\n }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public inputData: {\r\n accelerator: Resource;\r\n shielding: Shielding;\r\n isAdding: boolean;\r\n },\r\n ) {\r\n super(injector);\r\n\r\n this.accelerator = inputData.accelerator;\r\n this.shielding = this.utils.cloneDeep(inputData.shielding);\r\n\r\n this.shieldingKeText = this.shielding.resource?.keText;\r\n this.shieldingColor = this.shielding.resource?.cssClass;\r\n this.locations = this.shielding.childResources;\r\n this.isAdding = inputData.isAdding;\r\n this.subLocations = this.accelerator.childResources?.filter(\r\n (x) => x.childResourceType == ResourceType.AcceleratorLocation\r\n );\r\n this.filterSubLocations();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n if (!this.shielding.resource && this.shielding.name) {\r\n setTimeout(() => {\r\n this.shieldingInput.nativeElement.value = this.shielding.name ?? '';\r\n this.shieldingCtrl?.setValue(this.shielding.name);\r\n }, 500);\r\n } else {\r\n this.shieldingCtrl?.setValue(this.shielding);\r\n }\r\n }\r\n\r\n async ngOnInit() {\r\n this.initializeForm();\r\n this.loadResources();\r\n this.loadResourceRelations();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n shieldingCtrl: [\r\n { value: null },\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n ketextCtrl: [\r\n { value: null },\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n locationCtrl: [\r\n { value: null },\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n colorCtrl: [\r\n { value: null },\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n });\r\n\r\n if (this.isAdding || !this.shielding.resource?.id) {\r\n // this.shieldingCtrl?.enable();\r\n this.colorCtrl?.setValue(\"black\");\r\n this.shieldingColor = \"black\";\r\n } else {\r\n // this.shieldingCtrl?.disable();\r\n }\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.shieldings = data\r\n .filter(\r\n (x) =>\r\n x.type == ResourceType.Shielding &&\r\n x.status == 1 &&\r\n !this.accelerator.childResources?.filter((r) => r.childResourceType == ResourceType.Shielding)\r\n .map((r) => r.childResourceID)\r\n .includes(x.id)\r\n )\r\n .sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.shieldingsFiltered = this.utils.cloneDeep(this.shieldings);\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(\r\n (state) => state.ResourceRelations.data\r\n );\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe((data) => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n }\r\n });\r\n }\r\n\r\n save() {\r\n if (this.isValid()) {\r\n if ((this.shielding.id ?? 0) < 0 || !this.shielding.id) {\r\n if (typeof this.shieldingCtrl?.value == \"string\") {\r\n this.shielding.name = this.shieldingCtrl.value;\r\n if (!this.shielding.resource) {\r\n this.shielding.resource = new Resource();\r\n }\r\n this.shielding.resource.type = ResourceType.Shielding;\r\n this.shielding.resource.name = this.shielding.name;\r\n } else {\r\n this.shielding.name = this.shielding.resource?.name;\r\n }\r\n }\r\n if (this.shielding.resource) {\r\n this.shielding.resource.cssClass = this.shieldingColor;\r\n this.shielding.resource.keText = this.shieldingKeText;\r\n this.shielding.childResources = this.locations;\r\n this.shielding.resource.childResources = this.locations;\r\n this.dialogRef.close(this.shielding);\r\n }\r\n }\r\n }\r\n\r\n selected(e: any) {\r\n const value = e.option.value;\r\n this.shielding.resource = this.utils.cloneDeep(value);\r\n this.shielding.resourceID = this.shielding.resource?.id ?? 0;\r\n this.shieldingKeText = this.shielding.resource?.keText;\r\n const subLocations = this.resourceRelations.filter(\r\n (x) => x.parentResourceID == this.shielding.resourceID\r\n );\r\n if (this.shielding.resource)\r\n this.shielding.resource.childResources = subLocations;\r\n this.shielding.childResources = subLocations;\r\n this.shielding.subLocationNames = subLocations\r\n .map((x) => x.childResourceName)\r\n .join(\", \");\r\n this.shieldingColor = this.shielding.resource?.cssClass;\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n isValid() {\r\n if (!this.locations?.length) {\r\n this.locationCtrl?.setErrors({ required: true });\r\n }\r\n if (!this.shieldingColor) {\r\n this.colorCtrl?.setErrors({ required: true });\r\n }\r\n if (\r\n typeof this.shieldingCtrl?.value != \"string\" &&\r\n !this.shielding.resource?.name\r\n ) {\r\n this.shieldingCtrl?.setErrors({ required: true });\r\n }\r\n if (\r\n !this.isAdding &&\r\n (this.shielding.id ?? 0) < 0 &&\r\n this.shielding.name &&\r\n this.shieldingInput?.nativeElement.value &&\r\n this.shieldingCtrl?.pristine\r\n ) {\r\n this.shieldingCtrl.setErrors(null);\r\n }\r\n return this.formGroup.valid && !this.formGroup.pristine;\r\n }\r\n\r\n filter(e: any) {\r\n const text = e.target.value;\r\n const code = e.code;\r\n if (!code?.includes(\"Arrow\")) {\r\n this.shieldingsFiltered = this.shieldings?.filter((x) =>\r\n x.name?.toLowerCase().includes(text.trim().toLowerCase())\r\n );\r\n if (!this.shieldingsFiltered) {\r\n this.shielding = this.inputData.shielding;\r\n this.filterSubLocations();\r\n }\r\n }\r\n this.shielding = this.utils.cloneDeep(this.inputData.shielding);\r\n }\r\n\r\n selectedLoc(event: MatAutocompleteSelectedEvent) {\r\n const value = event.option.value as ResourceRelation;\r\n if (!this.locations) {\r\n this.locations = [];\r\n }\r\n if (value && !this.locations?.some((l) => l.id === value?.id)) {\r\n this.locations.push(value);\r\n this.filterSubLocations();\r\n this.locationInput.nativeElement.value = \"\";\r\n }\r\n }\r\n\r\n removeLoc(subLocation: ResourceRelation): void {\r\n const index = this.locations?.findIndex((x) => x.id == subLocation.id) ?? -1;\r\n if (index >= 0) {\r\n this.locations?.splice(index, 1);\r\n this.filterSubLocations();\r\n }\r\n }\r\n\r\n filterSubLocations() {\r\n this.subLocationsFiltered = this.subLocations?.filter(\r\n (x) => !this.locations?.map((s) => s.id).includes(x.childResourceID)\r\n ) ?? [];\r\n }\r\n\r\n onLocChange(e: any) {\r\n const value = e.target.value;\r\n this.filterSubLocations();\r\n this.subLocationsFiltered = this.subLocationsFiltered.filter((x) =>\r\n x.childResourceName?.toLowerCase().includes(value?.trim().toLowerCase())\r\n );\r\n }\r\n\r\n selectedColor(e: string) {\r\n this.shieldingColor = e;\r\n this.formGroup.markAsDirty();\r\n this.colorCtrl?.setErrors(null);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n {{ isAdding ? \"Add New Shielding\" : \"Edit Shielding\" }}\r\n
\r\n
\r\n
\r\n \r\n Shielding Name\r\n \r\n \r\n \r\n {{ shielding.name }}\r\n \r\n \r\n {{\r\n getErrorMsg(shieldingCtrl)\r\n }}\r\n \r\n \r\n KE Text\r\n \r\n {{\r\n getErrorMsg(ketextCtrl)\r\n }}\r\n \r\n \r\n Sub Locations\r\n \r\n \r\n {{ location?.childResourceName }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ location.childResourceName }}\r\n \r\n \r\n {{\r\n getErrorMsg(locationCtrl)\r\n }}\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { CdkDragDrop, moveItemInArray } from \"@angular/cdk/drag-drop\";\r\nimport { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, } from \"@angular/core\";\r\nimport { MatDialogConfig } from \"@angular/material/dialog\";\r\nimport { MatTableDataSource, MatTableDataSourcePaginator } from \"@angular/material/table\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { ResourceType } from \"src/app/common/enumerations/enumerations\";\r\nimport { Resource, ResourceRelation } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { AcceleratorShieldingDialogComponent } from \"./accelerator-shielding-dialog/accelerator-shielding-dialog.component\";\r\nimport { MessagePlaceholder } from \"src/app/common/models/placeholder\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\n\r\n@Component({\r\n selector: \"accelerator-shielding\",\r\n templateUrl: \"./accelerator-shielding.component.html\",\r\n styleUrls: [\"./accelerator-shielding.component.scss\"],\r\n})\r\nexport class AcceleratorShieldingComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() accelerator!: Resource;\r\n @Input() isAdding: boolean = false;\r\n @Input() isEditing: boolean = false;\r\n @Input() showPrev!: boolean;\r\n @Input() showHistory?: boolean;\r\n @Input() shieldings!: Shielding[];\r\n @Input() enableMove!: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n dataSource: MatTableDataSource = new MatTableDataSource();\r\n displayedColumns!: string[];\r\n\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n resourceRelations!: ResourceRelation[];\r\n resourceRelationsFiltered!: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadResources();\r\n this.displayedColumns =\r\n this.isEditing || this.isAdding\r\n ? [\r\n \"position\",\r\n \"shieldingName\",\r\n \"keText\",\r\n \"shutdown\",\r\n \"checked\",\r\n \"tunnel\",\r\n \"subLocation\",\r\n \"sharedWith\",\r\n \"isRSSD\",\r\n \"add\",\r\n ]\r\n : [\r\n \"position\",\r\n \"shieldingName\",\r\n \"keText\",\r\n \"shutdown\",\r\n \"checked\",\r\n \"tunnel\",\r\n \"subLocation\",\r\n \"sharedWith\",\r\n \"isRSSD\"\r\n ];\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.loadResourceRelations();\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(\r\n (state) => state.ResourceRelations.data\r\n );\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe((data) => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n this.createTableData();\r\n }\r\n });\r\n }\r\n\r\n createTableData() {\r\n if (!this.shieldings) {\r\n this.shieldings = [];\r\n }\r\n this.shieldings.map((s) => {\r\n s.childResources?.map((l) => {\r\n l.childResource = this.resources.find((x) => x.id == l.childResourceID);\r\n l.childResourceName = l.childResource?.name;\r\n });\r\n s.subLocationNames = s.subLocationNames\r\n ? s.subLocationNames\r\n : this.resources\r\n .filter((r) =>\r\n (\r\n this.utils.JSONparse(\r\n this.accelerator.childResources?.find(\r\n (x) => x.childResourceID == s.resourceID\r\n )?.locationsIDs\r\n ) as number[]\r\n )?.includes(r.id)\r\n )\r\n .map((r) => r.name)\r\n .join(\", \");\r\n const sharedWithLocations = this.getSharedWith(s.resource);\r\n const sharedWithParents = this.resourceRelations\r\n .filter(\r\n (x) =>\r\n x.childResourceID == s.resourceID &&\r\n x.parentResourceType != ResourceType.Accelerator\r\n )\r\n .map((x) => x.parentResourceName)\r\n .join(\", \");\r\n s.sharedWithNames =\r\n sharedWithLocations +\r\n (sharedWithParents && sharedWithLocations ? \", \" : \"\") +\r\n sharedWithParents;\r\n });\r\n this.dataSource = new MatTableDataSource(\r\n this.ordererShieldings(this.shieldings)\r\n );\r\n }\r\n\r\n getSharedWith(s?: Resource) {\r\n let sharedWith = '';\r\n if (s) {\r\n let rr = this.resourceRelations.filter(\r\n (x) =>\r\n x.childResourceID == s.id && x.parentResourceID != this.accelerator.id\r\n );\r\n const locationIDs: number[] = [];\r\n rr.map((r) => {\r\n if (r.locationsIDs) {\r\n const ls: number[] = JSON.parse(r.locationsIDs);\r\n if (ls?.length) {\r\n ls.map((id) => {\r\n if (!locationIDs.includes(id)) {\r\n locationIDs.push(id);\r\n }\r\n });\r\n }\r\n }\r\n });\r\n sharedWith = this.resources\r\n .filter((x) => locationIDs.includes(x.id))\r\n .map((x) => x.name)\r\n .join(\", \");\r\n }\r\n return sharedWith;\r\n }\r\n\r\n getSubLocations(shielding: Resource) {\r\n return this.resourceRelations.filter(\r\n (x) =>\r\n x.parentResourceID == shielding.id &&\r\n x.childResourceType == ResourceType.AcceleratorLocation\r\n );\r\n }\r\n\r\n reorderTable(\r\n event: CdkDragDrop, any, any>,\r\n dataSource: MatTableDataSource\r\n ) {\r\n if (this.isAdding || this.isEditing) {\r\n moveItemInArray(dataSource.data, event.previousIndex, event.currentIndex);\r\n this.reorderPositions(dataSource.data);\r\n dataSource.filter = \"\";\r\n this.changed.emit(this.shieldings);\r\n }\r\n }\r\n\r\n reorderPositions(resources: Resource[]) {\r\n let addPosition = 1;\r\n resources.map((element) => {\r\n element.position = addPosition++;\r\n });\r\n }\r\n\r\n openAddShieldingDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n const shielding = new Shielding();\r\n shielding.checkboxVisible = true;\r\n dialogConfig.data = {\r\n shielding,\r\n accelerator: this.accelerator,\r\n isAdding: true,\r\n };\r\n dialogConfig.width = \"450px\";\r\n dialogConfig.autoFocus = true;\r\n const dialogRef = this.dialog.open(\r\n AcceleratorShieldingDialogComponent,\r\n dialogConfig\r\n );\r\n dialogRef.afterClosed().subscribe((shielding: Shielding) => {\r\n if (shielding) {\r\n shielding.subLocationNames = shielding.childResources?.map((s) => s.childResourceName).join(\", \");\r\n shielding.id = this.getID();\r\n this.shieldings.push(shielding);\r\n this.createTableData();\r\n this.changed.emit(this.shieldings);\r\n }\r\n });\r\n }\r\n\r\n getID(ID: number = -1): number {\r\n if (!this.shieldings.map((s) => s.id).includes(ID)) {\r\n return ID;\r\n } else {\r\n ID--;\r\n return this.getID(ID);\r\n }\r\n }\r\n\r\n openEditShieldingDialog(shielding: Resource) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n shielding,\r\n accelerator: this.accelerator,\r\n title: \"Edit Shielding\",\r\n isAdding: false,\r\n };\r\n dialogConfig.width = \"450px\";\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(\r\n AcceleratorShieldingDialogComponent,\r\n dialogConfig\r\n );\r\n dialogRef.afterClosed().subscribe((shielding: Shielding) => {\r\n if (shielding) {\r\n const index = this.shieldings.findIndex(\r\n (x) =>\r\n x.resourceID == shielding.resourceID &&\r\n x.position == shielding.position\r\n );\r\n this.shieldings.splice(index, 1);\r\n shielding.subLocationNames = shielding.childResources?.map((s) => s.childResource).map((r) => r?.name).join(\", \");\r\n this.shieldings.push(shielding);\r\n this.dataSource = new MatTableDataSource(\r\n this.ordererShieldings(this.shieldings)\r\n );\r\n this.changed.emit(this.shieldings);\r\n }\r\n });\r\n }\r\n\r\n isResourceRepeated(\r\n resources: Resource[],\r\n resource: Resource,\r\n typeName: string\r\n ) {\r\n if (\r\n resources.filter(\r\n (x) => x.name?.toLowerCase() === resource.name?.toLowerCase()\r\n ).length\r\n ) {\r\n this.alert.message(\"resource_Added\", [\r\n new MessagePlaceholder(\"{resourceTypeName}\", typeName),\r\n new MessagePlaceholder(\"{resourceName}\", resource.name?.toUpperCase()),\r\n ]);\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n ordererShieldings(shieldings: Shielding[]) {\r\n let position = 1;\r\n const older = shieldings\r\n .filter((x) => x.position)\r\n .sort((a, b) => this.utils.sort(a.position, b.position));\r\n const newer = shieldings.filter((x) => !x.position).sort((a, b) => this.utils.sort(Math.abs(a.id ?? 0), Math.abs(b.id ?? 0)));\r\n shieldings = older.concat(newer);\r\n if (!this.showHistory)\r\n shieldings.map((s) => {\r\n s.position = position;\r\n position++;\r\n });\r\n return shieldings;\r\n }\r\n\r\n deleteShielding(s: Shielding) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Shielding').subscribe((result) => {\r\n if (result) {\r\n const index = this.shieldings.findIndex(\r\n (x) => x.resourceID == s.resourceID && x.position == s.position\r\n );\r\n this.shieldings.splice(index, 1);\r\n this.dataSource = new MatTableDataSource(\r\n this.ordererShieldings(this.shieldings)\r\n );\r\n this.changed.emit(this.shieldings);\r\n }\r\n });\r\n }\r\n\r\n checkedChange(s: Shielding) {\r\n if (!s.checkboxVisible) {\r\n s.longShutdown = false;\r\n }\r\n this.changed.emit(this.shieldings);\r\n }\r\n\r\n someChange(s: Shielding) {\r\n this.changed.emit(this.shieldings);\r\n }\r\n\r\n longChanged(s: Shielding) {\r\n if (s.longShutdown) {\r\n s.checkboxVisible = true;\r\n }\r\n this.changed.emit(this.shieldings);\r\n }\r\n\r\n // getClass(color: string) {\r\n // return color;\r\n // }\r\n}\r\n\r\nexport class Shielding {\r\n id?: number;\r\n name?: string | null;\r\n resourceID!: number;\r\n resource?: Resource;\r\n relatedShielding?: boolean;\r\n shared?: boolean;\r\n position?: number;\r\n childResources?: ResourceRelation[];\r\n subLocationNames?: string;\r\n sharedWith?: Resource[];\r\n sharedWithNames?: string;\r\n checkboxVisible?: boolean;\r\n longShutdown?: boolean;\r\n inTunnel?: boolean;\r\n isRSSD?: boolean;\r\n isModified?: boolean;\r\n isDeleted?: boolean;\r\n isAdded?: boolean;\r\n // cssClass?: string;\r\n constructor() {\r\n this.checkboxVisible = true;\r\n this.inTunnel = true;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \r\n No. \r\n \r\n reorder\r\n {{ element.position }}\r\n \r\n \r\n\r\n \r\n Shielding Name \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n KE Text \r\n \r\n {{ element.resource.keText }}\r\n \r\n \r\n \r\n \r\n Long Shutdown Check Only?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Checked on startups?\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n In Tunnel? \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n Sub Location \r\n \r\n {{ element.subLocationNames }}\r\n \r\n \r\n \r\n Shared With \r\n \r\n {{ element.sharedWithNames }}\r\n \r\n \r\n \r\n Is RSSD? \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Output, EventEmitter, ViewChildren, ViewContainerRef, QueryList, ViewChild, OnDestroy, AfterViewInit, Input, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource, MatRow } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Catalog, StatusPendingCatalog, ActionPendingCatalog, PendingCatalogColor } from 'src/app/common/enumerations/enumerations';\r\nimport { AcceleratorCatalog } from 'src/app/components/catalogs/accelerator-catalog/services/accelerator-catalog';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n\r\n@Component({\r\n selector: 'app-accelerator-catalog-list',\r\n templateUrl: './accelerator-catalog-list.component.html',\r\n styleUrls: ['./accelerator-catalog-list.component.scss']\r\n})\r\nexport class AcceleratorCatalogListComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {\r\n\r\n @Input() filter!: string;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n canCreate!: boolean;\r\n canApprove!: boolean;\r\n\r\n selectedRowIndex!: number;\r\n selectedIndex!: number;\r\n\r\n displayedColumnsAccelerator: string[] = ['name', 'status'];\r\n dataSource!: MatTableDataSource;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n @ViewChild(MatPaginator)\r\n paginator!: MatPaginator;\r\n @ViewChildren('matrow', { read: ViewContainerRef })\r\n rows!: QueryList;\r\n @ViewChildren('matrow')\r\n datarows!: QueryList;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private catalogService: CatalogService,) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit() {\r\n this.loadAccelerators();\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.dataSource) {\r\n this.dataSource.sort = this.sort;\r\n this.dataSource.paginator = this.paginator;\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n loadAccelerators(id?: number) {\r\n this.loading.emit(true);\r\n const accelerator = this.catalogService.pendingCatalog?.approvalType == PendingCatalogType.Accelerator ? this.catalogService.pendingCatalog : null;\r\n this.canApprove = this.hasPrivilege(PrivilegeEnum.AcceleratorCatalogApprove);\r\n this.canCreate = this.hasPrivilege(PrivilegeEnum.AcceleratorCatalogCreate);\r\n this.catalogService.GetJoinCreated(Catalog.AcceleratorCatalog, this.canCreate || this.canApprove).toPromise().then(data => {\r\n data?.acceleratorCatalogs?.map(x => {\r\n if (x.pendingAcceleratorCatalog) {\r\n x.pendingAcceleratorCatalog.statusName = StatusPendingCatalog[x.pendingAcceleratorCatalog.status];\r\n x.pendingAcceleratorCatalog.actionName = ActionPendingCatalog[x.pendingAcceleratorCatalog.action];\r\n }\r\n if (x.lastPendingAccelerator)\r\n x.lastPendingAccelerator.statusByUser = this.users.find(u => u.id == x.lastPendingAccelerator?.statusBy);\r\n });\r\n this.dataSource = new MatTableDataSource(data?.acceleratorCatalogs);\r\n this.setSortingAccessor();\r\n this.dataSource.filter = this.filter;\r\n\r\n if (accelerator) {\r\n if (accelerator.id) {\r\n this.showIndex(accelerator.id);\r\n }\r\n else if (!accelerator.id) {\r\n this.showIndex(accelerator.pendingID);\r\n }\r\n } else if (id) {\r\n this.showIndex(id);\r\n }\r\n else if (id == 0) {\r\n const newID = data?.acceleratorCatalogs?.find(x => x.pendingAcceleratorCatalog?.action == ActionPendingCatalog.Create)?.id ?? 0;\r\n this.showIndex(newID);\r\n }\r\n this.loading.emit(false);\r\n }, error => this.loading.emit(false));\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (element, property) => {\r\n switch (property) {\r\n case 'name':\r\n return element.details.accelerator\r\n ? element.details.accelerator.name\r\n : element.pendingDetails?.accelerator?.name;\r\n case 'status':\r\n return element.pendingAcceleratorCatalog?.statusName +\r\n \" - \" +\r\n element.pendingAcceleratorCatalog?.actionName;\r\n default:\r\n return (element as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n async selectedRow(row: AcceleratorCatalog) {\r\n if (await this.canDeactivate())\r\n return this.selectRow(this.utils.cloneDeep(row));\r\n }\r\n\r\n selectRow(row: AcceleratorCatalog) {\r\n if (row && this.selectedRowIndex != row.id) {\r\n this.selectedRowIndex = row.id;\r\n this.rowSelected.emit(row);\r\n } else {\r\n this.selectedRowIndex = -1;\r\n this.rowSelected.emit(null);\r\n }\r\n }\r\n\r\n createResource() {\r\n this.selectedRowIndex = -1;\r\n this.rowSelected.emit(new AcceleratorCatalog());\r\n }\r\n\r\n applyFilter(filterValue: string) {\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n }\r\n\r\n getColor(resource: Resource): string {\r\n if (resource.color === PendingCatalogColor.Create || resource.color === PendingCatalogColor.Modify) {\r\n return '#EAAA00';\r\n }\r\n return '';\r\n }\r\n\r\n showIndex(id: number) {\r\n this.selectedIndex = this.dataSource.data.findIndex(x => x.id === id);\r\n this.selectedRowIndex = -1;\r\n this.showElement(this.selectedIndex, 7);\r\n this.selectedRow(this.dataSource.data[this.selectedIndex]);\r\n this.loading.emit(false);\r\n }\r\n\r\n showElement(index: number, height: number) {\r\n const indexstr = index.toString();\r\n const row = this.rows.find(x => x.element.nativeElement.getAttribute('position') === indexstr);\r\n if (row) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > height)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n return;\r\n }\r\n console.log('not found');\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id === row.id;\r\n });\r\n return i;\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n Accelerator\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n \r\n {{\r\n element.pendingAcceleratorCatalog?.statusName +\r\n \" - \" +\r\n element.pendingAcceleratorCatalog?.actionName\r\n }}\r\n \r\n Inactive\r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, Injector, OnDestroy, OnInit, ViewChild } from '@angular/core';\r\nimport { AcceleratorCatalogListComponent } from './accelerator-catalog-list/accelerator-catalog-list.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { AcceleratorCatalog } from 'src/app/components/catalogs/accelerator-catalog/services/accelerator-catalog';\r\nimport { PendingCatalog } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { CatalogService } from '../catalog-service';\r\n\r\n\r\n@Component({\r\n selector: 'accelerator-catalog',\r\n templateUrl: './accelerator-catalog.component.html',\r\n styleUrls: ['./accelerator-catalog.component.scss']\r\n})\r\nexport class AcceleratorCatalogComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n loading!: boolean;\r\n\r\n accelerator?: Resource;\r\n acceleratorCatalog?: AcceleratorCatalog;\r\n\r\n originalAcceleratorCatalog?: AcceleratorCatalog;\r\n\r\n filter!: string;\r\n valueFilter!: string;\r\n\r\n showModification!: boolean;\r\n showHistory = false;\r\n\r\n @ViewChild(AcceleratorCatalogListComponent) acceleratorCatalogList?: AcceleratorCatalogListComponent;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n }\r\n\r\n ngOnInit(): void {\r\n this.moduleTitle = 'Accelerator Catalog';\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n }\r\n\r\n rowSelected(data: AcceleratorCatalog) {\r\n this.acceleratorCatalog = data;\r\n if (this.acceleratorCatalog?.lastPendingAccelerator) {\r\n this.acceleratorCatalog.lastPendingAccelerator.userCreatedBy = this.users.find(u => u.id == this.acceleratorCatalog?.lastPendingAccelerator?.createdBy);\r\n }\r\n if (this.acceleratorCatalog?.pendingAcceleratorCatalog) {\r\n this.acceleratorCatalog.pendingAcceleratorCatalog.userCreatedBy = this.users.find(u => u.id == this.acceleratorCatalog?.pendingAcceleratorCatalog?.createdBy);\r\n }\r\n this.accelerator = data?.details?.accelerator ?? data?.pendingDetails?.accelerator;\r\n this.showModification = false;\r\n this.showHistory = false;\r\n }\r\n\r\n refreshSaved(id: number) {\r\n this.catalogService.pendingCatalog = { id } as PendingCatalog;\r\n this.acceleratorCatalogList?.loadAccelerators(id);\r\n }\r\n\r\n applyFilter(filter: string) {\r\n this.filter = filter;\r\n }\r\n\r\n create() {\r\n this.acceleratorCatalogList?.createResource();\r\n }\r\n\r\n history(val: boolean) {\r\n this.showHistory = val;\r\n if (val) {\r\n this.originalAcceleratorCatalog = this.utils.cloneDeep(this.acceleratorCatalog);\r\n this.showModification = false;\r\n }\r\n else {\r\n this.acceleratorCatalog = this.utils.cloneDeep(this.originalAcceleratorCatalog);\r\n }\r\n }\r\n\r\n setLoading(e: any) {\r\n setTimeout(() => {\r\n this.loading = e;\r\n }, 100);\r\n\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n
\r\n \r\n {{ accelerator?.name }}\r\n (Inactive)\r\n \r\n \r\n (\r\n {{\r\n acceleratorCatalog?.pendingAcceleratorCatalog?.statusName +\r\n \" - \" +\r\n acceleratorCatalog?.pendingAcceleratorCatalog?.actionName\r\n }}\r\n )\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Last Update by:\r\n {{\r\n acceleratorCatalog.lastPendingAccelerator?.userCreatedBy?.name\r\n }}\r\n on:\r\n {{\r\n acceleratorCatalog.lastPendingAccelerator?.createdOn | date\r\n }}\r\n
\r\n
\r\n Approved by:\r\n {{\r\n acceleratorCatalog.lastPendingAccelerator?.statusByUser?.name\r\n }}\r\n on:\r\n {{\r\n acceleratorCatalog.lastPendingAccelerator?.statusOn | date\r\n }}\r\n
\r\n
\r\n
\r\n \r\n \r\n Modified by: \r\n \r\n Created by: \r\n {{\r\n acceleratorCatalog.pendingAcceleratorCatalog.userCreatedBy?.name\r\n }}\r\n  on: \r\n {{\r\n acceleratorCatalog.pendingAcceleratorCatalog.createdOn | date\r\n }}\r\n \r\n Show Modification\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Show History\r\n history\r\n \r\n\r\n \r\n Hide History\r\n \r\n history_off\r\n \r\n \r\n\r\n \r\n Create New\r\n add_box\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, Inject, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { PendingResource } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { PendingResourcesRefresh } from '../../../store/pending-resources/pending-resources.action';\r\n\r\n\r\n@Component({\r\n selector: 'app-location',\r\n templateUrl: './location.component.html',\r\n styleUrls: ['./location.component.scss']\r\n})\r\nexport class AcceleratorLocationComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n pendingResources!: PendingResource[];\r\n pendingResourcesFiltered!: PendingResource[];\r\n pendingResources$!: Observable;\r\n pendingResourcesSubs!: Subscription;\r\n\r\n\r\n public locationToSend!: Resource;\r\n\r\n public locationName?: string | null;\r\n public oldLocationName?: string | null;\r\n\r\n private errorMsg!: string[];\r\n private valid!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public resource: Resource,\r\n ) {\r\n super(injector);\r\n this.store.dispatch(new PendingResourcesRefresh());\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.pendingResourcesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.locationToSend = new Resource();\r\n this.locationName = this.resource.name;\r\n this.oldLocationName = this.resource.name;\r\n this.loadResources();\r\n // this.loadPendingResources();\r\n this.errorMsg = [];\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.resourcesFiltered = this.resources.filter(x => x.type == ResourceType.AcceleratorLocation);\r\n }\r\n });\r\n }\r\n\r\n // loadPendingResources() {\r\n // this.pendingResources$ = this.store.select(state => state.PendingResources.data);\r\n // this.pendingResourcesSubs = this.pendingResources$.subscribe(data => {\r\n // if (data.length) {\r\n // this.pendingResources = data;\r\n // this.pendingResourcesFiltered = this.pendingResources.filter(x => x.resourceTypeId == ResourceType.AcceleratorLocation);\r\n // }\r\n // });\r\n // }\r\n\r\n async add() {\r\n if (await this.isValid()) {\r\n this.locationToSend.name = this.locationName;\r\n this.dialogRef.close(this.locationToSend);\r\n } else {\r\n this.alert.error(this.errorMsg.join(\", \"));\r\n }\r\n this.errorMsg = [];\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async isValid() {\r\n this.valid = true;\r\n if (!this.locationName) {\r\n this.errorMsg.push(\"Field Location Name should not be blank!\");\r\n this.valid = false;\r\n } else {\r\n if (this.oldLocationName != this.locationName) {\r\n const data = this.resourcesFiltered.find(x => x.name?.toLowerCase().trim() == this.locationName?.toLowerCase().trim());\r\n if (data) {\r\n this.errorMsg.push(\"Field Location Name already exists\");\r\n this.valid = false;\r\n }\r\n }\r\n\r\n }\r\n return this.valid;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ resource.id ? \"Edit \" : \"Add \" }} Location\r\n
\r\n
\r\n \r\n Location Name\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { PendingAccelerator } from \"../../../../services/pending-approvals/pending-approval\";\r\nimport { Restriction } from \"../../../../controls/restrictions/services/restriction\";\r\nimport { ActionPendingCatalog } from \"src/app/common/enumerations/enumerations\";\r\n\r\nexport class AcceleratorCatalog {\r\n constructor() {\r\n this.details = new AcceleratorCatalogDetails();\r\n }\r\n id!: number;\r\n details: AcceleratorCatalogDetails;\r\n pendingDetails!: AcceleratorCatalogDetails;\r\n pendingAcceleratorCatalog!: PendingAccelerator | null;\r\n lastPendingAccelerator?: PendingAccelerator | null;\r\n noDataFound?: boolean;\r\n}\r\n\r\nexport class AcceleratorCatalogDetails {\r\n constructor() {\r\n this.accelerator = new Resource();\r\n this.restrictions = [];\r\n this.locations = [];\r\n this.shieldings = [];\r\n }\r\n accelerator: Resource;\r\n restrictions: Restriction[];\r\n locations: Resource[];\r\n shieldings: Resource[];\r\n action?: ActionPendingCatalog;\r\n}\r\n","import { Component, ElementRef, Injector, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingResourcesType, Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { BeamlineShutterRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesListNewComponent } from './resources-list-new/resources-list-new.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { detailsUsers } from './resources-new/resources-new.component';\r\nimport { CatalogService } from '../catalog-service';\r\nimport { PendingResource } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n@Component({\r\n selector: 'app-beamline-catalog',\r\n templateUrl: './beamline-catalog.component.html',\r\n styleUrls: ['./beamline-catalog.component.scss']\r\n})\r\nexport class BeamlineCatalogComponent extends BaseComponent {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n @ViewChild(ResourcesListNewComponent) side!: ResourcesListNewComponent;\r\n\r\n beamlineShutter?: BeamlineShutterRelation;\r\n\r\n disabled: boolean = false;\r\n showHistory?: boolean;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n beamlineShutterRelation?: BeamlineShutterRelation;\r\n beamlineShutterRelations?: BeamlineShutterRelation[];\r\n beamlineShutterRelationsFiltered?: BeamlineShutterRelation[];\r\n beamlineShutterRelations$!: Observable;\r\n beamlineShutterRelationsSubs!: Subscription;\r\n\r\n originalBeamlineShutterRelation?: BeamlineShutterRelation;\r\n public detailResourceUsers: detailsUsers = { approverUserName: '', updateUserName: '', approvedOn: null, updatedOn: null };\r\n\r\n loadingMessage!: string;\r\n\r\n privileges = { canCreate: false };\r\n showChanges: boolean = false;\r\n\r\n pendingResource?: PendingResource;\r\n //////\r\n\r\n links = [{ id: 0, name: 'Details' }, { id: 1, name: 'KE Builder' }, { id: 2, name: 'RSS Database' }];\r\n selectedTab: number = 0;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _route: ActivatedRoute,\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n setTimeout(() => {\r\n this.checkPrivileges();\r\n }, 1000);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Beamline Catalog';\r\n this.checkPrivileges();\r\n this.loadBeamlineShutterRelations();\r\n let tab = this._route.snapshot.queryParams['tab'];\r\n if (!tab) tab = this._route.snapshot.params['tab'];\r\n if (tab)\r\n this.selectedTab = +tab;\r\n }\r\n\r\n selectedRow(row: BeamlineShutterRelation) {\r\n this.beamlineShutter = row;\r\n this.setShowChanges();\r\n this.setUpdaterAndApprovalNames(row.beamlineId!);\r\n }\r\n\r\n async onTabChanged(link: any) {\r\n if (await this.canDeactivate())\r\n this.showChanges = false;\r\n this.selectedTab = link.id;\r\n }\r\n\r\n loadBeamlineShutterRelations() {\r\n this.beamlineShutterRelations$ = this.store.select(state => state.BeamlineShutter.data);\r\n this.beamlineShutterRelationsSubs = this.beamlineShutterRelations$.subscribe(data => {\r\n if (data?.length) {\r\n this.beamlineShutterRelations = data;\r\n if (this.beamlineShutter) {\r\n this.beamlineShutter = this.beamlineShutterRelations.find(r => r.beamlineId == this.beamlineShutter?.beamlineId);\r\n if (this.beamlineShutter)\r\n this.beamlineShutter.statusClass = this.side.getColor(this.beamlineShutter);\r\n }\r\n }\r\n this.setShowChanges();\r\n });\r\n }\r\n\r\n async changeShow(e: any) {\r\n if (await this.canDeactivate()) {\r\n this.showChanges = e.checked;\r\n }\r\n\r\n }\r\n\r\n setShowChanges() {\r\n switch (this.selectedTab) {\r\n case 0:\r\n this.pendingResource = this.beamlineShutter?.pendingResources?.find(p => p.type == PendingResourcesType.Details);\r\n if (this.pendingResource) {\r\n this.pendingResource.userCreatedBy = this.getUser(this.pendingResource?.createdBy);\r\n this.showChanges = (this.isSA() || this.hasPrivilege(PrivilegeEnum.BeamlineCatalog)) && this.currentUser?.id == this.pendingResource?.createdBy;\r\n }\r\n break;\r\n case 1:\r\n this.showChanges = false;\r\n break;\r\n case 2:\r\n this.showChanges = false;\r\n break;\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.beamlineShutterRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n async create() {\r\n if (await this.canDeactivate()) {\r\n this.beamlineShutter = new BeamlineShutterRelation();\r\n this.beamlineShutter.beamlineName = 'New Beamline';\r\n this.beamlineShutter.beamlineStatus = 'Draft';\r\n this.beamlineShutter.statusClass = 'yellow';\r\n }\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n checkPrivileges() {\r\n this.privileges.canCreate = this.hasRoles([Roles.ADM]);\r\n this.setHeights(30);\r\n }\r\n\r\n toggleVisible() {\r\n switch (this.selectedTab) {\r\n case 0:\r\n return this.beamlineShutter?.pendingResources?.some(p => p.type == PendingResourcesType.Details || p.type == PendingResourcesType.Both);\r\n case 1:\r\n return false;\r\n case 2:\r\n return this.beamlineShutter?.pendingResources?.some(p => p.type == PendingResourcesType.Rss_Database || p.type == PendingResourcesType.Both);\r\n }\r\n return false;\r\n }\r\n\r\n history(val: boolean) {\r\n this.showHistory = val;\r\n if (val) {\r\n this.originalBeamlineShutterRelation = this.utils.cloneDeep(this.beamlineShutter);\r\n this.showChanges = false;\r\n }\r\n else {\r\n this.beamlineShutter = this.utils.cloneDeep(this.originalBeamlineShutterRelation);\r\n }\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Details:\r\n case LoadingOrigin.KEBuilder:\r\n case LoadingOrigin.RSSDb:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n setUpdaterAndApprovalNames(beamlineId: number) {\r\n this.catalogService.GetPendingResourcesUsersByResourceId(beamlineId, PendingResourcesType.Details).toPromise().then(PendingResourceUsers => {\r\n this.detailResourceUsers.approverUserName = this.getUser(PendingResourceUsers?.approverId)?.name;\r\n this.detailResourceUsers.approvedOn = PendingResourceUsers?.approvedOn;\r\n this.detailResourceUsers.updateUserName = this.getUser(PendingResourceUsers?.updateById)?.name;\r\n this.detailResourceUsers.updatedOn = PendingResourceUsers?.updatedOn;\r\n });\r\n const pendingResource = this.beamlineShutter?.pendingResources[this.beamlineShutter.pendingResources.length - 1];\r\n // if (this.showPrevResource && pendingResource) {\r\n // this.pendingResourceUsers.updateUserName = this.getUser(pendingResource?.createdBy)?.name;\r\n // this.pendingResourceUsers.updatedOn = pendingResource?.createdOn;\r\n // }\r\n }\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Details = 3, KEBuilder = 4, RSSDb = 5\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n \r\n

{{ beamlineShutter?.beamlineName }}

\r\n {{ beamlineShutter?.beamlineStatus }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Last Update by:\r\n {{\r\n detailResourceUsers.updateUserName\r\n }}\r\n on:\r\n {{\r\n detailResourceUsers.updatedOn | date\r\n }}\r\n
\r\n
\r\n Approved by:\r\n {{\r\n detailResourceUsers.approverUserName\r\n }}\r\n on:\r\n {{\r\n detailResourceUsers.approvedOn | date\r\n }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n Modified by: \r\n {{\r\n pendingResource.userCreatedBy?.name\r\n }}\r\n  on: \r\n {{ pendingResource.createdOn | date }}\r\n
\r\n\r\n \r\n Show Modification\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Show History\r\n history\r\n \r\n\r\n \r\n Hide History\r\n \r\n history_off\r\n \r\n \r\n\r\n \r\n Create New\r\n add_box\r\n \r\n \r\n Create Template\r\n add_box\r\n \r\n \r\n Duplicate\r\n content_copy\r\n \r\n \r\n Update values\r\n update\r\n \r\n \r\n Delete\r\n delete\r\n \r\n\r\n \r\n Approve Template\r\n done\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialog, MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { LinkComponent } from 'src/app/components/catalogs/beamline-catalog/dialogs/link/link.component';\r\nimport { Link } from 'src/app/components/catalogs/navigation-links/link/link';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'app-resource-link-relation',\r\n templateUrl: './resource-link-relation.component.html',\r\n styleUrls: ['./resource-link-relation.component.scss']\r\n})\r\nexport class ResourceLinkRelationComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() isEdition!: boolean;\r\n @Input() dialogTitle!: string;\r\n @Input() componentTitle!: string;\r\n @Input() typeLink!: number;\r\n @Input() links!: Link[];\r\n @Input() resourceId?: number;\r\n @Input() changesAvailable!: boolean;\r\n @Input() loading!: boolean;\r\n @Output() changed = new EventEmitter();\r\n\r\n public displayedColumnsLink: string[] = ['hyperlink', 'webAddress'];\r\n public dataSourceLink: MatTableDataSource = new MatTableDataSource();\r\n\r\n public showChanges!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private resourceService: ResourcesService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n async ngOnChanges(changes: SimpleChanges): Promise {\r\n if (changes['links']?.currentValue) {\r\n this.dataSourceLink.data = changes['links'].currentValue;\r\n await this.addShowChanges();\r\n }\r\n if (changes['isEdition']?.currentValue) {\r\n this.create();\r\n } else { this.remove(); }\r\n }\r\n\r\n create() {\r\n this.displayedColumnsLink.push('add');\r\n }\r\n\r\n remove() {\r\n this.removeColumnOfDisplayColumns(this.displayedColumnsLink, 'add');\r\n }\r\n\r\n async addShowChanges() {\r\n this.removeColumnOfDisplayColumns(this.displayedColumnsLink, 'showChanges');\r\n this.showChanges = false;\r\n let linkChanges: Link[] = [];\r\n if (this.changesAvailable && this.resourceId && this.typeLink) {\r\n linkChanges = (await this.resourceService.getLinkChangesByResourceId(this.resourceId, this.typeLink, true).toPromise()) ?? [];\r\n if (this.dataSourceLink.data.some(x => x.status === 5)) {\r\n if (linkChanges.some(x => x.status === 0) || linkChanges.length !== this.dataSourceLink.data.length) {\r\n this.displayedColumnsLink.push('showChanges');\r\n }\r\n }\r\n else if (linkChanges.some(x => x.status === 0) && linkChanges.filter(x => x.status === 0).length !== this.dataSourceLink.data.length) {\r\n this.displayedColumnsLink.push('showChanges');\r\n }\r\n }\r\n }\r\n\r\n openAddLinkDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n link: new Link(),\r\n dialogTitle: 'Add New ' + this.dialogTitle,\r\n linkType: this.typeLink\r\n };\r\n const dialogRef = this.dialog.open(LinkComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((data: Link) => {\r\n if (data) {\r\n this.dataSourceLink.data.push(data);\r\n this.dataSourceLink.filter = '';\r\n this.changed.emit();\r\n }\r\n });\r\n }\r\n\r\n openEditLinkDialog(link: Link) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n link,\r\n dialogTitle: 'Edit ' + this.dialogTitle,\r\n linkType: this.typeLink\r\n };\r\n const dialogRef = this.dialog.open(LinkComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(data => {\r\n if (data)\r\n this.changed.emit();\r\n });\r\n }\r\n\r\n deleteLink(data: Link) {\r\n this.dialogService.ConfirmationDialog('Remove', `this Link`).subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceLink.data.indexOf(data);\r\n this.dataSourceLink.data.splice(index, 1);\r\n this.dataSourceLink.filter = '';\r\n }\r\n });\r\n }\r\n\r\n removeColumnOfDisplayColumns(displayColumn: string[], columnRemove: string) {\r\n if (displayColumn.includes(columnRemove)) {\r\n const index = displayColumn.indexOf(columnRemove);\r\n displayColumn.splice(index, 1);\r\n }\r\n }\r\n\r\n changesLinks() {\r\n if (this.resourceId)\r\n this.resourceService.getLinkChangesByResourceId(this.resourceId, this.typeLink, this.showChanges).toPromise().then(links => {\r\n this.dataSourceLink = new MatTableDataSource(links);\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ componentTitle }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Hyperlinks \r\n \r\n {{ element.hyperlink }}\r\n {{ element.hyperlink }}\r\n \r\n \r\n \r\n Web Address \r\n {{ element.webAddress }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n Show Changes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialog, MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ResourceUserRelationComponent } from 'src/app/components/catalogs/beamline-catalog/dialogs/resource-user-relation/resource-user-relation.component';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { ResourceUserRelation, Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'app-resource-user-relation-table',\r\n templateUrl: './resource-user-relation-table.component.html',\r\n styleUrls: ['./resource-user-relation-table.component.scss']\r\n})\r\nexport class ResourceUserRelationTableComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() isEdition!: boolean;\r\n @Input() userTitle!: string;\r\n @Input() dialogTitle!: string;\r\n @Input() roleTitle!: string;\r\n @Input() roleSelected!: number;\r\n @Input() resourceUserRelations!: ResourceUserRelation[];\r\n @Input() curr?: ResourceUserRelation[];\r\n @Input() prev?: ResourceUserRelation[];\r\n @Input() branchlines!: Resource[];\r\n @Input() endstations!: Resource[];\r\n @Input() hilite?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n public errorMsg!: string[];\r\n\r\n public displayedColumnsResourceUserRelation: string[] = ['user', 'endstation', 'branchline'];\r\n public dataSourceResourceUserRelation: MatTableDataSource = new MatTableDataSource();\r\n\r\n isModified!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['resourceUserRelations']?.currentValue) {\r\n this.dataSourceResourceUserRelation.data = changes['resourceUserRelations'].currentValue;\r\n this.checkModified();\r\n }\r\n if (changes['isEdition']) {\r\n if (changes['isEdition'].currentValue) { this.create(); }\r\n else { this.remove(); }\r\n }\r\n }\r\n\r\n checkModified() {\r\n this.isModified = false;\r\n if (this.curr && this.prev) {\r\n const prev = this.prev;\r\n const curr = this.curr;\r\n prev.map(p => {\r\n const q = curr.find(c => c.user?.id == p.user?.id);\r\n p.isModified = !q || (p.endstation?.id ?? 0) != (q.endstation?.id ?? 0) || (p.branchline?.id ?? 0) != (q.branchline?.id ?? 0);\r\n const rr = this.resourceUserRelations.find(r => r.user?.id == p.user?.id);\r\n if (rr)\r\n rr.isModified = p.isModified;\r\n });\r\n this.isModified = prev.some(x => x.isModified) || prev.length != curr.length;\r\n }\r\n }\r\n\r\n getData(data: ResourceUserRelation[]) {\r\n const usersIds = Array.from(new Set(data.map(d => d.userId)));\r\n const userRelations: UserRelation[] = [];\r\n usersIds.map(id => {\r\n const endstations = data.filter(d => d.userId == id).map(d => d.endstation?.name).filter(n => n).join(\", \");\r\n const branchlines = data.filter(d => d.userId == id).map(d => d.branchline?.name).filter(n => n).join(\", \");\r\n const ur: UserRelation = {\r\n userId: id ?? 0,\r\n user: data.find(d => d.userId == id)?.user,\r\n endstations,\r\n branchlines,\r\n isModified: false\r\n };\r\n userRelations.push(ur);\r\n });\r\n return userRelations;\r\n }\r\n\r\n create() {\r\n this.displayedColumnsResourceUserRelation.push('add');\r\n }\r\n\r\n remove() {\r\n if (this.displayedColumnsResourceUserRelation.includes('add')) {\r\n const index = this.displayedColumnsResourceUserRelation.indexOf('add');\r\n this.displayedColumnsResourceUserRelation.splice(index, 1);\r\n }\r\n }\r\n\r\n openAddResourceUserRelation() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n resourceUserRelation: new ResourceUserRelation(),\r\n branchlines: this.branchlines,\r\n endstations: this.endstations,\r\n dialogTitle: 'Add New ' + this.dialogTitle,\r\n roleTitle: this.roleTitle,\r\n roleSelected: this.roleSelected\r\n };\r\n const dialogRef = this.dialog.open(ResourceUserRelationComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data: {\r\n resourceUserRlations: ResourceUserRelation[],\r\n user: User,\r\n endstationsList: string[],\r\n branchlinesList: string[]\r\n }) => {\r\n if (data) {\r\n if (this.isUserRepeated(this.dataSourceResourceUserRelation.data, data.user)) {\r\n this.addResourceUserRelation(this.dataSourceResourceUserRelation, data);\r\n this.changed.emit();\r\n } else {\r\n this.alertError();\r\n }\r\n this.errorMsg = [];\r\n }\r\n });\r\n }\r\n\r\n openEditResourceUserRelation(resourceUserRelation: ResourceUserRelation, index: number) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n resourceUserRelation,\r\n branchlines: this.branchlines,\r\n endstations: this.endstations,\r\n dataJoin: {\r\n resourceUserRlations: [],\r\n user: resourceUserRelation.user,\r\n endstationsList: resourceUserRelation.joinEndstations,\r\n branchlinesList: resourceUserRelation.joinBranchlines\r\n },\r\n dialogTitle: 'Edit ' + this.dialogTitle,\r\n roleTitle: this.roleTitle,\r\n roleSelected: this.roleSelected\r\n };\r\n const dialogRef = this.dialog.open(ResourceUserRelationComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data: {\r\n resourceUserRlations: ResourceUserRelation[],\r\n user: User,\r\n endstationsList: string[],\r\n branchlinesList: string[]\r\n }) => {\r\n if (data) {\r\n if (this.dataSourceResourceUserRelation.data[index].user?.id !== data.user.id) {\r\n if (this.isUserRepeated(this.dataSourceResourceUserRelation.data, data.user)) {\r\n this.updateResourceUserRelations(this.dataSourceResourceUserRelation, data, index);\r\n this.changed.emit();\r\n } else {\r\n this.alertError();\r\n }\r\n } else {\r\n this.updateResourceUserRelations(this.dataSourceResourceUserRelation, data, index);\r\n this.changed.emit();\r\n }\r\n this.errorMsg = [];\r\n }\r\n });\r\n }\r\n\r\n deleteResourceUserRelatio(data: ResourceUserRelation) {\r\n this.dialogService.ConfirmationDialog('Remove', `${data.user?.name} from this list`).subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceResourceUserRelation.data.indexOf(data);\r\n this.dataSourceResourceUserRelation.data.splice(index, 1);\r\n this.dataSourceResourceUserRelation.filter = '';\r\n this.changed.emit();\r\n }\r\n });\r\n }\r\n\r\n isUserRepeated(resourceUserRelation: ResourceUserRelation[], user: User): boolean {\r\n let valid = true;\r\n if (resourceUserRelation.filter(x => x.user?.name === user.name).length) {\r\n this.errorMsg.push('User ' + user.name + ' is already added');\r\n valid = false;\r\n }\r\n return valid;\r\n }\r\n\r\n addResourceUserRelation(dataSourceRUR: MatTableDataSource, data: { resourceUserRlations: ResourceUserRelation[], user: User, endstationsList: string[], branchlinesList: string[] }) {\r\n const resourceUserRelation: ResourceUserRelation = {\r\n user: data.user,\r\n joinEndstations: data.endstationsList,\r\n joinBranchlines: data.branchlinesList,\r\n resourceUserRelations: data.resourceUserRlations\r\n };\r\n dataSourceRUR.data.push(resourceUserRelation);\r\n dataSourceRUR.filter = '';\r\n }\r\n\r\n updateResourceUserRelations(dataSourceRUR: MatTableDataSource, data: { resourceUserRlations: ResourceUserRelation[], user: User, endstationsList: string[], branchlinesList: string[] }, index: number) {\r\n const RURToUpdate: ResourceUserRelation = {\r\n user: data.user,\r\n joinEndstations: data.endstationsList,\r\n joinBranchlines: data.branchlinesList,\r\n resourceUserRelations: data.resourceUserRlations\r\n };\r\n dataSourceRUR.data[index] = RURToUpdate;\r\n dataSourceRUR.filter = '';\r\n }\r\n\r\n alertError() {\r\n this.alert.error(this.errorMsg.join(', '));\r\n const that = this;\r\n setTimeout(() => { that.alert.clear(); }, 3000);\r\n }\r\n\r\n}\r\n\r\nclass UserRelation {\r\n userId!: number;\r\n user?: User;\r\n endstations!: string;\r\n branchlines!: string;\r\n isModified!: boolean;\r\n}\r\n","\r\n \r\n \r\n {{ userTitle }} \r\n {{ element.user?.name }} \r\n \r\n \r\n Endstation \r\n \r\n {{ element.joinEndstations.join(\", \") }}\r\n \r\n \r\n \r\n Branchline \r\n \r\n {{ element.joinBranchlines.join(\", \") }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, Input, OnChanges, Output, EventEmitter, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatDialog, MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Router } from '@angular/router';\r\nimport { Catalog } from 'src/app/common/enumerations/enumerations';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\nimport { CatalogService } from '../../../catalog-service';\r\nimport { RestrictionComponent } from '../../dialogs/restriction/restriction.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n\r\n@Component({\r\n selector: 'app-restriction-table',\r\n templateUrl: './restriction-table.component.html',\r\n styleUrls: ['./restriction-table.component.scss']\r\n})\r\nexport class RestrictionTableComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() isEditionChild!: boolean;\r\n @Input() restrictionsChild: any;\r\n @Input() branchlinesChild: any;\r\n @Input() shutterChild?: Resource;\r\n @Input() hilite?: boolean;\r\n\r\n @Output() emitData = new EventEmitter();\r\n\r\n public displayedColumnsRestrictions: string[] = ['restriction', 'scf', 'rsswa', 'ebf', 'ppstb', 'appliesTo'];\r\n\r\n public dataSourceBranchline!: MatTableDataSource;\r\n public dataSourceRestriction!: MatTableDataSource;\r\n public dataSourceAcc!: MatTableDataSource;\r\n\r\n public shutter!: Resource;\r\n\r\n public isEdition!: boolean;\r\n public adding!: boolean;\r\n\r\n public restrictions: any;\r\n public branchlines: any;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _catalogService: CatalogService,\r\n private router: Router\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.clear();\r\n\r\n if (changes['isEditionChild'] != null) this.isEdition = changes['isEditionChild'].currentValue;\r\n if (changes['shutterChild'] != null) this.shutter = changes['shutterChild']?.currentValue;\r\n if (changes['branchlinesChild'] != null) this.branchlines = changes['branchlinesChild']?.currentValue;\r\n if (changes['restrictionsChild'] != null) this.restrictions = changes['restrictionsChild']?.currentValue;\r\n\r\n if (this.branchlines != null)\r\n this.dataSourceBranchline.data = this.branchlines?.list;\r\n if (this.restrictions != null)\r\n this.dataSourceRestriction.data = this.restrictions?.list;\r\n\r\n if (this.isEdition == true)\r\n this.create();\r\n else\r\n this.remove();\r\n }\r\n\r\n create() {\r\n this.displayedColumnsRestrictions = ['restriction', 'scf', 'rsswa', 'ebf', 'ppstb', 'appliesTo', 'add'];\r\n this.adding = true;\r\n }\r\n\r\n remove() {\r\n this.displayedColumnsRestrictions = ['restriction', 'scf', 'rsswa', 'ebf', 'ppstb', 'appliesTo'];\r\n this.adding = false;\r\n }\r\n\r\n async openAddRestrictionDialog() {\r\n if (this.router.url == \"/resources-new\") {\r\n await this.loadAccelerators();\r\n }\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = { restriction: new Restriction(), branchlines: this.dataSourceBranchline.data, shutter: this.shutter, accelerators: this.dataSourceAcc.data };\r\n const dialogRef = this.dialog.open(RestrictionComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data: Restriction) => {\r\n if (data) {\r\n this.addRestriction(data);\r\n this.emitData.emit(this.dataSourceRestriction.data);\r\n }\r\n });\r\n }\r\n\r\n async openEditRestrictionDialog(restriction: Restriction) {\r\n if (this.router.url == \"/resources-new\") {\r\n await this.loadAccelerators();\r\n }\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = { restriction: restriction, branchlines: this.dataSourceBranchline.data, shutter: this.shutter, accelerators: this.dataSourceAcc.data };\r\n const dialogRef = this.dialog.open(RestrictionComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data)\r\n this.emitData.emit(this.dataSourceRestriction.data);\r\n });\r\n }\r\n\r\n\r\n addRestriction(data: Restriction) {\r\n data.scf = true;\r\n data.ebf = true;\r\n data.rsswa = true;\r\n data.ppstb = true;\r\n this.dataSourceRestriction.data.push(data);\r\n this.dataSourceRestriction.filter = \"\";\r\n }\r\n\r\n deleteRestriction(data: Restriction) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Restriction').subscribe((result) => {\r\n if (result) {\r\n var index = this.dataSourceRestriction.data.indexOf(data);\r\n this.dataSourceRestriction.data.splice(index, 1);\r\n this.dataSourceRestriction.filter = \"\";\r\n this.emitData.emit(this.dataSourceRestriction.data);\r\n }\r\n });\r\n }\r\n\r\n async loadAccelerators() {\r\n await this._catalogService.GetJoinCreated(Catalog.AcceleratorCatalog, false).toPromise().then(data => {\r\n this.dataSourceAcc.data = data?.acceleratorCatalogs?.map(x => x.details.accelerator) as Resource[];\r\n this.dataSourceAcc.data.sort((a, b) => utils.sort(a.name, b.name));\r\n });\r\n }\r\n\r\n clear() {\r\n this.dataSourceRestriction = new MatTableDataSource();\r\n this.dataSourceBranchline = new MatTableDataSource();\r\n this.dataSourceAcc = new MatTableDataSource();\r\n\r\n this.remove();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n \r\n Restriction Language\r\n \r\n \r\n {{ element.restrictionLanguage }}\r\n \r\n \r\n \r\n SCF \r\n \r\n \r\n \r\n \r\n \r\n RSSWA \r\n \r\n \r\n \r\n \r\n \r\n EBF \r\n \r\n \r\n \r\n \r\n \r\n PPSTB \r\n \r\n \r\n \r\n \r\n \r\n Applies To \r\n \r\n {{ element.location?.name }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { CatalogService } from '../../../catalog-service';\r\n\r\n\r\n@Component({\r\n selector: 'app-branchline',\r\n templateUrl: './branchline.component.html',\r\n styleUrls: ['./branchline.component.scss']\r\n})\r\nexport class BranchlineComponent extends BaseComponent implements OnInit {\r\n\r\n public branchlineName?: string | null;\r\n public oldBranchline?: string | null;\r\n\r\n public isSaving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public resource: Resource,\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.branchlineName = this.resource.name;\r\n this.oldBranchline = this.resource.name;\r\n }\r\n\r\n async add() {\r\n this.isSaving = true;\r\n if (await this.isValid()) {\r\n this.resource.name = this.branchlineName;\r\n this.dialogRef.close(this.resource);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async isValid() {\r\n if (!this.branchlineName) {\r\n this.alert.message('branchlineDialog_Required');\r\n return false;\r\n }\r\n if (this.oldBranchline !== this.branchlineName) {\r\n const isRepeated = await this.catalogService.IsFieldRepeatedResource(this.branchlineName, ResourceType.Branchline).toPromise();\r\n if (isRepeated) {\r\n this.alert.message('branchlineDialog_Repeated');\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ resource.id ? \"Edit\" : \"Add\" }} Branchline\r\n
\r\n
\r\n \r\n Branchline Name\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { AbsiTemplateTypeResource } from 'src/app/components/absi/absi';\r\nimport { AbsiBuilderService } from 'src/app/components/absi/absi-builder/absi-builder.service';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { CatalogService } from '../../../catalog-service';\r\n\r\n\r\n@Component({\r\n selector: 'app-endstation',\r\n templateUrl: './endstation.component.html',\r\n styleUrls: ['./endstation.component.scss']\r\n})\r\nexport class EndstationComponent extends BaseComponent implements OnInit {\r\n\r\n public endstationName?: string | null;\r\n public oldEndstation?: string | null;\r\n\r\n public isSaving!: boolean;\r\n\r\n public absiTypes!: AbsiTemplateTypeResource[];\r\n public absiType?: AbsiTemplateTypeResource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public resource: Resource,\r\n private catalogService: CatalogService,\r\n private absi: AbsiBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.endstationName = this.resource.name;\r\n this.oldEndstation = this.resource.name;\r\n this.absi.GetTemplateTypes().toPromise().then(absiTypes => {\r\n this.absiTypes = absiTypes ?? [];\r\n this.absiType = absiTypes?.find(x => x.id === this.resource.absiTemplateTypeID);\r\n });\r\n }\r\n\r\n async add() {\r\n this.isSaving = true;\r\n if (await this.isValid()) {\r\n this.resource.name = this.endstationName;\r\n this.dialogRef.close(this.resource);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async isValid() {\r\n if (!this.endstationName) {\r\n this.alert.message('endstationDialog_Required');\r\n return false;\r\n }\r\n if (!this.absiType) {\r\n this.alert.message('endstationDialog_ABSI_TypeRequired');\r\n return false;\r\n }\r\n if (this.oldEndstation !== this.endstationName) {\r\n const isRepeated = await this.catalogService.IsFieldRepeatedResource(this.endstationName, ResourceType.Endstation).toPromise();\r\n if (isRepeated) {\r\n this.alert.message('endstationDialog_Repeated');\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n absiTypeChange(absiTypeSelected: AbsiTemplateTypeResource) {\r\n this.resource.absiTemplateTypeID = absiTypeSelected.id;\r\n this.resource.absiTemplateName = absiTypeSelected.name;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ resource.id ? \"Edit\" : \"Add\" }} Endstation\r\n
\r\n
\r\n \r\n Endstation Name\r\n \r\n \r\n \r\n ABSI Type\r\n \r\n \r\n {{ absiType.name }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n\r\n@Component({\r\n selector: 'app-fast-valve-sensor',\r\n templateUrl: './fast-valve-sensor.component.html',\r\n styleUrls: ['./fast-valve-sensor.component.scss']\r\n})\r\nexport class FastValveSensorComponent extends BaseComponent implements OnInit {\r\n\r\n public fvsName?: string | null;\r\n public fvsKeText?: string | null;\r\n\r\n public isSaving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public resource: Resource,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.fvsName = this.resource.name;\r\n this.fvsKeText = this.resource.keText;\r\n }\r\n\r\n async add() {\r\n this.isSaving = true;\r\n if (await this.isValid()) {\r\n this.resource.name = this.fvsName;\r\n this.resource.keText = this.fvsKeText;\r\n this.dialogRef.close(this.resource);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(null);\r\n }\r\n\r\n async isValid() {\r\n if (!this.fvsName) {\r\n this.alert.message('fastValveDialog_Name_Required');\r\n return false;\r\n }\r\n if (!this.fvsKeText) {\r\n this.alert.message('fastValveDialog_KEText_Required');\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ resource.id ? \"Edit\" : \"Add\" }} Fast Valve Sensor\r\n
\r\n
\r\n \r\n FVS Name\r\n \r\n \r\n \r\n KE Text\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { LinkType, Link } from 'src/app/components/catalogs/navigation-links/link/link';\r\n\r\n\r\n@Component({\r\n selector: 'app-link',\r\n templateUrl: './link.component.html',\r\n styleUrls: ['./link.component.scss']\r\n})\r\nexport class LinkComponent extends BaseComponent implements OnInit {\r\n\r\n public urlRegex = new RegExp(/^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$/);\r\n\r\n public hyperlink?: string;\r\n public webAddress?: string;\r\n\r\n public isSaving!: boolean;\r\n\r\n public linkSelected?: LinkType;\r\n\r\n linkTypes: LinkType[] = [];\r\n linkTypes$!: Observable;\r\n linkTypesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n link: Link,\r\n dialogTitle: string,\r\n typeAvailable: boolean,\r\n linkType: number\r\n },\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit() {\r\n if (this.inputData.typeAvailable) {\r\n this.getLinkTypes();\r\n if (this.inputData.linkType) {\r\n this.linkSelected = this.linkTypes.find(x => x.id === this.inputData.linkType);\r\n }\r\n } else {\r\n this.inputData.link.status = 1;\r\n }\r\n this.hyperlink = this.inputData.link.hyperlink;\r\n this.webAddress = this.inputData.link.webAddress;\r\n }\r\n\r\n getLinkTypes() {\r\n this.linkTypes$ = this.store.select(state => state.LinkTypes.data);\r\n this.linkTypes$.subscribe(data => {\r\n this.linkTypes = data.filter(x => x.status === 2);\r\n });\r\n // return (await this.linkTypeService.getLinkTypes().toPromise()).filter(link => link.status === 2);\r\n }\r\n\r\n add() {\r\n this.isSaving = true;\r\n if (this.isValid()) {\r\n if (this.webAddress?.substr(0, 4).toLowerCase() !== 'http' && this.webAddress) {\r\n this.inputData.link.webAddress = 'https://' + this.webAddress;\r\n } else {\r\n this.inputData.link.webAddress = this.webAddress;\r\n }\r\n this.inputData.link.hyperlink = this.hyperlink;\r\n if (this.inputData.linkType !== 1) {\r\n this.inputData.link.typeId = this.linkSelected?.id;\r\n this.inputData.link.typeName = this.linkSelected?.name;\r\n this.inputData.link.linkType = this.linkSelected;\r\n } else {\r\n this.inputData.link.typeId = this.inputData.linkType;\r\n }\r\n this.dialogRef.close(this.inputData.link);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n isValid() {\r\n if (!this.hyperlink) {\r\n this.alert.message('linkDialog_Hyperlink_Required');\r\n return false;\r\n }\r\n if (!this.webAddress && !this.inputData.typeAvailable) {\r\n this.alert.message('linkDialog_WebAddress_Required');\r\n return false;\r\n }\r\n if (this.webAddress) {\r\n if (!this.urlRegex.test(this.webAddress)) {\r\n this.alert.message('linkDialog_WebAddress_NotValid');\r\n return false;\r\n }\r\n }\r\n if (this.inputData.typeAvailable) {\r\n if (!this.linkSelected) {\r\n this.alert.message('linkDialog_BRATOI_TypeRequired');\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

{{ inputData.dialogTitle }}

\r\n
\r\n
\r\n
\r\n \r\n Select Type\r\n \r\n \r\n {{ link.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Hyperlink Text\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n URL\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n Add\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Note } from 'src/app/services/notes/note.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-note',\r\n templateUrl: './note.component.html',\r\n styleUrls: ['./note.component.scss']\r\n})\r\nexport class NoteComponent extends BaseComponent implements OnInit {\r\n\r\n public noteName?: string;\r\n\r\n public isSaving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public note: Note,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.noteName = this.note.noteName;\r\n }\r\n\r\n add() {\r\n this.isSaving = true;\r\n if (this.isValid()) {\r\n this.note.noteName = this.noteName;\r\n this.dialogRef.close(this.note);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n isValid() {\r\n if (!this.noteName) {\r\n this.alert.message('noteDialog_Required');\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Add New Note

\r\n
\r\n
\r\n
\r\n \r\n Note\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n Add\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceOrganization, Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { Organization } from './organization';\r\nimport { OrganizationService } from './organization.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-organization',\r\n templateUrl: './organization.component.html',\r\n styleUrls: ['./organization.component.scss']\r\n})\r\nexport class OrganizationComponent extends BaseComponent implements OnInit {\r\n\r\n public endstations!: Resource[];\r\n public branchlines!: Resource[];\r\n public organizations!: Organization[];\r\n public organizationsFiltered!: Organization[];\r\n public resourceOrganizationToSend!: ResourceOrganization;\r\n\r\n public isSaving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n resourceOrganization: ResourceOrganization,\r\n branchlines: Resource[],\r\n endstations: Resource[]\r\n },\r\n private organizationService: OrganizationService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit() {\r\n await this.loadOrganizations();\r\n }\r\n\r\n add() {\r\n this.isSaving = true;\r\n if (this.isValid()) {\r\n this.inputData.resourceOrganization.organization = typeof (this.inputData.resourceOrganization.organization) === 'object' ? this.inputData.resourceOrganization.organization : { name: this.inputData.resourceOrganization.organization } as Organization;\r\n this.dialogRef.close(this.inputData.resourceOrganization);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async loadOrganizations() {\r\n await this.organizationService.Read().toPromise().then(organizations => {\r\n this.organizations = organizations ?? [];\r\n this.organizationsFiltered = organizations ?? [];\r\n });\r\n }\r\n\r\n displayOrganizationName(organization: Organization) {\r\n return organization && organization.name ? organization.name : organization;\r\n }\r\n\r\n compareResource(resource1: Resource, resource2: Resource) {\r\n return resource1 && resource2 && resource1.name === resource2.name;\r\n }\r\n\r\n isValid() {\r\n const organizationSelected = typeof (this.inputData.resourceOrganization.organization) === 'object' ? this.inputData.resourceOrganization.organization : { name: this.inputData.resourceOrganization.organization } as Organization;\r\n if (!organizationSelected.name) {\r\n this.alert.message('organizationDialog_Required');\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n filter(e: any) {\r\n const text = e.target.value;\r\n const code = e.code;\r\n if (!code?.includes('Arrow')) {\r\n this.organizationsFiltered = this.organizations.filter(x => x.name?.toLocaleLowerCase().includes(text.trim().toLocaleLowerCase()));\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n {{\r\n inputData.resourceOrganization.endstation?.id ? \"Edit\" : \"Add\"\r\n }}\r\n Organization\r\n
\r\n
\r\n \r\n Organization Name\r\n \r\n \r\n \r\n {{ organization.name }}\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n \r\n {{ endstation.name }}\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n \r\n {{ branchline.name }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { retry } from 'rxjs/operators';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Organization } from './organization';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OrganizationService {\r\n url = environment.urls.baseApiUrl + \"/Organizations\";\r\n constructor(private http: HttpClient) { }\r\n Read(): Observable {\r\n return this.http.get(this.url).pipe(retry(1));\r\n }\r\n}\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { Placeholder } from 'src/app/components/checklists/checklists';\r\nimport { Resource, ResourceUserRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { UserRole } from 'src/app/services/user-roles/user-role';\r\nimport { UserRoleService } from 'src/app/services/user-roles/user-role.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'app-resource-user-relation',\r\n templateUrl: './resource-user-relation.component.html',\r\n styleUrls: ['./resource-user-relation.component.scss']\r\n})\r\nexport class ResourceUserRelationComponent extends BaseComponent implements OnInit {\r\n\r\n public endstations: Resource[] = [];\r\n public branchlines: Resource[] = [];\r\n public supervisorsRole: UserRole[] = [];\r\n public user!: User;\r\n public resourceUserRelationToSend: ResourceUserRelation[] = [];\r\n\r\n public userSelected?: string;\r\n public endstationSelected?: string | null;\r\n public branchlineSelected?: string | null;\r\n public endstationListSelected: string[] = [];\r\n public branchlineListSelected: string[] = [];\r\n\r\n public isSaving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n resourceUserRelation: ResourceUserRelation,\r\n branchlines: Resource[],\r\n endstations: Resource[],\r\n dataJoin: {\r\n resourceUserRlations: ResourceUserRelation[],\r\n user: User,\r\n endstationsList: string[],\r\n branchlinesList: string[]\r\n },\r\n dialogTitle: string,\r\n roleTitle: string,\r\n roleSelected: number\r\n },\r\n private userRoleService: UserRoleService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.endstations = this.inputData.endstations;\r\n this.branchlines = this.inputData.branchlines;\r\n\r\n this.userRoleService.Read(null, this.inputData.roleSelected).subscribe(data => {\r\n this.supervisorsRole = data as UserRole[];\r\n });\r\n if (this.inputData.resourceUserRelation?.user) {\r\n this.userSelected = this.inputData.resourceUserRelation.user.name;\r\n }\r\n if (this.inputData.resourceUserRelation?.endstation) {\r\n this.endstationSelected = this.inputData.resourceUserRelation.endstation.name;\r\n }\r\n if (this.inputData.resourceUserRelation?.branchline) {\r\n this.branchlineSelected = this.inputData.resourceUserRelation.branchline.name;\r\n }\r\n if (this.inputData?.dataJoin?.endstationsList) {\r\n this.endstationListSelected = this.inputData.dataJoin.endstationsList;\r\n }\r\n if (this.inputData?.dataJoin?.branchlinesList) {\r\n this.branchlineListSelected = this.inputData.dataJoin.branchlinesList;\r\n }\r\n }\r\n\r\n add() {\r\n this.isSaving = true;\r\n let dataToSend: {\r\n resourceUserRlations: ResourceUserRelation[],\r\n user?: User,\r\n endstationsList: string[],\r\n branchlinesList: string[]\r\n };\r\n dataToSend = {\r\n resourceUserRlations: [],\r\n user: new User(),\r\n endstationsList: [],\r\n branchlinesList: []\r\n };\r\n if (this.isValid()) {\r\n const userSelected = this.users.find(x => x.name === this.userSelected);\r\n if (this.endstationListSelected.length >= 1 || this.branchlineListSelected.length >= 1) {\r\n this.endstationListSelected.map(endSelected => {\r\n const resourceUserRelation: ResourceUserRelation = {\r\n user: userSelected,\r\n endstation: this.endstations.find(x => x.name === endSelected),\r\n branchline: new Resource()\r\n };\r\n this.resourceUserRelationToSend.push(resourceUserRelation);\r\n });\r\n this.branchlineListSelected.map(brSelected => {\r\n const resourceUserRelation: ResourceUserRelation = {\r\n user: userSelected,\r\n endstation: new Resource(),\r\n branchline: this.branchlines.find(x => x.name === brSelected)\r\n };\r\n this.resourceUserRelationToSend.push(resourceUserRelation);\r\n });\r\n } else {\r\n const resourceUserRelation: ResourceUserRelation = {\r\n user: userSelected,\r\n endstation: new Resource(),\r\n branchline: new Resource()\r\n };\r\n this.resourceUserRelationToSend.push(resourceUserRelation);\r\n }\r\n dataToSend.resourceUserRlations = this.resourceUserRelationToSend;\r\n dataToSend.user = userSelected;\r\n dataToSend.endstationsList = this.endstationListSelected;\r\n dataToSend.branchlinesList = this.branchlineListSelected;\r\n this.dialogRef.close(dataToSend);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(null);\r\n }\r\n\r\n getInfoEndstations(endstations: string[]) {\r\n this.endstationListSelected = endstations;\r\n }\r\n\r\n getInfoBranchlines(branchines: string[]) {\r\n this.branchlineListSelected = branchines;\r\n }\r\n\r\n isValid() {\r\n if (!this.userSelected) {\r\n this.alert.message('resourceUserRelationDialog_Required', [new MessagePlaceholder('{what}', this.inputData.roleTitle)]);\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\n","
\r\n
\r\n {{ inputData.dialogTitle }}\r\n
\r\n
\r\n \r\n {{ inputData.roleTitle }}\r\n \r\n \r\n {{ supervisor.user?.name }}\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n \r\n {{ endstation.name }}\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n \r\n {{ branchline.name }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\n\r\n\r\n@Component({\r\n selector: 'app-restriction',\r\n templateUrl: './restriction.component.html',\r\n styleUrls: ['./restriction.component.scss']\r\n})\r\nexport class RestrictionComponent extends BaseComponent implements OnInit {\r\n\r\n public appliesToList!: Resource[];\r\n public branchline!: Resource[];\r\n public acceleratorList!: Resource[];\r\n\r\n public appliesToSend?: Resource;\r\n\r\n public appliesToSelected!: number;\r\n public restrictionLanguage?: string;\r\n\r\n public isSaving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: {\r\n restriction: Restriction,\r\n branchlines: Resource[],\r\n shutter: Resource,\r\n accelerators: Resource[]\r\n },\r\n\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.clear();\r\n let idAux = -1;\r\n if (this.data.shutter && this.data.shutter.name) {\r\n if (this.data.shutter.id) {\r\n this.appliesToList.push(this.data.shutter);\r\n } else {\r\n this.data.shutter.id = idAux--;\r\n this.appliesToList.push(this.data.shutter);\r\n }\r\n }\r\n if (this.data.branchlines) {\r\n this.branchline = this.data.branchlines;\r\n this.branchline.map(data => {\r\n if (data.id) {\r\n this.appliesToList.push(data);\r\n } else {\r\n data.id = idAux--;\r\n this.appliesToList.push(data);\r\n }\r\n });\r\n }\r\n if (this.data.accelerators) {\r\n this.acceleratorList = this.data.accelerators;\r\n this.acceleratorList.map(data => {\r\n this.appliesToList.push(data);\r\n });\r\n }\r\n if (this.data.restriction?.location) {\r\n this.appliesToSelected = this.data.restriction?.location.id;\r\n this.appliesToSend = this.data.restriction.location;\r\n }\r\n this.restrictionLanguage = this.data.restriction?.restrictionLanguage;\r\n }\r\n\r\n add() {\r\n this.isSaving = true;\r\n if (this.isValid()) {\r\n this.data.restriction.restrictionLanguage = this.restrictionLanguage;\r\n this.appliesToList.map(x => {\r\n if (x.id < 0) {\r\n x.id = 0;\r\n }\r\n });\r\n this.data.restriction.location = this.appliesToSend;\r\n this.data.restriction.locationID = 0;\r\n this.data.restriction.resourceID = 0;\r\n this.dialogRef.close(this.data.restriction);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n isValid() {\r\n if (!this.restrictionLanguage) {\r\n this.alert.message('restrictionDialog_Language_Required');\r\n return false;\r\n }\r\n if (!this.appliesToSelected) {\r\n this.alert.message('restrictionDialog_AppliesTo_Required');\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n getInfoAppliesTo(appliesToSelectedId: number) {\r\n this.appliesToSend = this.appliesToList.find(x => x.id === appliesToSelectedId);\r\n }\r\n\r\n clear() {\r\n this.appliesToList = [];\r\n\r\n this.appliesToSend = new Resource();\r\n\r\n this.appliesToSelected = 0;\r\n this.restrictionLanguage = '';\r\n\r\n this.appliesToList.map(x => {\r\n if (x.id < 0) { x.id = 0; }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ data.restriction.id ? \"Edit\" : \"Add\" }} Restriction\r\n
\r\n
\r\n \r\n Restriction Language\r\n \r\n \r\n \r\n Applies To\r\n \r\n \r\n {{ appliesTo.name }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { Resource, ResourceRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { CatalogService } from '../../../catalog-service';\r\n\r\n\r\n@Component({\r\n selector: 'app-shielding',\r\n templateUrl: './shielding.component.html',\r\n styleUrls: ['./shielding.component.scss']\r\n})\r\nexport class ShieldingComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public shieldings!: Resource[];\r\n public shieldingsFiltered!: Resource[];\r\n\r\n public shieldingId!: number | null;\r\n\r\n public shieldingName?: string | null;\r\n public shieldingKeText?: string | null;\r\n public shieldingSharedWith?: string | null;\r\n public oldShielding?: string | null;\r\n\r\n public loading = true;\r\n public checkIsRepeated = true;\r\n public isSaving!: boolean;\r\n\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n resourceRelations?: ResourceRelation[];\r\n resourceRelationsFiltered?: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n resource: Resource,\r\n shutter: Resource\r\n },\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit() {\r\n this.loadResources();\r\n this.loadResourceRelations();\r\n this.shieldingId = this.inputData.resource.id;\r\n this.shieldingName = this.inputData.resource.name;\r\n this.shieldingKeText = this.inputData.resource.keText;\r\n this.shieldingSharedWith = this.inputData.resource.sharedWith;\r\n this.oldShielding = this.inputData.resource.name;\r\n if (this.shieldingName) {\r\n this.filter(this.shieldingName);\r\n }\r\n this.loading = false;\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.shieldings = this.resources.filter(x => x.type == ResourceType.Shielding);\r\n this.shieldingsFiltered = this.shieldings;\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data?.length) {\r\n this.resourceRelations = data;\r\n }\r\n });\r\n }\r\n\r\n async add() {\r\n this.isSaving = true;\r\n if (await this.isValid()) {\r\n this.inputData.resource.id = this.shieldingId ?? 0;\r\n this.inputData.resource.name = this.shieldingName;\r\n this.inputData.resource.keText = this.shieldingKeText;\r\n this.inputData.resource.sharedWith = this.shieldingSharedWith;\r\n this.dialogRef.close(this.inputData.resource);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async isValid() {\r\n if (!this.shieldingName) {\r\n this.alert.message('shieldingDialog_Name_Required');\r\n return false;\r\n }\r\n if (!this.shieldingKeText) {\r\n this.alert.message('shieldingDialog_KEText_Required');\r\n return false;\r\n }\r\n if (this.oldShielding !== this.shieldingName && this.checkIsRepeated) {\r\n const isRepeated = await this.catalogService.IsFieldRepeatedResource(this.shieldingName, ResourceType.Shielding).toPromise();\r\n if (isRepeated) {\r\n this.alert.message('shieldingDialog_Repeated');\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n getInfoShielding(shielding: Resource) {\r\n this.resourceRelationsFiltered = this.resourceRelations?.filter(r => r.childResourceID == shielding.id);\r\n this.shieldingSharedWith = this.resourceRelationsFiltered?.find(x => x.parentResourceType === ResourceType.Shutter && x.parentResourceID !== this.inputData.shutter?.id)?.parentResourceName;\r\n this.shieldingKeText = shielding.keText;\r\n this.shieldingId = shielding.id;\r\n this.checkIsRepeated = false;\r\n }\r\n\r\n filter(e: any) {\r\n const text = e.target?.value;\r\n const code = e.code;\r\n if (!code?.includes('Arrow')) {\r\n this.shieldingsFiltered = this.shieldings?.filter(x => x.name?.toLowerCase().includes(text?.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ shieldingId ? \"Edit\" : \"Add\" }} Shielding\r\n
\r\n
\r\n \r\n Shielding Name\r\n \r\n \r\n \r\n {{ shielding.name }}\r\n \r\n \r\n \r\n \r\n KE Text\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { Resource, ResourceRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { CatalogService } from '../../../catalog-service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormControl } from '@angular/forms';\r\nimport { PV } from 'src/app/services/pv-info/pv-info';\r\nimport { PVRefresh } from 'src/app/services/pv-info/store/pv-info.action';\r\nimport { ClImageUploadTableDataService } from 'src/app/controls/checklist-components/cl-image-upload/cl-image-upload-table/cl-image-upload-table-data.service';\r\nimport { PVInfoService } from 'src/app/services/pv-info/pv-info.service';\r\n\r\n@Component({\r\n selector: 'app-vacuum',\r\n templateUrl: './vacuum.component.html',\r\n styleUrls: ['./vacuum.component.scss']\r\n})\r\nexport class VacuumComponent extends BaseComponent implements OnInit {\r\n\r\n public vacuums!: Resource[];\r\n public vacuumsFiltered!: Resource[];\r\n\r\n public vacuumId!: number | null;\r\n\r\n public vacuumName?: string | null;\r\n public vacuumMinPressure?: string | null;\r\n public vacuumMaxPressure?: string | null;\r\n public vacuumChannelName?: string | null;\r\n public vacuumLocation?: string | null;\r\n public vacuumSharedWith?: string | null;\r\n public oldVacuum?: string | null;\r\n\r\n public checkIsRepeated = true;\r\n public isSaving!: boolean;\r\n\r\n resources?: Resource[];\r\n resourcesFiltered?: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n resourceRelations?: ResourceRelation[];\r\n resourceRelationsFiltered?: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n pVs?: PV[];\r\n pVs$!: Observable;\r\n pVsSubs!: Subscription;\r\n\r\n vacuumCtrl = new FormControl();\r\n value?: string | null;\r\n valid?: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ClImageUploadTableDataService,\r\n private pvService: PVInfoService,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: {\r\n resource: Resource,\r\n shutter: Resource\r\n },\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit() {\r\n this.vacuumId = this.data.resource.id;\r\n this.vacuumName = this.data.resource.name;\r\n this.vacuumMinPressure = this.data.resource.MinPressureString;\r\n this.vacuumMaxPressure = this.data.resource.MaxPressureString;\r\n this.vacuumChannelName = this.data.resource.channelName;\r\n this.vacuumLocation = this.data.resource.location;\r\n this.vacuumSharedWith = this.data.resource.sharedWith;\r\n this.oldVacuum = this.data.resource.name;\r\n this.loadResources();\r\n this.loadResourceRelations();\r\n this.loadPVs();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length) {\r\n this.resources = data;\r\n this.vacuums = this.resources.filter(r => r.type == ResourceType.Vacuum);\r\n this.vacuumsFiltered = this.vacuums;\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data?.length) {\r\n this.resourceRelations = data;\r\n }\r\n });\r\n }\r\n\r\n loadPVs() {\r\n this.store.dispatch(new PVRefresh());\r\n this.pVs$ = this.store.select(state => state.PV.data);\r\n this.pVsSubs = this.pVs$.subscribe(data => {\r\n if (data?.length) {\r\n this.pVs = data;\r\n if (this.vacuumChannelName) {\r\n const value = this.pVs.find(p => p.pvName == this.vacuumChannelName)?.value;\r\n if (value) this.value = this.service.formatValue(+value);\r\n }\r\n }\r\n });\r\n }\r\n\r\n getInfoVacuum(vacuum: Resource) {\r\n this.resourceRelationsFiltered = this.resourceRelations?.filter(r => r.childResourceID == vacuum.id);\r\n this.vacuumSharedWith = this.resourceRelationsFiltered?.find(x => x.parentResourceType === ResourceType.Shutter && x.parentResourceID !== this.data.shutter?.id)?.parentResourceName;\r\n this.vacuumId = vacuum.id;\r\n this.vacuumMinPressure = vacuum.keVacuumMinRequirement?.toString();\r\n this.vacuumMaxPressure = vacuum.keVacuumMaxRequirement?.toString();\r\n this.vacuumChannelName = vacuum.channelName;\r\n this.vacuumLocation = vacuum.location;\r\n this.checkIsRepeated = false;\r\n }\r\n\r\n getData() {\r\n this.valid = false;\r\n if (this.vacuumCtrl?.value) {\r\n this.vacuumCtrl.setValue(this.utils.stripSpaces(this.vacuumCtrl?.value));\r\n this.pvService.subscribe(this.vacuumCtrl.value).subscribe(data => {\r\n if (data)\r\n if (!data.value.includes('ERROR')) {\r\n this.valid = true;\r\n this.value = this.service.formatValue(+data.value);\r\n this.vacuumCtrl?.setErrors(null);\r\n }\r\n else {\r\n // this.channel = { name: this.vacuumCtrl?.value } as PVData;\r\n this.vacuumCtrl?.setErrors({ invalid: true });\r\n this.valid = false;\r\n }\r\n }, error => {\r\n this.vacuumCtrl?.setErrors({ invalid: true });\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n override getErrorMsg(control?: FormControl | null): string | null {\r\n if (control?.hasError('invalid')) { return 'Invalid Channel name'; }\r\n return null;\r\n }\r\n\r\n async add() {\r\n this.isSaving = true;\r\n if (await this.isValid()) {\r\n this.data.resource.name = this.vacuumName;\r\n if (this.vacuumMinPressure) {\r\n this.data.resource.MinPressureString = this.vacuumMinPressure;\r\n }\r\n else { this.data.resource.MinPressureString = this.formatSciNotation('0'); }\r\n if (this.vacuumMaxPressure) {\r\n this.data.resource.MaxPressureString = this.vacuumMaxPressure;\r\n }\r\n else { this.data.resource.MaxPressureString = this.formatSciNotation('0'); }\r\n this.data.resource.channelName = this.vacuumChannelName;\r\n this.data.resource.location = this.vacuumLocation;\r\n this.data.resource.sharedWith = this.vacuumSharedWith;\r\n this.dialogRef.close(this.data.resource);\r\n } else {\r\n this.isSaving = false;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async isValid() {\r\n if (!this.vacuumName) {\r\n this.alert.message('vacuumDialog_Required');\r\n return false;\r\n }\r\n if (this.oldVacuum !== this.vacuumName && this.checkIsRepeated) {\r\n const isRepeated = await this.catalogService.IsFieldRepeatedResource(this.vacuumName, ResourceType.Vacuum).toPromise();\r\n if (isRepeated) {\r\n this.alert.message('vacuumDialog_Repeated');\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n\r\n RemoveInfo(e: any) {\r\n const text = e.target.value;\r\n if (!this.vacuums?.filter(x => x.name === text).length) {\r\n this.vacuumId = null;\r\n this.vacuumSharedWith = null;\r\n this.checkIsRepeated = true;\r\n }\r\n }\r\n\r\n formatSciNotation(numberString: string): string {\r\n if (numberString === '0') { return ''; }\r\n else {\r\n if (numberString.includes('^')) {\r\n numberString = numberString.replace(/\\s/g, '').replace('x10', 'e').replace('^-', '-');\r\n }\r\n return (+numberString).toPrecision(3).toString().replace('e', ' x 10').replace('-', '^-');\r\n }\r\n }\r\n\r\n changeFormatMin() {\r\n if (this.vacuumMinPressure) {\r\n this.vacuumMinPressure = this.formatSciNotation(this.vacuumMinPressure);\r\n }\r\n else { this.vacuumMinPressure = this.formatSciNotation('0'); }\r\n }\r\n\r\n changeFormatMax() {\r\n if (this.vacuumMaxPressure) {\r\n this.vacuumMaxPressure = this.formatSciNotation(this.vacuumMaxPressure);\r\n }\r\n else { this.vacuumMaxPressure = this.formatSciNotation('0'); }\r\n }\r\n\r\n filter(e: any) {\r\n const text = e.target?.value;\r\n const code = e.code;\r\n if (!code?.includes('Arrow')) {\r\n this.vacuumsFiltered = this.vacuums?.filter(x => x.name?.toLocaleLowerCase().includes(text.trim().toLocaleLowerCase()));\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ vacuumId ? \"Edit\" : \"Add\" }} Vacuum\r\n
\r\n
\r\n \r\n Vacuum Name\r\n \r\n \r\n \r\n {{ vacuum.name }}\r\n \r\n \r\n \r\n \r\n Min Pressure\r\n \r\n \r\n \r\n Max Pressure\r\n \r\n \r\n \r\n Channel Name (PV)\r\n \r\n Value: \r\n {{\r\n getErrorMsg(vacuumCtrl)\r\n }}\r\n \r\n \r\n Location\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Add\r\n \r\n
\r\n
\r\n
\r\n","import { moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, EventEmitter, Input, OnInit, Output, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingResourcesType, Catalog, ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { KeChecklistBuilderService } from 'src/app/components/kenable/ke-checklist-builder/ke-checklist-builder.service';\r\nimport { DisapprovalReasonComponent } from 'src/app/controls/disapproval-reason/disapproval-reason.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Link } from 'src/app/components/catalogs/navigation-links/link/link';\r\nimport { Note } from 'src/app/services/notes/note.model';\r\nimport { Organization } from 'src/app/services/organization/organization';\r\nimport { BeamlineShutterRelation, ResourceSummary, Resource, ResourceUserRelation, ResourceOrganization, BeamlineCatalog } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { TOCA } from 'src/app/components/catalogs/beamline-catalog/resource/toca';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { CatalogModel } from '../../catalog-model';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { BranchlineComponent } from '../dialogs/branchline/branchline.component';\r\nimport { EndstationComponent } from '../dialogs/endstation/endstation.component';\r\nimport { FastValveSensorComponent } from '../dialogs/fast-valve-sensor/fast-valve-sensor.component';\r\nimport { NoteComponent } from '../dialogs/note/note.component';\r\nimport { OrganizationComponent } from '../dialogs/organization/organization.component';\r\nimport { ShieldingComponent } from '../dialogs/shielding/shielding.component';\r\nimport { VacuumComponent } from '../dialogs/vacuum/vacuum.component';\r\nimport { detailsUsers } from '../resources-new/resources-new.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\nimport { PVInfoService } from 'src/app/services/pv-info/pv-info.service';\r\nimport { FormControl } from '@angular/forms';\r\nimport { PV } from 'src/app/services/pv-info/pv-info';\r\n\r\n\r\n@Component({\r\n selector: 'app-resource-details-new',\r\n templateUrl: './resource-details-new.component.html',\r\n styleUrls: ['./resource-details-new.component.scss']\r\n})\r\n\r\nexport class ResourceDetailsNewComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() showPrevResource!: boolean;\r\n @Input() beamlineShutter?: BeamlineShutterRelation;\r\n @Input() showHistory?: boolean;\r\n\r\n @Output() updateKE = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n @Output() cancelAdd = new EventEmitter();\r\n\r\n // public detailResourceUsers: detailsUsers = { approverUserName: '', updateUserName: '', approvedOn: null, updatedOn: null };\r\n // public pendingResourceUsers: detailsUsers = { approvedOn: null, updatedOn: null };\r\n public resourceSummary?: ResourceSummary;\r\n public shutter?: Resource = new Resource();\r\n public beamline?: Resource = new Resource();\r\n public catalogModel!: CatalogModel;\r\n public RURAux!: ResourceUserRelation;\r\n\r\n public supervisors!: ResourceUserRelation[];\r\n\r\n public oldShutterName?: string;\r\n public oldBeamlineName?: string;\r\n\r\n public branchlineParent: any;\r\n public restrictionsParent: any;\r\n\r\n public modifying!: boolean;\r\n public deleting!: boolean;\r\n public adding!: boolean;\r\n\r\n public showApproveDisapprove!: boolean;\r\n public showModifyButton!: boolean;\r\n public hasShutter!: boolean;\r\n public fieldRepeatedShutter!: boolean;\r\n public fieldRepeatedBeamline!: boolean;\r\n public showCancelButton!: boolean;\r\n public showChangesTOCA!: boolean;\r\n\r\n currentResourceSummary?: ResourceSummary | null;\r\n\r\n public displayedColumnsShielding: string[] = ['position', 'shieldingName', 'keText', 'visible', 'alsoRelated', 'isRSSD'];\r\n public displayedColumnsVacuum: string[] = ['position', 'vacuumName', 'minPressure', 'maxPressure', 'channelName', 'location', 'alsoRelated'];\r\n public displayedColumnsOrganization: string[] = ['organizationName', 'endstation', 'branchline'];\r\n public displayedColumnsNote: string[] = ['note'];\r\n public displayedColumnsEndStation: string[] = ['endstation', 'absiTemplateType'];\r\n public displayedColumnsBranchline: string[] = ['branchline'];\r\n public displayedColumnsFastValveSensor: string[] = ['position', 'fvsName', 'keText'];\r\n public displayedColumnsTOCA: string[] = ['name'];\r\n\r\n public dataSourceRestriction: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceShielding: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceVacuum: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceOrganization: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceSupervisor: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceScientist: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceAlternateScientist: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceNote: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceEndStation: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceBranchline: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceOtherLinks: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceMEDrawing: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceAPPhaseSpace: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceSASurvey: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceFastValveSensor: MatTableDataSource = new MatTableDataSource();\r\n public dataSourceTOCA: MatTableDataSource = new MatTableDataSource();\r\n\r\n beamlineShutterRelations?: BeamlineShutterRelation[];\r\n beamlineShutterRelationsFiltered?: BeamlineShutterRelation[];\r\n beamlineShutterRelations$!: Observable;\r\n beamlineShutterRelationsSubs!: Subscription;\r\n\r\n resourceType = ResourceType;\r\n\r\n resourceStatuses = [{ id: 1, name: 'Active' }, { id: 2, name: 'Commisioning' }, { id: 3, name: 'Decommisioned' }, { id: 4, name: 'Inactive' }];\r\n\r\n beamlineHistory?: BeamlineCatalog[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private resourceService: ResourcesService,\r\n private catalogService: CatalogService,\r\n private keBuilder: KeChecklistBuilderService,\r\n private pvService: PVInfoService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.reset();\r\n this.loadBeamlineShutterRelations();\r\n if (this.showHistory)\r\n this.getHistory();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadPVs();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.beamlineShutterRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadBeamlineShutterRelations() {\r\n this.beamlineShutterRelations$ = this.store.select(state => state.BeamlineShutter.data);\r\n this.beamlineShutterRelationsSubs = this.beamlineShutterRelations$.subscribe(async data => {\r\n if (data?.length) {\r\n this.beamlineShutterRelations = data;\r\n if (this.beamlineShutter) {\r\n const beamlineShutter = this.beamlineShutterRelations.find(r => r.beamlineId == this.beamlineShutter?.beamlineId);\r\n if (beamlineShutter) this.beamlineShutter = beamlineShutter;\r\n await this.getDetails();\r\n }\r\n else this.reset();\r\n }\r\n });\r\n }\r\n\r\n async getDetails() {\r\n // Get Regular Data\r\n if (this.beamlineShutter?.beamlineId) {\r\n this.oldShutterName = this.beamlineShutter.shutterName;\r\n this.oldBeamlineName = this.beamlineShutter.beamlineName;\r\n this.loading.emit(true);\r\n // this.setUpdaterAndApprovalNames(this.beamlineShutter.beamlineId);\r\n\r\n if (this.beamlineShutter.beamlineId > 0) {\r\n await this.getResourceSummary();\r\n } else if (this.beamlineShutter.beamlineId < 0) {\r\n this.x(this.beamlineShutter.beamlineId);\r\n }\r\n }\r\n else if (this.beamlineShutter && !this.beamlineShutter?.beamlineId) {\r\n this.clear();\r\n this.adding = true;\r\n this.showModifyButton = false;\r\n this.restrictionsParent = { list: this.dataSourceRestriction.data };\r\n this.branchlineParent = { list: this.dataSourceBranchline.data };\r\n this.loading.emit(false);\r\n }\r\n else this.reset();\r\n }\r\n\r\n gettingRS = false;\r\n\r\n async getResourceSummary() {\r\n if (!this.gettingRS) {\r\n if (this.showPrevResource) {\r\n if (this.beamlineShutter?.beamlineId)\r\n this.currentResourceSummary = await this.resourceService.getResourceSummaryByBeamline(this.beamlineShutter.beamlineId).toPromise();\r\n if (this.beamlineShutter?.beamlineId && this.beamlineShutter.pendingResources.length) {\r\n this.gettingRS = true;\r\n\r\n const catalogModel = await this.catalogService.GetPendingCatalogById(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog).toPromise();\r\n this.resourceSummary = catalogModel?.resourceSummary;\r\n if (this.resourceSummary) {\r\n await this.addResourceSummaryInfo(this.resourceSummary);\r\n this.fillUserInfo(this.resourceSummary.alternateScientists);\r\n this.fillUserInfo(this.resourceSummary.scientists);\r\n this.fillUserInfo(this.resourceSummary.supervisors);\r\n }\r\n this.gettingRS = false;\r\n this.checkAddedAndDeletedRows();\r\n }\r\n else {\r\n this.showPrevResource = false;\r\n await this.getResourceSummary();\r\n }\r\n } else {\r\n if (this.beamlineShutter?.beamlineId) {\r\n this.gettingRS = true;\r\n const data = await this.resourceService.getResourceSummaryByBeamline(this.beamlineShutter.beamlineId).toPromise();\r\n if (data) {\r\n this.currentResourceSummary = null;\r\n await this.addResourceSummaryInfo(data);\r\n }\r\n // this.loading.emit(false);\r\n this.gettingRS = false;\r\n }\r\n }\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n rssCtrl: this.rssCtrl,\r\n pssCtrl: this.pssCtrl\r\n });\r\n this.formGroup.disable();\r\n }\r\n\r\n async addResourceSummaryInfo(data: ResourceSummary, isShowModification?: boolean) {\r\n this.resourceSummary = data as ResourceSummary;\r\n this.hasShutter = false;\r\n if (this.resourceSummary) {\r\n if (this.resourceSummary?.shutter) {\r\n this.shutter = this.resourceSummary.shutter as Resource;\r\n if (this.shutter?.name != null) {\r\n this.hasShutter = true;\r\n }\r\n if (!this.shutter) { this.shutter = new Resource(); }\r\n }\r\n else this.shutter = new Resource();\r\n this.buildForm();\r\n this.rssValue = undefined;\r\n this.pssValue = undefined;\r\n this.getPVValues();\r\n\r\n this.beamline = this.resourceSummary.beamline as Resource;\r\n if (!this.beamline) this.beamline = new Resource();\r\n this.dataSourceEndStation = new MatTableDataSource(this.resourceSummary.endstations);\r\n this.dataSourceBranchline = new MatTableDataSource(this.resourceSummary.branchlines);\r\n this.dataSourceRestriction = new MatTableDataSource(this.resourceSummary.restrictions);\r\n this.dataSourceShielding = new MatTableDataSource(this.resourceSummary.shieldings?.sort((a, b) => this.utils.sort(a.position, b.position)));\r\n this.dataSourceVacuum = new MatTableDataSource(this.convertSciNotationToString(this.resourceSummary.vacuums as Resource[]));\r\n this.dataSourceOrganization = new MatTableDataSource(this.resourceSummary.organizations);\r\n this.dataSourceSupervisor = new MatTableDataSource(this.joinRURs(this.resourceSummary.supervisors));\r\n this.dataSourceScientist = new MatTableDataSource(this.joinRURs(this.resourceSummary.scientists));\r\n this.dataSourceAlternateScientist = new MatTableDataSource(this.joinRURs(this.resourceSummary.alternateScientists));\r\n this.dataSourceNote.data = this.resourceSummary.notes as Note[];\r\n this.dataSourceOtherLinks.data = this.resourceSummary.otherLinks ?? [];\r\n\r\n if (!isShowModification) { this.dataSourceMEDrawing.data = this.resourceSummary.meDrawing ?? []; }\r\n if (!isShowModification) { this.dataSourceAPPhaseSpace.data = this.resourceSummary.apPhaseSpace ?? []; }\r\n if (!isShowModification) { this.dataSourceSASurvey.data = this.resourceSummary.saSurvey ?? []; }\r\n this.dataSourceFastValveSensor.data = this.resourceSummary.fastValveSensors as Resource[];\r\n this.dataSourceTOCA = new MatTableDataSource(this.resourceSummary.toca);\r\n\r\n // if (!isShowModification) { this.dataSourceTOCA.data = this.resourceSummary.toca ?? []; }\r\n // if (this.resourceSummary.toca && !isShowModification) {\r\n // // this.removeColumnOfDisplayColumns(this.displayedColumnsTOCA, 'showChanges');\r\n // if (this.beamlineShutter?.beamlineId) {\r\n // const tocaChanges = await this.resourceService.getTOCAChangesByResourceId(this.beamlineShutter.beamlineId, true).toPromise();\r\n // if (this.resourceSummary.toca.some(x => x.status === 5)) {\r\n // if (tocaChanges?.some(x => x.status === 0) || tocaChanges?.length !== this.resourceSummary.toca.length) {\r\n // // this.displayedColumnsTOCA.push('showChanges');\r\n // }\r\n // } else if (tocaChanges?.some(x => x.status === 0) && tocaChanges?.filter(x => x.status === 0).length !== this.resourceSummary.toca.length) {\r\n // // this.displayedColumnsTOCA.push('showChanges');\r\n // }\r\n // }\r\n // }\r\n\r\n if (this.resourceSummary.branchlines || this.resourceSummary.branchlines != null) {\r\n this.branchlineParent = { list: this.resourceSummary.branchlines };\r\n }\r\n this.restrictionsParent = { list: this.resourceSummary.restrictions };\r\n }\r\n this.showModifyButton = (this.isSA() || this.hasPrivilege(PrivilegeEnum.BeamlineCatalog));\r\n this.showCancelButton = false;\r\n\r\n const pendingResource = this.beamlineShutter?.pendingResources[this.beamlineShutter?.pendingResources.length - 1];\r\n\r\n if (pendingResource) {\r\n this.showApproveDisapprove = this.isSA() && this.currentUser?.id != pendingResource.createdBy;\r\n this.showModifyButton = (this.isSA() || this.hasPrivilege(PrivilegeEnum.BeamlineCatalog)) && this.currentUser?.id == pendingResource.createdBy && this.showPrevResource;\r\n this.showCancelButton = (this.isSA() || this.hasPrivilege(PrivilegeEnum.BeamlineCatalog)) && this.currentUser?.id == pendingResource.createdBy && this.showPrevResource;\r\n }\r\n this.adding = false;\r\n }\r\n\r\n x(id: number) {\r\n this.catalogService.GetPendingCatalogById(id, Catalog.BeamlineCatalog).toPromise().then(data => {\r\n if (data?.resourceSummary)\r\n this.addResourceSummaryInfo(data.resourceSummary);\r\n const pendingResource = this.beamlineShutter?.pendingResources?.find(x => (x.type == PendingResourcesType.Details || x.type == PendingResourcesType.Default) && (this.hasPrivilege(PrivilegeEnum.BeamlineCatalog) || this.isSA()));\r\n this.showApproveDisapprove = this.currentUser?.id != pendingResource?.createdBy;\r\n this.loading.emit(false);\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n // setUpdaterAndApprovalNames(beamlineId: number) {\r\n // this.catalogService.GetPendingResourcesUsersByResourceId(beamlineId, PendingResourcesType.Details).toPromise().then(PendingResourceUsers => {\r\n // this.detailResourceUsers.approverUserName = this.getUser(PendingResourceUsers?.approverId)?.name;\r\n // this.detailResourceUsers.approvedOn = PendingResourceUsers?.approvedOn;\r\n // this.detailResourceUsers.updateUserName = this.getUser(PendingResourceUsers?.updateById)?.name;\r\n // this.detailResourceUsers.updatedOn = PendingResourceUsers?.updatedOn;\r\n // });\r\n // const pendingResource = this.beamlineShutter?.pendingResources[this.beamlineShutter.pendingResources.length - 1];\r\n // if (this.showPrevResource && pendingResource) {\r\n // this.pendingResourceUsers.updateUserName = this.getUser(pendingResource?.createdBy)?.name;\r\n // this.pendingResourceUsers.updatedOn = pendingResource?.createdOn;\r\n // }\r\n // }\r\n\r\n async saveResource() {\r\n this.loading.emit(true);\r\n if (await this.isValid()) {\r\n const catalogModel = new CatalogModel();\r\n catalogModel.resourceSummary = this.addInputDataToResourceSummary();\r\n if (!this.modifying) {\r\n this.catalogService.SaveAsDraft(catalogModel, Catalog.BeamlineCatalog).toPromise().then(() => {\r\n this.alert.message('beamline_Create_SentToApprove');\r\n this.reset();\r\n this.showPrevResource = true;\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n } else {\r\n this.catalogService.SaveAsDraftType(catalogModel, Catalog.BeamlineCatalog, PendingResourcesType.Details).toPromise().then(() => {\r\n this.reset();\r\n this.showPrevResource = true;\r\n this.alert.message('beamline_Update_SentToApprove');\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n } else {\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n getDataFromRestriction(restrictions: Restriction[]) {\r\n this.dataSourceRestriction.data = restrictions;\r\n }\r\n\r\n openAddEndstationDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = new Resource();\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(EndstationComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n if (this.isResourceRepeated(this.dataSourceEndStation.data, data, 'Endstation')) {\r\n this.addEndstation(data);\r\n this.setFormDirty();\r\n }\r\n }\r\n });\r\n }\r\n\r\n openEditEndstationDialog(endstation: Resource, index: number) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = this.utils.cloneDeep(endstation);\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(EndstationComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((endstationUpdated: Resource) => {\r\n if (endstationUpdated) {\r\n this.dataSourceEndStation.data[index] = endstationUpdated;\r\n this.dataSourceEndStation.filter = '';\r\n this.updateResourceNames(endstationUpdated, endstation.name ?? '');\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n openAddBranchlineDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = new Resource();\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(BranchlineComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (this.isResourceRepeated(this.dataSourceBranchline.data, data, 'Branchline')) {\r\n this.addBranchline(data);\r\n this.setFormDirty();\r\n this.branchlineParent = { list: this.dataSourceBranchline.data };\r\n }\r\n }\r\n });\r\n }\r\n\r\n openEditBranchlineDialog(branchline: Resource, index: number) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = this.utils.cloneDeep(branchline);\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(BranchlineComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((branchlineUpdated: Resource) => {\r\n if (branchlineUpdated) {\r\n this.dataSourceBranchline.data[index] = branchlineUpdated;\r\n this.dataSourceBranchline.filter = '';\r\n this.updateResourceNames(branchlineUpdated, branchline.name ?? '');\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n openAddShieldingDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n resource: new Resource(),\r\n shutter: this.shutter\r\n };\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ShieldingComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (this.isResourceRepeated(this.dataSourceShielding.data, data, 'Shielding')) {\r\n this.addShielding(data);\r\n this.setFormDirty();\r\n }\r\n }\r\n });\r\n }\r\n\r\n openEditShieldingDialog(shielding: Resource) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n resource: shielding,\r\n shutter: this.shutter\r\n };\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ShieldingComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data)\r\n this.setFormDirty();\r\n });\r\n }\r\n\r\n openAddVacuumDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n resource: new Resource(),\r\n shutter: this.shutter\r\n };\r\n dialogConfig.width = '500px';\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(VacuumComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (this.isResourceRepeated(this.dataSourceVacuum.data, data, 'Vacuum')) {\r\n this.addVacuum(data);\r\n this.setFormDirty();\r\n }\r\n }\r\n });\r\n }\r\n\r\n openEditVacuumDialog(vacuum: Resource) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n resource: vacuum,\r\n shutter: this.shutter\r\n };\r\n dialogConfig.width = '500px';\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(VacuumComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n const index = this.dataSourceVacuum.data.findIndex(x => x.id == data.id);\r\n this.dataSourceVacuum.data[index] = data;\r\n this.setFormDirty();\r\n });\r\n }\r\n\r\n openAddOrganizationDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = { resourceOrganization: new ResourceOrganization(), branchlines: this.dataSourceBranchline.data, endstations: this.dataSourceEndStation.data };\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(OrganizationComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data: ResourceOrganization) => {\r\n if (data && data.organization && data.branchline && data.endstation) {\r\n if (this.isOrganizationRepeted(this.dataSourceOrganization.data, data.organization, data.branchline, data.endstation)) {\r\n this.addOrganization(data);\r\n this.setFormDirty();\r\n }\r\n }\r\n });\r\n }\r\n\r\n openEditOrganizationDialog(resourceOrganization: ResourceOrganization, index: number) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.data = { resourceOrganization: this.utils.cloneDeep(resourceOrganization), branchlines: this.dataSourceBranchline.data, endstations: this.dataSourceEndStation.data };\r\n const dialogRef = this.dialog.open(OrganizationComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (this.isOrganizationRepeted(this.dataSourceOrganization.data, data.organization, data.branchline, data.endstation, resourceOrganization)) {\r\n this.dataSourceOrganization.data[index] = data;\r\n this.dataSourceOrganization.filter = '';\r\n this.setFormDirty();\r\n }\r\n }\r\n });\r\n }\r\n\r\n openAddNoteDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = new Note();\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(NoteComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.addNote(data);\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n openEditNoteDialog(note: Note) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = note;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(NoteComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(() => {\r\n this.setFormDirty();\r\n });\r\n }\r\n\r\n openAddFastValveSensorDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = new Resource();\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(FastValveSensorComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data != null) {\r\n this.addFastValveSensor(data);\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n openEditFastValveSensorDialog(fastValveSensor: Resource) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = fastValveSensor;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(FastValveSensorComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(() => {\r\n this.setFormDirty();\r\n });\r\n }\r\n\r\n openAddDisapprovalDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = '';\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(DisapprovalReasonComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disapprove(data);\r\n }\r\n });\r\n }\r\n\r\n addEndstation(data: Resource) {\r\n const endstation = this.createNewEndstation(this.dataSourceEndStation.data.length + 1, data);\r\n this.dataSourceEndStation.data.push(endstation);\r\n this.dataSourceEndStation.filter = '';\r\n }\r\n\r\n addBranchline(data: Resource) {\r\n const branchline = this.createNewBranchline(this.dataSourceBranchline.data.length + 1, data);\r\n this.dataSourceBranchline.data.push(branchline);\r\n this.dataSourceBranchline.filter = '';\r\n }\r\n\r\n addShielding(data: Resource) {\r\n const shielding = this.createNewShielding(this.dataSourceShielding.data.length + 1, data);\r\n this.dataSourceShielding.data.push(shielding);\r\n this.dataSourceShielding.filter = '';\r\n }\r\n\r\n addVacuum(data: Resource) {\r\n const vacuum = this.createNewVacuum(this.dataSourceVacuum.data.length + 1, data);\r\n this.dataSourceVacuum.data.push(vacuum);\r\n this.dataSourceVacuum.filter = '';\r\n }\r\n\r\n addOrganization(data: ResourceOrganization) {\r\n this.dataSourceOrganization.data.push(data);\r\n this.dataSourceOrganization.filter = '';\r\n }\r\n\r\n addNote(data: Note) {\r\n this.dataSourceNote.data.push(data);\r\n this.dataSourceNote.filter = '';\r\n }\r\n\r\n addFastValveSensor(data: Resource) {\r\n const fastValveSensor = this.createNewFastValveSensor(this.dataSourceFastValveSensor.data.length + 1, data);\r\n this.dataSourceFastValveSensor.data.push(fastValveSensor);\r\n this.dataSourceFastValveSensor.filter = '';\r\n }\r\n\r\n approve() {\r\n this.loading.emit(true);\r\n if (this.beamlineShutter?.beamlineId)\r\n this.catalogService.Approve(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog, PendingResourcesType.Details).toPromise().then(savedId => {\r\n this.alert.message('beamline_Approved');\r\n if (this.shutter?.id && savedId) {\r\n this.keBuilder.UpdateTemplatesAfterUpdate(this.shutter.id, savedId).toPromise().then(data => {\r\n const resources = data as Resource[];\r\n this.alert.message('beamline_KETemplates_Updated', [new MessagePlaceholder('{resources}', resources.map(r => r.name).join(', '))], MessageTypeEnum.Info);\r\n this.reset();\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n } else {\r\n this.reset();\r\n }\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n disapprove(disapprovalReason: string) {\r\n if (this.beamlineShutter?.beamlineId)\r\n this.catalogService.Unapprove(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog, disapprovalReason, PendingResourcesType.Details).toPromise().then(() => {\r\n this.alert.message('beamline_Disapproved');\r\n this.reset();\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n modifyResource() {\r\n this.showModifyButton = false;\r\n this.adding = false;\r\n this.deleting = false;\r\n this.modifying = true;\r\n this.formGroup.enable();\r\n this.setFormDirty(false);\r\n }\r\n\r\n deleteEndstation(data: Resource) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Endstation').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceEndStation.data.indexOf(data);\r\n this.dataSourceEndStation.data.splice(index, 1);\r\n this.deleteResourceNames(data);\r\n this.deleteResourceNamesNtype(data);\r\n if (this.dataSourceEndStation.data.length > 0) {\r\n this.reorderPositions(this.dataSourceEndStation.data);\r\n }\r\n this.dataSourceEndStation.filter = '';\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n deleteBranchline(data: Resource) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Branchline').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceBranchline.data.indexOf(data);\r\n this.dataSourceBranchline.data.splice(index, 1);\r\n this.deleteResourceNames(data);\r\n this.deleteResourceNamesNtype(data);\r\n if (this.dataSourceBranchline.data.length > 0) {\r\n this.reorderPositions(this.dataSourceBranchline.data);\r\n }\r\n this.dataSourceBranchline.filter = '';\r\n this.branchlineParent = { list: this.dataSourceBranchline.data };\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n deleteShielding(data: Resource) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Shielding').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceShielding.data.indexOf(data);\r\n this.dataSourceShielding.data.splice(index, 1);\r\n if (this.dataSourceShielding.data.length > 0) {\r\n this.reorderPositions(this.dataSourceShielding.data);\r\n }\r\n this.dataSourceShielding.filter = '';\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n deleteVacuum(data: Resource) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Vacuum').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceVacuum.data.indexOf(data);\r\n this.dataSourceVacuum.data.splice(index, 1);\r\n if (this.dataSourceVacuum.data.length > 0) {\r\n this.reorderPositions(this.dataSourceVacuum.data);\r\n }\r\n this.dataSourceVacuum.filter = '';\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n deleteOrganization(data: ResourceOrganization) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Organization').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceOrganization.data.indexOf(data);\r\n this.dataSourceOrganization.data.splice(index, 1);\r\n this.dataSourceOrganization.filter = '';\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n deleteNote(data: Note) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Note').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceNote.data.indexOf(data);\r\n this.dataSourceNote.data.splice(index, 1);\r\n this.dataSourceNote.filter = '';\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n deleteFastValveSensor(data: Resource) {\r\n this.dialogService.ConfirmationDialog('Remove', 'this Valve Sensor').subscribe((result) => {\r\n if (result) {\r\n const index = this.dataSourceFastValveSensor.data.indexOf(data);\r\n this.dataSourceFastValveSensor.data.splice(index, 1);\r\n if (this.dataSourceFastValveSensor.data.length > 0) {\r\n this.reorderPositions(this.dataSourceFastValveSensor.data);\r\n }\r\n this.dataSourceFastValveSensor.filter = '';\r\n this.setFormDirty();\r\n }\r\n });\r\n }\r\n\r\n createNewEndstation(position: number, resource?: Resource): Resource {\r\n const endstationCreated: Resource = {\r\n id: 0,\r\n name: resource?.name,\r\n type: ResourceType.Endstation,\r\n position,\r\n status: 1,\r\n absiTemplateTypeID: resource?.absiTemplateTypeID,\r\n absiTemplateName: resource?.absiTemplateName\r\n };\r\n return endstationCreated;\r\n }\r\n\r\n createNewBranchline(position: number, resource?: Resource): Resource {\r\n const branchlineCreated: Resource = {\r\n id: 0,\r\n name: resource?.name,\r\n type: ResourceType.Branchline,\r\n position,\r\n status: 1,\r\n };\r\n return branchlineCreated;\r\n }\r\n\r\n createNewShielding(position: number, resource?: Resource): Resource {\r\n const shieldingCreated: Resource = {\r\n id: resource?.id ?? 0,\r\n name: resource?.name,\r\n type: ResourceType.Shielding,\r\n position,\r\n status: 1,\r\n keText: resource?.keText,\r\n checkboxVisible: true,\r\n sharedWith: resource?.sharedWith,\r\n };\r\n return shieldingCreated;\r\n }\r\n\r\n createNewVacuum(position: number, resource?: Resource): Resource {\r\n const vacuumCreated: Resource = {\r\n id: resource?.id ?? 0,\r\n name: resource?.name,\r\n type: ResourceType.Vacuum,\r\n position,\r\n status: 1,\r\n keRequirement: resource?.keRequirement,\r\n channelName: resource?.channelName,\r\n location: resource?.location,\r\n keVacuumMaxRequirement: resource?.keVacuumMaxRequirement,\r\n keVacuumMinRequirement: resource?.keVacuumMinRequirement,\r\n MinPressureString: resource?.MinPressureString,\r\n MaxPressureString: resource?.MaxPressureString,\r\n sharedWith: resource?.sharedWith\r\n };\r\n return vacuumCreated;\r\n }\r\n\r\n createNewShutter(resource: Resource): Resource {\r\n const shutterCreated: Resource = {\r\n id: resource.id,\r\n name: resource.name,\r\n type: ResourceType.Shutter,\r\n status: 1,\r\n rssChannelName: resource.rssChannelName,\r\n pssChannelName: resource.pssChannelName,\r\n drawingPostLocation: resource.drawingPostLocation,\r\n rssRackLocation: resource.rssRackLocation,\r\n epsRackLocation: resource.epsRackLocation,\r\n fvsemLocation: resource.fvsemLocation\r\n };\r\n return shutterCreated;\r\n }\r\n\r\n createNewBeamline(resource: Resource): Resource {\r\n const beamlineCreated: Resource = {\r\n id: resource.id,\r\n name: resource.name,\r\n type: ResourceType.Beamline,\r\n status: 1,\r\n rssChannelName: resource.rssChannelName,\r\n pssChannelName: resource.pssChannelName,\r\n description: resource.description,\r\n beamLineExtension: resource.beamLineExtension,\r\n statusResourceId: resource.statusResourceId\r\n };\r\n return beamlineCreated;\r\n }\r\n\r\n createNewFastValveSensor(position: number, resource?: Resource): Resource {\r\n const fastValveSensorCreated: Resource = {\r\n id: 0,\r\n name: resource?.name,\r\n type: ResourceType.FastValveSensor,\r\n position,\r\n status: 1,\r\n keText: resource?.keText,\r\n };\r\n return fastValveSensorCreated;\r\n }\r\n\r\n reorderPositions(resources: Resource[]) {\r\n let addPosition = 1;\r\n resources.map(element => {\r\n element.position = addPosition++;\r\n });\r\n }\r\n\r\n setShutterSelected() {\r\n if (this.shutter) {\r\n this.shutter = this.createNewShutter(this.shutter);\r\n this.buildForm();\r\n this.formGroup.enable();\r\n this.updateResourceNames(this.shutter);\r\n this.hasShutter = true;\r\n } else {\r\n this.hasShutter = false;\r\n this.formGroup.disable();\r\n }\r\n }\r\n\r\n cancelChanges() {\r\n if (this.beamlineShutter?.pendingResources.length && this.beamlineShutter.pendingResources[0].createdBy == this.currentUser?.id) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: 'Are you sure you want to Cancel you changes?',\r\n icon: 'question'\r\n };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data && this.beamlineShutter?.beamlineId) {\r\n this.catalogService.CancelPending(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog, PendingResourcesType.Details).subscribe(() => {\r\n this.reset();\r\n this.alert.message('beamline_Disapproved');\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.reset();\r\n }, 300);\r\n }\r\n }\r\n\r\n cancel() {\r\n this.loadBeamlineShutterRelations();\r\n if (this.adding)\r\n this.cancelAdd.emit();\r\n this.modifying = false;\r\n this.adding = false;\r\n this.deleting = false;\r\n this.showCancelButton = false;\r\n this.setFormDirty(false);\r\n }\r\n\r\n reset() {\r\n this.scrollToTop();\r\n this.adding = false;\r\n this.modifying = false;\r\n this.deleting = false;\r\n\r\n this.showApproveDisapprove = false;\r\n this.showModifyButton = false;\r\n this.showCancelButton = false;\r\n\r\n this.hasShutter = false;\r\n this.fieldRepeatedShutter = false;\r\n this.fieldRepeatedBeamline = false;\r\n this.showChangesTOCA = false;\r\n\r\n this.setFormDirty(false);\r\n\r\n this.loading.emit(false);\r\n\r\n }\r\n\r\n clear() {\r\n this.resetRURAuxData();\r\n this.shutter = new Resource();\r\n this.beamline = new Resource();\r\n this.catalogModel = new CatalogModel();\r\n this.supervisors = [];\r\n\r\n this.dataSourceRestriction = new MatTableDataSource();\r\n this.dataSourceShielding = new MatTableDataSource();\r\n this.dataSourceVacuum = new MatTableDataSource();\r\n this.dataSourceOrganization = new MatTableDataSource();\r\n this.dataSourceSupervisor = new MatTableDataSource();\r\n this.dataSourceScientist = new MatTableDataSource();\r\n this.dataSourceAlternateScientist = new MatTableDataSource();\r\n this.dataSourceNote = new MatTableDataSource();\r\n this.dataSourceEndStation = new MatTableDataSource();\r\n this.dataSourceBranchline = new MatTableDataSource();\r\n this.dataSourceOtherLinks = new MatTableDataSource();\r\n this.dataSourceMEDrawing = new MatTableDataSource();\r\n this.dataSourceAPPhaseSpace = new MatTableDataSource();\r\n this.dataSourceSASurvey = new MatTableDataSource();\r\n this.dataSourceFastValveSensor = new MatTableDataSource();\r\n this.dataSourceTOCA = new MatTableDataSource();\r\n // this.detailResourceUsers = new detailsUsers();\r\n }\r\n\r\n reorderTable(event: any, dataSource: MatTableDataSource) {\r\n if (this.adding || this.modifying) {\r\n moveItemInArray(dataSource.data, event.previousIndex, event.currentIndex);\r\n this.reorderPositions(dataSource.data);\r\n this.setFormDirty();\r\n dataSource.filter = '';\r\n }\r\n }\r\n\r\n getColumns(type: ResourceType) {\r\n switch (type) {\r\n case ResourceType.Shielding:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsShielding : this.displayedColumnsShielding.concat('add');\r\n case ResourceType.Vacuum:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsVacuum : this.displayedColumnsVacuum.concat('add');\r\n case ResourceType.Endstation:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsEndStation : this.displayedColumnsEndStation.concat('add');\r\n case ResourceType.Branchline:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsBranchline : this.displayedColumnsBranchline.concat('add');\r\n case ResourceType.FastValveSensor:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsFastValveSensor : this.displayedColumnsFastValveSensor.concat('add');\r\n case ResourceType.Note:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsNote : this.displayedColumnsNote.concat('add');\r\n case ResourceType.Organization:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsOrganization : this.displayedColumnsOrganization.concat('add');\r\n case ResourceType.TOCA:\r\n return (!this.adding && !this.modifying) ? this.displayedColumnsTOCA : this.displayedColumnsTOCA.concat('showChanges');\r\n }\r\n return [];\r\n }\r\n\r\n async isValid() {\r\n const resourceSummary: ResourceSummary = {\r\n shutter: this.shutter,\r\n beamline: this.beamline\r\n };\r\n const catalogModel: CatalogModel = {\r\n resourceSummary\r\n };\r\n if (!this.shutter?.name && !this.beamline?.name) {\r\n if (!this.shutter?.name) {\r\n this.alert.message('shutter_Required');\r\n return false;\r\n }\r\n if (!this.beamline?.name) {\r\n this.alert.message('beamline_Name_Required');\r\n return false;\r\n } else {\r\n if (this.oldBeamlineName !== this.beamline.name) {\r\n this.fieldRepeatedBeamline = true;\r\n }\r\n }\r\n if (!this.beamline.statusResourceId) {\r\n this.alert.message('beamline_Status_Required');\r\n return false;\r\n }\r\n }\r\n if (this.beamline?.name || this.shutter?.name) {\r\n if (!this.beamline?.name) {\r\n this.alert.message('beamline_Name_Required');\r\n return false;\r\n } else {\r\n if (this.oldBeamlineName !== this.beamline.name) {\r\n this.fieldRepeatedBeamline = true;\r\n }\r\n }\r\n if (!this.beamline.statusResourceId) {\r\n this.alert.message('beamline_Status_Required');\r\n return false;\r\n }\r\n if (this.shutter?.name) {\r\n if (this.oldShutterName !== this.shutter?.name) {\r\n this.fieldRepeatedShutter = true;\r\n }\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n isResourceRepeated(resources: Resource[], resource: Resource, typeName: string) {\r\n if (resources.some(x => x.name?.toLowerCase() === resource.name?.toLowerCase())) {\r\n this.alert.message('resource_Added', [new MessagePlaceholder('{resourceTypeName}', typeName), new MessagePlaceholder('{resourceName}', resource.name?.toUpperCase())]);\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n isOrganizationRepeted(resourceOrganizations: ResourceOrganization[], organization: Organization, branchline: Resource, endstation: Resource, oldResourceOrganization?: ResourceOrganization): boolean {\r\n let isOrganizationNameEqual: boolean = false;\r\n if (resourceOrganizations.some(resourceOrg => resourceOrg.organization?.name === organization.name && (resourceOrg.branchline?.name === branchline?.name || resourceOrg.endstation?.name === endstation?.name))) {\r\n if (oldResourceOrganization) { isOrganizationNameEqual = oldResourceOrganization.organization?.name === organization.name; }\r\n if (!isOrganizationNameEqual) {\r\n this.alert.message('organization_Added', [new MessagePlaceholder('{organizationName}', organization.name?.toUpperCase())]);\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n addInputDataToResourceSummary(): ResourceSummary | undefined {\r\n const resourceSummary = new ResourceSummary();\r\n if (resourceSummary) {\r\n if (this.dataSourceEndStation.data.length) {\r\n resourceSummary.endstations = this.dataSourceEndStation.data;\r\n } else {\r\n resourceSummary.endstations = [];\r\n }\r\n if (this.dataSourceBranchline.data.length) {\r\n resourceSummary.branchlines = this.dataSourceBranchline.data;\r\n } else {\r\n resourceSummary.branchlines = [];\r\n }\r\n if (this.dataSourceRestriction.data.length) {\r\n resourceSummary.restrictions = this.dataSourceRestriction.data;\r\n } else {\r\n resourceSummary.restrictions = [];\r\n }\r\n if (this.dataSourceShielding.data.length) {\r\n this.reorderPositions(this.dataSourceShielding.data);\r\n resourceSummary.shieldings = this.dataSourceShielding.data;\r\n } else {\r\n resourceSummary.shieldings = [];\r\n }\r\n if (this.dataSourceVacuum.data.length) {\r\n this.reorderPositions(this.dataSourceVacuum.data);\r\n resourceSummary.vacuums = this.convertSciNotationToNumber(this.dataSourceVacuum.data);\r\n } else {\r\n resourceSummary.vacuums = [];\r\n }\r\n if (this.dataSourceOrganization.data.length) {\r\n resourceSummary.organizations = this.dataSourceOrganization.data;\r\n } else {\r\n resourceSummary.organizations = [];\r\n }\r\n if (this.dataSourceSupervisor.data.length) {\r\n resourceSummary.supervisors = this.addRURs(this.dataSourceSupervisor.data);\r\n } else {\r\n resourceSummary.supervisors = [];\r\n }\r\n if (this.dataSourceScientist.data.length) {\r\n resourceSummary.scientists = this.addRURs(this.dataSourceScientist.data);\r\n } else {\r\n resourceSummary.scientists = [];\r\n }\r\n if (this.dataSourceAlternateScientist.data.length) {\r\n resourceSummary.alternateScientists = this.addRURs(this.dataSourceAlternateScientist.data);\r\n } else {\r\n resourceSummary.alternateScientists = [];\r\n }\r\n if (this.dataSourceNote.data.length) {\r\n resourceSummary.notes = this.dataSourceNote.data;\r\n } else {\r\n resourceSummary.notes = [];\r\n }\r\n if (this.dataSourceFastValveSensor.data.length) {\r\n resourceSummary.fastValveSensors = this.dataSourceFastValveSensor.data;\r\n } else {\r\n resourceSummary.fastValveSensors = [];\r\n }\r\n if (this.dataSourceOtherLinks.data.length) {\r\n resourceSummary.otherLinks = this.dataSourceOtherLinks.data;\r\n } else {\r\n resourceSummary.otherLinks = [];\r\n }\r\n if (this.shutter) {\r\n resourceSummary.shutter = this.createNewShutter(this.shutter);\r\n }\r\n if (this.beamline)\r\n resourceSummary.beamline = this.createNewBeamline(this.beamline);\r\n }\r\n return resourceSummary;\r\n }\r\n\r\n updateResourceNames(resource: Resource, oldResourceName?: string) {\r\n if (this.dataSourceOrganization.data.length) {\r\n this.dataSourceOrganization.data.map(resourceOrg => {\r\n if (resource.type === ResourceType.Endstation && resourceOrg.endstation) {\r\n if (resourceOrg.endstation.id === resource.id) { resourceOrg.endstation = resource; }\r\n else if (resourceOrg.endstation.name === oldResourceName) { resourceOrg.endstation = resource; }\r\n }\r\n if (resource.type === ResourceType.Branchline && resourceOrg.branchline) {\r\n if (resourceOrg.branchline.id === resource.id) { resourceOrg.branchline = resource; }\r\n else if (resourceOrg.branchline.name === oldResourceName) { resourceOrg.branchline = resource; }\r\n }\r\n });\r\n this.dataSourceOrganization.filter = '';\r\n }\r\n if (oldResourceName) {\r\n this.dataSourceSupervisor.data = this.updateResourceNamesOfRURs(this.dataSourceSupervisor.data, resource, oldResourceName);\r\n this.dataSourceScientist.data = this.updateResourceNamesOfRURs(this.dataSourceScientist.data, resource, oldResourceName);\r\n this.dataSourceAlternateScientist.data = this.updateResourceNamesOfRURs(this.dataSourceAlternateScientist.data, resource, oldResourceName);\r\n }\r\n if (this.dataSourceRestriction.data.length) {\r\n this.dataSourceRestriction.data.map(x => {\r\n if (x.locationID) {\r\n if (x.locationID === resource.id) { x.location = resource; }\r\n } else if (x.location?.name === oldResourceName) { x.location = resource; }\r\n });\r\n this.dataSourceRestriction.filter = '';\r\n }\r\n }\r\n\r\n deleteResourceNames(resourceToDelete: Resource) {\r\n let index = -1;\r\n if (this.dataSourceOrganization.data.length) {\r\n this.dataSourceOrganization.data.map(resourceOrg => {\r\n if (resourceToDelete.type === ResourceType.Endstation && resourceOrg.endstation) {\r\n if (resourceOrg.endstation.id === resourceToDelete.id) { resourceOrg.endstation = new Resource(); }\r\n else if (resourceOrg.endstation.name === resourceToDelete.name) { resourceOrg.endstation = new Resource(); }\r\n }\r\n if (resourceToDelete.type === ResourceType.Branchline && resourceOrg.branchline) {\r\n if (resourceOrg.branchline.id === resourceToDelete.id) { resourceOrg.branchline = new Resource(); }\r\n else if (resourceOrg.branchline.name === resourceToDelete.name) { resourceOrg.branchline = new Resource(); }\r\n }\r\n });\r\n this.dataSourceOrganization.filter = '';\r\n }\r\n this.dataSourceSupervisor.data = this.joinRURs(this.addRURs(this.deleteResourceNamesOfRURs(this.dataSourceSupervisor.data, resourceToDelete)));\r\n this.dataSourceScientist.data = this.joinRURs(this.addRURs(this.deleteResourceNamesOfRURs(this.dataSourceScientist.data, resourceToDelete)));\r\n this.dataSourceAlternateScientist.data = this.joinRURs(this.addRURs(this.deleteResourceNamesOfRURs(this.dataSourceAlternateScientist.data, resourceToDelete)));\r\n\r\n if (this.dataSourceRestriction.data.length) {\r\n index = 0;\r\n this.dataSourceRestriction.data.map(x => {\r\n index++;\r\n if (x.locationID) {\r\n if (x.locationID === resourceToDelete.id) {\r\n this.dataSourceRestriction.data.splice(index - 1, 1);\r\n }\r\n }\r\n });\r\n this.dataSourceAlternateScientist.filter = '';\r\n }\r\n }\r\n\r\n deleteResourceNamesNtype(resource: Resource) {\r\n let index = 0;\r\n if (this.dataSourceOrganization.data.length) {\r\n index = 0;\r\n this.dataSourceOrganization.data.map(x => {\r\n index++;\r\n if (!x.endstationId) {\r\n if (x.endstation?.name === resource.name && x.endstation?.type === resource.type) {\r\n this.dataSourceOrganization.data.splice(index - 1, 1);\r\n }\r\n }\r\n if (!x.branchlineId) {\r\n if (x.branchline?.name === resource.name && x.branchline?.type === resource.type) {\r\n this.dataSourceOrganization.data.splice(index - 1, 1);\r\n }\r\n }\r\n });\r\n this.dataSourceOrganization.filter = '';\r\n }\r\n if (this.dataSourceSupervisor.data.length) {\r\n index = 0;\r\n this.dataSourceSupervisor.data.map(x => {\r\n index++;\r\n if (!x.endstationId) {\r\n if (x.endstation?.name === resource.name && x.endstation?.type === resource.type) {\r\n this.dataSourceSupervisor.data.splice(index - 1, 1);\r\n }\r\n }\r\n if (!x.branchlineId) {\r\n if (x.branchline?.name === resource.name && x.branchline?.type === resource.type) {\r\n this.dataSourceSupervisor.data.splice(index - 1, 1);\r\n }\r\n }\r\n });\r\n this.dataSourceSupervisor.filter = '';\r\n }\r\n if (this.dataSourceScientist.data.length) {\r\n index = 0;\r\n this.dataSourceScientist.data.map(x => {\r\n index++;\r\n if (x.endstationId) {\r\n if (x.endstation?.name === resource.name && x.endstation?.type === resource.type) {\r\n this.dataSourceScientist.data.splice(index - 1, 1);\r\n }\r\n }\r\n if (x.branchlineId) {\r\n if (x.branchline?.name === resource.name && x.branchline?.type === resource.type) {\r\n this.dataSourceScientist.data.splice(index - 1, 1);\r\n }\r\n }\r\n });\r\n this.dataSourceScientist.filter = '';\r\n }\r\n if (this.dataSourceAlternateScientist.data.length) {\r\n index = 0;\r\n this.dataSourceAlternateScientist.data.map(x => {\r\n index++;\r\n if (x.endstationId) {\r\n if (x.endstation?.name === resource.name && x.endstation?.type === resource.type) {\r\n this.dataSourceAlternateScientist.data.splice(index - 1, 1);\r\n }\r\n }\r\n if (x.branchlineId) {\r\n if (x.branchline?.name === resource.name && x.branchline?.type === resource.type) {\r\n this.dataSourceAlternateScientist.data.splice(index - 1, 1);\r\n }\r\n }\r\n });\r\n this.dataSourceAlternateScientist.filter = '';\r\n }\r\n if (this.dataSourceRestriction.data.length) {\r\n index = 0;\r\n this.dataSourceRestriction.data.map(x => {\r\n index++;\r\n if (!x.locationID) {\r\n if (x.location?.name === resource.name && x.location?.type === resource.type) {\r\n this.dataSourceRestriction.data.splice(index - 1, 1);\r\n }\r\n }\r\n });\r\n this.dataSourceAlternateScientist.filter = '';\r\n }\r\n }\r\n\r\n addRURs(RURs: ResourceUserRelation[]): ResourceUserRelation[] {\r\n const RURsToSend: ResourceUserRelation[] = [];\r\n RURs.map(RURTable => {\r\n RURTable.resourceUserRelations?.map(RUR => {\r\n RURsToSend.push(RUR);\r\n });\r\n });\r\n return RURsToSend;\r\n }\r\n\r\n updateResourceUserRelations(dataSourceRUR: MatTableDataSource, data: { resourceUserRlations: ResourceUserRelation[], user: User, endstationsList: string[], branchlinesList: string[] }, index: number) {\r\n const RURToUpdate: ResourceUserRelation = {\r\n user: data.user,\r\n joinEndstations: data.endstationsList,\r\n joinBranchlines: data.branchlinesList,\r\n resourceUserRelations: data.resourceUserRlations\r\n };\r\n dataSourceRUR.data[index] = RURToUpdate;\r\n dataSourceRUR.filter = '';\r\n }\r\n\r\n joinRURs(resourceUserRelations?: ResourceUserRelation[]): ResourceUserRelation[] {\r\n let RURs = this.utils.cloneDeep(resourceUserRelations);\r\n if (RURs) {\r\n this.resetRURAuxData();\r\n let exit = false;\r\n const RURsJoined: ResourceUserRelation[] = [];\r\n if (RURs.length > 1) {\r\n do {\r\n for (let i = 0; i < RURs.length; i++) {\r\n if (RURs[0].user?.id === RURs[i].user?.id) {\r\n this.addInfoRUR(RURs, i);\r\n }\r\n }\r\n RURsJoined.push(this.RURAux);\r\n if (this.RURAux.user?.id)\r\n RURs = this.deleteRURsByUserId(this.RURAux.user.id, RURs);\r\n this.resetRURAuxData();\r\n if (RURs.length <= 1) {\r\n exit = true;\r\n }\r\n } while (!exit);\r\n }\r\n if (RURs.length === 1) {\r\n this.addInfoRUR(RURs, 0);\r\n RURsJoined.push(this.RURAux);\r\n }\r\n RURs = RURsJoined;\r\n return RURsJoined;\r\n }\r\n return [];\r\n }\r\n\r\n resetRURAuxData() {\r\n this.RURAux = new ResourceUserRelation();\r\n this.RURAux.resourceUserRelations = [];\r\n this.RURAux.joinEndstations = [];\r\n this.RURAux.joinBranchlines = [];\r\n }\r\n\r\n addInfoRUR(RURs: ResourceUserRelation[], position: number) {\r\n const RUR: ResourceUserRelation = {\r\n user: RURs[position].user,\r\n endstation: RURs[position].endstation,\r\n branchline: RURs[position].branchline,\r\n isAdded: RURs[position].isAdded,\r\n isDeleted: RURs[position].isDeleted,\r\n isModified: RURs[position].isModified,\r\n };\r\n this.RURAux.resourceUserRelations?.push(RUR);\r\n this.RURAux.user = RURs[position].user;\r\n this.RURAux.isAdded = RURs[position].isAdded;\r\n this.RURAux.isDeleted = RURs[position].isDeleted;\r\n const e = RURs[position].endstation?.name;\r\n if (e) {\r\n this.RURAux.joinEndstations?.push(e);\r\n }\r\n const b = RURs[position].branchline?.name;\r\n if (b) {\r\n this.RURAux.joinBranchlines?.push(b);\r\n }\r\n }\r\n\r\n deleteRURsByUserId(userId: number, RURs: ResourceUserRelation[]): ResourceUserRelation[] {\r\n for (let i = RURs.length - 1; i >= 0; i--) {\r\n if (RURs[i].user?.id === userId) {\r\n RURs.splice(i, 1);\r\n }\r\n }\r\n return RURs;\r\n }\r\n\r\n\r\n\r\n\r\n\r\n fillUserInfo(ur?: ResourceUserRelation[]) {\r\n ur?.map(u => {\r\n u.branchlineId = u.branchline?.id;\r\n u.endstationId = u.endstation?.id;\r\n u.resourceId = u.resource?.id;\r\n u.roleId = u.role?.id;\r\n u.userId = u.user?.id;\r\n });\r\n }\r\n\r\n convertSciNotationToString(vaccums: Resource[]): Resource[] {\r\n vaccums.map(data => {\r\n if (data.keVacuumMinRequirement === 0.0) {\r\n data.MinPressureString = '';\r\n } else {\r\n data.MinPressureString = data.keVacuumMinRequirement?.toPrecision(3).toString().replace('e', ' x 10').replace('-', '^-');\r\n }\r\n if (data.keVacuumMaxRequirement === 0.0) {\r\n data.MaxPressureString = '';\r\n } else {\r\n data.MaxPressureString = data.keVacuumMaxRequirement?.toPrecision(3).toString().replace('e', ' x 10').replace('-', '^-');\r\n }\r\n });\r\n return vaccums;\r\n }\r\n\r\n convertSciNotationToNumber(vaccums: Resource[]): Resource[] {\r\n vaccums.map(data => {\r\n if (data.MinPressureString) {\r\n data.keVacuumMinRequirement = +data.MinPressureString.replace(/\\s/g, '').replace('x10', 'e').replace('^-', '-');\r\n } else {\r\n data.keVacuumMinRequirement = 0;\r\n }\r\n if (data.MaxPressureString) {\r\n data.keVacuumMaxRequirement = +data.MaxPressureString.replace(/\\s/g, '').replace('x10', 'e').replace('^-', '-');\r\n } else {\r\n data.keVacuumMaxRequirement = 0;\r\n }\r\n });\r\n return vaccums;\r\n }\r\n\r\n onShowChangesTOCA() {\r\n if (this.beamlineShutter?.beamlineId)\r\n this.resourceService.getTOCAChangesByResourceId(this.beamlineShutter.beamlineId, this.showChangesTOCA).toPromise().then(tocas => {\r\n this.dataSourceTOCA.data = tocas ?? [];\r\n });\r\n }\r\n\r\n updateResourceNamesOfRURs(resourceUserRelations: ResourceUserRelation[], resourceUpdated: Resource, oldResourceName: string) {\r\n resourceUserRelations.map(x => {\r\n if (x.resourceUserRelations?.length) {\r\n x.resourceUserRelations.map(rur => {\r\n if (resourceUpdated.type === ResourceType.Endstation && rur.endstation?.name) {\r\n if (rur.endstation.id && rur.endstation.id === resourceUpdated.id) { rur.endstation = resourceUpdated; }\r\n else if (rur.endstation.name === oldResourceName) { rur.endstation = resourceUpdated; }\r\n }\r\n if (resourceUpdated.type === ResourceType.Branchline && rur.branchline?.name) {\r\n if (rur.branchline.id && rur.branchline.id === resourceUpdated.id) { rur.branchline = resourceUpdated; }\r\n else if (rur.branchline.name === oldResourceName) { rur.branchline = resourceUpdated; }\r\n }\r\n });\r\n }\r\n });\r\n resourceUserRelations = this.joinRURs(this.addRURs(resourceUserRelations));\r\n return resourceUserRelations;\r\n }\r\n\r\n deleteResourceNamesOfRURs(resourceUserRelations: ResourceUserRelation[], resourceToDelete: Resource) {\r\n resourceUserRelations.map(x => {\r\n if (x.resourceUserRelations?.length) {\r\n x.resourceUserRelations.map(rur => {\r\n if (resourceToDelete.type === ResourceType.Endstation && rur.endstation?.name) {\r\n if (rur.endstation.id && rur.endstation.id === resourceToDelete.id) { rur.endstation = new Resource(); }\r\n else if (rur.endstation.name === resourceToDelete.name) { rur.endstation = new Resource(); }\r\n }\r\n if (resourceToDelete.type === ResourceType.Branchline && rur.branchline?.name) {\r\n if (rur.branchline.id && rur.branchline.id === resourceToDelete.id) { rur.branchline = new Resource(); }\r\n else if (rur.branchline.name === resourceToDelete.name) { rur.branchline = new Resource(); }\r\n }\r\n });\r\n }\r\n });\r\n return resourceUserRelations;\r\n }\r\n\r\n isModified(resource: string, prop: string) {\r\n if (this.resourceSummary && this.currentResourceSummary && this.showPrevResource) {\r\n switch (resource) {\r\n case 'shutter':\r\n return this.resourceSummary.shutter && this.currentResourceSummary.shutter ? ((this.resourceSummary.shutter as any)[prop] != (this.currentResourceSummary.shutter as any)[prop]) : false;\r\n break;\r\n case 'beamline':\r\n if (typeof (this.resourceSummary.beamline as any)[prop] != 'object') {\r\n return (this.resourceSummary.beamline as any)[prop] != (this.currentResourceSummary.beamline as any)[prop];\r\n }\r\n else {\r\n const obj1 = (this.resourceSummary.beamline as any)[prop];\r\n const obj2 = (this.currentResourceSummary.beamline as any)[prop];\r\n return !this.utils.isEquivalent(obj1, obj2);\r\n }\r\n break;\r\n case 'summary':\r\n const sum1 = !this.resourceSummary ? [] : ((this.resourceSummary as any)?.[prop] as any[])?.sort((a, b) => this.utils.sort(a.position ?? 0, b.position ?? 0));\r\n const sum2 = ((this.currentResourceSummary as any)?.[prop] as any[])?.sort((a, b) => this.utils.sort(a?.position, b?.position));\r\n switch (prop) {\r\n case 'restrictions':\r\n sum1?.map((p: Restriction, i) => {\r\n const q = sum2?.[i] as Restriction;\r\n if (!q || p.restrictionLanguage != q.restrictionLanguage || p.ebf != q.ebf || p.scf != q.scf || p.rsswa != q.rsswa || p.ppstb != q.ppstb || p.locationID != q.locationID)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'endstations':\r\n sum1?.map((p: Resource, i) => {\r\n const q = sum2?.[i] as Resource;\r\n if (!q || p.name != q.name || p.absiTemplateTypeID != q.absiTemplateTypeID)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'branchlines':\r\n sum1?.map((p: Resource, i) => {\r\n const q = sum2?.[i] as Resource;\r\n if (!q || p.name != q.name)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'toca':\r\n sum1?.map((p: Resource, i) => {\r\n const q = sum2?.[i] as Resource;\r\n if (!q || p.name != q.name)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'shieldings':\r\n sum1?.map((p: Resource, i) => {\r\n const q = sum2?.[i] as Resource;\r\n if (!q || p.name != q.name || p.keText != q.keText || p.position != q.position || p.checkboxVisible != q.checkboxVisible || p.isRSSD != q.isRSSD)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'vacuums':\r\n sum1?.map((p: Resource, i) => {\r\n const q = sum2?.[i] as Resource;\r\n if (!q || p.name != q.name || p.keVacuumMinRequirement != q.keVacuumMinRequirement || p.keVacuumMaxRequirement != q.keVacuumMaxRequirement || p.channelName != q.channelName || p.location != q.location || p.position != q.position)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'organizations':\r\n sum1?.map((p: ResourceOrganization, i) => {\r\n const q = sum2?.[i] as ResourceOrganization;\r\n if (!q || p.organization?.id != q.organization?.id || p.endstation?.id != q.endstation?.id || p.branchline?.id != q.branchline?.id)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'notes':\r\n sum1?.map((p: Note, i) => {\r\n const q = sum2?.[i] as Note;\r\n if (!q || p.id != q.id || p.noteName != q.noteName)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'meDrawings':\r\n sum1?.map((p: Link, i) => {\r\n const q = sum2?.[i] as Link;\r\n if (!q || p.webAddress != q.webAddress || p.hyperlink != q.hyperlink)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'fastValveSensors':\r\n sum1?.map((p: Resource, i) => {\r\n const q = sum2?.[i] as Resource;\r\n if (!q || p.name != q.name || p.keText != q.keText || p.position != q.position)\r\n p.isModified = true;\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n case 'supervisors':\r\n case 'scientists':\r\n case 'alternateScientists':\r\n sum1?.filter(u => u.user)?.sort((a, b) => a.userId - b.userId).map((p: ResourceUserRelation, i) => {\r\n const q = sum2.find(u => u.userId == p.userId);\r\n p.isModified = !q || (p.endstationId ?? 0) != (q.endstationId ?? 0) || (p.branchlineId ?? 0) != (q.branchlineId ?? 0);\r\n });\r\n return sum1?.some(x => x.isModified) || sum1.length != sum2.length;\r\n break;\r\n }\r\n return false;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n override scrollToTop() {\r\n $('.main-panel').scrollTop(0);\r\n }\r\n\r\n pssValue?: string;\r\n rssValue?: string;\r\n\r\n rssCtrl = new FormControl();\r\n pssCtrl = new FormControl();\r\n\r\n pVs?: PV[];\r\n pVsFiltered?: PV[];\r\n pVs$!: Observable;\r\n pVsSubs!: Subscription;\r\n\r\n loadPVs() {\r\n this.pVs$ = this.store.select(state => state.PV.data);\r\n this.pVsSubs = this.pVs$.subscribe(data => {\r\n if (data?.length) {\r\n this.pVs = data;\r\n }\r\n });\r\n }\r\n\r\n validateChannel(channel?: any, control?: FormControl, type?: string) {\r\n if (channel) {\r\n this.pvService.subscribe(channel).subscribe(data => {\r\n if (data)\r\n this.setValues(data.value, control, type, true);\r\n }, error => {\r\n control?.setErrors({ invalid: true });\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n getPVValues() {\r\n this.setValues(this.pVs?.find(p => p.pvName == this.shutter?.rssChannelName)?.value, this.rssCtrl, 'rss');\r\n this.setValues(this.pVs?.find(p => p.pvName == this.shutter?.pssChannelName)?.value, this.pssCtrl, 'pss');\r\n }\r\n\r\n setValues(value?: string, control?: FormControl, type?: string, validate?: boolean) {\r\n if (!value?.includes('ERROR')) {\r\n control?.setErrors(null);\r\n if (validate) this.setFormDirty();\r\n if (type == 'rss') value ? this.rssValue = 'Online' : 'Offline';\r\n if (type == 'pss') value ? this.pssValue = 'Open' : 'Close';\r\n }\r\n else {\r\n type == 'rss' ? this.rssValue = 'ERROR!' : this.pssValue = 'ERROR!';\r\n control?.setErrors({ invalid: true, message: 'Invalid Channel Name!' });\r\n }\r\n }\r\n\r\n getHistory() {\r\n this.loading.emit(true);\r\n this.beamlineHistory = [];\r\n this.catalogService.GetHistory(Catalog.BeamlineCatalog, this.beamlineShutter!.beamlineId!).toPromise().then(data => {\r\n if (data) {\r\n this.beamlineHistory = data.beamlineCatalogs;\r\n if (this.beamlineHistory) {\r\n this.beamlineHistory.map(h => {\r\n if (h.pendingResource) {\r\n h.pendingResource.userCreatedBy = this.users.find(u => u.id == h.pendingResource?.createdBy);\r\n h.pendingResource.statusByUser = this.users.find(u => u.id == h.pendingResource?.statusBy);\r\n }\r\n });\r\n }\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n beamlineCatalog?: BeamlineCatalog;\r\n\r\n selectedHistory(beamlineCatalog: BeamlineCatalog) {\r\n this.loading.emit(true);\r\n this.shutter = beamlineCatalog.resourceSummary.shutter;\r\n this.beamline = beamlineCatalog.resourceSummary.beamline;\r\n this.resourceSummary = this.utils.cloneDeep(beamlineCatalog.resourceSummary);\r\n\r\n // in history, currentResourceSumary is actually the previous one\r\n\r\n this.currentResourceSummary = null;\r\n const index = this.beamlineHistory?.findIndex(x => x.pendingResource.id == beamlineCatalog.pendingResource.id) ?? -1;\r\n if (index > 0) {\r\n this.currentResourceSummary = this.utils.cloneDeep(this.beamlineHistory?.[index - 1])?.resourceSummary;\r\n }\r\n this.showPrevResource = true;\r\n this.checkAddedAndDeletedRows();\r\n\r\n this.addResourceSummaryInfo(this.resourceSummary, true);\r\n\r\n this.loading.emit(false);\r\n }\r\n\r\n checkAddedAndDeletedRows() {\r\n if (this.showHistory || this.showPrevResource) {\r\n // Restrictions\r\n const currentRestrictions = this.resourceSummary?.restrictions ?? [];\r\n const prevRestrictions = this.currentResourceSummary?.restrictions ?? [];\r\n\r\n if (currentRestrictions && prevRestrictions) {\r\n prevRestrictions.map(p => {\r\n if (p.id && !currentRestrictions.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentRestrictions.push(p);\r\n }\r\n });\r\n }\r\n currentRestrictions?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevRestrictions?.find(p => p.id == c.id);\r\n });\r\n\r\n //Endstations\r\n const currentEndstations = this.resourceSummary?.endstations ?? [];\r\n const prevEndstations = this.currentResourceSummary?.endstations ?? [];\r\n\r\n if (currentEndstations && prevEndstations) {\r\n prevEndstations.map(p => {\r\n if (p.id && !currentEndstations.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentEndstations.push(p);\r\n }\r\n });\r\n }\r\n currentEndstations?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevEndstations?.find(p => p.id == c.id);\r\n });\r\n\r\n // Branchlines\r\n const currentBranchlines = this.resourceSummary?.branchlines ?? [];\r\n const prevBranchlines = this.currentResourceSummary?.branchlines ?? [];\r\n\r\n if (currentBranchlines && prevBranchlines) {\r\n prevBranchlines.map(p => {\r\n if (p.id && !currentBranchlines.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentBranchlines.push(p);\r\n }\r\n });\r\n }\r\n currentBranchlines?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevBranchlines?.find(p => p.id == c.id);\r\n });\r\n\r\n //Shieldings\r\n const currentShieldings = this.resourceSummary?.shieldings ?? [];\r\n const prevShieldings = this.currentResourceSummary?.shieldings ?? [];\r\n\r\n if (currentShieldings && prevShieldings) {\r\n prevShieldings.map(p => {\r\n if (p.id >= 0 && !currentShieldings.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentShieldings.push(p);\r\n }\r\n });\r\n }\r\n currentShieldings?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevShieldings?.find(p => p.id == c.id);\r\n });\r\n\r\n // Vacuum\r\n const currentVacuums = this.resourceSummary?.vacuums ?? [];\r\n const prevVacuums = this.currentResourceSummary?.vacuums ?? [];\r\n\r\n if (currentVacuums && prevVacuums) {\r\n prevVacuums.map(p => {\r\n if (p.id && !currentVacuums.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentVacuums.push(p);\r\n }\r\n });\r\n }\r\n currentVacuums?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevVacuums?.find(p => p.id == c.id);\r\n });\r\n\r\n //Organizations\r\n const currentOrganizations = this.resourceSummary?.organizations ?? [];\r\n const prevOrganizations = this.currentResourceSummary?.organizations ?? [];\r\n\r\n if (currentOrganizations && prevOrganizations) {\r\n prevOrganizations.map(p => {\r\n if (p.id && !currentOrganizations.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentOrganizations.push(p);\r\n }\r\n });\r\n }\r\n currentOrganizations?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevOrganizations?.find(p => p.id == c.id);\r\n });\r\n\r\n //Supervisors\r\n const currentSupervisors = this.resourceSummary?.supervisors ?? [];\r\n const prevSupervisors = this.currentResourceSummary?.supervisors ?? [];\r\n\r\n if (currentSupervisors && prevSupervisors) {\r\n prevSupervisors.map(p => {\r\n p.userId = p.user?.id;\r\n if (p.user?.id && !currentSupervisors.find(c => c.user?.id == p.user?.id)) {\r\n p.isDeleted = true;\r\n currentSupervisors.push(p);\r\n }\r\n });\r\n }\r\n currentSupervisors?.filter(c => !c.isDeleted).map(c => {\r\n c.userId = c.user?.id;\r\n c.isAdded = c.user?.id == 0 || !prevSupervisors?.find(p => p.user?.id == c.user?.id);\r\n });\r\n\r\n //BL Scientists\r\n const currentScientists = this.resourceSummary?.scientists ?? [];\r\n const prevScientists = this.currentResourceSummary?.scientists ?? [];\r\n\r\n if (currentScientists && prevScientists) {\r\n prevScientists.map(p => {\r\n p.userId = p.user?.id;\r\n if (p.user?.id && !currentScientists.find(c => c.user?.id == p.user?.id)) {\r\n p.isDeleted = true;\r\n currentScientists.push(p);\r\n }\r\n });\r\n }\r\n currentScientists?.filter(c => !c.isDeleted).map(c => {\r\n c.userId = c.user?.id;\r\n c.isAdded = c.user?.id == 0 || !prevScientists?.find(p => p.user?.id == c.user?.id);\r\n });\r\n\r\n //Alternate BL Scientists\r\n const currentAlternateScientists = this.resourceSummary?.alternateScientists ?? [];\r\n const prevAlternateScientists = this.currentResourceSummary?.alternateScientists ?? [];\r\n\r\n if (currentAlternateScientists && prevAlternateScientists) {\r\n prevAlternateScientists.map(p => {\r\n p.userId = p.user?.id;\r\n if (p.user?.id && !currentAlternateScientists.find(c => c.user?.id == p.user?.id)) {\r\n p.isDeleted = true;\r\n currentAlternateScientists.push(p);\r\n }\r\n });\r\n }\r\n currentAlternateScientists?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.user?.id == 0 || !prevAlternateScientists?.find(p => p.user?.id == c.user?.id);\r\n });\r\n\r\n //Notes\r\n const currentNotes = this.resourceSummary?.notes ?? [];\r\n const prevNotes = this.currentResourceSummary?.notes ?? [];\r\n\r\n if (currentNotes && prevNotes) {\r\n prevNotes.map(p => {\r\n if (p.id && !currentNotes.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentNotes.push(p);\r\n }\r\n });\r\n }\r\n currentNotes?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevNotes?.find(p => p.id == c.id);\r\n });\r\n\r\n //Other Links\r\n const currentOtherLinks = this.resourceSummary?.otherLinks ?? [];\r\n const prevOtherLinks = this.currentResourceSummary?.otherLinks ?? [];\r\n\r\n if (currentOtherLinks && prevOtherLinks) {\r\n prevOtherLinks.map(p => {\r\n if (p.id && !currentOtherLinks.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentOtherLinks.push(p);\r\n }\r\n });\r\n }\r\n currentOtherLinks?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevOtherLinks?.find(p => p.id == c.id);\r\n });\r\n\r\n // ME Drawing Links\r\n const currentMeDrawings = this.resourceSummary?.meDrawing ?? [];\r\n const prevMeDrawings = this.currentResourceSummary?.meDrawing ?? [];\r\n\r\n if (currentMeDrawings && prevMeDrawings) {\r\n prevMeDrawings.map(p => {\r\n if (p.id && !currentMeDrawings.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentMeDrawings.push(p);\r\n }\r\n });\r\n }\r\n currentMeDrawings?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevMeDrawings?.find(p => p.id == c.id);\r\n });\r\n\r\n // AP PhaseSpace Link\r\n const currentAPPhaseSpace = this.resourceSummary?.apPhaseSpace ?? [];\r\n const prevAPPhaseSpace = this.currentResourceSummary?.apPhaseSpace ?? [];\r\n\r\n if (currentAPPhaseSpace && prevAPPhaseSpace) {\r\n prevAPPhaseSpace.map(p => {\r\n if (p.id && !currentAPPhaseSpace.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentAPPhaseSpace.push(p);\r\n }\r\n });\r\n }\r\n currentAPPhaseSpace?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevAPPhaseSpace?.find(p => p.id == c.id);\r\n });\r\n\r\n //SA Survey Links\r\n const currentSASurveys = this.resourceSummary?.saSurvey ?? [];\r\n const prevSASurveys = this.currentResourceSummary?.saSurvey ?? [];\r\n\r\n if (currentSASurveys && prevSASurveys) {\r\n prevSASurveys.map(p => {\r\n if (p.id && !currentSASurveys.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentSASurveys.push(p);\r\n }\r\n });\r\n }\r\n currentSASurveys?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevSASurveys?.find(p => p.id == c.id);\r\n });\r\n\r\n\r\n //Fast Valve Sensors\r\n const currentFastValveSensors = this.resourceSummary?.fastValveSensors ?? [];\r\n const prevFastValveSensors = this.currentResourceSummary?.fastValveSensors ?? [];\r\n\r\n if (currentFastValveSensors && prevFastValveSensors) {\r\n prevFastValveSensors.map(p => {\r\n if (p.id && !currentFastValveSensors.find(c => c.id == p.id)) {\r\n p.isDeleted = true;\r\n currentFastValveSensors.push(p);\r\n }\r\n });\r\n }\r\n currentFastValveSensors?.filter(c => !c.isDeleted).map(c => {\r\n c.isAdded = c.id == 0 || !prevFastValveSensors?.find(p => p.id == c.id);\r\n });\r\n\r\n // // Locations\r\n // const currentLocations = this.acceleratorCatalog?.pendingDetails?.locations;\r\n // const prevLocations = this.acceleratorCatalog?.details?.locations;\r\n\r\n // if (currentLocations && prevLocations) {\r\n // prevLocations.map(p => {\r\n // if (p.id && !currentLocations.find(c => c.id == p.id)) {\r\n // p.isDeleted = true;\r\n // currentLocations.push(p);\r\n // }\r\n // });\r\n // }\r\n // currentLocations?.filter(c => !c.isDeleted).map(c => {\r\n // c.isAdded = c.id == 0 || !prevLocations?.find(p => p.id == c.id);\r\n // });\r\n\r\n // Shieldings\r\n // const currentShieldings = this.acceleratorCatalog?.pendingDetails?.shieldings;\r\n // const prevShieldings = this.acceleratorCatalog?.details?.shieldings;\r\n // if (prevShieldings && currentShieldings) {\r\n // prevShieldings.map(p => {\r\n // const parentResource = p.parentResources?.find(\r\n // r => r.parentResourceID == this.accelerator.id\r\n // );\r\n // if (p.id && !currentShieldings.find(c => c.id == p.id)) {\r\n // p.isDeleted = true;\r\n // p.position = parentResource ? (parentResource.position ?? 0) : (p.position ?? 0);\r\n // currentShieldings.push(p);\r\n // }\r\n // });\r\n // }\r\n // currentShieldings?.filter(c => !c.isDeleted).map(c => {\r\n // c.isAdded = c.id == 0 || !prevShieldings?.find(p => p.name == c.name);\r\n // });\r\n\r\n\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Shutter Name\r\n \r\n \r\n
\r\n
\r\n \r\n Beamline (Location)\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n RSS Channel Name\r\n \r\n {{\r\n rssCtrl.errors[\"message\"]\r\n }}\r\n \r\n {{\r\n rssValue\r\n }}\r\n
\r\n
\r\n \r\n PSS Channel Name\r\n \r\n {{\r\n pssCtrl.errors[\"message\"]\r\n }}\r\n \r\n {{\r\n pssValue\r\n }}\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n Beamline Name\r\n \r\n \r\n
\r\n
\r\n \r\n Extension\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Beamline Status\r\n \r\n \r\n {{ status.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
Beamline Operational Restrictions
\r\n \r\n
\r\n
\r\n
\r\n Endstations\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n {{\r\n element.name\r\n }}\r\n \r\n \r\n \r\n ABSI Checklist Type\r\n \r\n {{\r\n element.absiTemplateName\r\n }}\r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n Branchlines\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n {{\r\n element.name\r\n }}\r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Restrictions\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Top-off Critical Apertures\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n TOCAs\r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n \r\n Show Changes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Shielding\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n No. \r\n \r\n {{ element.position }}\r\n \r\n \r\n \r\n \r\n \r\n Shielding Name\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n KE Text\r\n \r\n \r\n {{ element.keText }}\r\n \r\n \r\n \r\n \r\n Visible?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Shared With\r\n \r\n \r\n {{ element.sharedWith }}\r\n \r\n \r\n \r\n \r\n is RSSD?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Vacuum\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n No. \r\n \r\n {{ element.position }}\r\n \r\n \r\n \r\n \r\n Vacuum Name\r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Min Pressure\r\n \r\n \r\n {{ element.MinPressureString }}\r\n \r\n \r\n \r\n \r\n Max Pressure\r\n \r\n \r\n {{ element.MaxPressureString }}\r\n \r\n \r\n \r\n \r\n Channel Name (PV)\r\n \r\n \r\n {{ element.channelName }}\r\n \r\n \r\n \r\n \r\n Location\r\n \r\n \r\n {{ element.location }}\r\n \r\n \r\n \r\n \r\n Shared With\r\n \r\n \r\n {{ element.sharedWith }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Organizations\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Organizations\r\n \r\n \r\n {{ element.organization?.name }}\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n \r\n {{ element.endstation?.name }}\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n \r\n {{ element.branchline?.name }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n Supervisors\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n BL Scientists\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Alternate BL Scientists\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Beamline Notes\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Beamline Notes\r\n \r\n {{ element.noteName }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n RSS Rack Location\r\n \r\n \r\n
\r\n
\r\n \r\n EPS Rack Location\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n Fast Valve Sensors\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n No. \r\n \r\n {{ element.position }}\r\n \r\n \r\n \r\n \r\n \r\n FVS Name\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n KE Text\r\n \r\n \r\n {{ element.keText }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n edit\r\n delete\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n FVS Electronics Module Location\r\n \r\n \r\n
\r\n
\r\n \r\n EPS Drawing Location\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Cancel\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n \r\n Approve\r\n \r\n \r\n Disapprove\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from '../../../../../environments/environment';\r\nimport { Location } from './resources';\r\n\r\n@Injectable()\r\nexport class LocationsService {\r\n\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Locations = '/Locations';\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n getLocations(): Observable {\r\n const httpresult2 = this.http.get(this.BASE_URL + this.Locations);\r\n return httpresult2;\r\n }\r\n GetLocationByShieldingID(id: number): Observable {\r\n const httpresult2 = this.http.get(this.BASE_URL + this.Locations + '/GetLocationByShieldingID/' + id.toString());\r\n return httpresult2;\r\n }\r\n GetShuttersByShieldingID(id: number): Observable {\r\n const httpresult2 = this.http.get(this.BASE_URL + this.Locations + '/GetShuttersByShieldingID/' + id.toString());\r\n return httpresult2;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { EpicsValuesResource } from 'src/app/components/kenable/ke';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Link } from '../../navigation-links/link/link';\r\nimport { Resource, IResource, ResourceType, ResourceRelation, StatusResource, ResourceUserRelation, ShutterResource, SaveResource, ResourceSummary, BeamlineShutterRelation, BeamlineResource } from './resources';\r\nimport { TOCA } from './toca';\r\n\r\n@Injectable()\r\nexport class ResourcesService {\r\n api = '/Resources';\r\n constructor(private http: HttpClient) { }\r\n\r\n getAllResources(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourcesByType(type: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/Type/' + type.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getIResourcesByType(type: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/Type/' + type.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getBranchlines(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/Branchlines/')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n updateOperationalLockOut(resourceId: number, value: any): Observable {\r\n const data = { resource: resourceId, value };\r\n const result = this.http.put(environment.urls.baseApiUrl + '/Resources/update/branchline/OperationalLockOut', data)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getAllResourceTypes(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourceTypes')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getRelatedResources(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/Related/' + id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourcesRelationsByChildId(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourceRelations/ChildId/' + id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourceById(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourcesRelatedTreeByChildId(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourceRelations/RelatedTree/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourcesRelatedTreeByParent(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourceRelations/RelatedTreeParent/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getRelationResources(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourceRelations')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getStatusResources(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/StatusResource')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n // to be continued\r\n getResourceUserRelationsById(resIds: number[]): Observable {\r\n let resources = '';\r\n resIds.map(element => {\r\n resources += 'resIds=' + element + '&';\r\n });\r\n resources = resources.slice(0, -1);\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourceUserRelation/byIds?' + resources)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getShutters(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/Shutters')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getBeamlines(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/Beamlines')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getShutter(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/Shutters/' + id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n getLocations(): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/Resources/Locations');\r\n }\r\n\r\n getEpicsValues(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Resources/EpicsValues')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n saveResource(resource: Resource): Observable {\r\n if (!resource.id) {\r\n const saveResource: SaveResource = {\r\n name: resource.name,\r\n type: resource.type,\r\n status: 1,\r\n order: resource.order,\r\n description: resource.description ?? '',\r\n resourceTypeID: resource.type,\r\n beamLineExtension: resource.beamLineExtension ?? '',\r\n beamLineSupervisorID: resource.beamLineSupervisorID,\r\n beamLineScientistID: resource.beamLineScientistID,\r\n beamLineAlternateScientistID: resource.beamLineAlternateScientistID,\r\n beamLineNotes: resource.beamLineNotes,\r\n keRestricted: resource.keRestricted,\r\n reviewRestrictedResourceID: resource.reviewRestrictedResourceID,\r\n rssChannelName: resource.rssChannelName,\r\n pssChannelName: resource.pssChannelName\r\n };\r\n return this.http.post(environment.urls.baseApiUrl + '/Resources', saveResource);\r\n } else {\r\n return this.http.put(environment.urls.baseApiUrl + '/Resources/' + resource.id, resource);\r\n }\r\n }\r\n\r\n getResourceSummaryByBeamline(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourceSummaryByShutter(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/GetResourceSummaryByShutter/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n getAllResourceSummaries(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getAllResourceStaff(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/GetAllResourceStaff')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourceSummaryPendingById(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/PendingResource/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourceSummaryPendingByResourceId(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/PendingResourceByResource/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourcesJoinCreatedResources(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/JoinCreatedResources')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getResourceIsModifiyingById(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/IsModifiying/' + id.toString())\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getTOCAChangesByResourceId(resourceId: number, showChanges: boolean): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/TOCAChanges/' + resourceId + '/' + showChanges)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getLinkChangesByResourceId(resourceId: number, linkType: number, showChanges: boolean): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/ResourcesSummary/LinkChanges/' + resourceId + '/' + linkType + '/' + showChanges)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n approveCreateResourceSummaryById(id: number): Observable {\r\n const result = this.http.put(environment.urls.baseApiUrl + '/ResourcesSummary/ApproveToCreate/' + id.toString(), null)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n approveUpdateResourceSummaryById(id: number): Observable {\r\n const result = this.http.put(environment.urls.baseApiUrl + '/ResourcesSummary/ApproveToUpdate/' + id.toString(), null)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n unapproveResourceSummaryById(id: number, unapprovalReason: string): Observable {\r\n const result = this.http.put(environment.urls.baseApiUrl + '/ResourcesSummary/Unapprove/' + id, { reason: unapprovalReason })\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n postResourceSummary(resourceSummary: ResourceSummary) {\r\n if (resourceSummary) {\r\n if (resourceSummary.shutter) {\r\n resourceSummary.shutter.type = 7;\r\n resourceSummary.shutter.status = 1;\r\n }\r\n if (resourceSummary.beamline) {\r\n resourceSummary.beamline.type = 2;\r\n resourceSummary.beamline.status = 1;\r\n }\r\n }\r\n const result = this.http.post(environment.urls.baseApiUrl + '/ResourcesSummary', resourceSummary)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n putResourceSummary(id: number, resourceSummary: ResourceSummary) {\r\n const result = this.http.put(environment.urls.baseApiUrl + '/ResourcesSummary/' + id.toString(), resourceSummary)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n deleteResource(resource: Resource) {\r\n const result = this.http.delete(environment.urls.baseApiUrl + '/Resources/' + resource.id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n saveResourceRelations(id: number, resourceRelations: ResourceRelation[], oldResourceRelations: ResourceRelation[]): Observable {\r\n let result: any;\r\n resourceRelations.map(rel => {\r\n // tslint:disable-next-line: no-debugger\r\n debugger;\r\n if (!rel.id) {\r\n result = this.http.post(environment.urls.baseApiUrl + '/ResourceRelations', rel)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n console.log('Added - ' + (result as ResourceRelation).childResourceName);\r\n return result;\r\n } else {\r\n result = this.http.put(environment.urls.baseApiUrl + '/ResourceRelations/' + rel.id, rel)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n console.log('Updated - ' + (result as ResourceRelation).childResourceName);\r\n return result;\r\n }\r\n });\r\n oldResourceRelations.map(rel => {\r\n if (!resourceRelations.find(elem => elem.id === rel.id)) {\r\n result = this.http.delete(environment.urls.baseApiUrl + '/ResourceRelations/' + rel.id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n console.log('Deleted - ' + rel.childResourceName);\r\n return result;\r\n }\r\n });\r\n return result;\r\n }\r\n postResourceRelation(rel: ResourceRelation) {\r\n const result = this.http.post(environment.urls.baseApiUrl + '/ResourceRelations', rel)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n console.log('Added - ' + rel.childResourceName);\r\n return result;\r\n }\r\n putResourceRelation(rel: ResourceRelation) {\r\n const result = this.http.put(environment.urls.baseApiUrl + '/ResourceRelations/' + rel.id, rel)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n console.log('Updated - ' + rel.childResourceName);\r\n return result;\r\n }\r\n deleteResourceRelation(rel: ResourceRelation) {\r\n const result = this.http.delete(environment.urls.baseApiUrl + '/ResourceRelations/' + rel.id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n console.log('Deleted - ' + rel.childResourceName);\r\n return result;\r\n }\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error); // for demo purposes only\r\n return Promise.reject(error.message || error);\r\n }\r\n getAllShutters(): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + this.api + '/Shieldings');\r\n }\r\n getShieldingByBeamlineId(id: number): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + this.api + 'Shieldings/BeamlineId/' + id.toString());\r\n }\r\n\r\n getByCodes(codes: string[]): Observable {\r\n let url = environment.urls.baseApiUrl + this.api + '/Codes';\r\n let query = '?';\r\n\r\n for (let i = 0; i < codes.length; i++) {\r\n if (query != '?') {\r\n query += '&';\r\n }\r\n query += 'c=' + codes[i];\r\n }\r\n url += query;\r\n return this.http.get(url);\r\n }\r\n\r\n getByTypes(types: number[]): Observable {\r\n let values = '';\r\n types.map(x => {\r\n if (values !== '') {\r\n values += '&';\r\n }\r\n values += 't=' + x.toString();\r\n });\r\n return this.http.get(environment.urls.baseApiUrl + this.api + '/Types?' + values);\r\n }\r\n\r\n getBeamlinesByShutterRestrictions(ids: number[]): Observable {\r\n let url = environment.urls.baseApiUrl + this.api + '/BeamlineByShutterRestrictions';\r\n let query = '?';\r\n\r\n for (let i = 0; i < ids.length; i++) {\r\n if (query != '?') {\r\n query += '&';\r\n }\r\n query += 'i=' + ids[i];\r\n }\r\n url += query;\r\n\r\n return this.http.get(url);\r\n }\r\n\r\n getAllBranchlines(): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + this.api + '/AllBranchlines');\r\n }\r\n\r\n getFromChecklistTemplateByDocumentType(documentTypeID: number): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + this.api + '/FromChecklistTemplateByDocumentType/' + documentTypeID.toString());\r\n }\r\n\r\n getByTemplateType(templateType: number): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + this.api + '/ByTemplateType/' + templateType.toString());\r\n }\r\n}\r\n","\r\nimport { Role } from '../../roles/services/role';\r\nimport { PendingAccelerator, PendingResource } from '../../../../services/pending-approvals/pending-approval';\r\nimport { RSSTestType, PendingResourcesType } from '../../../../common/enumerations/enumerations';\r\nimport { Link } from '../../navigation-links/link/link';\r\n\r\nimport { Organization } from '../../../../services/organization/organization';\r\nimport { TOCA } from './toca';\r\nimport { Note } from '../../../../services/notes/note.model';\r\nimport { KETStatusResource, KEVersionResource } from 'src/app/components/kenable/ke';\r\nimport { AbsiTemplateResource } from 'src/app/components/absi/absi';\r\nimport { Restriction } from '../../../../controls/restrictions/services/restriction';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\nexport interface IResource {\r\n id: number;\r\n name: string;\r\n type: number;\r\n order: string;\r\n description: string;\r\n resourceTypeID: number;\r\n resourceTypename: string;\r\n beamLineExtension: string;\r\n beamLineSupervisorID: number;\r\n beamLineScientistID: number;\r\n beamLineAlternateScientistID: number;\r\n beamLineNotes: string;\r\n beamLineDCCSynch: string;\r\n beamLineDCCBrem: string;\r\n beamLineDCCOther: string;\r\n rssChannelName: string;\r\n pssChannelName: string;\r\n operationalLockOut: boolean;\r\n keReady?: string;\r\n keColor?: string;\r\n documents?: string[];\r\n moreInfo?: string;\r\n}\r\n\r\n\r\nexport class Resource {\r\n constructor() {\r\n this.id = 0;\r\n this.name = null;\r\n this.type = null;\r\n this.order = null;\r\n this.status = null;\r\n this.description = null;\r\n this.resourceTypeID = null;\r\n this.beamLineExtension = null;\r\n this.keRestricted = null;\r\n this.reviewRestrictedResourceID = null;\r\n this.reviewRestrictedResource = null;\r\n this.rssChannelName = null;\r\n this.pssChannelName = null;\r\n this.statusResourceId = null;\r\n this.position = null;\r\n this.keText = null;\r\n this.cssClass = null;\r\n this.keRequirement = null;\r\n this.channelName = null;\r\n this.location = null;\r\n this.wfTableID = null;\r\n this.wfTableIDAbreviated = null;\r\n this.drawingPostLocation = null;\r\n this.rssRackLocation = null;\r\n this.epsRackLocation = null;\r\n this.fvsemLocation = null;\r\n this.checkboxVisible = false;\r\n this.longShutdown = false;\r\n this.inTunnel = false;\r\n this.keVacuumMinRequirement = null;\r\n this.keVacuumMaxRequirement = null;\r\n this.MinPressureString = null;\r\n this.MaxPressureString = null;\r\n this.sharedWith = null;\r\n this.subLocations = null;\r\n this.color = null;\r\n this.modifyingById = null;\r\n this.statusModel = null;\r\n this.operationalLockOut = false;\r\n this.newResource = false;\r\n this.code = null;\r\n this.absiTemplateTypeID = null;\r\n this.absiTemplateName = null;\r\n this.comment = null;\r\n this.lastCommentByUser = null;\r\n this.lastCommentByUserId = null;\r\n this.lastCommentOn = null;\r\n this.parentResources = null;\r\n this.childResources = null;\r\n\r\n this.RSSTestType = null;\r\n this.RSSTestProcedureNumber = null;\r\n this.RSSTestShutterKeyCode = null;\r\n this.RSSTestWiringDiagramPrint = null;\r\n this.RSSTestSafetyInterlockControlsChassisPrint = null;\r\n this.RSSTestBeamlineHutchInterlockControlsPrint = null;\r\n this.RSSTestRackLocation = null;\r\n this.RSSTestSectorNumber = null;\r\n this.RSSTestEPSPLCLocation = null;\r\n this.RSSTestHutchInterlockControlsChassisLocation = null;\r\n this.RSSTestInternalCrashOffSearchBoxLocations = null;\r\n this.RSSTestExternalCrashOffSearchBoxLocations = null;\r\n this.RSSTestSRRFINTLKSOKLampsLocation = null;\r\n this.RSSTestTimeDelay = null;\r\n this.RSSTestArcSectorInterlockSummingChassisLocation = null;\r\n this.RSSTestESVacuumSwitchInterfaceBox = null;\r\n this.RSSTestShortingPlugs = false;\r\n this.RSSTestMagnetPlate = false;\r\n this.RSSTestMicroswitchClamps = null;\r\n this.RSSTestShuttersRequiredToBeClosedForTest = null;\r\n this.isModified = false;\r\n }\r\n id!: number;\r\n name?: string | null;\r\n type: number | null;\r\n order?: string | null;\r\n status?: number | null;\r\n description?: string | null;\r\n resourceTypeID?: number | null;\r\n //resourceTypeName?: string;\r\n beamLineExtension?: string | null;\r\n beamLineSupervisorID?: number | null;\r\n beamLineScientistID?: number | null;\r\n beamLineAlternateScientistID?: number | null;\r\n beamLineNotes?: string | null;\r\n // beamLineDCCSynch?: string | null;\r\n // beamLineDCCBrem?: string | null;\r\n // beamLineDCCOther?: string | null;\r\n keRestricted?: boolean | null;\r\n reviewRestrictedResourceID?: number | null;\r\n reviewRestrictedResource?: Resource | null;\r\n rssChannelName?: string | null;\r\n pssChannelName?: string | null;\r\n statusResourceId?: number | null;\r\n position?: number | null;\r\n keText?: string | null;\r\n cssClass?: string | null;\r\n keRequirement?: string | null;\r\n channelName?: string | null;\r\n location?: string | null;\r\n wfTableID?: number | null;\r\n wfTableIDAbreviated?: number | null;\r\n drawingPostLocation?: string | null;\r\n rssRackLocation?: string | null;\r\n epsRackLocation?: string | null;\r\n fvsemLocation?: string | null;\r\n checkboxVisible?: boolean | null;\r\n longShutdown?: boolean | null;\r\n inTunnel?: boolean;\r\n isRSSD?: boolean;\r\n keVacuumMinRequirement?: number | null;\r\n keVacuumMaxRequirement?: number | null;\r\n MinPressureString?: string | null;\r\n MaxPressureString?: string | null;\r\n sharedWith?: string | null;\r\n subLocations?: string | null;\r\n color?: number | null;\r\n modifyingById?: number | null;\r\n statusModel?: StatusResource | null;\r\n operationalLockOut?: boolean | null;\r\n newResource?: boolean | null;\r\n code?: string | null;\r\n absiTemplateTypeID?: number | null;\r\n absiTemplateName?: string | null;\r\n comment?: string | null;\r\n lastCommentByUser?: User | null;\r\n lastCommentByUserId?: number | null;\r\n lastCommentOn?: Date | null;\r\n parentResources?: ResourceRelation[] | null;\r\n childResources?: ResourceRelation[] | null;\r\n resourceType?: ResourceType | null;\r\n pendingAccelerators?: PendingAccelerator[] | null;\r\n\r\n // RSS Test\r\n RSSTestType?: RSSTestType | null;\r\n RSSTestProcedureNumber?: string | null;\r\n RSSTestShutterKeyCode?: string | null;\r\n RSSTestWiringDiagramPrint?: string | null;\r\n RSSTestSafetyInterlockControlsChassisPrint?: string | null;\r\n RSSTestBeamlineHutchInterlockControlsPrint?: string | null;\r\n RSSTestRackLocation?: string | null;\r\n RSSTestSectorNumber?: string | null;\r\n RSSTestEPSPLCLocation?: string | null;\r\n RSSTestHutchInterlockControlsChassisLocation?: string | null;\r\n RSSTestInternalCrashOffSearchBoxLocations?: string | null;\r\n RSSTestExternalCrashOffSearchBoxLocations?: string | null;\r\n RSSTestSRRFINTLKSOKLampsLocation?: string | null;\r\n RSSTestTimeDelay?: string | null;\r\n RSSTestArcSectorInterlockSummingChassisLocation?: string | null;\r\n RSSTestESVacuumSwitchInterfaceBox?: string | null;\r\n RSSTestShortingPlugs?: boolean | null;\r\n RSSTestMagnetPlate?: boolean | null;\r\n RSSTestMicroswitchClamps?: string | null;\r\n RSSTestShuttersRequiredToBeClosedForTest?: RSSTestShutterRequiredToBeClosedForTest[] | null;\r\n\r\n // Compare\r\n isModified?: boolean;\r\n isDeleted?: boolean;\r\n isAdded?: boolean;\r\n displayName?: string | null;\r\n}\r\n\r\nexport class ResourceSummary {\r\n constructor() {\r\n this.shutter = new Resource();\r\n this.beamline = new Resource();\r\n this.endstations = [];\r\n this.branchlines = [];\r\n this.restrictions = [];\r\n this.shieldings = [];\r\n this.vacuums = [];\r\n this.organizations = [];\r\n this.supervisors = [];\r\n this.supervisors = [];\r\n this.scientists = [];\r\n this.alternateScientists = [];\r\n this.notes = [];\r\n this.otherLinks = [];\r\n this.meDrawing = [];\r\n this.apPhaseSpace = [];\r\n this.saSurvey = [];\r\n this.fastValveSensors = [];\r\n this.toca = [];\r\n }\r\n shutter?: Resource;\r\n beamline?: Resource;\r\n endstations?: Resource[];\r\n branchlines?: Resource[];\r\n restrictions?: Restriction[];\r\n shieldings?: Resource[];\r\n vacuums?: Resource[];\r\n organizations?: ResourceOrganization[];\r\n supervisors?: ResourceUserRelation[];\r\n scientists?: ResourceUserRelation[];\r\n alternateScientists?: ResourceUserRelation[];\r\n notes?: Note[];\r\n otherLinks?: Link[];\r\n meDrawing?: Link[];\r\n apPhaseSpace?: Link[];\r\n saSurvey?: Link[];\r\n fastValveSensors?: Resource[];\r\n toca?: TOCA[];\r\n}\r\n\r\nexport class BeamlineShutterRelation {\r\n beamlineId?: number;\r\n beamlineName?: string;\r\n shutterId?: number;\r\n shutterName?: string;\r\n status?: number;\r\n beamlineStatus?: string;\r\n createdBy?: User;\r\n ketStatus!: KETStatusResource;\r\n isModifyng?: boolean;\r\n pendingResources!: PendingResource[];\r\n type: PendingResourcesType = 0;\r\n statusClass?: string;\r\n}\r\n\r\n// export class BeamlineStaff {\r\n// beamlineId?: number;\r\n// beamlineName?: string;\r\n// shutterId?: number;\r\n// shutterName?: string;\r\n// beamlineStatus?: string;\r\n// color?: number;\r\n// public dataSourceSupervisor?: ResourceUserRelation[] = [];\r\n// public dataSourceScientist?: ResourceUserRelation[] = [];\r\n// public dataSourceAlternateScientist?: ResourceUserRelation[] = [];\r\n\r\n// constructor(beamlineId_?: number, beamlineName_?: string, shutterId_?: number, shutterName_?: string, beamlineStatus_?: string, color?: number) {\r\n// this.beamlineId = beamlineId_;\r\n// this.beamlineName = beamlineName_ ?? '';\r\n// this.shutterId = shutterId_;\r\n// this.shutterName = shutterName_ ?? '';\r\n// this.beamlineStatus = beamlineStatus_ ?? '';\r\n// this.color = 0;\r\n// }\r\n\r\n// }\r\n\r\nexport class ResourceUserRelation {\r\n id?: number;\r\n resourceId?: number;\r\n userId?: number;\r\n roleId?: number;\r\n endstationId?: number;\r\n branchlineId?: number;\r\n resource?: Resource;\r\n endstation?: Resource;\r\n branchline?: Resource;\r\n user?: User;\r\n role?: Role;\r\n joinEndstations?: string[];\r\n joinBranchlines?: string[];\r\n resourceUserRelations?: ResourceUserRelation[];\r\n isModified?: boolean;\r\n isDeleted?: boolean;\r\n isAdded?: boolean;\r\n}\r\n\r\nexport class ResourceTOCARelation {\r\n id?: number;\r\n resourceId?: number;\r\n tocaId?: number;\r\n resource?: Resource;\r\n toca?: TOCA;\r\n}\r\n\r\nexport class StatusResource {\r\n id!: number;\r\n statusName!: string;\r\n}\r\n\r\nexport class ResourceOrganization {\r\n id?: number;\r\n resourceId?: number;\r\n organizationId?: number;\r\n endstationId?: number;\r\n branchlineId?: number;\r\n resource?: Resource;\r\n endstation?: Resource;\r\n branchline?: Resource;\r\n organization?: Organization;\r\n isModified?: boolean;\r\n\r\n isDeleted?: boolean;\r\n isAdded?: boolean;\r\n}\r\n\r\nexport class SaveResource {\r\n name!: string | null | undefined;\r\n type!: number | null | undefined;\r\n description!: string;\r\n status!: number;\r\n order!: string | null | undefined;\r\n code?: string;\r\n resourceTypeID!: number | null;\r\n beamLineExtension!: string;\r\n keRestricted?: boolean | null;\r\n reviewRestrictedResourceID?: number | null;\r\n beamLineSupervisorID?: number | null;\r\n beamLineScientistID?: number | null;\r\n beamLineAlternateScientistID?: number | null;\r\n beamLineNotes?: string | null;\r\n // beamLineDCCSynch!: string;\r\n // beamLineDCCBrem!: string;\r\n // beamLineDCCOther!: string;\r\n rssChannelName?: string | null;\r\n pssChannelName?: string | null;\r\n}\r\n\r\nexport interface ResourceRelation {\r\n id?: number;\r\n parentResourceID?: number;\r\n parentResourceName?: string;\r\n parentResourceType?: number;\r\n childResourceID?: number;\r\n parentResource?: Resource | null;\r\n childResourceName?: string | null;\r\n childResourceTypeName?: string;\r\n childResourceDescription?: string;\r\n childResourceType?: number | null;\r\n childResource?: Resource | null;\r\n relatedShielding?: boolean;\r\n shared?: boolean;\r\n sharedWith?: string[];\r\n position?: number;\r\n locationsIDs?: string;\r\n locations?: Resource[];\r\n}\r\n\r\nexport class ResourceType {\r\n id!: number;\r\n name!: string;\r\n description!: string;\r\n location: boolean = false;\r\n}\r\n\r\nexport interface IResourceType {\r\n id: number;\r\n name: string;\r\n description: string;\r\n location: boolean;\r\n}\r\n\r\nexport interface BeamlineObj {\r\n beamlineId: number;\r\n beamlineName: string;\r\n shutterID: number;\r\n shutterName: string;\r\n rssStatus: string;\r\n shutterStatus: string;\r\n keReady: string;\r\n rssColor: string;\r\n pssColor: string;\r\n rssChannelName: string;\r\n pssChannelName: string;\r\n keColor: string;\r\n order: string;\r\n status: number;\r\n documents: Document[];\r\n moreInfo: string;\r\n}\r\n\r\nexport interface Accelerator {\r\n id: number;\r\n name: string;\r\n code: string;\r\n status: string;\r\n statusColor: string;\r\n documents: string[];\r\n moreInfo: string;\r\n}\r\n\r\nexport class ShutterResource {\r\n id?: number;\r\n name!: string;\r\n type!: number;\r\n order?: string;\r\n status!: number;\r\n description?: string;\r\n resourceTypeID?: number;\r\n resourceTypeName?: string;\r\n beamLineExtension?: string;\r\n beamLineSupervisorID?: number;\r\n beamLineScientistID?: number;\r\n beamLineAlternateScientistID?: number;\r\n beamLineNotes?: string;\r\n beamLineDCCSynch?: string;\r\n beamLineDCCBrem?: string;\r\n beamLineDCCOther?: string;\r\n rssChannelName?: string;\r\n pssChannelName?: string;\r\n statusResourceId?: number;\r\n position?: number;\r\n keText?: string;\r\n keRequirement?: string;\r\n channelName?: string;\r\n location?: string;\r\n beamline: Resource = new Resource;\r\n branchlines: Resource[] = [];\r\n wfTableID?: number;\r\n wfTableIDAbreviated?: number;\r\n keVersions: KEVersionResource[] = [];\r\n drawingPostLocation!: string;\r\n epsRackLocation!: string;\r\n rssRackLocation!: string;\r\n fvsemLocation!: string;\r\n vacuums: Resource[] = [];\r\n}\r\n\r\n// export interface ShutterResource extends ModelBase {\r\n// order: string;\r\n// resourceTypeName: string;\r\n// statusResourceId: number | null;\r\n// position: number | null;\r\n// kEText: string;\r\n// keRequirement: string;\r\n// drawingPostLocation: string;\r\n// fVSEMLocation: string;\r\n// rSSRackLocation: string;\r\n// ePSRackLocation: string;\r\n// channelName: string;\r\n// location: string;\r\n// branchlines: ResourceResource[];\r\n// vacuums: ResourceResource[];\r\n// kETexts: KETextResource[];\r\n// kEVersions: KEVersionResource[];\r\n// beamline: ResourceResource;\r\n// userRelations: ResourceUserRelation[];\r\n// beamlineName: string;\r\n// wFTableID: number;\r\n// wFTableIDAbreviated: number | null;\r\n// versionName: string;\r\n// }\r\n\r\nexport class BeamlineResource {\r\n id?: number;\r\n name!: string;\r\n type!: number;\r\n order?: string;\r\n status!: number;\r\n description?: string;\r\n resourceTypeID?: number;\r\n resourceTypeName?: string;\r\n beamLineExtension?: string;\r\n beamLineSupervisorID?: number;\r\n beamLineScientistID?: number;\r\n beamLineAlternateScientistID?: number;\r\n beamLineNotes?: string;\r\n beamLineDCCSynch?: string;\r\n beamLineDCCBrem?: string;\r\n beamLineDCCOther?: string;\r\n rssChannelName?: string;\r\n pssChannelName?: string;\r\n statusResourceId?: number;\r\n position?: number;\r\n keText?: string;\r\n keRequirement?: string;\r\n channelName?: string;\r\n location?: string;\r\n branchlines: Resource[] = [];\r\n wfTableID?: number;\r\n templateVersions: AbsiTemplateResource[] = [];\r\n drawingPostLocation!: string;\r\n epsRackLocation!: string;\r\n rssRackLocation!: string;\r\n fvsemLocation!: string;\r\n\r\n}\r\n\r\nexport class RSSTestShutterRequiredToBeClosedForTest {\r\n ID?: number;\r\n BeamlineID?: number;\r\n ShutterID?: number;\r\n Shutter?: Resource;\r\n}\r\n\r\nexport interface Location {\r\n id?: number;\r\n name?: string | null;\r\n code?: string | null;\r\n type?: number | null;\r\n status?: number;\r\n description?: string;\r\n resourceTypeID?: number;\r\n resourceType?: ResourceType | null;\r\n beamLineExtension?: string;\r\n beamLineSupervisorID?: string;\r\n beamLineScientistID?: string;\r\n beamLineAlternateScientistID?: string;\r\n beamLineNotes?: string;\r\n beamLineDCCSynch?: string;\r\n beamLineDCCBrem?: string;\r\n beamLineDCCOther?: string;\r\n newLocation?: boolean;\r\n autoLocation?: boolean;\r\n}\r\n\r\nexport interface LocationGroup {\r\n name?: string | null;\r\n type?: number | null;\r\n id?: number;\r\n locations?: Location[];\r\n}\r\n\r\nexport interface ResourceGroup {\r\n name?: string | null;\r\n type?: number | null;\r\n id?: number;\r\n resources?: (Resource | undefined | Location)[];\r\n}\r\n\r\nexport class ShieldingGroup {\r\n name?: string | null;\r\n type?: number | null;\r\n id?: number;\r\n shieldings?: ResourceRelation[];\r\n keText?: string;\r\n}\r\n\r\nexport interface BeamlineCatalog {\r\n pendingResource: PendingResource;\r\n resourceSummary: ResourceSummary;\r\n}","import { BeamlineRequiringApprovalRelation } from \"src/app/components/catalogs/bratoi/models/beamline-requiring-approval-relation\";\r\nimport { ResourceTOCARelation } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\nexport class TOCA {\r\n id!: number;\r\n name!: string;\r\n status!: number;\r\n isActive?: boolean;\r\n wasDelete?: boolean;\r\n resourceTOCARelations?: ResourceTOCARelation[] | null;\r\n beamlineRequiringApprovalRelations?: BeamlineRequiringApprovalRelation[] | null;\r\n isDeleted?: boolean;\r\n isAdded?: boolean;\r\n}\r\n","import { Component, OnInit, Output, EventEmitter, ViewChild, ViewChildren, ViewContainerRef, QueryList, AfterViewInit, OnDestroy, Input, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort, Sort } from '@angular/material/sort';\r\nimport { MatRow, MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Roles, PendingResourcesType, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { BeamlineShutterRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n@Component({\r\n selector: 'resources-list-new',\r\n templateUrl: './resources-list-new.component.html',\r\n styleUrls: ['./resources-list-new.component.scss']\r\n})\r\nexport class ResourcesListNewComponent extends BaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {\r\n\r\n @Input() selectedTab = 0;\r\n @Input() filter?: string;\r\n @Input() beamlineShutter?: BeamlineShutterRelation;\r\n\r\n @Output() selectedRow = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n @ViewChild(MatPaginator) paginator!: MatPaginator;\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows!: QueryList;\r\n @ViewChildren('matrow') datarows!: QueryList;\r\n\r\n beamlineShutterRelations!: BeamlineShutterRelation[];\r\n beamlineShutterRelations$!: Observable;\r\n beamlineShutterRelationsSubs!: Subscription;\r\n\r\n public createAvailable!: boolean;\r\n\r\n public selectedRowIndex!: number;\r\n\r\n public displayedColumns: string[] = ['beamlineName', 'shutterName', 'beamlineStatus', 'ketStatus'];\r\n public dataSource!: MatTableDataSource;\r\n public pending = false;\r\n\r\n editPrivilege!: boolean;\r\n authPrivilege!: boolean;\r\n\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.selectedTab = isNaN(this.selectedTab) ? this.selectedTab = 0 : this.selectedTab;\r\n this.createAvailable = this.hasRoles([Roles.ADM]);\r\n if (changes['filter']) this.applyFilter(this.filter);\r\n if (changes['selectedTab']) this.beamlineShutterRelations?.map(b => b.statusClass = this.getColor(b));\r\n if (changes['beamlineShutter']) {\r\n if (!this.beamlineShutter?.beamlineId) {\r\n this.selectedRowIndex = -1;\r\n }\r\n }\r\n }\r\n\r\n async ngOnInit() {\r\n this.checkPrivileges();\r\n this.loadAllResources();\r\n }\r\n\r\n checkPrivileges() {\r\n this.editPrivilege = this.hasPrivilege(PrivilegeEnum.RSSTestDBEdit);\r\n this.authPrivilege = this.hasPrivilege(PrivilegeEnum.RSSTestDBAuth);\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.setSortingAccessor();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.beamlineShutterRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadAllResources() {\r\n this.loading.emit(true);\r\n const pendingResource = this._catalogService.pendingCatalog?.approvalType == PendingCatalogType.Beamline ? this._catalogService.pendingCatalog : null;\r\n this.beamlineShutterRelations$ = this.store.select(state => state.BeamlineShutter.data);\r\n this.beamlineShutterRelationsSubs = this.beamlineShutterRelations$.subscribe(async data => {\r\n if (data?.length) {\r\n this.beamlineShutterRelations = data;\r\n this.beamlineShutterRelations.map(b => b.statusClass = this.getColor(b));\r\n const priv = this.hasPrivilege(PrivilegeEnum.BeamlineCatalog) || this.hasPrivilege(PrivilegeEnum.RSSTestDBAuth);\r\n this.dataSource = new MatTableDataSource(this.beamlineShutterRelations.filter(x => priv || !priv && x.beamlineId).sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.beamlineName, b.beamlineName)));\r\n this.setSortingAccessor();\r\n if (pendingResource) {\r\n if (pendingResource.id) {\r\n const index = this.dataSource.data.findIndex(r => r.beamlineId == (pendingResource.id ?? (-pendingResource.pendingID)));\r\n this.showIndex(index);\r\n }\r\n else {\r\n const pendingKET = await this.redirect.getDocument(FormType.KET);\r\n if (pendingKET) {\r\n const shutterID = pendingKET.locations?.find(l => l.type == this.resourceTypeEnum.Shutter)?.id;\r\n const index = this.dataSource.data.findIndex(r => r.shutterId == shutterID);\r\n this.showIndex(index);\r\n }\r\n }\r\n }\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n if (this.dataSource) {\r\n this.dataSource.sortingDataAccessor = (item, property) => {\r\n switch (property) {\r\n default:\r\n return (item as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n }\r\n\r\n applyFilter(filterValue?: string) {\r\n if (this.dataSource)\r\n this.dataSource.filter = filterValue?.trim().toLowerCase() ?? '';\r\n }\r\n\r\n async selectRow(row: BeamlineShutterRelation) {\r\n if (await this.canDeactivate()) {\r\n if (row?.beamlineId) {\r\n this.selectedRowIndex = row.beamlineId;\r\n this._catalogService.pendingCatalog = undefined;\r\n this.selectedRow.emit(row);\r\n }\r\n }\r\n }\r\n\r\n getColor(beamlineShutter: BeamlineShutterRelation): string {\r\n switch (this.selectedTab) {\r\n case 0:\r\n if ((beamlineShutter.type == PendingResourcesType.Details || beamlineShutter.type == PendingResourcesType.Both || (beamlineShutter.beamlineId ?? 0) < 0) && this.hasPrivilege(PrivilegeEnum.BeamlineCatalog)) {\r\n return 'yellow';\r\n }\r\n else {\r\n switch (beamlineShutter.status) {\r\n case 1: return 'blue';\r\n case 2: return 'orange';\r\n case 3: return 'black';\r\n case 4: return 'gray';\r\n }\r\n }\r\n break;\r\n\r\n case 2:\r\n if ((beamlineShutter.type == PendingResourcesType.Rss_Database || beamlineShutter.type == PendingResourcesType.Both) && (this.editPrivilege || this.authPrivilege)) {\r\n return 'yellow';\r\n }\r\n break;\r\n }\r\n return '';\r\n }\r\n\r\n showIndex(id?: number) {\r\n if ((id ?? 0) >= 0) {\r\n setTimeout(() => {\r\n this.showElement(id, 7);\r\n this.selectRow(this.dataSource.data[id as number]);\r\n this.loading.emit(false);\r\n }, 100);\r\n }\r\n }\r\n\r\n showElement(index: number | undefined, height: number) {\r\n const indexstr = index?.toString();\r\n const row = this.rows.find(row => row.element.nativeElement.getAttribute('position') === indexstr);\r\n if (row) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > height)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n return;\r\n }\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.beamlineId == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n getClass(e: BeamlineShutterRelation, type: number) {\r\n if (e.ketStatus) {\r\n const t = e.ketStatus;\r\n switch (type) {\r\n case 2:\r\n if (t?.templateStatus == 0) { return ''; }\r\n if (t?.templateStatus == 1) { return ' indicator ket-active'; }\r\n if (t?.templateStatus == 2) { return ' indicator ket-new'; }\r\n break;\r\n case 1:\r\n if (t?.activeFullVersion != null && t?.newFullVersions == 0) { return ' indicator ket-active'; }\r\n if (t?.activeFullVersion != null && t?.newFullVersions != 0) { return ' indicator ket-active-new'; }\r\n if (t?.activeFullVersion == null && t?.newFullVersions != 0) { return ' indicator ket-new'; }\r\n return ' indicator';\r\n break;\r\n case 0:\r\n if (t?.activeAbbrVersion != null && t?.newAbbrVersions == 0) { return ' indicator ket-active'; }\r\n if (t?.activeAbbrVersion != null && t?.newAbbrVersions != 0) { return ' indicator ket-active-new'; }\r\n if (t?.activeAbbrVersion == null && t?.newAbbrVersions != 0) { return ' indicator ket-new'; }\r\n return 'indicator ket-inactive';\r\n break;\r\n }\r\n } else {\r\n return 'indicator';\r\n }\r\n return '';\r\n }\r\n\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
Beamline\r\n \r\n Shutter\r\n \r\n Status\r\n \r\n \r\n
KET Version
\r\n\r\n \r\n
Full
\r\n
Abbr
\r\n
Global
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n history\r\n check_circle\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, ChangeDetectorRef, HostListener, ElementRef, OnDestroy, Injector } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { ResourceDetailsNewComponent } from '../resource-details-new/resource-details-new.component';\r\nimport { KeChecklistBuilderComponent } from '../../../kenable/ke-checklist-builder/ke-checklist-builder.component';\r\nimport { ResourcesListNewComponent } from '../resources-list-new/resources-list-new.component';\r\nimport { MatTabGroup } from '@angular/material/tabs';\r\nimport { PendingResourcesType } from 'src/app/common/enumerations/enumerations';\r\nimport { BeamlineShutterRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { RssTestDatabaseComponent } from '../rss-test-database/rss-test-database.component';\r\n\r\n@Component({\r\n selector: 'app-resources-new',\r\n templateUrl: './resources-new.component.html',\r\n styleUrls: ['./resources-new.component.scss']\r\n})\r\nexport class ResourcesNewComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n @ViewChild(ResourceDetailsNewComponent) details!: ResourceDetailsNewComponent;\r\n @ViewChild(KeChecklistBuilderComponent) keBuilder!: KeChecklistBuilderComponent;\r\n @ViewChild(ResourcesListNewComponent) list!: ResourcesListNewComponent;\r\n @ViewChild(RssTestDatabaseComponent) rssTestDatabase!: RssTestDatabaseComponent;\r\n @ViewChild(MatTabGroup) tabGroup!: MatTabGroup;\r\n @ViewChild('divHeader') divHeader!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _route: ActivatedRoute) {\r\n super(injector);\r\n }\r\n\r\n public valid = false;\r\n public isShutter = true;\r\n\r\n public selectedTab = 0;\r\n beamlineShutter!: BeamlineShutterRelation;\r\n showPrevResource!: boolean;\r\n showChangesToggle = false;\r\n\r\n getDetails(e: BeamlineShutterRelation) {\r\n this.showPrevResource = false;\r\n this.beamlineShutter = e;\r\n this.showChangesToggle = this.showChanges();\r\n // this.details.getDetails(e);\r\n // this.rssTestDatabase.set(e);\r\n if (e.shutterId && this.keBuilder)\r\n this.keBuilder.getDetails(e, this.tabGroup.selectedIndex == 1);\r\n }\r\n\r\n showChanges() {\r\n const editPrivilege = this.hasPrivilege(PrivilegeEnum.RSSTestDBEdit);\r\n const authPrivilege = this.hasPrivilege(PrivilegeEnum.RSSTestDBAuth);\r\n const blPrivilege = this.hasPrivilege(PrivilegeEnum.BeamlineCatalog);\r\n if (isNaN(this.selectedTab)) this.selectedTab = 0;\r\n switch (this.selectedTab) {\r\n case 0:\r\n return this.beamlineShutter?.pendingResources?.some(x => (x.type == PendingResourcesType.Details || x.type == PendingResourcesType.Both) && (blPrivilege));\r\n case 1:\r\n return false;\r\n case 2:\r\n return this.beamlineShutter?.pendingResources?.some(x => (x.type == PendingResourcesType.Rss_Database || x.type == PendingResourcesType.Both) && (editPrivilege || authPrivilege));\r\n }\r\n return false;\r\n }\r\n\r\n\r\n ngOnInit() {\r\n this._route.params.subscribe(params => {\r\n this.selectedTab = +params['tab'];\r\n });\r\n }\r\n\r\n tabClicked(e: any) {\r\n this.selectedTab = e;\r\n }\r\n}\r\n\r\nexport class detailsUsers {\r\n approverUserName?: string;\r\n updateUserName?: string;\r\n approvedOn?: Date | null;\r\n updatedOn?: Date | null;\r\n}\r\n\r\nexport class PendingResourceUsers {\r\n approverId?: number;\r\n updateById?: number;\r\n approvedOn?: Date;\r\n updatedOn?: Date;\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n Show Modification\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, EventEmitter, Output, ViewChild, ElementRef, OnDestroy, Input, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingResourcesType, Catalog } from 'src/app/common/enumerations/enumerations';\r\nimport { DisapprovalReasonComponent } from 'src/app/controls/disapproval-reason/disapproval-reason.component';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { CatalogModel } from '../../catalog-model';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { detailsUsers } from '../resources-new/resources-new.component';\r\nimport { Resource, ResourceSummary, BeamlineShutterRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'rss-test-database',\r\n templateUrl: './rss-test-database.component.html',\r\n styleUrls: ['./rss-test-database.component.scss']\r\n})\r\nexport class RssTestDatabaseComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() beamlineShutter?: BeamlineShutterRelation;\r\n @Input() showPrevResource!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() refreshResources = new EventEmitter();\r\n @Output() pending = new EventEmitter();\r\n @ViewChild('bodyHeader') bodyHeader!: ElementRef;\r\n\r\n valid = false;\r\n // modifying = false;\r\n // deleted = false;\r\n // adding = false;\r\n isModifying = false;\r\n\r\n prevResource = false;\r\n\r\n showApproveDisapprove = false;\r\n showModifyButton = false;\r\n showCancelButton = false;\r\n\r\n modifyAvailable = false;\r\n\r\n editPrivilege = false;\r\n authPrivilege = false;\r\n\r\n shutter: Resource | null = new Resource();\r\n beamline: Resource | null = new Resource();\r\n resourceSummary: ResourceSummary = new ResourceSummary();\r\n\r\n currentBeamline!: Resource | null;\r\n currentShutter!: Resource | null;\r\n\r\n shutterName!: string;\r\n beamlineName!: string;\r\n\r\n beamlineShutterRelations?: BeamlineShutterRelation[];\r\n beamlineShutterRelationsFiltered?: BeamlineShutterRelation[];\r\n beamlineShutterRelations$!: Observable;\r\n beamlineShutterRelationsSubs!: Subscription;\r\n\r\n public detailResourceUsers: detailsUsers = { approverUserName: '', updateUserName: '', approvedOn: null, updatedOn: null };\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public resourceService: ResourcesService,\r\n public catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadBeamlineShutterRelations();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.checkPrivileges();\r\n this.clear();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.beamlineShutterRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n checkPrivileges() {\r\n this.editPrivilege = this.hasPrivilege(PrivilegeEnum.RSSTestDBEdit);\r\n this.authPrivilege = this.hasPrivilege(PrivilegeEnum.RSSTestDBAuth);\r\n }\r\n\r\n loadBeamlineShutterRelations() {\r\n this.beamlineShutterRelations$ = this.store.select(state => state.BeamlineShutter.data);\r\n this.beamlineShutterRelationsSubs = this.beamlineShutterRelations$.subscribe(data => {\r\n if (data?.length) {\r\n this.beamlineShutterRelations = data;\r\n if (this.beamlineShutter) {\r\n this.beamlineShutter = this.beamlineShutterRelations.find(r => r.beamlineId == this.beamlineShutter?.beamlineId);\r\n this.set();\r\n }\r\n }\r\n });\r\n }\r\n\r\n set() {\r\n this.loading.emit(true);\r\n if (!this.beamlineShutter) this.clear();\r\n\r\n if (this.beamlineShutter?.beamlineId) {\r\n this.catalogService.GetPendingResourcesUsersByResourceId(this.beamlineShutter.beamlineId, PendingResourcesType.Rss_Database).toPromise().then(PendingResourceUsers => {\r\n const idApproverUser = PendingResourceUsers?.approverId;\r\n let idLastUpdateUser = PendingResourceUsers?.updateById;\r\n\r\n if (!idLastUpdateUser && this.beamlineShutter?.pendingResources.length && this.showPrevResource) {\r\n this.detailResourceUsers.updateUserName = this.getUser(this.beamlineShutter.pendingResources[0].createdBy)?.name;\r\n this.detailResourceUsers.updatedOn = this.beamlineShutter.pendingResources[0].createdOn;\r\n }\r\n else if (idLastUpdateUser) {\r\n this.detailResourceUsers.approverUserName = this.getUser(idApproverUser)?.name;\r\n this.detailResourceUsers.updateUserName = this.getUser(idLastUpdateUser)?.name;\r\n this.detailResourceUsers.approvedOn = PendingResourceUsers?.approvedOn;\r\n this.detailResourceUsers.updatedOn = PendingResourceUsers?.updatedOn;\r\n }\r\n else {\r\n this.detailResourceUsers.approverUserName = '';\r\n this.detailResourceUsers.approvedOn = null;\r\n this.detailResourceUsers.updateUserName = '';\r\n this.detailResourceUsers.updatedOn = null;\r\n }\r\n });\r\n this.resourceService.getResourceSummaryByBeamline(this.beamlineShutter.beamlineId).subscribe(\r\n data => {\r\n this.addResourceSummaryInfo(data);\r\n this.showModifyButton = true;\r\n const pendingResource = this.beamlineShutter?.pendingResources?.find(x => x.type == PendingResourcesType.Rss_Database && (this.editPrivilege || this.authPrivilege));\r\n if (pendingResource && this.authPrivilege && this.currentUser?.id != pendingResource.createdBy) {\r\n this.prevResource = true;\r\n this.showApproveDisapprove = true;\r\n this.showModifyButton = false;\r\n }\r\n else {\r\n this.showCancelButton = this.currentUser?.id == pendingResource?.createdBy;\r\n this.prevResource = this.currentUser?.id == pendingResource?.createdBy;\r\n this.isModifying = false;\r\n this.showModifyButton = this.editPrivilege;\r\n this.modifyAvailable = !pendingResource;\r\n }\r\n this.onShowPrevResource();\r\n this.loading.emit(false);\r\n }\r\n );\r\n } else if (this.beamlineShutter?.beamlineId && this.beamlineShutter.beamlineId < 0) {\r\n this.catalogService.GetPendingCatalogById(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog).subscribe(\r\n data => {\r\n if (data.resourceSummary)\r\n this.addResourceSummaryInfo(data.resourceSummary);\r\n this.showApproveDisapprove = this.authPrivilege;\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n\r\n this.scrollToTop();\r\n }\r\n\r\n reset() {\r\n setTimeout(() => {\r\n this.clear();\r\n this.set();\r\n }, 300);\r\n }\r\n\r\n clear() {\r\n this.currentBeamline = null;\r\n this.currentShutter = null;\r\n this.resourceSummary = new ResourceSummary();\r\n this.shutter = new Resource();\r\n this.beamline = new Resource();\r\n this.valid = false;\r\n this.isModifying = false;\r\n this.showApproveDisapprove = false;\r\n this.showModifyButton = false;\r\n this.prevResource = false;\r\n this.showCancelButton = false;\r\n this.modifyAvailable = false;\r\n\r\n this.loading.emit(false);\r\n }\r\n\r\n addResourceSummaryInfo(data: ResourceSummary) {\r\n this.resourceSummary = data;\r\n if (data.shutter) {\r\n this.shutter = data.shutter as Resource;\r\n this.shutterName = this.shutter.name ?? '';\r\n }\r\n this.beamline = data.beamline as Resource;\r\n this.beamlineName = this.beamline.name ?? '';\r\n }\r\n\r\n modifyResource() {\r\n this.showModifyButton = false;\r\n this.isModifying = true;\r\n }\r\n\r\n async saveResource() {\r\n if (await this.isValid()) {\r\n const catalogModel = new CatalogModel();\r\n catalogModel.resourceSummary = this.resourceSummary;\r\n\r\n this.catalogService.SaveAsDraftType(catalogModel, Catalog.BeamlineCatalog, PendingResourcesType.Rss_Database).subscribe(x => {\r\n this.alert.warning('The Resource Modification Has Been Sent To Approve Successfully!!');\r\n this.reset();\r\n });\r\n }\r\n }\r\n\r\n async isValid() {\r\n this.valid = true;\r\n\r\n return this.valid;\r\n }\r\n\r\n approve() {\r\n if (this.beamlineShutter?.beamlineId)\r\n this.catalogService.Approve(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog, PendingResourcesType.Rss_Database).subscribe(\r\n () => {\r\n this.alert.success('Resource Approved Successfully!!');\r\n this.reset();\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n openAddDisapprovalDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = '';\r\n dialogConfig.width = '400px';\r\n const dialogRef = this.dialog.open(DisapprovalReasonComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data != undefined) {\r\n this.disapprove(data);\r\n }\r\n });\r\n }\r\n\r\n disapprove(disapprovalReason: string) {\r\n if (this.beamlineShutter?.beamlineId)\r\n this.catalogService.Unapprove(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog, disapprovalReason, PendingResourcesType.Rss_Database).subscribe(data => {\r\n this.alert.success('Resource Disapproved Successfully!!');\r\n this.reset();\r\n });\r\n }\r\n\r\n onShowPrevResource() {\r\n if (this.showPrevResource) {\r\n this.currentBeamline = this.beamline;\r\n this.currentShutter = this.shutter;\r\n const pendingResource = this.beamlineShutter?.pendingResources.find(x => x.type == PendingResourcesType.Rss_Database);\r\n const resourceData = this.utils.JSONparse(pendingResource?.resourceData);\r\n this.beamline = this.utils.convertToResource(resourceData.Beamline);\r\n this.shutter = this.utils.convertToResource(resourceData.Shutter);\r\n } else {\r\n this.beamline = this.currentBeamline ?? this.beamline;\r\n this.shutter = this.currentShutter ?? this.shutter;\r\n this.currentBeamline = null;\r\n this.currentShutter = null;\r\n }\r\n }\r\n\r\n isModified(resource: string, prop: string) {\r\n if (this.currentBeamline && this.currentShutter) {\r\n switch (resource) {\r\n case 'shutter':\r\n return (this.shutter as any)[prop] !== (this.currentShutter as any)[prop];\r\n case 'beamline':\r\n if (typeof (this.beamline as any)[prop] !== 'object') {\r\n return (this.beamline as any)[prop] !== (this.currentBeamline as any)[prop];\r\n } else {\r\n const obj1 = (this.beamline as any)[prop];\r\n const obj2 = (this.currentBeamline as any)[prop];\r\n return !this.utils.isEquivalent(obj1, obj2);\r\n }\r\n default:\r\n return false;\r\n }\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n cancel() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Are you sure you want to Cancel your changes ?',\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(res => {\r\n if (res) {\r\n if (this.beamlineShutter?.beamlineId)\r\n this.catalogService.Unapprove(this.beamlineShutter.beamlineId, Catalog.BeamlineCatalog, 'User Cancelled Changes', PendingResourcesType.Rss_Database).subscribe(data => {\r\n this.alert.warning('Changes has been cancelled!');\r\n });\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n Last update by: {{ detailResourceUsers.updateUserName }} on: \r\n {{\r\n detailResourceUsers.updatedOn | date : \"short\"\r\n }} \r\n
\r\n
\r\n Approved by: {{ detailResourceUsers.approverUserName }} on: \r\n {{\r\n detailResourceUsers.approvedOn | date : \"short\"\r\n }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Shutter Name\r\n \r\n \r\n
\r\n
\r\n \r\n Beamline Name\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n RSS Rack Location\r\n \r\n \r\n
\r\n
\r\n \r\n EPS Location\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n RSS Test Type\r\n \r\n Hutchless\r\n Hutch / Hutch Functional\r\n Mini Hutch\r\n Vacuum Switch\r\n \r\n \r\n
\r\n
\r\n \r\n Procedure Number\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n Shutter Key Code\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Wiring Diagram Print\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Safety Interlock Controls Chassis Print\r\n \r\n \r\n
\r\n
\r\n \r\n Beamline Hutch Interlock Controls Print\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n Rack Location (Specific)\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Sector Number\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n EPS PLC Location\r\n \r\n \r\n
\r\n
\r\n \r\n Hutch Interlock Controls Chassis Location\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Internal Crash Off Search Box Locations\r\n \r\n \r\n
\r\n
\r\n \r\n External Crash Off Search Box Locations\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n SR Interlock Summing Chassis Location\r\n \r\n \r\n
\r\n
\r\n \r\n Time Delay\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Arc Sector Interlock Summing Chassis Location\r\n \r\n \r\n
\r\n
\r\n \r\n ES Vacuum Switch Interface Box\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Microswitch Clamps\r\n \r\n \r\n
\r\n
\r\n Shorting Plugs\r\n
\r\n
\r\n Magnet Plate\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Cancel\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n \r\n Approve\r\n \r\n \r\n Disapprove\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit, SimpleChanges } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceSummary, ResourceUserRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourceBeamlineStaffCatalog } from '../beamline-staff';\r\n\r\n@Component({\r\n selector: 'beamline-staff-main-panel',\r\n templateUrl: './beamline-staff-main-panel.component.html',\r\n styleUrls: ['./beamline-staff-main-panel.component.scss']\r\n})\r\nexport class BeamlineStaffMainPanelComponent extends BaseComponent implements OnInit {\r\n\r\n @Input() filter?: string;\r\n @Input() beamlines?: ResourceBeamlineStaffCatalog[] = [];\r\n\r\n public resourceSummary?: ResourceSummary;\r\n public RURAux?: ResourceUserRelation;\r\n\r\n public loading = false;\r\n\r\n public displayedColumnsSupervisor: string[] = ['supervisorName', 'endstation', 'branchline'];\r\n public displayedColumnsScientist: string[] = ['scientistName', 'endstation', 'branchline'];\r\n public displayedColumnsAlternateScientist: string[] = ['alternateScientistName', 'endstation', 'branchline'];\r\n\r\n public valueFilter = '';\r\n public emptyBeamlineStaffMessage = '';\r\n\r\n id = '';\r\n public filteredBeamlines?: any[];\r\n\r\n ngOnInit() {\r\n this.emptyBeamlineStaffMessage = this.getMessage('beamline_Staff_Catalog').description ?? 'Without assigning supervisors or scientists to the resource';\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const filter = this.filter ? this.filter?.toLowerCase() : null;\r\n this.filteredBeamlines = filter ?\r\n this.beamlines?.filter(b =>\r\n b.beamlineName.toLowerCase().includes(filter) ||\r\n b.supervisors.some(u => u.userName.toLowerCase().includes(filter)) ||\r\n b.scientists.some(u => u.userName.toLowerCase().includes(filter)) ||\r\n b.alternateScientists.some(u => u.userName.toLowerCase().includes(filter)) ||\r\n b.supervisors.some(u => u.endStations.includes(filter)) ||\r\n b.supervisors.some(u => u.branchLines.includes(filter)) ||\r\n b.scientists.some(u => u.endStations.includes(filter)) ||\r\n b.scientists.some(u => u.branchLines.includes(filter)) ||\r\n b.alternateScientists.some(u => u.endStations.includes(filter)) ||\r\n b.alternateScientists.some(u => u.branchLines.includes(filter))\r\n )\r\n : this.beamlines;\r\n }\r\n\r\n clearRURAuxData() {\r\n this.RURAux = new ResourceUserRelation();\r\n this.RURAux.resourceUserRelations = [];\r\n this.RURAux.joinEndstations = [];\r\n this.RURAux.joinBranchlines = [];\r\n }\r\n\r\n clearFilter() {\r\n this.valueFilter = '';\r\n this.filteredBeamlines = this.beamlines;\r\n }\r\n\r\n scrollToBeamline(b: ResourceBeamlineStaffCatalog) {\r\n const elem = 'bl' + b.beamlineID;\r\n const divElement = document.getElementById(elem);\r\n if (divElement)\r\n divElement.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
0\">\r\n \r\n \r\n \r\n Supervisor(s)\r\n \r\n \r\n \r\n \r\n \r\n \r\n Endstation \r\n \r\n \r\n \r\n \r\n \r\n Branchline \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
0\">\r\n \r\n \r\n \r\n BL Scientist(s)\r\n \r\n \r\n \r\n \r\n \r\n Endstation \r\n \r\n \r\n \r\n \r\n \r\n Branchline \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n 0\"\r\n >\r\n \r\n \r\n \r\n Alternate BL Scientist(s)\r\n \r\n \r\n \r\n \r\n \r\n Endstation \r\n \r\n \r\n \r\n \r\n \r\n Branchline \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n 0 ||\r\n beamline.scientists.length > 0 ||\r\n beamline.alternateScientists.length > 0\r\n )\r\n \"\r\n >\r\n
{{ emptyBeamlineStaffMessage }}
\r\n
\r\n \r\n \r\n\r\n","import { Component, Output, EventEmitter, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { ResourceBeamlineStaffCatalog } from '../beamline-staff';\r\n\r\n@Component({\r\n selector: 'beamline-staff-side-panel',\r\n templateUrl: './beamline-staff-side-panel.component.html',\r\n styleUrls: ['./beamline-staff-side-panel.component.scss']\r\n})\r\n\r\nexport class BeamlineStaffSidePanelComponent implements OnInit {\r\n\r\n @Input() beamlines?: ResourceBeamlineStaffCatalog[] = [];\r\n @Input() filter?: string;\r\n\r\n @Output() beamlineSelected = new EventEmitter();\r\n\r\n loading: boolean = false;\r\n\r\n public beamLineListColumns: string[] = ['beamlineName', 'shutterName'];\r\n\r\n dataSource = new MatTableDataSource();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.dataSource = new MatTableDataSource(this.beamlines?.filter(b =>\r\n this.filter ? ((b.beamlineName as string)?.toLowerCase()?.includes(this.filter?.toLowerCase()) || (b.shutterName as string)?.toLowerCase()?.includes(this.filter?.toLowerCase())) : true));\r\n }\r\n\r\n selectBeamline(row: ResourceBeamlineStaffCatalog) {\r\n this.beamlineSelected.emit(row);\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n Beamline Name\r\n \r\n \r\n \r\n \r\n\r\n \r\n Shutter Name\r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { ResourceBeamlineStaffCatalog } from './beamline-staff';\r\nimport { BeamlineStaffSidePanelComponent } from './beamline-staff-side-panel/beamline-staff-side-panel.component';\r\nimport { BeamlineStaffMainPanelComponent } from './beamline-staff-main-panel/beamline-staff-main-panel.component';\r\n\r\n@Component({\r\n selector: 'app-beamline-staff',\r\n templateUrl: './beamline-staff.component.html',\r\n styleUrls: ['./beamline-staff.component.scss']\r\n})\r\nexport class BeamlineStaffComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n @ViewChild(BeamlineStaffMainPanelComponent) main?: BeamlineStaffMainPanelComponent;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n element!: any;\r\n\r\n beamlines?: any[];\r\n\r\n loadingMessage!: string;\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ResourcesService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'US 02-05 Appendix 1: ALS Responsible Beamline Scientists / Alternate Responsible Scientists';\r\n this.getBeamlinesStaff();\r\n }\r\n\r\n\r\n getBeamlinesStaff() {\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n this.service.getAllResourceStaff().toPromise().then(\r\n (data) => {\r\n this.beamlines = data;\r\n this.beamlines?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.beamlineName, b.beamlineName));\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n scrollTo(b: ResourceBeamlineStaffCatalog) {\r\n this.main?.scrollToBeamline(b);\r\n }\r\n\r\n // showStatusChangeMessage(scfMaster: SCFMaster) {\r\n // this.alert.message(this.getMessage(\"formStateChanged\"), [\r\n // new MessagePlaceholder(\"{serialNo}\", scfMaster.serialNo), new MessagePlaceholder(\"{status}\", scfMaster.statusName ?? 'New'),]);\r\n // }\r\n\r\n // override ngOnDestroy(): void {\r\n // this.scfMastersSubs?.unsubscribe();\r\n // this.proceduresSubs?.unsubscribe();\r\n // }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n // this.loading = true;\r\n // this.scfService\r\n // .getSerialNo()\r\n // .toPromise()\r\n // .then((data) => {\r\n // if (data) {\r\n // this.status.isCreating = true;\r\n // this.scfMaster = new SCFMaster();\r\n // this.scfMaster.name = data.serialNo;\r\n // this.scfMaster.serialNo = data.serialNo;\r\n // this.scfMaster.status = FormStatusEnum.New;\r\n // this.scfMaster.formStatus = new FormStatus();\r\n // this.scfMaster.createdBy = this.getCurrentUser()?.id;\r\n // this.scfMaster.createdByName = this.getCurrentUser()?.name;\r\n // this.scfMaster.relatedDocuments = [];\r\n // this.scfMaster.createdOn = new Date();\r\n // this.scfMaster.estimatedStartOn = new Date();\r\n // this.scfMaster.estimatedEndOn = new Date();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\r\n // \"MMM-DD-YYYY\"\r\n // );\r\n // this.scfMaster.editingBy = this.getCurrentUser();\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.side.selectedRowIndex = -1;\r\n\r\n // this.loading = true;\r\n // this.scfService\r\n // .post(this.scfMaster)\r\n // .toPromise()\r\n // .then(scfMaster => {\r\n // if (scfMaster) {\r\n // this.scfMaster = scfMaster;\r\n // this.loading = true;\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.disabled = false;\r\n // this.checkPrivileges();\r\n // this.status.isCreating = true;\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster) {\r\n // this.scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n // // TODO this.side.selectedRowIndex = this.scfMaster?.id;\r\n // }\r\n // }\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n // async edit() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n // async editAmendment() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n release() {\r\n // if (this.scfMaster && this.scfMasterUnchanged && !utils.isEquivalent(this.cleanSCFMaster(this.scfMaster), this.cleanSCFMaster(this.scfMasterUnchanged))) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"SCF_Release_confirmation\")\r\n // ?.description, icon: \"stop\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // if (this.scfMaster?.status == FormStatusEnum.New) {\r\n // this.loading = true;\r\n // this.scfService\r\n // .cancel(this.scfMaster, \"New Form Canceled\")\r\n // .toPromise()\r\n // .then(() => {\r\n // this.loading = false;\r\n // this.scfMaster = null;\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n // }\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n }\r\n\r\n // cleanSCFMaster(scfMaster: SCFMaster) {\r\n // let clonedSCFMaster: SCFMaster = new SCFMaster();\r\n // if (scfMaster) {\r\n // clonedSCFMaster = utils.cloneDeep(scfMaster);\r\n // clonedSCFMaster.wfTable = null;\r\n // clonedSCFMaster.editingBy = null;\r\n // clonedSCFMaster.editingById = null;\r\n // clonedSCFMaster.editingUntil = null;\r\n // clonedSCFMaster.updatedOn = null;\r\n // clonedSCFMaster.updatedBy = null;\r\n // }\r\n // return clonedSCFMaster;\r\n // }\r\n\r\n // async releaseForm() {\r\n // this.loading = true;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // // this.scfMaster = this.scfMasterUnchanged;\r\n // await this.setEditing(false);\r\n // }\r\n\r\n async setEditing(value: boolean) {\r\n // await this.scfService\r\n // .setEditing(this.scfMaster?.id ?? 0, value)\r\n // .toPromise()\r\n // .then(async () => {\r\n // await this.loadSCFs();\r\n // });\r\n // this.disabled = !value;\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n // settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n // });\r\n // settings.afterClosed().subscribe(() => { });\r\n // }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n // rowSelected(e: SCFMaster | any) {\r\n // this.scfMaster = e as SCFMaster;\r\n // if (\r\n // this.scfMasterUnchanged?.status != this.scfMaster?.status &&\r\n // this.scfMasterUnchanged?.id == this.scfMaster?.id\r\n // ) {\r\n // this.showStatusChangeMessage(this.scfMaster);\r\n // }\r\n // this.scfMasterUnchanged = e ? utils.cloneDeep(e) : null;\r\n // this.checkPrivileges();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\"MMM-DD-YYYY\");\r\n // this.status = new SCFStatus();\r\n // if (this.scfMaster?.status == FormStatusEnum.Amendment) {\r\n // this.status.isEditingAmendment =\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id;\r\n // this.status.isViewingAmendment = this.privileges.canViewAmendment;\r\n // } else if (this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) {\r\n // this.status.isEditing = true;\r\n // this.status.isViewingAmendment = false;\r\n // } else {\r\n // this.status.isViewingAmendment = false;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // }\r\n // this.checkDisabled();\r\n // this.showAmendmentToggle = (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.canSeeAmendment();\r\n // this.checkButtonsVisible();\r\n // this.setHeights();\r\n // this.scrollToTop('sidenav-content');\r\n // }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n // checkButtonsVisible() {\r\n // this.buttonsVisible =\r\n // this.status.isCreating ||\r\n // this.status.isEditing ||\r\n // this.status.isEditingAmendment ||\r\n // this.status.isCreatingAmendment ||\r\n // this.status.isViewingAmendment ||\r\n // (this.scfMaster?.status == FormStatusEnum.WorkApprovals &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == FormStatusEnum.PendingActivation &&\r\n // this.privileges.canCancel) ||\r\n // (this.scfMaster?.status == this.formStatus.Draft &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == this.formStatus.RestrictionsAmendment &&\r\n // this.privileges.canUnsubmitAmendment)\r\n // }\r\n\r\n // changeAmendmentToggle(e: any) {\r\n // this.status.isViewingAmendment = e.checked;\r\n // this.checkPrivileges();\r\n // }\r\n\r\n // canSeeAmendment(): boolean {\r\n // let res = this.hasPrivilege(PrivilegeEnum.SCFSubmit);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFNewForm);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.EditSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.ViewSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.scfMaster?.requesterId == this.getCurrentUser()?.id || this.scfMaster?.scfAmendments?.find(a => a.active)?.requesterId == this.getCurrentUser()?.id;\r\n // if (res) {\r\n // return true;\r\n // }\r\n // return false;\r\n // }\r\n\r\n // checkDisabled() {\r\n // this.disabled = true;\r\n // if (!this.getCurrentUser()) {\r\n // return;\r\n // } else {\r\n // this.disabled = !(\r\n // this.scfMaster?.status === FormStatusEnum.New ||\r\n // this.scfMaster?.status === FormStatusEnum.Draft ||\r\n // (this.scfMaster?.status === FormStatusEnum.Amendment &&\r\n // this.status.isViewingAmendment)\r\n // );\r\n // }\r\n // }\r\n\r\n checkPrivileges() {\r\n // this.checkDisabled();\r\n // this.privileges = new SCFPrivileges();\r\n // this.privileges = {\r\n // canCreate: this.hasPrivilege(PrivilegeEnum.SCFNewForm),\r\n // canEdit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFNewForm) &&\r\n // (!this.scfMaster?.editingBy ||\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id),\r\n // canSubmit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canCancel:\r\n // (this.scfMaster?.status == this.formStatus.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New ||\r\n // this.scfMaster?.status == FormStatusEnum.WorkApprovals ||\r\n // this.scfMaster?.status == FormStatusEnum.PendingActivation) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canUnsubmit:\r\n // this.scfMaster?.status == this.formStatus.WorkApprovals &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit) &&\r\n // this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 2)?.wfSignatures?.filter((x) => x.code != \"SUBMIT\" && x.signed).length ==\r\n // 0,\r\n // canCreateAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Active ||\r\n // this.scfMaster?.status == FormStatusEnum.HoldPoint) &&\r\n // this.hasPrivilege(PrivilegeEnum.RequestAmendment),\r\n // canEditAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.EditSCFAmendment),\r\n // canSubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canUnsubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment) &&\r\n // !this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.filter(x =>\r\n // x.amendmentID == this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.amendmentNumber == this.scfMaster?.scfAmendments?.length\r\n // )?.amendmentID\r\n // )\r\n // .some((x) => x.signed),\r\n // canCancelAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canViewAmendment: (this.scfMaster && this.canSeeAmendment()) ?? false,\r\n // canAddHoldPoints:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CreateHoldPoints) &&\r\n // (this.scfMaster.status == FormStatusEnum.Active ||\r\n // this.scfMaster.status == FormStatusEnum.HoldPoint)) ?? false,\r\n // canAddHoldPointsDraft:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(\r\n // PrivilegeEnum.CreateHoldPointsDraft\r\n // ) &&\r\n // this.scfMaster.status == FormStatusEnum.Draft) ?? false,\r\n // canDuplicate:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CopySCF)) ?? false,\r\n // canRelease:\r\n // ((this.scfMaster &&\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) ||\r\n // this.getCurrentUser()?.userRole?.map((x) => x.roleID).includes(Roles.SA)) ?? false,\r\n // };\r\n }\r\n\r\n duplicate() {\r\n // const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"20em\", data: {\r\n // message: this.getMessage(\r\n // \"Are you sure you want to copy this form\"\r\n // ).description, icon: \"warn\", val: false,\r\n // },\r\n // });\r\n // removeRef\r\n // .afterClosed()\r\n // .toPromise()\r\n // .then((result) => {\r\n // if (result != null && result) {\r\n // const id = this.scfMaster?.id ?? 0;\r\n // this.side.rowUnselected();\r\n // // this.cdRef.detectChanges();\r\n // this.loading = true;\r\n // this.scfService\r\n // .copySCF(id, false)\r\n // .toPromise()\r\n // .then(async (scfMaster) => {\r\n // this.scfMaster = scfMaster;\r\n // if (this.scfMaster && this.scfMaster?.id)\r\n // this.notificationService.createNotification(NotificationType.CreateSCF, this.scfMaster.id, await this.scfService.getEmails(this.scfMaster), 5, this.scfMaster?.locations).toPromise();\r\n // if (this.scfMaster)\r\n // await this.side.getValues(this.scfMaster);\r\n // this.loading = false;\r\n // })\r\n // .catch((error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n requestAmendment() {\r\n // const pendingChanges = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => !x.wfTaskLocal.amendmentID)?.filter(x => x.answerChangedBy);\r\n // if (!pendingChanges?.length) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"request_amendment\")?.description, icon: \"warn\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // this.loading = true;\r\n // if (this.scfMaster?.id)\r\n // this.scfService.requestAmendment(this.scfMaster.id).toPromise().then(() => {\r\n // this.status.isCreatingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // this.loading = false;\r\n // }, (error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // }\r\n // );\r\n // }\r\n // });\r\n // } else {\r\n // this.alert.message(\r\n // this.getMessage(\"OperationApprovalPendingChanges\")\r\n // );\r\n // }\r\n }\r\n\r\n // setStatus(status: SCFStatus | any) {\r\n // this.status = status;\r\n // }\r\n\r\n // savedEvent(e: SCFMaster | null | undefined | any) {\r\n // this.scfMaster = e;\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // this.scfService.currentDoc = this.scfMaster;\r\n // this.rowSelected(e);\r\n // }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatDialogRef, MAT_DIALOG_DATA, MatDialogConfig } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { Link } from 'src/app/components/catalogs/navigation-links/link/link';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { TOCA } from 'src/app/components/catalogs/beamline-catalog/resource/toca';\r\nimport { LinkComponent } from '../../beamline-catalog/dialogs/link/link.component';\r\nimport { BeamlineRequiringApproval } from '../models/beamline-requiring-approval';\r\nimport { TocaComponent } from '../toca/toca.component';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\n\r\n@Component({\r\n selector: 'app-bratoi-add-edit',\r\n templateUrl: './bratoi-add-edit.component.html',\r\n styleUrls: ['./bratoi-add-edit.component.scss']\r\n})\r\nexport class BratoiAddEditComponent extends BaseComponent implements OnInit {\r\n\r\n public beamline!: Resource;\r\n public beamlineName?: string | null;\r\n public beamlines!: Resource[];\r\n public beamlines$!: Observable;\r\n public beamlinesSubs!: Subscription;\r\n public beamlineCtrl = new FormControl();\r\n public beamlinesFiltered!: Resource[];\r\n\r\n public links: Link[] = [];\r\n public tocas: TOCA[] = [];\r\n\r\n public bratoi!: BeamlineRequiringApproval;\r\n\r\n public disableSubmmit!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n bratoi: BeamlineRequiringApproval,\r\n bratois: BeamlineRequiringApproval[],\r\n dialogTitle: string\r\n },\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.bratoi = this.utils.cloneDeep(this.inputData.bratoi);\r\n this.beamlineName = this.bratoi?.resource ? this.bratoi.resource.name : this.bratoi.resourceString;\r\n this.beamlineCtrl.setValue(this.beamlineName);\r\n this.links = this.bratoi?.links ? this.bratoi.links : [];\r\n this.tocas = this.bratoi?.tocas ? this.bratoi.tocas : [];\r\n this.getResources();\r\n }\r\n\r\n getResources() {\r\n this.beamlines$ = this.store.select(state => state.Resources.data);\r\n this.beamlinesSubs = this.beamlines$.subscribe(data => {\r\n if (data?.length > 0) {\r\n this.beamlines = data.filter(r => r.type == ResourceType.Beamline).sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.beamlinesFiltered = this.beamlines.filter(x => !this.inputData.bratois.map(b => b.resourceId).includes(x.id));\r\n }\r\n });\r\n }\r\n\r\n selectedBeamline(event: MatAutocompleteSelectedEvent) {\r\n this.beamline = event.option.value;\r\n }\r\n\r\n accept() {\r\n if (this.validate()) {\r\n this.bratoi.links = this.links;\r\n this.bratoi.tocas = this.tocas;\r\n if (typeof (this.beamline) === 'object') {\r\n this.bratoi.resourceId = this.beamline.id;\r\n }\r\n if (typeof (this.beamline) === 'string') {\r\n this.bratoi.resource.name = this.beamline;\r\n }\r\n this.dialogRef.close(this.bratoi);\r\n } else {\r\n this.alert.message('BRATOI__NotBlank');\r\n }\r\n }\r\n\r\n cancel() {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n confirmation.afterClosed().toPromise().then((response: CanDeactivateResponse) => {\r\n switch (response) {\r\n case CanDeactivateResponse.Discard:\r\n this.dialogRef.close(null);\r\n break;\r\n }\r\n });\r\n }\r\n\r\n displayBeamlineName(beamline: Resource) {\r\n return beamline && beamline.name ? beamline.name : beamline;\r\n }\r\n\r\n linkDialog(linkToUpdate?: Link, index?: number) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n link: linkToUpdate ? linkToUpdate : new Link(),\r\n dialogTitle: linkToUpdate ? 'Edit Link' : 'Add Link',\r\n typeAvailable: true,\r\n linkType: linkToUpdate?.typeId\r\n };\r\n dialogConfig.width = '600px';\r\n const dialogRef = this.dialog.open(LinkComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(async (link: Link) => {\r\n if (link) {\r\n this.updateLink(link, index ?? -1);\r\n }\r\n });\r\n }\r\n\r\n tocaDialog(tocaToUpdate?: TOCA, index?: number) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n toca: tocaToUpdate ? tocaToUpdate : new TOCA(),\r\n dialogTitle: tocaToUpdate ? 'Edit TOCA' : 'Add TOCA',\r\n inputTitle: 'TOCA',\r\n tocas: this.tocas\r\n };\r\n dialogConfig.minWidth = '600px';\r\n dialogConfig.autoFocus = false;\r\n\r\n const dialogRef = this.dialog.open(TocaComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(async (toca: TOCA) => {\r\n if (toca) {\r\n this.updateTOCA(toca, index ?? -1);\r\n }\r\n });\r\n }\r\n\r\n deleteList(listToDelete: any, index: number) {\r\n listToDelete.splice(index, 1);\r\n }\r\n\r\n updateLink(link: Link, index: number) {\r\n if (index >= 0) {\r\n this.links[index] = link;\r\n } else {\r\n this.links.push(link);\r\n }\r\n }\r\n\r\n updateTOCA(toca: TOCA, index: number) {\r\n if (index >= 0) {\r\n this.tocas[index] = toca;\r\n } else {\r\n this.tocas.push(toca);\r\n }\r\n }\r\n\r\n validate(): boolean {\r\n if (!this.bratoi?.id) {\r\n if (!this.beamlineCtrl.value) { return false; }\r\n if (typeof (this.beamlineCtrl.value) === 'string') {\r\n if (!this.beamline) { return false; }\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n filter(e: any) {\r\n const textToFilter = e.target.value;\r\n this.beamlinesFiltered = this.beamlines.filter(x => x.name?.toLowerCase().includes(textToFilter.toLowerCase()));\r\n }\r\n\r\n getTocaSharedWith(toca: TOCA) {\r\n const relations = toca.beamlineRequiringApprovalRelations?.filter(r => r.beamlineRequiringApprovalId != this.bratoi.id).map(r => r.beamlineRequiringApproval?.resource ? r.beamlineRequiringApproval?.resource.name : r.beamlineRequiringApproval?.resourceString).sort((a, b) => this.utils.SortBeamlines(a, b));\r\n if (relations?.length) {\r\n return '(Shared with: ' + relations.join(', ') + ')';\r\n }\r\n return null;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ inputData.dialogTitle }}\r\n {{ beamlineName }}\r\n \r\n Beamline/PSS\r\n \r\n \r\n \r\n {{ beamline.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Documentation
\r\n
\r\n
\r\n \r\n add_box\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ link.linkType?.name }}:\r\n {{\r\n link.hyperlink\r\n }}\r\n
\r\n
\r\n {{ link.linkType?.name }}: {{ link.hyperlink }}\r\n
\r\n
\r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
TOCAs
\r\n
\r\n
\r\n \r\n add_box\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ toca.name }}\r\n {{ getTocaSharedWith(toca) }}\r\n
\r\n
\r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n\r\n","import { Component, Inject, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { BratoiService } from '../bratoi.service';\r\nimport { BeamlineRequiringApproval } from '../models/beamline-requiring-approval';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'app-bratoi-history',\r\n templateUrl: './bratoi-history.component.html',\r\n styleUrls: ['./bratoi-history.component.scss']\r\n})\r\nexport class BratoiHistoryComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public loading = false;\r\n\r\n public displayedColumns: string[] = ['resource', 'documentation', 'criticalApertures', 'action'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public bratoi: BeamlineRequiringApproval,\r\n private service: BratoiService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.getInfo();\r\n }\r\n\r\n getInfo() {\r\n this.loading = true;\r\n this.service.GetHistoryByBlRequiring(this.bratoi.id).toPromise().then(data => {\r\n const history: BeamlineRequiringApproval[] = [];\r\n data?.sort((a, b) => this.utils.sort(b.id, a.id)).map(item => {\r\n const bratoi: any = this.utils.JSONparse(item.objectJson);\r\n bratoi.Action = item.name;\r\n bratoi.ActionOn = item.createdOn;\r\n bratoi.ActionBy = { Name: this.users.find(x => x.id == item.createdBy)?.name };\r\n history.push(bratoi);\r\n });\r\n this.dataSource = new MatTableDataSource(history);\r\n this.loading = false;\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n History for {{ bratoi.resourceString }}\r\n \r\n close\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n Beamline/PSS \r\n \r\n {{ element.ResourceString }}\r\n \r\n \r\n\r\n \r\n Documentation \r\n \r\n
\r\n
\r\n {{ link.LinkType.Name }}:\r\n {{\r\n link.Hyperlink\r\n }}\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n List Of Critical Apertures\r\n \r\n \r\n
\r\n
\r\n {{ toca.Name }}\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n Action \r\n \r\n
\r\n {{ element.Action }}
\r\n {{ element.ActionBy.Name }}
\r\n \r\n {{ element.ActionOn | date : \"longDate\" }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { ChangeDetectorRef, Component, ElementRef, HostListener, OnInit, ViewChild, OnDestroy, Injector } from '@angular/core';\r\nimport { BratoiHistoryComponent } from './bratoi-history/bratoi-history.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatDialogConfig, MatDialogRef } from '@angular/material/dialog';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { Action, Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { Link } from 'src/app/components/catalogs/navigation-links/link/link';\r\nimport { TOCA } from 'src/app/components/catalogs/beamline-catalog/resource/toca';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { BratoiAddEditComponent } from './bratoi-add-edit/bratoi-add-edit.component';\r\nimport { BratoiService } from './bratoi.service';\r\nimport { BeamlineRequiringApproval } from './models/beamline-requiring-approval';\r\nimport { BratoiRefresh, BratoiRefreshById } from './store/bratoi/bratoi.action';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\n\r\n@Component({\r\n selector: 'bratoi',\r\n templateUrl: './bratoi.component.html',\r\n styleUrls: ['./bratoi.component.scss']\r\n})\r\nexport class BratoiComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n @ViewChild('sidenav')\r\n sidenav!: MatSidenav;\r\n @ViewChild('headerTop')\r\n headerTop!: ElementRef;\r\n\r\n loading!: boolean;\r\n resourceRequired!: boolean;\r\n\r\n filterCtrl = new FormControl();\r\n tmpFilter!: string;\r\n public privilege = PrivilegeEnum;\r\n\r\n filter?: string;\r\n\r\n errorMessages!: string[];\r\n headerOnTop!: boolean;\r\n\r\n disableAction!: boolean;\r\n public action = Action;\r\n\r\n public bratois!: BeamlineRequiringApproval[];\r\n public bratois$!: Observable;\r\n public bratoisSubs!: Subscription;\r\n\r\n oldBratoi?: BeamlineRequiringApproval | null;\r\n\r\n public displayedColumns: string[] = ['resource', 'documentation', 'criticalApertures', 'approval', 'options'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n @ViewChild('bratoiTable')\r\n bratoiTable!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n\r\n private route: ActivatedRoute,\r\n private service: BratoiService\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.loading = true;\r\n this.moduleTitle = 'BL 08-34 Appendix 2: Beamlines Requiring Approval for Top-off';\r\n // this.store.dispatch(new BratoiRefresh());\r\n this.getBratoi();\r\n }\r\n\r\n queryRoute() {\r\n const id = this.route.snapshot.queryParams['id'];\r\n if (id) {\r\n }\r\n }\r\n\r\n applyFilter(e: any) {\r\n this.filter = e;\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.bratoisSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n this.loading = true;\r\n }\r\n ////////////////////////////////////\r\n\r\n getBratoi() {\r\n this.loading = true;\r\n this.bratois$ = this.store.select(state => state.Bratoi.data);\r\n this.bratoisSubs = this.bratois$.subscribe(data => {\r\n if (data?.length) {\r\n this.bratois = data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resourceString, b.resourceString)).filter(bl => bl.isActive);\r\n this.dataSource = new MatTableDataSource(this.bratois);\r\n this.dataSource.filter = '';\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n validateShowMenu(blToUpdateAction: BeamlineRequiringApproval): boolean {\r\n if (blToUpdateAction?.action >= 0) { return true; }\r\n if (blToUpdateAction?.action !== 1 && this.hasPrivilege(PrivilegeEnum.BlRequiringApprovalEdit)) { return true; }\r\n if (blToUpdateAction?.action !== 1 && this.hasPrivilege(PrivilegeEnum.BlRequiringApprovalDelete)) { return true; }\r\n if (blToUpdateAction?.action === 1 && this.hasPrivilege(PrivilegeEnum.BlRequiringApprovalUnapprove)) { return true; }\r\n return false;\r\n }\r\n\r\n AddEditDialog(bratoi?: BeamlineRequiringApproval) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n bratoi: bratoi ? bratoi : new Link(),\r\n bratois: this.bratois,\r\n dialogTitle: bratoi ? 'Edit Beamline Requiring Approval' : 'Add Beamline Requiring Approval'\r\n };\r\n this.oldBratoi = bratoi;\r\n dialogConfig.width = '1000px';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(BratoiAddEditComponent, dialogConfig);\r\n this.dialogDiscardChanges(dialogRef);\r\n dialogRef.afterClosed().subscribe((bratoi: BeamlineRequiringApproval) => {\r\n if (bratoi) {\r\n if (!bratoi.links) { bratoi.links = []; }\r\n if (!bratoi.tocas) { bratoi.tocas = []; }\r\n if (bratoi.id) {\r\n this.updateBratoi(bratoi);\r\n } else {\r\n this.createBratoi(bratoi);\r\n }\r\n }\r\n });\r\n }\r\n\r\n dialogDiscardChanges(dialogRef: MatDialogRef) {\r\n dialogRef.backdropClick().subscribe(() => {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n confirmation.afterClosed().subscribe((response: CanDeactivateResponse) => {\r\n switch (response) {\r\n case CanDeactivateResponse.Discard:\r\n dialogRef.close();\r\n break;\r\n }\r\n });\r\n });\r\n }\r\n\r\n createBratoi(bratoiToCreate: BeamlineRequiringApproval) {\r\n this.loading = true;\r\n this.service.CreateBlApproval(bratoiToCreate).toPromise().then(() => {\r\n this.refreshRelated(bratoiToCreate);\r\n this.loading = false;\r\n });\r\n }\r\n\r\n updateBratoi(bratoiToUpdate: BeamlineRequiringApproval) {\r\n this.loading = true;\r\n this.service.UpdateBlApproval(bratoiToUpdate).toPromise().then(() => {\r\n this.refreshRelated(bratoiToUpdate);\r\n this.loading = false;\r\n });\r\n }\r\n\r\n refreshRelated(bratoi: BeamlineRequiringApproval) {\r\n bratoi.tocas.filter(t => t.beamlineRequiringApprovalRelations?.length).map(t => {\r\n const rel = t.beamlineRequiringApprovalRelations;\r\n rel?.map(r => {\r\n if (r.beamlineRequiringApproval) {\r\n this.store.dispatch(new BratoiRefreshById(r.beamlineRequiringApprovalId));\r\n }\r\n });\r\n });\r\n if (this.oldBratoi) {\r\n const bratoiTmp = this.utils.cloneDeep(this.oldBratoi);\r\n this.oldBratoi = null;\r\n this.refreshRelated(bratoiTmp);\r\n }\r\n }\r\n\r\n updateAction(blrToUpdateAction: BeamlineRequiringApproval, action: Action) {\r\n this.loading = true;\r\n this.service.UpdateActionBlApproval(blrToUpdateAction.id, action, blrToUpdateAction).toPromise().then(bratoi => {\r\n const messageName = action === Action.Approve ? 'BRATOI_Approved' : 'BRATOI_Unapproved';\r\n this.alert.message(messageName);\r\n this.loading = false;\r\n });\r\n }\r\n\r\n showHistory(bratoi: BeamlineRequiringApproval) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = bratoi;\r\n dialogConfig.width = '60vw';\r\n dialogConfig.maxHeight = '80vh';\r\n dialogConfig.minHeight = '50vh';\r\n this.dialog.open(BratoiHistoryComponent, dialogConfig);\r\n }\r\n\r\n changedFilter(e: any) {\r\n const text = (e as string).toLowerCase();\r\n this.filter = text;\r\n this.dataSource.data = this.bratois.filter(\r\n x => x.resourceString.toLowerCase().includes(text) ||\r\n x.links.some(\r\n l => l.hyperlink?.toLowerCase().includes(text) || l.linkType?.name?.toLowerCase().includes(text)\r\n ) ||\r\n x.tocas.some(\r\n t => t.name.toLowerCase().includes(text) || t.resourceTOCARelations?.some(r => r.resource?.name?.toLowerCase().includes(text)) || t.resourceTOCARelations?.some(r => r.toca?.name.toLowerCase().includes(text))\r\n )\r\n );\r\n }\r\n\r\n getTocaSharedWith(bratoi: BeamlineRequiringApproval, toca: TOCA) {\r\n const relations = toca.beamlineRequiringApprovalRelations?.filter(r => r.beamlineRequiringApprovalId != bratoi.id).map(r => r.beamlineRequiringApproval?.resource ? r.beamlineRequiringApproval?.resource.name : r.beamlineRequiringApproval?.resourceString).sort((a, b) => this.utils.SortBeamlines(a, b));\r\n if (relations?.length) {\r\n return '(Shared with: ' + relations.join(', ') + ')';\r\n }\r\n return null;\r\n }\r\n\r\n confirmDeleteDialog(e: any) {\r\n\r\n }\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n \r\n\r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n
\r\n *Uses Optical Element\r\n
\r\n \r\n \r\n Beamline/PSS\r\n \r\n \r\n \r\n \r\n\r\n \r\n Documentation\r\n \r\n
\r\n
\r\n :\r\n \r\n \r\n \r\n
\r\n
\r\n :\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n List Of Critical Apertures\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n BRC Approval\r\n \r\n \r\n \r\n
\r\n \r\n Approve\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ element.actionBy.name }}\r\n
\r\n {{ element.actionOn | date : \"longDate\" }}\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n Action\r\n \r\n \r\n
\r\n {{ action[element.action] }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n Options\r\n \r\n \r\n
\r\n
\r\n \r\n more_vert\r\n \r\n \r\n \r\n edit\r\n Edit\r\n \r\n \r\n delete\r\n Delete\r\n \r\n \r\n close\r\n Unapprove\r\n \r\n = 0\"\r\n (click)=\"showHistory(element)\"\r\n >\r\n history\r\n History\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n\r\n arrow_upward\r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { BratoiComponent } from './bratoi.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { ClipboardModule } from '@angular/cdk/clipboard';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { CommentsAndAttachmentsModule } from 'src/app/controls/comments-and-attachments/comments-and-attachments.module';\r\nimport { MatFileUploadModule } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { BratoiAddEditComponent } from './bratoi-add-edit/bratoi-add-edit.component';\r\nimport { BratoiHistoryComponent } from './bratoi-history/bratoi-history.component';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { TocaComponent } from './toca/toca.component';\r\n\r\nconst appRoutes: Routes = [\r\n {\r\n path: 'bratoi',\r\n component: BratoiComponent\r\n }\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n imports: [\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatFileUploadModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n CommonModule,\r\n MatToolbarModule,\r\n MatListModule,\r\n MatSidenavModule,\r\n QuillModule.forRoot(),\r\n CommentsAndAttachmentsModule,\r\n SharedModule,\r\n ClipboardModule,\r\n MatIconModule,\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true, // <-- debugging purposes only\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules\r\n })\r\n ],\r\n declarations: [\r\n BratoiComponent,\r\n BratoiAddEditComponent,\r\n TocaComponent,\r\n BratoiHistoryComponent\r\n ],\r\n\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class BratoiModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { TransactionLog } from 'src/app/services/logs/transaction-logs';\r\nimport { TOCA } from 'src/app/components/catalogs/beamline-catalog/resource/toca';\r\nimport { environment } from 'src/environments/environment';\r\nimport { BeamlineRequiringApproval } from './models/beamline-requiring-approval';\r\nimport { Action } from 'src/app/common/enumerations/enumerations';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BratoiService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/BeamlineRequiringApproval';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n GetBeamlinelApprovals(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetBeamlinelApproval(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n GetHistoryByBlRequiring(id: number): Observable {\r\n return this.http.get(this.api + '/History/' + id);\r\n }\r\n\r\n CreateBlApproval(blRequiringApproval: BeamlineRequiringApproval): Observable {\r\n return this.http.post(this.api, blRequiringApproval);\r\n }\r\n\r\n UpdateBlApproval(blRequiringApproval: BeamlineRequiringApproval): Observable {\r\n return this.http.put(this.api + '/' + blRequiringApproval.id, blRequiringApproval);\r\n }\r\n\r\n DeleteBlApproval(id: number) {\r\n return this.http.delete(this.api + '/' + id);\r\n }\r\n\r\n UpdateActionBlApproval(id: number, action: Action, blRequiringApproval: BeamlineRequiringApproval): Observable {\r\n return this.http.put(this.api + '/' + id + '/' + action, blRequiringApproval);\r\n }\r\n\r\n //TOCA\r\n GetActiveTOCAs(): Observable {\r\n return this.http.get(this.api + '/TOCA');\r\n }\r\n}\r\n","import { Action } from \"src/app/common/enumerations/enumerations\";\r\nimport { BeamlineRequiringApproval } from \"../../models/beamline-requiring-approval\";\r\n\r\nexport class BratoiRefresh {\r\n static readonly type = '[Bratoi] Refresh';\r\n}\r\n\r\nexport class BratoiRefreshById {\r\n static readonly type = '[Bratoi] RefreshById';\r\n\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class BratoiCreate {\r\n static readonly type = '[Bratoi] Create';\r\n\r\n constructor(public item: BeamlineRequiringApproval) { }\r\n}\r\n\r\nexport class BratoiUpdate {\r\n static readonly type = '[Bratoi] Update';\r\n\r\n constructor(public id: number, public item: BeamlineRequiringApproval) { }\r\n}\r\n\r\nexport class BratoiUpdateAction {\r\n static readonly type = '[Bratoi] UpdateAction';\r\n\r\n constructor(public id: number, public item: BeamlineRequiringApproval, public action: Action) { }\r\n}\r\n\r\nexport class BratoiDelete {\r\n static readonly type = '[Bratoi] Delete';\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { State, Selector, Action, StateContext, Store } from '@ngxs/store';\r\nimport { Injectable } from '@angular/core';\r\nimport { BratoiCreate, BratoiDelete, BratoiRefresh, BratoiRefreshById, BratoiUpdate, BratoiUpdateAction } from './bratoi.action';\r\nimport { TOCARefresh } from '../toca/toca.action';\r\nimport { BeamlineRequiringApproval } from '../../models/beamline-requiring-approval';\r\nimport { BratoiService } from '../../bratoi.service';\r\n\r\nexport class BratoiStateModel {\r\n data: BeamlineRequiringApproval[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Bratoi',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class BratoiState {\r\n constructor(\r\n private bratoiService: BratoiService,\r\n private store: Store\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: BratoiStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(BratoiRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.bratoiService.GetBeamlinelApprovals().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(BratoiRefreshById)\r\n refreshById({ getState, patchState }: StateContext, { id }: BratoiRefreshById) {\r\n this.bratoiService.GetBeamlinelApproval(id).subscribe(bratoi => {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, bratoi]\r\n });\r\n });\r\n }\r\n\r\n @Action(BratoiCreate)\r\n create({ getState, patchState }: StateContext, { item }: BratoiCreate) {\r\n const state = getState();\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n this.store.dispatch(new TOCARefresh());\r\n }\r\n\r\n @Action(BratoiUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: BratoiUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n this.store.dispatch(new TOCARefresh());\r\n }\r\n }\r\n\r\n @Action(BratoiUpdateAction)\r\n updateAction({ getState, patchState }: StateContext, { id, item, action }: BratoiUpdateAction) {\r\n this.bratoiService.UpdateActionBlApproval(id, action, item).toPromise().then(bratoi => {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, bratoi]\r\n });\r\n }\r\n });\r\n this.store.dispatch(new TOCARefresh());\r\n }\r\n\r\n @Action(BratoiDelete)\r\n delete({ getState, patchState }: StateContext, { id }: BratoiDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as BratoiActions from './bratoi.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n// import { Channels } from 'src/app/Store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BratoiStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new BratoiActions.BratoiRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BRATOI, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BratoiActions.BratoiCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BratoiActions.BratoiUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BratoiActions.BratoiDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BratoiActions.BratoiRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { TOCA } from \"src/app/components/catalogs/beamline-catalog/resource/toca\";\r\n\r\n\r\nexport class TOCARefresh {\r\n static readonly type = '[TOCA] Refresh';\r\n}\r\n\r\nexport class TOCACreate {\r\n static readonly type = '[TOCA] Create';\r\n\r\n constructor(public item: TOCA) { }\r\n}\r\n\r\nexport class TOCAUpdate {\r\n static readonly type = '[TOCA] Update';\r\n\r\n constructor(public id: number, public item: TOCA) { }\r\n}\r\n\r\nexport class TOCADelete {\r\n static readonly type = '[TOCA] Delete';\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { State, Selector, Action, StateContext, Store } from '@ngxs/store';\r\nimport { Injectable } from '@angular/core';\r\n\r\nimport { TOCACreate, TOCADelete, TOCARefresh, TOCAUpdate } from './toca.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { TOCA } from 'src/app/components/catalogs/beamline-catalog/resource/toca';\r\nimport { BratoiService } from '../../bratoi.service';\r\n\r\nexport class TOCAStateModel {\r\n data: TOCA[] = [];\r\n}\r\n\r\n@State({\r\n name: 'TOCA',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class TOCAState {\r\n constructor(\r\n private store: Store,\r\n private bratoiService: BratoiService,\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: TOCAStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(TOCARefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.bratoiService.GetActiveTOCAs().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(TOCACreate)\r\n create({ getState, patchState }: StateContext, { item }: TOCACreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(TOCAUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: TOCAUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.data);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(TOCADelete)\r\n delete({ getState, patchState }: StateContext, { id }: TOCADelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as TocaActions from './toca.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TocaStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new TocaActions.TOCARefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.TOCAS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new TocaActions.TOCACreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new TocaActions.TOCAUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new TocaActions.TOCADelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new TocaActions.TOCARefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { TOCA } from 'src/app/components/catalogs/beamline-catalog/resource/toca';\r\n\r\n@Component({\r\n selector: 'app-toca',\r\n templateUrl: './toca.component.html',\r\n styleUrls: ['./toca.component.scss']\r\n})\r\nexport class TocaComponent extends BaseComponent implements OnInit {\r\n\r\n toca!: TOCA | null;\r\n tocas!: TOCA[];\r\n tocas$!: Observable;\r\n tocasSubs!: Subscription;\r\n tocasFiltered!: TOCA[];\r\n tocasCtrl = new FormControl();\r\n\r\n tmpTocas: TOCA[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n toca: TOCA,\r\n dialogTitle: string,\r\n inputTitle: string,\r\n tocas: TOCA[]\r\n }) {\r\n super(injector);\r\n\r\n this.toca = inputData.toca;\r\n this.tmpTocas = inputData.tocas;\r\n }\r\n\r\n ngOnInit() {\r\n this.tocas$ = this.store.select(state => state.TOCA.data);\r\n this.tocasSubs = this.tocas$.subscribe(data => {\r\n this.tocasCtrl.setValue(this.toca);\r\n this.tocas = data.filter(x => !this.tmpTocas?.map(t => t.name.toLowerCase()).includes(x.name.toLowerCase()) && x.isActive);\r\n this.tocas = this.tocas.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a?.name?.toLowerCase(), b?.name?.toLowerCase(), null, true));\r\n this.tocasFiltered = this.tocas.filter(x => !x.wasDelete);\r\n });\r\n }\r\n\r\n add() {\r\n if (this.toca?.id && this.tocasCtrl.value) {\r\n this.inputData.toca = this.toca;\r\n this.dialogRef.close(this.inputData.toca);\r\n }\r\n else {\r\n if (typeof this.tocasCtrl.value == 'string') {\r\n if (this.tmpTocas.find(x => x.name.toLowerCase() == (this.tocasCtrl.value as string).toLowerCase())) {\r\n this.alert.message('TOCA_AlreadyOnList');\r\n }\r\n else if (this.tocasFiltered?.length > 0 && this.tocasFiltered[0].name.toLowerCase() == this.tocasCtrl.value.toLowerCase()) {\r\n this.alert.message('TOCA_AlreadyExists');\r\n }\r\n else if (this.tocasCtrl.value.toLowerCase() != this.toca?.name?.toLowerCase()) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('TOCA_CreateNew').description.replace('{toca}', this.tocasCtrl.value as string),\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n const toca = {\r\n id: 0,\r\n name: (this.tocasCtrl.value as string)\r\n } as TOCA;\r\n this.inputData.toca = toca;\r\n this.dialogRef.close(this.inputData.toca);\r\n }\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(null);\r\n }\r\n\r\n filter(e: any) {\r\n const text = e.target.value;\r\n this.tocasFiltered = this.tocas?.filter(x => !x.wasDelete && x.name.toLowerCase().includes(text.toLowerCase()));\r\n if (this.tocasFiltered.length) {\r\n this.toca = this.tocasFiltered[0];\r\n }\r\n else this.toca = null;\r\n }\r\n\r\n selectedToca(e: MatAutocompleteSelectedEvent) {\r\n this.toca = e.option.value;\r\n }\r\n\r\n}\r\n","
{{ inputData.dialogTitle }}
\r\n
\r\n \r\n \r\n \r\n \r\n {{ toca.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n","import { ActionPendingCatalog, Catalog } from \"src/app/common/enumerations/enumerations\";\r\nimport { AcceleratorCatalog } from \"src/app/components/catalogs/accelerator-catalog/services/accelerator-catalog\";\r\nimport { NotificationTemplate } from \"src/app/components/catalogs/notifications/services/notification-template\";\r\nimport { ResourceSummary, BeamlineShutterRelation, BeamlineCatalog } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { Role } from \"src/app/components/catalogs/roles/services/role\";\r\nimport { UserRoleNote } from \"src/app/services/user-roles/user-role-note\";\r\nimport { UserCatalog } from \"src/app/components/catalogs/user-catalog/services/user\";\r\n\r\nexport class CatalogModel {\r\n public userCatalog?: UserCatalog;\r\n public role?: Role;\r\n public acceleratorCatalog?: AcceleratorCatalog;\r\n public resourceSummary?: ResourceSummary;\r\n public notificationTemplate?: NotificationTemplate;\r\n public action?: ActionPendingCatalog;\r\n public userRoleNote?: UserRoleNote;\r\n}\r\n\r\nexport class CatalogModelList {\r\n public userCatalogs?: UserCatalog[];\r\n public roles?: Role[];\r\n public acceleratorCatalogs?: AcceleratorCatalog[];\r\n public beamlineShutterRelations?: BeamlineShutterRelation[];\r\n public notificationTemplates?: NotificationTemplate[];\r\n public beamlineCatalogs?: BeamlineCatalog[];\r\n}\r\n\r\nexport interface ModifyingResult {\r\n isModifying: boolean;\r\n userID: number | null;\r\n catalogs: Catalog[] | null;\r\n}\r\n\r\nexport interface Tuple {\r\n item1: any;\r\n item2: any;\r\n}\r\n\r\nexport enum Catalogs {\r\n Accelerator = 'Accelerator',\r\n Roles = 'Roles'\r\n}\r\n\r\nexport enum Move {\r\n NEXT = 1,\r\n PREV = -1,\r\n FIRST = 0,\r\n LAST = 999\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { MatDialog } from \"@angular/material/dialog\";\r\nimport { Observable } from \"rxjs\";\r\nimport { Catalog, PendingResourcesType } from \"src/app/common/enumerations/enumerations\";\r\nimport { CanDeactivateResponse } from \"src/app/controls/pending-changes-dialog/pending-changes-dialog-response\";\r\nimport { PendingChangesDialogComponent } from \"src/app/controls/pending-changes-dialog/pending-changes-dialog.component\";\r\nimport { PendingResource, PendingApprovals, PendingResourceUsers, PendingCatalog, PendingCatalogType } from \"src/app/services/pending-approvals/pending-approval\";\r\nimport { BeamlineShutterRelation, Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { UserCatalog } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { environment } from \"src/environments/environment\";\r\nimport { CatalogModel, CatalogModelList, ModifyingResult, Tuple } from \"./catalog-model\";\r\nimport { ScheduleBeamlineOverviewResource } from \"src/app/services/schedule/schedule-beamline-overview-resource\";\r\nimport { HttpClient } from \"@angular/common/http\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CatalogService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/WorkFlowCatalogs';\r\n public apiPendingResources: string = environment.urls.baseApiUrl + '/PendingResources';\r\n public apiPendingApproval: string = environment.urls.baseApiUrl + '/PendingApproval';\r\n public userCatalogs?: UserCatalog[];\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private dialog: MatDialog\r\n ) { }\r\n\r\n public currentDocSchedule!: ScheduleBeamlineOverviewResource;\r\n\r\n pendingCatalog?: PendingCatalog;\r\n\r\n\r\n GetPendingCatalogById(id: number, catalog: Catalog): Observable {\r\n return this.http.get(this.apiPendingApproval + '/' + id + '/' + catalog);\r\n }\r\n\r\n GetJoinCreated(catalog: Catalog, join: boolean): Observable {\r\n return this.http.get(this.api + '/All/' + catalog + '/' + join);\r\n }\r\n\r\n GetHistory(catalog: Catalog, id: number): Observable {\r\n return this.http.get(this.api + '/History/' + catalog + '/' + id);\r\n }\r\n\r\n GetBeamlineShutter(beamlineId: number) {\r\n return this.http.get(this.api + '/BeamlineShutter/' + beamlineId);\r\n }\r\n\r\n IsModifiyingById(id: number, catalog: Catalog): Observable {\r\n return this.http.get(this.api + '/IsModifiying/' + id + '/' + catalog);\r\n }\r\n\r\n GetAllPendingResources(): Observable {\r\n return this.http.get(this.apiPendingResources);\r\n }\r\n\r\n GetPendingResourcesUsersByResourceId(idRosurce: number, typePendingResource: PendingResourcesType): Observable {\r\n return this.http.get(this.apiPendingResources + '/version/users/' + idRosurce + '/' + typePendingResource);\r\n }\r\n\r\n IsFieldRepeated(catalogModel: CatalogModel, catalog: Catalog): Observable {\r\n return this.http.post(this.api + '/IsFieldRepeated/' + catalog, catalogModel);\r\n }\r\n\r\n IsFieldRepeatedResource(resourceName: string, type: number): Observable {\r\n const resource: Resource = { id: 0, type, name: resourceName };\r\n return this.http.post(this.api + '/IsFieldRepeatedResource/' + type, resource);\r\n }\r\n\r\n SaveAsDraft(catalogModel: CatalogModel, catalog: Catalog) {\r\n return this.http.post(this.api + '/' + catalog, catalogModel);\r\n }\r\n\r\n SaveAsDraftType(catalogModel: CatalogModel, catalog: Catalog, typePendingResource: PendingResourcesType) {\r\n return this.http.post(this.api + '/' + catalog + '/' + typePendingResource, catalogModel);\r\n }\r\n\r\n Approve(id: number, catalog: Catalog, type: PendingResourcesType = PendingResourcesType.Default): Observable {\r\n return this.http.put(this.api + '/Approve/' + id + '/' + catalog + '/' + type, null);\r\n }\r\n\r\n Unapprove(id: number, catalog: Catalog, disapprovalReason: string, type: PendingResourcesType = PendingResourcesType.Default) {\r\n return this.http.put(this.api + '/Disapprove/' + id + '/' + catalog + '/' + type, { reason: disapprovalReason });\r\n }\r\n\r\n RemoveRow(id: number, catalog: PendingCatalogType) {\r\n return this.http.delete(this.api + '/' + id + '/' + catalog);\r\n }\r\n\r\n CancelPending(id: number, catalog: Catalog, type: PendingResourcesType) {\r\n return this.http.delete(this.api + '/DeletePending/' + id + '/' + catalog + '/' + type);\r\n }\r\n\r\n\r\n\r\n async confirmationDialog(val: boolean): Promise {\r\n if (val) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n\r\n confirmation.afterClosed().subscribe((response: CanDeactivateResponse) => {\r\n switch (response) {\r\n case CanDeactivateResponse.Discard:\r\n return true;\r\n default:\r\n return false;\r\n }\r\n });\r\n } else {\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\n","import { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from '../../app-routing.module';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { ResourcesNewComponent } from './beamline-catalog/resources-new/resources-new.component';\r\nimport { RssTestDatabaseComponent } from './beamline-catalog/rss-test-database/rss-test-database.component';\r\nimport { ResourceDetailsNewComponent } from './beamline-catalog/resource-details-new/resource-details-new.component';\r\nimport { RestrictionTableComponent } from './beamline-catalog/controls/restriction-table/restriction-table.component';\r\nimport { ResourcesListNewComponent } from './beamline-catalog/resources-list-new/resources-list-new.component';\r\nimport { KenableModule } from '../kenable/kenable.module';\r\nimport { VacuumComponent } from './beamline-catalog/dialogs/vacuum/vacuum.component';\r\nimport { ShieldingComponent } from './beamline-catalog/dialogs/shielding/shielding.component';\r\nimport { RestrictionComponent } from './beamline-catalog/dialogs/restriction/restriction.component';\r\nimport { OrganizationComponent } from './beamline-catalog/dialogs/organization/organization.component';\r\nimport { NoteComponent } from './beamline-catalog/dialogs/note/note.component';\r\nimport { FastValveSensorComponent } from './beamline-catalog/dialogs/fast-valve-sensor/fast-valve-sensor.component';\r\nimport { EndstationComponent } from './beamline-catalog/dialogs/endstation/endstation.component';\r\nimport { BranchlineComponent } from './beamline-catalog/dialogs/branchline/branchline.component';\r\nimport { UnsavedChangesGuard } from 'src/app/common/guards/unsaved-changes.guard';\r\nimport { BeamlineCatalogComponent } from './beamline-catalog/beamline-catalog.component';\r\nimport { ResourceUserRelationComponent } from './beamline-catalog/dialogs/resource-user-relation/resource-user-relation.component';\r\nimport { LinkComponent } from './beamline-catalog/dialogs/link/link.component';\r\nimport { RadMonitorModule } from './rad-monitor/rad-monitor.module';\r\nimport { RadMonitorComponent } from './rad-monitor/rad-monitor.component';\r\nimport { AcceleratorCatalogComponent } from './accelerator-catalog/accelerator-catalog.component';\r\nimport { AcceleratorCatalogDetailsComponent } from './accelerator-catalog/accelerator-catalog-details/accelerator-catalog-details.component';\r\nimport { AcceleratorShieldingComponent } from './accelerator-catalog/accelerator-catalog-details/accelerator-shielding/accelerator-shielding.component';\r\nimport { AcceleratorCatalogListComponent } from './accelerator-catalog/accelerator-catalog-list/accelerator-catalog-list.component';\r\nimport { AcceleratorShieldingDialogComponent } from './accelerator-catalog/accelerator-catalog-details/accelerator-shielding/accelerator-shielding-dialog/accelerator-shielding-dialog.component';\r\nimport { UserCatalogComponent } from './user-catalog/user-catalog.component';\r\nimport { UserCatalogListComponent } from './user-catalog/user-catalog-list/user-catalog-list.component';\r\nimport { UserRoleComponent } from './user-catalog/user-catalog-details/user-catalog-roles/user-role/user-role.component';\r\nimport { UserCatalogRolesComponent } from './user-catalog/user-catalog-details/user-catalog-roles/user-catalog-roles.component';\r\nimport { UserCatalogDetailsComponent } from './user-catalog/user-catalog-details/user-catalog-details.component';\r\nimport { DocumentTypeComponent } from './document-type/document-type.component';\r\nimport { DocumentTypeListComponent } from './document-type/document-type-list/document-type-list.component';\r\nimport { DocumentTypeDetailsComponent } from './document-type/document-type-details/document-type-details.component';\r\nimport { DocumentTypeTabComponent } from './document-type/document-type-details/document-type-tab/document-type-tab.component';\r\nimport { TemplateTypeTabComponent } from './document-type/document-type-details/template-type-tab/template-type-tab.component';\r\nimport { AddEditTemplateTypeComponent } from './document-type/document-type-details/dialogs/add-edit-template-type/add-edit-template-type.component';\r\nimport { OlogCategoryTabComponent } from './document-type/document-type-details/olog-messages/olog-category-tab/olog-category-tab.component';\r\nimport { AddEditOlogCategoryComponent } from './document-type/document-type-details/dialogs/add-edit-olog-category/add-edit-olog-category.component';\r\nimport { OlogEmailTabComponent } from './document-type/document-type-details/olog-messages/olog-email-tab/olog-email-tab.component';\r\nimport { AddEditOlogEmailComponent } from './document-type/document-type-details/dialogs/add-edit-olog-email/add-edit-olog-email.component';\r\nimport { NavigationLinksComponent } from './navigation-links/navigation-links.component';\r\nimport { NavigationLinksModule } from './navigation-links/navigation-links.module';\r\nimport { MetersCatalogComponent } from './meters-catalog/meters-catalog.component';\r\nimport { MetersCatalogModule } from './meters-catalog/meters-catalog.module';\r\nimport { ScheduleTypesComponent } from './schedule-types/schedule-types.component';\r\nimport { ScheduleTypesModule } from './schedule-types/schedule-types.module';\r\nimport { NotificationsComponent } from './notifications/notifications.component';\r\nimport { NotificationsSideComponent } from './notifications/notifications-side/notifications-side.component';\r\nimport { NotificationsDetailsComponent } from './notifications/notifications-details/notifications-details.component';\r\nimport { BeamlineStaffComponent } from './beamline-staff/beamline-staff.component';\r\nimport { BeamlineStaffSidePanelComponent } from './beamline-staff/beamline-staff-side-panel/beamline-staff-side-panel.component';\r\nimport { BeamlineStaffMainPanelComponent } from './beamline-staff/beamline-staff-main-panel/beamline-staff-main-panel.component';\r\nimport { ResourceUserRelationTableComponent } from './beamline-catalog/controls/resource-user-relation-table/resource-user-relation-table.component';\r\nimport { ResourceLinkRelationComponent } from './beamline-catalog/controls/resource-link-relation/resource-link-relation.component';\r\nimport { AcceleratorLocationComponent } from './accelerator-catalog/dialogs/location/location.component';\r\nimport { RssdListComponent } from './rssd-list/rssd-list.component';\r\nimport { RssdListSideComponent } from './rssd-list/rssd-list-side/rssd-list-side.component';\r\nimport { RssdListMainComponent } from './rssd-list/rssd-list-main/rssd-list-main.component';\r\nimport { RolesComponent } from './roles/roles.component';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\nimport { OlogMessagesComponent } from './document-type/document-type-details/olog-messages/olog-messages.component';\r\nimport { OlogMessagesTabComponent } from './document-type/document-type-details/olog-messages/olog-messages-tab/olog-messages-tab.component';\r\nimport { OlogMessageDialogComponent } from './document-type/document-type-details/olog-messages/olog-messages-tab/olog-message-dialog/olog-message-dialog.component';\r\nimport { PrivilegesCatalogComponent } from './privileges-catalog/privileges-catalog.component';\r\nimport { PrivilegesCatalogTableComponent } from './privileges-catalog/privileges-catalog-table/privileges-catalog-table.component';\r\nimport { PrivilegesCatalogMainComponent } from './privileges-catalog/privileges-catalog-main/privileges-catalog-main.component';\r\n\r\n\r\nconst appRoutes: Routes = [\r\n { path: 'resources-new', component: BeamlineCatalogComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'resources-new/:tab', component: BeamlineCatalogComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'meters-catalog', component: MetersCatalogComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'rad-monitor', component: RadMonitorComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'accelerator-catalog', component: AcceleratorCatalogComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'users', component: UserCatalogComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'document-type-catalog', component: DocumentTypeComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'link', component: NavigationLinksComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'schedule-types', component: ScheduleTypesComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'email-notification-catalog', component: NotificationsComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'beam-staff', component: BeamlineStaffComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'notification-templates', component: NotificationsComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'rssd-list', component: RssdListComponent },\r\n { path: 'roles/:roleID', component: RolesComponent, canDeactivate: [UnsavedChangesGuard, RedirectGuard] },\r\n { path: 'privileges-catalog', component: PrivilegesCatalogComponent }\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n BeamlineCatalogComponent,\r\n ResourcesNewComponent,\r\n ResourcesListNewComponent,\r\n ResourceDetailsNewComponent,\r\n RssTestDatabaseComponent,\r\n\r\n RestrictionTableComponent,\r\n\r\n VacuumComponent,\r\n ShieldingComponent,\r\n RestrictionComponent,\r\n OrganizationComponent,\r\n NoteComponent,\r\n FastValveSensorComponent,\r\n EndstationComponent,\r\n BranchlineComponent,\r\n\r\n ResourceUserRelationTableComponent,\r\n ResourceUserRelationComponent,\r\n ResourceLinkRelationComponent,\r\n LinkComponent,\r\n\r\n AcceleratorCatalogComponent,\r\n AcceleratorCatalogListComponent,\r\n AcceleratorCatalogDetailsComponent,\r\n AcceleratorShieldingComponent,\r\n AcceleratorLocationComponent,\r\n AcceleratorShieldingDialogComponent,\r\n\r\n UserCatalogComponent,\r\n UserCatalogListComponent,\r\n UserCatalogDetailsComponent,\r\n UserCatalogRolesComponent,\r\n UserRoleComponent,\r\n\r\n DocumentTypeComponent,\r\n DocumentTypeListComponent,\r\n DocumentTypeDetailsComponent,\r\n DocumentTypeTabComponent,\r\n TemplateTypeTabComponent,\r\n AddEditTemplateTypeComponent,\r\n OlogCategoryTabComponent,\r\n AddEditOlogCategoryComponent,\r\n OlogEmailTabComponent,\r\n AddEditOlogEmailComponent,\r\n\r\n\r\n NotificationsComponent,\r\n NotificationsSideComponent,\r\n NotificationsDetailsComponent,\r\n\r\n\r\n BeamlineStaffComponent,\r\n BeamlineStaffSidePanelComponent,\r\n BeamlineStaffMainPanelComponent,\r\n RssdListComponent,\r\n RssdListSideComponent,\r\n RssdListMainComponent,\r\n OlogMessagesComponent,\r\n OlogMessagesTabComponent,\r\n OlogMessageDialogComponent,\r\n\r\n PrivilegesCatalogComponent,\r\n PrivilegesCatalogTableComponent,\r\n PrivilegesCatalogMainComponent\r\n\r\n ],\r\n\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n DatePipe,\r\n MatToolbarModule,\r\n // SavingModule,\r\n QuillModule.forRoot(),\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules,\r\n }\r\n ),\r\n\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n KenableModule,\r\n RadMonitorModule,\r\n NavigationLinksModule,\r\n MetersCatalogModule,\r\n ScheduleTypesModule\r\n ],\r\n exports: [\r\n CommonModule,\r\n MatButtonModule,\r\n MatNativeDateModule,\r\n MatIconModule,\r\n MatSidenavModule,\r\n MatListModule,\r\n MatToolbarModule,\r\n RestrictionTableComponent\r\n ],\r\n providers: [\r\n\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class CatalogsModule {\r\n}\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { OlogCategory } from '../../../services/olog-category';\r\n\r\n@Component({\r\n selector: 'app-add-edit-olog-category',\r\n templateUrl: './add-edit-olog-category.component.html',\r\n styleUrls: ['./add-edit-olog-category.component.scss']\r\n})\r\nexport class AddEditOlogCategoryComponent extends BaseComponent implements OnInit {\r\n\r\n public get ologCategoryNameCtrl(): AbstractControl | null { return this.formGroup.get('ologCategoryNameCtrl'); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public ologCategory: OlogCategory,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.initializeForm();\r\n }\r\n\r\n add() {\r\n if (this.formGroup.valid) {\r\n this.dialogRef.close(this.ologCategory);\r\n } else {\r\n this.formGroup.markAllAsTouched();\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n ologCategoryNameCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]]\r\n });\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n {{ ologCategory.id ? \"Edit\" : \"Add\" }} Olog Category\r\n
\r\n
\r\n
\r\n \r\n Category Name\r\n \r\n {{\r\n getErrorMsg(ologCategoryNameCtrl)\r\n }}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { AbstractControl } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { OlogEmail } from '../../../services/olog-email';\r\n\r\n\r\n@Component({\r\n selector: 'app-add-edit-olog-email',\r\n templateUrl: './add-edit-olog-email.component.html',\r\n styleUrls: ['./add-edit-olog-email.component.scss']\r\n})\r\nexport class AddEditOlogEmailComponent extends BaseComponent implements OnInit {\r\n\r\n public usersFiltered?: User[];\r\n\r\n public get userNameCtrl(): AbstractControl | null { return this.formGroup.get('userNameCtrl'); }\r\n public get userEmailCtrl(): AbstractControl | null { return this.formGroup.get('userEmailCtrl'); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public ologEmail: OlogEmail,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n if (!this.ologEmail.user?.id) { this.ologEmail.user = new User(); }\r\n this.usersFiltered = this.getUsers();\r\n this.initializeForm();\r\n }\r\n\r\n add() {\r\n if (this.ologEmail.user?.id) {\r\n this.ologEmail.userId = this.ologEmail.user.id;\r\n this.dialogRef.close(this.ologEmail);\r\n } else {\r\n this.userNameCtrl?.setErrors({ required: true });\r\n this.formGroup.markAllAsTouched();\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n displayUserName(user: User) {\r\n return user && user.name ? user.name : '';\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n userNameCtrl: [{ value: '' }],\r\n userEmailCtrl: [{ value: '', disabled: true }]\r\n });\r\n }\r\n\r\n filter(e: any) {\r\n const text = e.target.value;\r\n const code = e.code;\r\n if (!code?.includes('Arrow')) {\r\n this.usersFiltered = this.users.filter(x => x.name?.toLowerCase().includes(text.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ ologEmail.id ? \"Edit\" : \"Add\" }} Olog Email Address\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n User\r\n \r\n \r\n \r\n {{ user.name }}\r\n \r\n \r\n {{\r\n getErrorMsg(userNameCtrl)\r\n }}\r\n \r\n\r\n \r\n Email\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { TemplateType, TemplateRolePermission, TemplateTypeDialogData, ChecklistPriv } from 'src/app/components/checklists/checklists';\r\nimport { ProcedureCategory } from 'src/app/components/procedure/models/procedure-category.model';\r\nimport { ProcedureType } from 'src/app/components/procedure/models/procedure-type';\r\nimport { ScheduleSubtype } from 'src/app/components/schedules/models/schedule-subtype';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { ResourceType } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ENTER, TAB } from '@angular/cdk/keycodes';\r\n\r\n@Component({\r\n selector: 'app-add-edit-template-type',\r\n templateUrl: './add-edit-template-type.component.html',\r\n styleUrls: ['./add-edit-template-type.component.scss']\r\n})\r\nexport class AddEditTemplateTypeComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public get templateTypeNameCtrl(): AbstractControl | null { return this.formGroup.get('templateTypeNameCtrl'); }\r\n public get templateTypeDescriptionCtrl(): AbstractControl | null { return this.formGroup.get('templateTypeDescriptionCtrl'); }\r\n public get templateTypeCodeCtrl(): AbstractControl | null { return this.formGroup.get('templateTypeCodeCtrl'); }\r\n public get createScheduleTabCtrl(): AbstractControl | null { return this.formGroup.get('createScheduleTabCtrl'); }\r\n public get removeScheduleTabCtrl(): AbstractControl | null { return this.formGroup.get('removeScheduleTabCtrl'); }\r\n public get resourceTypeCtrl(): AbstractControl | null { return this.formGroup.get('resourceTypeCtrl'); }\r\n public get scheduleTypeCtrl(): AbstractControl | null { return this.formGroup.get('scheduleTypeCtrl'); }\r\n public get scheduleSubtypeCtrl(): AbstractControl | null { return this.formGroup.get('scheduleSubtypeCtrl'); }\r\n public get scheduleResourceTypeCtrl(): AbstractControl | null { return this.formGroup.get('scheduleResourceTypeCtrl'); }\r\n public get rtToggleCtrl(): AbstractControl | null { return this.formGroup.get('rtToggleCtrl'); }\r\n public get scToggleCtrl(): AbstractControl | null { return this.formGroup.get('scToggleCtrl'); }\r\n public get scToggleHideCtrl(): AbstractControl | null { return this.formGroup.get('scToggleHideCtrl'); }\r\n public get procedureTypeCtrl(): AbstractControl | null { return this.formGroup.get('procedureTypeCtrl'); }\r\n public get procedureCategoryCtrl(): AbstractControl | null { return this.formGroup.get('procedureCategoryCtrl'); }\r\n public get prToggleCtrl(): AbstractControl | null { return this.formGroup.get('prToggleCtrl'); }\r\n public get rxToggleCtrl(): AbstractControl | null { return this.formGroup.get('rxToggleCtrl'); }\r\n public get aiToggleCtrl(): AbstractControl | null { return this.formGroup.get('aiToggleCtrl'); }\r\n public get atToggleCtrl(): AbstractControl | null { return this.formGroup.get('atToggleCtrl'); }\r\n public get roleCtrl(): AbstractControl | null { return this.formGroup.get('roleCtrl'); }\r\n public get tbToggleCtrl(): AbstractControl | null { return this.formGroup.get('tbToggleCtrl'); }\r\n public get dtToggleCtrl(): AbstractControl | null { return this.formGroup.get('dtToggleCtrl'); }\r\n public get mvToggleCtrl(): AbstractControl | null { return this.formGroup.get('mvToggleCtrl'); }\r\n\r\n disableTabButton = false;\r\n templateType!: TemplateType;\r\n scheduleType?: ScheduleType;\r\n scheduleSubtype?: ScheduleSubtype;\r\n documentType?: DocumentType;\r\n resourceType?: ResourceType | null;\r\n\r\n resourceTypes!: ResourceType[];\r\n resourceTypes$!: Observable;\r\n resourceTypeSubs!: Subscription;\r\n\r\n scheduleTypes!: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n scheduleSubtypes?: ScheduleSubtype[];\r\n\r\n scheduleResourceTypes!: ResourceType[];\r\n resourceTypesFiltered!: ResourceType[];\r\n\r\n procedureTypes!: ProcedureType[];\r\n procedureTypes$!: Observable;\r\n proceureTypesSubs!: Subscription;\r\n\r\n roles!: Role[];\r\n rolesFiltered!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n procedureCategories?: ProcedureCategory[];\r\n\r\n rtToggle?: boolean;\r\n scToggle?: boolean;\r\n scToggleHide?: boolean;\r\n prToggle?: boolean;\r\n rxToggle?: boolean;\r\n aiToggle?: boolean;\r\n tbToggle?: boolean;\r\n dtToggle?: boolean;\r\n atToggle?: boolean;\r\n mvToggle?: boolean;\r\n\r\n templateRolePermissions?: TemplateRolePermission[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public templateTypeData: TemplateTypeDialogData,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourceTypeSubs?.unsubscribe();\r\n this.scheduleTypesSubs?.unsubscribe();\r\n this.rolesSubs?.unsubscribe();\r\n this.proceureTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.templateType = this.templateTypeData.templateType;\r\n this.documentType = this.templateTypeData.documentType;\r\n this.initializeForm();\r\n this.getProcedures();\r\n this.getResourceTypes();\r\n this.getScheduleTypes();\r\n this.getRoles();\r\n this.setValues();\r\n }\r\n\r\n setValues() {\r\n this.scToggle = this.templateType.scheduleTypeID != null;\r\n this.scToggleCtrl?.setValue(this.scToggle);\r\n this.templateType.resourceType = this.resourceTypes.find(r => r.id == this.templateType.resourceTypeID);\r\n this.rtToggle = this.templateType.resourceType != null;\r\n this.rtToggleCtrl?.setValue(this.templateType.resourceType);\r\n this.resourceTypeCtrl?.setValue(this.templateType.resourceTypeID);\r\n if (this.scheduleType?.tabColumns) {\r\n this.dtToggle = this.scheduleSubtype?.dateFormat == 'MM/yy' ? true : false;\r\n }\r\n else {\r\n this.dtToggle = this.scheduleType?.dateFormat == 'MM/yy' ? true : false;\r\n }\r\n this.dtToggleCtrl?.setValue(this.dtToggle);\r\n if (this.templateType.scheduleType) {\r\n this.templateType.resourceType = null;\r\n this.templateType.resourceTypeID = null;\r\n this.resourceTypeCtrl?.setValue(null);\r\n this.resourceTypeCtrl?.disable();\r\n this.rtToggle = false;\r\n this.rtToggleCtrl?.setValue(false);\r\n this.rtToggleCtrl?.disable();\r\n this.tbToggle = this.templateType.scheduleType?.tabColumns;\r\n this.tbToggleCtrl?.setValue(this.tbToggle);\r\n }\r\n else {\r\n this.resourceTypeCtrl?.enable();\r\n this.rtToggleCtrl?.enable();\r\n this.tbToggle = false;\r\n }\r\n this.aiToggle = this.templateType.allowActionItems;\r\n this.aiToggleCtrl?.setValue(this.aiToggle);\r\n this.atToggle = this.templateType.allSignaturesRequired;\r\n this.atToggleCtrl?.setValue(this.atToggle);\r\n this.mvToggle = this.templateType.allowMultipleVersions;\r\n }\r\n\r\n add() {\r\n if (this.formGroup.valid) {\r\n this.dialogRef.close(this.templateType);\r\n } else {\r\n this.formGroup.markAllAsTouched();\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n templateTypeNameCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n templateTypeDescriptionCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n templateTypeCodeCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n createScheduleTabCtrl: [{ value: false }],\r\n removeScheduleTabCtrl: [{ value: false }],\r\n resourceTypeCtrl: [{ value: '' }],\r\n scheduleTypeCtrl: [{ value: '' }],\r\n scheduleSubtypeCtrl: [{ value: '' }],\r\n rtToggleCtrl: [{ value: false }],\r\n scToggleCtrl: [{ value: false }],\r\n scToggleHideCtrl: [{ value: false }],\r\n procedureTypeCtrl: [{ value: '' }],\r\n prToggleCtrl: [{ value: false }],\r\n procedureCategoryCtrl: [{ value: '' }],\r\n rxToggleCtrl: [{ value: false }],\r\n roleCtrl: [{}],\r\n aiToggleCtrl: [{ value: false }],\r\n tbToggleCtrl: [{ value: true }],\r\n scheduleResourceTypeCtrl: [{ value: '' }],\r\n dtToggleCtrl: [{ value: false }],\r\n atToggleCtrl: [{ valur: false }],\r\n mvToggleCtrl: [{ value: false }]\r\n });\r\n }\r\n\r\n override getErrorMsg(control: AbstractControl | null): string | null {\r\n if (control?.hasError('required')) { return 'You must enter a value'; }\r\n if (control?.hasError('hasWhiteSpace')) { return 'Enter a valid value'; }\r\n if (control?.hasError('resourceType')) { return 'You must select a Resource Type'; }\r\n if (control?.hasError('scheduleType')) { return 'You must select a Schedule Type'; }\r\n if (control?.hasError('scheduleSubtype')) { return 'You must select a Schedule Subtype'; }\r\n return null;\r\n }\r\n\r\n assignTabToSchedules() {\r\n this.formGroup.controls['createScheduleTab']?.setValue(true);\r\n this.disableTabButton = true;\r\n }\r\n\r\n removeTabFromSchedules() {\r\n if (this.scheduleType?.schedules.length) {\r\n this.alert.getMessage('Template_Type_Tab_Has_Schedules');\r\n return;\r\n }\r\n this.formGroup.controls['removeScheduleTab']?.setValue(true);\r\n this.disableTabButton = true;\r\n }\r\n\r\n getRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n this.rolesFiltered = data;\r\n this.templateRolePermissions = this.templateType?.templateRolePermissions;\r\n this.rxToggle = this.templateType?.reviewInExec;\r\n this.rxToggleCtrl?.setValue(this.rxToggle);\r\n });\r\n }\r\n\r\n getProcedures() {\r\n this.procedureTypes$ = this.store.select(state => state.ProcedureType.data);\r\n this.proceureTypesSubs = this.procedureTypes$.subscribe(data => {\r\n this.procedureTypes = data;\r\n });\r\n }\r\n\r\n getResourceTypes() {\r\n this.resourceTypes$ = this.store.select(state => state.ResourceTypes.data);\r\n this.resourceTypeSubs = this.resourceTypes$.subscribe(data => {\r\n this.resourceTypes = data;\r\n this.resourceType = this.templateType.resourceType;\r\n if (this.resourceType?.id)\r\n this.resourceTypeCtrl?.setValue(this.resourceType?.id);\r\n this.rtToggleCtrl?.setValue(this.resourceType);\r\n this.filterResourceTypes();\r\n });\r\n }\r\n\r\n getScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe(data => {\r\n this.scheduleTypes = data.filter(x => x.isActive);\r\n if (this.templateType.id) {\r\n this.scheduleType = this.scheduleTypes.find(x => x.id == this.templateType?.scheduleTypeID);\r\n this.scheduleTypeCtrl?.setValue(this.scheduleType?.id);\r\n this.scToggle = this.templateType?.scheduleType != null;\r\n this.scToggleCtrl?.setValue(this.scToggle);\r\n this.scheduleSubtypes = this.scheduleType?.scheduleSubtypes;\r\n this.scheduleSubtype = this.scheduleSubtypes?.find(x => x.id == this.templateType.scheduleSubtypeID);\r\n this.scheduleSubtypeCtrl?.setValue(this.scheduleSubtype?.id);\r\n this.scToggleHide = !this.templateType?.hideCustomSchedules;\r\n this.scToggleHideCtrl?.setValue(this.scToggleHide);\r\n this.prToggle = this.scheduleType?.procedureType != null;\r\n this.procedureTypeCtrl?.setValue(this.scheduleType?.procedureTypeID);\r\n this.procedureCategories = this.scheduleType?.procedureType?.procedureCategories;\r\n if (!this.procedureCategories?.map(x => x.id).includes(0)) {\r\n this.procedureCategories?.unshift({ id: 0, name: '[All Procedure Categories]', procedureTypeID: this.scheduleType?.procedureTypeID });\r\n }\r\n this.procedureCategoryCtrl?.setValue(this.scheduleSubtype ? this.scheduleSubtype.procedureCategoryID : this.scheduleType?.procedureCategoryID ? this.scheduleType?.procedureCategoryID : 0);\r\n }\r\n else {\r\n this.scheduleType = this.scheduleTypes?.find(x => x.documentTypeId == this.documentType?.documentTemplateId);\r\n this.scheduleTypeCtrl?.setValue(this.scheduleType?.id);\r\n }\r\n this.filterResourceTypes();\r\n });\r\n }\r\n\r\n filterResourceTypes() {\r\n let resourceTypeArray = [];\r\n if (this.scheduleType?.tabColumns) {\r\n resourceTypeArray = this.scheduleSubtype?.resourceTypeIds ? JSON.parse(this.scheduleSubtype?.resourceTypeIds).map(Number) : new Array();\r\n }\r\n else {\r\n resourceTypeArray = this.scheduleType?.resourceTypeIds ? JSON.parse(this.scheduleType?.resourceTypeIds).map(Number) : new Array();\r\n }\r\n this.scheduleResourceTypes = [];\r\n resourceTypeArray.map((id: number) => {\r\n const resourceType = this.resourceTypes.find(x => x.id == id);\r\n if (resourceType)\r\n this.scheduleResourceTypes.push(resourceType);\r\n });\r\n this.resourceTypesFiltered = this.resourceTypes.filter(x => !this.scheduleResourceTypes.map(t => t.id).includes(x.id));\r\n }\r\n\r\n rtToggleChanged(e: any) {\r\n if (!e.checked) {\r\n this.rtToggle = false;\r\n this.templateType.resourceTypeID = null;\r\n this.templateType.resourceType = null;\r\n this.resourceTypeCtrl?.setValue(null);\r\n }\r\n else {\r\n this.rtToggle = true;\r\n this.rtToggleCtrl?.setValue(this.rtToggle);\r\n this.templateType.scheduleType = null;\r\n this.templateType.scheduleTypeID = null;\r\n this.scheduleTypeCtrl?.setValue(null);\r\n this.templateType.scheduleSubtype = null;\r\n this.templateType.scheduleSubtypeID = null;\r\n this.scheduleSubtypeCtrl?.setValue(null);\r\n }\r\n }\r\n\r\n scToggleChanged(e: any) {\r\n if (!e.checked) {\r\n this.templateType.scheduleType = null;\r\n this.templateType.scheduleTypeID = null;\r\n this.scheduleTypeCtrl?.setValue(null);\r\n this.templateType.scheduleSubtype = null;\r\n this.templateType.scheduleSubtypeID = null;\r\n this.scheduleSubtypeCtrl?.setValue(null);\r\n this.rtToggleCtrl?.enable();\r\n this.resourceTypeCtrl?.enable();\r\n }\r\n else {\r\n this.scheduleType = this.scheduleTypes?.find(x => x.documentTypeId == this.documentType?.documentTemplateId);\r\n if (this.scheduleType) {\r\n this.scheduleSubtypes = this.scheduleType?.scheduleSubtypes;\r\n this.scheduleTypeCtrl?.setValue(this.scheduleType.id);\r\n }\r\n this.templateType.resourceType = null;\r\n this.templateType.resourceTypeID = null;\r\n this.templateType.scheduleType = this.scheduleType;\r\n this.resourceTypeCtrl?.setValue(null);\r\n this.rtToggleCtrl?.disable();\r\n this.resourceTypeCtrl?.disable();\r\n }\r\n }\r\n\r\n scToggleHideChanged(e: any) {\r\n this.templateType.hideCustomSchedules = !e.checked;\r\n }\r\n\r\n prToggleChanged(e: any) {\r\n if (!e.checked && this.scheduleType) {\r\n this.scheduleType.procedureTypeID = null;\r\n this.scheduleType.procedureCategoryID = null;\r\n }\r\n this.templateType.scheduleType = this.scheduleType;\r\n }\r\n\r\n rxToggleChanged(e: any) {\r\n this.templateType.reviewInExec = e.checked;\r\n }\r\n\r\n dtToggleChanged(e: any) {\r\n if (this.scheduleType?.tabColumns) {\r\n if (this.scheduleSubtype) {\r\n this.scheduleSubtype.dateFormat = e.checked ? 'MM/yy' : 'shortDate';\r\n }\r\n }\r\n else {\r\n if (this.scheduleType)\r\n this.scheduleType.dateFormat = e.checked ? 'MM/yy' : 'shortDate';\r\n }\r\n }\r\n\r\n removeRole(templateRolePermission: TemplateRolePermission) {\r\n this.templateRolePermissions?.splice(this.templateRolePermissions.findIndex(x => x.roleID == templateRolePermission.roleID), 1);\r\n this.templateType.templateRolePermissions = this.templateRolePermissions;\r\n }\r\n\r\n selectedRole(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n const templateRolePermission: TemplateRolePermission = {\r\n id: 0,\r\n role: value,\r\n roleID: value.id,\r\n name: ChecklistPriv[12],\r\n checklistPrivilege: ChecklistPriv.ReviewChecklist,\r\n templateTypeID: this.templateType != undefined ? this.templateType.id : 0,\r\n documentTypeID: this.documentType?.id,\r\n status: 1,\r\n type: this.templateType != undefined ? this.templateType.type : 0\r\n };\r\n this.templateRolePermissions?.push(templateRolePermission);\r\n this.templateType.templateRolePermissions = this.templateRolePermissions;\r\n this.roleCtrl?.setValue(null);\r\n }\r\n\r\n onRoleChange(e: any) {\r\n const value = e.target.value;\r\n this.rolesFiltered = this.roles.filter(x => !this.templateRolePermissions?.map(a => a.roleID).includes(x.id)).filter(x => x.name?.toLowerCase().includes(value.toLowerCase()) || x.code?.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n\r\n aiToggleChanged(e: any) {\r\n this.templateType.allowActionItems = e.checked;\r\n }\r\n\r\n atToggleChanged(e: any) {\r\n this.templateType.allSignaturesRequired = e.checked;\r\n }\r\n\r\n mvToggleChanged(e: any) {\r\n this.templateType.allowMultipleVersions = e.checked;\r\n }\r\n\r\n tbToggleChanged(e: any) {\r\n if (this.templateType.scheduleType) {\r\n this.templateType.scheduleType.tabColumns = e.checked;\r\n this.scheduleType = this.templateType.scheduleType;\r\n }\r\n this.filterResourceTypes();\r\n }\r\n\r\n removeResourceType(resourceType: ResourceType) {\r\n this.scheduleResourceTypes.splice(this.scheduleResourceTypes.findIndex(x => x.id == resourceType.id), 1);\r\n if (this.scheduleType?.tabColumns && this.scheduleSubtype) {\r\n this.scheduleSubtype.resourceTypeIds = this.utils.JSONstringify(this.scheduleResourceTypes.map(x => x.id));\r\n }\r\n else {\r\n if (this.scheduleType)\r\n this.scheduleType.resourceTypeIds = this.utils.JSONstringify(this.scheduleResourceTypes.map(x => x.id));\r\n }\r\n }\r\n\r\n selectedScheduleResource(e: any) {\r\n if (!this.scheduleResourceTypes) {\r\n this.scheduleResourceTypes = [];\r\n }\r\n this.scheduleResourceTypes.push(e.option.value);\r\n if (this.scheduleType?.tabColumns) {\r\n if (this.scheduleSubtype) {\r\n this.scheduleSubtype.resourceTypeIds = this.utils.JSONstringify(this.scheduleResourceTypes.map(x => x.id));\r\n this.scheduleType.resourceTypeIds = null;\r\n }\r\n }\r\n else {\r\n if (this.scheduleType)\r\n this.scheduleType.resourceTypeIds = this.utils.JSONstringify(this.scheduleResourceTypes.map(x => x.id));\r\n }\r\n }\r\n\r\n onResourceTypeChange(e: any) {\r\n this.resourceType = this.resourceTypes.find(x => x.id == e.value);\r\n this.templateType.resourceType = this.resourceType;\r\n this.templateType.resourceTypeID = this.resourceType?.id;\r\n this.templateType.scheduleType = null;\r\n this.templateType.scheduleSubtype = null;\r\n }\r\n\r\n onScheduleTypeChange(e: any) {\r\n this.scheduleType = this.scheduleTypes.find(x => x.id == e.value);\r\n this.templateType.scheduleType = this.scheduleType;\r\n this.templateType.scheduleTypeID = this.scheduleType?.id;\r\n this.scheduleSubtypes = this.scheduleType?.scheduleSubtypes;\r\n this.templateType.scheduleSubtype = null;\r\n this.templateType.scheduleSubtypeID = null;\r\n this.filterResourceTypes();\r\n }\r\n\r\n onScheduleSubtypeChange(e: any) {\r\n this.scheduleSubtype = this.scheduleSubtypes?.find(x => x.id == e.value);\r\n this.templateType.scheduleSubtype = this.scheduleSubtype;\r\n this.templateType.scheduleSubtypeID = this.scheduleSubtype?.id;\r\n this.filterResourceTypes();\r\n }\r\n\r\n onProcedureTypeChange(e: any) {\r\n this.procedureCategories = this.procedureTypes.find(x => x.id == e.value)?.procedureCategories;\r\n if (!this.procedureCategories?.map(x => x.id).includes(0)) {\r\n this.procedureCategories?.unshift({ id: 0, name: '[All Procedure Categories]', procedureTypeID: e.value });\r\n }\r\n if (this.scheduleSubtype && this.scheduleType) {\r\n this.scheduleSubtype.procedureType = this.procedureTypes.find(x => x.id == e.value);\r\n this.scheduleSubtype.procedureTypeID = e.value;\r\n this.scheduleType.procedureType = null;\r\n this.scheduleType.procedureTypeID = null;\r\n }\r\n else {\r\n if (this.scheduleType) {\r\n this.scheduleType.procedureType = this.procedureTypes.find(x => x.id == e.value);\r\n this.scheduleType.procedureTypeID = e.value;\r\n }\r\n }\r\n }\r\n\r\n onProcedureCategoryChange(e: any) {\r\n const id = e.value;\r\n const category = e.value == 0 ? null : this.procedureCategories?.find(x => x.id == id);\r\n if (this.scheduleType)\r\n if (this.scheduleSubtype) {\r\n this.scheduleSubtype.procedureCategory = category;\r\n this.scheduleSubtype.procedureCategoryID = id;\r\n this.scheduleType.procedureCategory = null;\r\n this.scheduleType.procedureCategoryID = null;\r\n }\r\n else {\r\n this.scheduleType.procedureCategory = category;\r\n this.scheduleType.procedureCategoryID = id;\r\n }\r\n this.templateType.scheduleType = this.scheduleType;\r\n this.templateType.scheduleSubtypeID = this.scheduleType?.id;\r\n this.templateType.scheduleSubtype = this.scheduleSubtype;\r\n this.templateType.scheduleSubtypeID = this.scheduleSubtype?.id;\r\n }\r\n}\r\n","
\r\n
\r\n \r\n {{\r\n templateType.id ? \"Edit Template Type\" : \"Create Template Type\"\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Template Name\r\n \r\n How is displayed on Dropdowns\r\n {{\r\n getErrorMsg(templateTypeNameCtrl)\r\n }}\r\n \r\n \r\n Template Description\r\n \r\n Full description\r\n {{\r\n getErrorMsg(templateTypeDescriptionCtrl)\r\n }}\r\n \r\n \r\n Template Code\r\n \r\n To be used on Serial Numbers\r\n {{\r\n getErrorMsg(templateTypeCodeCtrl)\r\n }}\r\n \r\n
\r\n\r\n
\r\n Link to Resource
Set ON if the Templates created for this Template Type will be\r\n based on a Resource table independent from Schedule\r\n \r\n \r\n Select Resource Type\r\n \r\n {{ itemList?.name }}\r\n \r\n \r\n {{\r\n getErrorMsg(resourceTypeCtrl)\r\n }}\r\n \r\n Checklist Execution has Review Process
Set ON to enable Review and Approval workflow in Checklist\r\n Execution\r\n \r\n \r\n Roles to Review the Checklist\r\n \r\n \r\n {{ item.role.code }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ role.name }}\r\n \r\n \r\n You must choose at least one Role\r\n \r\n Allow enter Action Items in Checklist
Set ON to enable Action Items creation in Checklist Execution.\r\n (Mostly used for ARC/BRC)\r\n \r\n All Task Should be Checked or signed to Enable Close Checklist
Set ON to Require All Tasks Checked or Signed before Closing the\r\n Checklist\r\n \r\n Link to Schedule
Set ON to use Schedule based Location list in Template\r\n Builder\r\n \r\n \r\n Select Schedule Type\r\n \r\n {{ itemList?.name }}\r\n \r\n \r\n {{\r\n getErrorMsg(scheduleTypeCtrl)\r\n }}\r\n \r\n \r\n Select Schedule Subtype\r\n \r\n {{ itemList?.name }}\r\n \r\n \r\n {{\r\n getErrorMsg(scheduleSubtypeCtrl)\r\n }}\r\n \r\n\r\n Show Custom Schedules in Resource List
Set ON to display Custom Locations from Schedule list inclusive,\r\n OFF to display only pre-defined Locations in Resources\r\n catalogs.\r\n \r\n Allow Mutiple Active Versions
Set ON to Allow keep multiple Active Versions of a Template in\r\n checklist Builder\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { DocumentCategory, DocumentType } from 'src/app/services/documents/documents';\r\nimport { DocumentTypeTabComponent } from './document-type-tab/document-type-tab.component';\r\nimport { OlogCategory } from '../services/olog-category';\r\nimport { DocumentsService } from 'src/app/services/documents/documents.service';\r\nimport { TemplateType } from 'src/app/components/checklists/checklists';\r\nimport { OlogEmail } from '../services/olog-email';\r\nimport { TemplateTypeTabComponent } from './template-type-tab/template-type-tab.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-document-type-details',\r\n templateUrl: './document-type-details.component.html',\r\n styleUrls: ['./document-type-details.component.scss']\r\n})\r\nexport class DocumentTypeDetailsComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() documentType?: DocumentType;\r\n @Output() loading = new EventEmitter();\r\n @Output() changed = new EventEmitter();\r\n\r\n @ViewChild(DocumentTypeTabComponent) documentTypeTab?: DocumentTypeTabComponent;\r\n @ViewChild(TemplateTypeTabComponent) public templateTypeTab?: TemplateTypeTabComponent;\r\n\r\n public isModifyAvailable?: boolean;\r\n public isDeleteAvailable?: boolean;\r\n public isSaveAvailable?: boolean;\r\n public isDisabled = true;\r\n\r\n originalDocumentType?: DocumentType;\r\n documentCategory = DocumentCategory;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private documentTypeService: DocumentsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.documentType)\r\n this.getDocumentType(this.documentType);\r\n }\r\n\r\n getDocumentType(documentTypeSelected?: DocumentType) {\r\n this.clear();\r\n this.documentType = this.utils.cloneDeep(documentTypeSelected);\r\n\r\n if (this.documentType?.id) {\r\n this.documentType.code = this.documentType.code?.trim();\r\n if (this.documentType.documentTemplateId === 10) { // ABSI Template Type\r\n this.templateTypeTab?.loadAbsiTemplateTypes();\r\n } else {\r\n if (this.documentType.documentTemplateId)\r\n this.templateTypeTab?.loadTemplateTypesByDocTypeId(this.documentType.documentTemplateId);\r\n }\r\n // this.ologCategoryTab.loadOlogCategorysByDocTypeId(this.documentType.documentTemplateId);\r\n // this.ologEmailTab.loadOlogEmailsByDocTypeId(this.documentType.documentTemplateId);\r\n this.isModifyAvailable = true;\r\n\r\n } else {\r\n this.isSaveAvailable = this.isFormDirty();\r\n this.isDisabled = this.documentType == null;\r\n }\r\n this.loading.emit(false);\r\n }\r\n\r\n modify() {\r\n this.isModifyAvailable = false;\r\n this.isSaveAvailable = false;\r\n this.isDisabled = false;\r\n this.originalDocumentType = this.utils.cloneDeep(this.documentType) as DocumentType;\r\n }\r\n\r\n async save() {\r\n this.loading.emit(true);\r\n await this.saveDocumentType();\r\n this.isModifyAvailable = true;\r\n this.setFormDirty(false);\r\n this.isDisabled = true;\r\n }\r\n\r\n async saveDocumentType() {\r\n if (this.documentTypeTab?.isDocumentTypeValid()) {\r\n if (this.documentType?.id) {\r\n await this.updateDocumentType(this.documentType);\r\n } else {\r\n await this.createDocumentType(this.documentType as DocumentType);\r\n }\r\n }\r\n }\r\n\r\n createDocumentType(documentType: DocumentType) {\r\n this.loading.emit(true);\r\n documentType.showInCatalog = true;\r\n this.documentTypeService.createDocumentType(documentType).toPromise().then(documentTypeCreated => {\r\n if (documentTypeCreated) {\r\n this.loading.emit(false);\r\n this.changed.emit(documentTypeCreated);\r\n this.alert.message('documentTypeTab_Created');\r\n }\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n delete() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: \"Are you sure you want to Delete Document Type \" + this.documentType?.name + \" ?\",\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async data => {\r\n if (data && this.documentType?.id) {\r\n this.loading.emit(true);\r\n await this.documentTypeService.delete(this.documentType?.id).toPromise();\r\n this.loading.emit(false);\r\n this.alert.warning('Document Type Deleted!!');\r\n this.clear();\r\n this.changed.emit(undefined);\r\n }\r\n });\r\n }\r\n\r\n async updateDocumentType(documentType: DocumentType) {\r\n this.loading.emit(true);\r\n await this.documentTypeService.updateDocumentType(documentType.id, documentType).toPromise().then(documentTypeUpdated => {\r\n if (documentTypeUpdated) {\r\n this.loading.emit(false);\r\n this.alert.message('documentTypeTab_Updated');\r\n }\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n setDocumentTemplateId(id: number) {\r\n if (this.documentType) {\r\n this.documentType.documentTemplateId = id;\r\n }\r\n }\r\n\r\n disableButtons() {\r\n this.isSaveAvailable = false;\r\n this.isDisabled = true;\r\n this.isModifyAvailable = true;\r\n }\r\n\r\n cancel() {\r\n this.isModifyAvailable = true;\r\n this.setFormDirty(false);\r\n this.isDisabled = true;\r\n this.documentType = this.originalDocumentType;\r\n }\r\n\r\n clear() {\r\n this.documentType = { id: 0 };\r\n this.disableButtons();\r\n this.isModifyAvailable = false;\r\n }\r\n\r\n documentTypeChanged(documentType: DocumentType) {\r\n this.documentType = documentType;\r\n this.setFormDirty();\r\n }\r\n\r\n templateTypesChanged(templateTypes: TemplateType[]) {\r\n if (this.documentType)\r\n this.documentType.templateTypes = templateTypes;\r\n this.setFormDirty();\r\n }\r\n\r\n\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
","import { Component, EventEmitter, Input, OnInit, Output, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MenuItem } from 'src/app/components/head-page/head-menu/head-menu.models';\r\nimport { HeadMenuService } from 'src/app/components/head-page/head-menu/head-menu.service';\r\nimport { DocumentCategory, DocumentType } from 'src/app/services/documents/documents';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\n\r\n\r\n@Component({\r\n selector: 'app-document-type-tab',\r\n templateUrl: './document-type-tab.component.html',\r\n styleUrls: ['./document-type-tab.component.scss']\r\n})\r\nexport class DocumentTypeTabComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() documentType?: DocumentType;\r\n @Input() isDisabled = true;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() changed = new EventEmitter();\r\n\r\n createBuilderMenuEntryLabel!: string;\r\n createChecklistMenuEntryLabel!: string;\r\n removeMenuEntryBuilderMenuLabel!: string;\r\n removeMenuEntryChecklistMenuLabel!: string;\r\n\r\n menuItems$!: Observable;\r\n menuItems!: MenuItem[];\r\n\r\n menuItemChk?: MenuItem | null;\r\n menuItemBld?: MenuItem | null;\r\n\r\n menuType = menuType;\r\n\r\n subsMenuItem!: Subscription;\r\n documentCategory = DocumentCategory;\r\n\r\n public get nameCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"nameCtrl\");\r\n }\r\n public get descriptionCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"descriptionCtrl\");\r\n }\r\n public get codeCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"codeCtrl\");\r\n }\r\n\r\n @Output() sendDocumentTemplateId = new EventEmitter();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private menuService: HeadMenuService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.setLabels();\r\n if (this.documentType) {\r\n this.menuItemBld = this.getMenuItem(menuType.Builder);\r\n this.menuItemChk = this.getMenuItem(menuType.Checklist);\r\n }\r\n this.enableDisabledForm();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadMenuItems();\r\n this.buildForm();\r\n }\r\n\r\n loadMenuItems() {\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.subsMenuItem = this.menuItems$.subscribe(data => {\r\n this.menuItems = data;\r\n if (this.documentType) {\r\n this.menuItemBld = this.getMenuItem(menuType.Builder);\r\n this.menuItemChk = this.getMenuItem(menuType.Checklist);\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n nameCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n descriptionCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n codeCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]]\r\n });\r\n this.enableDisabledForm();\r\n }\r\n\r\n enableDisabledForm() {\r\n this.formGroup?.markAsPristine();\r\n this.formGroup?.markAsUntouched();\r\n if (this.isDisabled)\r\n this.formGroup?.disable();\r\n else this.formGroup?.enable();\r\n }\r\n\r\n isDocumentTypeValid() {\r\n let result = true;\r\n if (!this.documentType?.name) {\r\n this.nameCtrl?.setErrors({ required: true });\r\n this.alert.message('documentTypeTab_Name_Required');\r\n result = false;;\r\n }\r\n if (!this.documentType?.description) {\r\n this.descriptionCtrl?.setErrors({ required: true });\r\n this.alert.message('documentTypeTab_Description_Required');\r\n result = false;;\r\n }\r\n if (!this.documentType?.code) {\r\n this.codeCtrl?.setErrors({ required: true });\r\n this.alert.message('documentTypeTab_Code_Required');\r\n result = false;;\r\n }\r\n return result;\r\n }\r\n\r\n async setLabels() {\r\n this.createBuilderMenuEntryLabel = this.getMessage('CreateBuilderMenuEntryLabel')?.description;\r\n this.createChecklistMenuEntryLabel = this.getMessage('CreateChecklistMenuEntryLabel')?.description;\r\n this.removeMenuEntryBuilderMenuLabel = this.getMessage('RemoveMenuEntryBuilderMenuLabel')?.description;\r\n this.removeMenuEntryChecklistMenuLabel = this.getMessage('RemoveMenuEntryChecklistMenuLabel')?.description;\r\n }\r\n\r\n getMenuItem(type: menuType) {\r\n if (this.documentType?.documentTemplateId) {\r\n const route = (type === menuType.Builder ? 'checklist-builder/' : 'checklist-exec/') + this.documentType.documentTemplateId;\r\n return this.menuItems?.find(m => m.route?.toLowerCase() === route);\r\n }\r\n return null;\r\n }\r\n\r\n createMenu(type: menuType) {\r\n this.loading.emit(true);\r\n const parent = type === menuType.Builder ? 76 : 3;\r\n const route = (type === menuType.Builder ? 'checklist-builder/' : 'checklist-exec/') + this.documentType?.documentTemplateId;\r\n const menuItem: MenuItem = {\r\n id: 0,\r\n name: this.documentType?.description,\r\n description: this.documentType?.description,\r\n status: 1,\r\n type: 1,\r\n code: this.documentType?.code,\r\n parentMenuItemID: parent,\r\n order: 999,\r\n route,\r\n menuValidation: 0,\r\n isSeparator: false\r\n };\r\n this.menuService.createMenu(menuItem).toPromise().then(data => {\r\n this.alert.message('MenuItemCreatedSuccess', [], MessageTypeEnum.Success);\r\n });\r\n }\r\n\r\n removeMenu(type: menuType) {\r\n this.loading.emit(true);\r\n const id = type === menuType.Builder ? this.menuItemBld?.id : this.menuItemChk?.id;\r\n if (id)\r\n this.menuService.deleteMenu(id).toPromise().then(() => {\r\n this.alert.message('MenuItemRemoved', [], MessageTypeEnum.Warning);\r\n });\r\n }\r\n\r\n nameChanged(e: any) {\r\n if (this.documentType) {\r\n this.documentType.name = e.target.value;\r\n this.changed.emit(this.documentType);\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n descriptionChanged(e: any) {\r\n if (this.documentType) {\r\n this.documentType.description = e.target.value;\r\n this.changed.emit(this.documentType);\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n codeChanged(e: any) {\r\n const text = e.target.value;\r\n if (this.documentType) {\r\n this.documentType.code = this.utils.replaceAll(text?.toUpperCase() ?? '', ' ', '');\r\n this.changed.emit(this.documentType);\r\n this.setFormDirty();\r\n }\r\n }\r\n}\r\n\r\nenum menuType {\r\n Checklist = 1,\r\n Builder = 2\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n {{\r\n getErrorMsg(nameCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n Description\r\n \r\n {{\r\n getErrorMsg(descriptionCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n Code\r\n \r\n {{\r\n getErrorMsg(codeCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n Menu Options\r\n\r\n \r\n Show in Checklists\r\n \r\n \r\n Show in Template Builders\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { TextareaDialogComponent } from 'src/app/controls/textarea-dialog/textarea-dialog.component';\r\nimport { OlogCategoryService } from '../../../services/olog-category.service';\r\nimport { OlogCategory } from '../../../services/olog-category';\r\nimport { AddEditOlogCategoryComponent } from '../../dialogs/add-edit-olog-category/add-edit-olog-category.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\n\r\n\r\n@Component({\r\n selector: 'app-olog-category-tab',\r\n templateUrl: './olog-category-tab.component.html',\r\n styleUrls: ['./olog-category-tab.component.scss']\r\n})\r\nexport class OlogCategoryTabComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n public ologCategories$!: Observable;\r\n public ologCategorySubscription!: Subscription;\r\n\r\n ologCategories?: OlogCategory[];\r\n\r\n public displayedColumnsOlogCategory: string[] = ['name'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n @Input() documentType?: DocumentType;\r\n @Input() isDisabled = true;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public ologCategoryService: OlogCategoryService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['isDisabled']) {\r\n if (this.isDisabled) {\r\n this.removeAddColumn();\r\n } else {\r\n if (this.hasPrivilege(this.privilegeEnum.CreateOlogCategory)) {\r\n this.displayedColumnsOlogCategory.push('add');\r\n }\r\n }\r\n }\r\n if (this.documentType)\r\n this.loadOlogCategorysByDocTypeId(this.documentType.documentTemplateId ?? 0);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.ologCategorySubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadOlogCategorysByDocTypeId(documentTypeId: number) {\r\n this.ologCategories$ = this.store.select(x => x.OlogCategory.data);\r\n this.ologCategorySubscription = this.ologCategories$.subscribe(ologCategories => {\r\n this.ologCategories = ologCategories.filter(x => x.documentTypeID === documentTypeId);\r\n this.dataSource = new MatTableDataSource(this.ologCategories);\r\n });\r\n }\r\n\r\n ologCategoryDialog(ologCategory?: OlogCategory) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = ologCategory ? this.utils.cloneDeep(ologCategory) : new OlogCategory();\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(AddEditOlogCategoryComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((data: OlogCategory) => {\r\n if (data) {\r\n this.addUpdate(data);\r\n }\r\n });\r\n }\r\n\r\n addUpdate(ologCategory?: OlogCategory) {\r\n if (ologCategory?.id) {\r\n const index = this.ologCategories?.findIndex(c => c.id == ologCategory.id) ?? -1;\r\n if (index >= 0 && this.ologCategories)\r\n this.ologCategories[index] = ologCategory;\r\n }\r\n else {\r\n if (ologCategory)\r\n this.ologCategories?.push(ologCategory);\r\n }\r\n this.dataSource = new MatTableDataSource(this.ologCategories);\r\n this.changed.emit(this.ologCategories);\r\n }\r\n\r\n delete(ologCategory: OlogCategory) {\r\n const dialogConfig: MatDialogConfig = {\r\n data: {\r\n label: 'Delete Reason',\r\n placeholder: 'Delete Reason',\r\n text: ''\r\n }\r\n };\r\n const dialogRefSureToDelete = this.dialog.open(TextareaDialogComponent, dialogConfig);\r\n dialogRefSureToDelete.afterClosed().toPromise().then(data => {\r\n if (data?.acceptClicked && data?.text) {\r\n const index = this.ologCategories?.findIndex(c => c.id == ologCategory.id) ?? -1;\r\n if (index >= 0)\r\n this.ologCategories?.splice(index, 1);\r\n this.dataSource = new MatTableDataSource(this.ologCategories);\r\n this.changed.emit(this.ologCategories);\r\n }\r\n });\r\n }\r\n\r\n removeAddColumn() {\r\n if (this.displayedColumnsOlogCategory.includes('add')) {\r\n const index = this.displayedColumnsOlogCategory.indexOf('add');\r\n this.displayedColumnsOlogCategory.splice(index, 1);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n Olog Categories\r\n
\r\n \r\n \r\n Category \r\n {{ element.name }} \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { TextareaDialogComponent } from 'src/app/controls/textarea-dialog/textarea-dialog.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { OlogEmail } from '../../../services/olog-email';\r\nimport { OlogEmailService } from '../../../services/olog-email.service';\r\nimport { AddEditOlogEmailComponent } from '../../dialogs/add-edit-olog-email/add-edit-olog-email.component';\r\n\r\n\r\n@Component({\r\n selector: 'app-olog-email-tab',\r\n templateUrl: './olog-email-tab.component.html',\r\n styleUrls: ['./olog-email-tab.component.scss']\r\n})\r\nexport class OlogEmailTabComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() documentType?: DocumentType;\r\n @Input() isDisabled = true;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n public ologEmails$!: Observable;\r\n public ologEmailSubscription!: Subscription;\r\n public ologEmails?: OlogEmail[];\r\n\r\n public displayedColumnsOlogEmail: string[] = ['user', 'email'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public ologEmailService: OlogEmailService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['isDisabled']) {\r\n if (this.isDisabled) {\r\n this.removeAddColumn();\r\n } else {\r\n if (this.hasPrivilege(this.privilegeEnum.CreateOlogEmail)) {\r\n this.displayedColumnsOlogEmail.push('add');\r\n }\r\n }\r\n }\r\n if (this.documentType)\r\n this.loadOlogEmailsByDocTypeId(this.documentType.documentTemplateId ?? 0);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.ologEmailSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadOlogEmailsByDocTypeId(documentTypeId: number) {\r\n this.ologEmails$ = this.store.select(x => x.OlogEmail.data);\r\n this.ologEmailSubscription = this.ologEmails$.subscribe(ologEmails => {\r\n this.ologEmails = ologEmails.filter(x => x.documentTypeId === documentTypeId) ?? [];\r\n this.dataSource = new MatTableDataSource(this.ologEmails);\r\n });\r\n }\r\n\r\n ologEmailDialog(ologEmail?: OlogEmail) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = ologEmail ? this.utils.cloneDeep(ologEmail) : new OlogEmail();\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n\r\n const dialogRef = this.dialog.open(AddEditOlogEmailComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((ologEmailToSave: OlogEmail) => {\r\n if (ologEmailToSave) {\r\n this.addUpdate(ologEmailToSave);\r\n }\r\n });\r\n }\r\n\r\n addUpdate(ologEmail: OlogEmail) {\r\n if (ologEmail.id && this.ologEmails) {\r\n const index = this.ologEmails?.findIndex(o => o.id == ologEmail?.id) ?? -1;\r\n this.ologEmails[index] = ologEmail;\r\n }\r\n else {\r\n this.ologEmails?.push(ologEmail);\r\n }\r\n\r\n this.dataSource = new MatTableDataSource(this.ologEmails);\r\n this.changed.emit(this.ologEmails);\r\n // const index = this.ologEmails?.findIndex(o => o.id == ologEmail?.id) ?? -1;\r\n // if ((index ?? -1) >= 0) {\r\n // if (ologEmail) {\r\n // this.dataSource.data[ologEmailIndex as number] = ologEmail;\r\n // this.changed.emit(this.ologEmails);\r\n // } else {\r\n // this.deleteOlogEmailReason(ologEmailIndex as number);\r\n // }\r\n // } else {\r\n // if (ologEmail)\r\n // this.dataSource.data.push(ologEmail);\r\n // this.changed.emit(this.ologEmails);\r\n // }\r\n // this.dataSource.filter = '';\r\n }\r\n\r\n // addUpdateDeleteDb() {\r\n // this.dataSource.data.map(ologEmail => {\r\n // if (ologEmail.id) {\r\n // if (!ologEmail.deleteReason) {\r\n // if (ologEmail.isModified) {\r\n // this.updateOlogEmail(ologEmail);\r\n // }\r\n // } else {\r\n // this.deleteOlogEmail(ologEmail);\r\n // }\r\n // } else {\r\n // this.createOlogEmail(ologEmail);\r\n // }\r\n // });\r\n // }\r\n\r\n // createOlogEmail(ologEmail: OlogEmail) {\r\n // ologEmail.documentTypeId = this.documentType?.documentTemplateId;\r\n // this.ologEmailService.CreateOlogEmail(ologEmail).toPromise().catch(() => {\r\n // this.alert.defaultError();\r\n // });\r\n // }\r\n\r\n // updateOlogEmail(ologEmail: OlogEmail) {\r\n // this.ologEmailService.UpdateOlogEmail(ologEmail.id as number, ologEmail).toPromise().catch(() => {\r\n // this.alert.defaultError();\r\n // });\r\n // }\r\n\r\n // deleteOlogEmail(ologEmail: OlogEmail) {\r\n // this.ologEmailService.DeleteOlogEmail(ologEmail.id as number, ologEmail.deleteReason ?? '').toPromise().catch(() => {\r\n // this.alert.defaultError();\r\n // });\r\n // }\r\n\r\n deleteOlogEmailReason(ologEmail: OlogEmail) {\r\n const dialogConfig: MatDialogConfig = {\r\n data: {\r\n label: 'Delete Reason',\r\n placeholder: 'Delete Reason',\r\n text: ''\r\n }\r\n };\r\n const dialogRefSureToDelete = this.dialog.open(TextareaDialogComponent, dialogConfig);\r\n dialogRefSureToDelete.afterClosed().toPromise().then(data => {\r\n if (data?.acceptClicked && data?.text) {\r\n const index = this.ologEmails?.findIndex(o => o.id == ologEmail?.id) ?? -1;\r\n this.ologEmails?.splice(index, 1);\r\n this.dataSource = new MatTableDataSource(this.ologEmails);\r\n this.changed.emit(this.ologEmails);\r\n }\r\n });\r\n }\r\n\r\n removeAddColumn() {\r\n if (this.displayedColumnsOlogEmail.includes('add')) {\r\n const index = this.displayedColumnsOlogEmail.indexOf('add');\r\n this.displayedColumnsOlogEmail.splice(index, 1);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n Olog Email Addresses\r\n
\r\n \r\n \r\n User Name \r\n {{ element.user.name }} \r\n \r\n\r\n \r\n Email \r\n {{ element.user.emailAddress }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, ElementRef, inject, Inject, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { OlogMessage } from '../../../../services/olog-message';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { DocumentCategory, DocumentType } from 'src/app/services/documents/documents';\r\nimport { OlogCategoriesService } from '../../../../services/olog-categories.service';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { LiveAnnouncer } from '@angular/cdk/a11y';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { EmailAddress } from 'src/app/components/olog/olog';\r\nimport { OlogMessageService } from '../../../../services/olog-message.service';\r\nimport { ChecklistExecStatus } from 'src/app/components/checklists/checklists';\r\nimport { Clipboard } from '@angular/cdk/clipboard';\r\n\r\n@Component({\r\n selector: 'app-olog-message-dialog',\r\n templateUrl: './olog-message-dialog.component.html',\r\n styleUrls: ['./olog-message-dialog.component.scss']\r\n})\r\nexport class OlogMessageDialogComponent extends BaseComponent implements OnInit {\r\n\r\n nameCtrl = new FormControl();\r\n activeCtrl = new FormControl();\r\n fromCtrl = new FormControl();\r\n toCtrl = new FormControl();\r\n descriptionCtrl = new FormControl();\r\n subjectCtrl = new FormControl();\r\n messageCtrl = new FormControl();\r\n notificationTypeCtrl = new FormControl();\r\n emailsCtrl = new FormControl();\r\n categoriesCtrl = new FormControl();\r\n\r\n notifications?: any[];\r\n\r\n\r\n fromStatusesFiltered?: Status[];\r\n toStatusesFiltered?: Status[];\r\n\r\n formStatuses?: FormStatus[];\r\n formStatuses$!: Observable;\r\n formStatusesSubs!: Subscription;\r\n\r\n checklistExecStatuses?: ChecklistExecStatus[];\r\n checklistExecStatuses$!: Observable;\r\n checklistExecStatusesSubs!: Subscription;\r\n\r\n serialNo = '0';\r\n\r\n ologMessage!: OlogMessage;\r\n documentType!: DocumentType;\r\n ologCategories: string[] = [];\r\n\r\n ologEmails: EmailAddress[] = [];\r\n filteredEmails: EmailAddress[] = [];\r\n\r\n announcer = inject(LiveAnnouncer);\r\n\r\n @ViewChild('categoryInput') categoryInput!: ElementRef;\r\n @ViewChild('emailInput') emailInput!: ElementRef;\r\n\r\n categories: string[] = [\r\n 'Accelerator Controls',\r\n 'Accelerator Physics',\r\n 'APEX',\r\n 'Beamline Activities',\r\n 'Beamline Controls',\r\n 'Computer Security',\r\n 'Electronics Maintenance',\r\n 'EPS',\r\n 'Facilities',\r\n 'Injection & Tuning',\r\n 'Insertion Device',\r\n 'Instrumentation',\r\n 'LFB / TFB / BC',\r\n 'LOTO',\r\n 'Network Support',\r\n 'Operations',\r\n 'PC Support',\r\n 'Power Supplies',\r\n 'Radiation',\r\n 'RF',\r\n 'RF Maintenance',\r\n 'Safety',\r\n 'Safety Interlocks',\r\n 'Superbends',\r\n 'Test',\r\n 'Timing',\r\n 'Top Off RSS',\r\n 'Unix Support',\r\n 'URGENT Off - Hours Unix Support',\r\n 'User Feedback',\r\n 'User Services',\r\n 'Vacuum',\r\n 'Water and Air',\r\n 'Web Support'\r\n ];\r\n filteredCategories?: string[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: OlogMessageService,\r\n private ologCategoriesService: OlogCategoriesService,\r\n public dialogRef: MatDialogRef,\r\n private clipboard: Clipboard,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.ologMessage = this.data.ologMessage;\r\n this.documentType = this.data.documentType;\r\n this.initializeCategories();\r\n this.initializeEmails();\r\n this.notifications = this.utils.enumToIdNameArray(OlogNotificationType);\r\n this.loadFormStatuses();\r\n this.loadChecklistExecStatuses();\r\n this.initializeForm();\r\n if (this.ologMessage?.id) this.serialNo = this.ologMessage.id.toString();\r\n }\r\n\r\n async initializeCategories() {\r\n if (!this.ologMessage.categories)\r\n this.ologCategories = (await this.ologCategoriesService.GetOlogCategoryByDocumentTypeID(this.documentType.documentTemplateId ?? 0).toPromise())?.categoryNames?.split(',') ?? [];\r\n else this.ologCategories = this.ologMessage.categories.split(',');\r\n this.filteredCategories = this.categories.filter(c => !this.ologCategories.includes(c));\r\n }\r\n\r\n initializeEmails() {\r\n this.filterEmails();\r\n if (this.ologMessage.emailAddresses) {\r\n const ologEmails = this.extractEmailAddresses(this.ologMessage?.emailAddresses);\r\n this.ologEmails = this.users.filter(u => ologEmails?.includes(u.emailAddress ?? '')).map(u => {\r\n return { name: u.name, address: u.emailAddress, isCustom: false } as EmailAddress\r\n });\r\n const customEmails = ologEmails.filter(e => !this.users.map(u => u.emailAddress).includes(e));\r\n this.ologEmails = this.ologEmails.concat(customEmails.map(c => {\r\n return { address: c, isCustom: true } as EmailAddress;\r\n }));\r\n }\r\n }\r\n\r\n accept() {\r\n const ologMessage = {\r\n id: this.ologMessage.id ?? 0,\r\n documentTypeID: this.documentType.id,\r\n name: this.nameCtrl.value,\r\n notificationType: this.notificationTypeCtrl.value.id,\r\n subject: this.subjectCtrl.value,\r\n fromStatusID: this.fromCtrl.value.id,\r\n toStatusID: this.toCtrl.value.id,\r\n description: this.descriptionCtrl.value,\r\n status: this.activeCtrl.value ? 1 : 0,\r\n message: this.messageCtrl.value,\r\n categories: this.ologCategories.join(','),\r\n emailAddresses: this.ologEmails.map(e => `${e.name ? e.name : ''} <${e.address}>`).join(', '),\r\n } as OlogMessage;\r\n\r\n if (ologMessage.id) {\r\n // Update\r\n this.service.update(ologMessage).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n this.setFormDirty(false);\r\n }).catch(error => this.alert.defaultError());\r\n }\r\n else {\r\n // Create\r\n this.service.create(ologMessage).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n this.setFormDirty(false);\r\n }).catch(error => this.alert.defaultError());\r\n }\r\n }\r\n\r\n loadFormStatuses() {\r\n this.formStatuses$ = this.store.select(state => state.FormStatuses.data);\r\n this.formStatusesSubs = this.formStatuses$.subscribe(data => {\r\n if (data?.length) {\r\n this.formStatuses = data.sort((a, b) => this.utils.sort(a.name, b.name));\r\n this.filterFromStatuses();\r\n this.filterToStatuses();\r\n }\r\n });\r\n }\r\n\r\n loadChecklistExecStatuses() {\r\n this.checklistExecStatuses$ = this.store.select(state => state.ChecklistExecStatuses.data);\r\n this.checklistExecStatusesSubs = this.checklistExecStatuses$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklistExecStatuses = data;\r\n this.filterFromStatuses();\r\n this.filterToStatuses();\r\n }\r\n });\r\n }\r\n\r\n filterFromStatuses(e?: any) {\r\n this.fromStatusesFiltered = this.documentType.category == DocumentCategory.Form ? this.formStatuses?.map(s => {\r\n const status = { id: s.id, name: s.name, class: s.color } as Status;\r\n return status;\r\n }) :\r\n this.checklistExecStatuses?.map(s => {\r\n const status = { id: s.id, name: s.name, class: s.cssClass } as Status;\r\n return status;\r\n });\r\n if (e) {\r\n const value = e.target.value?.toLowerCase();\r\n this.fromStatusesFiltered = this.fromStatusesFiltered?.filter(s => s.name.toLowerCase().includes(value));\r\n }\r\n if (!this.ologMessage.fromStatus) this.ologMessage.fromStatus = this.fromStatusesFiltered?.find(s => s.id == this.ologMessage.fromStatusID);\r\n }\r\n\r\n filterToStatuses(e?: any) {\r\n this.toStatusesFiltered = this.documentType.category == DocumentCategory.Form ? this.formStatuses?.map(s => {\r\n const status = { id: s.id, name: s.name, class: s.color } as Status;\r\n return status;\r\n }) :\r\n this.checklistExecStatuses?.map(s => {\r\n const status = { id: s.id, name: s.name, class: s.cssClass } as Status;\r\n return status;\r\n });\r\n if (e) {\r\n const value = e.target.value?.toLowerCase();\r\n this.toStatusesFiltered = this.toStatusesFiltered?.filter(s => s.name.toLowerCase().includes(value));\r\n }\r\n if (!this.ologMessage.toStatus) this.ologMessage.toStatus = this.toStatusesFiltered?.find(s => s.id == this.ologMessage.toStatusID);\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n displayUserName(user: User) {\r\n return user && user.name ? user.name : '';\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n nameCtrl: this.nameCtrl,\r\n activeCtrl: this.activeCtrl,\r\n descriptionCtrl: this.descriptionCtrl,\r\n fromCtrl: this.fromCtrl,\r\n toCtrl: this.toCtrl,\r\n emailsCtrl: this.emailsCtrl,\r\n subjectCtrl: this.subjectCtrl,\r\n messageCtrl: this.messageCtrl,\r\n notificationTypeCtrl: this.notificationTypeCtrl,\r\n categoriesCtrl: this.categoriesCtrl\r\n });\r\n\r\n this.formGroup.valueChanges.subscribe(form => {\r\n this.setFormDirty(true);\r\n this.validateForm();\r\n });\r\n\r\n this.formGroup.markAsPristine();\r\n this.setValues();\r\n this.setFormDirty(false);\r\n }\r\n\r\n setValues() {\r\n this.nameCtrl.setValue(this.ologMessage.name);\r\n this.descriptionCtrl.setValue(this.ologMessage.description);\r\n this.notificationTypeCtrl.setValue(this.notifications?.find(n => n.id == this.ologMessage.notificationType));\r\n this.fromCtrl.setValue(this.ologMessage.fromStatus);\r\n this.toCtrl.setValue(this.ologMessage.toStatus);\r\n this.activeCtrl.setValue(this.ologMessage.status);\r\n this.messageCtrl.setValue(this.ologMessage.message);\r\n this.subjectCtrl.setValue(this.ologMessage.subject);\r\n }\r\n\r\n extractEmailAddresses(input: string): string[] {\r\n const emailRegex = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}/g;\r\n return input.match(emailRegex) || [];\r\n }\r\n\r\n validateForm() {\r\n if (!this.nameCtrl.value) this.nameCtrl.setErrors({ 'required': true });\r\n if (!this.fromCtrl.value) this.fromCtrl.setErrors({ 'required': true });\r\n if (!this.toCtrl.value) this.toCtrl.setErrors({ 'required': true });\r\n if (!this.subjectCtrl.value) this.subjectCtrl.setErrors({ 'required': true });\r\n if (!this.notificationTypeCtrl.value) this.notificationTypeCtrl.setErrors({ 'required': true });\r\n // Email addresses and Message can be empty\r\n }\r\n\r\n //Category\r\n\r\n addCategory(event: MatChipInputEvent): void {\r\n const value = (event.value || '').trim();\r\n\r\n // Add our fruit\r\n if (value) {\r\n this.ologCategories.push(value);\r\n }\r\n\r\n // Clear the input value\r\n event.chipInput!.clear();\r\n\r\n this.filterCategories();\r\n }\r\n\r\n removeCategory(category: string): void {\r\n const index = this.ologCategories.indexOf(category);\r\n\r\n if (index >= 0) {\r\n this.ologCategories.splice(index, 1);\r\n this.announcer.announce(`Removed ${category}`);\r\n this.filterCategories();\r\n }\r\n }\r\n\r\n selectedCategory(event: MatAutocompleteSelectedEvent): void {\r\n this.ologCategories.push(event.option.viewValue);\r\n this.categoryInput.nativeElement.value = '';\r\n this.filterCategories();\r\n }\r\n\r\n filterCategories(e?: any) {\r\n const filterValue = e?.target?.value?.toLowerCase() ?? '';\r\n this.filteredCategories = this.categories.filter(c => !this.ologCategories.includes(c));\r\n if (e)\r\n this.filteredCategories = this.filteredCategories.filter(category => category.toLowerCase().includes(filterValue)) ?? [];\r\n }\r\n\r\n // Emails\r\n\r\n removeEmail(email: EmailAddress): void {\r\n const index = this.ologEmails.indexOf(email);\r\n if (index >= 0) {\r\n this.ologEmails.splice(index, 1);\r\n }\r\n }\r\n\r\n selectedEmail(event: MatAutocompleteSelectedEvent): void {\r\n this.ologEmails.push(event.option.value);\r\n this.emailInput.nativeElement.value = '';\r\n this.filterEmails();\r\n }\r\n\r\n filterEmails(e?: any) {\r\n const text = e?.target?.value;\r\n this.filteredEmails = this.users.filter(u => !this.ologEmails.map(x => x.address)?.includes(u.emailAddress ?? '')).map(u => {\r\n return { name: u.name, address: u.emailAddress, isCustom: false } as EmailAddress\r\n });\r\n\r\n if (text)\r\n this.filteredEmails = this.filteredEmails.filter(x => x.name.toLowerCase().includes(text.toLowerCase()) || x.address.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n addEmail(event: MatChipInputEvent): void {\r\n if (event.value) {\r\n const emailAddress = { address: event.value, isCustom: true } as EmailAddress;\r\n if (!this.utils.isValidEmail(emailAddress.address)) {\r\n this.emailsCtrl.setErrors({ invalid: true });\r\n }\r\n else {\r\n this.ologEmails.push(emailAddress);\r\n this.emailInput.nativeElement.value = '';\r\n this.filterEmails();\r\n }\r\n }\r\n }\r\n\r\n copyToClipboard(value: string) {\r\n this.clipboard.copy(value);\r\n this.alert.info(`${value} has been copied to the Clipboard`);\r\n }\r\n\r\n}\r\n\r\nexport interface Status {\r\n id: number;\r\n name: string;\r\n class: string;\r\n}","
\r\n
\r\n {{ ologMessage.id ? \"Edit\" : \"Add\" }} Olog Message\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n {{\r\n getErrorMsg(nameCtrl)\r\n }}\r\n \r\n
\r\n
\r\n Active\r\n
\r\n
\r\n
\r\n
\r\n \r\n Notification Type\r\n \r\n \r\n \r\n {{ type.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Olog Message will be sent when form changes Status:\r\n \r\n
\r\n
\r\n \r\n From\r\n \r\n \r\n \r\n {{ status.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n To\r\n \r\n \r\n \r\n {{ status.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
Message
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Email To:\r\n \r\n \r\n {{\r\n email.name\r\n ? email.name + \" <\" + email.address + \">\"\r\n : email.address\r\n }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{\r\n email.name\r\n ? email.name + \" <\" + email.address + \">\"\r\n : email.address\r\n }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Subject\r\n \r\n {{\r\n getErrorMsg(subjectCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Placeholders for Subject or Message:\r\n {{ \"{serialNo}\" }},\r\n {{ \"{location}\" }}\r\n
\r\n
\r\n \r\n Categories\r\n \r\n \r\n {{ category }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ category }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { TextareaDialogComponent } from 'src/app/controls/textarea-dialog/textarea-dialog.component';\r\nimport { DocumentCategory, DocumentType } from 'src/app/services/documents/documents';\r\nimport { OlogMessage } from '../../../services/olog-message';\r\nimport { OlogMessageService } from '../../../services/olog-message.service';\r\nimport { OlogMessageDialogComponent, Status } from './olog-message-dialog/olog-message-dialog.component';\r\nimport { ChecklistExecStatus } from 'src/app/components/checklists/checklists';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'olog-messages-tab',\r\n templateUrl: './olog-messages-tab.component.html',\r\n styleUrls: ['./olog-messages-tab.component.scss']\r\n})\r\nexport class OlogMessagesTabComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() documentType?: DocumentType;\r\n @Input() disabled = true;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n public ologMessages$!: Observable;\r\n public ologMessageSubscription!: Subscription;\r\n\r\n ologMessages?: OlogMessage[];\r\n\r\n public displayedColumns: string[] = ['name', 'status', 'from', 'to'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n formStatuses?: FormStatus[];\r\n formStatuses$!: Observable;\r\n formStatusesSubs!: Subscription;\r\n\r\n checklistExecStatuses?: ChecklistExecStatus[];\r\n checklistExecStatuses$!: Observable;\r\n checklistExecStatusesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: OlogMessageService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['disabled']) {\r\n if (this.disabled) {\r\n this.removeAddColumn();\r\n } else {\r\n if (this.hasPrivilege(this.privilegeEnum.CreateOlogMessage)) {\r\n this.displayedColumns.push('add');\r\n }\r\n }\r\n }\r\n if (this.documentType)\r\n this.loadOlogMessages();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.ologMessageSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadOlogMessages() {\r\n this.ologMessages$ = this.store.select(x => x.OlogMessage.data);\r\n this.ologMessageSubscription = this.ologMessages$.subscribe(ologMessages => {\r\n this.ologMessages = ologMessages.filter(x => x.documentTypeID === this.documentType?.id);\r\n this.dataSource = new MatTableDataSource(this.ologMessages);\r\n if (this.documentType?.category == DocumentCategory.Form)\r\n this.loadFormStatuses();\r\n else this.loadChecklistExecStatuses();\r\n });\r\n }\r\n\r\n loadFormStatuses() {\r\n this.formStatuses$ = this.store.select(state => state.FormStatuses.data);\r\n this.formStatusesSubs = this.formStatuses$.subscribe(data => {\r\n if (data?.length) {\r\n this.formStatuses = data.sort((a, b) => this.utils.sort(a.name, b.name));\r\n this.setStatuses();\r\n }\r\n });\r\n }\r\n\r\n loadChecklistExecStatuses() {\r\n this.checklistExecStatuses$ = this.store.select(state => state.ChecklistExecStatuses.data);\r\n this.checklistExecStatusesSubs = this.checklistExecStatuses$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklistExecStatuses = data;\r\n this.setStatuses();\r\n }\r\n });\r\n }\r\n\r\n setStatuses() {\r\n const statuses = this.documentType?.category == DocumentCategory.Form ? this.formStatuses?.map(s => {\r\n const status = { id: s.id, name: s.name, class: s.color } as Status;\r\n return status;\r\n }) :\r\n this.checklistExecStatuses?.map(s => {\r\n const status = { id: s.id, name: s.name, class: s.cssClass } as Status;\r\n return status;\r\n });\r\n this.ologMessages?.map(m => {\r\n m.fromStatus = statuses?.find(s => s.id == m.fromStatusID);\r\n m.toStatus = statuses?.find(s => s.id == m.toStatusID);\r\n });\r\n }\r\n\r\n ologMessageDialog(ologMessage?: OlogMessage) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n ologMessage: ologMessage ? this.utils.cloneDeep(ologMessage) : {},\r\n documentType: this.documentType\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n dialogConfig.width = '60vw';\r\n dialogConfig.maxHeight = '90vh';\r\n const dialogRef = this.dialog.open(OlogMessageDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise();\r\n }\r\n\r\n delete(ologMessage: OlogMessage) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage(\"GenericActionConfirmation\").description?.replace('{action}', 'Delete').replace('{item}', `this Olog Message -> ${ologMessage.name} `)\r\n ,\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.deleteOlogMessage(ologMessage);\r\n }\r\n });\r\n }\r\n\r\n deleteOlogMessage(ologMessage: OlogMessage) {\r\n const dialogConfig: MatDialogConfig = {\r\n data: {\r\n label: 'Delete Reason',\r\n placeholder: 'Delete Reason',\r\n text: ''\r\n }\r\n };\r\n const dialogRefSureToDelete = this.dialog.open(TextareaDialogComponent, dialogConfig);\r\n dialogRefSureToDelete.afterClosed().toPromise().then(data => {\r\n if (data?.acceptClicked && data?.text) {\r\n const index = this.ologMessages?.findIndex(c => c.id == ologMessage.id) ?? -1;\r\n if (index >= 0)\r\n this.ologMessages?.splice(index, 1);\r\n this.dataSource = new MatTableDataSource(this.ologMessages);\r\n this.service.delete(ologMessage.id).toPromise();\r\n }\r\n });\r\n }\r\n\r\n removeAddColumn() {\r\n if (this.displayedColumns.includes('add')) {\r\n const index = this.displayedColumns.indexOf('add');\r\n this.displayedColumns.splice(index, 1);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n Olog Messages\r\n
\r\n \r\n \r\n Message \r\n {{ element.name }} \r\n \r\n\r\n \r\n Active\r\n \r\n \r\n \r\n\r\n \r\n From Status \r\n {{ element.fromStatus?.name }}\r\n \r\n \r\n\r\n \r\n To Status \r\n \r\n {{ element.toStatus?.name }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
","import { Component, Input } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { OlogCategory } from '../../services/olog-category';\r\nimport { OlogEmail } from '../../services/olog-email';\r\n\r\n@Component({\r\n selector: 'olog-messages',\r\n templateUrl: './olog-messages.component.html',\r\n styleUrls: ['./olog-messages.component.scss']\r\n})\r\nexport class OlogMessagesComponent extends BaseComponent {\r\n\r\n @Input() documentType!: DocumentType;\r\n @Input() disabled!: boolean;\r\n\r\n\r\n // ologCategoriesChanged(ologCategories?: OlogCategory[]) {\r\n // if (this.documentType)\r\n // this.documentType.ologCategories = ologCategories;\r\n // this.setFormDirty();\r\n // }\r\n\r\n // ologEmailsChanged(ologEmails: OlogEmail[]) {\r\n // if (this.documentType)\r\n // this.documentType.ologEmails = ologEmails;\r\n // this.setFormDirty();\r\n // }\r\n\r\n}\r\n","\r\n\r\n\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ActionPendingCatalog } from 'src/app/common/enumerations/enumerations';\r\nimport { AbsiTemplateTypeResource } from 'src/app/components/absi/absi';\r\nimport { AbsiService } from 'src/app/components/absi/absi.service';\r\nimport { ChecklistBuilderService } from 'src/app/components/checklists/checklist-builder/checklist-builder.service';\r\nimport { ChecklistTemplate, TemplateType, TemplateTypeDialogData } from 'src/app/components/checklists/checklists';\r\nimport { TemplateTypesRefreshByDocument, TemplateTypesRefresh, TemplateTypesDelete } from 'src/app/components/checklists/store/template-types/template-types.action';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { ScheduleTypesRefresh } from 'src/app/components/schedules/store/schedule-types/schedule-types.action';\r\nimport { TextareaDialogComponent } from 'src/app/controls/textarea-dialog/textarea-dialog.component';\r\nimport { DocumentTypeRefresh } from '../../store/document-type/document-type.action';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { AddEditTemplateTypeComponent } from '../dialogs/add-edit-template-type/add-edit-template-type.component';\r\nimport { ChecklistTemplatesRefreshByDocument } from 'src/app/components/checklists/store/checklist-templates/checklist-templates.action';\r\n\r\n@Component({\r\n selector: 'app-template-type-tab',\r\n templateUrl: './template-type-tab.component.html',\r\n styleUrls: ['./template-type-tab.component.scss']\r\n})\r\nexport class TemplateTypeTabComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() documentType?: DocumentType;\r\n @Input() isDisabled = true;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n public templateTypes!: TemplateType[];\r\n public templateTypes$!: Observable;\r\n public absiTemplateTypes$!: Observable;\r\n\r\n hasChecklistTemplates?: boolean;\r\n checklistTemplates?: ChecklistTemplate[];\r\n checklistTemplatesFiltered?: ChecklistTemplate[];\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n public templateTypeSubscription!: Subscription;\r\n public absiTemplateTypeSubscription!: Subscription;\r\n\r\n public displayedColumnsTemplateType: string[] = ['name', 'description', 'code', 'add'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n public isAbsiTemplateType!: boolean;\r\n\r\n scheduleType!: ScheduleType;\r\n canEdit!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private absiService: AbsiService,\r\n private checklistBuilderService: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.canEdit = this.hasPrivilege(this.privilegeEnum.CreateTemplateType) && !this.isDisabled;\r\n this.displayedColumnsTemplateType = this.canEdit ? ['name', 'description', 'code', 'add'] : ['name', 'description', 'code'];\r\n if (this.documentType?.documentTemplateId)\r\n this.loadTemplateTypesByDocTypeId(this.documentType?.documentTemplateId);\r\n else {\r\n this.templateTypes = [];\r\n this.dataSource = new MatTableDataSource(this.templateTypes);\r\n }\r\n this.hasChecklistTemplates = false;\r\n this.loadChecklistTemplates();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.templateTypeSubscription?.unsubscribe();\r\n this.absiTemplateTypeSubscription?.unsubscribe();\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadChecklistTemplates() {\r\n if (this.documentType?.documentTemplateId)\r\n this.store.dispatch(new ChecklistTemplatesRefreshByDocument(this.documentType?.documentTemplateId));\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklistTemplates = data;\r\n this.checkChecklistTemplates();\r\n }\r\n });\r\n }\r\n\r\n loadTemplateTypesByDocTypeId(documentTypeId: number) {\r\n if (documentTypeId != 10) {\r\n this.store.dispatch(new TemplateTypesRefreshByDocument(documentTypeId));\r\n this.isAbsiTemplateType = false;\r\n this.templateTypes$ = this.store.select(x => x.TemplateTypes.data);\r\n this.templateTypeSubscription = this.templateTypes$.subscribe(templateTypes => {\r\n this.templateTypes = templateTypes.filter(x => x.documentTypeID == documentTypeId).sort((a, b) => this.utils.sort(a.order, b.order, true));\r\n this.checkChecklistTemplates();\r\n this.dataSource = new MatTableDataSource(this.templateTypes);\r\n });\r\n }\r\n }\r\n\r\n checkChecklistTemplates(isAbsi?: boolean) {\r\n this.templateTypes?.map(t => {\r\n if (!isAbsi)\r\n t.checklistTemplates = this.checklistTemplates?.filter(c => c.templateTypeID == t.id);\r\n if (t.checklistTemplates?.length)\r\n this.hasChecklistTemplates = true;\r\n });\r\n }\r\n\r\n loadAbsiTemplateTypes() {\r\n this.isAbsiTemplateType = true;\r\n this.absiTemplateTypes$ = this.store.select(x => x.AbsiTemplateType.data);\r\n this.absiTemplateTypeSubscription = this.absiTemplateTypes$.subscribe(absiTemplateTypes => {\r\n const templateTypesFormatted: TemplateType[] = [];\r\n absiTemplateTypes?.map(absiTemplateType => {\r\n const templateTypeFormatted: TemplateType = {\r\n id: absiTemplateType.id ?? 0,\r\n name: absiTemplateType.name,\r\n scheduleTypeID: this.scheduleType?.id,\r\n description: absiTemplateType.description,\r\n code: absiTemplateType.code,\r\n checklistTemplates: absiTemplateType.absiTemplates as ChecklistTemplate[]\r\n };\r\n templateTypesFormatted.push(templateTypeFormatted);\r\n });\r\n this.templateTypes = templateTypesFormatted;\r\n this.checkChecklistTemplates(true);\r\n this.dataSource = new MatTableDataSource(this.templateTypes);\r\n });\r\n }\r\n\r\n templateTypeDialog(templateType?: TemplateType) {\r\n this.openTemplateTypeDialog(templateType);\r\n }\r\n\r\n openTemplateTypeDialog(templateType?: TemplateType) {\r\n const dialogConfig = new MatDialogConfig();\r\n const data: TemplateTypeDialogData = {\r\n templateType: templateType ? this.utils.cloneDeep(templateType) : { id: 0 },\r\n documentType: this.documentType,\r\n isAbsiTemplateType: this.isAbsiTemplateType\r\n }\r\n dialogConfig.data = data;\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n dialogConfig.width = '60%';\r\n dialogConfig.minHeight = '450px';\r\n const dialogRef = this.dialog.open(AddEditTemplateTypeComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((templateTypeToSave: TemplateType) => {\r\n if (templateTypeToSave) {\r\n this.addUpdateTable(templateTypeToSave);\r\n this.changed.emit(this.templateTypes);\r\n }\r\n });\r\n }\r\n\r\n delete(templateType: TemplateType) {\r\n const index = this.templateTypes.findIndex(x => x.id == templateType.id) ?? -1;\r\n if (index >= 0)\r\n this.templateTypes.splice(index, 1);\r\n this.dataSource = new MatTableDataSource(this.templateTypes);\r\n this.changed.emit(this.templateTypes);\r\n }\r\n\r\n addUpdateTable(templateType: TemplateType) {\r\n if (templateType.id) {\r\n const index = this.templateTypes.findIndex(x => x.id == templateType.id) ?? -1;\r\n if (index >= 0) this.templateTypes[index] = templateType;\r\n }\r\n else {\r\n templateType.documentTypeID = this.documentType?.id;\r\n templateType.order = Math.max(...this.templateTypes.map(t => t.order ?? 0)) + 1;\r\n this.templateTypes.push(templateType);\r\n }\r\n this.dataSource = new MatTableDataSource(this.templateTypes);\r\n this.changed.emit(this.templateTypes);\r\n }\r\n\r\n addUpdateDeleteDb() {\r\n this.addUpdateDeleteTemplates();\r\n }\r\n\r\n addUpdateDeleteTemplates() {\r\n this.dataSource.data.map(templateType => {\r\n if (templateType.actionPending) {\r\n if (this.isAbsiTemplateType) {\r\n switch (templateType.actionPending) {\r\n case ActionPendingCatalog.Update:\r\n this.updateAbsiTemplateType(templateType);\r\n break;\r\n case ActionPendingCatalog.Delete:\r\n this.deleteAbsiTemplateType(templateType);\r\n break;\r\n case ActionPendingCatalog.Create:\r\n this.createAbsiTemplateType(templateType);\r\n break;\r\n }\r\n }\r\n else {\r\n switch (templateType.actionPending) {\r\n case ActionPendingCatalog.Update:\r\n this.updateTemplateType(templateType);\r\n break;\r\n case ActionPendingCatalog.Delete:\r\n this.deleteTemplateType(templateType);\r\n break;\r\n case ActionPendingCatalog.Create:\r\n this.createTemplateType(templateType);\r\n break;\r\n }\r\n }\r\n templateType.actionPending = ActionPendingCatalog.None;\r\n }\r\n });\r\n }\r\n\r\n //#region ABSI\r\n createAbsiTemplateType(templateType: TemplateType) {\r\n const absiTemplateType: AbsiTemplateTypeResource = {\r\n name: templateType.name,\r\n description: templateType.description,\r\n code: templateType.code\r\n };\r\n this.absiService.createAbsiTemplateType(absiTemplateType).toPromise();\r\n }\r\n\r\n updateAbsiTemplateType(templateType: TemplateType) {\r\n const absiTemplateType: AbsiTemplateTypeResource = {\r\n id: templateType.id,\r\n name: templateType.name,\r\n description: templateType.description,\r\n code: templateType.code\r\n };\r\n if (absiTemplateType.id)\r\n this.absiService.updateAbsiTemplateType(absiTemplateType.id, absiTemplateType).toPromise();\r\n }\r\n\r\n deleteAbsiTemplateType(templateTypeToDelete: TemplateType) {\r\n this.absiService.deleteAbsiTemplateType(templateTypeToDelete.id, templateTypeToDelete.deleteReason ?? '').toPromise();\r\n }\r\n\r\n //#endregion ABSI\r\n\r\n refreshStore() {\r\n this.store.dispatch(new TemplateTypesRefresh());\r\n this.store.dispatch(new ScheduleTypesRefresh());\r\n this.store.dispatch(new DocumentTypeRefresh());\r\n }\r\n\r\n createTemplateType(templateType: TemplateType) {\r\n templateType.documentTypeID = this.documentType?.documentTemplateId;\r\n this.checklistBuilderService.createTemplateType(this.utils.Serialize(templateType)).toPromise().then(() => {\r\n this.refreshStore();\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n updateTemplateType(templateType: TemplateType) {\r\n this.checklistBuilderService.updateTemplateType(templateType).toPromise().then(() => {\r\n this.refreshStore();\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n deleteTemplateType(templateTypeToDelete: TemplateType) {\r\n this.deleteTemplate(templateTypeToDelete);\r\n this.refreshStore();\r\n }\r\n\r\n deleteTemplate(templateType: TemplateType) {\r\n this.checklistBuilderService.deleteTemplateType(templateType, templateType.deleteReason ?? '').toPromise().then(() => {\r\n this.store.dispatch(new TemplateTypesDelete(templateType.id));\r\n this.refreshStore();\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n deleteTemplateTypeReason(templateTypeIndex: number) {\r\n this.openDeleteTemplateTypeReasonModal(templateTypeIndex);\r\n }\r\n\r\n openDeleteTemplateTypeReasonModal(templateTypeIndex: number) {\r\n const dialogConfig: MatDialogConfig = {\r\n data: {\r\n label: 'Delete Reason',\r\n placeholder: 'Delete Reason',\r\n text: ''\r\n }\r\n };\r\n const dialogRefSureToDelete = this.dialog.open(TextareaDialogComponent, dialogConfig);\r\n dialogRefSureToDelete.afterClosed().toPromise().then(data => {\r\n if (data?.acceptClicked && data?.text) {\r\n this.dataSource.data[templateTypeIndex].deleteReason = data.text;\r\n this.alert.message('templateTypeTab_Deleted');\r\n this.changed.emit(this.templateTypes);\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n Template Types\r\n\r\n
\r\n \r\n \r\n Template Name \r\n {{ element.name }} \r\n \r\n\r\n \r\n \r\n Template Description\r\n \r\n {{ element.description }}\r\n \r\n \r\n\r\n \r\n Template Code \r\n {{ element.code }} \r\n \r\n\r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n \r\n edit\r\n \r\n 0\"\r\n *ngIf=\"hasPrivilege(privilegeEnum.DeleteTemplateType)\"\r\n >\r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { DocumentsService } from 'src/app/services/documents/documents.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-document-type-list',\r\n templateUrl: './document-type-list.component.html',\r\n styleUrls: ['./document-type-list.component.scss']\r\n})\r\nexport class DocumentTypeListComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n @Input() filter?: string;\r\n @Output() documentTypeSelected = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n public documentTypes$!: Observable;\r\n public documentTypes!: DocumentType[];\r\n public documentTypeSubscription!: Subscription;\r\n\r\n public documentTypeSelectedIndex = -1;\r\n\r\n public displayedColumnsDocumentType: string[] = ['name', 'category', 'description'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: DocumentsService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.loadDocumentTypes();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.documentTypeSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.loading.emit(true);\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypeSubscription = this.documentTypes$.subscribe(documentTypes => {\r\n this.documentTypes = documentTypes;\r\n this.dataSource = new MatTableDataSource(this.utils.cloneDeep(documentTypes.filter(x => x.showInCatalog)));\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n async getDocumentType(documentTypeSelected: DocumentType) {\r\n if (await this.canDeactivate()) {\r\n if (documentTypeSelected.id === 11) { // ABSI\r\n documentTypeSelected.documentTemplateId = 10; // ABSI Template\r\n } else {\r\n documentTypeSelected.documentTemplateId = this.documentTypes.find(x => x.type === documentTypeSelected.id)?.id;\r\n }\r\n this.documentTypeSelectedIndex = documentTypeSelected.id;\r\n this.documentTypeSelected.emit(documentTypeSelected);\r\n }\r\n }\r\n\r\n async createDocumentType() {\r\n if (await this.canDeactivate()) {\r\n this.documentTypeSelectedIndex = 0;\r\n this.documentTypeSelected.emit({ id: 0 });\r\n }\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const dataToSort = this.utils.cloneDeep(this.dataSource.data);\r\n if (!sort.active || sort.direction === '') {\r\n this.dataSource.data = dataToSort;\r\n return;\r\n }\r\n this.dataSource.data = dataToSort.sort((a, b) => {\r\n const isAsc = sort.direction === 'asc';\r\n switch (sort.active) {\r\n case 'name': return this.utils.sort(a.name, b.name, isAsc);\r\n case 'description': return this.utils.sort(a.description, b.description, isAsc);\r\n default: return 0;\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n applyFilter(filterValue: string) {\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n Name\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Category\r\n \r\n \r\n {{ service.getCategoryName(element) }}\r\n \r\n \r\n \r\n \r\n Description\r\n \r\n \r\n {{ element.description }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { DocumentTypeListComponent } from './document-type-list/document-type-list.component';\r\nimport { DocumentsService } from 'src/app/services/documents/documents.service';\r\n\r\n@Component({\r\n selector: 'app-document-type',\r\n templateUrl: './document-type.component.html',\r\n styleUrls: ['./document-type.component.scss']\r\n})\r\nexport class DocumentTypeComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(DocumentTypeListComponent) side?: DocumentTypeListComponent;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n loadingMessage!: string;\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n documentType?: DocumentType;\r\n documentTypes?: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: DocumentsService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights(64);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Document Type Catalog';\r\n this.loadDocumentTypes();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.documentTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.documentTypes = data;\r\n if (this.documentType) {\r\n const documentType = this.documentTypes.find(x => x.id == this.documentType?.id);\r\n if (documentType) {\r\n this.documentType = documentType;\r\n this.documentType.documentTemplateId = this.documentTypes.find(x => x.type === this.documentType?.id)?.id;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n selectedRow(e: DocumentType) {\r\n this.documentType = e;\r\n }\r\n\r\n create() {\r\n this.side?.createDocumentType();\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n

{{ documentType.code + ' - ' + documentType.description }}

\r\n ({{ service.getCategoryName(documentType )}})\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { OlogCategories, OlogCategory } from './olog-category';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OlogCategoriesService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/OlogCategories';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n GetOlogCategories(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetOlogCategoryByDocumentTypeID(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { OlogCategory } from './olog-category';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OlogCategoryService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/OlogCategory';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n GetOlogCategories(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetOlogCategoryById(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n CreateOlogCategory(ologCategory: OlogCategory): Observable {\r\n return this.http.post(this.api, ologCategory);\r\n }\r\n\r\n UpdateOlogCategory(id: number, ologCategory: OlogCategory): Observable {\r\n return this.http.put(this.api + '/' + id, ologCategory);\r\n }\r\n\r\n DeleteOlogCategory(id: number, deleteReason: string) {\r\n return this.http.delete(this.api + '/' + id + '/' + deleteReason);\r\n }\r\n}\r\n","\r\nexport class OlogCategory {\r\n id?: number;\r\n name?: string;\r\n status?: number;\r\n documentTypeID?: number;\r\n deleteReason?: string;\r\n isModified?: boolean;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n}\r\n\r\nexport class OlogCategories {\r\n documentTypeID?: number;\r\n categoryNames?: string;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { OlogEmail } from './olog-email';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OlogEmailService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/OlogEmail';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n GetOlogEmails(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetOlogEmailById(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n CreateOlogEmail(ologEmail: OlogEmail): Observable {\r\n return this.http.post(this.api, ologEmail);\r\n }\r\n\r\n UpdateOlogEmail(id: number, ologEmail: OlogEmail): Observable {\r\n return this.http.put(this.api + '/' + id, ologEmail);\r\n }\r\n\r\n DeleteOlogEmail(id: number, deleteReason: string) {\r\n return this.http.delete(this.api + '/' + id + '/' + deleteReason);\r\n }\r\n}\r\n","import { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\n\r\nexport class OlogEmail {\r\n id?: number;\r\n userId?: number;\r\n status?: number;\r\n documentTypeId?: number;\r\n deleteReason?: string;\r\n isModified?: boolean;\r\n user?: User;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { OlogMessage } from './olog-message';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OlogMessageService extends BaseService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/OlogMessages';\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector, '/OlogMessages');\r\n }\r\n\r\n}\r\n","import { DocumentType } from \"src/app/services/documents/documents\";\r\n\r\nexport class DocumentTypeRefresh {\r\n static readonly type = '[DocumentType] Refresh';\r\n}\r\nexport class DocumentTypeCreate {\r\n static readonly type = '[DocumentType] Create';\r\n constructor(public item: DocumentType) { }\r\n}\r\nexport class DocumentTypeUpdate {\r\n static readonly type = '[DocumentType] Update';\r\n constructor(public id: number, public item: DocumentType) { }\r\n}\r\nexport class DocumentTypeDelete {\r\n static readonly type = '[DocumentType] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { DocumentTypeCreate, DocumentTypeDelete, DocumentTypeRefresh, DocumentTypeUpdate } from './document-type.action';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { DocumentsService } from 'src/app/services/documents/documents.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class DocumentTypeStateModel {\r\n data: DocumentType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'DocumentType',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class DocumentTypeState {\r\n constructor(\r\n private service: DocumentsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: DocumentTypeStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(DocumentTypeRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getDocumentTypes().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(DocumentTypeCreate)\r\n create({ getState, patchState }: StateContext, { item }: DocumentTypeCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(DocumentTypeUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: DocumentTypeUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.data);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(DocumentTypeDelete)\r\n delete({ getState, patchState }: StateContext, { id }: DocumentTypeDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport * as DocumentTypeActions from './document-type.action';\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DocumentTypeStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new DocumentTypeActions.DocumentTypeRefresh());\r\n }\r\n\r\n initListeners() {\r\n // DocumentType\r\n this.signalRService.hubConnection?.on(Channels.DOCUMENTTYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new DocumentTypeActions.DocumentTypeCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new DocumentTypeActions.DocumentTypeUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new DocumentTypeActions.DocumentTypeDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new DocumentTypeActions.DocumentTypeRefresh());\r\n }\r\n });\r\n }\r\n}\r\n","import { OlogCategory } from \"../../services/olog-category\";\r\n\r\nexport class OlogCategoryRefresh {\r\n static readonly type = '[OlogCategory] Refresh';\r\n}\r\n\r\nexport class OlogCategoryCreate {\r\n static readonly type = '[OlogCategory] Create';\r\n constructor(public item: OlogCategory) { }\r\n}\r\n\r\nexport class OlogCategoryUpdate {\r\n static readonly type = '[OlogCategory] Update';\r\n constructor(public id: number, public item: OlogCategory) { }\r\n}\r\n\r\nexport class OlogCategoryDelete {\r\n static readonly type = '[OlogCategory] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { OlogCategoryCreate, OlogCategoryDelete, OlogCategoryRefresh, OlogCategoryUpdate } from './olog-category.action';\r\nimport { OlogCategory } from '../../services/olog-category';\r\nimport { OlogCategoryService } from '../../services/olog-category.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class OlogCategoryStateModel {\r\n data: OlogCategory[] = [];\r\n}\r\n\r\n@State({\r\n name: 'OlogCategory',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class OlogCategoryState {\r\n constructor(\r\n private ologCategoryService: OlogCategoryService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: OlogCategoryStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(OlogCategoryRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.ologCategoryService.GetOlogCategories().toPromise().then(data => {\r\n patchState({ data: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(OlogCategoryCreate)\r\n create({ getState, patchState }: StateContext, { item }: OlogCategoryCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(OlogCategoryUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: OlogCategoryUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.data);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(OlogCategoryDelete)\r\n delete({ getState, patchState }: StateContext, { id }: OlogCategoryDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport * as OlogCategoryActions from './olog-category.action';\r\nimport { Store } from '@ngxs/store';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OlogCategoryStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new OlogCategoryActions.OlogCategoryRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.OLOGCATEGORY, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new OlogCategoryActions.OlogCategoryCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new OlogCategoryActions.OlogCategoryUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new OlogCategoryActions.OlogCategoryDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new OlogCategoryActions.OlogCategoryRefresh());\r\n }\r\n });\r\n }\r\n}\r\n","import { OlogEmail } from \"../../services/olog-email\";\r\n\r\nexport class OlogEmailRefresh {\r\n static readonly type = '[OlogEmail] Refresh';\r\n}\r\n\r\nexport class OlogEmailCreate {\r\n static readonly type = '[OlogEmail] Create';\r\n constructor(public item: OlogEmail) { }\r\n}\r\n\r\nexport class OlogEmailUpdate {\r\n static readonly type = '[OlogEmail] Update';\r\n constructor(public id: number, public item: OlogEmail) { }\r\n}\r\n\r\nexport class OlogEmailDelete {\r\n static readonly type = '[OlogEmail] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { OlogEmailCreate, OlogEmailDelete, OlogEmailRefresh, OlogEmailUpdate } from './olog-email.action';\r\nimport { OlogEmail } from '../../services/olog-email';\r\nimport { OlogEmailService } from '../../services/olog-email.service';\r\n\r\nexport class OlogEmailStateModel {\r\n data: OlogEmail[] = [];\r\n}\r\n\r\n@State({\r\n name: 'OlogEmail',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class OlogEmailState {\r\n constructor(\r\n private ologEmailService: OlogEmailService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: OlogEmailStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(OlogEmailRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.ologEmailService.GetOlogEmails().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(OlogEmailCreate)\r\n create({ getState, patchState }: StateContext, { item }: OlogEmailCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(OlogEmailUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: OlogEmailUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(OlogEmailDelete)\r\n delete({ getState, patchState }: StateContext, { id }: OlogEmailDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as OlogEmailActions from './olog-email.action';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OlogEmailStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new OlogEmailActions.OlogEmailRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.OLOGEMAIL, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new OlogEmailActions.OlogEmailCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new OlogEmailActions.OlogEmailUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new OlogEmailActions.OlogEmailDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new OlogEmailActions.OlogEmailRefresh());\r\n }\r\n });\r\n }\r\n}\r\n","import { OlogMessage } from \"../../services/olog-message\";\r\n\r\nexport class OlogMessageRefresh {\r\n static readonly type = '[OlogMessage] Refresh';\r\n}\r\n\r\nexport class OlogMessageCreate {\r\n static readonly type = '[OlogMessage] Create';\r\n constructor(public item: OlogMessage) { }\r\n}\r\n\r\nexport class OlogMessageUpdate {\r\n static readonly type = '[OlogMessage] Update';\r\n constructor(public id: number, public item: OlogMessage) { }\r\n}\r\n\r\nexport class OlogMessageDelete {\r\n static readonly type = '[OlogMessage] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { OlogMessageCreate, OlogMessageDelete, OlogMessageRefresh, OlogMessageUpdate } from './olog-message.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { OlogMessage } from '../../services/olog-message';\r\nimport { OlogMessageService } from '../../services/olog-message.service';\r\n\r\nexport class OlogMessageStateModel {\r\n data: OlogMessage[] = [];\r\n}\r\n\r\n@State({\r\n name: 'OlogMessage',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class OlogMessageState {\r\n constructor(\r\n private service: OlogMessageService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: OlogMessageStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(OlogMessageRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getAll().toPromise().then(data => {\r\n patchState({ data: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(OlogMessageCreate)\r\n create({ getState, patchState }: StateContext, { item }: OlogMessageCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(OlogMessageUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: OlogMessageUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.data);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(OlogMessageDelete)\r\n delete({ getState, patchState }: StateContext, { id }: OlogMessageDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport * as OlogMessageActions from './olog-message.action';\r\nimport { Store } from '@ngxs/store';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OlogMessageStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new OlogMessageActions.OlogMessageRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.OLOG_MESSAGE, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new OlogMessageActions.OlogMessageCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new OlogMessageActions.OlogMessageUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new OlogMessageActions.OlogMessageDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new OlogMessageActions.OlogMessageRefresh());\r\n }\r\n });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-meters-catalog-settings',\r\n templateUrl: './meters-catalog-settings.component.html',\r\n styleUrls: ['./meters-catalog-settings.component.scss']\r\n})\r\nexport class MetersCatalogSettingsComponent {\r\n\r\n constructor(\r\n private dialogRef: MatDialogRef) {\r\n\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n Settings\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { RadMetersComponent } from './rad-meters/rad-meters.component';\r\nimport { MetersCatalogSettingsComponent } from './meters-catalog-settings/meters-catalog-settings.component';\r\n\r\n@Component({\r\n selector: 'app-meters-catalog',\r\n templateUrl: './meters-catalog.component.html',\r\n styleUrls: ['./meters-catalog.component.scss']\r\n})\r\nexport class MetersCatalogComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n @ViewChild(RadMetersComponent) main!: RadMetersComponent;\r\n // @ViewChild(ScfV2SideComponent) side!: ScfV2SideComponent;\r\n // @ViewChild(ScfV2MainComponent) main!: ScfV2MainComponent;\r\n\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n // scfMasterUnchanged?: SCFMaster | null;\r\n // scfMaster?: SCFMaster | null;\r\n // scfMasters: SCFMaster[] = [];\r\n // scfMasters$!: Observable;\r\n // scfMastersSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n // privileges: SCFPrivileges = new SCFPrivileges();\r\n // public status: SCFStatus = new SCFStatus();\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n // public scfService: ScfV2Service,\r\n // private notificationService: NotificationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // this.loadSCFs();\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Meters Catalog';\r\n this.checkPrivileges();\r\n }\r\n\r\n // async loadSCFs() {\r\n // this.scfMasters$ = this.store.select((state) => state.SCFMasters.data);\r\n // this.scfMastersSubs = this.scfMasters$.subscribe((data) => {\r\n // if (data && data.length > 0) {\r\n // this.scfMasters = data.filter((x) => x.serialNo !== \"\");\r\n // if (this.scfMaster) {\r\n // this.scfMaster = this.scfMasters.find(\r\n // (x) => x.id == this.scfMaster?.id\r\n // );\r\n // this.checkPrivileges();\r\n // }\r\n // }\r\n // });\r\n // }\r\n\r\n // showStatusChangeMessage(scfMaster: SCFMaster) {\r\n // this.alert.message(this.getMessage(\"formStateChanged\"), [\r\n // new MessagePlaceholder(\"{serialNo}\", scfMaster.serialNo), new MessagePlaceholder(\"{status}\", scfMaster.statusName ?? 'New'),]);\r\n // }\r\n\r\n // override ngOnDestroy(): void {\r\n // this.scfMastersSubs?.unsubscribe();\r\n // this.proceduresSubs?.unsubscribe();\r\n // }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n this.main.addMeterCatalog();\r\n\r\n }\r\n\r\n settings() {\r\n this.dialog.open(MetersCatalogSettingsComponent, { width: '60vw', height: '60vh', disableClose: true, autoFocus: false });\r\n }\r\n\r\n // async edit() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n // async editAmendment() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n release() {\r\n // if (this.scfMaster && this.scfMasterUnchanged && !utils.isEquivalent(this.cleanSCFMaster(this.scfMaster), this.cleanSCFMaster(this.scfMasterUnchanged))) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"SCF_Release_confirmation\")\r\n // ?.description, icon: \"stop\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // if (this.scfMaster?.status == FormStatusEnum.New) {\r\n // this.loading = true;\r\n // this.scfService\r\n // .cancel(this.scfMaster, \"New Form Canceled\")\r\n // .toPromise()\r\n // .then(() => {\r\n // this.loading = false;\r\n // this.scfMaster = null;\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n // }\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n }\r\n\r\n // cleanSCFMaster(scfMaster: SCFMaster) {\r\n // let clonedSCFMaster: SCFMaster = new SCFMaster();\r\n // if (scfMaster) {\r\n // clonedSCFMaster = utils.cloneDeep(scfMaster);\r\n // clonedSCFMaster.wfTable = null;\r\n // clonedSCFMaster.editingBy = null;\r\n // clonedSCFMaster.editingById = null;\r\n // clonedSCFMaster.editingUntil = null;\r\n // clonedSCFMaster.updatedOn = null;\r\n // clonedSCFMaster.updatedBy = null;\r\n // }\r\n // return clonedSCFMaster;\r\n // }\r\n\r\n // async releaseForm() {\r\n // this.loading = true;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // // this.scfMaster = this.scfMasterUnchanged;\r\n // await this.setEditing(false);\r\n // }\r\n\r\n async setEditing(value: boolean) {\r\n // await this.scfService\r\n // .setEditing(this.scfMaster?.id ?? 0, value)\r\n // .toPromise()\r\n // .then(async () => {\r\n // await this.loadSCFs();\r\n // });\r\n // this.disabled = !value;\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n // settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n // });\r\n // settings.afterClosed().subscribe(() => { });\r\n // }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n // rowSelected(e: SCFMaster | any) {\r\n // this.scfMaster = e as SCFMaster;\r\n // if (\r\n // this.scfMasterUnchanged?.status != this.scfMaster?.status &&\r\n // this.scfMasterUnchanged?.id == this.scfMaster?.id\r\n // ) {\r\n // this.showStatusChangeMessage(this.scfMaster);\r\n // }\r\n // this.scfMasterUnchanged = e ? utils.cloneDeep(e) : null;\r\n // this.checkPrivileges();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\"MMM-DD-YYYY\");\r\n // this.status = new SCFStatus();\r\n // if (this.scfMaster?.status == FormStatusEnum.Amendment) {\r\n // this.status.isEditingAmendment =\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id;\r\n // this.status.isViewingAmendment = this.privileges.canViewAmendment;\r\n // } else if (this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) {\r\n // this.status.isEditing = true;\r\n // this.status.isViewingAmendment = false;\r\n // } else {\r\n // this.status.isViewingAmendment = false;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // }\r\n // this.checkDisabled();\r\n // this.showAmendmentToggle = (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.canSeeAmendment();\r\n // this.checkButtonsVisible();\r\n // this.setHeights();\r\n // this.scrollToTop('sidenav-content');\r\n // }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n // checkButtonsVisible() {\r\n // this.buttonsVisible =\r\n // this.status.isCreating ||\r\n // this.status.isEditing ||\r\n // this.status.isEditingAmendment ||\r\n // this.status.isCreatingAmendment ||\r\n // this.status.isViewingAmendment ||\r\n // (this.scfMaster?.status == FormStatusEnum.WorkApprovals &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == FormStatusEnum.PendingActivation &&\r\n // this.privileges.canCancel) ||\r\n // (this.scfMaster?.status == this.formStatus.Draft &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == this.formStatus.RestrictionsAmendment &&\r\n // this.privileges.canUnsubmitAmendment)\r\n // }\r\n\r\n // changeAmendmentToggle(e: any) {\r\n // this.status.isViewingAmendment = e.checked;\r\n // this.checkPrivileges();\r\n // }\r\n\r\n // canSeeAmendment(): boolean {\r\n // let res = this.hasPrivilege(PrivilegeEnum.SCFSubmit);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFNewForm);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.EditSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.ViewSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.scfMaster?.requesterId == this.getCurrentUser()?.id || this.scfMaster?.scfAmendments?.find(a => a.active)?.requesterId == this.getCurrentUser()?.id;\r\n // if (res) {\r\n // return true;\r\n // }\r\n // return false;\r\n // }\r\n\r\n // checkDisabled() {\r\n // this.disabled = true;\r\n // if (!this.getCurrentUser()) {\r\n // return;\r\n // } else {\r\n // this.disabled = !(\r\n // this.scfMaster?.status === FormStatusEnum.New ||\r\n // this.scfMaster?.status === FormStatusEnum.Draft ||\r\n // (this.scfMaster?.status === FormStatusEnum.Amendment &&\r\n // this.status.isViewingAmendment)\r\n // );\r\n // }\r\n // }\r\n\r\n checkPrivileges() {\r\n // this.checkDisabled();\r\n // this.privileges = new SCFPrivileges();\r\n // this.privileges = {\r\n // canCreate: this.hasPrivilege(PrivilegeEnum.SCFNewForm),\r\n // canEdit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFNewForm) &&\r\n // (!this.scfMaster?.editingBy ||\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id),\r\n // canSubmit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canCancel:\r\n // (this.scfMaster?.status == this.formStatus.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New ||\r\n // this.scfMaster?.status == FormStatusEnum.WorkApprovals ||\r\n // this.scfMaster?.status == FormStatusEnum.PendingActivation) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canUnsubmit:\r\n // this.scfMaster?.status == this.formStatus.WorkApprovals &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit) &&\r\n // this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 2)?.wfSignatures?.filter((x) => x.code != \"SUBMIT\" && x.signed).length ==\r\n // 0,\r\n // canCreateAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Active ||\r\n // this.scfMaster?.status == FormStatusEnum.HoldPoint) &&\r\n // this.hasPrivilege(PrivilegeEnum.RequestAmendment),\r\n // canEditAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.EditSCFAmendment),\r\n // canSubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canUnsubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment) &&\r\n // !this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.filter(x =>\r\n // x.amendmentID == this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.amendmentNumber == this.scfMaster?.scfAmendments?.length\r\n // )?.amendmentID\r\n // )\r\n // .some((x) => x.signed),\r\n // canCancelAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canViewAmendment: (this.scfMaster && this.canSeeAmendment()) ?? false,\r\n // canAddHoldPoints:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CreateHoldPoints) &&\r\n // (this.scfMaster.status == FormStatusEnum.Active ||\r\n // this.scfMaster.status == FormStatusEnum.HoldPoint)) ?? false,\r\n // canAddHoldPointsDraft:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(\r\n // PrivilegeEnum.CreateHoldPointsDraft\r\n // ) &&\r\n // this.scfMaster.status == FormStatusEnum.Draft) ?? false,\r\n // canDuplicate:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CopySCF)) ?? false,\r\n // canRelease:\r\n // ((this.scfMaster &&\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) ||\r\n // this.getCurrentUser()?.userRole?.map((x) => x.roleID).includes(Roles.SA)) ?? false,\r\n // };\r\n }\r\n\r\n duplicate() {\r\n // const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"20em\", data: {\r\n // message: this.getMessage(\r\n // \"Are you sure you want to copy this form\"\r\n // ).description, icon: \"warn\", val: false,\r\n // },\r\n // });\r\n // removeRef\r\n // .afterClosed()\r\n // .toPromise()\r\n // .then((result) => {\r\n // if (result != null && result) {\r\n // const id = this.scfMaster?.id ?? 0;\r\n // this.side.rowUnselected();\r\n // // this.cdRef.detectChanges();\r\n // this.loading = true;\r\n // this.scfService\r\n // .copySCF(id, false)\r\n // .toPromise()\r\n // .then(async (scfMaster) => {\r\n // this.scfMaster = scfMaster;\r\n // if (this.scfMaster && this.scfMaster?.id)\r\n // this.notificationService.createNotification(NotificationType.CreateSCF, this.scfMaster.id, await this.scfService.getEmails(this.scfMaster), 5, this.scfMaster?.locations).toPromise();\r\n // if (this.scfMaster)\r\n // await this.side.getValues(this.scfMaster);\r\n // this.loading = false;\r\n // })\r\n // .catch((error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n requestAmendment() {\r\n // const pendingChanges = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => !x.wfTaskLocal.amendmentID)?.filter(x => x.answerChangedBy);\r\n // if (!pendingChanges?.length) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"request_amendment\")?.description, icon: \"warn\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // this.loading = true;\r\n // if (this.scfMaster?.id)\r\n // this.scfService.requestAmendment(this.scfMaster.id).toPromise().then(() => {\r\n // this.status.isCreatingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // this.loading = false;\r\n // }, (error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // }\r\n // );\r\n // }\r\n // });\r\n // } else {\r\n // this.alert.message(\r\n // this.getMessage(\"OperationApprovalPendingChanges\")\r\n // );\r\n // }\r\n }\r\n\r\n // setStatus(status: SCFStatus | any) {\r\n // this.status = status;\r\n // }\r\n\r\n // savedEvent(e: SCFMaster | null | undefined | any) {\r\n // this.scfMaster = e;\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // this.scfService.currentDoc = this.scfMaster;\r\n // this.rowSelected(e);\r\n // }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n Settings\r\n settings\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { RadMeterModelDetailsComponent } from './rad-meter-models/rad-meter-model-details/rad-meter-model-details.component';\r\nimport { RadMeterModelsComponent } from './rad-meter-models/rad-meter-models.component';\r\nimport { RadMetersDetailsComponent } from './rad-meters-details/rad-meters-details.component';\r\nimport { RadMetersTypesDetailsComponent } from './rad-meters-types/rad-meters-types-details/rad-meters-types-details.component';\r\nimport { RadMetersTypesComponent } from './rad-meters-types/rad-meters-types.component';\r\nimport { RadMetersUnitsDetailsComponent } from './rad-meters-units/rad-meters-units-details/rad-meters-units-details.component';\r\nimport { RadMetersUnitsComponent } from './rad-meters-units/rad-meters-units.component';\r\nimport { RadMetersComponent } from './rad-meters/rad-meters.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { MetersCatalogComponent } from './meters-catalog.component';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MetersCatalogSettingsComponent } from './meters-catalog-settings/meters-catalog-settings.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n MetersCatalogComponent,\r\n RadMetersComponent,\r\n RadMetersDetailsComponent,\r\n RadMetersUnitsComponent,\r\n RadMetersUnitsDetailsComponent,\r\n RadMetersTypesComponent,\r\n RadMetersTypesDetailsComponent,\r\n RadMeterModelsComponent,\r\n RadMeterModelDetailsComponent,\r\n MetersCatalogSettingsComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatToolbarModule,\r\n DatePipe,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ]\r\n})\r\nexport class MetersCatalogModule { }\r\n","import { Component, Inject, Input, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { RadMeterModel } from '../../rad-meters';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { RadMetersService } from '../../services/rad-meters.service';\r\n\r\n@Component({\r\n selector: 'app-rad-meter-model-details',\r\n templateUrl: './rad-meter-model-details.component.html',\r\n styleUrls: ['./rad-meter-model-details.component.scss']\r\n})\r\nexport class RadMeterModelDetailsComponent implements OnInit {\r\n\r\n @Input()\r\n currentMeterModel!: RadMeterModel;\r\n public modifying!: boolean;\r\n public selected!: boolean;\r\n public adding = false;\r\n public disabledStatus!: boolean;\r\n public statusList: any = [{ name: 'Active', id: 1 }, { name: 'Inactive', id: 0 }];\r\n public showCancelButton!: boolean;\r\n public isModifiying!: boolean;\r\n public modifyAvailable = false;\r\n public disabledTimer!: boolean;\r\n meterModelsList: RadMeterModel[] = [];\r\n private valid!: boolean;\r\n oldName?: string = '';\r\n oldDescription?: string = '';\r\n oldStaus?: number;\r\n private errorMsg: string[] = [];\r\n\r\n constructor(\r\n private alert: AlertService,\r\n private _service: RadMetersService,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeterModel) { }\r\n\r\n ngOnInit(): void {\r\n if (this.currentMeterModel == undefined) {\r\n this.currentMeterModel = { name: '', description: '', status: 0 } as RadMeterModel;\r\n }\r\n this.obtainMeterModels();\r\n if (this.data) {\r\n this.getDetails(this.data);\r\n }\r\n }\r\n\r\n async obtainMeterModels() {\r\n await this._service.getRadMeterModels().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.meterModelsList = result;\r\n });\r\n }\r\n\r\n async saveMeterModel() {\r\n const meterModel = this.createMeterModel();\r\n if (await this.isValid()) {\r\n if (!this.currentMeterModel.id) {\r\n const meterModelSearch = this.meterModelsList.filter(cat => cat.name?.trim() == this.currentMeterModel.name?.trim()).length;\r\n if (meterModelSearch == 0) {\r\n await this._service.createRadMeterModel(meterModel).toPromise().then(result => {\r\n this.currentMeterModel.id = result?.id;\r\n }).finally(() => {\r\n this.dialogRef.close('Create');\r\n });\r\n }\r\n else {\r\n this.alert.warning('Warning !! There is already a category with the name entered!!');\r\n }\r\n } else {\r\n meterModel.id = this.currentMeterModel.id;\r\n this._service.updateRadMeterModel(meterModel).toPromise().then(result => {\r\n }).finally(() => {\r\n this.dialogRef.close('Update');\r\n });\r\n }\r\n }\r\n }\r\n\r\n async isValid() {\r\n this.valid = true;\r\n if (!this.currentMeterModel.name) {\r\n this.alert.error('Field Name should not be blank!');\r\n this.valid = false;\r\n }\r\n if (!this.currentMeterModel.description) {\r\n this.alert.error('Field Description should not be blank!');\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n createMeterModel(): RadMeterModel {\r\n const radMeterModel: RadMeterModel = {\r\n name: this.currentMeterModel.name,\r\n description: this.currentMeterModel.description,\r\n status: this.currentMeterModel.status,\r\n id: undefined,\r\n type: undefined,\r\n code: ''\r\n };\r\n return radMeterModel;\r\n }\r\n\r\n getDetails(data: RadMeterModel) {\r\n this.clear();\r\n if (!data.id) {\r\n this.currentMeterModel.description = data.description;\r\n this.currentMeterModel.name = data.name;\r\n this.currentMeterModel.status = data.status;\r\n this.showCancelButton = true;\r\n this.adding = true;\r\n this.modifying = false;\r\n this.disabledStatus = false;\r\n this.selected = false;\r\n }\r\n else {\r\n this.selected = true;\r\n this.modifying = true;\r\n this.adding = false;\r\n this.disabledStatus = false;\r\n this.oldName = data.name;\r\n this.oldDescription = data.description;\r\n this.oldStaus = data.status;\r\n this.currentMeterModel.id = data.id;\r\n this.currentMeterModel.description = data.description;\r\n this.currentMeterModel.name = data.name;\r\n this.currentMeterModel.status = data.status;\r\n this.showCancelButton = true;\r\n }\r\n }\r\n\r\n clear() {\r\n this.currentMeterModel = { name: '', description: '', status: 0 } as RadMeterModel;\r\n this.adding = false;\r\n this.selected = false;\r\n this.modifying = false;\r\n this.isModifiying = false;\r\n this.disabledStatus = false;\r\n this.showCancelButton = false;\r\n this.disabledTimer = false;\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n {{ currentMeterModel.id ? \"Edit \" : \"Add \" }}Meter Model\r\n
\r\n
\r\n \r\n Name\r\n \r\n \r\n \r\n Description\r\n \r\n \r\n \r\n Status\r\n \r\n \r\n {{ RCstatus.name }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { RadMeter, RadMeterModel } from '../rad-meters';\r\nimport { RadMeterModelDetailsComponent } from './rad-meter-model-details/rad-meter-model-details.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RadMetersService } from '../services/rad-meters.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'rad-meter-models',\r\n templateUrl: './rad-meter-models.component.html',\r\n styleUrls: ['./rad-meter-models.component.scss']\r\n})\r\nexport class RadMeterModelsComponent extends BaseComponent implements OnInit {\r\n public valueFilter = '';\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n public showInactive!: boolean;\r\n public loading = false;\r\n public radMetersModelList?: RadMeterModel[];\r\n public displayedColumns: string[] = ['name', 'description', 'status', 'actions'];\r\n public createAvailable!: boolean;\r\n public selectedRowIndex = -1;\r\n public pending = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeter,\r\n private _service: RadMetersService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.clear();\r\n this.loadMeterModels();\r\n this.createAvailable = true;\r\n }\r\n\r\n clear() {\r\n this.showInactive = true;\r\n this.selectedRowIndex = 0;\r\n this.dataSource = new MatTableDataSource();\r\n }\r\n\r\n applyFilter(filterValue: string) {\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n if (this.dataSource.paginator) {\r\n this.dataSource.paginator.firstPage();\r\n }\r\n }\r\n\r\n async loadMeterModels(event?: any) {\r\n this.loading = true;\r\n this.valueFilter = '';\r\n await this._service.getRadMeterModels().toPromise().then(result => {\r\n if (!result) {\r\n result = [];\r\n }\r\n this.radMetersModelList = result;\r\n if (!this.showInactive) {\r\n this.dataSource = new MatTableDataSource(result.filter(x => x.status == 1));\r\n } else {\r\n this.dataSource = new MatTableDataSource(result);\r\n }\r\n }).finally(() => this.loading = false);\r\n }\r\n\r\n refreshMeterModels(event?: any) {\r\n this.loadMeterModels();\r\n this.selectedRowIndex = -1;\r\n }\r\n\r\n showMetersModelsInactive() {\r\n this.loadMeterModels();\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const data = this.radMetersModelList;\r\n let sortedData: RadMeterModel[];\r\n if (!sort.active || sort.direction === '') {\r\n sortedData = data ?? [];\r\n return;\r\n }\r\n sortedData = data?.sort((a, b) => {\r\n const isDesc = sort.direction === 'desc';\r\n switch (sort.active) {\r\n case 'name': return compare(a.name, b.name, isDesc);\r\n case 'description': return compare(a.description, b.description, isDesc);\r\n case 'status': return compare(a.status, b.status, isDesc);\r\n default: return 0;\r\n }\r\n }) ?? [];\r\n this.dataSource = new MatTableDataSource(sortedData);\r\n }\r\n\r\n highlight(row: any) {\r\n if (!this.pending) {\r\n this.selectedRowIndex = row.id;\r\n }\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n getColor(radMeterModel: RadMeterModel): string {\r\n if (radMeterModel.status == 0) {\r\n return '#D8D8D8';\r\n }\r\n else {\r\n return '#000000';\r\n }\r\n }\r\n\r\n createMeterModel() {\r\n this.selectedRowIndex = 0;\r\n const newRadMeterModel: RadMeterModel = {} as RadMeterModel;\r\n newRadMeterModel.id = 0;\r\n newRadMeterModel.description = '';\r\n newRadMeterModel.code = '';\r\n newRadMeterModel.status = 1;\r\n newRadMeterModel.name = '';\r\n newRadMeterModel.type = 0;\r\n this.openDetailsMeterModel(newRadMeterModel);\r\n }\r\n\r\n openDetailsMeterModel(newRadMeterModel: RadMeterModel) {\r\n const dataDialog = newRadMeterModel;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = dataDialog;\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMeterModelDetailsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data != undefined) {\r\n this.loading = true;\r\n this.refreshMeterModels(data);\r\n if (data == 'Create') {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Create_Model_Succeed')?.description);\r\n }\r\n else if (data == 'Update') {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Update_Model_Succeed')?.description);\r\n }\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async deleteMeterModel(element: RadMeterModel) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('RAD_Meters_Catalog_Confirm_Delete_Model')?.description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && element.id) {\r\n this.loading = true;\r\n await this._service.deleteRadMeterModel(element.id).toPromise().then(() => {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Delete_Model_Succeed')?.description);\r\n }).catch(() => {\r\n this.alert.error('Error: The meter model was not deleted.');\r\n });\r\n }\r\n }, error => {\r\n }).finally(() => {\r\n this.loading = false;\r\n this.refreshMeterModels(true);\r\n });\r\n }\r\n\r\n EditMeterModel(element: RadMeterModel) {\r\n this.openDetailsMeterModel(element);\r\n }\r\n}\r\nfunction compare(a?: number | string, b?: number | string, isAsc?: boolean) {\r\n if (a && b)\r\n return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\r\n return 1;\r\n}\r\n","\r\n\r\n
\r\n \r\n \r\n \r\n Model\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Description\r\n \r\n \r\n {{ element.description }}\r\n \r\n \r\n \r\n Status \r\n \r\n {{ element.status == 1 ? \"Active\" : \"Inactive\" }}\r\n \r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n","import { Component, Inject, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { RadMeter, RadMeterType, RadMeterUnit, RadMeterModel, RadMeterData } from '../rad-meters';\r\nimport { RadMetersService } from '../services/rad-meters.service';\r\nimport { RadMetersRefresh } from '../store/rad-meters/rad-meters.action';\r\nimport { RadMeterModelsComponent } from '../rad-meter-models/rad-meter-models.component';\r\nimport { RadMetersTypesComponent } from '../rad-meters-types/rad-meters-types.component';\r\nimport { RadMetersUnitsComponent } from '../rad-meters-units/rad-meters-units.component';\r\n\r\n@Component({\r\n selector: 'rad-meters-details',\r\n templateUrl: './rad-meters-details.component.html',\r\n styleUrls: ['./rad-meters-details.component.scss']\r\n})\r\nexport class RadMetersDetailsComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n radMeter!: RadMeter;\r\n radMeters!: RadMeter[];\r\n radMeters$!: Observable;\r\n radMetersSubs!: Subscription;\r\n\r\n showCancelButton = true;\r\n isModifiying = false;\r\n\r\n public typeSelected!: number;\r\n public unitSelected!: number;\r\n public modelSelected!: number;\r\n listMeterTypes!: RadMeterType[];\r\n listMeterUnits!: RadMeterUnit[];\r\n listMeterModels!: RadMeterModel[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _service: RadMetersService,\r\n private dialogRef: MatDialogRef,\r\n private radMeterService: RadMetersService,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeterData) {\r\n super(injector);\r\n this.store.dispatch(new RadMetersRefresh());\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.radMetersSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.obtainMeterUnitsList();\r\n this.obtainMeterTypesList();\r\n this.getMeterModelsList();\r\n\r\n this.loadRadMeters();\r\n\r\n this.radMeter = this.data.radMeter;\r\n if (this.radMeter.radMeterUnitID) {\r\n this.unitSelected = this.radMeter.radMeterUnitID;\r\n }\r\n if (this.radMeter.radMeterTypeID) {\r\n this.typeSelected = this.radMeter.radMeterTypeID;\r\n }\r\n if (this.radMeter.radMeterModelID) {\r\n this.modelSelected = this.radMeter.radMeterModelID;\r\n }\r\n\r\n this.isModifiying = this.radMeter.id == 0 ? false : true;\r\n }\r\n\r\n loadRadMeters() {\r\n this.radMeters$ = this.store.select(state => state.RadMeters.data);\r\n this.radMetersSubs = this.radMeters$.subscribe(data => {\r\n this.radMeters = data;\r\n });\r\n }\r\n\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n saveCatalog() {\r\n let dataValid = true;\r\n if (this.radMeter.serialNumber == '' || this.radMeter.serialNumber == undefined) {\r\n dataValid = false;\r\n this.alert.error('Please insert the serial number');\r\n }\r\n if (!this.radMeter.calibrationDueDate) {\r\n dataValid = false;\r\n this.alert.error('Please select a valid value for calibration date field');\r\n }\r\n if (!this.unitSelected) {\r\n dataValid = false;\r\n this.alert.error('Please select a valid value for unit field');\r\n }\r\n if (!this.typeSelected) {\r\n dataValid = false;\r\n this.alert.error('Please select a valid value for type field');\r\n }\r\n if (this.radMeters.some(x => x.serialNumber === this.radMeter.serialNumber && !this.isModifiying)) {\r\n dataValid = false;\r\n this.alert.error('The serial number already exists');\r\n }\r\n if (!this.modelSelected) {\r\n dataValid = false;\r\n this.alert.error('Please select a valid value for Model field');\r\n }\r\n\r\n if (dataValid) {\r\n this.radMeter.radMeterTypeID = this.typeSelected;\r\n this.radMeter.radMeterUnitID = this.unitSelected;\r\n this.radMeter.radMeterModelID = this.modelSelected;\r\n this.isModifiying ? this.updateRadMeterCatalog() : this.createRadMeterCatalog();\r\n }\r\n }\r\n\r\n updateRadMeterCatalog() {\r\n this.radMeterService.updateRadMeterCatalog(this.radMeter).toPromise().then(result => {\r\n if (result) {\r\n this.radMeter = result;\r\n this.alert.info('Rad Meter ' + this.radMeter.serialNumber + ' Updated!');\r\n this.dialogRef.close(this.radMeter);\r\n }\r\n });\r\n }\r\n\r\n createRadMeterCatalog() {\r\n this.radMeterService.createRadMeterCatalog(this.radMeter).toPromise().then(result => {\r\n if (result) {\r\n this.radMeter = result;\r\n this.alert.success('Rad Meter ' + this.radMeter.serialNumber + ' Created!');\r\n this.dialogRef.close(this.radMeter);\r\n }\r\n });\r\n }\r\n\r\n async obtainMeterTypesList() {\r\n await this._service.getRadMeterTypes().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.listMeterTypes = result.filter(type => type.status === 1);\r\n });\r\n }\r\n\r\n async obtainMeterUnitsList() {\r\n await this._service.getRadMeterUnits().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.listMeterUnits = result.filter(unit => unit.status === 1);\r\n });\r\n }\r\n\r\n async getMeterModelsList() {\r\n await this._service.getRadMeterModels().toPromise().then(result => {\r\n this.listMeterModels = result?.filter(model => model.status === 1) ?? [];\r\n });\r\n }\r\n\r\n manageMeterTypes() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMetersTypesComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.obtainMeterTypesList();\r\n }\r\n });\r\n }\r\n\r\n manageMeterUnits() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMetersUnitsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.obtainMeterUnitsList();\r\n }\r\n });\r\n }\r\n\r\n manageMeterModels() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMeterModelsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.getMeterModelsList();\r\n }\r\n });\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n
\r\n
\r\n {{ isModifiying ? \"Edit \" : \"Create \" }} Rad Meter\r\n
\r\n
\r\n
\r\n
\r\n \r\n Serial No.\r\n \r\n \r\n
\r\n
\r\n \r\n Model\r\n \r\n {{ itemList.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Type\r\n \r\n {{ itemList.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Unit\r\n \r\n {{ itemList.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Calibration Due Date\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Input, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { RadMeterType } from 'src/app/components/catalogs/meters-catalog/rad-meters';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { RadMetersService } from '../../services/rad-meters.service';\r\n\r\n\r\n@Component({\r\n selector: 'rad-meters-types-details',\r\n templateUrl: './rad-meters-types-details.component.html',\r\n styleUrls: ['./rad-meters-types-details.component.scss']\r\n})\r\nexport class RadMetersTypesDetailsComponent implements OnInit {\r\n @Input()\r\n currentMeterType!: RadMeterType;\r\n\r\n public modifying!: boolean;\r\n public selected!: boolean;\r\n public adding = false;\r\n public disabledStatus!: boolean;\r\n public statusList: any = [{ name: 'Active', id: 1 }, { name: 'Inactive', id: 0 }];\r\n public showCancelButton!: boolean;\r\n public isModifiying!: boolean;\r\n public modifyAvailable = false;\r\n public disabledTimer!: boolean;\r\n listMeterTypes: RadMeterType[] = [];\r\n private valid!: boolean;\r\n oldName?: string = '';\r\n oldDescription?: string = '';\r\n oldStaus?: number;\r\n private errorMsg: string[] = [];\r\n\r\n constructor(\r\n private alert: AlertService,\r\n private _service: RadMetersService,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeterType) { }\r\n\r\n ngOnInit(): void {\r\n if (this.currentMeterType == undefined) {\r\n this.currentMeterType = { name: '', description: '', status: 0 } as RadMeterType;\r\n }\r\n this.obtainMeterTypes();\r\n if (this.data) {\r\n this.getDetails(this.data);\r\n }\r\n }\r\n\r\n async obtainMeterTypes() {\r\n await this._service.getRadMeterTypes().toPromise().then(result => {\r\n if (!result) {\r\n result = [];\r\n }\r\n this.listMeterTypes = result;\r\n });\r\n }\r\n\r\n async saveMeterType() {\r\n const meterType = this.createMeterType();\r\n if (await this.isValid()) {\r\n if (!this.currentMeterType.id) {\r\n const meterTypeSearch = this.listMeterTypes.filter(cat => cat.name?.trim() == this.currentMeterType.name?.trim()).length;\r\n if (meterTypeSearch == 0) {\r\n await this._service.createRadMeterType(meterType).toPromise().then(result => {\r\n this.currentMeterType.id = result?.id;\r\n }).finally(() => {\r\n this.dialogRef.close('Create');\r\n });\r\n }\r\n else {\r\n this.alert.warning('Warning !! There is already a category with the name entered!!');\r\n }\r\n } else {\r\n meterType.id = this.currentMeterType.id;\r\n this._service.updateRadMeterType(meterType).toPromise().then(result => {\r\n }).finally(() => {\r\n this.dialogRef.close('Update');\r\n });\r\n }\r\n }\r\n }\r\n\r\n async isValid() {\r\n this.valid = true;\r\n if (this.currentMeterType.name == undefined || isNullOrWhiteSpace(this.currentMeterType.name) == true) {\r\n this.alert.error('Field Name should not be blank!');\r\n this.valid = false;\r\n }\r\n if (this.currentMeterType.description == undefined || isNullOrWhiteSpace(this.currentMeterType.description) == true) {\r\n this.alert.error('Field Description should not be blank!');\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n createMeterType(): RadMeterType {\r\n const radMeterType: RadMeterType = {\r\n name: this.currentMeterType.name,\r\n description: this.currentMeterType.description,\r\n status: this.currentMeterType.status,\r\n id: undefined,\r\n type: undefined,\r\n code: ''\r\n };\r\n return radMeterType;\r\n }\r\n\r\n getDetails(data: RadMeterType) {\r\n this.clear();\r\n if (!data.id) {\r\n this.currentMeterType.description = data.description;\r\n this.currentMeterType.name = data.name;\r\n this.currentMeterType.status = data.status;\r\n this.showCancelButton = true;\r\n this.adding = true;\r\n this.modifying = false;\r\n this.disabledStatus = false;\r\n this.selected = false;\r\n }\r\n else {\r\n this.selected = true;\r\n this.modifying = true;\r\n this.adding = false;\r\n this.disabledStatus = false;\r\n this.oldName = data.name;\r\n this.oldDescription = data.description;\r\n this.oldStaus = data.status;\r\n this.currentMeterType.id = data.id;\r\n this.currentMeterType.description = data.description;\r\n this.currentMeterType.name = data.name;\r\n this.currentMeterType.status = data.status;\r\n this.showCancelButton = true;\r\n }\r\n }\r\n\r\n clear() {\r\n this.currentMeterType = { name: '', description: '', status: 0 } as RadMeterType;\r\n this.adding = false;\r\n this.selected = false;\r\n this.modifying = false;\r\n this.isModifiying = false;\r\n this.disabledStatus = false;\r\n this.showCancelButton = false;\r\n this.disabledTimer = false;\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n}\r\n\r\nfunction isNullOrWhiteSpace(input: any) {\r\n return !input || !input.trim();\r\n}\r\n","
\r\n
\r\n {{ currentMeterType.id ? \"Edit \" : \"Add \" }}Meter Type\r\n
\r\n
\r\n \r\n Name\r\n \r\n \r\n \r\n Description\r\n \r\n \r\n \r\n Status\r\n \r\n \r\n {{ RCstatus.name }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatDialog, MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { RadMeter, RadMeterType } from '../rad-meters';\r\nimport { RadMetersTypesDetailsComponent } from 'src/app/components/catalogs/meters-catalog/rad-meters-types/rad-meters-types-details/rad-meters-types-details.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RadMetersService } from '../services/rad-meters.service';\r\n\r\n@Component({\r\n selector: 'rad-meters-types',\r\n templateUrl: './rad-meters-types.component.html',\r\n styleUrls: ['./rad-meters-types.component.scss']\r\n})\r\nexport class RadMetersTypesComponent extends BaseComponent implements OnInit {\r\n public valueFilter = '';\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n public showInactive!: boolean;\r\n public loading = false;\r\n public radMetersTypesList?: RadMeterType[];\r\n public displayedColumns: string[] = ['name', 'description', 'status', 'actions'];\r\n public createAvailable!: boolean;\r\n public selectedRowIndex = -1;\r\n public pending = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeter,\r\n private _service: RadMetersService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.clear();\r\n this.loadMeterTypes();\r\n this.createAvailable = true;\r\n }\r\n\r\n clear() {\r\n this.showInactive = true;\r\n this.selectedRowIndex = 0;\r\n this.dataSource = new MatTableDataSource();\r\n }\r\n\r\n applyFilter(filterValue: string) {\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n if (this.dataSource.paginator) {\r\n this.dataSource.paginator.firstPage();\r\n }\r\n }\r\n\r\n async loadMeterTypes() {\r\n this.loading = true;\r\n this.valueFilter = '';\r\n await this._service.getRadMeterTypes().toPromise().then(result => {\r\n if (!result) {\r\n result = [];\r\n }\r\n this.radMetersTypesList = result;\r\n if (!this.showInactive) {\r\n this.dataSource = new MatTableDataSource(result.filter(x => x.status == 1));\r\n } else {\r\n this.dataSource = new MatTableDataSource(result);\r\n }\r\n }).finally(() => this.loading = false);\r\n }\r\n\r\n refreshMeterTypes() {\r\n this.loadMeterTypes();\r\n this.selectedRowIndex = -1;\r\n }\r\n\r\n showMetersTypesInactive() {\r\n this.loadMeterTypes();\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const data = this.radMetersTypesList;\r\n let sortedData: RadMeterType[];\r\n if (!sort.active || sort.direction === '') {\r\n sortedData = data ?? [];\r\n return;\r\n }\r\n sortedData = data?.sort((a, b) => {\r\n const isDesc = sort.direction === 'desc';\r\n switch (sort.active) {\r\n case 'name': return compare(a.name, b.name, isDesc);\r\n case 'description': return compare(a.description, b.description, isDesc);\r\n case 'status': return compare(a.status, b.status, isDesc);\r\n default: return 0;\r\n }\r\n }) ?? [];\r\n this.dataSource = new MatTableDataSource(sortedData);\r\n }\r\n\r\n highlight(row: any) {\r\n if (!this.pending) {\r\n this.selectedRowIndex = row.id;\r\n }\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n getColor(radMeterType: RadMeterType): string {\r\n if (radMeterType.status == 0) {\r\n return '#D8D8D8';\r\n }\r\n else {\r\n return '#000000';\r\n }\r\n }\r\n\r\n createMeterType() {\r\n this.selectedRowIndex = 0;\r\n const MeterTypeNew: RadMeterType = {} as RadMeterType;\r\n MeterTypeNew.id = 0;\r\n MeterTypeNew.description = '';\r\n MeterTypeNew.code = '';\r\n MeterTypeNew.status = 1;\r\n MeterTypeNew.name = '';\r\n MeterTypeNew.type = 0;\r\n this.openDetailsMeterType(MeterTypeNew);\r\n }\r\n\r\n openDetailsMeterType(MeterTypeNew: RadMeterType) {\r\n const dataDialog = MeterTypeNew;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = dataDialog;\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMetersTypesDetailsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (data == 'Create') {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Create_Type_Succeed')?.description);\r\n }\r\n if (data == 'Update') {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Update_Type_Succeed').description);\r\n }\r\n this.refreshMeterTypes();\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async deleteMeterType(element: RadMeterType) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('RAD_Meters_Catalog_Confirm_Delete_Type')?.description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && element.id) {\r\n this.loading = true;\r\n await this._service.deleteRadMeterType(element.id).toPromise().then(result => {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Delete_Type_Succeed')?.description);\r\n }).catch(() => {\r\n this.alert.message('genericError');\r\n });\r\n }\r\n }, error => {\r\n }).finally(() => {\r\n this.loading = false;\r\n this.refreshMeterTypes();\r\n });\r\n }\r\n\r\n EditMeterType(element: RadMeterType) {\r\n this.openDetailsMeterType(element);\r\n }\r\n}\r\n\r\nfunction compare(a?: number | string, b?: number | string, isAsc?: boolean) {\r\n if (a && b)\r\n return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\r\n return 1;\r\n}\r\n","\r\n\r\n
\r\n \r\n \r\n \r\n Type\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Description\r\n \r\n \r\n {{ element.description }}\r\n \r\n \r\n \r\n Status \r\n \r\n {{ element.status == 1 ? \"Active\" : \"Inactive\" }}\r\n \r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, Inject, Input, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { RadMeterUnit } from '../../rad-meters';\r\nimport { RadMetersService } from '../../services/rad-meters.service';\r\n\r\n@Component({\r\n selector: 'rad-meters-units-details',\r\n templateUrl: './rad-meters-units-details.component.html',\r\n styleUrls: ['./rad-meters-units-details.component.scss']\r\n})\r\nexport class RadMetersUnitsDetailsComponent implements OnInit {\r\n @Input() currentMeterUnit!: RadMeterUnit;\r\n\r\n public modifying!: boolean;\r\n public selected!: boolean;\r\n public adding = false;\r\n public disabledStatus!: boolean;\r\n public statusList: any = [{ name: 'Active', id: 1 }, { name: 'Inactive', id: 0 }];\r\n public showCancelButton!: boolean;\r\n public isModifiying!: boolean;\r\n public modifyAvailable = false;\r\n public disabledTimer!: boolean;\r\n listMeterUnits: RadMeterUnit[] = [];\r\n private valid!: boolean;\r\n oldName?: string = '';\r\n oldDescription?: string = '';\r\n oldStaus?: number;\r\n private errorMsg: string[] = [];\r\n\r\n\r\n constructor(\r\n private alert: AlertService,\r\n private _service: RadMetersService,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeterUnit) { }\r\n\r\n ngOnInit(): void {\r\n if (this.currentMeterUnit == undefined) {\r\n this.currentMeterUnit = { name: '', description: '', status: 0 } as RadMeterUnit;\r\n }\r\n this.obtainMeterUnits();\r\n if (this.data) {\r\n this.getDetails(this.data);\r\n }\r\n }\r\n\r\n async obtainMeterUnits() {\r\n await this._service.getRadMeterUnits().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.listMeterUnits = result;\r\n });\r\n }\r\n\r\n saveMeterUnit() {\r\n const meterUnit = this.createMeterUnit();\r\n if (this.isValid()) {\r\n if (!this.currentMeterUnit.id) {\r\n const meterUnitSearch = this.listMeterUnits.some(cat => cat.name?.trim() == this.currentMeterUnit.name?.trim());\r\n if (!meterUnitSearch) {\r\n this._service.createRadMeterUnit(meterUnit).toPromise().then(result => {\r\n this.currentMeterUnit.id = result?.id;\r\n }).finally(() => {\r\n this.dialogRef.close('Create');\r\n });\r\n }\r\n else {\r\n this.alert.warning('Warning !! There is already a category with the name entered!!');\r\n }\r\n } else {\r\n meterUnit.id = this.currentMeterUnit.id;\r\n this._service.updateRadMeterUnit(meterUnit).toPromise().then(result => {\r\n }).finally(() => {\r\n this.dialogRef.close('Update');\r\n });\r\n }\r\n }\r\n }\r\n\r\n isValid() {\r\n this.valid = true;\r\n if (!this.currentMeterUnit.name) {\r\n this.alert.error('Field Name should not be blank!');\r\n this.valid = false;\r\n }\r\n if (!this.currentMeterUnit.description) {\r\n this.alert.error('Field Description should not be blank!');\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n createMeterUnit(): RadMeterUnit {\r\n const radMeterUnit: RadMeterUnit = {\r\n name: this.currentMeterUnit.name,\r\n description: this.currentMeterUnit.description,\r\n status: this.currentMeterUnit.status,\r\n id: undefined,\r\n type: undefined,\r\n code: ''\r\n };\r\n return radMeterUnit;\r\n }\r\n\r\n getDetails(data: RadMeterUnit) {\r\n this.clear();\r\n if (!data.id) {\r\n this.currentMeterUnit.description = data.description;\r\n this.currentMeterUnit.name = data.name;\r\n this.currentMeterUnit.status = data.status;\r\n this.showCancelButton = true;\r\n this.adding = true;\r\n this.modifying = false;\r\n this.disabledStatus = false;\r\n this.selected = false;\r\n }\r\n else {\r\n this.selected = true;\r\n this.modifying = true;\r\n this.adding = false;\r\n this.disabledStatus = false;\r\n this.oldName = data.name;\r\n this.oldDescription = data.description;\r\n this.oldStaus = data.status;\r\n this.currentMeterUnit.id = data.id;\r\n this.currentMeterUnit.description = data.description;\r\n this.currentMeterUnit.name = data.name;\r\n this.currentMeterUnit.status = data.status;\r\n this.showCancelButton = true;\r\n }\r\n }\r\n\r\n clear() {\r\n this.currentMeterUnit = { name: '', description: '', status: 0 } as RadMeterUnit;\r\n this.adding = false;\r\n this.selected = false;\r\n this.modifying = false;\r\n this.isModifiying = false;\r\n this.disabledStatus = false;\r\n this.showCancelButton = false;\r\n this.disabledTimer = false;\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n {{ currentMeterUnit.id ? \"Edit \" : \"Add \" }} Meter Unit\r\n
\r\n
\r\n \r\n Name\r\n \r\n \r\n \r\n Description\r\n \r\n \r\n \r\n Status\r\n \r\n \r\n {{ RCstatus.name }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { RadMeter, RadMeterUnit } from '../rad-meters';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MatDialogRef, MAT_DIALOG_DATA, MatDialogConfig } from '@angular/material/dialog';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RadMetersService } from '../services/rad-meters.service';\r\nimport { RadMetersUnitsDetailsComponent } from './rad-meters-units-details/rad-meters-units-details.component';\r\n\r\n@Component({\r\n selector: 'rad-meters-units',\r\n templateUrl: './rad-meters-units.component.html',\r\n styleUrls: ['./rad-meters-units.component.scss']\r\n})\r\nexport class RadMetersUnitsComponent extends BaseComponent implements OnInit {\r\n public valueFilter = '';\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n public showInactive!: boolean;\r\n public loading = false;\r\n public radMetersUnitsList?: RadMeterUnit[];\r\n public displayedColumns: string[] = ['name', 'description', 'status', 'actions'];\r\n public createAvailable!: boolean;\r\n public selectedRowIndex = -1;\r\n public pending = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeter,\r\n private _service: RadMetersService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.clear();\r\n this.loadMeterUnits();\r\n this.createAvailable = true;\r\n }\r\n\r\n clear() {\r\n this.showInactive = true;\r\n this.selectedRowIndex = 0;\r\n this.dataSource = new MatTableDataSource();\r\n }\r\n\r\n applyFilter(filterValue: string) {\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n if (this.dataSource.paginator) {\r\n this.dataSource.paginator.firstPage();\r\n }\r\n }\r\n\r\n async loadMeterUnits(event?: any) {\r\n this.loading = true;\r\n this.valueFilter = '';\r\n await this._service.getRadMeterUnits().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.radMetersUnitsList = result;\r\n if (!this.showInactive) {\r\n this.dataSource = new MatTableDataSource(result.filter(x => x.status == 1));\r\n } else {\r\n this.dataSource = new MatTableDataSource(result);\r\n }\r\n }).finally(() => this.loading = false);\r\n }\r\n\r\n refreshMeterUnits(event?: any) {\r\n this.loadMeterUnits();\r\n this.selectedRowIndex = -1;\r\n }\r\n\r\n showMetersUnitsInactive() {\r\n this.loadMeterUnits();\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const data = this.radMetersUnitsList;\r\n let sortedData: RadMeterUnit[];\r\n if (!sort.active || sort.direction === '') {\r\n sortedData = data ?? [];\r\n return;\r\n }\r\n sortedData = data?.sort((a, b) => {\r\n const isDesc = sort.direction === 'desc';\r\n switch (sort.active) {\r\n case 'name': return compare(a.name, b.name, isDesc);\r\n case 'description': return compare(a.description, b.description, isDesc);\r\n case 'status': return compare(a.status, b.status, isDesc);\r\n default: return 0;\r\n }\r\n }) ?? [];\r\n this.dataSource = new MatTableDataSource(sortedData);\r\n }\r\n\r\n highlight(row: any) {\r\n if (!this.pending) {\r\n this.selectedRowIndex = row.id;\r\n }\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n getColor(radMeterUnit: RadMeterUnit): string {\r\n if (radMeterUnit.status == 0) {\r\n return '#D8D8D8';\r\n }\r\n else {\r\n return '#000000';\r\n }\r\n }\r\n\r\n createMeterUnit() {\r\n this.selectedRowIndex = 0;\r\n const MeterUnitNew: RadMeterUnit = {} as RadMeterUnit;\r\n MeterUnitNew.id = 0;\r\n MeterUnitNew.description = '';\r\n MeterUnitNew.code = '';\r\n MeterUnitNew.status = 1;\r\n MeterUnitNew.name = '';\r\n MeterUnitNew.type = 0;\r\n this.openDetailsMeterUnit(MeterUnitNew);\r\n }\r\n\r\n openDetailsMeterUnit(MeterUnitNew: RadMeterUnit) {\r\n const dataDialog = MeterUnitNew;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = dataDialog;\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMetersUnitsDetailsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data != undefined) {\r\n this.loading = true;\r\n this.refreshMeterUnits(data);\r\n if (data == 'Create') {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Update_Unit_Succeed')?.description);\r\n }\r\n else if (data == 'Update') {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Update_Unit_Succeed').description);\r\n }\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async deleteMeterUnit(element: RadMeterUnit) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('RAD_Meters_Catalog_Confirm_Delete_Unit')?.description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && element.id) {\r\n this.loading = true;\r\n await this._service.deleteRadMeterUnit(element.id).toPromise().then(() => {\r\n this.alert.success(this.getMessage('RAD_Meters_Catalog_Delete_Unit_Succeed')?.description);\r\n }).catch(() => {\r\n this.alert.message('genericError');\r\n });\r\n }\r\n }, error => {\r\n }).finally(() => {\r\n this.loading = false;\r\n this.refreshMeterUnits(true);\r\n });\r\n }\r\n\r\n EditMeterUnit(element: RadMeterUnit) {\r\n this.openDetailsMeterUnit(element);\r\n }\r\n}\r\nfunction compare(a?: number | string, b?: number | string, isAsc?: boolean) {\r\n if (a && b)\r\n return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\r\n return 1;\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n Unit\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Description\r\n \r\n \r\n {{ element.description }}\r\n \r\n \r\n \r\n Status \r\n \r\n {{ element.status == 1 ? \"Active\" : \"Inactive\" }}\r\n \r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { ModelBase } from \"src/app/common/models/model-base\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\n\r\n\r\nexport interface RadMeterType extends ModelBase {\r\n radMeters?: RadMeter[];\r\n}\r\n\r\nexport interface RadMeterUnit extends ModelBase {\r\n radMeters?: RadMeter[];\r\n}\r\n\r\nexport interface RadMeterModel extends ModelBase {\r\n radMeters?: RadMeter[];\r\n}\r\n\r\nexport interface RadMeter extends ModelBase {\r\n serialNumber: string;\r\n calibrationDueDate?: Date | null;\r\n calibrationDueDateChangedByID?: number | null;\r\n calibrationDueDateChangedBy?: User | null;\r\n calibrationDueDateChangedOn?: Date | null;\r\n sourceReading: string | null;\r\n sourceReadingChangedByID?: number | null;\r\n sourceReadingChangedBy?: User | null;\r\n sourceReadingChangedOn?: Date | null;\r\n backgroundReading: string | null;\r\n backgroundReadingChangedByID?: number | null;\r\n backgroundReadingChangedBy?: User | null;\r\n backgroundReadingChangedOn?: Date | null;\r\n radMeterTypeID?: number;\r\n radMeterType?: RadMeterType;\r\n radMeterUnitID?: number;\r\n radMeterUnit?: RadMeterUnit;\r\n radMeterModelID?: number;\r\n radMeterModel?: RadMeterModel;\r\n}\r\n\r\nexport class RadMeterData {\r\n radMeter!: RadMeter;\r\n}\r\n","import { Component, EventEmitter, OnInit, Output, OnDestroy, Injector, OnChanges, SimpleChanges, Input } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { RadMetersTypesComponent } from 'src/app/components/catalogs/meters-catalog/rad-meters-types/rad-meters-types.component';\r\nimport { RadMetersUnitsComponent } from 'src/app/components/catalogs/meters-catalog/rad-meters-units/rad-meters-units.component';\r\nimport { RadMeter, RadMeterData } from 'src/app/components/catalogs/meters-catalog/rad-meters';\r\nimport moment from 'moment';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RadMeterModelsComponent } from '../rad-meter-models/rad-meter-models.component';\r\nimport { RadMetersDetailsComponent } from '../rad-meters-details/rad-meters-details.component';\r\nimport { RadMetersService } from '../services/rad-meters.service';\r\n\r\n@Component({\r\n selector: 'rad-meters',\r\n templateUrl: './rad-meters.component.html',\r\n styleUrls: ['./rad-meters.component.scss']\r\n})\r\nexport class RadMetersComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() filter?: string;\r\n @Output() loading = new EventEmitter();\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() save = new EventEmitter();\r\n\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n selectedRowIndex!: number;\r\n public displayedColumns: string[] = ['serialNumber', 'calibrationDate', 'model', 'type', 'unit'];\r\n\r\n radMeters?: RadMeter[];\r\n radMetersFiltered?: RadMeter[];\r\n radMeters$!: Observable;\r\n radMetersSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _service: RadMetersService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter'])\r\n this.applyFilter();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadRadMeters();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n\r\n }\r\n\r\n loadRadMeters() {\r\n this.loading.emit(true);\r\n this.radMeters$ = this.store.select(state => state.RadMeters.data);\r\n this.radMetersSubs = this.radMeters$.subscribe(data => {\r\n if (data?.length) {\r\n this.displayedColumns = this.isSA() ? ['serialNumber', 'calibrationDate', 'model', 'type', 'unit', 'options'] : ['serialNumber', 'calibrationDate', 'model', 'type', 'unit'];\r\n this.loading.emit(false);\r\n this.radMeters = data;\r\n this.radMetersFiltered = data.sort((a, b) => this.utils.compare(a.serialNumber, b.serialNumber, true));\r\n this.dataSource = new MatTableDataSource(this.radMetersFiltered);\r\n }\r\n });\r\n }\r\n\r\n applyFilter() {\r\n const filterValue = this.filter?.trim().toLowerCase();\r\n if (filterValue)\r\n this.radMetersFiltered = this.radMeters?.filter(radMeter =>\r\n radMeter.serialNumber?.trim()?.toLowerCase()?.includes(filterValue) ||\r\n radMeter.sourceReading?.trim()?.toLowerCase()?.includes(filterValue) ||\r\n radMeter.radMeterType?.name?.trim()?.toLowerCase()?.includes(filterValue) ||\r\n radMeter.radMeterUnit?.name?.trim()?.toLowerCase()?.includes(filterValue) ||\r\n radMeter.radMeterModel?.name?.trim()?.toLowerCase()?.includes(filterValue) ||\r\n radMeter.backgroundReading?.trim()?.toLowerCase()?.includes(filterValue) ||\r\n radMeter.calibrationDueDate?.toLocaleString()?.trim()?.toLowerCase()?.includes(filterValue)\r\n ).sort((a, b) => this.utils.compare(a.serialNumber, b.serialNumber, true));\r\n else this.radMetersFiltered = this.radMeters?.sort((a, b) => this.utils.compare(a.serialNumber, b.serialNumber, true));\r\n this.dataSource = new MatTableDataSource(this.radMetersFiltered);\r\n }\r\n\r\n addMeterCatalog() {\r\n const NewRadMeter = {\r\n serialNumber: '',\r\n calibrationDueDate: undefined,\r\n sourceReading: '',\r\n backgroundReading: '',\r\n id: 0\r\n } as RadMeter;\r\n\r\n const dialogConfig = new MatDialogConfig();\r\n const radMeterData = new RadMeterData();\r\n radMeterData.radMeter = NewRadMeter;\r\n\r\n dialogConfig.data = radMeterData;\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(RadMetersDetailsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(dataReturned => {\r\n\r\n });\r\n }\r\n\r\n EditRowMeter(meterCatalog: RadMeter) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.disableClose = true;\r\n const radMeterData = new RadMeterData();\r\n radMeterData.radMeter = this.utils.cloneDeep(meterCatalog);\r\n dialogConfig.data = radMeterData;\r\n const dialogRef = this.dialog.open(RadMetersDetailsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(dataReturned => {\r\n\r\n });\r\n }\r\n\r\n deleteRowMeter(radMeter: RadMeter) {\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '300px',\r\n data: {\r\n message: this.getMessage('Confirm_Meter_Delete_Question')?.description,\r\n icon: 'stop'\r\n }\r\n });\r\n dialogRef.afterClosed().subscribe(dataReturned => {\r\n if (dataReturned && radMeter.id) {\r\n this._service.deleteRadMeterCatalog(radMeter.id).toPromise();\r\n }\r\n });\r\n }\r\n\r\n manageMeterTypes() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMetersTypesComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n\r\n });\r\n }\r\n\r\n manageMeterUnits() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMetersUnitsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n\r\n });\r\n }\r\n\r\n manageMeterModels() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(RadMeterModelsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n\r\n });\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const dataToSort = this.utils.cloneDeep(this.dataSource.data);\r\n if (!sort.active || sort.direction === '') {\r\n this.dataSource.data = dataToSort;\r\n return;\r\n }\r\n this.dataSource.data = dataToSort.sort((a, b) => {\r\n const isAsc = sort.direction === 'asc';\r\n switch (sort.active) {\r\n case 'serialNumber': return this.utils.sort(a.serialNumber, b.serialNumber, isAsc);\r\n case 'model': return this.utils.sort(a.radMeterModel?.name, b.radMeterModel?.name, isAsc);\r\n case 'calibrationDate': return this.utils.sort(a.calibrationDueDate, b.calibrationDueDate, isAsc);\r\n case 'type': return this.utils.sort(a.radMeterType?.name, b.radMeterType?.name, isAsc);\r\n case 'unit': return this.utils.sort(a.radMeterUnit?.name, b.radMeterUnit?.name, isAsc);\r\n default: return 0;\r\n }\r\n });\r\n }\r\n\r\n format(date?: Date) {\r\n return moment(date).format('MMM DD, YYYY');\r\n }\r\n\r\n showWarning(e: RadMeter) {\r\n const mdate = moment(e.calibrationDueDate);\r\n return mdate.isBefore(new Date());\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n \r\n add\r\n \r\n\r\n \r\n Types\r\n \r\n\r\n \r\n Units\r\n \r\n\r\n \r\n Models\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Serial Number\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Cal Due Date\r\n \r\n \r\n \r\n warning\r\n \r\n \r\n\r\n \r\n \r\n Model\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n Unit\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n Options \r\n \r\n \r\n more_vert\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Observable } from 'rxjs';\r\nimport { RadMeter, RadMeterModel, RadMeterType, RadMeterUnit } from 'src/app/components/catalogs/meters-catalog/rad-meters';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadMetersService {\r\n\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n ApiMetersType = '/RadMeterTypes';\r\n ApiMetersUnit = '/RadMeterUnits';\r\n ApiMeterModels = '/RadMeterModel';\r\n ApiRadMeterCatalog = '/RadMeters';\r\n\r\n constructor(private http: HttpClient) { }\r\n getAll(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiRadMeterCatalog);\r\n }\r\n\r\n getRadMeterCatalogById(radMeterCatalogId: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiRadMeterCatalog + '/' + radMeterCatalogId);\r\n }\r\n\r\n createRadMeterCatalog(radMeterCatalog: RadMeter): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiRadMeterCatalog, radMeterCatalog);\r\n }\r\n\r\n updateRadMeterCatalog(radMeterCatalog: RadMeter) {\r\n return this.http.put(this.BASE_URL + this.ApiRadMeterCatalog + '/' + radMeterCatalog.id, radMeterCatalog);\r\n }\r\n\r\n deleteRadMeterCatalog(radMeterCatalogId: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiRadMeterCatalog + '/' + radMeterCatalogId);\r\n }\r\n\r\n //#region.RadMeterType\r\n getRadMeterTypes(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiMetersType);\r\n }\r\n\r\n getRadMeterTypeById(radMeterTypeId: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiMetersType + '/' + radMeterTypeId);\r\n }\r\n\r\n createRadMeterType(radMeterType: RadMeterType): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiMetersType, radMeterType);\r\n }\r\n\r\n updateRadMeterType(radMeterType: RadMeterType) {\r\n return this.http.put(this.BASE_URL + this.ApiMetersType + '/' + radMeterType.id, radMeterType);\r\n }\r\n\r\n deleteRadMeterType(radMeterTypeId: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiMetersType + '/' + radMeterTypeId);\r\n }\r\n //#endregion\r\n\r\n //#region.RadMeterUnit\r\n getRadMeterUnits(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiMetersUnit);\r\n }\r\n\r\n getRadMeterUnitById(radMeterUnitId: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiMetersUnit + '/' + radMeterUnitId);\r\n }\r\n\r\n createRadMeterUnit(radMeterUnit: RadMeterUnit): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiMetersUnit, radMeterUnit);\r\n }\r\n\r\n updateRadMeterUnit(radMeterUnit: RadMeterUnit) {\r\n return this.http.put(this.BASE_URL + this.ApiMetersUnit + '/' + radMeterUnit.id, radMeterUnit);\r\n }\r\n\r\n deleteRadMeterUnit(radMeterUnitId: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiMetersUnit + '/' + radMeterUnitId);\r\n }\r\n //#endregion\r\n\r\n //#region.RadMeterModels\r\n getRadMeterModels(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiMeterModels);\r\n }\r\n\r\n getRadMeterModelById(radMeterModelId: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiMeterModels + '/' + radMeterModelId);\r\n }\r\n\r\n createRadMeterModel(radMeterModel: RadMeterModel): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiMeterModels, radMeterModel);\r\n }\r\n\r\n updateRadMeterModel(radMeterModel: RadMeterModel) {\r\n return this.http.put(this.BASE_URL + this.ApiMeterModels + '/' + radMeterModel.id, radMeterModel);\r\n }\r\n\r\n deleteRadMeterModel(radMeterModelId: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiMeterModels + '/' + radMeterModelId);\r\n }\r\n // //#endregion\r\n\r\n\r\n\r\n}\r\n","import { RadMeter } from '../../rad-meters';\r\n\r\nexport class RadMetersRefresh {\r\n static readonly type = '[RAD Meters] Refresh';\r\n}\r\nexport class RadMetersCreate {\r\n static readonly type = '[RAD Meters] Create';\r\n constructor(public item: RadMeter) { }\r\n}\r\nexport class RadMetersUpdate {\r\n static readonly type = '[RAD Meters] Update';\r\n constructor(public id: number, public item: RadMeter) { }\r\n}\r\nexport class RadMetersDelete {\r\n static readonly type = '[RAD Meters] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RadMeter } from 'src/app/components/catalogs/meters-catalog/rad-meters';\r\nimport { RadMetersCreate, RadMetersDelete, RadMetersRefresh, RadMetersUpdate } from './rad-meters.action';\r\nimport { RadMetersService } from '../../services/rad-meters.service';\r\n\r\nexport class RadMetersStateModel {\r\n data: RadMeter[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RadMeters',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class RadMetersState {\r\n constructor(\r\n private service: RadMetersService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RadMetersStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RadMetersRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(RadMetersCreate)\r\n create({ getState, patchState }: StateContext, { item }: RadMetersCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RadMetersUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RadMetersUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(RadMetersDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RadMetersDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RadMetersActions from './rad-meters.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadMetersStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RadMetersActions.RadMetersRefresh());\r\n }\r\n\r\n initListeners() {\r\n // ABSI\r\n this.signalRService.hubConnection?.on(Channels.RADMETERS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RadMetersActions.RadMetersCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RadMetersActions.RadMetersUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RadMetersActions.RadMetersDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RadMetersActions.RadMetersRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","export class Link {\r\n public id?: number;\r\n public hyperlink?: string;\r\n public webAddress?: string;\r\n public typeId?: number;\r\n public typeName?: string;\r\n public linkType?: LinkType;\r\n public status?: number;\r\n isModified?: boolean;\r\n isDeleted?: boolean;\r\n isAdded?: boolean;\r\n}\r\n\r\nexport class LinkType {\r\n public id?: number;\r\n public name?: string;\r\n public status?: number;\r\n}\r\n","export class RelatedLinkBase {\r\n public id?: number;\r\n public formID!: number;\r\n public text!: string;\r\n public url?: string;\r\n}\r\n\r\nexport class RelatedLinkBaseSave {\r\n public id?: number;\r\n public formID!: number;\r\n public text!: string;\r\n public url?: string;\r\n}\r\n\r\nexport class RelatedLinkBaseHandler {\r\n static toSave(relatedLinkBase: RelatedLinkBase): RelatedLinkBaseSave {\r\n var save = new RelatedLinkBaseSave();\r\n\r\n save.id = relatedLinkBase.id;\r\n save.formID = relatedLinkBase.formID;\r\n save.text = relatedLinkBase.text;\r\n save.url = relatedLinkBase.url;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, OnInit, Input, Output, EventEmitter, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { Placeholder } from 'src/app/components/checklists/checklists';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { NavigationLink } from 'src/app/services/navigation-links/navigation-link';\r\nimport { NavigationLinkService } from 'src/app/services/navigation-links/navigation-link.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\n\r\n\r\n@Component({\r\n selector: 'navigation-links-details',\r\n templateUrl: './navigation-links-details.component.html',\r\n styleUrls: ['./navigation-links-details.component.scss']\r\n})\r\nexport class NavigationLinksDetailsComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() navigationLink?: NavigationLink;\r\n\r\n\r\n navigationLinks?: NavigationLink[];\r\n navigationLinksFiltered?: NavigationLink[];\r\n navigationLinks$!: Observable;\r\n navigationLinksSubs!: Subscription;\r\n modifyAvailable?: boolean;\r\n originalNavigationLink?: NavigationLink;\r\n\r\n modifying!: boolean;\r\n adding = false;\r\n disabledFields!: boolean;\r\n selected!: boolean;\r\n valid!: boolean;\r\n deleted = false;\r\n\r\n showCancelButton!: boolean;\r\n\r\n urlRegex = new RegExp(/^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$/);\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public navigationLinkService: NavigationLinkService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.getDetails();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadNavigationLinks();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.navigationLinksSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadNavigationLinks() {\r\n this.navigationLinks$ = this.store.select(state => state.NavigationLinks.data);\r\n this.navigationLinksSubs = this.navigationLinks$.subscribe(data => {\r\n if (data?.length) {\r\n this.navigationLinks = data;\r\n if (this.navigationLink) {\r\n const navigationLink = this.navigationLinks.find(x => x.id == this.navigationLink?.id);\r\n this.navigationLink = navigationLink;\r\n }\r\n }\r\n });\r\n }\r\n\r\n getDetails() {\r\n this.modifyAvailable = this.currentUser?.userRole?.some(r => r.roleID === Roles.ADM);\r\n if (this.navigationLink && !this.navigationLink?.id) {\r\n this.adding = true;\r\n this.modifying = false;\r\n this.disabledFields = false;\r\n this.showCancelButton = true;\r\n } else if (this.navigationLink && this.navigationLink.id) {\r\n this.disabledFields = true;\r\n this.modifying = false;\r\n this.adding = false;\r\n this.selected = true;\r\n this.showCancelButton = true;\r\n }\r\n else if (!this.navigationLink) {\r\n this.clear();\r\n }\r\n }\r\n\r\n clear() {\r\n this.disabledFields = true;\r\n this.adding = false;\r\n this.modifying = false;\r\n this.selected = false;\r\n this.showCancelButton = false;\r\n this.navigationLink = this.originalNavigationLink;\r\n this.setFormDirty(false);\r\n this.getDetails();\r\n }\r\n\r\n hyperLinkChanged(e: any) {\r\n if (this.navigationLink)\r\n this.navigationLink.hyperlink = e.target.value;\r\n this.setFormDirty();\r\n }\r\n\r\n webAddressChanged(e: any) {\r\n if (this.navigationLink)\r\n this.navigationLink.webAddress = e.target.value;\r\n this.setFormDirty();\r\n }\r\n\r\n isActiveChanged(e: any) {\r\n if (this.navigationLink)\r\n this.navigationLink.isActive = e.checked;\r\n this.setFormDirty();\r\n }\r\n\r\n async save() {\r\n if (this.validate()) {\r\n if (this.navigationLink && !this.navigationLink?.id) {\r\n this.navigationLink.order = await this.getPositionToCreate();\r\n await this.navigationLinkService.create(this.navigationLink).toPromise();\r\n this.setFormDirty(false);\r\n this.alert.message('create', [new MessagePlaceholder('{what}', 'Link')]);\r\n } else if (this.navigationLink?.id) {\r\n await this.navigationLinkService.update(this.navigationLink.id, this.navigationLink).toPromise();\r\n this.setFormDirty(false);\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Link')]);\r\n }\r\n }\r\n }\r\n\r\n modify() {\r\n this.disabledFields = false;\r\n this.modifying = true;\r\n this.adding = false;\r\n this.selected = true;\r\n this.showCancelButton = true;\r\n this.originalNavigationLink = this.utils.cloneDeep(this.navigationLink);\r\n }\r\n\r\n async delete() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: 'Are you sure you want to Delete link to ' + this.navigationLink?.hyperlink + '?', icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n if (this.navigationLink?.id)\r\n await this.navigationLinkService.delete(this.navigationLink.id).toPromise().then(async () => {\r\n this.alert.message('remove', [new MessagePlaceholder('{what}', 'Link')]);\r\n await this.reorderPositions();\r\n this.navigationLink = undefined;\r\n this.getDetails();\r\n });\r\n }\r\n });\r\n }\r\n\r\n validate(): boolean {\r\n if (!this.navigationLink?.hyperlink) {\r\n this.alert.error('Please enter an hyperlink name');\r\n return false;\r\n }\r\n if (this.navigationLink.hyperlink.trim() === '') {\r\n this.alert.error('Please enter an hyperlink name');\r\n return false;\r\n }\r\n if (!this.navigationLink.webAddress) {\r\n this.alert.error('Please enter a url');\r\n return false;\r\n }\r\n if (this.navigationLink.webAddress.trim() === '') {\r\n this.alert.error('Please enter a url');\r\n return false;\r\n }\r\n if (!this.urlRegex.test(this.navigationLink.webAddress)) {\r\n this.alert.error('Please enter a valid url');\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n async getPositionToCreate() {\r\n return ((this.navigationLinks?.sort((a, b) => this.utils.sort(b.order, a.order)))?.[0].order ?? 0) + 1;\r\n }\r\n\r\n async reorderPositions() {\r\n let addPosition = 1;\r\n this.navigationLinks?.map(navigationLink => {\r\n navigationLink.order = addPosition++;\r\n });\r\n if (this.navigationLinks)\r\n await this.navigationLinkService.updateOrder(this.navigationLinks).toPromise();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n Hyperlink\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Web Address\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Is Active\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Delete\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n
\r\n
\r\n
\r\n","import { moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, OnInit, Output, EventEmitter, ViewChildren, ViewContainerRef, QueryList, OnDestroy, Injector, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { NavigationLink } from 'src/app/services/navigation-links/navigation-link';\r\nimport { NavigationLinkService } from 'src/app/services/navigation-links/navigation-link.service';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'navigation-links-list',\r\n templateUrl: './navigation-links-list.component.html',\r\n styleUrls: ['./navigation-links-list.component.scss']\r\n})\r\nexport class NavigationLinksListComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() filter?: string;\r\n @Output() loading = new EventEmitter();\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n navigationLink?: NavigationLink;\r\n navigationLinks?: NavigationLink[];\r\n navigationLinksFiltered?: NavigationLink[];\r\n navigationLinks$!: Observable;\r\n navigationLinksSubs!: Subscription;\r\n\r\n dataSource!: MatTableDataSource;\r\n displayedColumns: string[] = ['hyperlink', 'isActive'];\r\n\r\n selectedRowIndex?: number;\r\n\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef })\r\n rows!: QueryList;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public navigationLinkService: NavigationLinkService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter']) {\r\n this.applyFilter();\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.clear();\r\n this.loadNavigationLinks();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.navigationLinksSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadNavigationLinks() {\r\n this.loading.emit(true);\r\n this.navigationLinks$ = this.store.select(state => state.NavigationLinks.data);\r\n this.navigationLinksSubs = this.navigationLinks$.subscribe(data => {\r\n if (data?.length) {\r\n this.navigationLinks = data;\r\n this.navigationLinksFiltered = data;\r\n this.dataSource = new MatTableDataSource(data);\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n async highlight(row: NavigationLink) {\r\n if (await this.canDeactivate()) {\r\n this.selectedRowIndex = row.id;\r\n this.rowSelected.emit(this.utils.cloneDeep(row));\r\n }\r\n }\r\n\r\n async createLink() {\r\n if (await this.canDeactivate()) {\r\n this.selectedRowIndex = 0;\r\n this.rowSelected.emit(new NavigationLink());\r\n }\r\n }\r\n\r\n clear() {\r\n this.dataSource = new MatTableDataSource();\r\n this.navigationLinks = [];\r\n this.selectedRowIndex = 0;\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const data = this.navigationLinks;\r\n let sortedData: NavigationLink[] = [];\r\n if (!sort.active || sort.direction === '') {\r\n sortedData = data ?? [];\r\n return;\r\n }\r\n if (data)\r\n sortedData = data.sort((a, b) => {\r\n const isDesc = sort.direction === 'desc';\r\n switch (sort.active) {\r\n case 'hyperlink': return this.compare(a.hyperlink, b.hyperlink, isDesc);\r\n case 'webAddress': return this.compare(a.webAddress, b.webAddress, isDesc);\r\n default: return 0;\r\n }\r\n });\r\n this.dataSource = new MatTableDataSource(sortedData);\r\n }\r\n\r\n applyFilter() {\r\n if (this.filter) {\r\n this.navigationLinksFiltered = this.navigationLinks?.filter(x => x.hyperlink?.toLowerCase().includes(this.filter?.toLowerCase() ?? '') || x.webAddress?.toLowerCase().includes(this.filter?.toLowerCase() ?? ''));\r\n\r\n }\r\n else this.navigationLinksFiltered = this.navigationLinks;\r\n this.dataSource = new MatTableDataSource(this.navigationLinksFiltered);\r\n }\r\n\r\n showIndex(id: number) {\r\n this.selectedRowIndex = this.dataSource.data.findIndex(x => x.id === id);\r\n setTimeout(() => {\r\n if (this.selectedRowIndex) {\r\n this.showElement(this.selectedRowIndex, 7);\r\n this.highlight(this.dataSource.data[this.selectedRowIndex]);\r\n this.loading.emit(false);\r\n }\r\n }, 300);\r\n }\r\n\r\n showElement(index: number, height: number) {\r\n const indexStr = index.toString();\r\n const row = this.rows.find(r => r.element.nativeElement.getAttribute('position' === indexStr));\r\n if (row != null) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > height)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n return;\r\n }\r\n console.log('not found');\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id === row.id;\r\n });\r\n return i;\r\n }\r\n\r\n refreshLinks(event?: any) {\r\n this.loadNavigationLinks();\r\n this.selectedRowIndex = 0;\r\n }\r\n\r\n compare(a?: number | string, b?: number | string, isAsc?: boolean) {\r\n if (a && b)\r\n return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\r\n return 0;\r\n }\r\n\r\n reorderTable(event: any, dataSource: MatTableDataSource) {\r\n moveItemInArray(dataSource.data, event.previousIndex, event.currentIndex);\r\n this.navigationLinkService.updateOrder(this.reorderPositions(dataSource.data)).toPromise();\r\n dataSource.filter = '';\r\n }\r\n\r\n reorderPositions(navigationLinks: NavigationLink[]): NavigationLink[] {\r\n let addPosition = 1;\r\n navigationLinks.map(navigationLink => {\r\n navigationLink.order = addPosition++;\r\n });\r\n return navigationLinks;\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n Hyper Link\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Is Active\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { NavigationLink } from 'src/app/services/navigation-links/navigation-link';\r\n\r\n@Component({\r\n selector: 'app-navigation-links',\r\n templateUrl: './navigation-links.component.html',\r\n styleUrls: ['./navigation-links.component.scss']\r\n})\r\nexport class NavigationLinksComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n // @ViewChild(ScfV2SideComponent) side!: ScfV2SideComponent;\r\n // @ViewChild(ScfV2MainComponent) main!: ScfV2MainComponent;\r\n\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n navigationLink?: NavigationLink;\r\n navigationLinks?: NavigationLink[];\r\n navigationLinksFiltered?: NavigationLink[];\r\n navigationLinks$!: Observable;\r\n navigationLinksSubs!: Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n // privileges: SCFPrivileges = new SCFPrivileges();\r\n // public status: SCFStatus = new SCFStatus();\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n // public scfService: ScfV2Service,\r\n // private notificationService: NotificationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // this.loadSCFs();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.navigationLinksSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = \"Links Catalog\";\r\n this.checkPrivileges();\r\n this.loadNavigationLinks();\r\n }\r\n\r\n loadNavigationLinks() {\r\n this.navigationLinks$ = this.store.select(state => state.NavigationLinks.data);\r\n this.navigationLinksSubs = this.navigationLinks$.subscribe(data => {\r\n if (data?.length) {\r\n this.navigationLinks = data;\r\n if (this.navigationLink) {\r\n const navigationLink = this.navigationLinks.find(x => x.id == this.navigationLink?.id);\r\n this.navigationLink = navigationLink;\r\n }\r\n }\r\n });\r\n }\r\n\r\n rowSelected(e?: NavigationLink) {\r\n this.navigationLink = e;\r\n }\r\n\r\n // async loadSCFs() {\r\n // this.scfMasters$ = this.store.select((state) => state.SCFMasters.data);\r\n // this.scfMastersSubs = this.scfMasters$.subscribe((data) => {\r\n // if (data && data.length > 0) {\r\n // this.scfMasters = data.filter((x) => x.serialNo !== \"\");\r\n // if (this.scfMaster) {\r\n // this.scfMaster = this.scfMasters.find(\r\n // (x) => x.id == this.scfMaster?.id\r\n // );\r\n // this.checkPrivileges();\r\n // }\r\n // }\r\n // });\r\n // }\r\n\r\n // showStatusChangeMessage(scfMaster: SCFMaster) {\r\n // this.alert.message(this.getMessage(\"formStateChanged\"), [\r\n // new MessagePlaceholder(\"{serialNo}\", scfMaster.serialNo), new MessagePlaceholder(\"{status}\", scfMaster.statusName ?? 'New'),]);\r\n // }\r\n\r\n // override ngOnDestroy(): void {\r\n // this.scfMastersSubs?.unsubscribe();\r\n // this.proceduresSubs?.unsubscribe();\r\n // }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n // this.loading = true;\r\n // this.scfService\r\n // .getSerialNo()\r\n // .toPromise()\r\n // .then((data) => {\r\n // if (data) {\r\n // this.status.isCreating = true;\r\n // this.scfMaster = new SCFMaster();\r\n // this.scfMaster.name = data.serialNo;\r\n // this.scfMaster.serialNo = data.serialNo;\r\n // this.scfMaster.status = FormStatusEnum.New;\r\n // this.scfMaster.formStatus = new FormStatus();\r\n // this.scfMaster.createdBy = this.getCurrentUser()?.id;\r\n // this.scfMaster.createdByName = this.getCurrentUser()?.name;\r\n // this.scfMaster.relatedDocuments = [];\r\n // this.scfMaster.createdOn = new Date();\r\n // this.scfMaster.estimatedStartOn = new Date();\r\n // this.scfMaster.estimatedEndOn = new Date();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\r\n // \"MMM-DD-YYYY\"\r\n // );\r\n // this.scfMaster.editingBy = this.getCurrentUser();\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.side.selectedRowIndex = -1;\r\n\r\n // this.loading = true;\r\n // this.scfService\r\n // .post(this.scfMaster)\r\n // .toPromise()\r\n // .then(scfMaster => {\r\n // if (scfMaster) {\r\n // this.scfMaster = scfMaster;\r\n // this.loading = true;\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.disabled = false;\r\n // this.checkPrivileges();\r\n // this.status.isCreating = true;\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster) {\r\n // this.scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n // // TODO this.side.selectedRowIndex = this.scfMaster?.id;\r\n // }\r\n // }\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n // async edit() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n // async editAmendment() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n release() {\r\n // if (this.scfMaster && this.scfMasterUnchanged && !utils.isEquivalent(this.cleanSCFMaster(this.scfMaster), this.cleanSCFMaster(this.scfMasterUnchanged))) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"SCF_Release_confirmation\")\r\n // ?.description, icon: \"stop\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // if (this.scfMaster?.status == FormStatusEnum.New) {\r\n // this.loading = true;\r\n // this.scfService\r\n // .cancel(this.scfMaster, \"New Form Canceled\")\r\n // .toPromise()\r\n // .then(() => {\r\n // this.loading = false;\r\n // this.scfMaster = null;\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n // }\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n }\r\n\r\n // cleanSCFMaster(scfMaster: SCFMaster) {\r\n // let clonedSCFMaster: SCFMaster = new SCFMaster();\r\n // if (scfMaster) {\r\n // clonedSCFMaster = utils.cloneDeep(scfMaster);\r\n // clonedSCFMaster.wfTable = null;\r\n // clonedSCFMaster.editingBy = null;\r\n // clonedSCFMaster.editingById = null;\r\n // clonedSCFMaster.editingUntil = null;\r\n // clonedSCFMaster.updatedOn = null;\r\n // clonedSCFMaster.updatedBy = null;\r\n // }\r\n // return clonedSCFMaster;\r\n // }\r\n\r\n // async releaseForm() {\r\n // this.loading = true;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // // this.scfMaster = this.scfMasterUnchanged;\r\n // await this.setEditing(false);\r\n // }\r\n\r\n async setEditing(value: boolean) {\r\n // await this.scfService\r\n // .setEditing(this.scfMaster?.id ?? 0, value)\r\n // .toPromise()\r\n // .then(async () => {\r\n // await this.loadSCFs();\r\n // });\r\n // this.disabled = !value;\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n // settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n // });\r\n // settings.afterClosed().subscribe(() => { });\r\n // }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n // rowSelected(e: SCFMaster | any) {\r\n // this.scfMaster = e as SCFMaster;\r\n // if (\r\n // this.scfMasterUnchanged?.status != this.scfMaster?.status &&\r\n // this.scfMasterUnchanged?.id == this.scfMaster?.id\r\n // ) {\r\n // this.showStatusChangeMessage(this.scfMaster);\r\n // }\r\n // this.scfMasterUnchanged = e ? utils.cloneDeep(e) : null;\r\n // this.checkPrivileges();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\"MMM-DD-YYYY\");\r\n // this.status = new SCFStatus();\r\n // if (this.scfMaster?.status == FormStatusEnum.Amendment) {\r\n // this.status.isEditingAmendment =\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id;\r\n // this.status.isViewingAmendment = this.privileges.canViewAmendment;\r\n // } else if (this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) {\r\n // this.status.isEditing = true;\r\n // this.status.isViewingAmendment = false;\r\n // } else {\r\n // this.status.isViewingAmendment = false;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // }\r\n // this.checkDisabled();\r\n // this.showAmendmentToggle = (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.canSeeAmendment();\r\n // this.checkButtonsVisible();\r\n // this.setHeights();\r\n // this.scrollToTop('sidenav-content');\r\n // }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n // checkButtonsVisible() {\r\n // this.buttonsVisible =\r\n // this.status.isCreating ||\r\n // this.status.isEditing ||\r\n // this.status.isEditingAmendment ||\r\n // this.status.isCreatingAmendment ||\r\n // this.status.isViewingAmendment ||\r\n // (this.scfMaster?.status == FormStatusEnum.WorkApprovals &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == FormStatusEnum.PendingActivation &&\r\n // this.privileges.canCancel) ||\r\n // (this.scfMaster?.status == this.formStatus.Draft &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == this.formStatus.RestrictionsAmendment &&\r\n // this.privileges.canUnsubmitAmendment)\r\n // }\r\n\r\n // changeAmendmentToggle(e: any) {\r\n // this.status.isViewingAmendment = e.checked;\r\n // this.checkPrivileges();\r\n // }\r\n\r\n // canSeeAmendment(): boolean {\r\n // let res = this.hasPrivilege(PrivilegeEnum.SCFSubmit);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFNewForm);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.EditSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.ViewSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.scfMaster?.requesterId == this.getCurrentUser()?.id || this.scfMaster?.scfAmendments?.find(a => a.active)?.requesterId == this.getCurrentUser()?.id;\r\n // if (res) {\r\n // return true;\r\n // }\r\n // return false;\r\n // }\r\n\r\n // checkDisabled() {\r\n // this.disabled = true;\r\n // if (!this.getCurrentUser()) {\r\n // return;\r\n // } else {\r\n // this.disabled = !(\r\n // this.scfMaster?.status === FormStatusEnum.New ||\r\n // this.scfMaster?.status === FormStatusEnum.Draft ||\r\n // (this.scfMaster?.status === FormStatusEnum.Amendment &&\r\n // this.status.isViewingAmendment)\r\n // );\r\n // }\r\n // }\r\n\r\n checkPrivileges() {\r\n // this.checkDisabled();\r\n // this.privileges = new SCFPrivileges();\r\n // this.privileges = {\r\n // canCreate: this.hasPrivilege(PrivilegeEnum.SCFNewForm),\r\n // canEdit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFNewForm) &&\r\n // (!this.scfMaster?.editingBy ||\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id),\r\n // canSubmit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canCancel:\r\n // (this.scfMaster?.status == this.formStatus.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New ||\r\n // this.scfMaster?.status == FormStatusEnum.WorkApprovals ||\r\n // this.scfMaster?.status == FormStatusEnum.PendingActivation) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canUnsubmit:\r\n // this.scfMaster?.status == this.formStatus.WorkApprovals &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit) &&\r\n // this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 2)?.wfSignatures?.filter((x) => x.code != \"SUBMIT\" && x.signed).length ==\r\n // 0,\r\n // canCreateAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Active ||\r\n // this.scfMaster?.status == FormStatusEnum.HoldPoint) &&\r\n // this.hasPrivilege(PrivilegeEnum.RequestAmendment),\r\n // canEditAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.EditSCFAmendment),\r\n // canSubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canUnsubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment) &&\r\n // !this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.filter(x =>\r\n // x.amendmentID == this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.amendmentNumber == this.scfMaster?.scfAmendments?.length\r\n // )?.amendmentID\r\n // )\r\n // .some((x) => x.signed),\r\n // canCancelAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canViewAmendment: (this.scfMaster && this.canSeeAmendment()) ?? false,\r\n // canAddHoldPoints:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CreateHoldPoints) &&\r\n // (this.scfMaster.status == FormStatusEnum.Active ||\r\n // this.scfMaster.status == FormStatusEnum.HoldPoint)) ?? false,\r\n // canAddHoldPointsDraft:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(\r\n // PrivilegeEnum.CreateHoldPointsDraft\r\n // ) &&\r\n // this.scfMaster.status == FormStatusEnum.Draft) ?? false,\r\n // canDuplicate:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CopySCF)) ?? false,\r\n // canRelease:\r\n // ((this.scfMaster &&\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) ||\r\n // this.getCurrentUser()?.userRole?.map((x) => x.roleID).includes(Roles.SA)) ?? false,\r\n // };\r\n }\r\n\r\n duplicate() {\r\n // const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"20em\", data: {\r\n // message: this.getMessage(\r\n // \"Are you sure you want to copy this form\"\r\n // ).description, icon: \"warn\", val: false,\r\n // },\r\n // });\r\n // removeRef\r\n // .afterClosed()\r\n // .toPromise()\r\n // .then((result) => {\r\n // if (result != null && result) {\r\n // const id = this.scfMaster?.id ?? 0;\r\n // this.side.rowUnselected();\r\n // // this.cdRef.detectChanges();\r\n // this.loading = true;\r\n // this.scfService\r\n // .copySCF(id, false)\r\n // .toPromise()\r\n // .then(async (scfMaster) => {\r\n // this.scfMaster = scfMaster;\r\n // if (this.scfMaster && this.scfMaster?.id)\r\n // this.notificationService.createNotification(NotificationType.CreateSCF, this.scfMaster.id, await this.scfService.getEmails(this.scfMaster), 5, this.scfMaster?.locations).toPromise();\r\n // if (this.scfMaster)\r\n // await this.side.getValues(this.scfMaster);\r\n // this.loading = false;\r\n // })\r\n // .catch((error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n requestAmendment() {\r\n // const pendingChanges = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => !x.wfTaskLocal.amendmentID)?.filter(x => x.answerChangedBy);\r\n // if (!pendingChanges?.length) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"request_amendment\")?.description, icon: \"warn\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // this.loading = true;\r\n // if (this.scfMaster?.id)\r\n // this.scfService.requestAmendment(this.scfMaster.id).toPromise().then(() => {\r\n // this.status.isCreatingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // this.loading = false;\r\n // }, (error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // }\r\n // );\r\n // }\r\n // });\r\n // } else {\r\n // this.alert.message(\r\n // this.getMessage(\"OperationApprovalPendingChanges\")\r\n // );\r\n // }\r\n }\r\n\r\n // setStatus(status: SCFStatus | any) {\r\n // this.status = status;\r\n // }\r\n\r\n // savedEvent(e: SCFMaster | null | undefined | any) {\r\n // this.scfMaster = e;\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // this.scfService.currentDoc = this.scfMaster;\r\n // this.rowSelected(e);\r\n // }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n

{{ navigationLink?.hyperlink }}

\r\n \r\n {{ navigationLink.isActive ? \"(Active)\" : \"(Inactive)\" }}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { NavigationLinksComponent } from './navigation-links.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { NavigationLinksListComponent } from './navigation-links-list/navigation-links-list.component';\r\nimport { NavigationLinksDetailsComponent } from './navigation-links-details/navigation-links-details.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n NavigationLinksComponent,\r\n NavigationLinksListComponent,\r\n NavigationLinksDetailsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n DatePipe,\r\n MatToolbarModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ]\r\n})\r\nexport class NavigationLinksModule { }\r\n","import { NavigationLink } from \"src/app/services/navigation-links/navigation-link\";\r\n\r\nexport class NavigationLinkRefresh {\r\n static readonly type = '[NavigationLink] Refresh';\r\n}\r\n\r\nexport class NavigationLinkCreate {\r\n static readonly type = '[NavigationLink] Create';\r\n constructor(public item: NavigationLink) { }\r\n}\r\n\r\nexport class NavigationLinkUpdate {\r\n static readonly type = '[NavigationLink] Update';\r\n constructor(public id: number, public item: NavigationLink) { }\r\n}\r\n\r\nexport class NavigationLinkDelete {\r\n static readonly type = '[NavigationLink] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { NavigationLinkCreate, NavigationLinkDelete, NavigationLinkRefresh, NavigationLinkUpdate } from './navigation-links.action';\r\nimport { NavigationLink } from 'src/app/services/navigation-links/navigation-link';\r\nimport { NavigationLinkService } from 'src/app/services/navigation-links/navigation-link.service';\r\n\r\nexport class NavigationLinkStateModel {\r\n data: NavigationLink[] = [];\r\n}\r\n\r\n@State({\r\n name: 'NavigationLinks',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class NavigationLinkState {\r\n constructor(\r\n private service: NavigationLinkService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: NavigationLinkStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(NavigationLinkRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.readAll().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(NavigationLinkCreate)\r\n create({ getState, patchState }: StateContext, { item }: NavigationLinkCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(NavigationLinkUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: NavigationLinkUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(NavigationLinkDelete)\r\n delete({ getState, patchState }: StateContext, { id }: NavigationLinkDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as NavigationLinkActions from './navigation-links.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NavigationLinkStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new NavigationLinkActions.NavigationLinkRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.NAVIGATIONLINKS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new NavigationLinkActions.NavigationLinkCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new NavigationLinkActions.NavigationLinkUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new NavigationLinkActions.NavigationLinkDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new NavigationLinkActions.NavigationLinkRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, EventEmitter, Injector, Input, Output, SimpleChanges } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { NotificationTemplate } from 'src/app/components/catalogs/notifications/services/notification-template';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { Catalog } from 'src/app/common/enumerations/enumerations';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { DisapprovalReasonComponent } from 'src/app/controls/disapproval-reason/disapproval-reason.component';\r\nimport { CatalogModel } from '../../catalog-model';\r\nimport { add } from 'lodash';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { NotificationTemplateRefresh } from '../store/notification-template.action';\r\n\r\n@Component({\r\n selector: 'notifications-details',\r\n templateUrl: './notifications-details.component.html',\r\n styleUrls: ['./notifications-details.component.scss']\r\n})\r\nexport class NotificationsDetailsComponent extends BaseComponent {\r\n\r\n @Input() notificationTemplate?: NotificationTemplate | null;\r\n @Input() showChanges?: boolean;\r\n @Output() loading = new EventEmitter();\r\n\r\n tmpNotificationTemplate!: NotificationTemplate;\r\n\r\n adding?: boolean;\r\n modifying?: boolean;\r\n item = Item;\r\n\r\n showApproveUnapprove?: boolean;\r\n isModifiying?: boolean;\r\n isModifier?: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private catalogService: CatalogService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.notificationTemplate)\r\n this.getDetails(this.notificationTemplate);\r\n }\r\n\r\n getDetails(data: NotificationTemplate) {\r\n this.clearForm();\r\n if (data.id < 0) {\r\n this.catalogService.GetPendingCatalogById(data.id, Catalog.EmailNotificationCatalog).subscribe(\r\n data => {\r\n this.notificationTemplate = data.notificationTemplate as NotificationTemplate;\r\n this.isModifiying = true;\r\n this.showApproveUnapprove = true;\r\n }\r\n );\r\n } else {\r\n this.notificationTemplate = data;\r\n }\r\n if (!data.id) {\r\n this.adding = true;\r\n this.modifying = false;\r\n } else {\r\n if (data.id > 0) {\r\n this.catalogService.IsModifiyingById(data.id, Catalog.EmailNotificationCatalog).subscribe(\r\n data => {\r\n this.isModifiying = data.isModifying as boolean;\r\n this.isModifier = data.userID == this.currentUser?.id;\r\n if (this.isSA() && this.currentUser?.id != data.userID) {\r\n this.showApproveUnapprove = data.isModifying as boolean;\r\n }\r\n if (this.isModifiying && this.showChanges && this.notificationTemplate) {\r\n this.tmpNotificationTemplate = this.utils.cloneDeep(this.notificationTemplate);\r\n this.catalogService.GetPendingCatalogById(this.notificationTemplate.id, Catalog.EmailNotificationCatalog).subscribe(\r\n data => {\r\n this.notificationTemplate = data.notificationTemplate as NotificationTemplate;\r\n }\r\n );\r\n }\r\n else if (!this.showChanges && this.tmpNotificationTemplate && this.tmpNotificationTemplate.id == this.notificationTemplate?.id) {\r\n this.notificationTemplate = this.tmpNotificationTemplate;\r\n }\r\n }\r\n );\r\n\r\n }\r\n this.modifying = false;\r\n this.adding = false;\r\n }\r\n }\r\n\r\n modify() {\r\n this.tmpNotificationTemplate = this.utils.cloneDeep(this.notificationTemplate) as NotificationTemplate;\r\n this.modifying = true;\r\n }\r\n\r\n clearForm() {\r\n this.setFormDirty(false);\r\n this.notificationTemplate = null;\r\n this.adding = false;\r\n this.modifying = false;\r\n this.showApproveUnapprove = false;\r\n this.isModifiying = false;\r\n }\r\n\r\n changed(item: Item, value: string) {\r\n if (this.notificationTemplate) {\r\n switch (item) {\r\n case Item.Name:\r\n this.notificationTemplate.name = value;\r\n break;\r\n case Item.Body:\r\n this.notificationTemplate.messageBody = value;\r\n break;\r\n case Item.Signature:\r\n this.notificationTemplate.signature = value;\r\n break;\r\n case Item.Subject:\r\n this.notificationTemplate.messageSubject = value;\r\n break;\r\n }\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n reset() {\r\n if (this.adding)\r\n this.clearForm();\r\n else {\r\n this.modifying = false;\r\n this.notificationTemplate = this.tmpNotificationTemplate;\r\n this.setFormDirty(false);\r\n if (this.notificationTemplate)\r\n this.getDetails(this.notificationTemplate);\r\n }\r\n }\r\n\r\n approve() {\r\n if (this.notificationTemplate)\r\n this.catalogService.Approve(this.notificationTemplate.id, Catalog.EmailNotificationCatalog).subscribe(\r\n data => {\r\n this.alert.success('Congratulations !! Notification Template Approved Successfully!!');\r\n this.reset();\r\n }\r\n );\r\n }\r\n\r\n disapprove(disapproveReason: string) {\r\n if (this.notificationTemplate)\r\n this.catalogService.Unapprove(this.notificationTemplate.id, Catalog.EmailNotificationCatalog, disapproveReason).subscribe(\r\n data => {\r\n this.alert.warning('Congratulations !! Notification Template Disapproved Successfully!!');\r\n this.reset();\r\n }\r\n );\r\n }\r\n\r\n cancel() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: \"Are you sure you want to Cancel your changes?\",\r\n icon: \"question\",\r\n };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n if (this.notificationTemplate)\r\n this.catalogService.Unapprove(this.notificationTemplate.id, Catalog.EmailNotificationCatalog, 'User Cancel').subscribe(\r\n data => {\r\n this.alert.warning('Changes Cancelled!');\r\n this.reset();\r\n }\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n openAddDisapprovalDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = '';\r\n const dialogRef = this.dialog.open(DisapprovalReasonComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disapprove(data);\r\n }\r\n });\r\n }\r\n\r\n saveNotificationTemplate() {\r\n if (this.notificationTemplate) {\r\n const catalogModel = new CatalogModel();\r\n catalogModel.notificationTemplate = this.notificationTemplate;\r\n if (this.isValid()) {\r\n if (this.notificationTemplate.id <= 0 || this.notificationTemplate.id == undefined) {\r\n this.catalogService.SaveAsDraft(catalogModel, Catalog.EmailNotificationCatalog).subscribe(\r\n data => {\r\n this.alert.success('Congratulations !! The New Notification Template Has Been Sent To Approve Successfully!!');\r\n this.reset();\r\n }\r\n );\r\n } else {\r\n this.catalogService.SaveAsDraft(catalogModel, Catalog.EmailNotificationCatalog).subscribe(\r\n data => {\r\n this.alert.success('Congratulations !! The Notification Template Modification Has Been Sent To Approve Successfully!!');\r\n this.reset();\r\n }\r\n );\r\n }\r\n }\r\n }\r\n }\r\n\r\n isValid(): boolean {\r\n // TODO validations\r\n return true;\r\n }\r\n\r\n}\r\n\r\nenum Item {\r\n Name = 1,\r\n Subject = 2,\r\n Body = 3,\r\n Signature = 4\r\n}\r\n","
\r\n
\r\n
\r\n \r\n Name\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Subject\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Cancel\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n \r\n Approve\r\n \r\n \r\n Disapprove\r\n \r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, Output, SimpleChanges } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingCatalogColor } from 'src/app/common/enumerations/enumerations';\r\nimport { NotificationTemplate } from 'src/app/components/catalogs/notifications/services/notification-template';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'notifications-side',\r\n templateUrl: './notifications-side.component.html',\r\n styleUrls: ['./notifications-side.component.scss']\r\n})\r\nexport class NotificationsSideComponent extends BaseComponent {\r\n\r\n @Input() filter?: string;\r\n @Output() loading = new EventEmitter();\r\n @Output() selectedRow = new EventEmitter();\r\n\r\n notificationTemplates?: NotificationTemplate[];\r\n notificationTemplatesFiltered?: NotificationTemplate[];\r\n notificationTemplates$!: Observable;\r\n notificationTemplatesSubs!: Subscription;\r\n\r\n public displayedColumns: string[] = ['name'];\r\n public dataSource!: MatTableDataSource;\r\n\r\n showInactive!: boolean;\r\n selectedRowIndex?: number;\r\n pendingCatalog = PendingCatalogColor;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n\r\n ) {\r\n super(injector);\r\n this.loadNotificationTemplates();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.notificationTemplatesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter'])\r\n this.filterNotifications();\r\n\r\n }\r\n\r\n loadNotificationTemplates() {\r\n this.loading.emit(true);\r\n this.notificationTemplates$ = this.store.select(state => state.NotificationTemplates.data);\r\n this.notificationTemplatesSubs = this.notificationTemplates$.subscribe(data => {\r\n if (data?.length) {\r\n this.notificationTemplates = data.sort((a, b) => this.utils.sort(a.name, b.name));\r\n this.filterNotifications();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n filterNotifications() {\r\n this.notificationTemplatesFiltered = this.notificationTemplates?.filter(t => t.name.toLowerCase().includes(this.filter?.toLowerCase() ?? ''))\r\n if (this.showInactive == true) {\r\n this.dataSource = new MatTableDataSource(this.notificationTemplatesFiltered);\r\n } else {\r\n this.dataSource = new MatTableDataSource(this.notificationTemplatesFiltered?.filter(x => x.status == 1));\r\n }\r\n }\r\n\r\n showInactiveNotificationTemplates(e: any) {\r\n this.showInactive = e.checked;\r\n this.filterNotifications();\r\n }\r\n\r\n async highlight(row: NotificationTemplate) {\r\n if (await this.canDeactivate()) {\r\n this.selectedRowIndex = row.id;\r\n this.selectedRow.emit(row);\r\n }\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n Show Inactive\r\n
\r\n
\r\n
\r\n \r\n \r\n Name \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingCatalogColor } from 'src/app/common/enumerations/enumerations';\r\nimport { NotificationTemplate } from 'src/app/components/catalogs/notifications/services/notification-template';\r\n\r\n@Component({\r\n selector: 'app-notifications',\r\n templateUrl: './notifications.component.html',\r\n styleUrls: ['./notifications.component.scss']\r\n})\r\nexport class NotificationsComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n notificationTemplate?: NotificationTemplate | null;\r\n notificationTemplates?: NotificationTemplate[];\r\n notificationTemplatesFiltered?: NotificationTemplate[];\r\n notificationTemplates$!: Observable;\r\n notificationTemplatesSubs!: Subscription;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n showChanges!: boolean;\r\n\r\n pendingCatalog = PendingCatalogColor;\r\n\r\n loadingMessage!: string;\r\n //////\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Email Notification Templates';\r\n this.checkPrivileges();\r\n this.loadNotificationTemplates();\r\n }\r\n\r\n loadNotificationTemplates() {\r\n this.notificationTemplates$ = this.store.select(state => state.NotificationTemplates.data);\r\n this.notificationTemplatesSubs = this.notificationTemplates$.subscribe(data => {\r\n if (data?.length) {\r\n this.notificationTemplates = data;\r\n if (this.notificationTemplate) {\r\n this.notificationTemplate = this.notificationTemplates.find(t => t.id == this.notificationTemplate?.id);\r\n }\r\n }\r\n });\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.notificationTemplatesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n\r\n }\r\n\r\n release() {\r\n }\r\n\r\n async setEditing(value: boolean) {\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n rowSelected(e: NotificationTemplate) {\r\n this.notificationTemplate = e;\r\n this.showChanges = false;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n\r\n\r\n checkPrivileges() {\r\n\r\n }\r\n\r\n duplicate() {\r\n\r\n }\r\n\r\n\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n \r\n {{ notificationTemplate?.name }}\r\n \r\n \r\n
\r\n \r\n
\r\n Show Modification\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Location } from '../../beamline-catalog/resource/resources';\r\nimport { NotificationMessage } from './notification.models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationService {\r\n constructor(private http: HttpClient) { }\r\n\r\n getNotification(type: number, docId: number, locations?: Location[], code?: string): Observable {\r\n const values = { type: parseInt(type.toString(), 10), documentId: parseInt(docId.toString(), 10), locations, code };\r\n const result = this.http.patch(environment.urls.baseApiUrl + '/NotificationMessages', values);\r\n return result;\r\n }\r\n\r\n createNotification(notification: NotificationMessage): Observable {\r\n const result = this.http.post(environment.urls.baseApiUrl + '/NotificationMessages', notification);\r\n return result;\r\n }\r\n\r\n saveNotification(notification: NotificationMessage): Observable {\r\n const id = notification.id;\r\n const result = this.http.put(environment.urls.baseApiUrl + '/NotificationMessages/' + id, notification);\r\n return result;\r\n }\r\n\r\n sendNotification(notificationMessage: NotificationMessage): Observable {\r\n const result = this.http.post(environment.urls.baseApiUrl + '/NotificationMessages/' + notificationMessage.id, notificationMessage);\r\n return result;\r\n }\r\n\r\n}\r\n","import { NotificationTemplate } from \"src/app/components/catalogs/notifications/services/notification-template\";\r\n\r\nexport class NotificationTemplateRefresh {\r\n static readonly type = '[NotificationTemplate] Refresh';\r\n}\r\nexport class NotificationTemplateRefreshByID {\r\n static readonly type = '[NotificationTemplate] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\nexport class NotificationTemplateCreate {\r\n static readonly type = '[NotificationTemplate] Create';\r\n constructor(public item: NotificationTemplate) { }\r\n}\r\nexport class NotificationTemplateUpdate {\r\n static readonly type = '[NotificationTemplate] Update';\r\n constructor(public id: number, public item: NotificationTemplate) { }\r\n}\r\nexport class NotificationTemplateDelete {\r\n static readonly type = '[NotificationTemplate] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { NotificationTemplateCreate, NotificationTemplateDelete, NotificationTemplateRefresh, NotificationTemplateRefreshByID, NotificationTemplateUpdate } from './notification-template.action';\r\nimport { NotificationTemplate } from 'src/app/components/catalogs/notifications/services/notification-template';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { Catalog } from 'src/app/common/enumerations/enumerations';\r\n\r\nexport class NotificationTemplateStateModel {\r\n data: NotificationTemplate[] = [];\r\n}\r\n\r\n@State({\r\n name: 'NotificationTemplates',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class NotificationTemplateState {\r\n constructor(\r\n private service: CatalogService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: NotificationTemplateStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(NotificationTemplateRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.GetJoinCreated(Catalog.EmailNotificationCatalog, false).subscribe(\r\n data => {\r\n patchState({ data: data.notificationTemplates })\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(NotificationTemplateRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: NotificationTemplateRefreshByID) {\r\n this.service.GetPendingCatalogById(id, Catalog.EmailNotificationCatalog).subscribe(data => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n if (data.notificationTemplate)\r\n patchState({\r\n data: [...state.data, data.notificationTemplate]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(NotificationTemplateCreate)\r\n create({ getState, patchState }: StateContext, { item }: NotificationTemplateCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(NotificationTemplateUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: NotificationTemplateUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(NotificationTemplateDelete)\r\n delete({ getState, patchState }: StateContext, { id }: NotificationTemplateDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport * as NotificationTemplateActions from './notification-template.action';\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationTemplateStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new NotificationTemplateActions.NotificationTemplateRefresh());\r\n }\r\n\r\n initListeners() {\r\n // NotificationTemplate\r\n this.signalRService.hubConnection?.on(Channels.NOTIFICATIONS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new NotificationTemplateActions.NotificationTemplateCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new NotificationTemplateActions.NotificationTemplateUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new NotificationTemplateActions.NotificationTemplateDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new NotificationTemplateActions.NotificationTemplateRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new NotificationTemplateActions.NotificationTemplateRefreshByID(data.id));\r\n\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Component, Injector, Input, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { BeamlineRestriction } from './models';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Resource } from '../beamline-catalog/resource/resources';\r\nimport { BeamlineRestrictionService } from './services/beamline-restriction.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { CommentsBoxComponent } from 'src/app/controls/comments-box/comments-box.component';\r\nimport { DisapprovalReasonComponent } from 'src/app/controls/disapproval-reason/disapproval-reason.component';\r\n\r\n@Component({\r\n selector: 'operational-restrictions',\r\n templateUrl: './operational-restrictions.component.html',\r\n styleUrls: ['./operational-restrictions.component.scss']\r\n})\r\nexport class OperationalRestrictionsComponent extends BaseComponent {\r\n\r\n @Input() beamline?: Resource;\r\n @Input() disabled?: boolean | null;\r\n @Input() hilite?: boolean | null;\r\n @Input() control!: FormControl;\r\n\r\n dataSource!: MatTableDataSource;\r\n customTitle = 'Operational Restrictions';\r\n\r\n beamlineRestrictions?: BeamlineRestriction[];\r\n beamlineRestrictionsFiltered?: BeamlineRestriction[];\r\n beamlineRestrictions$!: Observable;\r\n beamlineRestrictionsSubs!: Subscription;\r\n\r\n displayedColumns = [\"text\", \"status\", \"actions\"];\r\n\r\n @ViewChild(CommentsBoxComponent) commentBox?: CommentsBoxComponent;\r\n\r\n adding?: boolean;\r\n hasPending?: boolean;\r\n editing?: BeamlineRestriction | null;\r\n math = Math;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: BeamlineRestrictionService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadBeamlineRestrictions();\r\n }\r\n\r\n loadBeamlineRestrictions() {\r\n this.beamlineRestrictions$ = this.store.select(state => state.BeamlineRestrictions.data);\r\n this.beamlineRestrictionsSubs = this.beamlineRestrictions$.subscribe(data => {\r\n if (data?.length) {\r\n this.beamlineRestrictions = data.filter(r => r.beamlineID == this.beamline?.id);\r\n this.beamlineRestrictionsFiltered = this.beamlineRestrictions.filter(r => Math.abs(r.status) == 1 || (this.hasPrivilege(this.privilegeEnum.BeamlineRestrictions) || this.hasPrivilege(this.privilegeEnum.BeamlineRestrictionsApprove))).sort((a, b) => this.utils.sort(a.id, b.id));\r\n this.beamlineRestrictionsFiltered.map(r => r.isPending = r.status <= 0 && !r.code);\r\n this.dataSource = new MatTableDataSource(this.beamlineRestrictionsFiltered);\r\n }\r\n this.hasPending = this.beamlineRestrictionsFiltered?.some(x => x.isPending);\r\n });\r\n }\r\n\r\n save(text: string) {\r\n let beamlineRestriction = { name: this.beamline?.name + ' - Restriction', description: text, beamlineID: this.beamline?.id } as BeamlineRestriction;\r\n if (this.editing) {\r\n beamlineRestriction = this.editing;\r\n beamlineRestriction.description = text;\r\n }\r\n if (beamlineRestriction.id)\r\n this.service.update(beamlineRestriction).toPromise();\r\n else\r\n this.service.create(beamlineRestriction).toPromise();\r\n this.adding = false;\r\n this.editing = null;\r\n }\r\n\r\n delete(restriction: BeamlineRestriction) {\r\n const index = this.beamlineRestrictions?.indexOf(restriction) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.beamlineRestrictionsFiltered?.splice(index, 1);\r\n this.dataSource = new MatTableDataSource(this.beamlineRestrictionsFiltered);\r\n }\r\n\r\n this.service.delete(restriction.id).toPromise();\r\n }\r\n\r\n edit(beamlineRestriction?: BeamlineRestriction) {\r\n this.adding = !beamlineRestriction;\r\n this.editing = beamlineRestriction;\r\n setTimeout(() => {\r\n if (this.commentBox) {\r\n this.commentBox.textValue = beamlineRestriction?.description;\r\n this.commentBox.editText();\r\n }\r\n }, 500);\r\n }\r\n\r\n cancel(restriction: BeamlineRestriction) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: restriction.code ? 'Are you sure you want to Clear this disaproved restriction?' : 'Are you sure you want to Cancel this Restriction?',\r\n icon: \"question\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n const index = this.beamlineRestrictions?.indexOf(restriction) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.beamlineRestrictionsFiltered?.splice(index, 1);\r\n this.dataSource = new MatTableDataSource(this.beamlineRestrictionsFiltered);\r\n }\r\n\r\n await this.service.cancel(restriction.id).toPromise();\r\n this.alert.warning('Restriction Cancelled!');\r\n }\r\n });\r\n }\r\n\r\n async cancelDeletion(restriction: BeamlineRestriction) {\r\n await this.service.cancel(restriction.id).toPromise();\r\n this.alert.warning('Restriction Deletion Cancelled!');\r\n }\r\n\r\n async approve(restriction: BeamlineRestriction, value: boolean) {\r\n if (value) {\r\n await this.service.approve(restriction.id, true).toPromise();\r\n this.alert.success('Restriction Approved!');\r\n }\r\n else {\r\n const confirm = this.dialog.open(DisapprovalReasonComponent, {\r\n width: \"500px\"\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n await this.service.approve(restriction.id, false, data).toPromise();\r\n this.alert.warning('Restriction Disapproved!');\r\n }\r\n });\r\n }\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n {{ customTitle }}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n pending_actionsPending Approval\r\n
\r\n \r\n ' + element.createdBy.name + '
on '\r\n \"\r\n >\r\n {{\r\n element.createdOn | date : \"short\"\r\n }}\r\n \r\n\r\n \r\n ' + element.updatedBy.name + '
on '\r\n \"\r\n >\r\n {{\r\n element.updatedOn | date : \"short\"\r\n }}\r\n \r\n\r\n \r\n auto_delete\r\n Pending Deletion\r\n \r\n \r\n ' + element.updatedBy.name + '
on '\r\n \"\r\n >\r\n {{\r\n element.updatedOn | date : \"short\"\r\n }}\r\n \r\n \r\n ' + element.updatedBy.name + ' on '\r\n \"\r\n >\r\n {{\r\n element.updatedOn | date : \"short\"\r\n }}\r\n \r\n \r\n {{ element.code }}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n edit\r\n \r\n \r\n \r\n cancel\r\n \r\n \r\n \r\n cancel\r\n \r\n \r\n \r\n check_circle\r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n unpublished\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { BeamlineRestriction } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BeamlineRestrictionService extends BaseService {\r\n\r\n api = '/BeamlineRestrictions';\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector, '/BeamlineRestrictions');\r\n }\r\n\r\n getByBeamlineID(id: number) {\r\n return this.http.get(this.BASE_URL + this.api + '/ByBeamlineID/' + id);\r\n }\r\n\r\n cancel(id: number) {\r\n return this.http.delete(this.BASE_URL + this.api + '/Cancel/' + id);\r\n }\r\n\r\n approve(id: number, approve: boolean, reason?: string) {\r\n return this.http.put(this.BASE_URL + this.api + '/Approve/' + id + '/' + approve + '/' + reason, null);\r\n }\r\n}\r\n","import { BeamlineRestriction } from \"../../models\";\r\n\r\nexport class BeamlineRestrictionRefresh {\r\n static readonly type = '[BeamlineRestriction] Refresh';\r\n}\r\n\r\nexport class BeamlineRestrictionRefreshByBeamlineID {\r\n static readonly type = '[BeamlineRestriction] RefreshById';\r\n\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class BeamlineRestrictionCreate {\r\n static readonly type = '[BeamlineRestriction] Create';\r\n\r\n constructor(public item: BeamlineRestriction) { }\r\n}\r\n\r\nexport class BeamlineRestrictionUpdate {\r\n static readonly type = '[BeamlineRestriction] Update';\r\n\r\n constructor(public id: number, public item: BeamlineRestriction) { }\r\n}\r\n\r\nexport class BeamlineRestrictionDelete {\r\n static readonly type = '[BeamlineRestriction] Delete';\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { State, Selector, Action, StateContext, Store } from '@ngxs/store';\r\nimport { Injectable } from '@angular/core';\r\nimport { BeamlineRestrictionCreate, BeamlineRestrictionDelete, BeamlineRestrictionRefresh, BeamlineRestrictionRefreshByBeamlineID, BeamlineRestrictionUpdate } from './beamline-restrictions.action';\r\nimport { BeamlineRestriction } from '../../models';\r\nimport { BeamlineRestrictionService } from '../../services/beamline-restriction.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class BeamlineRestrictionStateModel {\r\n data: BeamlineRestriction[] = [];\r\n}\r\n\r\n@State({\r\n name: 'BeamlineRestrictions',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class BeamlineRestrictionState {\r\n constructor(\r\n private service: BeamlineRestrictionService,\r\n private store: Store\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: BeamlineRestrictionStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(BeamlineRestrictionRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getAll().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(BeamlineRestrictionRefreshByBeamlineID)\r\n refreshById({ getState, patchState }: StateContext, { id }: BeamlineRestrictionRefreshByBeamlineID) {\r\n this.service.getByBeamlineID(id).subscribe(data => {\r\n const state = getState().data.filter(x => x.beamlineID != id);\r\n const newState = state.concat(data)\r\n patchState({\r\n data: newState\r\n });\r\n });\r\n }\r\n\r\n @Action(BeamlineRestrictionCreate)\r\n create({ getState, patchState }: StateContext, { item }: BeamlineRestrictionCreate) {\r\n const state = getState();\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n\r\n @Action(BeamlineRestrictionUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: BeamlineRestrictionUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(BeamlineRestrictionDelete)\r\n delete({ getState, patchState }: StateContext, { id }: BeamlineRestrictionDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as BeamlineRestrictionActions from './beamline-restrictions.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BeamlineRestrictionStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new BeamlineRestrictionActions.BeamlineRestrictionRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BEAMLINE_RESTRICTIONS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BeamlineRestrictionActions.BeamlineRestrictionCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BeamlineRestrictionActions.BeamlineRestrictionUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BeamlineRestrictionActions.BeamlineRestrictionDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BeamlineRestrictionActions.BeamlineRestrictionRefresh());\r\n\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, Injector, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { BaseComponent } from '../../../../common/base/base.component';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Privilege, PrivilegeCategory, RolePrivilege } from '../../roles/services/role-privilege';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'privileges-catalog-main',\r\n templateUrl: './privileges-catalog-main.component.html',\r\n styleUrls: ['./privileges-catalog-main.component.scss']\r\n})\r\nexport class PrivilegesCatalogMainComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() privilegeCategory?: PrivilegeCategory;\r\n\r\n rolePrivileges?: RolePrivilege[];\r\n rolePrivilegesFiltered?: RolePrivilege[];\r\n rolePrivileges$!: Observable;\r\n rolePrivilegesSubs!: Subscription;\r\n\r\n dataSource = new MatTableDataSource();\r\n displayedColumns: string[] = [\"privilege\", \"roles\"];\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector)\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.dataSource = new MatTableDataSource(this.privilegeCategory?.privileges.sort((a, b) => this.utils.sort(a.name, b.name)));\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRolePrivileges();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.rolePrivilegesSubs?.unsubscribe();\r\n }\r\n\r\n loadRolePrivileges() {\r\n this.rolePrivileges$ = this.store.select(state => state.RolePrivileges.data);\r\n this.rolePrivilegesSubs = this.rolePrivileges$.subscribe(data => {\r\n if (data?.length) {\r\n this.rolePrivileges = data.sort((a, b) => this.utils.sort(a.role.name, b.role.name));\r\n }\r\n });\r\n }\r\n\r\n getRoles(privilege: Privilege) {\r\n return this.rolePrivileges?.filter(x => x.privilege == privilege.id);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n Type\r\n Roles\r\n
\r\n {{ rolePrivilege.role.name + \" (\" + rolePrivilege.role.code + \")\" }}\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PrivilegeCategory } from '../../roles/services/role-privilege';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { event } from 'jquery';\r\n\r\n@Component({\r\n selector: 'privileges-catalog-table',\r\n templateUrl: './privileges-catalog-table.component.html',\r\n styleUrls: ['./privileges-catalog-table.component.scss']\r\n})\r\nexport class PrivilegesCatalogTableComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() filter?: string;\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n dataSource = new MatTableDataSource();\r\n\r\n privilegeCategory?: PrivilegeCategory;\r\n privilegeCategories?: PrivilegeCategory[];\r\n privilegeCategoriesFiltered?: PrivilegeCategory[];\r\n privilegeCategories$!: Observable;\r\n privilegeCategoriesSubs!: Subscription;\r\n displayedColumns: string[] = [\"name\"];\r\n selectedRowIndex?: number;\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector)\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.privilegeCategoriesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadPrivilegeCategorys();\r\n }\r\n\r\n loadPrivilegeCategorys() {\r\n this.privilegeCategories$ = this.store.select(state => state.PrivilegeCategories.data);\r\n this.privilegeCategoriesSubs = this.privilegeCategories$.subscribe(data => {\r\n if (data?.length) {\r\n this.privilegeCategories = data.sort((a, b) => this.utils.sort(a.name, b.name)).filter(d => this.filter ? d.name?.toLowerCase().includes(this.filter.toLowerCase()) : true);\r\n this.dataSource = new MatTableDataSource(this.privilegeCategories)\r\n }\r\n });\r\n }\r\n\r\n rowClicked(category: PrivilegeCategory) {\r\n this.rowSelected.emit(category);\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n Category\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, inject, Injector } from '@angular/core';\r\nimport { BaseComponent } from '../../../common/base/base.component';\r\nimport { Privilege, PrivilegeCategory } from '../roles/services/role-privilege';\r\n\r\n@Component({\r\n selector: 'privileges-catalog',\r\n templateUrl: './privileges-catalog.component.html',\r\n styleUrls: ['./privileges-catalog.component.scss']\r\n})\r\nexport class PrivilegesCatalogComponent extends BaseComponent implements OnInit {\r\n\r\n privilegeCategory?: PrivilegeCategory;\r\n\r\n valueFilter!: string;\r\n filter: any;\r\n loading?: boolean;\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector)\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = \"Privilege Catalog\";\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n rowSelected(category: PrivilegeCategory) {\r\n this.privilegeCategory = category;\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n

\r\n {{ privilegeCategory?.name + \" Category\" }}\r\n

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { RadInterlock } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-interlock';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { RadLocationInterlockRelation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-interlock-relation';\r\nimport { RadLocationType } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-type';\r\n\r\n@Component({\r\n selector: 'rad-monitor-add-edit-location',\r\n templateUrl: './add-edit-location.component.html',\r\n styleUrls: ['./add-edit-location.component.scss']\r\n})\r\nexport class RadMonitorAddEditLocationComponent extends BaseComponent implements OnInit {\r\n\r\n public radInterlockIds: number[] = [];\r\n\r\n public get name(): AbstractControl | null { return this.formGroup.get('name'); }\r\n public get type(): AbstractControl | null { return this.formGroup.get('type'); }\r\n public get description(): AbstractControl | null { return this.formGroup.get('description'); }\r\n public get interlocks(): AbstractControl | null { return this.formGroup.get('interlocks'); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n radLocation: RadLocation,\r\n radLocationTypes: RadLocationType[],\r\n radInterlocks: RadInterlock[],\r\n dialogTitle: string\r\n },\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.initializeForm();\r\n this.setInterlockIds();\r\n }\r\n\r\n setInterlockIds() {\r\n this.radInterlockIds = [];\r\n this.inputData.radLocation?.radLocationInterlockRelations?.map(x => {\r\n if (x.radInterlockId)\r\n this.radInterlockIds.push(x.radInterlockId);\r\n });\r\n }\r\n\r\n add() {\r\n if (this.validate()) {\r\n this.inputData.radLocation.radLocationInterlockRelations = [];\r\n this.radInterlockIds.map(interlockId => {\r\n const radLocInterlockRelation: RadLocationInterlockRelation = {\r\n radLocationId: this.inputData.radLocation?.id ? this.inputData.radLocation.id : 0,\r\n radInterlockId: interlockId\r\n };\r\n this.inputData.radLocation.radLocationInterlockRelations?.push(radLocInterlockRelation);\r\n });\r\n this.dialogRef.close(this.inputData.radLocation);\r\n }\r\n }\r\n\r\n cancel() {\r\n if (this.formGroup.dirty) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n confirmation.afterClosed().toPromise().then((response: CanDeactivateResponse) => {\r\n if (response === CanDeactivateResponse.Discard) {\r\n this.dialogRef.close(null);\r\n }\r\n });\r\n } else {\r\n this.dialogRef.close(null);\r\n }\r\n }\r\n\r\n validate(): boolean {\r\n let result = true;\r\n if (!this.inputData.radLocation.name) {\r\n this.alert.error(' Name is required!');\r\n this.name?.setErrors({ required: true });\r\n result = false;\r\n }\r\n if (!this.inputData.radLocation.typeId) {\r\n this.alert.error(' Type is required!');\r\n this.type?.setErrors({ required: true });\r\n result = false;\r\n }\r\n if (!this.radInterlockIds?.length) {\r\n this.alert.error(' Interlock Chain Area is required!');\r\n this.interlocks?.setErrors({ required: true });\r\n result = false;\r\n }\r\n this.formGroup.markAllAsTouched();\r\n return result;\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n name: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n type: [{ value: '' }, Validators.required],\r\n interlocks: [{ value: '' }, Validators.required],\r\n description: [{ value: '' }],\r\n rpixName: [{ value: '' }],\r\n summation: [{ value: '' }],\r\n controllerLocation: [{ value: '' }],\r\n controllerPower: [{ value: '' }],\r\n resetLocation: [{ value: '' }],\r\n tripsetA1: [{ value: '' }],\r\n tripsetI1: [{ value: '' }],\r\n tripset: [{ value: '' }]\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{\r\n inputData.radLocation.id ? \"Edit location\" : \"Add Location\"\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Location Name\r\n \r\n {{ getErrorMsg(name) }}\r\n \r\n\r\n \r\n Type\r\n \r\n \r\n {{ radLocationType.name }}\r\n \r\n \r\n {{ getErrorMsg(type) }}\r\n \r\n\r\n \r\n RPIx Name\r\n \r\n \r\n\r\n \r\n Location Description\r\n \r\n \r\n\r\n \r\n Summation Chassis Location\r\n \r\n \r\n\r\n \r\n Controller Location\r\n \r\n \r\n\r\n \r\n Controller Power\r\n \r\n \r\n\r\n \r\n Reset Location\r\n \r\n \r\n\r\n \r\n Interlock Chain Area\r\n \r\n \r\n {{ radInterlock.name }}\r\n \r\n \r\n {{\r\n getErrorMsg(interlocks)\r\n }}\r\n \r\n\r\n \r\n Tripset A1 mR/h\r\n \r\n \r\n\r\n \r\n Tripset I1 mR\r\n \r\n \r\n\r\n \r\n Tripset mR/h\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n Accept\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n\r\n@Component({\r\n selector: 'app-add-rad-note',\r\n templateUrl: './add-rad-note.component.html',\r\n styleUrls: ['./add-rad-note.component.scss']\r\n})\r\nexport class RadNoteComponent implements OnInit {\r\n\r\n public noteForm!: FormGroup;\r\n public get note(): AbstractControl | null { return this.noteForm.get('note'); }\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n noteDescription: string,\r\n inputLabel: string,\r\n dialogTitle: string\r\n },\r\n private formBuilder: FormBuilder,\r\n private dialog: MatDialog\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.initializeForm();\r\n }\r\n\r\n add() {\r\n this.dialogRef.close(this.inputData.noteDescription);\r\n }\r\n\r\n cancel() {\r\n if (this.noteForm.dirty) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n confirmation.afterClosed().toPromise().then((response: CanDeactivateResponse) => {\r\n if (response === CanDeactivateResponse.Discard) {\r\n this.dialogRef.close(null);\r\n }\r\n });\r\n } else {\r\n this.dialogRef.close(null);\r\n }\r\n }\r\n\r\n initializeForm() {\r\n this.noteForm = this.formBuilder.group({\r\n note: [{ value: '' }, [Validators.required, utils.IsWhiteSpaceReactiveForm]]\r\n });\r\n }\r\n\r\n getErrorMsg(control: AbstractControl | null): string {\r\n if (control) {\r\n if (control.hasError('required')) { return 'You must enter a value'; }\r\n if (control.hasError('hasWhiteSpace')) { return 'Enter a valid value'; }\r\n }\r\n return '';\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ inputData.dialogTitle }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ inputData.inputLabel }} \r\n \r\n {{ getErrorMsg(note) }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { HttpErrorResponse } from \"@angular/common/http\";\r\nimport { Component, ElementRef, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild, } from \"@angular/core\";\r\nimport { MatDialogConfig, } from \"@angular/material/dialog\";\r\nimport { Sort } from \"@angular/material/sort\";\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { RadNoteType } from \"src/app/common/enumerations/enumerations\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { RadInterlock } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-interlock\";\r\nimport { RadLocation } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-location\";\r\nimport { RadLocationType } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-type\";\r\nimport { RadNote } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-note\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { RadLocationService } from \"../services/rad-location.service\";\r\nimport { RadNoteService } from \"../services/rad-note.service\";\r\nimport { RadLocationRefresh } from \"../store/rad-location/rad-location.action\";\r\nimport { RadMonitorAddEditLocationComponent } from \"../dialogs/add-edit-location/add-edit-location.component\";\r\nimport { RadNoteComponent } from \"../dialogs/add-rad-note/add-rad-note.component\";\r\nimport { MessagePlaceholder } from \"src/app/common/models/placeholder\";\r\nimport { Note } from \"src/app/services/notes/note.model\";\r\nimport { filter } from 'rxjs/operators';\r\n\r\n\r\n@Component({\r\n selector: \"rad-monitor-location-tab\",\r\n templateUrl: \"./location-tab.component.html\",\r\n styleUrls: [\"./location-tab.component.scss\"],\r\n})\r\nexport class RadMonitorLocationTabComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() filter?: string | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n public radLocations$!: Observable;\r\n public radLocationTypes$!: Observable;\r\n public radInterlocks$!: Observable;\r\n\r\n public radLocSubscription!: Subscription;\r\n public radLocTypeSubscription!: Subscription;\r\n public radInterlockSubscription!: Subscription;\r\n public messagesSubscription!: Subscription;\r\n\r\n public radLocations: RadLocation[] = [];\r\n public radLocationsFiltered: RadLocation[] = [];\r\n public radLocationTypes: RadLocationType[] = [];\r\n public radInterlocks: RadInterlock[] = [];\r\n\r\n public valueFilter = \"\";\r\n public headerEMShop = \"Not Installed\";\r\n\r\n public privilege = PrivilegeEnum;\r\n public radNoteType = RadNoteType;\r\n\r\n public displayedColumnsRadMonitor: string[] = [\r\n \"locationName\",\r\n \"type\",\r\n \"rpixName\",\r\n \"description\",\r\n \"controllerLocation\",\r\n \"controllerPower\",\r\n \"resetLocation\",\r\n \"interlockChain\",\r\n \"summation\",\r\n \"tripsetA1\",\r\n \"tripsetI1\",\r\n \"tripset\",\r\n \"notes\",\r\n \"emShop\",\r\n \"options\",\r\n ];\r\n public dataSourceRadLocation: MatTableDataSource =\r\n new MatTableDataSource();\r\n\r\n @ViewChild(\"table\") table!: ElementRef;\r\n headerOnTop = false;\r\n tableWidth = \"\";\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private radLocationService: RadLocationService,\r\n private radNoteService: RadNoteService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.setLabels();\r\n this.loadLocationTypes();\r\n this.loadLocations();\r\n this.loadRadInterlocks();\r\n }\r\n\r\n loadLocationTypes() {\r\n this.loading.emit(true);\r\n this.radLocationTypes$ = this.store.select((state) => state.RadLocationType.data);\r\n this.radLocTypeSubscription = this.radLocationTypes$.subscribe(\r\n (radLocationTypes) => {\r\n this.radLocationTypes = radLocationTypes;\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n\r\n loadLocations() {\r\n this.loading.emit(true);\r\n this.radLocations$ = this.store.select(\r\n (state) => state.RadLocation.data\r\n );\r\n this.radLocSubscription = this.radLocations$.subscribe((radLocations) => {\r\n if (radLocations.length) {\r\n this.radLocations = radLocations;\r\n this.radLocationsFiltered = radLocations;\r\n this.dataSourceRadLocation = new MatTableDataSource(this.radLocationsFiltered);\r\n this.sortData(this.dataSourceRadLocation.sort);\r\n this.setRadNotes();\r\n this.joinLocInterlockRelation();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n loadRadInterlocks() {\r\n this.loading.emit(true);\r\n this.radInterlocks$ = this.store.select(\r\n (state) => state.RadInterlock.data\r\n );\r\n this.radInterlockSubscription = this.radInterlocks$.subscribe(\r\n (radInterlocks) => {\r\n this.radInterlocks = radInterlocks;\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n\r\n override ngOnDestroy() {\r\n this.radLocSubscription?.unsubscribe();\r\n this.radLocSubscription?.unsubscribe();\r\n this.radInterlockSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes[\"filter\"])\r\n this.applyFilter();\r\n }\r\n\r\n setLabels() {\r\n this.headerEMShop = this.getMessage(\"RadLocation_EMShop\")?.description;\r\n }\r\n\r\n locationDialog(radLocation?: RadLocation) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n radLocation: radLocation ? this.utils.cloneDeep(radLocation)\r\n : new RadLocation(),\r\n radLocationTypes: this.radLocationTypes,\r\n radInterlocks: this.radInterlocks,\r\n dialogTitle: radLocation ? \"Edit Location\" : \"Add Location\",\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n dialogConfig.width = '500px';\r\n const dialogRefLoc = this.dialog.open(\r\n RadMonitorAddEditLocationComponent,\r\n dialogConfig\r\n );\r\n dialogRefLoc\r\n .afterClosed()\r\n .toPromise()\r\n .then((radLocationToSave: RadLocation) => {\r\n if (radLocationToSave) {\r\n if (radLocationToSave.id) {\r\n this.radLocationService.UpdateRadLocation(radLocationToSave.id, radLocationToSave).toPromise().then(() => {\r\n this.alert.message(\"RadLocation_Updated\");\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n } else {\r\n this.radLocationService.CreateRadLocation(radLocationToSave).toPromise().then(() => {\r\n this.alert.message(\"RadLocation_Created\");\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n noteDialog(radLocation: RadLocation, radNoteType: RadNoteType) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n noteDescription: \"\",\r\n inputLabel: \"Note\",\r\n dialogTitle: \"Add Note\",\r\n };\r\n dialogConfig.width = \"20em\";\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(RadNoteComponent, dialogConfig);\r\n dialogRef\r\n .afterClosed()\r\n .toPromise()\r\n .then((noteDescription: string) => {\r\n if (noteDescription) {\r\n const radNote: RadNote = {\r\n description: noteDescription,\r\n radLocationId: radLocation.id,\r\n type: radNoteType,\r\n };\r\n this.radNoteService.CreateRadNote(radNote).toPromise().then(() => {\r\n this.alert.message(\"RadNote_Created\");\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n });\r\n }\r\n\r\n async deleteLocation(radLocation: RadLocation) {\r\n if (await this.deleteConfirmationMsg(\"RadLocation_SureToDelete\")) {\r\n if (radLocation.id)\r\n this.radLocationService.DeleteRadLocation(radLocation.id).toPromise().then(() => {\r\n this.alert.message(\"RadLocation_Deleted\");\r\n })\r\n .catch((error: HttpErrorResponse) => {\r\n if (error.status === 409) {\r\n this.alert.message(\"RadCatalogs_Deleted\", [new MessagePlaceholder(\"{what}\", error.error)]);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n });\r\n }\r\n }\r\n\r\n async deleteNote(radNote: RadNote) {\r\n let canDelete = true;\r\n if (radNote.type === RadNoteType.Fault) {\r\n canDelete = await this.deleteConfirmationMsg(\"RadFaultNote_SureToDelete\");\r\n }\r\n if (canDelete && radNote.id) {\r\n this.radNoteService.DeleteRadNote(radNote.id).toPromise().then(() => {\r\n this.alert.message(\"RadNote_Deleted\");\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n }\r\n\r\n async deleteConfirmationMsg(messageName: string) {\r\n const confirmation = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage(messageName).description,\r\n },\r\n });\r\n return confirmation\r\n .afterClosed()\r\n .toPromise()\r\n .then((isSure: boolean) => {\r\n return Promise.resolve(isSure);\r\n });\r\n }\r\n\r\n setRadNotes() {\r\n this.dataSourceRadLocation.data.map((radLoc) => {\r\n radLoc.notes = radLoc.radNotes?.filter((note) => note.type === RadNoteType.Normal)?.map(n => {\r\n const note: Note = {\r\n id: n.id ?? 0,\r\n user: n.createdByUser,\r\n date: n.createdOn,\r\n description: n.description,\r\n type: n.type\r\n };\r\n return note;\r\n });\r\n\r\n radLoc.notesf = radLoc.radNotes?.filter((note) => note.type === RadNoteType.Fault)?.map(n => {\r\n n.radMonitor = radLoc.radMonitors?.find(r => r.id == n.radMonitorId);\r\n const note: Note = {\r\n id: n.id ?? 0,\r\n user: n.createdByUser,\r\n date: n.createdOn,\r\n description: n.description,\r\n noteName: 'EHS#: ' + n.radMonitor?.ehs + ' - Location: ' + radLoc?.name,\r\n type: n.type\r\n };\r\n return note;\r\n });\r\n });\r\n }\r\n\r\n setEMShop(isEMShop: boolean, radLocation: RadLocation) {\r\n radLocation.isEMShop = isEMShop;\r\n radLocation.radLocationInterlockRelations?.map((x) => {\r\n x.id = 0;\r\n x.radInterlock = null;\r\n x.radLocation = null;\r\n });\r\n if (radLocation.id)\r\n this.radLocationService.UpdateRadLocation(radLocation.id, radLocation).toPromise().then(() => {\r\n this.store.dispatch(new RadLocationRefresh());\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n joinLocInterlockRelation() {\r\n this.dataSourceRadLocation.data.map((radLoc) => {\r\n const interlockNames: string[] = [];\r\n radLoc?.radLocationInterlockRelations?.map((locinterlockRelation) => {\r\n if (locinterlockRelation.radInterlock?.name)\r\n interlockNames.push(locinterlockRelation.radInterlock.name);\r\n });\r\n radLoc.interlockNames = interlockNames.join(\", \");\r\n });\r\n }\r\n\r\n applyFilter() {\r\n if (this.filter) {\r\n const filter = this.filter.toLowerCase();\r\n this.radLocationsFiltered = this.radLocations.filter(data =>\r\n data.name?.toLowerCase().includes(filter) ||\r\n data.radLocationType?.name?.toLowerCase().includes(filter) ||\r\n data.interlockNames?.toString().includes(filter) ||\r\n data.rpixName?.toLowerCase().includes(filter) ||\r\n data.description?.toLowerCase().includes(filter) ||\r\n data.controllerLocation?.toLowerCase().includes(filter) ||\r\n data.controllerPower?.toLowerCase().includes(filter) ||\r\n data.resetLocation?.toLowerCase().includes(filter) ||\r\n data.summation?.toLowerCase().includes(filter) ||\r\n data.tripset?.toString().includes(filter) ||\r\n data.tripsetA1?.toString().includes(filter) ||\r\n data.tripsetI1?.toString().includes(filter));\r\n }\r\n else this.radLocationsFiltered = this.radLocations;\r\n this.dataSourceRadLocation = new MatTableDataSource(this.radLocationsFiltered);\r\n }\r\n\r\n sortData(sort?: Sort | null) {\r\n const dataToSort = this.utils.cloneDeep(this.dataSourceRadLocation.data);\r\n if (!sort?.active || sort.direction === \"\") {\r\n this.dataSourceRadLocation.data = dataToSort;\r\n return;\r\n }\r\n this.dataSourceRadLocation.data = dataToSort.sort((a, b) => {\r\n const isAsc = sort.direction === \"asc\";\r\n switch (sort?.active) {\r\n case \"locationName\":\r\n return this.utils.sort(a.name, b.name, isAsc);\r\n case \"type\":\r\n return this.utils.sort(a.radLocationType?.name, b.radLocationType?.name, isAsc);\r\n case \"rpixName\":\r\n return this.utils.sort(a.rpixName, b.rpixName, isAsc);\r\n case \"description\":\r\n return this.utils.sort(a.description, b.description, isAsc);\r\n case \"controllerLocation\":\r\n return this.utils.sort(a.controllerLocation, b.controllerLocation, isAsc);\r\n case \"controllerPower\":\r\n return this.utils.sort(a.controllerPower, b.controllerPower, isAsc);\r\n case \"resetLocation\":\r\n return this.utils.sort(a.resetLocation, b.resetLocation, isAsc);\r\n case \"interlockChain\":\r\n return this.utils.sort(a.interlockNames, b.interlockNames, isAsc);\r\n case \"summation\":\r\n return this.utils.sort(a.summation, b.summation, isAsc);\r\n case \"tripsetA1\":\r\n return this.utils.sort(a.tripsetA1, b.tripsetA1, isAsc);\r\n case \"tripsetI1\":\r\n return this.utils.sort(a.tripsetI1, b.tripsetI1, isAsc);\r\n case \"tripset\":\r\n return this.utils.sort(a.tripset, b.tripset, isAsc);\r\n default:\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n validateDisableEMShop(radLocation: RadLocation): boolean {\r\n if (!this.hasPrivilege(PrivilegeEnum.AddRadLocationEMShop)) {\r\n return true;\r\n }\r\n if (radLocation?.isEMShop) {\r\n return false;\r\n }\r\n if (\r\n this.dataSourceRadLocation.data.some((x) => x.isEMShop && x.radLocationType?.id == radLocation.radLocationType?.id\r\n )\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n validateShowMenu(): boolean {\r\n if (this.hasPrivilege(PrivilegeEnum.EditRadLocation)\r\n ) {\r\n return true;\r\n }\r\n if (this.hasPrivilege(PrivilegeEnum.CreateRadLocationNote)\r\n ) {\r\n return true;\r\n }\r\n if (\r\n this.hasPrivilege(PrivilegeEnum.DeleteRadLocation)\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n Location Name\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n RPIx Name\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Description\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Controller Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Controller Power Switch\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Reset Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Interlock Chain\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Summation Chassis Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Tripset A1 mR/h\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n Tripset I1 mR\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n Tripset mR/h\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n Notes \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n {{ headerEMShop }}\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n Options \r\n \r\n
\r\n
\r\n \r\n more_vert\r\n \r\n \r\n \r\n edit\r\n Edit\r\n \r\n\r\n \r\n note_add\r\n Create Note\r\n \r\n\r\n \r\n delete\r\n Delete\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { RadMonitorDescription } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor-description';\r\nimport { RadMonitorType } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor-type';\r\n\r\n@Component({\r\n selector: 'app-add-edit-monitor',\r\n templateUrl: './add-edit-monitor.component.html',\r\n styleUrls: ['./add-edit-monitor.component.scss']\r\n})\r\nexport class RadMonitorAddEditMonitorComponent extends BaseComponent implements OnInit {\r\n\r\n public get ehs(): AbstractControl | null { return this.formGroup.get('ehs'); }\r\n public get location(): AbstractControl | null { return this.formGroup.get('location'); }\r\n public get calDueDate(): AbstractControl | null { return this.formGroup.get('calDueDate'); }\r\n public get installedDate(): AbstractControl | null { return this.formGroup.get('installedDate'); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n radMonitor: RadMonitor,\r\n radLocations: RadLocation[],\r\n radMonitorTypes: RadMonitorType[],\r\n radMonitorDescriptions: RadMonitorDescription[],\r\n dialogTitle: string\r\n },\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.initializeForm();\r\n if (!this.inputData.radMonitor.id) { this.inputData.radMonitor.mfr = 'HPI'; }\r\n }\r\n\r\n add() {\r\n if (this.validate()) {\r\n this.dialogRef.close(this.inputData.radMonitor);\r\n }\r\n }\r\n\r\n cancel() {\r\n if (this.formGroup.dirty) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n confirmation.afterClosed().toPromise().then((response: CanDeactivateResponse) => {\r\n if (response === CanDeactivateResponse.Discard) {\r\n this.dialogRef.close(null);\r\n }\r\n });\r\n } else {\r\n this.dialogRef.close(null);\r\n }\r\n }\r\n\r\n getRadLocationWithTypeByRadLocation(radLocation: RadLocation): string {\r\n return radLocation.name + ', ' + radLocation.radLocationType?.name;\r\n }\r\n\r\n getDefaultModel(radLocationId: number) {\r\n const radLocation = this.inputData.radLocations.find(x => x.id === radLocationId);\r\n this.inputData.radMonitor.model = radLocation?.radLocationType?.defaultValue;\r\n }\r\n\r\n validate(): boolean {\r\n let result = true;\r\n if (!this.inputData.radMonitor.ehs) {\r\n this.alert.error(' EHS# is required!');\r\n this.ehs?.setErrors({ required: true });\r\n result = false;\r\n }\r\n if (!this.inputData.radMonitor.radLocationID) {\r\n this.alert.error(' Location is required!');\r\n this.location?.setErrors({ required: true });\r\n result = false;\r\n }\r\n if (!this.inputData.radMonitor.calDueDate) {\r\n this.alert.error(' Cal Due Date is required!');\r\n this.calDueDate?.setErrors({ required: true });\r\n result = false;\r\n }\r\n this.formGroup.markAllAsTouched();\r\n return result;\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n ehs: [{ value: '' }, [Validators.required, utils.IsWhiteSpaceReactiveForm]],\r\n location: [{ value: '' }, Validators.required],\r\n calDueDate: [{ value: '' }, Validators.required],\r\n installedDate: [{ value: '' }],\r\n manufacturer: [{ value: '' }],\r\n model: [{ value: '' }]\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n {{ inputData.dialogTitle }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n EHS#\r\n \r\n {{ getErrorMsg(ehs) }}\r\n \r\n\r\n \r\n Location & Type\r\n \r\n \r\n {{ getRadLocationWithTypeByRadLocation(radLocation) }}\r\n \r\n \r\n {{\r\n getErrorMsg(location)\r\n }}\r\n \r\n\r\n \r\n Manufacturer\r\n \r\n \r\n\r\n \r\n Model\r\n \r\n \r\n\r\n \r\n Cal Due Date\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(calDueDate)\r\n }}\r\n \r\n\r\n \r\n Installed Date\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { HttpErrorResponse } from '@angular/common/http';\r\nimport { Component, ElementRef, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport moment from 'moment';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { RadNoteType } from 'src/app/common/enumerations/enumerations';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { RadMonitorDescription } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor-description';\r\nimport { RadMonitorType } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor-type';\r\nimport { RadMonitorService } from 'src/app/components/catalogs/rad-monitor/services/rad-monitor.service';\r\nimport { RadNote } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-note';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { RadNoteService } from '../services/rad-note.service';\r\nimport { RadNoteComponent } from '../dialogs/add-rad-note/add-rad-note.component';\r\nimport { RadMonitorAddEditMonitorComponent } from './add-edit-monitor/add-edit-monitor.component';\r\nimport { Note } from '../../../../services/notes/note.model';\r\n\r\n@Component({\r\n selector: 'rad-monitor-tab',\r\n templateUrl: './monitor-tab.component.html',\r\n styleUrls: ['./monitor-tab.component.scss']\r\n})\r\nexport class RadMonitorTabComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() filter?: string | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n public radMonitors$!: Observable;\r\n public radLocations$!: Observable;\r\n public radMonitorTypes$!: Observable;\r\n public radMonitorDescriptions$!: Observable;\r\n\r\n public radMonitorSubscription!: Subscription;\r\n public radLocSubscription!: Subscription;\r\n public radMonitorTypeSubscription!: Subscription;\r\n public radMonitorDescSubscription!: Subscription;\r\n\r\n public radLocations: RadLocation[] = [];\r\n public radMonitors: RadMonitor[] = [];\r\n public radMonitorsFiltered: RadMonitor[] = [];\r\n public radMonitorTypes: RadMonitorType[] = [];\r\n public radMonitorDescriptions: RadMonitorDescription[] = [];\r\n\r\n public privilege = PrivilegeEnum;\r\n public radNoteType = RadNoteType;\r\n\r\n public displayedColumnsRadMonitor: string[] = ['ehs', 'type', 'location', 'description', 'mfr', 'model', 'controllerLocation', 'resetLocation', 'calDueDate', 'installedDate', 'notes', 'options'];\r\n public dataSourceRadMonitor: MatTableDataSource = new MatTableDataSource();\r\n\r\n @ViewChild('table')\r\n table!: ElementRef;\r\n headerOnTop = false;\r\n tableWidth = '';\r\n\r\n @Input()\r\n tabIndex!: number;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private radMonitorService: RadMonitorService,\r\n private radNoteService: RadNoteService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy() {\r\n this.radMonitorSubscription?.unsubscribe();\r\n this.radLocSubscription?.unsubscribe();\r\n this.radMonitorTypeSubscription?.unsubscribe();\r\n this.radMonitorDescSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter']) {\r\n this.applyFilter();\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRadMonitors();\r\n }\r\n\r\n loadRadMonitors() {\r\n this.loading.emit(true);\r\n this.radMonitors$ = this.store.select(state => state.RadMonitor.data);\r\n this.radMonitorSubscription = this.radMonitors$.subscribe(data => {\r\n if (data.length) {\r\n this.radMonitors = data;\r\n this.radMonitorsFiltered = data;\r\n this.dataSourceRadMonitor = new MatTableDataSource(this.radMonitorsFiltered);\r\n const sortCalDueDate: Sort = {\r\n active: 'calDueDate',\r\n direction: 'asc'\r\n };\r\n if (this.filter)\r\n this.dataSourceRadMonitor.filter = this.filter;\r\n this.loadLocations();\r\n this.sortData(sortCalDueDate);\r\n this.setRadNotes();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n loadLocations() {\r\n this.loading.emit(true);\r\n this.radLocations$ = this.store.select(\r\n (state) => state.RadLocation.data\r\n );\r\n this.radLocSubscription = this.radLocations$.subscribe((radLocations) => {\r\n this.radLocations = radLocations;\r\n });\r\n }\r\n\r\n setRadNotes() {\r\n this.dataSourceRadMonitor.data.map(radMonitor => {\r\n radMonitor.notes = radMonitor.radNotes?.filter(n => n.type == RadNoteType.Normal)?.map(n => {\r\n const note: Note = {\r\n id: n.id ?? 0,\r\n user: n.createdByUser,\r\n date: n.createdOn,\r\n description: n.description,\r\n type: n.type\r\n };\r\n return note;\r\n });\r\n radMonitor.notesf = radMonitor.radNotes?.filter(n => n.type == RadNoteType.Fault)?.map(n => {\r\n const note: Note = {\r\n id: n.id ?? 0,\r\n user: n.createdByUser,\r\n date: n.createdOn,\r\n description: n.description,\r\n noteName: 'EHS#: ' + radMonitor.ehs + ' - Location: ' + radMonitor.radLocation?.name,\r\n type: n.type\r\n };\r\n return note;\r\n });\r\n });\r\n }\r\n\r\n monitorDialog(radMonitor?: RadMonitor) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n radMonitor: radMonitor ? this.utils.cloneDeep(radMonitor) : new RadMonitor(),\r\n radLocations: this.radLocations,\r\n radMonitorTypes: this.radMonitorTypes,\r\n radMonitorDescriptions: this.radMonitorDescriptions,\r\n dialogTitle: radMonitor ? 'Edit Monitor' : 'Add Monitor'\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n const dialog = this.dialog.open(RadMonitorAddEditMonitorComponent, dialogConfig);\r\n dialog.afterClosed().toPromise().then((radMonitorToSave: RadMonitor) => {\r\n if (radMonitorToSave) {\r\n if (radMonitor && radMonitorToSave.id) {\r\n this.radMonitorService.UpdateRadMonitor(radMonitorToSave.id, radMonitorToSave).toPromise()\r\n .then(() => {\r\n this.alert.message('RadMonitor_Updated');\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n } else {\r\n this.radMonitorService.CreateRadMonitor(radMonitorToSave).toPromise()\r\n .then(() => {\r\n this.alert.message('RadMonitor_Created');\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n noteDialog(radMonitor: RadMonitor, radNoteType: RadNoteType) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n noteDescription: '',\r\n inputLabel: 'Note',\r\n dialogTitle: radNoteType === RadNoteType.Normal ? 'Add Note' : 'Add Fault Note'\r\n };\r\n dialogConfig.width = '20em';\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n const dialog = this.dialog.open(RadNoteComponent, dialogConfig);\r\n dialog.afterClosed().toPromise().then((noteDescription: string) => {\r\n if (noteDescription) {\r\n const radNote: RadNote = {\r\n description: noteDescription,\r\n radLocationId: radNoteType === RadNoteType.Fault ? radMonitor.radLocationID : undefined,\r\n radMonitorId: radMonitor.id,\r\n type: radNoteType\r\n };\r\n this.radNoteService.CreateRadNote(radNote).toPromise()\r\n .then(() => {\r\n const msg = radNoteType === RadNoteType.Normal ? 'RadNote_Created' : 'RadFaultNote_Created';\r\n this.alert.message(msg);\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n });\r\n }\r\n\r\n async deleteMonitor(radMonitor: RadMonitor) {\r\n if (await this.deleteConfirmationMsg('RadMonitor_SureToDelete')) {\r\n if (radMonitor.id)\r\n this.radMonitorService.DeleteRadMonitor(radMonitor.id).toPromise()\r\n .then(() => {\r\n this.alert.message('RadMonitor_Deleted');\r\n })\r\n .catch((error: HttpErrorResponse) => {\r\n if (error.status === 409) {\r\n this.alert.message('RadCatalogs_Deleted'), [new MessagePlaceholder('{what}', error.error)];\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n });\r\n }\r\n }\r\n\r\n async deleteNote(radNote: RadNote) {\r\n let canDelete = true;\r\n if (radNote.type === RadNoteType.Fault) {\r\n canDelete = await this.deleteConfirmationMsg('RadFaultNote_SureToDelete');\r\n }\r\n if (canDelete && radNote.id) {\r\n this.radNoteService.DeleteRadNote(radNote.id).toPromise()\r\n .then(() => {\r\n this.alert.message('RadNote_Deleted');\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n }\r\n\r\n async deleteConfirmationMsg(messageName: string) {\r\n const confirmation = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage(messageName).description\r\n }\r\n });\r\n return confirmation.afterClosed().toPromise().then((isSure: boolean) => {\r\n return Promise.resolve(isSure);\r\n });\r\n }\r\n\r\n getColor(radMonitor: RadMonitor): string {\r\n const currentDate = new Date();\r\n if (moment(radMonitor.calDueDate).isSameOrBefore(currentDate)) {\r\n if (radMonitor.radLocation?.isEMShop) {\r\n return '#4db5ff'; // Darker blue\r\n }\r\n else {\r\n return '#FF9494'; // Red\r\n }\r\n } else if (moment(radMonitor.calDueDate).diff(moment(currentDate), 'days') < 30) {\r\n if (radMonitor.radLocation?.isEMShop) {\r\n return '#7cc7fc'; // Lighter blue\r\n }\r\n else {\r\n return '#FCFBAC'; // Yellow\r\n }\r\n }\r\n return '';\r\n }\r\n\r\n applyFilter() {\r\n if (this.filter) {\r\n const filter = this.filter.toLowerCase();\r\n this.radMonitorsFiltered = this.radMonitors.filter(data =>\r\n data.radLocation?.name?.toLowerCase().includes(filter) ||\r\n data.radLocation?.radLocationType?.name?.toLowerCase().includes(filter) ||\r\n data.radMonitorType?.name?.toLowerCase().includes(filter) ||\r\n data.radMonitorDescription?.name?.toLowerCase().includes(filter) ||\r\n data.radLocation?.controllerLocation?.toLowerCase().includes(filter) ||\r\n data.radLocation?.resetLocation?.toLowerCase().includes(filter) ||\r\n data.ehs?.toLowerCase().includes(filter) ||\r\n data.mfr?.toLowerCase().includes(filter) ||\r\n data.model?.toLowerCase().includes(filter));\r\n }\r\n else this.radMonitorsFiltered = this.radMonitors;\r\n this.dataSourceRadMonitor = new MatTableDataSource(this.radMonitorsFiltered);\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const dataToSort = this.utils.cloneDeep(this.dataSourceRadMonitor.data);\r\n if (!sort.active || sort.direction === '') {\r\n this.dataSourceRadMonitor.data = dataToSort;\r\n return;\r\n }\r\n this.dataSourceRadMonitor.data = dataToSort.sort((a, b) => {\r\n const isAsc = sort.direction === 'asc';\r\n switch (sort.active) {\r\n case 'ehs': return this.utils.sort(a.ehs, b.ehs, isAsc);\r\n case 'type': return this.utils.sort(a.radMonitorType?.name, b.radMonitorType?.name, isAsc);\r\n case 'description': return this.utils.sort(a.radMonitorDescription?.name, b.radMonitorDescription?.name, isAsc);\r\n case 'mfr': return this.utils.sort(a.mfr, b.mfr, isAsc);\r\n case 'model': return this.utils.sort(a.model, b.model, isAsc);\r\n case 'location': return this.utils.sort(a.radLocation?.name, b.radLocation?.name, isAsc);\r\n case 'calDueDate': return this.utils.sort(a.calDueDate, b.calDueDate, isAsc);\r\n case 'installedDate': return this.utils.sort(a.installedDate, b.installedDate, isAsc);\r\n default: return 0;\r\n }\r\n });\r\n }\r\n\r\n validateShowMenu(): boolean {\r\n return this.hasPrivilege(PrivilegeEnum.EditRadMonitor) || this.hasPrivilege(PrivilegeEnum.CreateRadMonitorNote) || this.hasPrivilege(PrivilegeEnum.CreateRadMonitorFaultNote) || this.hasPrivilege(PrivilegeEnum.DeleteRadMonitor);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n EHS#\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Location Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Description\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Mfr\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Model\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Controller Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Reset Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Cal Due Date\r\n \r\n \r\n {{ element.calDueDate | date : \"shortDate\" }}\r\n \r\n \r\n\r\n \r\n \r\n Installed Date\r\n \r\n \r\n
\r\n {{ element.installedDate | date : \"shortDate\" }}\r\n
\r\n
\r\n
\r\n\r\n \r\n Notes \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n Options \r\n \r\n
\r\n \r\n more_vert\r\n \r\n \r\n \r\n edit\r\n Edit\r\n \r\n\r\n \r\n note_add\r\n Create Note\r\n \r\n\r\n \r\n note_add\r\n Create Fault Note\r\n \r\n\r\n \r\n delete\r\n Delete\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n 992 ? tableWidth : null\"\r\n [ngClass]=\"{\r\n 'p-0': true,\r\n 'fixed-head-monitor': headerOnTop && innerWidth > 992,\r\n 'sticky-headers': innerWidth < 992\r\n }\"\r\n *matHeaderRowDef=\"displayedColumnsRadMonitor; sticky: true\"\r\n >\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, ElementRef, HostListener, Injector, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Document } from '../../../services/documents/documents';\r\nimport { RadMonitorSettingsComponent } from './settings/settings.component';\r\nimport { RadMonitorLocationTabComponent } from './location-tab/location-tab.component';\r\nimport { RadMonitorTabComponent } from './monitor-tab/monitor-tab.component';\r\n\r\n@Component({\r\n selector: 'app-rad-monitor',\r\n templateUrl: './rad-monitor.component.html',\r\n styleUrls: ['./rad-monitor.component.scss']\r\n})\r\nexport class RadMonitorComponent extends BaseComponent {\r\n\r\n @ViewChild(RadMonitorTabComponent) monitors?: RadMonitorTabComponent;\r\n @ViewChild(RadMonitorLocationTabComponent) locations?: RadMonitorLocationTabComponent;\r\n\r\n links = [{ id: 0, name: 'Rad Monitor Schedule & Inventory' }, { id: 1, name: 'Locations' }];\r\n selectedTab: number = 0;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n loadingMessage!: string;\r\n\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Rad Monitor Catalog';\r\n this.checkPrivileges();\r\n }\r\n\r\n onTabChanged(link: any) {\r\n this.selectedTab = link.id;\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n this.monitors?.monitorDialog();\r\n }\r\n\r\n createLocation() {\r\n this.locations?.locationDialog();\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n settings() {\r\n const settings = this.dialog.open(RadMonitorSettingsComponent, {\r\n width: \"50vw\", height: '65vh', disableClose: true,\r\n });\r\n settings.afterClosed().subscribe(() => { });\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n checkPrivileges() {\r\n\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 1000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create Rad Monitor\r\n add_box\r\n \r\n\r\n \r\n Create Location\r\n add_box\r\n \r\n\r\n \r\n Settings\r\n settings\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { RadMonitorComponent } from './rad-monitor.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { RadMonitorSettingsComponent } from './settings/settings.component';\r\nimport { RadMonitorAddEditPrivilegeComponent } from './settings/add-edit-privilege/add-edit-privilege.component';\r\nimport { RadMonitorAddEditLocationComponent } from './dialogs/add-edit-location/add-edit-location.component';\r\nimport { RadMonitorAddEditRadLocationTypeComponent } from './settings/add-edit-rad-location-type/add-edit-rad-location-type.component';\r\nimport { RadMonitorAddEditRadInterlockComponent } from './settings/add-edit-rad-interlock/add-edit-rad-interlock.component';\r\nimport { RadMonitorTabComponent } from './monitor-tab/monitor-tab.component';\r\nimport { RadNoteComponent } from './dialogs/add-rad-note/add-rad-note.component';\r\nimport { RadMonitorAddEditMonitorComponent } from './monitor-tab/add-edit-monitor/add-edit-monitor.component';\r\nimport { RadMonitorLocationTabComponent } from './location-tab/location-tab.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n RadMonitorComponent,\r\n RadMonitorTabComponent,\r\n RadMonitorAddEditMonitorComponent,\r\n RadMonitorSettingsComponent,\r\n RadMonitorAddEditPrivilegeComponent,\r\n RadMonitorAddEditLocationComponent,\r\n RadMonitorAddEditRadLocationTypeComponent,\r\n RadMonitorAddEditRadInterlockComponent,\r\n RadNoteComponent,\r\n\r\n RadMonitorLocationTabComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n DatePipe,\r\n MatToolbarModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ]\r\n})\r\nexport class RadMonitorModule { }\r\n","import { RadLocationInterlockRelation } from './rad-location-interlock-relation';\r\nimport { RadNote } from './rad-note';\r\nimport { RadMonitor } from './rad-monitor';\r\nimport { RadLocationType } from './rad-location-type';\r\nimport { Note } from '../../../../services/notes/note.model';\r\n\r\nexport class RadLocation {\r\n id?: number;\r\n name?: string;\r\n typeId?: number;\r\n rpixName?: string;\r\n description?: string;\r\n controllerLocation?: string;\r\n controllerPower?: string;\r\n resetLocation?: string;\r\n summation?: string;\r\n tripset?: number;\r\n tripsetA1?: number;\r\n tripsetI1?: number;\r\n radLocationType?: RadLocationType;\r\n radLocationInterlockRelations?: RadLocationInterlockRelation[];\r\n radNotes?: RadNote[];\r\n interlockNames?: string;\r\n normalNotes?: RadNote[];\r\n faultNotes?: RadNote[];\r\n isEMShop?: boolean;\r\n radMonitors?: RadMonitor[];\r\n type?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n\r\n notes?: Note[];\r\n notesf?: Note[];\r\n}\r\n","import { Note } from \"../../../../services/notes/note.model\";\r\nimport { RadLocation } from \"./rad-location\";\r\nimport { RadMonitorDescription } from \"./rad-monitor-description\";\r\nimport { RadMonitorType } from \"./rad-monitor-type\";\r\nimport { RadNote, RadNoteSaveResource } from \"./rad-note\";\r\n\r\nexport class RadMonitor {\r\n id?: number;\r\n ehs?: string;\r\n typeId?: number;\r\n descriptionId?: number;\r\n mfr?: string;\r\n model?: string;\r\n radLocationID?: number;\r\n calDueDate?: Date | null;\r\n installedDate?: Date;\r\n radMonitorType?: RadMonitorType;\r\n radMonitorDescription?: RadMonitorDescription;\r\n radLocation?: RadLocation | null;\r\n radNotes?: RadNote[];\r\n normalNotes?: RadNote[];\r\n faultNotes?: RadNote[];\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n\r\n notes?: Note[];\r\n notesf?: Note[];\r\n type?: number | null;\r\n status?: CalDueDateStatus;\r\n cssClass?: string;\r\n}\r\n\r\nexport interface RadMonitorSaveResource {\r\n id: number;\r\n changeOutReason: string;\r\n faultNote: RadNoteSaveResource | null;\r\n}\r\n\r\nexport enum CalDueDateStatus {\r\n Good = 0,\r\n CloseToExpire = 1,\r\n Expired = 2\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RadInterlock } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-interlock';\r\nimport { RadLocationInterlockRelation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-interlock-relation';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadInterlockService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/RadInterlock';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n GetRadInterlocks(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetRadInterlockRelations(): Observable {\r\n return this.http.get(this.api + '/Relations');\r\n }\r\n\r\n GetRadInterlockById(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n CreateRadInterlock(radInterlock: RadInterlock): Observable {\r\n return this.http.post(this.api, radInterlock);\r\n }\r\n\r\n UpdateRadInterlock(id: number, radInterlock: RadInterlock): Observable {\r\n return this.http.put(this.api + '/' + id, radInterlock);\r\n }\r\n\r\n UpdateRadInterlocks(radInterlocks: RadInterlock[]): Observable {\r\n return this.http.patch(this.api, radInterlocks);\r\n }\r\n\r\n DeleteRadInterlock(id: number) {\r\n return this.http.delete(this.api + '/' + id);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RadLocationType } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-type';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadLocationTypeService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/RadLocationType';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n GetRadLocationTypes(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetRadLocationTypeById(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n CreateRadLocationType(radLocationType: RadLocationType): Observable {\r\n return this.http.post(this.api, radLocationType);\r\n }\r\n\r\n UpdateRadLocationType(id: number, radLocationType: RadLocationType): Observable {\r\n return this.http.put(this.api + '/' + id, radLocationType);\r\n }\r\n\r\n UpdateRadLocationTypes(radLocationTypes: RadLocationType[]): Observable {\r\n return this.http.patch(this.api, radLocationTypes);\r\n }\r\n\r\n DeleteRadLocationType(id: number) {\r\n return this.http.delete(this.api + '/' + id);\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadLocationService {\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n public api: string = environment.urls.baseApiUrl + '/RadLocation';\r\n\r\n GetRadLocations(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetRadLocationById(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n CreateRadLocation(radLocation: RadLocation): Observable {\r\n return this.http.post(this.api, radLocation);\r\n }\r\n\r\n UpdateRadLocation(id: number, radLocation: RadLocation): Observable {\r\n return this.http.put(this.api + '/' + id, radLocation);\r\n }\r\n\r\n DeleteRadLocation(id: number) {\r\n return this.http.delete(this.api + '/' + id);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { WFSectionLocalResource, WfTaskLocalResource } from '../../../../services/work-flow/work-flow';\r\nimport { RadMonitor, RadMonitorSaveResource } from '../rad-monitor/rad-monitor';\r\nimport { ComponentType } from 'src/app/common/enumerations/enumerations';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\nimport { utils } from '../../../../modules/libs/utils';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadMonitorService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/RadMonitor';\r\n\r\n public incomingMonitor: BehaviorSubject;\r\n public outgoingMonitor: BehaviorSubject;\r\n\r\n public incomingMonitorValue?: RadMonitor | null;\r\n public outgoingMonitorValue?: RadMonitor | null;\r\n\r\n public incomingSigned?: boolean;\r\n public outgoingSigned?: boolean;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private placeholdersService: PlaceholdersService\r\n ) {\r\n this.incomingMonitor = new BehaviorSubject(null);\r\n this.outgoingMonitor = new BehaviorSubject(null);\r\n }\r\n\r\n GetRadMonitors(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetRadMonitorById(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n CreateRadMonitor(radMonitor: RadMonitor): Observable {\r\n return this.http.post(this.api, radMonitor);\r\n }\r\n\r\n UpdateRadMonitor(id: number, radMonitor: RadMonitor): Observable {\r\n return this.http.put(this.api + '/' + id, radMonitor);\r\n }\r\n\r\n SwapRadMonitors(inId: number, outgoingMonitor: RadMonitorSaveResource): Observable {\r\n return this.http.put(this.api + '/Swap/' + inId, outgoingMonitor);\r\n }\r\n\r\n DeleteRadMonitor(id: number) {\r\n return this.http.delete(this.api + '/' + id);\r\n }\r\n\r\n findRadMonitor(sections: WFSectionLocalResource[], type: string) {\r\n let task: WfTaskLocalResource = new WfTaskLocalResource();\r\n sections.map(x => {\r\n x.wfStepLocals?.map(s => {\r\n s.wfTaskLocals.map(t => {\r\n if (type == 'IN' && t.componentID == ComponentType.RadMonitorIncoming) {\r\n task = t;\r\n }\r\n if (type == 'OUT' && t.componentID == ComponentType.RadMonitorOutgoing) {\r\n task = t;\r\n }\r\n });\r\n });\r\n });\r\n if (task) {\r\n const text = task.text as string;\r\n const storedValues = utils.JSONparse(text);\r\n let values: any[] = [];\r\n if (storedValues)\r\n values = utils.JSONparse(storedValues[0].stringValue);\r\n return values;\r\n }\r\n return null;\r\n }\r\n\r\n getIncomingMonitor(): Observable {\r\n return this.incomingMonitor.asObservable();\r\n }\r\n\r\n setIncomingMonitor(value: RadMonitor) {\r\n this.incomingMonitorValue = value;\r\n this.incomingMonitor.next(value);\r\n }\r\n\r\n getOutgoingMonitor(): Observable {\r\n return this.outgoingMonitor.asObservable();\r\n }\r\n\r\n setOutgoingMonitor(value: RadMonitor) {\r\n this.outgoingMonitorValue = value;\r\n this.outgoingMonitor.next(value);\r\n }\r\n\r\n setKeyValuePairs(sections: WFSectionLocalResource[]) {\r\n const values = this.findRadMonitor(sections, 'OUT');\r\n const monitor = values?.find((r: any) => r.key == 'monitor')?.val as RadMonitor;\r\n this.placeholdersService.setKeyValuePairs(monitor).then(() => {\r\n return;\r\n });\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RadNote } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-note';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadNoteService {\r\n\r\n public api: string = environment.urls.baseApiUrl + '/RadNote';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n GetRadNotes(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n GetRadNoteById(id: number): Observable {\r\n return this.http.get(this.api + '/' + id);\r\n }\r\n\r\n CreateRadNote(radNote: RadNote): Observable {\r\n return this.http.post(this.api, radNote);\r\n }\r\n\r\n UpdateRadNote(id: number, radNote: RadNote): Observable {\r\n return this.http.put(this.api + '/' + id, radNote);\r\n }\r\n\r\n DeleteRadNote(id: number) {\r\n return this.http.delete(this.api + '/' + id);\r\n }\r\n}\r\n","import { ENTER, TAB } from '@angular/cdk/keycodes';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\nimport { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { Placeholder } from 'src/app/components/checklists/checklists';\r\nimport { RolePrivilegeService } from 'src/app/services/role-privilege/role-privilege.service';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\n\r\n@Component({\r\n selector: 'rad-monitor-add-edit-privilege',\r\n templateUrl: './add-edit-privilege.component.html',\r\n styleUrls: ['./add-edit-privilege.component.scss']\r\n})\r\nexport class RadMonitorAddEditPrivilegeComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n rolePrivileges?: RolePrivilege[];\r\n rolePrivilegesFiltered?: RolePrivilege[];\r\n rolePrivileges$!: Observable;\r\n rolePrivilegesSubs!: Subscription;\r\n\r\n roles?: Role[];\r\n rolesFiltered?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n public radMonitorPrivileges: PrivilegeManagement[] = [];\r\n\r\n public loading = false;\r\n public saving = false;\r\n\r\n public selectable = true;\r\n public removable = true;\r\n public addOnBlur = true;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private rolePrivilegeService: RolePrivilegeService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRoles();\r\n this.loadRolePrivileges();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe()\r\n this.rolePrivilegesSubs?.unsubscribe();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data?.length) {\r\n this.roles = data;\r\n this.rolesFiltered = data;\r\n }\r\n });\r\n }\r\n\r\n loadRolePrivileges() {\r\n this.rolePrivileges$ = this.store.select(state => state.RolePrivileges.data);\r\n this.rolePrivilegesSubs = this.rolePrivileges$.subscribe(data => {\r\n if (data?.length) {\r\n this.rolePrivileges = data;\r\n this.getRadMonitorPrivileges();\r\n }\r\n });\r\n }\r\n\r\n getRadMonitorPrivileges() {\r\n this.radMonitorPrivileges.push({ name: 'Create Rad Monitor', privilegeId: 79, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 79) });\r\n this.radMonitorPrivileges.push({ name: 'Edit Rad Monitor', privilegeId: 115, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 115).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Delete Rad Monitor', privilegeId: 117, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 117).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create And Edit Rad Monitor Type', privilegeId: 80, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 80).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create And Edit Rad Monitor Description', privilegeId: 81, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 81).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create Rad Location', privilegeId: 82, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 82).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Edit Rad Location', privilegeId: 116, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 116).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Delete Rad Location', privilegeId: 118, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 118).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create And Edit Rad Location Type', privilegeId: 83, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 83).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create And Edit Rad Location Interlock', privilegeId: 84, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 84).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create Rad Monitor Note', privilegeId: 85, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 85).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create Rad Location Note', privilegeId: 86, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 86).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Create Rad Monitor Fault Note', privilegeId: 112, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 112).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Delete Rad Monitor Note', privilegeId: 113, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 113).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Delete Rad Location Note', privilegeId: 114, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 114).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Delete Rad Monitor FaultNote', privilegeId: 152, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 152).filter(x => x.roleID) });\r\n this.radMonitorPrivileges.push({ name: 'Add RadLocation EMShop', privilegeId: 153, rolePrivileges: this.rolePrivileges?.filter(x => x.privilege === 153).filter(x => x.roleID) });\r\n this.loading = false;\r\n }\r\n\r\n\r\n selected(role: Role, privilegeId: number): void {\r\n this.saving = true;\r\n const rolePrivilege: RolePrivilege = {\r\n roleID: role.id,\r\n privilege: privilegeId,\r\n role: new Role()\r\n };\r\n this.rolePrivilegeService.createRolePrivilege(rolePrivilege).toPromise()\r\n .then(rolePrivilegeCreated => {\r\n if (rolePrivilegeCreated)\r\n this.radMonitorPrivileges.find(x => x.privilegeId === privilegeId)?.rolePrivileges?.push(rolePrivilegeCreated);\r\n this.saving = false;\r\n })\r\n .catch((error: HttpErrorResponse) => {\r\n if (error.status === 409) {\r\n this.alert.message('RadPrivilege_AlreadyAdded', [new MessagePlaceholder('{what}', error.error)]);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n this.saving = false;\r\n });\r\n }\r\n\r\n remove(rolePrivilege: RolePrivilege, privilegeId: number): void {\r\n this.saving = true;\r\n const radMonitorPrivilege = this.radMonitorPrivileges.find(x => x.privilegeId === privilegeId);\r\n const index = radMonitorPrivilege?.rolePrivileges?.findIndex(x => x.id === rolePrivilege.id) ?? -1;\r\n if (index >= 0 && rolePrivilege.id) {\r\n this.rolePrivilegeService.deleteRolePrivilege(rolePrivilege.id).toPromise()\r\n .then(() => {\r\n radMonitorPrivilege?.rolePrivileges?.splice(index, 1);\r\n this.saving = false;\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n this.saving = false;\r\n });\r\n }\r\n }\r\n\r\n applyFilter(e: any) {\r\n const filterValue = e.target.value;\r\n this.rolesFiltered = this.roles?.filter(x => x.name?.toLocaleLowerCase().includes(filterValue.toLocaleLowerCase()) || x.code?.toLowerCase().includes(filterValue.toLowerCase()));\r\n }\r\n\r\n}\r\n\r\nclass PrivilegeManagement {\r\n name!: string;\r\n privilegeId!: number;\r\n rolePrivileges?: RolePrivilege[];\r\n}\r\n","\r\n
\r\n
\r\n
{{ radMonitorPrivilege.name }}
\r\n
\r\n \r\n Roles\r\n \r\n \r\n {{ rolePrivilege?.role?.code }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ role.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Injector, OnInit } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { RadLocationTypeService } from '../../services/rad-location-type.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RadInterlock } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-interlock';\r\nimport { RadLocationInterlockRelation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-interlock-relation';\r\nimport { RadInterlockService } from '../../services/rad-interlock.service';\r\n\r\n\r\n@Component({\r\n selector: 'rad-monitor-add-edit-rad-interlock',\r\n templateUrl: './add-edit-rad-interlock.component.html',\r\n styleUrls: ['./add-edit-rad-interlock.component.scss']\r\n})\r\nexport class RadMonitorAddEditRadInterlockComponent extends BaseComponent implements OnInit {\r\n\r\n radInterlocks?: RadInterlock[];\r\n radInterlocksFiltered?: RadInterlock[];\r\n radInterlocks$!: Observable;\r\n radInterlocksSubs!: Subscription;\r\n\r\n radLocationInterlockRelations?: RadLocationInterlockRelation[];\r\n radLocationInterlockRelationsFiltered?: RadLocationInterlockRelation[];\r\n radLocationInterlockRelations$!: Observable;\r\n radLocationInterlockRelationsSubs!: Subscription;\r\n\r\n public displayedColumnsRadManagement: string[] = ['name', 'options'];\r\n public dataSourceRadManagement: MatTableDataSource = new MatTableDataSource();\r\n\r\n public name!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: RadInterlockService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRadLocationInterlockRelations();\r\n }\r\n\r\n loadRadInterlocks() {\r\n this.radInterlocks$ = this.store.select(state => state.RadInterlock.data);\r\n this.radInterlocksSubs = this.radInterlocks$.subscribe(data => {\r\n if (data?.length) {\r\n this.radInterlocks = data;\r\n this.radInterlocks?.map(t => {\r\n t.deleteDisabled = this.radLocationInterlockRelations?.some(l => l.radInterlockId == t.id);\r\n t.preName = t.name;\r\n });\r\n this.dataSourceRadManagement = new MatTableDataSource(this.radInterlocks);\r\n }\r\n });\r\n }\r\n\r\n loadRadLocationInterlockRelations() {\r\n this.radLocationInterlockRelations$ = this.store.select(state => state.RadLocationInterlockRelation.data);\r\n this.radLocationInterlockRelationsSubs = this.radLocationInterlockRelations$.subscribe(data => {\r\n if (data?.length) {\r\n this.radLocationInterlockRelations = data;\r\n this.loadRadInterlocks();\r\n }\r\n });\r\n }\r\n\r\n create() {\r\n if (this.name) {\r\n const radManagement: RadManagement = {\r\n name: this.name,\r\n preName: this.name,\r\n editing: false\r\n };\r\n this.service.CreateRadInterlock(radManagement).toPromise();\r\n } else {\r\n this.alert.message('RadManagement_NotBlank', [new MessagePlaceholder('{what}', 'Interlock')]);\r\n }\r\n }\r\n\r\n saveChanges(radManagement: RadManagement) {\r\n if (radManagement.name && radManagement.id) {\r\n radManagement.name = radManagement.preName;\r\n this.service.UpdateRadInterlock(radManagement.id, radManagement).toPromise();\r\n radManagement.editing = false;\r\n } else {\r\n this.alert.message('RadManagement_NotBlank', [new MessagePlaceholder('{what}', 'Interlock')]);\r\n }\r\n }\r\n\r\n delete(radManagement: RadManagement) {\r\n const dialog = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: 'Are you sure you want to Delete ' + radManagement.name + ' ?'\r\n , icon: \"question\",\r\n },\r\n });\r\n dialog.afterClosed().subscribe(async (data) => {\r\n if (data && radManagement.id) {\r\n this.service.DeleteRadInterlock(radManagement.id).toPromise();\r\n }\r\n });\r\n }\r\n\r\n setEditing(radManagement: RadManagement) {\r\n this.dataSourceRadManagement.data.map(x => {\r\n x.editing = false;\r\n });\r\n radManagement.editing = true;\r\n }\r\n\r\n discardChanges(radManagement: RadManagement) {\r\n radManagement.preName = radManagement.name;\r\n radManagement.preDefaultValue = radManagement.defaultValue;\r\n radManagement.editing = false;\r\n }\r\n\r\n}\r\n\r\nclass RadManagement {\r\n id?: number;\r\n name?: string;\r\n preName?: string;\r\n status?: number;\r\n editing?: boolean;\r\n defaultValue?: string;\r\n preDefaultValue?: string;\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Interlock\r\n \r\n
{{ element.name }}
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n Model Default Value\r\n \r\n
{{ element.defaultValue }}
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n \r\n clear\r\n \r\n \r\n edit\r\n \r\n \r\n save\r\n \r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n","import { Component, Injector, OnInit } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { RadLocationType } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-type';\r\nimport { RadLocationTypeService } from '../../services/rad-location-type.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\n\r\n\r\n@Component({\r\n selector: 'rad-monitor-add-edit-rad-location-type',\r\n templateUrl: './add-edit-rad-location-type.component.html',\r\n styleUrls: ['./add-edit-rad-location-type.component.scss']\r\n})\r\nexport class RadMonitorAddEditRadLocationTypeComponent extends BaseComponent implements OnInit {\r\n\r\n radLocationType?: RadLocationType;\r\n radLocationTypes?: RadLocationType[];\r\n radLocationTypesFiltered?: RadLocationType[];\r\n radLocationTypes$!: Observable;\r\n radLocationTypesSubs!: Subscription;\r\n\r\n radLocations?: RadLocation[];\r\n radLocationsFiltered?: RadLocation[];\r\n radLocations$!: Observable;\r\n radLocationsSubs!: Subscription;\r\n\r\n public displayedColumnsRadManagement: string[] = ['name', 'options'];\r\n public dataSourceRadManagement: MatTableDataSource = new MatTableDataSource();\r\n\r\n public name!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: RadLocationTypeService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRadLocations();\r\n }\r\n\r\n loadRadLocationTypes() {\r\n this.radLocationTypes$ = this.store.select(state => state.RadLocationType.data);\r\n this.radLocationTypesSubs = this.radLocationTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.radLocationTypes = data;\r\n this.radLocationTypes?.map(t => {\r\n t.deleteDisabled = this.radLocations?.some(l => l.typeId == t.id);\r\n t.preName = t.name;\r\n });\r\n this.dataSourceRadManagement = new MatTableDataSource(this.radLocationTypes);\r\n }\r\n });\r\n }\r\n\r\n loadRadLocations() {\r\n this.radLocations$ = this.store.select(state => state.RadLocation.data);\r\n this.radLocationsSubs = this.radLocations$.subscribe(data => {\r\n if (data?.length) {\r\n this.radLocations = data;\r\n this.loadRadLocationTypes();\r\n }\r\n });\r\n }\r\n\r\n create() {\r\n if (this.name) {\r\n const radManagement: RadManagement = {\r\n name: this.name,\r\n preName: this.name,\r\n editing: false\r\n };\r\n this.service.CreateRadLocationType(radManagement).toPromise();\r\n } else {\r\n this.alert.message('RadManagement_NotBlank', [new MessagePlaceholder('{what}', 'Type')]);\r\n }\r\n }\r\n\r\n saveChanges(radManagement: RadManagement) {\r\n if (radManagement.name && radManagement.id) {\r\n radManagement.name = radManagement.preName;\r\n this.service.UpdateRadLocationType(radManagement.id, radManagement).toPromise();\r\n radManagement.editing = false;\r\n } else {\r\n this.alert.message('RadManagement_NotBlank', [new MessagePlaceholder('{what}', 'Type')]);\r\n }\r\n }\r\n\r\n delete(radManagement: RadManagement) {\r\n const dialog = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: 'Are you sure you want to Delete ' + radManagement.name + ' ?'\r\n , icon: \"question\",\r\n },\r\n });\r\n dialog.afterClosed().subscribe(async (data) => {\r\n if (data && radManagement.id) {\r\n this.service.DeleteRadLocationType(radManagement.id).toPromise();\r\n }\r\n });\r\n }\r\n\r\n setEditing(radManagement: RadManagement) {\r\n this.dataSourceRadManagement.data.map(x => {\r\n x.editing = false;\r\n });\r\n radManagement.editing = true;\r\n }\r\n\r\n discardChanges(radManagement: RadManagement) {\r\n radManagement.preName = radManagement.name;\r\n radManagement.preDefaultValue = radManagement.defaultValue;\r\n radManagement.editing = false;\r\n }\r\n\r\n}\r\n\r\nclass RadManagement {\r\n id?: number;\r\n name?: string;\r\n preName?: string;\r\n status?: number;\r\n editing?: boolean;\r\n defaultValue?: string;\r\n preDefaultValue?: string;\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Type\r\n \r\n
{{ element.name }}
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n Model Default Value\r\n \r\n
{{ element.defaultValue }}
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n \r\n clear\r\n \r\n \r\n edit\r\n \r\n \r\n save\r\n \r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n","import { Component, Injector } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'app-settings',\r\n templateUrl: './settings.component.html',\r\n styleUrls: ['./settings.component.scss']\r\n})\r\nexport class RadMonitorSettingsComponent extends BaseComponent {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef\r\n ) {\r\n super(injector);\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n Settings\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { RadLocationInterlockRelation } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-interlock-relation\";\r\n\r\nexport class RadLocationInterlockRelationRefresh {\r\n static readonly type = '[RadLocationInterlockRelation] Refresh';\r\n}\r\n\r\nexport class RadLocationInterlockRelationCreate {\r\n static readonly type = '[RadLocationInterlockRelation] Create';\r\n constructor(public item: RadLocationInterlockRelation) { }\r\n}\r\n\r\nexport class RadLocationInterlockRelationUpdate {\r\n static readonly type = '[RadLocationInterlockRelation] Update';\r\n constructor(public id: number, public item: RadLocationInterlockRelation) { }\r\n}\r\n\r\nexport class RadLocationInterlockRelationDelete {\r\n static readonly type = '[RadLocationInterlockRelation] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RadLocationInterlockRelationRefresh, RadLocationInterlockRelationCreate, RadLocationInterlockRelationUpdate, RadLocationInterlockRelationDelete } from './rad-interlock-relation.action';\r\nimport { RadInterlockService } from '../../services/rad-interlock.service';\r\nimport { RadLocationInterlockRelation } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-interlock-relation\";\r\n\r\nexport class RadLocationInterlockRelationStateModel {\r\n data: RadLocationInterlockRelation[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RadLocationInterlockRelation',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RadLocationInterlockRelationState {\r\n constructor(\r\n private radLocationInterlockRelationService: RadInterlockService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RadLocationInterlockRelationStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RadLocationInterlockRelationRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.radLocationInterlockRelationService.GetRadInterlockRelations().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RadLocationInterlockRelationCreate)\r\n create({ getState, patchState }: StateContext, { item }: RadLocationInterlockRelationCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RadLocationInterlockRelationUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RadLocationInterlockRelationUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(RadLocationInterlockRelationDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RadLocationInterlockRelationDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RadLocationInterlockRelationActions from './rad-interlock-relation.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadLocationInterlockRelationStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RadLocationInterlockRelationActions.RadLocationInterlockRelationRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RADINTERLOCKRELATION, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RadLocationInterlockRelationActions.RadLocationInterlockRelationCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RadLocationInterlockRelationActions.RadLocationInterlockRelationUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RadLocationInterlockRelationActions.RadLocationInterlockRelationDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RadLocationInterlockRelationActions.RadLocationInterlockRelationRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { RadInterlock } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-interlock\";\r\n\r\nexport class RadInterlockRefresh {\r\n static readonly type = '[RadInterlock] Refresh';\r\n}\r\n\r\nexport class RadInterlockCreate {\r\n static readonly type = '[RadInterlock] Create';\r\n constructor(public item: RadInterlock) { }\r\n}\r\n\r\nexport class RadInterlockUpdate {\r\n static readonly type = '[RadInterlock] Update';\r\n constructor(public id: number, public item: RadInterlock) { }\r\n}\r\n\r\nexport class RadInterlockDelete {\r\n static readonly type = '[RadInterlock] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RadInterlockRefresh, RadInterlockCreate, RadInterlockUpdate, RadInterlockDelete } from './rad-interlock.action';\r\nimport { RadInterlock } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-interlock';\r\nimport { RadInterlockService } from '../../services/rad-interlock.service';\r\n\r\nexport class RadInterlockStateModel {\r\n data: RadInterlock[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RadInterlock',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RadInterlockState {\r\n constructor(\r\n private radInterlockService: RadInterlockService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RadInterlockStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RadInterlockRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.radInterlockService.GetRadInterlocks().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RadInterlockCreate)\r\n create({ getState, patchState }: StateContext, { item }: RadInterlockCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RadInterlockUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RadInterlockUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(RadInterlockDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RadInterlockDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RadInterlockActions from './rad-interlock.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadInterlockStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RadInterlockActions.RadInterlockRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RADINTERLOCK, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RadInterlockActions.RadInterlockCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RadInterlockActions.RadInterlockUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RadInterlockActions.RadInterlockDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RadInterlockActions.RadInterlockRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { RadLocationType } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-type\";\r\n\r\nexport class RadLocationTypeRefresh {\r\n static readonly type = '[RadLocationType] Refresh';\r\n}\r\n\r\nexport class RadLocationTypeCreate {\r\n static readonly type = '[RadLocationType] Create';\r\n constructor(public item: RadLocationType) { }\r\n}\r\n\r\nexport class RadLocationTypeUpdate {\r\n static readonly type = '[RadLocationType] Update';\r\n constructor(public id: number, public item: RadLocationType) { }\r\n}\r\n\r\nexport class RadLocationTypeDelete {\r\n static readonly type = '[RadLocationType] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RadLocationTypeRefresh, RadLocationTypeCreate, RadLocationTypeUpdate, RadLocationTypeDelete } from './rad-location-type.action';\r\nimport { RadLocationType } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location-type';\r\nimport { RadLocationTypeService } from '../../services/rad-location-type.service';\r\n\r\nexport class RadLocationTypeStateModel {\r\n data: RadLocationType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RadLocationType',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RadLocationTypeState {\r\n constructor(\r\n private radLocationTypeService: RadLocationTypeService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RadLocationTypeStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RadLocationTypeRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.radLocationTypeService.GetRadLocationTypes().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RadLocationTypeCreate)\r\n create({ getState, patchState }: StateContext, { item }: RadLocationTypeCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RadLocationTypeUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RadLocationTypeUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(RadLocationTypeDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RadLocationTypeDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RadLocationTypeActions from './rad-location-type.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadLocationTypetoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RadLocationTypeActions.RadLocationTypeRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RADLOCATIONTYPE, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RadLocationTypeActions.RadLocationTypeCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RadLocationTypeActions.RadLocationTypeUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RadLocationTypeActions.RadLocationTypeDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RadLocationTypeActions.RadLocationTypeRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { RadLocation } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-location\";\r\n\r\nexport class RadLocationRefresh {\r\n static readonly type = '[RadLocation] Refresh';\r\n}\r\n\r\nexport class RadLocationCreate {\r\n static readonly type = '[RadLocation] Create';\r\n constructor(public item: RadLocation) { }\r\n}\r\n\r\nexport class RadLocationUpdate {\r\n static readonly type = '[RadLocation] Update';\r\n constructor(public id: number, public item: RadLocation) { }\r\n}\r\n\r\nexport class RadLocationDelete {\r\n static readonly type = '[RadLocation] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RadLocationCreate, RadLocationDelete, RadLocationRefresh, RadLocationUpdate } from './rad-location.action';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { RadLocationService } from '../../services/rad-location.service';\r\n\r\nexport class RadLocationStateModel {\r\n data: RadLocation[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RadLocation',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RadLocationState {\r\n constructor(\r\n private radLocationService: RadLocationService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RadLocationStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RadLocationRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.radLocationService.GetRadLocations().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RadLocationCreate)\r\n create({ getState, patchState }: StateContext, { item }: RadLocationCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RadLocationUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RadLocationUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(RadLocationDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RadLocationDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RadLocationActions from './rad-location.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadLocationStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RadLocationActions.RadLocationRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RADLOCATION, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RadLocationActions.RadLocationCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RadLocationActions.RadLocationUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RadLocationActions.RadLocationDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RadLocationActions.RadLocationRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { RadMonitor } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor\";\r\n\r\nexport class RadMonitorRefresh {\r\n static readonly type = '[RadMonitor] Refresh';\r\n}\r\n\r\nexport class RadMonitorCreate {\r\n static readonly type = '[RadMonitor] Create';\r\n constructor(public item: RadMonitor) { }\r\n}\r\n\r\nexport class RadMonitorUpdate {\r\n static readonly type = '[RadMonitor] Update';\r\n constructor(public id: number, public item: RadMonitor) { }\r\n}\r\n\r\nexport class RadMonitorDelete {\r\n static readonly type = '[RadMonitor] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RadMonitorCreate, RadMonitorDelete, RadMonitorRefresh, RadMonitorUpdate } from './rad-monitor.action';\r\nimport { RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { RadMonitorService } from 'src/app/components/catalogs/rad-monitor/services/rad-monitor.service';\r\n\r\nexport class RadMonitorStateModel {\r\n data: RadMonitor[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RadMonitor',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RadMonitorState {\r\n constructor(\r\n private radMonitorService: RadMonitorService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RadMonitorStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RadMonitorRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.radMonitorService.GetRadMonitors().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RadMonitorCreate)\r\n create({ getState, patchState }: StateContext, { item }: RadMonitorCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RadMonitorUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RadMonitorUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({ data: state.data });\r\n }\r\n }\r\n\r\n @Action(RadMonitorDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RadMonitorDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RadMonitorActions from './rad-monitor.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadMonitorStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RadMonitorActions.RadMonitorRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RADMONITOR, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RadMonitorActions.RadMonitorCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RadMonitorActions.RadMonitorUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RadMonitorActions.RadMonitorDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RadMonitorActions.RadMonitorRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { UserRoleNote } from 'src/app/services/user-roles/user-role-note';\r\n// import { UserRoleNote } from 'src/app/_interface/UserRoleNote';\r\n\r\n@Component({\r\n selector: 'app-add-user-role-note-component',\r\n templateUrl: './add-user-role-note.component.html',\r\n styleUrls: ['./add-user-role-note.component.scss']\r\n})\r\nexport class AddUserRoleNoteComponent implements OnInit {\r\n\r\n formNote!: FormGroup;\r\n public get noteDescription(): AbstractControl | null { return this.formNote.get('description'); }\r\n public get noteId(): AbstractControl | null { return this.formNote.get('id'); }\r\n\r\n constructor(public formBuilder: FormBuilder, public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public note: UserRoleNote) { }\r\n\r\n ngOnInit(): void {\r\n this.formNote = this.formBuilder.group({\r\n description: [null, Validators.required],\r\n userId: [],\r\n id: [0]\r\n });\r\n this.initForm();\r\n }\r\n\r\n initForm() {\r\n if (this.note && this.noteDescription && this.noteId) {\r\n this.noteDescription.setValue(this.note.description)\r\n this.noteId.setValue(this.note.id)\r\n }\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n let desc = this.formNote.controls['description'].value as string;\r\n desc = desc.trim();\r\n if (desc === '' || desc == null) {\r\n this.formNote.controls['description'].setErrors({ required: true });\r\n return;\r\n }\r\n this.formNote.value.createdOn = new Date();\r\n let userRoleNote = this.formNote.value as UserRoleNote;\r\n this.dialogRef.close(userRoleNote);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n Note\r\n \r\n Description is required\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n
\r\n","import { CdkDropList, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';\r\nimport { Component, OnInit, Output, EventEmitter, OnDestroy, ViewChild, Input, OnChanges, SimpleChanges, ElementRef, Injector } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTable, MatTableDataSource } from '@angular/material/table';\r\nimport { MatTabGroup } from '@angular/material/tabs';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Catalog, Roles, ActionPendingCatalog } from 'src/app/common/enumerations/enumerations';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { APLCategoryRoleCatalog } from 'src/app/components/apl/services/apl-category-role-catalog.model';\r\nimport { APLGroupRoleCatalog } from 'src/app/components/apl/services/apl-group-role-catalog.model';\r\nimport { APLGroupRoleRoleCatalog } from 'src/app/components/apl/services/apl-group-role-role-catalog.model';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { CatalogModel } from 'src/app/components/catalogs/services/catalog-model';\r\nimport { ProcedureObligationType } from 'src/app/components/procedure/enums/procedure-obligation-type.enum';\r\nimport { ProcedureTraining } from 'src/app/components/procedure/models/procedure-training.model';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RolePrivilegePending } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { RoleService } from 'src/app/components/catalogs/roles/services/role.service';\r\nimport { UserRole } from 'src/app/services/user-roles/user-role';\r\nimport { UserRoleNote } from 'src/app/services/user-roles/user-role-note';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { ProcedureTrainingService } from 'src/app/components/procedure/services/procedure-training.service';\r\nimport { ProcedureTrainingRefresh } from 'src/app/components/procedure/store/procedure-training/procedure-training.action';\r\nimport { ProcedureTemplateMaster } from 'src/app/components/procedure/models/procedure-template-master.model';\r\nimport { DisapprovalReasonComponent } from 'src/app/controls/disapproval-reason/disapproval-reason.component';\r\nimport { RoleUserComponent } from '../role-user/role-user.component';\r\nimport { AddUserRoleNoteComponent } from '../add-user-role-note-component/add-user-role-note.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { ProcedureMaster } from 'src/app/components/procedure/models/procedure-master.model';\r\nimport { PendingApprovalsRefresh } from 'src/app/components/pending-approvals-v2/store/pending-approvals/pending-approvals.action';\r\nimport { RelatedLinkBase } from '../../navigation-links/link/related-link-base';\r\n\r\n@Component({\r\n selector: 'app-role-details',\r\n templateUrl: './role-details.component.html',\r\n styleUrls: ['./role-details.component.scss']\r\n})\r\nexport class RoleDetailsComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() role?: Role;\r\n @Output() refreshRoles = new EventEmitter();\r\n @Output() pending = new EventEmitter();\r\n @Output() restoreRole = new EventEmitter();\r\n @Output() roleCreated = new EventEmitter();\r\n\r\n @ViewChild('usersListTable') usersListTable!: MatTable;\r\n @ViewChild('usersList') usersList!: CdkDropList;\r\n @ViewChild('tabs') tabGroup!: MatTabGroup;\r\n @ViewChild('roleCode') roleCode!: ElementRef;\r\n\r\n modifyingRolePrivileges!: boolean;\r\n\r\n public userLogged!: User;\r\n catalog = Catalog;\r\n public catalogModel!: CatalogModel;\r\n\r\n public errorMsg: string[] = [];\r\n public oldRoleCode?: string;\r\n public oldRoleName?: string;\r\n\r\n public modifying = false;\r\n public modifyingAsPTC = false;\r\n public modifyingCatalogs: Catalog[] | null = [];\r\n public adding = false;\r\n public disabledFields!: boolean;\r\n public showTabRoles = false;\r\n public selectingUserRole = false;\r\n public valid!: boolean;\r\n public deleted = false;\r\n public isPC!: boolean;\r\n public modifyAvailable?: boolean;\r\n public isOnlyPTC? = false;\r\n public isModifiying!: boolean;\r\n public showCancelPending!: boolean;\r\n public showApproveUnapprove!: boolean;\r\n public showRoleModified!: boolean;\r\n public roleModified!: boolean;\r\n public fieldRepeatedRoleName!: boolean;\r\n public fieldRepeatedRoleCode!: boolean;\r\n public disabledStatus!: boolean;\r\n public showCancelButton!: boolean;\r\n public disabledTimer!: boolean;\r\n public statusInactive = false;\r\n public statusList: any = [{ name: 'Active', id: 1 }, { name: 'Inactive', id: 0 }];\r\n public displayedColumnsRoleUsers: string[] = ['name', 'notes'];\r\n public dataSourceRoleUsers: MatTableDataSource = new MatTableDataSource();\r\n public trainingColumns: string[] = ['procedure', 'obligation', 'delete'];\r\n procedureTraining$!: Observable;\r\n procedureTrainings!: ProcedureTraining[];\r\n procedureTrainingsRole?: ProcedureTraining[];\r\n pendingTrainings?: ProcedureTraining[] | null;\r\n procedureTrainingsDS!: MatTableDataSource;\r\n selectedProcedures?: (Procedure | undefined)[] = [];\r\n procedureTrainingAdmin?: boolean | null = false;\r\n dragEnabled = false;\r\n\r\n roles!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n procedures!: Procedure[];\r\n procedures$!: Observable;\r\n proceduresSubs!: Subscription;\r\n\r\n rolePrivilegesPending!: RolePrivilegePending[];\r\n\r\n notesList: UserRoleNote[] = [];\r\n\r\n tmpRoleCode?: string | null;\r\n tmpPerformingWork?: boolean;\r\n tmpTrainingRole?: boolean;\r\n tmpStatus?: number;\r\n tmpName?: string;\r\n tmpInformation?: string;\r\n\r\n originalRole?: Role;\r\n\r\n relatedLinks: RelatedLinkBase[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _roleService: RoleService,\r\n private _catalogService: CatalogService,\r\n private procedureTrainingService: ProcedureTrainingService,\r\n private tokenService: TokenInfoService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (!this.role) {\r\n this.role = new Role();\r\n this.clear();\r\n }\r\n else {\r\n this.getDetails();\r\n }\r\n this.setAvailableOptions();\r\n }\r\n\r\n ngOnInit() {\r\n this.role = new Role();\r\n this.store.dispatch(new ProcedureTrainingRefresh());\r\n this.clear();\r\n this.loadRoles();\r\n this.loadTrainings();\r\n this.loadProcedures();\r\n }\r\n\r\n loadTrainings() {\r\n this.procedureTraining$ = this.store.select(state => state.ProcedureTraining.data);\r\n this.procedureTraining$.subscribe((data: ProcedureTraining[]) => {\r\n if (data) {\r\n this.procedureTrainings = data.sort((a, b) => utils.sort(a.procedureMaster?.procedure?.procedureNumber, b.procedureMaster?.procedure?.procedureNumber, true));\r\n this.setTrainingDS();\r\n }\r\n });\r\n this.procedureTrainingAdmin = this.tokenService.hasPrivilege(PrivilegeEnum.ALSProcedureTrainingAdmin);\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.proceduresSubs = this.procedures$.subscribe(data => {\r\n if (data?.length) {\r\n this.procedures = data;\r\n }\r\n });\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n if (this.role?.id) {\r\n this.role = this.roles.find(x => x.id == this.role?.id);\r\n this.getDetails();\r\n }\r\n });\r\n }\r\n\r\n getDetails() {\r\n this.modifyingCatalogs = [];\r\n this.roleModified = false;\r\n this.tabGroup.selectedIndex = 0;\r\n if (!this.role) { this.role = new Role(); }\r\n this.role.aplGroupRole = this.role?.aplGroupRole ?? new APLGroupRoleRoleCatalog();\r\n this.clear();\r\n\r\n this.tmpRoleCode = this.role.code;\r\n this.tmpPerformingWork = this.role.performingWork;\r\n this.tmpTrainingRole = this.role.trainingRole;\r\n this.tmpStatus = this.role.status;\r\n this.tmpName = this.role.name;\r\n this.tmpInformation = this.role.information;\r\n this.relatedLinks = this.utils.JSONparse(this.role.relatedLinks);\r\n\r\n if ((this.role?.id ?? 0) < 0) {\r\n this._catalogService.GetPendingCatalogById(this.role.id ?? 0, Catalog.Roles).toPromise().then(result => {\r\n if (result?.role) {\r\n result.role.aplGroupRole = result.role.aplGroupRole ?? new APLGroupRoleRoleCatalog();\r\n this.role = result.role as Role;\r\n this.dataSourceRoleUsers.data = result.role.userRole as UserRole[];\r\n this.isModifiying = true;\r\n this.showApproveUnapprove = this.getCurrentUser()?.id != this.role.createdBy;\r\n this.showCancelButton = true;\r\n this.role.createdByUser = this.getUsers().find(x => x.id == this.role?.createdBy);\r\n this.pendingTrainings = this.role.procedureTrainings;\r\n this.relatedLinks = this.utils.JSONparse(this.role.relatedLinks);\r\n this.setTrainingDS();\r\n }\r\n });\r\n }\r\n else if (this.role.id == 0) {\r\n this.adding = true;\r\n this.modifying = false;\r\n this.dragEnabled = false;\r\n this.pending.emit(this.modifying || this.adding);\r\n this.disabledFields = false;\r\n this.displayedColumnsRoleUsers.push('add');\r\n this.role.status = 1;\r\n this.disabledStatus = true;\r\n this.showCancelButton = true;\r\n this.dataSourceRoleUsers.data = [];\r\n this.procedureTrainingsDS.data = [];\r\n this.relatedLinks = [];\r\n this.setTrainingDS();\r\n }\r\n else {\r\n this.role.createdByUser = this.getUser(this.role?.createdBy);\r\n this.role.updatedByUser = this.getUser(this.role?.updatedBy);\r\n this._catalogService.IsModifiyingById(this.role.id ?? 0, Catalog.Roles).toPromise().then(result => {\r\n if (result && this.role) {\r\n const rolePrivilegesPending = this.role?.rolePrivilegesPending?.find(x => x.status == 1);\r\n this.isModifiying = result.isModifying || rolePrivilegesPending != null;\r\n this.modifyingCatalogs = result.catalogs;\r\n this.showCancelPending = result.userID == this.getCurrentUser()?.id && this.isModifiying;\r\n this.showRoleModified = this.getCurrentUser()?.id == result.userID;\r\n if ((this.isSA() || this.isPC) && this.getCurrentUser()?.id != result.userID) {\r\n this.showApproveUnapprove = this.isSA() ? result.isModifying : (!this.isSA() && result.catalogs?.includes(Catalog.RolePrivileges) ? false : result.isModifying);\r\n this.showRoleModified = result.isModifying as boolean;\r\n }\r\n if (this.getCurrentUser()?.id != result.userID && !this.showApproveUnapprove) {\r\n if (!result.catalogs?.includes(Catalog.RolePrivileges)) {\r\n this.ValidateCategoryManagerCanApprove(this.role, result.isModifying);\r\n this.ValidateGroupManagerCanApprove(this.role, result.isModifying);\r\n this.ValidateProcedureTrainingCoordinatorCanApprove(this.role, result.isModifying);\r\n }\r\n }\r\n if (this.isSA() && this.isModifiying) {\r\n this.roleModified = true;\r\n this.onShowRoleModified();\r\n }\r\n this.showTabRoles = true;\r\n this.disabledFields = false;\r\n this.modifying = false;\r\n this.dragEnabled = false;\r\n this.adding = false;\r\n this.pending.emit(this.modifying || this.adding);\r\n this.showCancelButton = true;\r\n this.setActiveTab();\r\n }\r\n\r\n });\r\n this.dataSourceRoleUsers.data = this.getUsersOrderedWithOrderField(this.role.userRole as UserRole[]);\r\n this.oldRoleCode = this.role.code;\r\n this.oldRoleName = this.role.name;\r\n this.showCancelButton = true;\r\n this.setTrainingDS();\r\n }\r\n this.setAvailableOptions();\r\n }\r\n\r\n drop(event: any) {\r\n if (event.previousContainer === event.container) {\r\n moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);\r\n } else {\r\n transferArrayItem(event.previousContainer.data,\r\n event.container.data,\r\n event.previousIndex,\r\n event.currentIndex);\r\n }\r\n // updates moved data and table\r\n this.reorderRoleUserData();\r\n this.setFormDirty();\r\n }\r\n\r\n sortDataSourceOrderByUserRoleId() {\r\n if (this.dataSourceRoleUsers.data) {\r\n this.dataSourceRoleUsers.data.sort((a, b) => utils.sort(a.id, b.id));\r\n }\r\n }\r\n\r\n setUserRolesOrder() {\r\n const users = this.dataSourceRoleUsers.data as UserRole[];\r\n users.map(user => user.order = 0);\r\n users.map(user => {\r\n const maximumOrder = Math.max.apply(Math, users?.map(o => o.order ?? 0));\r\n user.order = maximumOrder + 1;\r\n return user;\r\n });\r\n }\r\n\r\n ValidateCategoryManagerCanApprove(data: Role, enable: boolean) {\r\n if (data?.aplGroupRole?.aplGroup?.aplGroupMaster?.aplCategoryMaster?.aplCategory?.aplCategoryManagers?.map(categoryManager => categoryManager?.user?.id).some(val => val === this.getCurrentUser()?.id)) {\r\n this.setApproveUnnapprove(enable);\r\n }\r\n }\r\n\r\n ValidateGroupManagerCanApprove(data: Role, enable: boolean) {\r\n if (data.aplGroupRole?.aplGroup?.aplGroupManagers?.map(groupManager => groupManager?.user?.id).some(userId => userId === this.getCurrentUser()?.id)) {\r\n this.setApproveUnnapprove(enable);\r\n }\r\n }\r\n\r\n ValidateProcedureTrainingCoordinatorCanApprove(data: Role, enable: boolean) {\r\n if (data.aplGroupRole?.aplGroup?.aplProcedureTrainingCoordinators?.map(ptc => ptc?.user?.id).some(userId => userId === this.getCurrentUser()?.id)) {\r\n this.setApproveUnnapprove(enable);\r\n }\r\n }\r\n\r\n setApproveUnnapprove(enable: boolean) {\r\n this.showApproveUnapprove = enable;\r\n this.showRoleModified = enable;\r\n }\r\n\r\n createTraining(procedure: Procedure) {\r\n const newProcedureTraining = new ProcedureTraining();\r\n newProcedureTraining.procedureMasterID = procedure.procedureMasterID;\r\n newProcedureTraining.roleID = this.role?.id;\r\n newProcedureTraining.obligationType = ProcedureObligationType.RequiredFollowUp;\r\n newProcedureTraining.procedureMaster = new ProcedureMaster();\r\n if (newProcedureTraining.procedureMaster) {\r\n newProcedureTraining.procedureMaster.id = procedure.procedureMasterID ?? 0;\r\n newProcedureTraining.procedureMaster.procedure = procedure;\r\n }\r\n this.procedureTrainingsRole?.push(newProcedureTraining);\r\n this.procedureTrainingsRole?.sort((a, b) => utils.sort(a.procedureMaster?.procedure?.procedureNumber, b.procedureMaster?.procedure?.procedureNumber, true));\r\n this.procedureTrainingsDS = new MatTableDataSource(this.procedureTrainingsRole);\r\n this.selectedProcedures = this.procedureTrainingsRole?.map(x => x.procedureMaster?.procedure);\r\n }\r\n\r\n updateTraining() {\r\n // this.procedureTrainingService.update(procedureTraining.id, procedureTraining).subscribe(\r\n // () => { },\r\n // error => {\r\n // if (error.status === 404 || error.status == 409) {\r\n // this._alert.error(error.error);\r\n // } else {\r\n // this._alert.general(this.message_general_error);\r\n // }\r\n // },\r\n // );\r\n this.setFormDirty();\r\n }\r\n\r\n deleteTraining(procedureTraining: ProcedureTraining) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n minWidth: '400px',\r\n data: {\r\n message: this.getMessage('ALSPC_RolesCatalog_AreYouSureYouWantToDeleteTheProcedure').description,\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data) {\r\n this.setFormDirty();\r\n const index: number = this.procedureTrainingsRole?.indexOf(procedureTraining) ?? -1;\r\n if (index >= 0) {\r\n this.procedureTrainingsRole?.splice(index, 1);\r\n this.procedureTrainingsDS = new MatTableDataSource(this.procedureTrainingsRole);\r\n }\r\n }\r\n }\r\n );\r\n }\r\n\r\n setTemplate(procedureTemplateMaster: ProcedureTemplateMaster) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n minWidth: '400px',\r\n data: {\r\n message: this.getMessage('ALSPC_Template_AreYouSureYouWantToApplyTheTemplateInTheRole').description.replace('{template}', procedureTemplateMaster?.name ?? '').replace('{role}', this.role?.name ?? ''),\r\n },\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data && this.role?.id && procedureTemplateMaster.id) {\r\n this.procedureTrainingService.createFromTemplate(this.role?.id, procedureTemplateMaster.id).subscribe(\r\n () => { },\r\n error => {\r\n if (error?.status === 404 || error?.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n },\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n setTrainingDS() {\r\n const role: Role | undefined = utils.cloneDeep(this.role);\r\n if (role?.id) {\r\n this.procedureTrainingAdmin = this.tokenService.hasPrivilege(PrivilegeEnum.ALSProcedureTrainingAdmin) ||\r\n role?.roleALSPCSupervisors?.some(x => x.userID == this.getCurrentUser()?.id) ||\r\n role?.roleALSPCDesignees?.some(x => x.userID == this.getCurrentUser()?.id) ||\r\n role?.aplGroupRole?.aplGroup?.aplGroupManagers?.some(x => x?.userID === this.getCurrentUser()?.id) ||\r\n role?.aplGroupRole?.aplGroup?.aplGroupMaster?.aplCategoryMaster?.aplCategory?.aplCategoryManagers?.some(x => x?.userID === this.getCurrentUser()?.id);\r\n\r\n if (this.pendingTrainings) {\r\n this.pendingTrainings.map(training => {\r\n training.procedureMaster = this.procedureTrainings.find(trainingRole => trainingRole.procedureMasterID == training.procedureMasterID)?.procedureMaster;\r\n });\r\n this.procedureTrainingsRole = utils.cloneDeep(this.pendingTrainings.filter(x => x.roleID == role?.id));\r\n if (role.id < 0) {\r\n this.procedureTrainingsRole = this.pendingTrainings;\r\n }\r\n }\r\n else {\r\n this.procedureTrainingsRole = this.role?.procedureTrainings;\r\n }\r\n this.procedureTrainingsRole?.filter(x => !x.procedureMaster).map(x => {\r\n const procedures = this.procedures.filter(p => p.procedureMasterID == x.procedureMasterID);\r\n const procedureMaster = procedures[0].procedureMaster;\r\n if (procedureMaster)\r\n procedureMaster.procedure = procedures[0];\r\n x.procedureMaster = procedureMaster;\r\n });\r\n this.selectedProcedures = this.procedureTrainingsRole?.map(x => x.procedureMaster?.procedure);\r\n this.procedureTrainingsDS = new MatTableDataSource(this.procedureTrainingsRole);\r\n } else {\r\n this.procedureTrainingAdmin = this.tokenService.hasPrivilege(PrivilegeEnum.ALSProcedureTrainingAdmin);\r\n this.procedureTrainingsRole = [];\r\n }\r\n }\r\n\r\n async saveRole() {\r\n this.disabledTimer = true;\r\n this.catalogModel.role = this.createRole();\r\n if (await this.isValid()) {\r\n if (!this.role?.id) {\r\n this._catalogService.SaveAsDraft(this.catalogModel, Catalog.Roles).subscribe(() => {\r\n this.alert.success('Congratulations !! The New Role Has Been Sent To Approve Successfully!!');\r\n this.modifyAvailable = false;\r\n this.roleCreated.emit(this.catalogModel.role?.code);\r\n });\r\n } else {\r\n this._catalogService.SaveAsDraft(this.catalogModel, Catalog.Roles).subscribe(() => {\r\n this.alert.success('Congratulations !! The Role Modification Has Been Sent To Approve Successfully!!');\r\n this.modifyAvailable = false;\r\n this.roleModified = true;\r\n this.roleCreated.emit(this.catalogModel.role?.code);\r\n });\r\n }\r\n this.setFormDirty(false);\r\n } else {\r\n this.alertError();\r\n this.disabledTimer = false;\r\n }\r\n this.errorMsg = [];\r\n }\r\n\r\n restoreInfo() {\r\n if (this.role) {\r\n this.getDetails();\r\n this.restoreRole.emit(this.role.id);\r\n }\r\n }\r\n\r\n approve() {\r\n this.disabledTimer = true;\r\n if (this.role?.id)\r\n this._catalogService.Approve(this.role.id, Catalog.Roles).subscribe(() => {\r\n this.alert.success('Congratulations !! Role Approved Successfully!!');\r\n this.reset();\r\n this.roleCreated.emit(this.role?.code);\r\n this.modifyAvailable = false;\r\n });\r\n }\r\n\r\n disapprove(disapprovalReason: string) {\r\n if (this.role?.id)\r\n this._catalogService.Unapprove(this.role.id, Catalog.Roles, disapprovalReason).subscribe(() => {\r\n this.alert.success('Congratulations !! Role Disapproved Successfully!!');\r\n this.reset();\r\n });\r\n }\r\n\r\n async deleteRole() {\r\n if (await this.canDeactivate())\r\n this.dialog.open(YesNoDialogComponent, {\r\n minWidth: '400px',\r\n data: {\r\n message: this.getMessage('Delete_Role_Question').description.replace('{role}', this.role?.name ?? ''),\r\n icon: 'stop'\r\n }\r\n }).afterClosed().toPromise().then(res => {\r\n if (res) {\r\n this.disabledTimer = true;\r\n this.catalogModel.role = this.createRole();\r\n this.catalogModel.action = ActionPendingCatalog.Delete;\r\n this._catalogService.SaveAsDraft(this.catalogModel, Catalog.Roles).toPromise().then(() => {\r\n 'Delete_Role_Success'\r\n ;\r\n this.reset();\r\n });\r\n }\r\n });\r\n }\r\n\r\n deleteRoleUser(userRole: UserRole) {\r\n const index = this.dataSourceRoleUsers.data.indexOf(userRole);\r\n this.dataSourceRoleUsers.data.splice(index, 1);\r\n this.dataSourceRoleUsers.filter = '';\r\n if (this.dataSourceRoleUsers.data.length === 0) {\r\n this.statusInactive = false;\r\n }\r\n this.setFormDirty();\r\n }\r\n\r\n openAddDisapprovalDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = '';\r\n const dialogRef = this.dialog.open(DisapprovalReasonComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data != undefined) {\r\n this.disapprove(data);\r\n }\r\n });\r\n }\r\n\r\n cancelPendingChanges() {\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, {\r\n minWidth: '400px',\r\n data: {\r\n message: 'Are you sure to cancel your pending changes?',\r\n icon: 'stop'\r\n }\r\n });\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (this.role?.id)\r\n this._catalogService.Unapprove(this.role.id, Catalog.Roles, 'Canceled by Requester').subscribe(() => {\r\n this.alert.success('Congratulations !! Role Changes Cancelled Successfully!!');\r\n this.roleCreated.emit(this.role?.code);\r\n });\r\n }\r\n });\r\n }\r\n\r\n modifyRole() {\r\n this.disabledFields = false;\r\n this.modifying = true;\r\n this.pending.emit(this.modifying || this.adding);\r\n if (!this.isOnlyPTC) {\r\n this.dragEnabled = true;\r\n this.displayedColumnsRoleUsers.push('noteActions');\r\n this.displayedColumnsRoleUsers.push('add');\r\n }\r\n }\r\n\r\n modifyRolePrivileges() {\r\n this.modifyingRolePrivileges = true;\r\n }\r\n\r\n endModifyRolePrivileges() {\r\n this.modifyingRolePrivileges = false;\r\n }\r\n\r\n aplCategoryIDChanged(e: any) {\r\n if (this.role?.aplGroupRole?.aplGroup?.aplGroupMaster?.aplCategoryMaster?.aplCategory?.id) {\r\n this.role.aplGroupRole.aplGroup.aplGroupMaster.aplCategoryMaster.aplCategory.id = e;\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n aplGroupIDChanged(e: any) {\r\n if (this.role?.aplGroupRole)\r\n this.role.aplGroupRole.aplGroup.id = e;\r\n this.setFormDirty();\r\n }\r\n\r\n createRole(): Role | undefined {\r\n this.sortDataSourceOrderByUserRoleId();\r\n const trainingsToSend = this.getTrainingsModified();\r\n if (this.role) {\r\n const role: Role = {\r\n id: this.role.id,\r\n code: this.role.code,\r\n name: this.role.name,\r\n status: this.role.status,\r\n information: this.role.information,\r\n userRole: this.dataSourceRoleUsers.data,\r\n performingWork: this.role.performingWork,\r\n trainingRole: this.role.trainingRole,\r\n roleALSPCSupervisors: this.role.roleALSPCSupervisors,\r\n roleALSPCDesignees: this.role.roleALSPCDesignees,\r\n procedureTrainings: trainingsToSend,\r\n rolePrivilegesPending: this.rolePrivilegesPending,\r\n relatedLinks: this.utils.JSONstringify(this.relatedLinks)\r\n };\r\n return role\r\n }\r\n else return undefined;\r\n }\r\n\r\n getTrainingsModified(): ProcedureTraining[] | undefined {\r\n const trainings = utils.cloneDeep(this.procedureTrainingsRole)\r\n if (trainings)\r\n trainings.map(training => {\r\n if (training.procedureMaster)\r\n training.procedureMaster.procedure = undefined;\r\n training.role = undefined;\r\n });\r\n return trainings;\r\n }\r\n\r\n async isValid() {\r\n this.valid = true;\r\n const catalogModel: CatalogModel = {\r\n role: this.role\r\n };\r\n if (!this.role?.code) {\r\n this.errorMsg.push('Field Role should not be blank!');\r\n this.valid = false;\r\n } else {\r\n if (this.oldRoleCode != this.role.code) {\r\n this.fieldRepeatedRoleCode = true;\r\n }\r\n }\r\n if (!this.role?.name) {\r\n this.errorMsg.push('Field Description should not be blank!');\r\n this.valid = false;\r\n } else {\r\n if (this.oldRoleName != this.role.name) {\r\n this.fieldRepeatedRoleName = true;\r\n }\r\n }\r\n if (this.fieldRepeatedRoleCode || this.fieldRepeatedRoleName) {\r\n await this._catalogService.IsFieldRepeated(catalogModel, Catalog.Roles).toPromise().then(data => {\r\n if (data) {\r\n if (data.item1 == true && this.fieldRepeatedRoleCode == true) {\r\n this.errorMsg.push('Field Role Name already exists');\r\n this.valid = false;\r\n }\r\n if (data.item2 == true && this.fieldRepeatedRoleName == true) {\r\n this.errorMsg.push('Field Role Description already exists');\r\n this.valid = false;\r\n }\r\n }\r\n });\r\n }\r\n return this.valid;\r\n }\r\n\r\n addUserRole(user: User) {\r\n const userRole: UserRole = {\r\n roleID: this.role?.id,\r\n userID: user.id,\r\n user\r\n };\r\n this.dataSourceRoleUsers.data.push(userRole);\r\n this.dataSourceRoleUsers.filter = '';\r\n this.reorderRoleUserData();\r\n this.setFormDirty();\r\n }\r\n\r\n reorderRoleUserData() {\r\n // this.dataSourceRoleUsers.data = clonedeep(this.dataSourceRoleUsers.data);\r\n this.setUserRolesOrder();\r\n }\r\n\r\n openAddRoleUser() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = new User();\r\n const dialogRef = this.dialog.open(RoleUserComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (this.isUserRoleRepeated(this.dataSourceRoleUsers.data, data)) {\r\n this.addUserRole(data);\r\n } else {\r\n this.alertError();\r\n }\r\n this.errorMsg = [];\r\n }\r\n });\r\n }\r\n\r\n isUserRoleRepeated(roleUsers: UserRole[], user: User): boolean {\r\n this.valid = true;\r\n if (roleUsers.filter(x => x.userID == user.id).length != 0) {\r\n this.errorMsg.push('User ' + user.name + ' is already added');\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n clear() {\r\n this.setFormDirty(false);\r\n // this.role = new Role();\r\n this.catalogModel = new CatalogModel();\r\n // this.dataSourceRoleUsers = new MatTableDataSource();\r\n this.disabledFields = true;\r\n this.adding = false;\r\n this.modifying = false;\r\n this.dragEnabled = false;\r\n this.pending.emit(this.modifying || this.adding);\r\n this.showTabRoles = false;\r\n this.selectingUserRole = false;\r\n this.showRoleModified = false;\r\n this.showApproveUnapprove = false;\r\n this.roleModified = false;\r\n this.isModifiying = false;\r\n this.fieldRepeatedRoleCode = false;\r\n this.fieldRepeatedRoleName = false;\r\n this.disabledStatus = false;\r\n this.showCancelButton = true;\r\n this.disabledTimer = false;\r\n this.deleted = false;\r\n this.pendingTrainings = null;\r\n this.relatedLinks = [];\r\n $('#roleModified').removeClass('showRoleModified');\r\n $('#roleModified').removeClass('showRoleDeleted');\r\n if (this.displayedColumnsRoleUsers.includes('add')) {\r\n const index = this.displayedColumnsRoleUsers.indexOf('add');\r\n this.displayedColumnsRoleUsers.splice(index, 1);\r\n }\r\n if (this.displayedColumnsRoleUsers.includes('noteActions')) {\r\n const index = this.displayedColumnsRoleUsers.indexOf('noteActions');\r\n this.displayedColumnsRoleUsers.splice(index, 1);\r\n }\r\n }\r\n\r\n reset() {\r\n const that = this;\r\n this.dragEnabled = false;\r\n setTimeout(function () {\r\n that.refreshRoles.emit('reset');\r\n that.clear();\r\n }, 300);\r\n this.restoreInfo();\r\n this.store.dispatch(new PendingApprovalsRefresh());\r\n }\r\n\r\n async discardChanges() {\r\n if (await this.canDeactivate()) {\r\n this.clear();\r\n this.restoreInfo();\r\n }\r\n }\r\n\r\n alertError() {\r\n this.alert.error(this.errorMsg.join(', '));\r\n }\r\n\r\n onShowRoleModified() {\r\n if (this.roleModified) {\r\n if (this.isModifiying && this.role?.id) {\r\n this._catalogService.GetPendingCatalogById(this.role.id, Catalog.Roles).toPromise().then(data => {\r\n if (data?.role) {\r\n data.role.aplGroupRole = data.role.aplGroupRole ?? new APLGroupRoleRoleCatalog();\r\n this.originalRole = utils.cloneDeep(this.role);\r\n this.role = data.role as Role;\r\n\r\n this.role.aplGroupRole = this.originalRole?.aplGroupRole;\r\n this.role.updatedBy = this.role.createdBy;\r\n this.role.updatedOn = this.role.createdOn;\r\n this.role.updatedByUser = this.getUser(this.role?.updatedBy);\r\n this.role.createdBy = this.originalRole?.createdBy;\r\n this.role.createdByUser = this.originalRole?.createdByUser;\r\n this.role.approvedBy = this.originalRole?.approvedBy;\r\n this.role.approvedByID = this.originalRole?.approvedByID;\r\n this.role.approvedDate = this.originalRole?.approvedDate;\r\n this.pendingTrainings = data.role.procedureTrainings;\r\n this.relatedLinks = this.utils.JSONparse(this.role.relatedLinks);\r\n this.tmpRoleCode = this.role.code;\r\n this.tmpPerformingWork = this.role.performingWork;\r\n this.tmpTrainingRole = this.role.trainingRole;\r\n this.tmpStatus = this.role.status;\r\n this.tmpName = this.role.name;\r\n this.tmpInformation = this.role.information;\r\n\r\n this.setTrainingDS();\r\n\r\n this.dataSourceRoleUsers.data = this.getUsersOrderedWithOrderField(data.role.userRole as UserRole[]);\r\n if (this.tabGroup.selectedIndex == 0) {\r\n this.setActiveTab();\r\n }\r\n }\r\n });\r\n }\r\n } else {\r\n this.pendingTrainings = undefined;\r\n if (this.role?.id)\r\n this._roleService.ReadOne(this.role.id).toPromise().then(data => {\r\n if (data) {\r\n this.deleted = false;\r\n data.aplGroupRole = data.aplGroupRole ?? new APLGroupRoleRoleCatalog();\r\n this.role = data as Role;\r\n this.role.createdByUser = this.getUsers().find(x => x.id == this.role?.createdBy);\r\n this.role.updatedByUser = this.getUsers().find(x => x.id == this.role?.updatedBy);\r\n\r\n this.tmpRoleCode = this.role.code;\r\n this.tmpPerformingWork = this.role.performingWork;\r\n this.tmpTrainingRole = this.role.trainingRole;\r\n this.tmpStatus = this.role.status;\r\n this.tmpName = this.role.name;\r\n this.tmpInformation = this.role.information;\r\n this.originalRole = undefined;\r\n this.relatedLinks = this.utils.JSONparse(this.role.relatedLinks);\r\n this.dataSourceRoleUsers.data = this.getUsersOrderedWithOrderField(this.role.userRole as UserRole[]);\r\n this.setTrainingDS();\r\n }\r\n });\r\n\r\n }\r\n }\r\n\r\n setActiveTab() {\r\n if (this.modifyingCatalogs?.length) {\r\n switch (this.modifyingCatalogs[0]) {\r\n case Catalog.Roles:\r\n this.tabGroup.selectedIndex = 0;\r\n break;\r\n case Catalog.Users:\r\n this.tabGroup.selectedIndex = 1;\r\n break;\r\n case Catalog.RolePrivileges:\r\n this.tabGroup.selectedIndex = 2;\r\n break;\r\n case Catalog.Trainings:\r\n this.tabGroup.selectedIndex = 3;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n getUsersOrderedWithOrderField(users: UserRole[]): UserRole[] {\r\n if (users.some(user => user.order)) {\r\n users = users.sort((a, b) => utils.sort(a.order, b.order));\r\n }\r\n return users;\r\n }\r\n\r\n changeStatusRole(data: any) {\r\n if (data == 0) {\r\n if (this.dataSourceRoleUsers.data.length > 0) {\r\n 'Error_Inactive_Role'\r\n ;\r\n this.statusInactive = true;\r\n }\r\n } else {\r\n this.statusInactive = false;\r\n }\r\n this.setFormDirty()\r\n }\r\n\r\n keydown(event: KeyboardEvent) {\r\n if (event.keyCode === 13) {\r\n event.preventDefault();\r\n if (this.role?.information) {\r\n this.role.information += '\\n';\r\n } else {\r\n if (this.role) {\r\n this.role.information = '';\r\n this.role.information += '\\n';\r\n }\r\n }\r\n }\r\n }\r\n\r\n // blur() {\r\n // this.role.information = this.role.information.substr(0, this.maxlength);\r\n // }\r\n\r\n getGroupManagers(group?: APLGroupRoleCatalog): string | undefined {\r\n return group?.aplGroupManagers?.map(groupManager => groupManager?.user?.name)?.join(', ');\r\n }\r\n\r\n getCategoryManagers(category?: APLCategoryRoleCatalog): string | undefined {\r\n return category?.aplCategoryManagers?.map(categoryManager => categoryManager?.user?.name)?.join(', ');\r\n }\r\n\r\n getProcedureCenterCoordinators(group?: APLGroupRoleCatalog): string | undefined {\r\n return group?.aplProcedureTrainingCoordinators?.map(ptc => ptc?.user?.name)?.join(', ');\r\n }\r\n\r\n setAvailableOptions() {\r\n this.modifyAvailable =\r\n this.getCurrentUser()?.userRole?.some(role => role.roleID == Roles.ADM || role.role?.code === 'PC') ||\r\n this.role?.aplGroupRole?.aplGroup?.aplGroupManagers?.some(groupManager => groupManager?.userID == this.getCurrentUser()?.id) ||\r\n this.role?.aplGroupRole?.aplGroup?.aplGroupMaster?.aplCategoryMaster?.aplCategory?.aplCategoryManagers?.some(categoryManager => categoryManager?.userID == this.getCurrentUser()?.id);\r\n if (!this.modifyAvailable) {\r\n this.isOnlyPTC = this.role?.aplGroupRole?.aplGroup?.aplProcedureTrainingCoordinators?.some(ptc => ptc?.userID == this.getCurrentUser()?.id);\r\n this.modifyAvailable = this.isOnlyPTC ? true : false;\r\n }\r\n }\r\n\r\n openNoteEditor(userRole: UserRole, note: UserRoleNote | undefined = undefined) {\r\n let index = -1;\r\n if (note) {\r\n const notes = this.dataSourceRoleUsers.data.find(user => user.userID === userRole.userID)?.notes;\r\n index = notes?.indexOf(note, 0) ?? -1;\r\n }\r\n const dialogRef = this.dialog.open(AddUserRoleNoteComponent, {\r\n width: '20em',\r\n data: note\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.setFormDirty();\r\n if (note && index >= 0) {\r\n this.updateNote(result, userRole, index);\r\n }\r\n else {\r\n this.createNoteInCatalog(result, userRole);\r\n }\r\n }\r\n });\r\n }\r\n\r\n createNoteInCatalog(note: UserRoleNote, userRole: UserRole) {\r\n note.userRoleID = userRole.roleID;\r\n const users = this.dataSourceRoleUsers.data as UserRole[];\r\n let notes = users.find(user => user.userID == userRole.userID)?.notes ?? [];\r\n notes = notes == undefined ? [] : notes;\r\n notes.push(note);\r\n const user = users.find(user => user.userID == userRole.userID);\r\n if (user)\r\n user.notes = notes;\r\n this.alert.message('add', [new MessagePlaceholder('{what}', 'Note')]);\r\n }\r\n\r\n updateNote(note: UserRoleNote, userRole: UserRole, index: number) {\r\n note.userRoleID = userRole.roleID;\r\n const noteData = this.dataSourceRoleUsers.data.find(user => user.userID === userRole.userID)?.notes?.[index];\r\n if (noteData)\r\n noteData.description = note.description;\r\n this.alert.message('add', [new MessagePlaceholder('{what}', 'Note')]);\r\n }\r\n\r\n deleteNote(userRole: UserRole, note: UserRoleNote) {\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, {\r\n minWidth: '400px',\r\n data: {\r\n message: this.getMessage('Confirm_Note_Delete_Question')?.description,\r\n icon: 'stop'\r\n }\r\n });\r\n dialogRef.afterClosed().subscribe(dataReturned => {\r\n if (dataReturned) {\r\n const users = this.dataSourceRoleUsers.data as UserRole[];\r\n const notes = users.find(user => user.userID == userRole.userID)?.notes;\r\n const index = notes?.indexOf(note, 0) ?? -1;\r\n if (index >= 0) {\r\n notes?.splice(index, 1);\r\n }\r\n }\r\n });\r\n }\r\n\r\n setRolePrivilegesPending(e: RolePrivilegePending[]) {\r\n this.rolePrivilegesPending = e;\r\n this.setFormDirty();\r\n }\r\n\r\n roleChanged(e: any) {\r\n if (this.role) {\r\n this.role.code = e;\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n relatedLinksChanged(relatedLinks: RelatedLinkBase[]) {\r\n this.relatedLinks = relatedLinks;\r\n this.setFormDirty();\r\n }\r\n\r\n\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n Role Details\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Role\r\n \r\n \r\n
\r\n
\r\n \r\n Status\r\n \r\n \r\n {{ status.name }}\r\n \r\n \r\n \r\n Deleted \r\n \r\n \r\n
\r\n
\r\n
\r\n Performs RSSWA Work\r\n
\r\n
\r\n Training\r\n
\r\n
\r\n\r\n
\r\n \r\n Description\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Info\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n Category Manager\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n Group Manager\r\n \r\n \r\n
\r\n
\r\n \r\n Procedure Training Coordinator\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n delete Delete Role\r\n \r\n \r\n You must set the role to inactive and delete all the role users\r\n to delete the role.\r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Users\r\n \r\n \r\n \r\n
\r\n \r\n \r\n Name \r\n reorder\r\n {{ element.user?.name }}\r\n \r\n \r\n Notes \r\n \r\n \r\n \r\n \r\n \r\n \r\n Note actions\r\n \r\n \r\n \r\n \r\n edit\r\n delete\r\n 1\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n add\r\n add\r\n \r\n \r\n
\r\n \r\n more_vert\r\n \r\n \r\n \r\n edit\r\n Add note\r\n \r\n \r\n delete\r\n Delete\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n Privileges\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n {{ getMessage(\"ALSPC_RolesCatalog_Training\").description }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{\r\n getMessage(\"ALSPC_RolesCatalog_Procedure\").description\r\n }}\r\n \r\n \r\n {{\r\n e?.procedureMaster?.procedure?.procedureNumber +\r\n \" - \" +\r\n e?.procedureMaster?.procedure?.title\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n {{\r\n getMessage(\"ALSPC_RolesCatalog_Obligation\").description\r\n }}
\r\n \r\n \r\n \r\n \r\n Recommended\r\n \r\n \r\n Required - Read Only\r\n \r\n \r\n Required - Follow Up\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Cancel\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n \r\n Approve\r\n \r\n \r\n Disapprove\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, OnDestroy, Inject } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\n// import { PrivilegeCategory } from 'src/app/_interface/RolePrivilege';\r\nimport { Store } from '@ngxs/store';\r\n// import { Privilege, RolePrivilege } from '../../../../../_interface/RolePrivilege';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n// import { Role } from '../../../../../Services/Roles/role';\r\nimport { filter } from 'rxjs/operators';\r\nimport { PrivilegeCategory, Privilege, RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'role-privilege-add',\r\n templateUrl: './role-privilege-add.component.html',\r\n styleUrls: ['./role-privilege-add.component.scss']\r\n})\r\nexport class RolePrivilegeAddComponent implements OnInit, OnDestroy {\r\n\r\n privilegeCategory!: PrivilegeCategory;\r\n privilegeCategories!: PrivilegeCategory[];\r\n privilegeCategoriesFiltered!: PrivilegeCategory[];\r\n privilegeCategories$!: Observable;\r\n privilegeCategoriesSubs!: Subscription;\r\n\r\n privilege!: Privilege;\r\n privileges!: Privilege[];\r\n privilegesFiltered!: Privilege[];\r\n\r\n rolePrivileges: RolePrivilege[];\r\n\r\n constructor(\r\n private store: Store,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.rolePrivileges = data.rolePrivileges;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.privilegeCategoriesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadPrivilegeCategories();\r\n }\r\n\r\n loadPrivilegeCategories() {\r\n this.privilegeCategories$ = this.store.select(state => state.PrivilegeCategories.data);\r\n this.privilegeCategoriesSubs = this.privilegeCategories$.subscribe(data => {\r\n this.privilegeCategories = data.filter(x => x.privileges?.filter(p => !this.rolePrivileges.map(r => r.privilege).includes(p.id ?? 0)).length);\r\n this.privilegeCategoriesFiltered = this.privilegeCategories.sort((a, b) => utils.sort(a.name, b.name));\r\n });\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n changedCategory(e: any) {\r\n const text = e.target.value as string;\r\n this.privilegeCategoriesFiltered = this.privilegeCategories.filter(x => x.name?.toLowerCase().includes(text.toLowerCase()) || x.code?.toLowerCase().includes(text.toLowerCase())).sort((a, b) => utils.sort(a.name, b.name));\r\n }\r\n\r\n changedPrivilege(e: any) {\r\n const text = e.target.value as string;\r\n this.privilegesFiltered = this.privileges.filter(x => x.name?.toLowerCase().includes(text.toLowerCase()) || x.code?.toLowerCase().includes(text.toLowerCase())).sort((a, b) => utils.sort(a.name, b.name)).sort((a, b) => utils.sort(a.name, b.name));\r\n }\r\n\r\n selectedType(e: any) {\r\n this.privileges = e.option.value.privileges.filter((x: any) => !this.rolePrivileges.map(r => r.privilege).includes(x.id));\r\n this.privilegesFiltered = this.privileges;\r\n }\r\n\r\n selectedPriv(e: any) {\r\n this.privilege = e.option.value;\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n accept() {\r\n this.dialogRef.close(this.privilege);\r\n }\r\n}\r\n","
\r\n
\r\n Add Privilege\r\n
\r\n
\r\n
\r\n
\r\n \r\n Category\r\n \r\n \r\n \r\n {{ elem.name }}\r\n \r\n \r\n \r\n\r\n \r\n Privilege\r\n \r\n \r\n \r\n {{ elem.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Accept\r\n \r\n
\r\n
\r\n","import { Component, OnInit, OnDestroy, Input, OnChanges, SimpleChanges, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\n// import { Privilege, RolePrivilege, RolePrivilegePending } from 'src/app/_interface/RolePrivilege';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RolePrivilegeService } from 'src/app/services/role-privilege/role-privilege.service';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RolePrivilegePending, RolePrivilege, Privilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { RolePrivilegeAddComponent } from './role-privilege-add/role-privilege-add.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { PrivilegeCategoryRefresh } from 'src/app/services/role-privilege/store/privilege-categories/privilege-categories.action';\r\n\r\n@Component({\r\n selector: 'role-privilege',\r\n templateUrl: './role-privilege.component.html',\r\n styleUrls: ['./role-privilege.component.scss']\r\n})\r\nexport class RolePrivilegeComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() role?: Role;\r\n @Input() modifying!: boolean;\r\n @Input() showChanges!: boolean;\r\n\r\n @Output() rolePrivilegesPending = new EventEmitter()\r\n\r\n rolePrivilege!: RolePrivilege;\r\n rolePrivileges!: RolePrivilege[];\r\n rolePrivilegesOriginal!: RolePrivilege[];\r\n rolePrivileges$!: Observable;\r\n rolePrivilegesSubs!: Subscription;\r\n\r\n privilege!: Privilege;\r\n privileges!: Privilege[];\r\n privileges$!: Observable;\r\n privilegesSubs!: Subscription;\r\n\r\n documentTypes!: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n showChangesToggle!: boolean;\r\n\r\n public displayedColumns: string[] = ['type', 'name', 'action'];\r\n\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: RolePrivilegeService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.showChanges) {\r\n this.showChangesPending();\r\n }\r\n else {\r\n this.loadRolePrivileges();\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.rolePrivilegesSubs?.unsubscribe();\r\n this.privilegesSubs?.unsubscribe();\r\n this.documentTypesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadPrivileges();\r\n this.loadDocumentTypes();\r\n this.store.dispatch(new PrivilegeCategoryRefresh());\r\n }\r\n\r\n loadPrivileges() {\r\n this.privileges$ = this.store.select(state => state.Privileges.data);\r\n this.privilegesSubs = this.privileges$.subscribe(data => {\r\n this.privileges = data;\r\n });\r\n }\r\n\r\n loadRolePrivileges() {\r\n this.rolePrivileges$ = this.store.select(state => state.RolePrivileges.data);\r\n this.rolePrivilegesSubs = this.rolePrivileges$.subscribe(data => {\r\n this.rolePrivileges = data.filter(x => x.roleID == this.role?.id);\r\n this.rolePrivileges.map(r => {\r\n const privilegeObj = this.privileges.find(p => p.id == r.privilege);\r\n if (privilegeObj) {\r\n r.privilegeObj = privilegeObj;\r\n }\r\n });\r\n this.rolePrivileges = this.rolePrivileges.filter(x => x.privilegeObj).sort(utils.sortByMultipleFields(['privilegeObj.privilegeCategory.name', 'privilegeObj.name']));\r\n this.rolePrivilegesOriginal = this.rolePrivileges;\r\n this.dataSource = new MatTableDataSource(this.rolePrivileges);\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n this.documentTypes = data;\r\n });\r\n }\r\n\r\n getRowSpan(e: RolePrivilege) {\r\n return this.rolePrivileges.filter(x => x.privilegeObj?.privilegeCategoryID == e.privilegeObj?.privilegeCategoryID).length;\r\n }\r\n\r\n isFirstElem(e: RolePrivilege) {\r\n const group = this.rolePrivileges.filter(x => x.privilegeObj?.privilegeCategoryID == e.privilegeObj?.privilegeCategoryID);\r\n return group.findIndex(x => x.privilege == e.privilege) == 0;\r\n }\r\n\r\n delete(e: any) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Are you sure to delete this Privilege from the Role ?',\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(res => {\r\n if (res && this.role) {\r\n const index = this.rolePrivileges.findIndex(x => x.id == e.id);\r\n this.rolePrivileges.splice(index, 1);\r\n const rolePrivilegesPending = {\r\n roleID: this.role?.id,\r\n privilegesJson: utils.JSONstringify(this.rolePrivileges),\r\n status: 1\r\n } as RolePrivilegePending;\r\n this.role.rolePrivilegesPending = [];\r\n this.role.rolePrivilegesPending.push(rolePrivilegesPending);\r\n this.rolePrivilegesPending.emit(this.role.rolePrivilegesPending);\r\n this.showChanges = true;\r\n this.showChangesPending();\r\n }\r\n });\r\n }\r\n\r\n openAddRolePrivilege() {\r\n const dialogData = {\r\n rolePrivileges: this.rolePrivileges\r\n };\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.width = '400px';\r\n dialogConfig.data = dialogData;\r\n const dialogRef = this.dialog.open(RolePrivilegeAddComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data: Privilege) => {\r\n if (data && this.role) {\r\n const rolePrivilege = {\r\n roleID: this.role.id,\r\n privilege: data.id,\r\n status: 1,\r\n privilegeObj: this.privileges.find(x => x.id == data.id),\r\n } as RolePrivilege;\r\n this.rolePrivileges.push(rolePrivilege);\r\n const rolePrivilegesPending = {\r\n roleID: this.role.id,\r\n privilegesJson: utils.JSONstringify(this.rolePrivileges),\r\n status: 1\r\n } as RolePrivilegePending;\r\n this.role.rolePrivilegesPending = [];\r\n this.role.rolePrivilegesPending.push(rolePrivilegesPending);\r\n this.rolePrivilegesPending.emit(this.role.rolePrivilegesPending);\r\n this.showChanges = true;\r\n this.showChangesPending();\r\n }\r\n });\r\n }\r\n\r\n showChangesPending() {\r\n if (this.role?.rolePrivilegesPending?.length) {\r\n this.rolePrivileges = utils.JSONparse(this.role.rolePrivilegesPending[0].privilegesJson);\r\n this.rolePrivileges.map(r => {\r\n const privilegeObj = this.privileges.find(p => p.id == r.privilege);\r\n if (privilegeObj) {\r\n r.privilegeObj = privilegeObj;\r\n }\r\n r.pending = !this.rolePrivilegesOriginal.find(x => x.id == r.id);\r\n });\r\n this.rolePrivileges = this.rolePrivileges.filter(x => x.privilegeObj).sort(utils.sortByMultipleFields(['privilegeObj.privilegeCategory.name', 'privilegeObj.name']));\r\n this.dataSource = new MatTableDataSource(this.rolePrivileges);\r\n }\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n {{ element.privilegeObj?.privilegeCategory?.name }}\r\n \r\n \r\n \r\n \r\n \r\n {{ element.privilegeObj?.name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
TypeName\r\n add\r\n add\r\n \r\n \r\n delete\r\n \r\n
\r\n
\r\n","import { Component, OnInit, Inject, Injector, OnChanges } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { UserService } from 'src/app/components/catalogs/user-catalog/services/user.service';\r\n// import { User } from '../../../../Services/Users/user';\r\n// import { UserService } from '../../../../Services/Users/user.service';\r\n\r\n@Component({\r\n selector: 'app-role-user',\r\n templateUrl: './role-user.component.html',\r\n styleUrls: ['./role-user.component.scss']\r\n})\r\nexport class RoleUserComponent extends BaseComponent implements OnChanges {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public user: User,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n public usersFiltered?: User[];\r\n public userSelected?: User;\r\n\r\n ngOnChanges(): void {\r\n this.usersFiltered = this.getUsers();\r\n }\r\n\r\n getUserSelected(isSelected: boolean, user: User) {\r\n if (isSelected) {\r\n this.userSelected = user;\r\n }\r\n }\r\n\r\n add() {\r\n if (this.userSelected?.id != undefined) {\r\n this.dialogRef.close(this.userSelected);\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n filter(e: any) {\r\n const code = e.target.code;\r\n const value = e.target.value;\r\n if (!code?.includes('Arrow')) {\r\n this.usersFiltered = this.getUsers()?.filter(x => x.name?.toLowerCase().includes(value.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Add User

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{ user.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, OnDestroy, OnInit, Output, QueryList, ViewChildren, ViewContainerRef, Injector, OnChanges, SimpleChanges, ViewChild } from '@angular/core';\r\n\r\nimport { MatSort, Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Roles, Catalog } from 'src/app/common/enumerations/enumerations';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Catalogs } from '../../catalog-model';\r\nimport { PendingCatalog, PendingCatalogType, PendingRole } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n@Component({\r\n selector: 'app-roles-list',\r\n templateUrl: './roles-list.component.html',\r\n styleUrls: ['./roles-list.component.scss']\r\n})\r\nexport class RolesListComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() clearEvent = new EventEmitter();\r\n\r\n roles!: Role[];\r\n rolesfiltered!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n roleCreatedCode!: string | null;\r\n filter!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _catalogService: CatalogService,\r\n private route: ActivatedRoute,\r\n ) {\r\n super(injector);\r\n }\r\n public displayedColumnsRoles: string[] = ['role', 'name', 'category', 'group'];\r\n public dataSource!: MatTableDataSource;\r\n\r\n public selectedRowIndex?: number;\r\n public roleIndex!: number;\r\n\r\n public createAvailable?: boolean;\r\n public showInactive!: boolean;\r\n public pending = false;\r\n rowHighlighted: any;\r\n paramRoleID?: number;\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows!: QueryList;\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n override ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.clear();\r\n this.refreshRoles();\r\n\r\n this.route.params.subscribe(params => {\r\n const roleID = +params['roleID'];\r\n if (roleID) {\r\n this.paramRoleID = roleID;\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.createAvailable = this.getCurrentUser()?.userRole?.some(r => r.roleID === Roles.ADM || r.roleID == Roles.PC);\r\n }\r\n\r\n refreshRoles(event?: any) {\r\n if (!this.dataSource) {\r\n this.dataSource = new MatTableDataSource();\r\n this.setSortingAccessor();\r\n }\r\n this.loadRoles(this.isSA());\r\n }\r\n\r\n selectParam(id: number) {\r\n const role = this.roles?.find(x => x.id === id);\r\n if (role) {\r\n this.rowHighlighted = null;\r\n this.showIndex(role.id);\r\n // this.getRoleInfo(role);\r\n }\r\n }\r\n\r\n loadRoles(join: boolean) {\r\n this.loading.emit(true);\r\n this.clear();\r\n const pendingRole = this._catalogService.pendingCatalog?.approvalType == PendingCatalogType.Role ? this._catalogService.pendingCatalog : null;\r\n if (pendingRole) this.showInactive = true;\r\n this._catalogService.GetJoinCreated(Catalog.Roles, join).toPromise().then(data => {\r\n if (data && !(data?.roles?.length)) {\r\n data.roles = [];\r\n }\r\n if (data && this.showInactive)\r\n this.roles = data.roles as Role[];\r\n else if (data)\r\n this.roles = data.roles?.filter(x => x.status == 1) as Role[];\r\n this.applyFilter();\r\n this.roles = this.roles.sort((a, b) => this.utils.sort(a.code, b.code));\r\n this.dataSource = new MatTableDataSource(this.roles);\r\n this.setSortingAccessor();\r\n if (pendingRole && pendingRole.id > 0) {\r\n this.showIndex(pendingRole.id);\r\n }\r\n else if (pendingRole && !pendingRole.id) {\r\n this.showIndex(pendingRole.pendingID * -1);\r\n } else if (this.roleCreatedCode) {\r\n const row = this.dataSource.data.find(x => x.code == this.roleCreatedCode);\r\n this.getRoleInfo(row);\r\n this.roleCreatedCode = null;\r\n }\r\n else if (this.paramRoleID) {\r\n this.selectParam(this.paramRoleID);\r\n this.paramRoleID = 0;\r\n }\r\n else {\r\n this.loading.emit(false);\r\n }\r\n this.loading.emit(false);\r\n }).finally(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (element, property) => {\r\n switch (property) {\r\n case 'role':\r\n return element.code;\r\n case 'category':\r\n return element?.aplGroupRole?.aplGroup?.aplGroupMaster?.aplCategoryMaster?.aplCategory?.code;\r\n case 'group':\r\n return element?.aplGroupRole?.aplGroup?.name;\r\n default:\r\n return (element as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n applyFilter(filterValue?: string) {\r\n this.filter = filterValue?.toLowerCase() ?? '';\r\n this.dataSource = new MatTableDataSource(this.roles.filter(r => r.aplGroupRole?.aplGroup?.aplGroupMaster?.aplCategoryMaster?.aplCategory?.code?.toLowerCase().includes(this.filter) || r.name?.toLowerCase().includes(this.filter) || r.code?.toLowerCase().includes(this.filter) || r.aplGroupRole?.aplGroup?.name?.toLowerCase().includes(this.filter)));\r\n this.setSortingAccessor();\r\n }\r\n\r\n showRolesInactive() {\r\n this.clearEvent.emit();\r\n this.refreshRoles();\r\n }\r\n\r\n roleCreated(code: string) {\r\n this.roleCreatedCode = code;\r\n this._catalogService.pendingCatalog = undefined;\r\n this.rowHighlighted = null;\r\n this.pending = false;\r\n this.refreshRoles();\r\n }\r\n\r\n async getRoleInfo(row?: Role) {\r\n if (this.rowHighlighted?.id == row?.id) {\r\n this.rowHighlighted = null;\r\n this.selectedRowIndex = -1;\r\n this._catalogService.pendingCatalog = undefined;\r\n this.rowSelected.emit(null);\r\n }\r\n else {\r\n if (await this.canDeactivate()) {\r\n const role = utils.cloneDeep(row);\r\n this.rowHighlighted = role;\r\n this._catalogService.pendingCatalog = { id: role?.id } as PendingCatalog;\r\n this.rowSelected.emit(this.rowHighlighted);\r\n }\r\n }\r\n }\r\n\r\n setOriginalRole(id: number) {\r\n this.selectParam(id);\r\n }\r\n\r\n async createRole() {\r\n if (await this.canDeactivate()) {\r\n this.selectedRowIndex = 0;\r\n const role = new Role();\r\n role.id = 0;\r\n this.rowSelected.emit(role);\r\n }\r\n }\r\n\r\n clear() {\r\n this.roles = [];\r\n }\r\n\r\n showIndex(id: number) {\r\n this.roleIndex = id;\r\n this.selectedRowIndex = this.dataSource.data.findIndex(x => x.id == id);\r\n if (this.selectedRowIndex == -1) {\r\n this.selectedRowIndex = this.dataSource.data.findIndex(x => x.id == -id);\r\n }\r\n const roleSelected = this.dataSource.data[this.selectedRowIndex];\r\n this.showElement(this.selectedRowIndex, 600);\r\n if (roleSelected) {\r\n this.getRoleInfo(roleSelected);\r\n }\r\n this.loading.emit(false);\r\n }\r\n\r\n showElement(index: number, height: number) {\r\n const that = this;\r\n setTimeout(() => {\r\n const indexstr = index.toString();\r\n const row = that.rows.find(r => r.element.nativeElement.getAttribute('position') === indexstr);\r\n if (row) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > height)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n }\r\n }, 300);\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n Show Inactive\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n Role\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Description\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Category\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Group\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RoleDetailsComponent } from './role-details/role-details.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CanComponentDeactivate } from 'src/app/common/guards/unsaved-changes.guard';\r\n\r\n\r\n@Component({\r\n selector: 'app-roles',\r\n templateUrl: './roles.component.html',\r\n styleUrls: ['./roles.component.scss']\r\n})\r\nexport class RolesComponent extends BaseComponent implements OnInit, CanComponentDeactivate {\r\n\r\n loading!: boolean;\r\n role!: Role;\r\n\r\n @ViewChild(RoleDetailsComponent) roleDetails!: RoleDetailsComponent;\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Roles Catalog';\r\n }\r\n\r\n clear() {\r\n this.roleDetails.clear();\r\n }\r\n\r\n applyFilter(e: any) { }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n

\r\n {{ role.name + \" (\" + role.code + \")\" }}\r\n

\r\n \r\n {{\r\n role.status == 1 && !role.color\r\n ? \"Active\"\r\n : role.status == 0\r\n ? \"Inactive\"\r\n : role.id < 0\r\n ? \"Pending Create\"\r\n : \"Pending Change\"\r\n }}\r\n \r\n
\r\n \r\n \r\n Created by: {{ details.role?.createdByUser?.name }} on\r\n {{ details.role?.createdOn | date }}\r\n \r\n \r\n Modified by: {{ details.role?.updatedByUser?.name }} on\r\n {{ details.role?.updatedOn | date }}\r\n \r\n Approved by: {{ details.role?.approvedBy?.name }} on\r\n {{\r\n details.role?.approvedDate | date\r\n }}\r\n
\r\n \r\n Show Modification\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n }\"\r\n >\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RolesComponent } from './roles.component';\r\nimport { RoleDetailsComponent } from './role-details/role-details.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule, FormControl, FormGroupDirective, NgForm } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule, ErrorStateMatcher } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldDefaultOptions } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ChecklistsModule } from '../../checklists/checklists.module';\r\nimport { RolesListComponent } from './roles-list/roles-list.component';\r\nimport { RoleUserComponent } from './role-user/role-user.component';\r\nimport { AddUserRoleNoteComponent } from './add-user-role-note-component/add-user-role-note.component';\r\nimport { RolePrivilegeAddComponent } from './role-privilege/role-privilege-add/role-privilege-add.component';\r\nimport { RolePrivilegeComponent } from './role-privilege/role-privilege.component';\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n RolesComponent,\r\n RoleDetailsComponent,\r\n RolesListComponent,\r\n RoleUserComponent,\r\n AddUserRoleNoteComponent,\r\n RolePrivilegeComponent,\r\n RolePrivilegeAddComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n // MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n QuillModule.forRoot(),\r\n\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ChecklistsModule\r\n // ClCommentsPopupModule,\r\n // CommentsAndAttachmentsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class RolesModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { retry } from 'rxjs/operators';\r\nimport { Role } from './role'\r\nimport { environment } from '../../../../../environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoleService {\r\n url = environment.urls.baseApiUrl + \"/roles\";\r\n constructor(private http: HttpClient) { }\r\n\r\n Read(): Observable {\r\n return this.http.get(this.url).pipe(retry(1));\r\n }\r\n\r\n ReadOne(id: number): Observable {\r\n return this.http.get(this.url + '/' + id).pipe(retry(1));\r\n }\r\n\r\n Post(role: Role): Observable {\r\n return this.http.post(this.url, role).pipe(retry(1));\r\n }\r\n\r\n Put(id: number, role: Role): Observable {\r\n return this.http.put(this.url + \"/\" + id, role).pipe(retry(1));\r\n }\r\n}\r\n","import { UserRole } from \"../../../../services/user-roles/user-role\";\r\nimport { APLGroupRoleRoleCatalog } from \"../../../apl/services/apl-group-role-role-catalog.model\";\r\nimport { ProcedureTraining } from \"../../../procedure/models/procedure-training.model\";\r\nimport { User } from \"../../user-catalog/services/user\";\r\nimport RoleALSPCDesignee from \"./role-alspc-designee.model\";\r\nimport RoleALSPCSupervisor from \"./role-alspc-supervisor.model\";\r\nimport { RolePrivilege, RolePrivilegePending } from \"./role-privilege\";\r\nimport { ModelBase } from \"src/app/common/models/model-base\";\r\nimport { RoleScheduleReminder } from \"src/app/components/schedules/models/role-schedule-reminder\";\r\nimport { RoleScheduleStatus } from \"src/app/components/schedules/models/role-schedule-status\";\r\n\r\nexport class Role {\r\n public id!: number;\r\n public name?: string;\r\n public code?: string;\r\n public status?: number;\r\n public color?: number;\r\n public userRole?: UserRole[];\r\n public performingWork?: boolean;\r\n public information?: string;\r\n public trainingRole?: boolean;\r\n public roleALSPCSupervisors?: RoleALSPCSupervisor[];\r\n public roleALSPCDesignees?: RoleALSPCDesignee[];\r\n public aplGroupRole?: APLGroupRoleRoleCatalog;\r\n public procedureTrainings?: ProcedureTraining[];\r\n public rolePrivileges?: RolePrivilege[];\r\n public rolePrivilegesPending?: RolePrivilegePending[];\r\n public createdBy?: number;\r\n public createdOn?: Date;\r\n public createdByUser?: User;\r\n public approvedByID?: number;\r\n public approvedBy?: User;\r\n public approvedDate?: Date;\r\n public updatedBy?: number;\r\n public updatedByUser?: User;\r\n public updatedOn?: Date;\r\n public relatedLinks?: string;\r\n\r\n constructor() {\r\n this.roleALSPCSupervisors = [];\r\n this.roleALSPCDesignees = [];\r\n this.aplGroupRole = this.aplGroupRole ?? new APLGroupRoleRoleCatalog();\r\n }\r\n}\r\n\r\nexport interface IRole extends ModelBase {\r\n userRole: UserRole[];\r\n rolePrivileges: RolePrivilege[];\r\n roleReminders: RoleScheduleReminder[];\r\n roleScheduleStatus: RoleScheduleStatus[];\r\n}\r\n","import { Role } from '../services/role';\r\n\r\nexport class RoleRefresh {\r\n static readonly type = '[Role] Refresh';\r\n}\r\n\r\nexport class RoleCreate {\r\n static readonly type = '[Role] Create';\r\n constructor(public item: Role) { }\r\n}\r\n\r\nexport class RoleUpdate {\r\n static readonly type = '[Role] Update';\r\n constructor(public id: number, public item: Role) { }\r\n}\r\n\r\nexport class RoleDelete {\r\n static readonly type = '[Role] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { Role } from '../services/role';\r\nimport { RoleService } from '../services/role.service';\r\nimport { RoleCreate, RoleDelete, RoleRefresh, RoleUpdate } from './role.action';\r\n\r\nexport class RoleStateModel {\r\n data: Role[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Roles',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RoleState {\r\n constructor(\r\n private roleService: RoleService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RoleStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RoleRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.roleService.Read().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RoleCreate)\r\n create({ getState, patchState }: StateContext, { item }: RoleCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RoleUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RoleUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(RoleDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RoleDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { SignalRService } from '../../../../services/signal-r/signal-r.service';\r\nimport { SignalRAction } from '../../../../services/signal-r/signalr-enums';\r\nimport * as RoleActions from 'src/app/components/catalogs/roles/store/role.action';\r\nimport { Channels } from 'src/app/store/channels';\r\nimport { GeneralSignalRResponse } from '../../../../services/signal-r/general-signal-r-response';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoleStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new RoleActions.RoleRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.ROLE, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RoleActions.RoleCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RoleActions.RoleUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RoleActions.RoleDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RoleActions.RoleRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Resource } from '../../beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'rssd-list-main',\r\n templateUrl: './rssd-list-main.component.html',\r\n styleUrls: ['./rssd-list-main.component.scss']\r\n})\r\nexport class RssdListMainComponent extends BaseComponent {\r\n\r\n @Input() resources?: Resource[] | null;\r\n @Input() resource?: Resource;\r\n\r\n\r\n getRSSDs(r: Resource) {\r\n return r.childResources?.filter(c => c.childResource?.isRSSD).map(c => c.childResource);\r\n }\r\n\r\n scrollTo(r: Resource) {\r\n const elem = r.id.toString();\r\n const divElement = document.getElementById(elem);\r\n if (divElement)\r\n divElement.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n {{\r\n resource.displayName +\r\n (resource.displayName != resource.name\r\n ? \" (\" + resource.name + \")\"\r\n : \"\")\r\n }}\r\n
\r\n
\r\n
\r\n {{ resource.description }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ rssd?.name }}\r\n
\r\n
{{ rssd?.keText }}
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, Output, QueryList, SimpleChanges, ViewChild, ViewChildren, ViewContainerRef } from '@angular/core';\r\nimport { MatTableDataSource, MatRow } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Resource } from '../../beamline-catalog/resource/resources';\r\nimport { ResourcesService } from '../../beamline-catalog/resource/resources.service';\r\nimport { MatSort } from '@angular/material/sort';\r\n\r\n@Component({\r\n selector: 'rssd-list-side',\r\n templateUrl: './rssd-list-side.component.html',\r\n styleUrls: ['./rssd-list-side.component.scss']\r\n})\r\nexport class RssdListSideComponent extends BaseComponent {\r\n\r\n @Input() filter?: string | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n displayedColumns: string[] = [\r\n 'name',\r\n 'type'\r\n ];\r\n dataSource = new MatTableDataSource();\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() rowsFiltered = new EventEmitter();\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows?: QueryList;\r\n @ViewChildren('matrow') datarows?: QueryList;\r\n\r\n allowNew = false;\r\n disabled = false;\r\n maxHeight!: string;\r\n\r\n resource?: Resource | null;\r\n resources?: Resource[];\r\n resourcesFiltered?: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ResourcesService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter']) {\r\n this.applyFilter();\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadResources();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length) {\r\n this.resources = data.filter(r => r.type == ResourceType.Accelerator || r.type == ResourceType.Shutter);\r\n this.createDataSource();\r\n }\r\n });\r\n }\r\n\r\n createDataSource() {\r\n this.resourcesFiltered = this.resources?.filter(r => this.hasRSSDs(r))\r\n .filter(r => this.filter ? (r.displayName?.includes(this.filter.toLowerCase()) || r.name?.includes(this.filter.toLowerCase())) : true);\r\n\r\n this.resourcesFiltered?.map(r => r.displayName = r.type == ResourceType.Accelerator ? r.name : r.childResources?.find(r => r.childResourceType == ResourceType.Beamline)?.childResourceName);\r\n this.resourcesFiltered = this.resourcesFiltered?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers((a.type?.toString() ?? '0') + a.displayName, (b.type?.toString() ?? '0') + b.displayName));\r\n this.dataSource = new MatTableDataSource(this.resourcesFiltered);\r\n this.setSortingAccessor();\r\n this.rowsFiltered.emit(this.resourcesFiltered);\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (element, property) => {\r\n switch (property) {\r\n case 'name':\r\n return element.displayName;\r\n case 'type':\r\n return element.resourceType?.name;\r\n default:\r\n return (element as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n hasRSSDs(r: Resource) {\r\n return r.childResources?.some(c => c.childResourceType == ResourceType.Shielding && c.childResource?.isRSSD);\r\n }\r\n\r\n rowUnselected() {\r\n this.resource = null;\r\n this.rowSelected.emit(null);\r\n }\r\n\r\n rowClicked(row: Resource) {\r\n if (this.resource?.id == row.id) {\r\n this.rowUnselected();\r\n this.loading.emit(false);\r\n }\r\n else {\r\n this.getValues(row);\r\n }\r\n }\r\n\r\n async getValues(row: Resource) {\r\n if (row?.id) {\r\n this.resource = row;\r\n this.rowSelected.emit(this.resource);\r\n }\r\n }\r\n //#endregion LOAD\r\n\r\n //#region ADD\r\n\r\n unselect() {\r\n\r\n }\r\n\r\n //#endregion\r\n\r\n //#region FILTERS\r\n\r\n applyFilter() {\r\n this.createDataSource();\r\n this.dataSource.filter = this.filter?.trim().toLowerCase() ?? '';\r\n }\r\n\r\n changeClosed() {\r\n this.applyFilter();\r\n }\r\n\r\n async refresh() {\r\n\r\n }\r\n\r\n //#endregion\r\n\r\n // #region TableScroll\r\n showElement(index: number, height: number) {\r\n const indexstr = index.toString();\r\n const row = this.rows?.find(\r\n (r) => r.element.nativeElement.getAttribute('position') === indexstr\r\n );\r\n if (row) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if (rect.y <= 0 || rect.y + rect.height > height) {\r\n row.element.nativeElement.scrollIntoView(false, {\r\n behavior: 'instant',\r\n });\r\n }\r\n return;\r\n }\r\n console.log('not found');\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex((r) => {\r\n return r.id === row.id;\r\n });\r\n return i;\r\n }\r\n\r\n formatLocationNames(locationNames: string) {\r\n if (locationNames) {\r\n return utils.replaceAll(locationNames, ',', ', ');\r\n }\r\n return '';\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n Name\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Resource } from '../beamline-catalog/resource/resources';\r\nimport { RssdListMainComponent } from './rssd-list-main/rssd-list-main.component';\r\n\r\n@Component({\r\n selector: 'rssd-list',\r\n templateUrl: './rssd-list.component.html',\r\n styleUrls: ['./rssd-list.component.scss']\r\n})\r\nexport class RssdListComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n @ViewChild(RssdListMainComponent) main!: RssdListMainComponent;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n loadingMessage!: string;\r\n //////\r\n\r\n resource?: Resource | null;\r\n resources?: Resource[] | null;\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // this.loadSCFs();\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'RSSD List';\r\n }\r\n\r\n changeToggle(e: any) {\r\n\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n rowSelected(r: Resource) {\r\n this.main?.scrollTo(r);\r\n }\r\n\r\n rowsFiltered(rows: Resource[]) {\r\n this.resources = rows;\r\n }\r\n\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n \r\n {{ resource?.name }}\r\n \r\n {{ resource?.resourceType?.name }}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, OnDestroy, Injector, Input, OnChanges, SimpleChanges, ViewChild, ElementRef } from '@angular/core';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { TemplateType } from 'src/app/components/checklists/checklists';\r\nimport { ProcedureType } from 'src/app/components/procedure/models/procedure-type';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { ScheduleSubtype } from 'src/app/components/schedules/models/schedule-subtype';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { ScheduleSubTypeService } from 'src/app/components/schedules/services/schedule-subtype.service';\r\nimport { ScheduleSubtypesRefresh } from 'src/app/components/schedules/store/schedule-subtypes/schedule-subtypes.action';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { ResourceType } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'schedule-subtypes-details',\r\n templateUrl: './schedule-subtypes-details.component.html',\r\n styleUrls: ['./schedule-subtypes-details.component.scss']\r\n})\r\nexport class ScheduleSubtypesDetailsComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() scheduleSubtype?: ScheduleSubtype | null;\r\n\r\n scheduleType?: ScheduleType;\r\n scheduleSubtypeTemp?: ScheduleSubtype | null;\r\n\r\n adding!: boolean;\r\n modifying!: boolean;\r\n disabled!: boolean;\r\n\r\n today: number = Date.now();\r\n dateFormat?: string;\r\n\r\n scheduleTypes!: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n procedureTypes!: ProcedureType[];\r\n procedureTypes$!: Observable;\r\n procedureTypesSubs!: Subscription;\r\n\r\n documentTypes!: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n scheduleResourceTypes!: ResourceType[];\r\n\r\n resourceTypes!: ResourceType[];\r\n resourceTypesFiltered!: ResourceType[];\r\n resourceTypes$!: Observable;\r\n resourceTypesSubs!: Subscription;\r\n\r\n templateTypes!: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n schedulesSubs!: Subscription;\r\n\r\n public get nameCtrl(): AbstractControl | null { return this.formGroup.get('nameCtrl'); }\r\n public get descriptionCtrl(): AbstractControl | null { return this.formGroup.get('descriptionCtrl'); }\r\n public get acronymCtrl(): AbstractControl | null { return this.formGroup.get('acronymCtrl'); }\r\n public get activeToggleCtrl(): AbstractControl | null { return this.formGroup.get('activeToggleCtrl'); }\r\n public get tabsToggleCtrl(): AbstractControl | null { return this.formGroup.get('tabsToggleCtrl'); }\r\n public get graceTimeCtrl(): AbstractControl | null { return this.formGroup.get('graceTimeCtrl'); }\r\n public get dueDateCtrl(): AbstractControl | null { return this.formGroup.get('dueDateCtrl'); }\r\n public get documentTypeCtrl(): AbstractControl | null { return this.formGroup.get('documentTypeCtrl'); }\r\n public get procedureTypeCtrl(): AbstractControl | null { return this.formGroup.get('procedureTypeCtrl'); }\r\n public get resourceTypeCtrl(): AbstractControl | null { return this.formGroup.get('resourceTypeCtrl'); }\r\n public get templateTypeCtrl(): AbstractControl | null { return this.formGroup.get('templateTypeCtrl'); }\r\n public get dateFormatCtrl(): AbstractControl | null { return this.formGroup.get('dateFormatCtrl'); }\r\n public get customToggleCtrl(): AbstractControl | null { return this.formGroup.get('customToggleCtrl'); }\r\n\r\n @ViewChild('autoInput') autoInput!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ScheduleSubTypeService,\r\n ) {\r\n super(injector);\r\n }\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.initializeForm();\r\n this.loadProcedureTypes();\r\n this.loadDocumentTypes();\r\n this.loadResourceTypes();\r\n this.loadScheduleTypes();\r\n this.loadTemplateTypes();\r\n this.loadSchedules();\r\n this.getDetails();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.procedureTypesSubs?.unsubscribe();\r\n this.documentTypesSubs?.unsubscribe();\r\n this.resourceTypesSubs?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.scheduleTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n this.loadProcedureTypes();\r\n this.loadDocumentTypes();\r\n this.loadResourceTypes();\r\n this.loadScheduleTypes();\r\n this.loadTemplateTypes();\r\n this.loadSchedules();\r\n this.getDetails();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n nameCtrl: [{ value: null }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n descriptionCtrl: [{ value: null }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n acronymCtrl: [{ value: null }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n activeToggleCtrl: [{ value: false }],\r\n graceTimeCtrl: [{ value: 30 }],\r\n dueDateCtrl: [{ value: 12 }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n documentTypeCtrl: [{ value: false }],\r\n procedureTypeCtrl: [{ value: null }],\r\n tabsToggleCtrl: [{ value: false }],\r\n resourceTypeCtrl: [{ value: null }],\r\n templateTypeCtrl: [{ value: null }],\r\n dateFormatCtrl: [{ value: 'shortDate' }],\r\n customToggleCtrl: [{ value: false }]\r\n });\r\n this.nameCtrl?.setValue(null);\r\n this.descriptionCtrl?.setValue(null);\r\n this.acronymCtrl?.setValue(null);\r\n this.graceTimeCtrl?.setValue(null);\r\n this.dueDateCtrl?.setValue(null);\r\n this.validateForm();\r\n }\r\n\r\n override getErrorMsg(control: AbstractControl | null): string | null {\r\n if (control?.hasError('required')) { return 'You must enter a value'; }\r\n if (control?.hasError('hasWhiteSpace')) { return 'Enter a valid value'; }\r\n if (control?.hasError('resourceType')) { return 'You must select a Resource Type'; }\r\n if (control?.hasError('scheduleType')) { return 'You must select a Schedule Type'; }\r\n if (control?.hasError('scheduleSubtype')) { return 'You must select a Schedule Subtype'; }\r\n if (control?.hasError('numeric')) { return 'This value shuld be numeric'; }\r\n return null;\r\n }\r\n\r\n getDetails() {\r\n this.adding = this.scheduleSubtype?.id == 0;\r\n this.modifying = false;\r\n this.scheduleSubtypeTemp = this.utils.cloneDeep(this.scheduleSubtype);\r\n this.scheduleType = this.scheduleTypes.find(x => x.id == this.scheduleSubtype?.scheduleTypeId);\r\n this.nameCtrl?.setValue(this.scheduleSubtype?.name);\r\n this.descriptionCtrl?.setValue(this.scheduleSubtype?.description);\r\n this.acronymCtrl?.setValue(this.scheduleSubtype?.acronym);\r\n this.activeToggleCtrl?.setValue(this.scheduleSubtype?.isActive);\r\n this.graceTimeCtrl?.setValue(this.scheduleSubtype?.graceTime);\r\n this.dueDateCtrl?.setValue(this.scheduleSubtype?.nextDueDateTime);\r\n this.documentTypeCtrl?.setValue(this.scheduleType?.documentTypeId);\r\n this.procedureTypeCtrl?.setValue(this.scheduleSubtype?.procedureTypeID);\r\n this.dateFormatCtrl?.setValue(this.scheduleSubtype?.dateFormat);\r\n this.dateFormat = this.scheduleSubtype?.dateFormat;\r\n this.customToggleCtrl?.setValue(this.scheduleType?.allowCustomSchedules);\r\n this.getRelatedInfo();\r\n this.filterResourceTypes();\r\n this.validateForm();\r\n }\r\n\r\n getRelatedInfo() {\r\n this.getTemplateType();\r\n this.getSchedules();\r\n }\r\n\r\n getTemplateType() {\r\n if (!this.scheduleType?.id) {\r\n this.templateTypeCtrl?.setValue(null);\r\n }\r\n else {\r\n this.templateTypeCtrl?.setValue(this.templateTypes?.find(x => x.scheduleSubtypeID == this.scheduleSubtype?.id)?.name);\r\n }\r\n }\r\n\r\n getSchedules() {\r\n if (this.scheduleType && this.scheduleSubtype) {\r\n this.scheduleSubtype.schedules = this.schedules?.filter(x => x.typeId == this.scheduleSubtype?.id);\r\n }\r\n }\r\n\r\n validateForm() {\r\n if (!(this.adding || this.modifying)) {\r\n this.formGroup.markAsPristine();\r\n this.formGroup.disable();\r\n this.resourceTypeCtrl?.disable();\r\n this.disabled = true;\r\n }\r\n else {\r\n this.formGroup.enable();\r\n this.resourceTypeCtrl?.enable();\r\n this.disabled = false;\r\n this.formGroup.valueChanges.subscribe(() => {\r\n this.setFormDirty(this.formGroup.dirty);\r\n });\r\n }\r\n this.templateTypeCtrl?.disable();\r\n this.documentTypeCtrl?.disable();\r\n this.customToggleCtrl?.disable();\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.subscribe(data => {\r\n this.templateTypes = data;\r\n });\r\n }\r\n\r\n loadSchedules() {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.subscribe(data => {\r\n this.schedules = data;\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe(data => {\r\n this.scheduleTypes = data;\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n this.documentTypes = data.filter(x => x.description && !x.type);\r\n if (!this.documentTypes.map(x => x.id).includes(0)) {\r\n this.documentTypes.unshift({ id: 0, description: '[None]' } as DocumentType);\r\n }\r\n });\r\n }\r\n\r\n loadProcedureTypes() {\r\n this.procedureTypes$ = this.store.select(state => state.ProcedureType.data);\r\n this.procedureTypesSubs = this.procedureTypes$.subscribe(data => {\r\n this.procedureTypes = data;\r\n if (!this.procedureTypes.map(x => x.id).includes(0)) {\r\n this.procedureTypes.unshift({ id: 0, name: '[None]' } as ProcedureType);\r\n }\r\n });\r\n }\r\n\r\n loadResourceTypes() {\r\n this.resourceTypes$ = this.store.select(state => state.ResourceTypes.data);\r\n this.resourceTypesSubs = this.resourceTypes$.subscribe(data => {\r\n this.resourceTypes = data;\r\n });\r\n }\r\n\r\n changedResourceType(e: any) {\r\n const text = e.target.value;\r\n this.filterResourceTypes();\r\n this.resourceTypesFiltered = this.resourceTypesFiltered.filter(x => x.name.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n filterResourceTypes() {\r\n let resourceTypeArray: number[] = [];\r\n resourceTypeArray = this.scheduleSubtype?.resourceTypeIds ? JSON.parse(this.scheduleSubtype?.resourceTypeIds).map(Number) : (this.scheduleType?.resourceTypeIds ? JSON.parse(this.scheduleType?.resourceTypeIds) : new Array());\r\n this.scheduleResourceTypes = [];\r\n resourceTypeArray.map(id => {\r\n const resourceType = this.resourceTypes.find(x => x.id == id);\r\n if (resourceType)\r\n this.scheduleResourceTypes.push(resourceType);\r\n });\r\n this.resourceTypesFiltered = this.resourceTypes.filter(x => !this.scheduleResourceTypes.map(t => t.id).includes(x.id));\r\n }\r\n\r\n removeResourceType(resourceType: ResourceType) {\r\n this.scheduleResourceTypes.splice(this.scheduleResourceTypes.findIndex(x => x.id == resourceType.id), 1);\r\n this.formGroup.markAsDirty();\r\n }\r\n\r\n modify() {\r\n this.modifying = true;\r\n this.validateForm();\r\n }\r\n\r\n reset() {\r\n this.adding = false;\r\n this.modifying = false;\r\n this.validateForm();\r\n if (this.scheduleSubtypeTemp) this.scheduleSubtype = this.scheduleSubtypeTemp;\r\n this.getDetails();\r\n this.formGroup.reset();\r\n this.setFormDirty(false);\r\n }\r\n\r\n selectedScheduleResource(e: any) {\r\n if (!this.scheduleResourceTypes) {\r\n this.scheduleResourceTypes = [];\r\n }\r\n this.scheduleResourceTypes.push(e.option.value);\r\n this.autoInput.nativeElement.value = '';\r\n }\r\n\r\n selectedProcedureType(e: any) {\r\n this.formGroup.markAsDirty();\r\n }\r\n\r\n save() {\r\n if (this.scheduleSubtype) {\r\n this.scheduleSubtype.name = this.nameCtrl?.value;\r\n this.scheduleSubtype.description = this.descriptionCtrl?.value;\r\n this.scheduleSubtype.acronym = this.acronymCtrl?.value;\r\n this.scheduleSubtype.isActive = this.activeToggleCtrl?.value;\r\n this.scheduleSubtype.graceTime = this.graceTimeCtrl?.value;\r\n this.scheduleSubtype.nextDueDateTime = this.dueDateCtrl?.value;\r\n this.scheduleSubtype.procedureTypeID = this.procedureTypeCtrl?.value != 0 ? this.procedureTypeCtrl?.value : null;\r\n this.scheduleSubtype.dateFormat = this.dateFormatCtrl?.value;\r\n this.scheduleSubtype.resourceTypeIds = this.utils.JSONstringify(this.scheduleResourceTypes.map(x => x.id));\r\n this.scheduleSubtype.scheduleType = undefined;\r\n if (this.scheduleSubtype.id) {\r\n this.service.update(this.utils.Serialize(this.scheduleSubtype)).toPromise().then(data => {\r\n this.alert.success('Schedule Subtype Updated!!');\r\n this.getDetails();\r\n this.setFormDirty(false);\r\n // this.store.dispatch(new ScheduleSubtypesRefresh());\r\n // this.store.dispatch(new TemplateTypesRefreshByDocument(this.scheduleType?.documentTypeId));\r\n }).catch(() => this.alert.defaultError());\r\n }\r\n else {\r\n this.service.create(this.scheduleSubtype).toPromise().then(data => {\r\n this.alert.success('Schedule Subtype Created!!');\r\n this.getDetails();\r\n this.setFormDirty(false);\r\n // this.store.dispatch(new ScheduleSubtypesRefresh());\r\n // this.store.dispatch(new TemplateTypesRefreshByDocument(this.scheduleType?.documentTypeId));\r\n }).catch(() => this.alert.defaultError());\r\n }\r\n }\r\n }\r\n\r\n delete() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Are you sure to Delete this Schedule Subtype?',\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data && this.scheduleSubtype) {\r\n this.service.delete(this.scheduleSubtype.id).toPromise().then(() => {\r\n this.getDetails();\r\n this.store.dispatch(new ScheduleSubtypesRefresh());\r\n });\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n {{\r\n getErrorMsg(nameCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n Description\r\n \r\n {{\r\n getErrorMsg(descriptionCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n Acronym\r\n \r\n {{\r\n getErrorMsg(acronymCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n Is Active\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Grace Period\r\n \r\n {{\r\n getErrorMsg(graceTimeCtrl)\r\n }}\r\n Days\r\n \r\n
\r\n
\r\n \r\n Due Period\r\n \r\n {{\r\n getErrorMsg(dueDateCtrl)\r\n }}\r\n Months\r\n \r\n
\r\n
\r\n \r\n Date Format\r\n \r\n {{\r\n getErrorMsg(dateFormatCtrl)\r\n }}\r\n \r\n {{ today | date : dateFormat }}\r\n \r\n \r\n
\r\n
\r\n
\r\n Custom Schedules\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Document Type\r\n \r\n \r\n {{ documentType.description }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Procedure Type\r\n \r\n \r\n {{ procedureType.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Schedule Resource Type List\r\n \r\n \r\n {{ item.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ resourceType.name }}\r\n \r\n \r\n You must choose at least one Resource Type\r\n \r\n
\r\n
\r\n
\r\n
\r\n
Related Data
\r\n
\r\n
\r\n \r\n Checklist Template Type\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
Schedules
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Delete\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n
\r\n
\r\n
\r\n","import { ENTER, TAB } from '@angular/cdk/keycodes';\r\nimport { Component, OnInit, OnDestroy, Output, EventEmitter, Injector, OnChanges, SimpleChanges, Input, ElementRef, ViewChild, ChangeDetectorRef } from '@angular/core';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { TemplateType } from 'src/app/components/checklists/checklists';\r\nimport { ProcedureType } from 'src/app/components/procedure/models/procedure-type';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { ScheduleSubtype } from 'src/app/components/schedules/models/schedule-subtype';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { ScheduleTypeService } from 'src/app/components/schedules/services/schedule-type.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { ResourceType } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'schedule-types-details',\r\n templateUrl: './schedule-types-details.component.html',\r\n styleUrls: ['./schedule-types-details.component.scss']\r\n})\r\nexport class ScheduleTypesDetailsComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() scheduleType?: ScheduleType | null;\r\n\r\n @Output() selectedScheduleSubtype = new EventEmitter();\r\n\r\n scheduleTypeTemp?: ScheduleType | null;\r\n\r\n adding!: boolean;\r\n modifying!: boolean;\r\n disabled!: boolean;\r\n\r\n today: number = Date.now();\r\n dateFormat?: string;\r\n\r\n procedureTypes!: ProcedureType[];\r\n procedureTypes$!: Observable;\r\n procedureTypesSubs!: Subscription;\r\n\r\n documentTypes!: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n scheduleResourceTypes!: ResourceType[];\r\n\r\n resourceTypes!: ResourceType[];\r\n resourceTypesFiltered!: ResourceType[];\r\n resourceTypes$!: Observable;\r\n resourceTypesSubs!: Subscription;\r\n\r\n templateTypes!: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n schedulesSubs!: Subscription;\r\n\r\n disableDelete?: boolean;\r\n\r\n public get nameCtrl(): AbstractControl | null { return this.formGroup.get('nameCtrl'); }\r\n public get descriptionCtrl(): AbstractControl | null { return this.formGroup.get('descriptionCtrl'); }\r\n public get acronymCtrl(): AbstractControl | null { return this.formGroup.get('acronymCtrl'); }\r\n public get activeToggleCtrl(): AbstractControl | null { return this.formGroup.get('activeToggleCtrl'); }\r\n public get tabsToggleCtrl(): AbstractControl | null { return this.formGroup.get('tabsToggleCtrl'); }\r\n public get graceTimeCtrl(): AbstractControl | null { return this.formGroup.get('graceTimeCtrl'); }\r\n public get dueDateCtrl(): AbstractControl | null { return this.formGroup.get('dueDateCtrl'); }\r\n public get documentTypeCtrl(): AbstractControl | null { return this.formGroup.get('documentTypeCtrl'); }\r\n public get procedureTypeCtrl(): AbstractControl | null { return this.formGroup.get('procedureTypeCtrl'); }\r\n public get resourceTypeCtrl(): AbstractControl | null { return this.formGroup.get('resourceTypeCtrl'); }\r\n public get templateTypeCtrl(): AbstractControl | null { return this.formGroup.get('templateTypeCtrl'); }\r\n public get dateFormatCtrl(): AbstractControl | null { return this.formGroup.get('dateFormatCtrl'); }\r\n public get customToggleCtrl(): AbstractControl | null { return this.formGroup.get('customToggleCtrl'); }\r\n\r\n @ViewChild('autoInput') autoInput!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ScheduleTypeService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.initializeForm();\r\n this.loadProcedureTypes();\r\n this.loadDocumentTypes();\r\n this.loadResourceTypes();\r\n this.loadTemplateTypes();\r\n this.loadSchedules();\r\n this.getDetails();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.procedureTypesSubs?.unsubscribe();\r\n this.documentTypesSubs?.unsubscribe();\r\n this.resourceTypesSubs?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.schedulesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n this.loadProcedureTypes();\r\n this.loadDocumentTypes();\r\n this.loadResourceTypes();\r\n this.loadTemplateTypes();\r\n this.loadSchedules();\r\n this.getDetails();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n nameCtrl: [{ value: null }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n descriptionCtrl: [{ value: null }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n acronymCtrl: [{ value: null }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n activeToggleCtrl: [{ value: false }],\r\n graceTimeCtrl: [{ value: 30 }, [Validators.pattern('^[0-9]*$'), Validators.required]],\r\n dueDateCtrl: [{ value: 12 }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm, Validators.pattern('^[0-9]*$')]],\r\n documentTypeCtrl: [{ value: false }],\r\n procedureTypeCtrl: [{ value: null }],\r\n tabsToggleCtrl: [{ value: false }],\r\n resourceTypeCtrl: [{ value: null }],\r\n templateTypeCtrl: [{ value: null }],\r\n dateFormatCtrl: [{ value: 'shortDate' }],\r\n customToggleCtrl: [{ value: false }]\r\n });\r\n this.nameCtrl?.setValue(null);\r\n this.descriptionCtrl?.setValue(null);\r\n this.acronymCtrl?.setValue(null);\r\n this.graceTimeCtrl?.setValue(null);\r\n this.dueDateCtrl?.setValue(null);\r\n this.validateForm();\r\n }\r\n\r\n override getErrorMsg(control: AbstractControl | null): string | null {\r\n if (control?.hasError('required')) { return 'You must enter a value'; }\r\n if (control?.hasError('hasWhiteSpace')) { return 'Enter a valid value'; }\r\n if (control?.hasError('resourceType')) { return 'You must select a Resource Type'; }\r\n if (control?.hasError('scheduleType')) { return 'You must select a Schedule Type'; }\r\n if (control?.hasError('scheduleSubtype')) { return 'You must select a Schedule Subtype'; }\r\n if (control?.hasError('numeric')) { return 'This value shuld be numeric'; }\r\n return null;\r\n }\r\n\r\n getDetails() {\r\n this.modifying = false;\r\n if (this.scheduleType) {\r\n this.adding = this.scheduleType?.id == 0;\r\n this.scheduleTypeTemp = this.utils.cloneDeep(this.scheduleType);\r\n this.nameCtrl?.setValue(this.scheduleType?.name);\r\n this.descriptionCtrl?.setValue(this.scheduleType?.description);\r\n this.acronymCtrl?.setValue(this.scheduleType?.acronym);\r\n this.activeToggleCtrl?.setValue(this.scheduleType?.isActive);\r\n this.graceTimeCtrl?.setValue(this.scheduleType?.graceTime);\r\n this.dueDateCtrl?.setValue(this.scheduleType?.nextDueDateTime);\r\n this.documentTypeCtrl?.setValue(this.scheduleType?.documentTypeId);\r\n this.procedureTypeCtrl?.setValue(this.scheduleType?.procedureTypeID);\r\n this.tabsToggleCtrl?.setValue(this.scheduleType?.tabColumns);\r\n this.dateFormatCtrl?.setValue(this.scheduleType?.dateFormat);\r\n this.customToggleCtrl?.setValue(this.scheduleType?.allowCustomSchedules);\r\n this.dateFormat = this.scheduleType?.dateFormat;\r\n this.getRelatedInfo();\r\n this.filterResourceTypes();\r\n this.validateForm();\r\n }\r\n else {\r\n this.formGroup.reset();\r\n }\r\n }\r\n\r\n getRelatedInfo() {\r\n this.getTemplateType();\r\n this.getSchedules();\r\n }\r\n\r\n getTemplateType() {\r\n if (!this.scheduleType?.id) {\r\n this.templateTypeCtrl?.setValue(null);\r\n }\r\n else if (this.scheduleType.id == 1) {\r\n this.templateTypeCtrl?.setValue('ABSI - Universal');\r\n }\r\n else {\r\n this.templateTypeCtrl?.setValue(this.templateTypes?.find(x => x.scheduleTypeID == this.scheduleType?.id && x.scheduleSubtypeID == null)?.name);\r\n }\r\n }\r\n\r\n getSchedules() {\r\n if (this.scheduleType) {\r\n this.scheduleType.schedules = this.schedules?.filter(x => x.typeId == this.scheduleType?.id);\r\n }\r\n }\r\n\r\n validateForm() {\r\n if (!(this.adding || this.modifying)) {\r\n this.formGroup.markAsPristine();\r\n this.formGroup.disable();\r\n this.resourceTypeCtrl?.disable();\r\n this.disabled = true;\r\n }\r\n else {\r\n this.formGroup.enable();\r\n this.resourceTypeCtrl?.enable();\r\n this.disabled = false;\r\n this.setFormDirty(false);\r\n this.formGroup.valueChanges.subscribe(() => {\r\n this.setFormDirty(this.formGroup.dirty);\r\n })\r\n }\r\n this.disableDelete =\r\n !(!this.scheduleType?.scheduleSubtypes?.length && !this.scheduleType?.schedules?.length);\r\n this.templateTypeCtrl?.disable();\r\n }\r\n\r\n loadSchedules() {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.subscribe(data => {\r\n this.schedules = data;\r\n });\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.subscribe(data => {\r\n this.templateTypes = data;\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n this.documentTypes = data.filter(x => x.description && !x.type);\r\n if (!this.documentTypes.map(x => x.id).includes(0)) {\r\n this.documentTypes.unshift({ id: 0, description: '[None]' } as DocumentType);\r\n }\r\n });\r\n }\r\n\r\n loadProcedureTypes() {\r\n this.procedureTypes$ = this.store.select(state => state.ProcedureType.data);\r\n this.procedureTypesSubs = this.procedureTypes$.subscribe(data => {\r\n this.procedureTypes = data;\r\n if (!this.procedureTypes.map(x => x.id).includes(0)) {\r\n this.procedureTypes.unshift({ id: 0, name: '[None]' } as ProcedureType);\r\n }\r\n });\r\n }\r\n\r\n loadResourceTypes() {\r\n this.resourceTypes$ = this.store.select(state => state.ResourceTypes.data);\r\n this.resourceTypesSubs = this.resourceTypes$.subscribe(data => {\r\n this.resourceTypes = data;\r\n });\r\n }\r\n\r\n changedResourceType(e: any) {\r\n const text = e.target.value;\r\n this.filterResourceTypes();\r\n this.resourceTypesFiltered = this.resourceTypesFiltered.filter(x => x.name.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n filterResourceTypes() {\r\n let resourceTypeArray: number[] = [];\r\n resourceTypeArray = this.scheduleType?.resourceTypeIds ? JSON.parse(this.scheduleType?.resourceTypeIds).map(Number) : new Array();\r\n this.scheduleResourceTypes = [];\r\n resourceTypeArray.map(id => {\r\n const resourceType = this.resourceTypes.find(x => x.id == id);\r\n if (resourceType)\r\n this.scheduleResourceTypes.push(resourceType);\r\n });\r\n this.resourceTypesFiltered = this.resourceTypes.filter(x => !this.scheduleResourceTypes.map(t => t.id).includes(x.id));\r\n }\r\n\r\n removeResourceType(resourceType: ResourceType) {\r\n this.scheduleResourceTypes.splice(this.scheduleResourceTypes.findIndex(x => x.id == resourceType.id), 1);\r\n this.formGroup.markAsDirty();\r\n }\r\n\r\n modify() {\r\n this.modifying = true;\r\n this.validateForm();\r\n }\r\n\r\n reset() {\r\n this.adding = false;\r\n this.modifying = false;\r\n this.scheduleType = null;\r\n this.validateForm();\r\n if (this.scheduleTypeTemp?.id) this.scheduleType = this.scheduleTypeTemp;\r\n this.getDetails();\r\n this.setFormDirty(false);\r\n this.formGroup.reset();\r\n\r\n }\r\n\r\n selectedScheduleResource(e: any) {\r\n if (!this.scheduleResourceTypes) {\r\n this.scheduleResourceTypes = [];\r\n }\r\n this.scheduleResourceTypes.push(e.option.value);\r\n this.autoInput.nativeElement.value = '';\r\n this.setFormDirty();\r\n }\r\n\r\n save() {\r\n if (this.scheduleType) {\r\n this.scheduleType.name = this.nameCtrl?.value;\r\n this.scheduleType.description = this.descriptionCtrl?.value;\r\n this.scheduleType.acronym = this.acronymCtrl?.value;\r\n this.scheduleType.isActive = this.activeToggleCtrl?.value;\r\n this.scheduleType.tabColumns = this.tabsToggleCtrl?.value && this.scheduleType.scheduleSubtypes?.length > 0;\r\n this.scheduleType.graceTime = this.graceTimeCtrl?.value;\r\n this.scheduleType.nextDueDateTime = this.dueDateCtrl?.value;\r\n this.scheduleType.documentTypeId = this.documentTypeCtrl?.value != 0 ? this.documentTypeCtrl?.value : null;\r\n this.scheduleType.procedureTypeID = this.procedureTypeCtrl?.value != 0 ? this.procedureTypeCtrl?.value : null;\r\n this.scheduleType.dateFormat = this.dateFormatCtrl?.value;\r\n this.scheduleType.allowCustomSchedules = this.customToggleCtrl?.value;\r\n this.scheduleType.scheduleSubtypes = [];\r\n this.scheduleType.resourceTypeIds = this.utils.JSONstringify(this.scheduleResourceTypes.map(x => x.id));\r\n if (this.scheduleType.id) {\r\n this.service.update(this.utils.Serialize(this.scheduleType)).toPromise().then(data => {\r\n this.alert.success(\"Schedule Type Updated!!\");\r\n if (data) this.scheduleType = data;\r\n this.getDetails();\r\n this.setFormDirty(false);\r\n });\r\n }\r\n else {\r\n this.service.create(this.scheduleType).toPromise().then(data => {\r\n this.alert.success(\"Schedule Type Created!!\");\r\n if (data) this.scheduleType = data;\r\n this.getDetails();\r\n this.setFormDirty(false);\r\n });\r\n }\r\n }\r\n }\r\n\r\n delete() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Are you sure to Delete this Schedule Type?',\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data && this.scheduleType) {\r\n this.service.delete(this.scheduleType.id).toPromise().then(() => {\r\n this.getDetails();\r\n });\r\n }\r\n });\r\n }\r\n\r\n createSubtype() {\r\n const scheduleSubtype = {\r\n id: 0,\r\n scheduleTypeId: this.scheduleType?.id,\r\n scheduleType: this.scheduleType\r\n } as ScheduleSubtype\r\n this.selectedScheduleSubtype.emit(scheduleSubtype);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n {{\r\n getErrorMsg(nameCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n Description\r\n \r\n {{\r\n getErrorMsg(descriptionCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n Acronym\r\n \r\n {{\r\n getErrorMsg(acronymCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n Is Active\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Grace Period\r\n \r\n {{\r\n getErrorMsg(graceTimeCtrl)\r\n }}\r\n Days\r\n \r\n
\r\n
\r\n \r\n Due Period\r\n \r\n {{\r\n getErrorMsg(dueDateCtrl)\r\n }}\r\n Months\r\n \r\n
\r\n
\r\n \r\n Date Format\r\n \r\n {{\r\n getErrorMsg(dateFormatCtrl)\r\n }}\r\n \r\n {{ today | date : dateFormat }}\r\n \r\n \r\n
\r\n
\r\n
\r\n Custom Schedules\r\n \r\n
\r\n
\r\n
\r\n \r\n Show Tabs\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Document Type\r\n \r\n \r\n {{ documentType.description }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Procedure Type\r\n \r\n \r\n {{ procedureType.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Schedule Resource Type List\r\n \r\n \r\n {{ item.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ resourceType.name }}\r\n \r\n \r\n You must choose at least one Resource Type\r\n \r\n
\r\n
\r\n
\r\n
\r\n
Related Data
\r\n
\r\n
\r\n \r\n Checklist Template Type\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
Schedules
\r\n \r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n Delete\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n
\r\n
\r\n
\r\n","import { trigger, state, style, transition, animate } from '@angular/animations';\r\nimport { Component, OnInit, OnDestroy, ViewChildren, ViewContainerRef, QueryList, Output, EventEmitter, Input, OnChanges, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatSort, Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource, MatTable } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ScheduleSubtype } from 'src/app/components/schedules/models/schedule-subtype';\r\nimport { ScheduleTypeNested, ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'schedule-types-list',\r\n templateUrl: './schedule-types-list.component.html',\r\n styleUrls: ['./schedule-types-list.component.scss'],\r\n animations: [\r\n trigger('detailExpand', [\r\n state('collapsed', style({ height: '0px', minHeight: '0' })),\r\n state('expanded', style({ height: '*' })),\r\n transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\r\n ])]\r\n})\r\nexport class ScheduleTypesListComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() filter?: string;\r\n @Output() loading = new EventEmitter();\r\n\r\n public displayedColumns: string[] = ['name', 'document', 'procedure'];\r\n public innerDisplayedColumns: string[] = ['name'];\r\n\r\n public dataSource!: MatTableDataSource;\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef })\r\n rows!: QueryList;\r\n\r\n\r\n @Output() selectedScheduleType = new EventEmitter();\r\n @Output() selectedScheduleSubtype = new EventEmitter();\r\n\r\n public selectedScheduleTypeIndex!: number | null;\r\n public selectedScheduleSubtypeIndex!: number | null;\r\n public valueFilter!: string;\r\n public showInactive!: boolean;\r\n\r\n scheduleTypes!: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n scheduleTypesNested?: ScheduleTypeNested[];\r\n\r\n @ViewChildren('innerTables') innerTables!: QueryList>;\r\n @ViewChildren('innerSort') innerSort!: QueryList;\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n override ngOnDestroy(): void {\r\n this.scheduleTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter']) this.filterDataSource();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadScheduleTypes();\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.loading.emit(true);\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe(data => {\r\n if (data.length) {\r\n let scheduleTypesTable: ScheduleTypeNested[] = [];\r\n this.scheduleTypes = data;\r\n this.scheduleTypes.map(scheduleType => {\r\n if ((scheduleType.scheduleSubtypes?.length ?? 0) > 0) {\r\n scheduleTypesTable = [...scheduleTypesTable, { ...scheduleType, scheduleSubtypesTable: new MatTableDataSource(scheduleType.scheduleSubtypes) }];\r\n }\r\n else {\r\n scheduleTypesTable = [...scheduleTypesTable, scheduleType];\r\n }\r\n });\r\n this.scheduleTypesNested = this.showInactive ? scheduleTypesTable : scheduleTypesTable.filter(x => x.isActive);\r\n this.filterDataSource();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (element, property) => {\r\n switch (property) {\r\n case 'documenbt':\r\n return element.documentType?.name;\r\n case 'procedure':\r\n return element.procedureType?.name;\r\n default:\r\n return (element as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n filterDataSource() {\r\n const filter = this.filter?.toLowerCase();\r\n\r\n const data = this.scheduleTypesNested?.filter(s => !filter ? true : (\r\n s.name.toLowerCase().includes(filter) ||\r\n s.acronym.toLowerCase().includes(filter) ||\r\n s.description.toLowerCase().includes(filter) ||\r\n s.documentType?.name?.includes(filter) ||\r\n s.procedureType?.name.includes(filter) ||\r\n s.scheduleSubtypes.some(t => t.name?.toLowerCase().includes(filter))\r\n ));\r\n\r\n this.dataSource = new MatTableDataSource(data);\r\n this.setSortingAccessor();\r\n }\r\n\r\n getColor(item: ScheduleType): string {\r\n if (item.isActive) {\r\n return '#333';\r\n }\r\n else {\r\n return '#E04E39';\r\n }\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => r.id == row.id);\r\n return i;\r\n }\r\n\r\n showInactiveItems() {\r\n this.loadScheduleTypes();\r\n }\r\n\r\n applyFilter(valueFilter: string) {\r\n const data = this.showInactive ? this.scheduleTypes : this.scheduleTypes.filter(x => x.isActive);\r\n this.dataSource.data = data.filter(x => x.name.toLowerCase().includes(valueFilter.toLowerCase())) as ScheduleTypeNested[];\r\n }\r\n\r\n async seletedSubtype(row: ScheduleSubtype) {\r\n if (await this.canDeactivate()) {\r\n this.selectedScheduleSubtypeIndex = row.id;\r\n row.scheduleType = this.scheduleTypes.find(x => x.id == row.scheduleTypeId);\r\n this.selectedScheduleSubtype.emit(row);\r\n this.setHeights();\r\n }\r\n }\r\n\r\n async create() {\r\n if (await this.canDeactivate()) {\r\n this.selectedScheduleType.emit({\r\n id: 0,\r\n name: '',\r\n description: '',\r\n acronym: '',\r\n\r\n } as ScheduleType);\r\n }\r\n }\r\n\r\n async toggleRow(element: ScheduleTypeNested) {\r\n if (await this.canDeactivate()) {\r\n if (this.selectedScheduleSubtypeIndex && this.selectedScheduleTypeIndex === element.id) {\r\n this.selectedScheduleSubtypeIndex = null;\r\n this.selectedScheduleType.emit(element);\r\n return;\r\n }\r\n this.selectedScheduleTypeIndex = this.selectedScheduleTypeIndex === element.id ? null : element.id;\r\n this.innerTables.map((table, index) => (table.dataSource as MatTableDataSource).sort = this.innerSort.toArray()[index]);\r\n if (this.selectedScheduleTypeIndex) {\r\n this.selectedScheduleType.emit(element);\r\n }\r\n else {\r\n this.selectedScheduleType.emit(null);\r\n }\r\n this.setHeights();\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n Show Inactive\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Schedule Type\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Document Type\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Procedure Type\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ScheduleType } from '../../schedules/models/schedule-type';\r\nimport { ScheduleSubtype } from '../../schedules/models/schedule-subtype';\r\nimport { ScheduleTypesDetailsComponent } from './schedule-types-details/schedule-types-details.component';\r\n\r\n@Component({\r\n selector: 'app-schedule-types',\r\n templateUrl: './schedule-types.component.html',\r\n styleUrls: ['./schedule-types.component.scss']\r\n})\r\nexport class ScheduleTypesComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n @ViewChild(ScheduleTypesDetailsComponent) details?: ScheduleTypesDetailsComponent;\r\n\r\n scheduleType?: ScheduleType | null;\r\n scheduleSubtype?: ScheduleSubtype | null;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n // scfMasterUnchanged?: SCFMaster | null;\r\n // scfMaster?: SCFMaster | null;\r\n // scfMasters: SCFMaster[] = [];\r\n // scfMasters$!: Observable;\r\n // scfMastersSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n // privileges: SCFPrivileges = new SCFPrivileges();\r\n // public status: SCFStatus = new SCFStatus();\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n // public scfService: ScfV2Service,\r\n // private notificationService: NotificationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // this.loadSCFs();\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Schedule Types';\r\n this.checkPrivileges();\r\n }\r\n\r\n selectedScheduleType(e?: ScheduleType | null) {\r\n this.scheduleType = e;\r\n this.scheduleSubtype = null;\r\n }\r\n\r\n selectedScheduleSubtype(e?: ScheduleSubtype | null) {\r\n this.scheduleSubtype = e;\r\n this.scheduleType = e?.scheduleType;\r\n }\r\n\r\n // async loadSCFs() {\r\n // this.scfMasters$ = this.store.select((state) => state.SCFMasters.data);\r\n // this.scfMastersSubs = this.scfMasters$.subscribe((data) => {\r\n // if (data && data.length > 0) {\r\n // this.scfMasters = data.filter((x) => x.serialNo !== \"\");\r\n // if (this.scfMaster) {\r\n // this.scfMaster = this.scfMasters.find(\r\n // (x) => x.id == this.scfMaster?.id\r\n // );\r\n // this.checkPrivileges();\r\n // }\r\n // }\r\n // });\r\n // }\r\n\r\n // showStatusChangeMessage(scfMaster: SCFMaster) {\r\n // this.alert.message(this.getMessage(\"formStateChanged\"), [\r\n // new MessagePlaceholder(\"{serialNo}\", scfMaster.serialNo), new MessagePlaceholder(\"{status}\", scfMaster.statusName ?? 'New'),]);\r\n // }\r\n\r\n // override ngOnDestroy(): void {\r\n // this.scfMastersSubs?.unsubscribe();\r\n // this.proceduresSubs?.unsubscribe();\r\n // }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n // this.loading = true;\r\n // this.scfService\r\n // .getSerialNo()\r\n // .toPromise()\r\n // .then((data) => {\r\n // if (data) {\r\n // this.status.isCreating = true;\r\n // this.scfMaster = new SCFMaster();\r\n // this.scfMaster.name = data.serialNo;\r\n // this.scfMaster.serialNo = data.serialNo;\r\n // this.scfMaster.status = FormStatusEnum.New;\r\n // this.scfMaster.formStatus = new FormStatus();\r\n // this.scfMaster.createdBy = this.getCurrentUser()?.id;\r\n // this.scfMaster.createdByName = this.getCurrentUser()?.name;\r\n // this.scfMaster.relatedDocuments = [];\r\n // this.scfMaster.createdOn = new Date();\r\n // this.scfMaster.estimatedStartOn = new Date();\r\n // this.scfMaster.estimatedEndOn = new Date();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\r\n // \"MMM-DD-YYYY\"\r\n // );\r\n // this.scfMaster.editingBy = this.getCurrentUser();\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.side.selectedRowIndex = -1;\r\n\r\n // this.loading = true;\r\n // this.scfService\r\n // .post(this.scfMaster)\r\n // .toPromise()\r\n // .then(scfMaster => {\r\n // if (scfMaster) {\r\n // this.scfMaster = scfMaster;\r\n // this.loading = true;\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.disabled = false;\r\n // this.checkPrivileges();\r\n // this.status.isCreating = true;\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster) {\r\n // this.scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n // // TODO this.side.selectedRowIndex = this.scfMaster?.id;\r\n // }\r\n // }\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n // async edit() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n // async editAmendment() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n release() {\r\n // if (this.scfMaster && this.scfMasterUnchanged && !utils.isEquivalent(this.cleanSCFMaster(this.scfMaster), this.cleanSCFMaster(this.scfMasterUnchanged))) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"SCF_Release_confirmation\")\r\n // ?.description, icon: \"stop\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // if (this.scfMaster?.status == FormStatusEnum.New) {\r\n // this.loading = true;\r\n // this.scfService\r\n // .cancel(this.scfMaster, \"New Form Canceled\")\r\n // .toPromise()\r\n // .then(() => {\r\n // this.loading = false;\r\n // this.scfMaster = null;\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n // }\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n }\r\n\r\n // cleanSCFMaster(scfMaster: SCFMaster) {\r\n // let clonedSCFMaster: SCFMaster = new SCFMaster();\r\n // if (scfMaster) {\r\n // clonedSCFMaster = utils.cloneDeep(scfMaster);\r\n // clonedSCFMaster.wfTable = null;\r\n // clonedSCFMaster.editingBy = null;\r\n // clonedSCFMaster.editingById = null;\r\n // clonedSCFMaster.editingUntil = null;\r\n // clonedSCFMaster.updatedOn = null;\r\n // clonedSCFMaster.updatedBy = null;\r\n // }\r\n // return clonedSCFMaster;\r\n // }\r\n\r\n // async releaseForm() {\r\n // this.loading = true;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // // this.scfMaster = this.scfMasterUnchanged;\r\n // await this.setEditing(false);\r\n // }\r\n\r\n async setEditing(value: boolean) {\r\n // await this.scfService\r\n // .setEditing(this.scfMaster?.id ?? 0, value)\r\n // .toPromise()\r\n // .then(async () => {\r\n // await this.loadSCFs();\r\n // });\r\n // this.disabled = !value;\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n // settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n // });\r\n // settings.afterClosed().subscribe(() => { });\r\n // }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n // rowSelected(e: SCFMaster | any) {\r\n // this.scfMaster = e as SCFMaster;\r\n // if (\r\n // this.scfMasterUnchanged?.status != this.scfMaster?.status &&\r\n // this.scfMasterUnchanged?.id == this.scfMaster?.id\r\n // ) {\r\n // this.showStatusChangeMessage(this.scfMaster);\r\n // }\r\n // this.scfMasterUnchanged = e ? utils.cloneDeep(e) : null;\r\n // this.checkPrivileges();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\"MMM-DD-YYYY\");\r\n // this.status = new SCFStatus();\r\n // if (this.scfMaster?.status == FormStatusEnum.Amendment) {\r\n // this.status.isEditingAmendment =\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id;\r\n // this.status.isViewingAmendment = this.privileges.canViewAmendment;\r\n // } else if (this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) {\r\n // this.status.isEditing = true;\r\n // this.status.isViewingAmendment = false;\r\n // } else {\r\n // this.status.isViewingAmendment = false;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // }\r\n // this.checkDisabled();\r\n // this.showAmendmentToggle = (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.canSeeAmendment();\r\n // this.checkButtonsVisible();\r\n // this.setHeights();\r\n // this.scrollToTop('sidenav-content');\r\n // }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n // checkButtonsVisible() {\r\n // this.buttonsVisible =\r\n // this.status.isCreating ||\r\n // this.status.isEditing ||\r\n // this.status.isEditingAmendment ||\r\n // this.status.isCreatingAmendment ||\r\n // this.status.isViewingAmendment ||\r\n // (this.scfMaster?.status == FormStatusEnum.WorkApprovals &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == FormStatusEnum.PendingActivation &&\r\n // this.privileges.canCancel) ||\r\n // (this.scfMaster?.status == this.formStatus.Draft &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == this.formStatus.RestrictionsAmendment &&\r\n // this.privileges.canUnsubmitAmendment)\r\n // }\r\n\r\n // changeAmendmentToggle(e: any) {\r\n // this.status.isViewingAmendment = e.checked;\r\n // this.checkPrivileges();\r\n // }\r\n\r\n // canSeeAmendment(): boolean {\r\n // let res = this.hasPrivilege(PrivilegeEnum.SCFSubmit);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFNewForm);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.EditSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.ViewSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.scfMaster?.requesterId == this.getCurrentUser()?.id || this.scfMaster?.scfAmendments?.find(a => a.active)?.requesterId == this.getCurrentUser()?.id;\r\n // if (res) {\r\n // return true;\r\n // }\r\n // return false;\r\n // }\r\n\r\n // checkDisabled() {\r\n // this.disabled = true;\r\n // if (!this.getCurrentUser()) {\r\n // return;\r\n // } else {\r\n // this.disabled = !(\r\n // this.scfMaster?.status === FormStatusEnum.New ||\r\n // this.scfMaster?.status === FormStatusEnum.Draft ||\r\n // (this.scfMaster?.status === FormStatusEnum.Amendment &&\r\n // this.status.isViewingAmendment)\r\n // );\r\n // }\r\n // }\r\n\r\n checkPrivileges() {\r\n // this.checkDisabled();\r\n // this.privileges = new SCFPrivileges();\r\n // this.privileges = {\r\n // canCreate: this.hasPrivilege(PrivilegeEnum.SCFNewForm),\r\n // canEdit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFNewForm) &&\r\n // (!this.scfMaster?.editingBy ||\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id),\r\n // canSubmit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canCancel:\r\n // (this.scfMaster?.status == this.formStatus.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New ||\r\n // this.scfMaster?.status == FormStatusEnum.WorkApprovals ||\r\n // this.scfMaster?.status == FormStatusEnum.PendingActivation) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canUnsubmit:\r\n // this.scfMaster?.status == this.formStatus.WorkApprovals &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit) &&\r\n // this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 2)?.wfSignatures?.filter((x) => x.code != \"SUBMIT\" && x.signed).length ==\r\n // 0,\r\n // canCreateAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Active ||\r\n // this.scfMaster?.status == FormStatusEnum.HoldPoint) &&\r\n // this.hasPrivilege(PrivilegeEnum.RequestAmendment),\r\n // canEditAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.EditSCFAmendment),\r\n // canSubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canUnsubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment) &&\r\n // !this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.filter(x =>\r\n // x.amendmentID == this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.amendmentNumber == this.scfMaster?.scfAmendments?.length\r\n // )?.amendmentID\r\n // )\r\n // .some((x) => x.signed),\r\n // canCancelAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canViewAmendment: (this.scfMaster && this.canSeeAmendment()) ?? false,\r\n // canAddHoldPoints:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CreateHoldPoints) &&\r\n // (this.scfMaster.status == FormStatusEnum.Active ||\r\n // this.scfMaster.status == FormStatusEnum.HoldPoint)) ?? false,\r\n // canAddHoldPointsDraft:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(\r\n // PrivilegeEnum.CreateHoldPointsDraft\r\n // ) &&\r\n // this.scfMaster.status == FormStatusEnum.Draft) ?? false,\r\n // canDuplicate:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CopySCF)) ?? false,\r\n // canRelease:\r\n // ((this.scfMaster &&\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) ||\r\n // this.getCurrentUser()?.userRole?.map((x) => x.roleID).includes(Roles.SA)) ?? false,\r\n // };\r\n }\r\n\r\n duplicate() {\r\n // const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"20em\", data: {\r\n // message: this.getMessage(\r\n // \"Are you sure you want to copy this form\"\r\n // ).description, icon: \"warn\", val: false,\r\n // },\r\n // });\r\n // removeRef\r\n // .afterClosed()\r\n // .toPromise()\r\n // .then((result) => {\r\n // if (result != null && result) {\r\n // const id = this.scfMaster?.id ?? 0;\r\n // this.side.rowUnselected();\r\n // // this.cdRef.detectChanges();\r\n // this.loading = true;\r\n // this.scfService\r\n // .copySCF(id, false)\r\n // .toPromise()\r\n // .then(async (scfMaster) => {\r\n // this.scfMaster = scfMaster;\r\n // if (this.scfMaster && this.scfMaster?.id)\r\n // this.notificationService.createNotification(NotificationType.CreateSCF, this.scfMaster.id, await this.scfService.getEmails(this.scfMaster), 5, this.scfMaster?.locations).toPromise();\r\n // if (this.scfMaster)\r\n // await this.side.getValues(this.scfMaster);\r\n // this.loading = false;\r\n // })\r\n // .catch((error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n requestAmendment() {\r\n // const pendingChanges = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => !x.wfTaskLocal.amendmentID)?.filter(x => x.answerChangedBy);\r\n // if (!pendingChanges?.length) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"request_amendment\")?.description, icon: \"warn\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // this.loading = true;\r\n // if (this.scfMaster?.id)\r\n // this.scfService.requestAmendment(this.scfMaster.id).toPromise().then(() => {\r\n // this.status.isCreatingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // this.loading = false;\r\n // }, (error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // }\r\n // );\r\n // }\r\n // });\r\n // } else {\r\n // this.alert.message(\r\n // this.getMessage(\"OperationApprovalPendingChanges\")\r\n // );\r\n // }\r\n }\r\n\r\n // setStatus(status: SCFStatus | any) {\r\n // this.status = status;\r\n // }\r\n\r\n // savedEvent(e: SCFMaster | null | undefined | any) {\r\n // this.scfMaster = e;\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // this.scfService.currentDoc = this.scfMaster;\r\n // this.rowSelected(e);\r\n // }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n

{{ scheduleType?.name }}

\r\n {{ scheduleSubtype?.name }}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n Create Subtype\r\n library_add\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { ScheduleTypesComponent } from './schedule-types.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { ScheduleTypesListComponent } from './schedule-types-list/schedule-types-list.component';\r\nimport { ScheduleTypesDetailsComponent } from './schedule-types-details/schedule-types-details.component';\r\nimport { ScheduleSubtypesDetailsComponent } from './schedule-subtypes-details/schedule-subtypes-details.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n ScheduleTypesComponent,\r\n ScheduleTypesListComponent,\r\n ScheduleTypesDetailsComponent,\r\n ScheduleSubtypesDetailsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n DatePipe,\r\n MatToolbarModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ]\r\n})\r\nexport class ScheduleTypesModule { }\r\n","import { ActionPendingCatalog, Catalog } from \"src/app/common/enumerations/enumerations\";\r\nimport { AcceleratorCatalog } from \"../accelerator-catalog/services/accelerator-catalog\";\r\nimport { Role } from \"../roles/services/role\";\r\nimport { UserRoleNote } from \"../../../services/user-roles/user-role-note\";\r\nimport { UserCatalog } from \"../user-catalog/services/user\";\r\nimport { NotificationTemplate } from \"../notifications/services/notification-template\";\r\nimport { BeamlineShutterRelation, ResourceSummary } from \"../beamline-catalog/resource/resources\";\r\n\r\nexport class CatalogModel {\r\n public userCatalog?: UserCatalog;\r\n public role?: Role;\r\n public acceleratorCatalog?: AcceleratorCatalog;\r\n public resourceSummary?: ResourceSummary;\r\n public notificationTemplate?: NotificationTemplate;\r\n public action?: ActionPendingCatalog;\r\n public userRoleNote?: UserRoleNote;\r\n}\r\n\r\nexport class CatalogModelList {\r\n public userCatalogs?: UserCatalog[];\r\n public roles?: Role[];\r\n public acceleratorCatalogs?: AcceleratorCatalog[];\r\n public beamlineShutterRelations?: BeamlineShutterRelation[];\r\n public notificationTemplates?: NotificationTemplate[];\r\n}\r\n\r\nexport interface ModifyingResult {\r\n isModifying: boolean;\r\n userID: number | null;\r\n catalogs: Catalog[] | null;\r\n}\r\n\r\nexport interface Tuple {\r\n item1: any;\r\n item2: any;\r\n}\r\n","import { BeamlineShutterRelation } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\nexport class BeamlineShutterRefresh {\r\n static readonly type = '[BeamlineShutter] Refresh';\r\n}\r\n\r\nexport class BeamlineShutterCreate {\r\n static readonly type = '[BeamlineShutter] Create';\r\n\r\n constructor(public item: BeamlineShutterRelation) { }\r\n}\r\n\r\nexport class BeamlineShutterUpdate {\r\n static readonly type = '[BeamlineShutter] Update';\r\n\r\n constructor(public id: number, public item: BeamlineShutterRelation) { }\r\n}\r\n\r\nexport class BeamlineShutterRefreshById {\r\n static readonly type = '[BeamlineShutter] RefreshById';\r\n\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class BeamlineShutterDelete {\r\n static readonly type = '[BeamlineShutter] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { BeamlineShutterCreate, BeamlineShutterDelete, BeamlineShutterRefresh, BeamlineShutterRefreshById, BeamlineShutterUpdate } from './beamline-shutter.action';\r\nimport { BeamlineShutterRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { Catalog } from 'src/app/common/enumerations/enumerations';\r\nimport { A } from '@angular/cdk/keycodes';\r\n\r\n\r\nexport class BeamlineShutterStateModel {\r\n data: BeamlineShutterRelation[] = [];\r\n}\r\n\r\n@State({\r\n name: 'BeamlineShutter',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class BeamlineShutterState {\r\n constructor(\r\n private _catalog: CatalogService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: BeamlineShutterStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(BeamlineShutterRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._catalog.GetJoinCreated(Catalog.BeamlineCatalog, true).subscribe(\r\n data => {\r\n const beamlineShutters = data.beamlineShutterRelations;\r\n patchState({ data: beamlineShutters });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(BeamlineShutterRefreshById)\r\n refreshById({ getState, patchState }: StateContext, { id }: BeamlineShutterRefreshById) {\r\n this._catalog.GetBeamlineShutter(id).subscribe(item => {\r\n const state = getState();\r\n const index = state.data.map(x => x.beamlineId).indexOf(id);\r\n if (index >= 0)\r\n state.data.splice(index, 1);\r\n\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n })\r\n\r\n }\r\n\r\n @Action(BeamlineShutterCreate)\r\n create({ getState, patchState }: StateContext, { item }: BeamlineShutterCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.beamlineId).indexOf(item.beamlineId);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(BeamlineShutterUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: BeamlineShutterUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.beamlineId).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(BeamlineShutterDelete)\r\n delete({ getState, patchState }: StateContext, { id }: BeamlineShutterDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.beamlineId !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as BeamlineShutterActions from './beamline-shutter.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BeamlineShutterStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new BeamlineShutterActions.BeamlineShutterRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BEAMLINE_SHUTTER, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BeamlineShutterActions.BeamlineShutterCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BeamlineShutterActions.BeamlineShutterUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BeamlineShutterActions.BeamlineShutterDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BeamlineShutterActions.BeamlineShutterRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new BeamlineShutterActions.BeamlineShutterRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { PendingResource } from \"src/app/services/pending-approvals/pending-approval\";\r\n\r\nexport class PendingResourcesRefresh {\r\n static readonly type = '[PendingResources] Refresh';\r\n}\r\n\r\nexport class PendingResourcesCreate {\r\n static readonly type = '[PendingResources] Create';\r\n\r\n constructor(public item: PendingResource) { }\r\n}\r\n\r\nexport class PendingResourcesUpdate {\r\n static readonly type = '[PendingResources] Update';\r\n\r\n constructor(public id: number, public item: PendingResource) { }\r\n}\r\n\r\nexport class PendingResourcesDelete {\r\n static readonly type = '[PendingResources] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { PendingResourcesCreate, PendingResourcesDelete, PendingResourcesRefresh, PendingResourcesUpdate } from './pending-resources.action';\r\nimport { PendingResource } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { CatalogService } from '../../catalog-service';\r\n\r\nexport class PendingResourcesStateModel {\r\n data: PendingResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'PendingResources',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class PendingResourcesState {\r\n constructor(\r\n private _service: CatalogService,\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: PendingResourcesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(PendingResourcesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.GetAllPendingResources().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(PendingResourcesCreate)\r\n create({ getState, patchState }: StateContext, { item }: PendingResourcesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(PendingResourcesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: PendingResourcesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(PendingResourcesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: PendingResourcesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as PendingResourcesActions from './pending-resources.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PendingResourcesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new PendingResourcesActions.PendingResourcesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PENDING_RESOURCES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new PendingResourcesActions.PendingResourcesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new PendingResourcesActions.PendingResourcesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new PendingResourcesActions.PendingResourcesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new PendingResourcesActions.PendingResourcesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ResourceType } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\n\r\nexport class ResourceTypesRefresh {\r\n static readonly type = '[ResourceTypes] Refresh';\r\n}\r\n\r\nexport class ResourceTypesCreate {\r\n static readonly type = '[ResourceTypes] Create';\r\n\r\n constructor(public item: ResourceType) { }\r\n}\r\n\r\nexport class ResourceTypesUpdate {\r\n static readonly type = '[ResourceTypes] Update';\r\n\r\n constructor(public id: number, public item: ResourceType) { }\r\n}\r\n\r\nexport class ResourceTypesDelete {\r\n static readonly type = '[ResourceTypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ResourceTypesCreate, ResourceTypesDelete, ResourceTypesRefresh, ResourceTypesUpdate } from './resource-types.action';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { ResourceType } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\nexport class ResourceTypesStateModel {\r\n data: ResourceType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ResourceTypes',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ResourceTypesState {\r\n constructor(\r\n private _service: ResourcesService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ResourceTypesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ResourceTypesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAllResourceTypes().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ResourceTypesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ResourceTypesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ResourceTypesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ResourceTypesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ResourceTypesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ResourceTypesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ResourceTypesActions from './resource-types.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ResourceTypesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ResourceTypesActions.ResourceTypesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RESOURCE_TYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ResourceTypesActions.ResourceTypesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ResourceTypesActions.ResourceTypesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ResourceTypesActions.ResourceTypesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ResourceTypesActions.ResourceTypesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ResourceRelation } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\n\r\nexport class ResourceRelationsRefresh {\r\n static readonly type = '[ResourceRelations] Refresh';\r\n}\r\n\r\nexport class ResourceRelationsCreate {\r\n static readonly type = '[ResourceRelations] Create';\r\n\r\n constructor(public item: ResourceRelation) { }\r\n}\r\n\r\nexport class ResourceRelationsUpdate {\r\n static readonly type = '[ResourceRelations] Update';\r\n\r\n constructor(public id: number, public item: ResourceRelation) { }\r\n}\r\n\r\nexport class ResourceRelationsDelete {\r\n static readonly type = '[ResourceRelations] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ResourceRelationsCreate, ResourceRelationsDelete, ResourceRelationsRefresh, ResourceRelationsUpdate } from './resource-relations.action';\r\nimport { ResourceRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\n\r\n\r\nexport class ResourceRelationsStateModel {\r\n data: ResourceRelation[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ResourceRelations',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ResourceRelationsState {\r\n constructor(\r\n private _service: ResourcesService,\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ResourceRelationsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ResourceRelationsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getRelationResources().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ResourceRelationsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ResourceRelationsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ResourceRelationsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ResourceRelationsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ResourceRelationsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ResourceRelationsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ResourceRelationsActions from './resource-relations.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ResourceRelationsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ResourceRelationsActions.ResourceRelationsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RESOURCE_RELATIONS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ResourceRelationsActions.ResourceRelationsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ResourceRelationsActions.ResourceRelationsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ResourceRelationsActions.ResourceRelationsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ResourceRelationsActions.ResourceRelationsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\n\r\nexport class ResourcesRefresh {\r\n static readonly type = '[Resources] Refresh';\r\n}\r\n\r\nexport class ResourcesRefreshShutters {\r\n static readonly type = '[Resources] RefreshShutters';\r\n}\r\n\r\nexport class ResourcesCreate {\r\n static readonly type = '[Resources] Create';\r\n\r\n constructor(public item: Resource) { }\r\n}\r\n\r\nexport class ResourcesUpdate {\r\n static readonly type = '[Resources] Update';\r\n\r\n constructor(public id: number, public item: Resource) { }\r\n}\r\n\r\nexport class ResourcesDelete {\r\n static readonly type = '[Resources] Delete';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class ResourcesRefreshByID {\r\n static readonly type = '[Resources] RefreshByID';\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ResourcesCreate, ResourcesDelete, ResourcesRefresh, ResourcesRefreshByID, ResourcesRefreshShutters, ResourcesUpdate } from './resources.action';\r\nimport { EpicsValuesResource } from 'src/app/components/kenable/ke';\r\nimport { Resource, ShutterResource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\n\r\nexport class ResourcesStateModel {\r\n data: Resource[] = [];\r\n shutters: ShutterResource[] = [];\r\n epics: EpicsValuesResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Resources',\r\n defaults: {\r\n data: [],\r\n shutters: [],\r\n epics: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ResourcesState {\r\n constructor(\r\n private _service: ResourcesService,\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ResourcesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ResourcesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAllResources().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ResourcesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ResourcesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ResourcesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ResourcesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ResourcesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ResourcesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n @Action(ResourcesRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: ResourcesUpdate) {\r\n this._service.getResourceById(id).toPromise().then(item => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n if (item)\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n });\r\n\r\n }\r\n\r\n // - shutters\r\n\r\n @Action(ResourcesRefreshShutters)\r\n refreshShutters({ patchState }: StateContext) {\r\n this._service.getShutters().subscribe(\r\n shutters => patchState({ shutters }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ResourcesRefresh)\r\n refreshEpicsValues({ patchState }: StateContext) {\r\n this._service.getEpicsValues().subscribe(\r\n epics => patchState({ epics }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ResourcesActions from './resources.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ResourcesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ResourcesActions.ResourcesRefresh());\r\n this.store.dispatch(new ResourcesActions.ResourcesRefreshShutters());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RESOURCES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ResourcesActions.ResourcesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ResourcesActions.ResourcesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ResourcesActions.ResourcesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ResourcesActions.ResourcesRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new ResourcesActions.ResourcesRefreshByID(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../../../environments/environment';\r\nimport { AuthenticationService } from '../../../../services/authentication/authentication.service';\r\nimport { PrivilegeEnum } from '../../../../services/role-privilege/privilege-enum';\r\nimport { User } from './user';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService {\r\n url = environment.urls.baseApiUrl + '/Users';\r\n constructor(private http: HttpClient, private authService: AuthenticationService) { }\r\n Read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n ReadByRole(roles: number[]): Observable {\r\n let urlRoles = '';\r\n roles.map((element) => {\r\n urlRoles = urlRoles + 'roles=' + element + '&';\r\n });\r\n urlRoles = urlRoles.slice(0, -1);\r\n const result = this.http.get(this.url + '/byRoles?' + urlRoles);\r\n return result;\r\n }\r\n getEmailsByRoles(roles: number[]): Observable {\r\n let urlRoles = '';\r\n roles.map((element) => {\r\n urlRoles = urlRoles + 'roles=' + element + '&';\r\n });\r\n urlRoles = urlRoles.slice(0, -1);\r\n const result = this.http.get(this.url + '/GetEmailbyRole?' + urlRoles);\r\n return result;\r\n }\r\n ReadActive(): Observable {\r\n return this.http.get(this.url + '/Active');\r\n }\r\n\r\n ReadOne(id: number): Observable {\r\n if (id == null) { id = 0; }\r\n return this.http.get(this.url + '/' + id.toString());\r\n }\r\n Create(user: User): Observable {\r\n return this.http.post(this.url, user);\r\n }\r\n Update(id: number, user: User): Observable {\r\n return this.http.put(this.url + '/' + id.toString(), user);\r\n }\r\n Delete(id: number) {\r\n this.http.delete(this.url + '/' + id.toString());\r\n }\r\n\r\n readSupervisedForTraining(): Observable {\r\n return this.http.get(this.url + '/SupervisedForTraining');\r\n }\r\n\r\n readByPrivilege(privileges: PrivilegeEnum[]): Observable {\r\n let url = this.url + '/Privilege';\r\n let first = true;\r\n\r\n for (const privilege of privileges) {\r\n url = url + (first ? '?' : '&') + 'privileges=' + privilege.toString();\r\n first = false;\r\n }\r\n return this.http.get(url);\r\n }\r\n\r\n}\r\n","import { PendingUser } from '../../../../services/pending-approvals/pending-approval';\r\nimport { Role } from '../../roles/services/role';\r\nimport { UserRole } from '../../../../services/user-roles/user-role';\r\n\r\nexport class User {\r\n constructor() {\r\n this.pendingUsers = [];\r\n this.userRole = [];\r\n }\r\n public id?: number;\r\n public name?: string;\r\n public username?: string;\r\n public password?: string;\r\n public emailAddress?: string;\r\n public phoneExt?: string;\r\n public initials?: string;\r\n public status?: number;\r\n public isManager?: boolean;\r\n public supervisorID?: number;\r\n public organizationID?: number;\r\n public userRole?: UserRole[] | null;\r\n public roleCodes?: string;\r\n public token?: string | null;\r\n public mobile?: number;\r\n public color?: number;\r\n public orderFromRole?: number;\r\n public pendingUsers?: PendingUser[] | null;\r\n public modifyingById?: number;\r\n public isSelected?: boolean;\r\n}\r\n\r\nexport class UserCatalog {\r\n constructor() {\r\n this.details = new UserCatalogDetails();\r\n }\r\n id!: number;\r\n details: UserCatalogDetails;\r\n pendingDetails: UserCatalogDetails = new UserCatalogDetails;\r\n pendingUser: PendingUser = new PendingUser;\r\n}\r\n\r\nexport class UserCatalogDetails {\r\n\r\n user: User = new User;\r\n roles: Role[] = [];\r\n}\r\n","import { User } from \"../services/user\";\r\n\r\nexport class UsersRefresh {\r\n static readonly type = '[Users] Refresh';\r\n}\r\n\r\nexport class UsersCreate {\r\n static readonly type = '[Users] Create';\r\n\r\n constructor(public item: User) { }\r\n}\r\n\r\nexport class UsersUpdate {\r\n static readonly type = '[Users] Update';\r\n\r\n constructor(public id: number, public item: User) { }\r\n}\r\n\r\nexport class UsersDelete {\r\n static readonly type = '[Users] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { User } from '../services/user';\r\nimport { UsersCreate, UsersDelete, UsersRefresh, UsersUpdate } from './users.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { UserService } from '../services/user.service';\r\n\r\nexport class UsersStateModel {\r\n data: User[] = [];\r\n minData: User[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Users',\r\n defaults: {\r\n data: [],\r\n minData: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class UsersState {\r\n constructor(\r\n private _service: UserService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: UsersStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(UsersRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.Read().toPromise().then(\r\n data => {\r\n patchState({ data });\r\n const minData = utils.cloneDeep(data);\r\n minData?.map(u => u.userRole = []);\r\n patchState({ minData })\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(UsersCreate)\r\n create({ getState, patchState }: StateContext, { item }: UsersCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(UsersUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: UsersUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(UsersDelete)\r\n delete({ getState, patchState }: StateContext, { id }: UsersDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n// import { SignalRAction } from 'src/app/enums/signalr-enums';\r\n// import { SignalRService } from 'src/app/Services/SignalR/signal-r.service';\r\n// import { GeneralSignalRResponse } from 'src/app/_interface/signal-r-models/GeneralSignalRResponse';\r\nimport * as UsersActions from './users.action';\r\nimport { Channels } from 'src/app/store/channels';\r\nimport { GeneralSignalRResponse } from '../../../../services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from '../../../../services/signal-r/signal-r.service';\r\nimport { SignalRAction } from '../../../../services/signal-r/signalr-enums';\r\n// import { Channels } from 'src/app/Store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UsersStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new UsersActions.UsersRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.USERS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new UsersActions.UsersCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new UsersActions.UsersUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new UsersActions.UsersDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new UsersActions.UsersRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Catalog } from 'src/app/common/enumerations/enumerations';\r\nimport { Servers } from 'src/app/common/enumerations/servers-enum';\r\nimport { DisapprovalReasonComponent } from 'src/app/controls/disapproval-reason/disapproval-reason.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { UserCatalog, User, UserCatalogDetails } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { CatalogModel } from '../../catalog-model';\r\nimport { CatalogService } from '../../catalog-service';\r\nimport { Organization } from '../../beamline-catalog/dialogs/organization/organization';\r\nimport { OrganizationService } from '../../beamline-catalog/dialogs/organization/organization.service';\r\n\r\n@Component({\r\n selector: 'user-catalog-details',\r\n templateUrl: './user-catalog-details.component.html',\r\n styleUrls: ['./user-catalog-details.component.scss']\r\n})\r\nexport class UserCatalogDetailsComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() userCatalog?: UserCatalog;\r\n @Input() showModification?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() saved = new EventEmitter();\r\n @Output() changed = new EventEmitter();\r\n\r\n catalogModel!: CatalogModel;\r\n\r\n errorMsg!: string[];\r\n disabled: boolean = true;\r\n\r\n oldUserName!: string;\r\n\r\n canModify!: boolean;\r\n canApprove!: boolean;\r\n isEditing!: boolean;\r\n isCreating!: boolean;\r\n canCancel!: boolean;\r\n\r\n valid!: boolean;\r\n\r\n formGroupSubs!: Subscription;\r\n\r\n supervisors!: User[];\r\n\r\n roles!: Role[];\r\n allRoles!: Role[];\r\n rolesFiltered!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n public displayedColumns: string[] = ['supervisor'];\r\n public dataSource!: MatTableDataSource;\r\n\r\n public statusList: any = [{ name: 'Active', id: 1 }, { name: 'Inactive', id: 0 }];\r\n public organizations!: Organization[];\r\n\r\n public disabledStatus!: boolean;\r\n public showSupervisor = false;\r\n public userSupervised!: User[];\r\n\r\n showRoleNames: boolean = false;\r\n\r\n public get nameCtrl(): AbstractControl | null { return this.formGroup.get('nameCtrl'); }\r\n public get userCtrl(): AbstractControl | null { return this.formGroup.get('userCtrl'); }\r\n public get emailCtrl(): AbstractControl | null { return this.formGroup.get('emailCtrl'); }\r\n public get phoneCtrl(): AbstractControl | null { return this.formGroup.get('phoneCtrl'); }\r\n public get mobileCtrl(): AbstractControl | null { return this.formGroup.get('mobileCtrl'); }\r\n public get initialsCtrl(): AbstractControl | null { return this.formGroup.get('initialsCtrl'); }\r\n public get statusCtrl(): AbstractControl | null { return this.formGroup.get('statusCtrl'); }\r\n public get issupCtrl(): AbstractControl | null { return this.formGroup.get('issupCtrl'); }\r\n public get organizationCtrl(): AbstractControl | null { return this.formGroup.get('organizationCtrl'); }\r\n public get supervisorCtrl(): AbstractControl | null { return this.formGroup.get('supervisorCtrl'); }\r\n public get rolesCtrl(): AbstractControl | null { return this.formGroup.get('rolesCtrl'); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private catalogService: CatalogService,\r\n private _organizationService: OrganizationService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n async ngOnInit() {\r\n this.initializeForm();\r\n this.clear(true);\r\n this.loadRoles();\r\n this.loadOrganizations();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.initializeForm();\r\n this.getDetails(this.userCatalog);\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data.length) {\r\n this.allRoles = data;\r\n this.rolesFiltered = data;\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n nameCtrl: ['', [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n userCtrl: ['', [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n emailCtrl: ['', [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n phoneCtrl: [''],\r\n initialsCtrl: ['', [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n statusCtrl: [0],\r\n mobileCtrl: [''],\r\n issupCtrl: [false],\r\n organizationCtrl: [0],\r\n supervisorCtrl: [0],\r\n rolesCtrl: [{ value: 0, disabled: true, validators: [Validators.required, this.utils.IsWhiteSpaceReactiveForm] }],\r\n });\r\n\r\n this.changed.emit(false);\r\n this.formGroupSubs = this.formGroup.valueChanges.subscribe(formValue => {\r\n if (formValue) {\r\n this.setFormDirty(this.formGroup.dirty);\r\n }\r\n });\r\n this.disableControls();\r\n }\r\n\r\n disableControls(disable: boolean = true) {\r\n this.disabled = disable;\r\n if (disable) {\r\n this.formGroup.disable();\r\n this.rolesCtrl?.disable();\r\n }\r\n else {\r\n this.formGroup.enable();\r\n this.rolesCtrl?.enable();\r\n }\r\n }\r\n\r\n async getDetails(userCatalog?: UserCatalog) {\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.formGroup?.markAsPristine();\r\n\r\n if (userCatalog && !userCatalog?.id) {\r\n this.clear();\r\n this.disableControls(false);\r\n this.canModify = this.hasPrivilege(PrivilegeEnum.UserCatalogCreate);\r\n this.isCreating = true;\r\n this.statusCtrl?.setValue(1);\r\n }\r\n else if (userCatalog?.id) {\r\n this.loading.emit(true);\r\n this.userCatalog = userCatalog;\r\n this.canCancel = this.userCatalog.pendingUser && this.currentUser?.id == this.userCatalog.pendingUser?.createdBy;\r\n if (this.userCatalog.pendingUser && this.showModification) {\r\n this.setValues(this.userCatalog.pendingDetails);\r\n }\r\n else {\r\n this.setValues(this.userCatalog.details);\r\n }\r\n this.canModify = !this.userCatalog.pendingUser && this.hasPrivilege(PrivilegeEnum.UserCatalogCreate);\r\n this.canApprove = this.userCatalog.pendingUser && this.userCatalog.pendingUser.createdBy != this.currentUser?.id && this.hasPrivilege(PrivilegeEnum.UserCatalogApprove);\r\n this.loading.emit(false);\r\n } else if (this.userCatalog && (userCatalog?.id ?? 0) < 0) {\r\n this.loading.emit(true);\r\n this.setValues(this.userCatalog.pendingDetails);\r\n this.canModify = false;\r\n this.canApprove = this.userCatalog.pendingUser.createdBy != this.currentUser?.id && this.hasPrivilege(PrivilegeEnum.UserCatalogApprove);\r\n this.canCancel = this.userCatalog.pendingUser && this.currentUser?.id == this.userCatalog.pendingUser?.createdBy;\r\n this.loading.emit(false);\r\n }\r\n else {\r\n this.clear();\r\n }\r\n }\r\n\r\n compareName(e: any, type: number) {\r\n // if user name is already taken:\r\n const value = e.target.value.toString().toLowerCase();\r\n switch (type) {\r\n case 1: //name\r\n if (this.catalogService.userCatalogs?.find(x => x.details.user.name?.toLowerCase() == value || x.pendingDetails?.user?.name?.toLowerCase() == value)) {\r\n this.nameCtrl?.setErrors({ 'nameTaken': true });\r\n }\r\n else {\r\n this.nameCtrl?.setErrors(null);\r\n }\r\n break;\r\n case 2: //username\r\n if (this.catalogService.userCatalogs?.find(x => x.details.user.username?.toLowerCase() == value || x.pendingDetails?.user?.username?.toLowerCase() == value)) {\r\n this.userCtrl?.setErrors({ 'usernameTaken': true });\r\n }\r\n else {\r\n this.userCtrl?.setErrors(null);\r\n }\r\n break;\r\n case 3: //email\r\n if (document.location.hostname === Servers.PRODUCTION && (this.catalogService.userCatalogs?.find(x => x.details.user.emailAddress?.toLowerCase() == value || x.pendingDetails?.user?.emailAddress?.toLowerCase() == value))) {\r\n this.emailCtrl?.setErrors({ 'emailTaken': true });\r\n }\r\n else {\r\n this.emailCtrl?.setErrors(null);\r\n }\r\n break;\r\n }\r\n }\r\n\r\n async save() {\r\n this.catalogModel.userCatalog = this.getValues();\r\n this.loading.emit(true);\r\n if (this.isCreating) {\r\n this.catalogService.SaveAsDraft(this.catalogModel, Catalog.Users).toPromise().then(() => {\r\n this.alert.success('Congratulations !! The New User Has Been Sent To Approve Successfully!!');\r\n this.saved.emit(-1);\r\n this.clear();\r\n });\r\n } else {\r\n this.catalogService.SaveAsDraft(this.catalogModel, Catalog.Users).subscribe(x => {\r\n this.alert.success('Congratulations !! The User Modification Has Been Sent To Approve Successfully!!');\r\n if (this.userCatalog)\r\n this.saved.emit(this.userCatalog.id);\r\n this.clear();\r\n });\r\n }\r\n this.errorMsg = [];\r\n }\r\n\r\n modifyUser() {\r\n this.isEditing = true;\r\n this.disableControls(false);\r\n }\r\n\r\n formDirty() {\r\n this.formGroup.markAsDirty();\r\n this.changed.emit(this.formGroup.dirty);\r\n }\r\n\r\n approve() {\r\n if (this.userCatalog)\r\n this.catalogService.Approve(this.userCatalog.id, Catalog.Users).subscribe(() => {\r\n this.alert.success('Congratulations !! User Approved Successfully!!');\r\n if (this.userCatalog)\r\n this.saved.emit(this.userCatalog.id);\r\n this.clear();\r\n });\r\n this.errorMsg = [];\r\n }\r\n\r\n disapprove(disapprovalReason: string) {\r\n if (this.userCatalog)\r\n this.catalogService.Unapprove(this.userCatalog.id, Catalog.Users, disapprovalReason).subscribe(() => {\r\n this.alert.success('Congratulations !! User Disapproved Successfully!!');\r\n if (this.userCatalog)\r\n this.saved.emit(this.userCatalog.id);\r\n this.clear();\r\n });\r\n }\r\n\r\n openAddDisapprovalDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = '';\r\n const dialogRef = this.dialog.open(DisapprovalReasonComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disapprove(data);\r\n }\r\n });\r\n }\r\n\r\n getValues(): UserCatalog | undefined {\r\n const pendingDetails = new UserCatalogDetails();\r\n pendingDetails.user = new User();\r\n pendingDetails.user.name = this.nameCtrl?.value;\r\n pendingDetails.user.username = this.userCtrl?.value;\r\n pendingDetails.user.emailAddress = this.emailCtrl?.value;\r\n pendingDetails.user.phoneExt = this.phoneCtrl?.value;\r\n pendingDetails.user.mobile = this.mobileCtrl?.value;\r\n pendingDetails.user.initials = this.initialsCtrl?.value;\r\n pendingDetails.user.organizationID = this.organizationCtrl?.value;\r\n pendingDetails.user.isManager = this.issupCtrl?.value;\r\n pendingDetails.user.status = this.statusCtrl?.value;\r\n pendingDetails.user.supervisorID = this.supervisorCtrl?.value;\r\n pendingDetails.roles = this.roles;\r\n if (this.userCatalog)\r\n this.userCatalog.pendingDetails = pendingDetails;\r\n return this.userCatalog;\r\n }\r\n\r\n setValues(userCatalogDetails: UserCatalogDetails) {\r\n const details = this.utils.cloneDeep(userCatalogDetails);\r\n this.nameCtrl?.setValue(details.user.name);\r\n this.userCtrl?.setValue(details.user.username);\r\n this.emailCtrl?.setValue(details.user.emailAddress);\r\n this.phoneCtrl?.setValue(details.user.phoneExt);\r\n this.mobileCtrl?.setValue(details.user.mobile);\r\n this.initialsCtrl?.setValue(details.user.initials);\r\n this.statusCtrl?.setValue(details.user.status);\r\n this.issupCtrl?.setValue(details.user.isManager);\r\n this.organizationCtrl?.setValue(details.user.organizationID);\r\n this.supervisorCtrl?.setValue(details.user.supervisorID);\r\n this.dataSource = new MatTableDataSource(this.users.filter(x => x.supervisorID == this.userCatalog?.details.user.id));\r\n this.roles = details.roles?.sort((a, b) => this.utils.sort(a.code, b.code, true));\r\n this.supervisors = this.users.filter(x => x.isManager && x.id != this.currentUser?.id);\r\n this.filterRoles();\r\n }\r\n\r\n filterRoles() {\r\n this.loadRoles();\r\n this.rolesFiltered = this.allRoles?.filter(x => !this.roles?.map(r => r.id).includes(x.id));\r\n }\r\n\r\n changeRole(e: any) {\r\n const value = (e.target.value as string).toLowerCase();\r\n this.filterRoles();\r\n this.rolesFiltered = this.rolesFiltered.filter(x => x.name?.toLowerCase().includes(value) || x.code?.toLowerCase().includes(value));\r\n }\r\n\r\n cancel() {\r\n this.formGroup.reset();\r\n if (this.isEditing || this.isCreating) {\r\n if (this.isEditing) {\r\n this.getDetails(this.userCatalog);\r\n }\r\n if (this.isCreating) {\r\n this.canModify = false;\r\n }\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.disableControls();\r\n }\r\n else {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: 'Are you sure you want to Cancel you changes?',\r\n icon: 'question'\r\n };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data && this.userCatalog) {\r\n this.catalogService.Unapprove(this.userCatalog.id, Catalog.Users, 'User Cancelled own changes').subscribe(() => {\r\n this.alert.info('Your changes were Cancelled');\r\n this.saved.emit(undefined);\r\n this.clear();\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n isValid() {\r\n return this.formGroup.valid && this.formGroup.dirty && this.roles.length;\r\n }\r\n\r\n clear(isInit?: boolean) {\r\n this.userCatalog = new UserCatalog();\r\n this.catalogModel = new CatalogModel();\r\n this.errorMsg = [];\r\n this.isCreating = false;\r\n this.isEditing = false;\r\n this.canApprove = false;\r\n this.canModify = false;\r\n this.canCancel = false;\r\n this.roles = [];\r\n this.filterRoles();\r\n\r\n this.formGroup.reset();\r\n this.disableControls();\r\n }\r\n\r\n alertError() {\r\n this.alert.error(this.errorMsg.join(', '));\r\n const that = this;\r\n setTimeout(() => { that.alert.clear(); });\r\n }\r\n\r\n isModified(fieldName: string) {\r\n if (this.userCatalog?.pendingUser && this.showModification) {\r\n switch (fieldName) {\r\n case 'name':\r\n return this.userCatalog?.details.user.name != this.userCatalog.pendingDetails.user.name;\r\n case 'username':\r\n return this.userCatalog?.details.user.username != this.userCatalog.pendingDetails.user.username;\r\n case 'email':\r\n return this.userCatalog?.details.user.emailAddress != this.userCatalog.pendingDetails.user.emailAddress;\r\n case 'phone':\r\n return this.userCatalog?.details.user.phoneExt != this.userCatalog.pendingDetails.user.phoneExt;\r\n case 'mobile':\r\n return this.userCatalog?.details.user.mobile != this.userCatalog.pendingDetails.user.mobile;\r\n case 'initials':\r\n return this.userCatalog?.details.user.initials != this.userCatalog.pendingDetails.user.initials;\r\n case 'status':\r\n return this.userCatalog?.details.user.status != this.userCatalog.pendingDetails.user.status;\r\n case 'organization':\r\n return this.userCatalog?.details.user.organizationID != this.userCatalog.pendingDetails.user.organizationID;\r\n case 'supervisor':\r\n return this.userCatalog?.details.user.supervisorID != this.userCatalog.pendingDetails.user.supervisorID;\r\n case 'sup':\r\n return this.userCatalog?.details.user.isManager != this.userCatalog.pendingDetails.user.isManager;\r\n case 'roles':\r\n return this.utils.JSONstringify(this.userCatalog.details.roles?.sort((a, b) => a.id - b.id).map(r => {\r\n return { id: r.id };\r\n })) != this.utils.JSONstringify(this.userCatalog.pendingDetails.roles?.sort((a, b) => a.id - b.id).map(r => {\r\n return { id: r.id };\r\n }));\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n override getErrorMsg(control: AbstractControl | null, name: string = ''): string | null {\r\n let result = null;\r\n if (name == 'rolesCtrl' && !this.roles.length) {\r\n result = 'You must select at least one Role';\r\n }\r\n\r\n if (control?.hasError('required')) { result = 'You must enter a value'; }\r\n if (control?.hasError('hasWhiteSpace')) { result = 'Enter a valid value'; }\r\n if (control?.hasError('nameTaken')) { result = 'This name is already taken'; }\r\n if (control?.hasError('usernameTaken')) { result = 'This username is already taken'; }\r\n if (control?.hasError('emailTaken')) { result = 'This email is already taken'; }\r\n return result;\r\n }\r\n\r\n numericOnly(e: any): boolean {\r\n const charCode = (e.which) ? e.which : e.keyCode;\r\n if (charCode == 46 || charCode == 32 || charCode == 9 || charCode == 8 || charCode >= 48 && charCode <= 57 || charCode == 43 || charCode == 45 || charCode == 40 || charCode == 41) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n loadOrganizations() {\r\n this._organizationService.Read().subscribe(data => {\r\n this.organizations = data as Organization[];\r\n });\r\n }\r\n\r\n selectedRole(e: any) {\r\n const value = e.option.value;\r\n this.roles.push(value);\r\n this.filterRoles();\r\n this.rolesCtrl?.markAsDirty();\r\n }\r\n\r\n removeRole(role: Role) {\r\n const index = this.roles.findIndex(x => x.id == role.id);\r\n this.roles.splice(index, 1);\r\n this.filterRoles();\r\n this.formGroup.markAsDirty();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n {{\r\n getErrorMsg(nameCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Username\r\n \r\n {{\r\n getErrorMsg(userCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Email Address\r\n \r\n {{\r\n getErrorMsg(emailCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Phone Ext.\r\n \r\n \r\n
\r\n
\r\n \r\n Mobile\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Initials\r\n \r\n {{\r\n getErrorMsg(initialsCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n Status\r\n \r\n \r\n {{ status.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Organization\r\n \r\n \r\n {{ organization.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Supervisor\r\n \r\n \r\n {{ supervisor.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Roles\r\n \r\n \r\n {{ !showRoleNames ? role.code : role.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ role.code }} \r\n
\r\n
\r\n {{ role.name }}\r\n
\r\n
\r\n \r\n \r\n {{\r\n getErrorMsg(rolesCtrl, \"rolesCtrl\")\r\n }}\r\n {{\r\n getErrorMsg(rolesCtrl, \"rolesCtrl\")\r\n }}\r\n \r\n\r\n Show role names\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Is Supervisor?\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Supervisees\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n
\r\n
\r\n \r\n Modify\r\n \r\n \r\n Save\r\n \r\n \r\n Approve\r\n \r\n \r\n Disapprove\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { MatDialog, MatDialogConfig } from '@angular/material/dialog';\r\nimport { UserRoleComponent } from './user-role/user-role.component';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { UserCatalog } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'user-catalog-roles',\r\n templateUrl: './user-catalog-roles.component.html',\r\n styleUrls: ['./user-catalog-roles.component.scss']\r\n})\r\nexport class UserCatalogRolesComponent implements OnChanges {\r\n\r\n @Input() userCatalog?: UserCatalog;\r\n\r\n displayedColumns: string[] = ['name', 'code'];\r\n dataSource!: MatTableDataSource;\r\n\r\n roles?: Role[];\r\n\r\n constructor(\r\n private dialog: MatDialog\r\n ) { }\r\n\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.roles = this.userCatalog?.pendingUser ? this.userCatalog?.pendingDetails?.roles : this.userCatalog?.details.roles\r\n this.dataSource = new MatTableDataSource(this.roles);\r\n }\r\n\r\n openAddUserRole() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = new Role();\r\n dialogConfig.width = '460px';\r\n const dialogRef = this.dialog.open(UserRoleComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.roles?.push(data);\r\n }\r\n });\r\n }\r\n\r\n deletUserRole(role: Role) {\r\n const index = this.dataSource.data.indexOf(role);\r\n this.dataSource.data.splice(index, 1);\r\n this.dataSource.filter = '';\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n Role Name \r\n {{ element.name }} \r\n \r\n \r\n Code \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RoleService } from 'src/app/components/catalogs/roles/services/role.service';\r\n\r\n@Component({\r\n selector: 'app-user-role',\r\n templateUrl: './user-role.component.html',\r\n styleUrls: ['./user-role.component.scss']\r\n})\r\nexport class UserRoleComponent extends BaseComponent implements OnInit {\r\n\r\n roleSelected?: Role;\r\n roles?: Role[];\r\n rolesFiltered?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public role: Role,\r\n private _roleService: RoleService) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadRoles();\r\n }\r\n\r\n add() {\r\n if (this.roleSelected?.id) {\r\n this.dialogRef.close(this.roleSelected);\r\n }\r\n }\r\n\r\n getRoleSelected(role: Role) {\r\n this.roleSelected = role;\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data?.length) {\r\n this.roles = data;\r\n this.rolesFiltered = data;\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n\r\n filter(e: any) {\r\n const text = e.target.value;\r\n const code = e.code;\r\n if (!code?.includes(\"Arrow\")) {\r\n this.rolesFiltered = this.roles?.filter(x => x.name?.toLocaleLowerCase().includes(text.trim().toLocaleLowerCase()) || x.code?.toLowerCase().includes(text.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Add Role

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Select Role\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{ role.name }}\r\n ({{ role.code }})\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnInit, Output, QueryList, SimpleChanges, ViewChild, ViewChildren, ViewContainerRef } from '@angular/core';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource, MatRow } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Catalog, StatusPendingCatalog, ActionPendingCatalog, PendingCatalogColor } from 'src/app/common/enumerations/enumerations';\r\nimport { PendingUser } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { UserCatalog, User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { CatalogService } from '../../catalog-service';\r\n\r\n\r\n@Component({\r\n selector: 'app-user-catalog-list',\r\n templateUrl: './user-catalog-list.component.html',\r\n styleUrls: ['./user-catalog-list.component.scss']\r\n})\r\nexport class UserCatalogListComponent extends BaseComponent implements OnInit {\r\n\r\n @Input()\r\n filter!: string;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n canCreate!: boolean;\r\n canApprove!: boolean;\r\n\r\n selectedRowIndex!: number;\r\n selectedIndex!: number;\r\n\r\n valueFilter = '';\r\n showInactive!: boolean;\r\n\r\n userCatalogs?: UserCatalog[];\r\n\r\n public displayedColumns: string[] = ['name', 'roles', 'status'];\r\n dataSource!: MatTableDataSource;\r\n pending = false;\r\n\r\n @ViewChild(MatSort)\r\n sort!: MatSort;\r\n @ViewChild(MatPaginator)\r\n paginator!: MatPaginator;\r\n @ViewChildren('matrow', { read: ViewContainerRef })\r\n rows!: QueryList;\r\n @ViewChildren('matrow')\r\n datarows!: QueryList;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.loadUserCatalogs();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.dataSource.sort = this.sort;\r\n this.dataSource.paginator = this.paginator;\r\n this.canCreate = this.hasPrivilege(PrivilegeEnum.UserCatalogCreate);\r\n this.canApprove = this.hasPrivilege(PrivilegeEnum.UserCatalogApprove);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ('filter' in changes) {\r\n this.filterUsers();\r\n }\r\n }\r\n\r\n loadUserCatalogs() {\r\n this.loading.emit(true);\r\n this.valueFilter = '';\r\n this.canCreate = this.hasPrivilege(PrivilegeEnum.UserCatalogCreate);\r\n this.canApprove = this.hasPrivilege(PrivilegeEnum.UserCatalogApprove);\r\n const user = this.catalogService.pendingCatalog;\r\n this.catalogService.GetJoinCreated(Catalog.Users, (this.canApprove || this.canCreate) ?? false).toPromise().then(data => {\r\n this.catalogService.userCatalogs = data?.userCatalogs?.filter(x => x.id != -1);\r\n data?.userCatalogs?.map(x => {\r\n if (x.pendingUser) {\r\n x.pendingUser.statusName = StatusPendingCatalog[x.pendingUser.status];\r\n x.pendingUser.actionName = ActionPendingCatalog[x.pendingUser.action];\r\n }\r\n });\r\n\r\n this.userCatalogs = data?.userCatalogs;\r\n this.filterUsers();\r\n if (user) {\r\n if (user.id > 0) {\r\n this.showIndex(user.id);\r\n }\r\n else {\r\n user.id = this.userCatalogs?.find(u => u.id < -1)?.id ?? 0;\r\n this.showIndex(user.id);\r\n }\r\n }\r\n this.loading.emit(false);\r\n },\r\n error => {\r\n this.loading.emit(false);\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n\r\n filterUsers() {\r\n this.dataSource = new MatTableDataSource(this.userCatalogs?.filter(x =>\r\n (this.showInactive || !this.showInactive && x.details.user.status == 1)\r\n && (this.filter ? (x.details.user.name?.toLowerCase().includes(this.filter.toLowerCase()) || x.details.user.initials?.toLowerCase().includes(this.filter.toLowerCase())) : true)));\r\n this.setSortingAccessor();\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (element, property) => {\r\n switch (property) {\r\n case 'name':\r\n return element.details.user.name;\r\n case 'roles':\r\n return this.getRoleCodes(element);\r\n case 'status':\r\n return element.details.user.status == 0 ? 'Inactive' : element.pendingUser ? element.pendingUser?.statusName +\r\n \" - \" +\r\n element.pendingUser.actionName : '';\r\n default:\r\n return (element as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n getRoleCodes(userCatalog: UserCatalog) {\r\n return userCatalog.details.roles.sort((a, b) => this.utils.sort(a.code, b.code, true)).map(x => x.code).join('/');\r\n }\r\n\r\n showActiveInactive() {\r\n this.filterUsers();\r\n }\r\n\r\n async selectedRow(row: UserCatalog) {\r\n if (await this.canDeactivate())\r\n return this.selectRow(row);\r\n }\r\n\r\n selectRow(row: UserCatalog) {\r\n if (this.selectedRowIndex != row.id) {\r\n this.selectedRowIndex = row.id;\r\n this.rowSelected.emit(row);\r\n } else {\r\n this.selectedRowIndex = -1;\r\n this.rowSelected.emit(null);\r\n }\r\n }\r\n\r\n createUser() {\r\n this.selectedRowIndex = -1;\r\n this.rowSelected.emit(new UserCatalog());\r\n }\r\n\r\n applyFilter(filterValue: string) {\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n }\r\n\r\n getColor(resource: User): string {\r\n if (resource.color === PendingCatalogColor.Create || resource.color === PendingCatalogColor.Modify) {\r\n return '#EAAA00';\r\n }\r\n return '';\r\n }\r\n\r\n showIndex(id: number) {\r\n this.selectedIndex = this.dataSource.data.findIndex(x => x.id === id);\r\n this.selectedRowIndex = -1;\r\n this.showElement(this.selectedIndex, 7);\r\n this.selectedRow(this.dataSource.data[this.selectedIndex]);\r\n this.loading.emit(false);\r\n }\r\n\r\n showElement(index: number, height: number) {\r\n const indexstr = index.toString();\r\n const row = this.rows.find(x => x.element.nativeElement.getAttribute('position') === indexstr);\r\n if (row != null) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > height)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n return;\r\n }\r\n console.log('not found');\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id === row.id;\r\n });\r\n return i;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n Show Inactive\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Name\r\n \r\n \r\n \r\n \r\n\r\n \r\n Roles\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n \r\n {{\r\n element.pendingUser?.statusName +\r\n \" - \" +\r\n element.pendingUser.actionName\r\n }}\r\n \r\n Inactive \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { AfterViewInit, Component, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingCatalog, PendingUser } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { UserCatalog } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { CatalogService } from '../catalog-service';\r\nimport { UserCatalogDetailsComponent } from './user-catalog-details/user-catalog-details.component';\r\nimport { UserCatalogListComponent } from './user-catalog-list/user-catalog-list.component';\r\n\r\n\r\n@Component({\r\n selector: 'user-catalog',\r\n templateUrl: './user-catalog.component.html',\r\n styleUrls: ['./user-catalog.component.scss']\r\n})\r\nexport class UserCatalogComponent extends BaseComponent implements OnInit, AfterViewInit {\r\n\r\n loading!: boolean;\r\n\r\n userCatalog?: UserCatalog;\r\n\r\n filter!: string;\r\n valueFilter!: string;\r\n\r\n canCreate!: boolean;\r\n canApprove!: boolean;\r\n\r\n showModification?: boolean;\r\n\r\n @ViewChild(UserCatalogDetailsComponent)\r\n userCatalogDetails!: UserCatalogDetailsComponent;\r\n @ViewChild(UserCatalogListComponent)\r\n userCatalogList!: UserCatalogListComponent;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n setTimeout(() => {\r\n this.canApprove = this.hasPrivilege(PrivilegeEnum.UserCatalogApprove);\r\n this.canCreate = this.hasPrivilege(PrivilegeEnum.UserCatalogCreate);\r\n }, 500);\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n rowSelected(data: UserCatalog | null) {\r\n if (data)\r\n this.userCatalog = data;\r\n this.showModification = this.userCatalog?.pendingUser && (this.canApprove || this.canCreate);\r\n }\r\n\r\n refreshSaved(id: number) {\r\n if (id)\r\n this.catalogService.pendingCatalog = { id } as PendingCatalog;\r\n else {\r\n this.userCatalog = undefined;\r\n this.catalogService.pendingCatalog = undefined;\r\n }\r\n this.userCatalogList.loadUserCatalogs();\r\n }\r\n\r\n applyFilter(filter: string) {\r\n this.filter = filter;\r\n }\r\n\r\n create() {\r\n this.userCatalogList?.createUser();\r\n }\r\n\r\n setLoading(e: boolean) {\r\n setTimeout(() => {\r\n this.loading = e;\r\n }, 100);\r\n\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n menu\r\n \r\n
\r\n
\r\n
\r\n
\r\n Users Catalog\r\n
\r\n
\r\n
\r\n \r\n {{\r\n userCatalog?.details?.user?.name ??\r\n (userCatalog ? \"New User\" : \"\")\r\n }}\r\n \r\n \r\n (\r\n {{\r\n (userCatalog?.pendingUser?.statusName ?? \"New\") +\r\n (userCatalog?.pendingUser?.actionName ? \" - \" : \"\") +\r\n (userCatalog?.pendingUser?.actionName ?? \"\")\r\n }}\r\n )\r\n \r\n \r\n (Inactive)\r\n \r\n
\r\n
\r\n
\r\n \r\n Show Modification\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ImageUploadService } from 'src/app/services/file/image-upload.service';\r\nimport { WfSignature, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Annotation, ChecklistTemplate } from '../../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { ChecklistBuilderAnnotationsService } from '../checklist-builder-annotations.service';\r\n\r\n@Component({\r\n selector: 'app-checklist-builder-annotation-edit',\r\n templateUrl: './checklist-builder-annotation-edit.component.html',\r\n styleUrls: ['./checklist-builder-annotation-edit.component.scss']\r\n})\r\nexport class ChecklistBuilderAnnotationEditComponent extends BaseComponent implements OnInit {\r\n\r\n s: WfSignature;\r\n task: WfTaskLocalResource;\r\n templateId: number;\r\n annotation: Annotation;\r\n annotationText?: string | null;\r\n isResponse: boolean;\r\n isComment?: boolean;\r\n currentVersion: ChecklistTemplate;\r\n\r\n quillConfig = {\r\n toolbar: {\r\n container: [\r\n ['bold', 'italic', 'underline', 'strike'], // toggled buttons\r\n [{ list: 'ordered' }, { list: 'bullet' }],\r\n [{ color: [] }, { background: [] }],\r\n [{ script: 'sub' }, { script: 'super' }], // superscript/subscript\r\n [{ align: [] }],\r\n ['link', 'image'],\r\n ['clean']\r\n\r\n ]\r\n },\r\n // autoLink: true,\r\n keyboard: {\r\n bindings: {\r\n enter: {\r\n key: 13,\r\n handler: () => {\r\n return true;\r\n }\r\n }\r\n }\r\n },\r\n imageDrop: true,\r\n imageResize: true\r\n };\r\n\r\n wfTaskLocal!: WfTaskLocalResource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n private _serv: ChecklistBuilderAnnotationsService,\r\n private _image: ImageUploadService,\r\n private _builder: ChecklistBuilderService,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n ) {\r\n super(injector);\r\n\r\n this.s = data.s;\r\n this.isResponse = data.isResponse;\r\n this.annotation = data.annotation;\r\n this.annotationText = this.isResponse ? this.annotation?.responseText ?? '' : this.annotation?.annotationText;\r\n this.task = data.task;\r\n this.templateId = data.templateId;\r\n this.currentVersion = data.currentVersion;\r\n }\r\n\r\n ngOnInit() {\r\n if (this.s.id)\r\n this._builder.getWFTaskLocal(this.s.id).toPromise().then(data => {\r\n if (data)\r\n this.wfTaskLocal = data;\r\n });\r\n this.isComment = this.currentVersion.documentTypeID == 200;\r\n }\r\n\r\n async accept() {\r\n if (!this.isResponse) {\r\n if (this.annotation == null) {\r\n this.annotation = {\r\n id: 0,\r\n annotationText: this.annotationText ?? '',\r\n wfTaskLocalID: this.task.id,\r\n checklistTemplateID: this.templateId,\r\n status: 0\r\n };\r\n\r\n this._serv.create(this.annotation).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n else {\r\n if (this.annotationText)\r\n this.annotation.annotationText = await this.uploadImages(this.annotationText, this.currentVersion.documentType?.code?.trim() ?? '' + this.currentVersion.serialNo + '/WFSectionLocal-' + this.wfTaskLocal.wfStepLocal?.wfSectionLocalID + '/WFTaskLocal-' + this.s.id + '/Suggestion-' + this.annotation.id + '/') ?? '';\r\n this._serv.update(this.annotation).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n }\r\n else {\r\n if (this.annotationText)\r\n this.annotation.responseText = await this.uploadImages(this.annotationText, this.currentVersion.documentType?.code?.trim() + '/' + this.currentVersion.serialNo + '/WFSectionLocal-' + this.wfTaskLocal.wfStepLocal?.wfSectionLocalID + '/WFTaskLocal-' + this.s.id + '/Response-' + this.annotation.id + '/');\r\n this.annotation.responseBy = this.getCurrentUser()?.id;\r\n this.annotation.responseByName = this.getCurrentUser()?.name;\r\n this.annotation.responseDate = new Date();\r\n this._serv.update(this.annotation).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async uploadImages(textValue: string, path: string) {\r\n const text = await this._image.uploadImagesToServer(textValue, path);\r\n return text;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n {{ annotation ? \"Edit \" : \"Create \" }}\r\n {{ isResponse ? \"Response\" : isComment ? \"Comment\" : \"Suggestion\" }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n save\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, Output, EventEmitter, OnDestroy, Injector } from '@angular/core';\r\nimport { SafeHtml, DomSanitizer } from '@angular/platform-browser';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { ProcedureSignatureType } from 'src/app/components/procedure/enums/procedure-signature-type.enum';\r\nimport { ProcedureSignature } from 'src/app/components/procedure/models/procedure-signature.model';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { WfSignature, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Annotation, ChecklistTemplate, ChecklistTemplateStatusEnum, AnnotationStatus } from '../../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { ChecklistBuilderAnnotationEditComponent } from '../checklist-builder-annotation-edit/checklist-builder-annotation-edit.component';\r\nimport { ChecklistBuilderAnnotationsService } from '../checklist-builder-annotations.service';\r\n\r\n\r\n@Component({\r\n selector: 'checklist-builder-annotation',\r\n templateUrl: './checklist-builder-annotation.component.html',\r\n styleUrls: ['./checklist-builder-annotation.component.scss']\r\n})\r\nexport class ChecklistBuilderAnnotationComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() annotation!: Annotation;\r\n @Input() s!: WfSignature;\r\n @Input() task!: WfTaskLocalResource;\r\n @Input() currentVersion!: ChecklistTemplate;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n annotationTextSanitized!: SafeHtml;\r\n responseTextSanitized!: SafeHtml;\r\n procedure!: Procedure | null;\r\n procedureSignature?: ProcedureSignature;\r\n\r\n checklistTemplateStatusEnum = ChecklistTemplateStatusEnum;\r\n annotationStatus = AnnotationStatus;\r\n\r\n hasRresponse!: boolean;\r\n isPreparer!: boolean;\r\n isReviewer!: boolean;\r\n isApprover!: boolean;\r\n isCreator!: boolean;\r\n isRCP!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private sanitizer: DomSanitizer,\r\n private _serv: ChecklistBuilderAnnotationsService,\r\n private _builder: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.annotationTextSanitized = this.sanitizer.bypassSecurityTrustHtml(this.annotation.annotationText ?? '');\r\n if (this.annotation.responseText)\r\n this.responseTextSanitized = this.sanitizer.bypassSecurityTrustHtml(this.annotation.responseText);\r\n this.annotation.createdByName = this.getUsers().find(x => x.id == this.annotation?.createdBy)?.name;\r\n this.annotation.responseByName = this.getUsers().find(x => x.id == this.annotation.responseBy)?.name;\r\n this.isCreator = this.annotation.createdBy == this.getCurrentUser()?.id;\r\n this.isRCP = this.currentVersion.documentTypeID == 200;\r\n this.loadProcedure();\r\n this.setPrivs();\r\n }\r\n\r\n ngOnInit() {\r\n this.setPrivs();\r\n }\r\n\r\n loadProcedure() {\r\n this._builder.getProcedure().subscribe(procedure => {\r\n this.procedure = procedure;\r\n this.setPrivs();\r\n });\r\n }\r\n\r\n setPrivs() {\r\n this.isPreparer = this.is(ProcedureSignatureType.Preparer);\r\n this.isReviewer = this.is(ProcedureSignatureType.Reviewer);\r\n this.isApprover = this.is(ProcedureSignatureType.Approver);\r\n this.procedureSignature = this.procedure?.procedureSignatures?.find(x => x.userID == this.getCurrentUser()?.id);\r\n }\r\n\r\n edit() {\r\n const editor = this.dialog.open(ChecklistBuilderAnnotationEditComponent, {\r\n width: '80vw',\r\n maxHeight: '90vh',\r\n data: {\r\n s: this.s,\r\n task: this.task,\r\n annotation: this.annotation,\r\n templateId: this.currentVersion.id,\r\n currentVersion: this.currentVersion,\r\n isResponse: false\r\n },\r\n autoFocus: false,\r\n disableClose: true,\r\n hasBackdrop: true\r\n });\r\n editor.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.changed.emit(data);\r\n }\r\n });\r\n }\r\n\r\n delete() {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('GenChklistBldr_DeleteAnnotationConfimation').description,\r\n icon: 'stop'\r\n }\r\n });\r\n yesno.afterClosed().toPromise().then(res => {\r\n if (res) {\r\n this._serv.delete(this.annotation).toPromise().then(data => {\r\n this.changed.emit(data);\r\n });\r\n }\r\n });\r\n }\r\n\r\n done() {\r\n this.annotation.status = this.annotationStatus.Done;\r\n this._serv.update(this.annotation).toPromise().then(data => {\r\n this.changed.emit(data);\r\n });\r\n }\r\n\r\n undone() {\r\n this.annotation.status = this.annotationStatus.Active;\r\n this._serv.update(this.annotation).toPromise().then(data => {\r\n this.changed.emit(data);\r\n });\r\n }\r\n\r\n respond() {\r\n const editor = this.dialog.open(ChecklistBuilderAnnotationEditComponent, {\r\n width: '80vw',\r\n maxHeight: '90vh',\r\n data: {\r\n s: this.s,\r\n task: this.task,\r\n annotation: this.annotation,\r\n templateId: this.currentVersion.id,\r\n currentVersion: this.currentVersion,\r\n isResponse: true\r\n },\r\n autoFocus: false,\r\n disableClose: true,\r\n hasBackdrop: true\r\n });\r\n editor.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.changed.emit(data);\r\n }\r\n });\r\n }\r\n\r\n\r\n deleteResponse() {\r\n this.annotation.responseBy = null;\r\n this.annotation.responseByName = null;\r\n this.annotation.responseDate = null;\r\n this.annotation.responseText = null;\r\n this._serv.update(this.annotation).toPromise().then(data => {\r\n this.changed.emit(data);\r\n });\r\n }\r\n\r\n is(signatureType: ProcedureSignatureType) {\r\n const signatures = this.procedure?.procedureSignatures?.filter(x => x.signatureType == signatureType);\r\n return signatures?.map(x => x.userID).includes(this.getCurrentUser()?.id ?? 0) ?? false;\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n
\r\n \r\n question_answer\r\n \r\n \r\n mark_chat_read\r\n \r\n \r\n mark_chat_unread\r\n \r\n
\r\n
\r\n \r\n person {{ annotation.createdByName\r\n }}
{{\r\n annotation.createdOn | date : \"medium\"\r\n }}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n
\r\n
\r\n \r\n person {{ annotation.responseByName\r\n }}
{{\r\n annotation.responseDate | date : \"medium\"\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnChanges, OnInit, OnDestroy, Output, EventEmitter } from '@angular/core';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { WfTaskLocalResource, WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistTemplate, Annotation, AnnotationStatus } from '../../checklists';\r\n\r\n@Component({\r\n selector: 'checklist-builder-annotations',\r\n templateUrl: './checklist-builder-annotations.component.html',\r\n styleUrls: ['./checklist-builder-annotations.component.scss']\r\n})\r\nexport class ChecklistBuilderAnnotationsComponent implements OnChanges, OnDestroy {\r\n\r\n @Input() task!: WfTaskLocalResource;\r\n @Input() s!: WfSignature;\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Output() changed = new EventEmitter();\r\n\r\n annotations!: Annotation[];\r\n annotations$!: Observable;\r\n annotationsSubs!: Subscription;\r\n hasAnnotations!: boolean;\r\n\r\n constructor(\r\n private store: Store\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.annotationsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges() {\r\n this.loadAnnotations();\r\n }\r\n\r\n loadAnnotations() {\r\n this.annotations$ = this.store.select(state => state.Annotations.data);\r\n this.annotationsSubs = this.annotations$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data?.length) {\r\n this.annotations = data.filter(a => a.wfTaskLocalID == this.task.id);\r\n this.hasAnnotations = this.annotations?.filter(x => x.status == AnnotationStatus.Active).length > 0;\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../../../environments/environment';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistTemplateStatus, Annotation } from '../../checklists';\r\n\r\n@Injectable()\r\nexport class ChecklistBuilderAnnotationsService {\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Api = '/ChecklistBuilderAnnotations';\r\n\r\n public Statuses: ChecklistTemplateStatus[] = [];\r\n\r\n constructor(private http: HttpClient) {\r\n }\r\n\r\n create(annotation: Annotation): Observable {\r\n return this.http.post(this.BASE_URL + this.Api, annotation);\r\n }\r\n\r\n update(annotation: Annotation): Observable {\r\n return this.http.put(this.BASE_URL + this.Api, annotation);\r\n }\r\n\r\n delete(annotation: Annotation): Observable {\r\n return this.http.delete(this.BASE_URL + this.Api + '/' + annotation.id);\r\n }\r\n\r\n getAll(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api);\r\n return httpresult;\r\n }\r\n\r\n getByTemplateId(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/ByTemplateID/' + id);\r\n return httpresult;\r\n }\r\n\r\n getByChecklistId(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/ByChecklistID/' + id);\r\n return httpresult;\r\n }\r\n}\r\n","import { ENTER, COMMA } from '@angular/cdk/keycodes';\r\nimport { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { Store } from '@ngxs/store';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { Configuration } from '../../checklist-builder-sections/checklist-builder-section/checklist-builder-section.component';\r\n\r\n@Component({\r\n selector: 'checklist-roles-chips',\r\n templateUrl: './checklist-roles-chips.component.html',\r\n styleUrls: ['./checklist-roles-chips.component.scss']\r\n})\r\nexport class ChecklistRolesChipsComponent implements OnInit, OnDestroy {\r\n\r\n @Input() configuration!: Configuration;\r\n @Input() disabled!: boolean;\r\n @Output() configurationChanged = new EventEmitter();\r\n\r\n roles!: Role[];\r\n rolesFiltered!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n rolesTaken: Role[] = [];\r\n roleCodes!: string;\r\n\r\n tmpRole: any;\r\n\r\n separatorKeysCodes: number[] = [ENTER, COMMA];\r\n\r\n constructor(\r\n private store: Store\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRoles();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data.length) {\r\n this.roles = data;\r\n this.rolesTaken = this.roles.filter(r => this.configuration.roleIDs?.includes(r.id));\r\n\r\n this.roleCodes = this.rolesTaken.map(r => r.code)?.join('/');\r\n this.rolesFiltered = this.roles.filter(x => !this.rolesTaken.map(r => r.id).includes(x.id));\r\n }\r\n });\r\n }\r\n\r\n selectedRole(e: any) {\r\n const option = e.option.value;\r\n this.rolesTaken.push(option);\r\n this.configuration.roleIDs = this.rolesTaken.map(r => r.id);\r\n this.configurationChanged.emit(this.configuration);\r\n }\r\n\r\n change(e: any) {\r\n const val = e.target.value.toLowerCase();\r\n this.rolesFiltered = this.roles.filter(x => !this.rolesTaken.map(r => r.id).includes(x.id) && (x.name?.toLowerCase().includes(val) || x.code?.toLowerCase().includes(val)));\r\n }\r\n\r\n removeRole(role: Role) {\r\n const index = this.rolesTaken.findIndex(x => x.id == role.id);\r\n this.rolesTaken.splice(index, 1);\r\n this.configuration.roleIDs = this.rolesTaken.map(r => r.id);\r\n this.configurationChanged.emit(this.configuration);\r\n }\r\n\r\n clearInputValue(event: MatChipInputEvent) {\r\n const input = event.input;\r\n if (input) {\r\n input.value = \"\";\r\n }\r\n }\r\n\r\n}\r\n","\r\n Roles\r\n \r\n \r\n {{ role.code }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ role.code }} \r\n
\r\n
\r\n {{ role.name }}\r\n
\r\n
\r\n \r\n \r\n You must choose at least one Role\r\n\r\n\r\n
\r\n \r\n
\r\n","import { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { Component, Inject, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { ChecklistTemplate, TemplateType, TemplateRolePermission, ChecklistTemplateStatusEnum } from '../../checklists';\r\nimport { BaseComponent } from '../../../../common/base/base.component';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { ProcedureSignatureType } from 'src/app/components/procedure/enums/procedure-signature-type.enum';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { ProcedureService } from 'src/app/components/procedure/services/procedure.service';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\nimport { FormType, ResourceType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'checklist-builder-duplicate',\r\n templateUrl: './checklist-builder-duplicate.component.html',\r\n styleUrls: ['./checklist-builder-duplicate.component.scss']\r\n})\r\n\r\nexport class ChecklistBuilderDuplicateComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n templateType: TemplateType;\r\n documentType?: DocumentType;\r\n templateVersion: ChecklistTemplate;\r\n\r\n duplicatedVersion!: ChecklistTemplate;\r\n message = { type: 0, text: '' };\r\n resource: Resource;\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n tmpResource!: string | null;\r\n currentResource!: Resource | null;\r\n currentSchedule!: Schedule | null;\r\n filteredResources!: Resource[];\r\n loadingResources!: boolean;\r\n\r\n name!: string;\r\n\r\n currentTemplateType!: TemplateType;\r\n templateTypes$!: Observable;\r\n templateTypes!: TemplateType[];\r\n filteredTemplateTypes!: TemplateType[];\r\n\r\n checklistTemplates?: ChecklistTemplate[];\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n checklistTemplatesInProgress!: ChecklistTemplate[];\r\n\r\n tmpSchedule!: string;\r\n\r\n schedule?: Schedule;\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n filteredSchedules!: Schedule[];\r\n schedulesSubs!: Subscription;\r\n\r\n scheduleType!: ScheduleType;\r\n scheduleTypes!: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n loadingTypes!: boolean;\r\n typeCtrl = new FormControl();\r\n\r\n loading!: boolean;\r\n disabled = false;\r\n documentRolePermissions: TemplateRolePermission[];\r\n\r\n procedure?: Procedure | null;\r\n procedures!: Procedure[];\r\n procedures$!: Observable;\r\n subsProcedures!: Subscription;\r\n\r\n newVersion? = 'New Version';\r\n subscription!: Subscription;\r\n\r\n temp?: boolean;\r\n subscribeAsPreparer!: boolean;\r\n\r\n messageType = MessageTypeEnum;\r\n targetDocumentTypeID?: number;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private _builder: ChecklistBuilderService,\r\n private procedureService: ProcedureService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.templateType = data.templateType;\r\n this.documentType = data.templateType.documentType;\r\n this.templateVersion = data.templateVersion;\r\n this.resource = data.resource;\r\n this.schedule = data.schedule;\r\n this.targetDocumentTypeID = data.documentTypeID;\r\n this.documentRolePermissions = data.documentRolePermissions;\r\n this.temp = data.temp;\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n this.scheduleTypesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadTemplateTypes();\r\n this.loadResources();\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(x => x.TemplateTypes.data);\r\n this.subscription = this.templateTypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.templateTypes = data.filter(x => x.documentTypeID == (this.targetDocumentTypeID ?? this.documentType?.id) && x.status == 1);\r\n if (this.duplicatedVersion) {\r\n this.typeCtrl.setValue(this.duplicatedVersion?.templateType);\r\n }\r\n this.filteredTemplateTypes = this.templateTypes.sort((a, b) => this.utils.sort(a.order, b.order));\r\n this.loadScheduleTypes();\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.scheduleTypes = data;\r\n this.loadProcedures();\r\n });\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.subsProcedures = this.procedures$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.procedures = data;\r\n this.loadSchedules();\r\n });\r\n }\r\n\r\n loadSchedules() {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data.length) {\r\n this.schedules = data;\r\n this.filteredSchedules = this._builder.filterSchedulesByTemplateType(this.schedules, this.currentTemplateType);\r\n this.loadChecklistTemplates();\r\n }\r\n });\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.pipe(distinctUntilChanged()).subscribe(async data => {\r\n this.checklistTemplates = data;\r\n this.checklistTemplates = await this._builder.setResources(this.checklistTemplates, this.templateTypes, this.schedules);\r\n this.checklistTemplatesInProgress = data?.filter(x => x.templateTypeID == this.templateType?.id && x.status != ChecklistTemplateStatusEnum.Active && x.status != ChecklistTemplateStatusEnum.Archived);\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data.length > 0) {\r\n this.resources = data.filter(x => this.targetDocumentTypeID == FormType.RSSFT ? x.type == ResourceType.Shutter : x.type == this.currentTemplateType?.resourceTypeID).sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.filteredResources = this.resources;\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.data.duplicatedVersion = this.duplicatedVersion;\r\n this.dialogRef.close(this.data);\r\n }\r\n\r\n changedResource() {\r\n this.filteredResources = this.resources.filter(x => x.name?.toLowerCase().includes(this.tmpResource?.toLowerCase() ?? ''));\r\n }\r\n\r\n selectedResource(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n this.currentResource = value;\r\n }\r\n\r\n selectedSchedule(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n this.currentSchedule = value;\r\n if (this.currentSchedule?.subdetail && this.templateType?.code == 'HFUNC') {\r\n this.procedure = this.procedures?.find(x => x.procedureMasterID == this.currentSchedule?.subdetail?.procedureMasterID && x.active && x.status == 1);\r\n }\r\n else {\r\n this.procedure = this.procedures?.find(x => x.procedureMasterID == this.currentSchedule?.procedureMasterID && x.active && x.status == 1);\r\n }\r\n }\r\n\r\n filterTemplateTypes() {\r\n this.filteredTemplateTypes = this.templateTypes.sort((a, b) => this.utils.sort(a.order, b.order));\r\n if (this.filteredTemplateTypes?.length == 1 && this.currentSchedule) {\r\n this.currentTemplateType = this.filteredTemplateTypes[0];\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n }\r\n }\r\n\r\n selectedType(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n this.currentTemplateType = value;\r\n this.reset();\r\n this.loadResources();\r\n this.loadSchedules();\r\n }\r\n\r\n reset() {\r\n this.name = '';\r\n this.currentSchedule = null;\r\n this.currentResource = null;\r\n this.procedure = null;\r\n this.tmpResource = '';\r\n this.tmpSchedule = '';\r\n }\r\n\r\n enable() {\r\n // Early exit if there's no current template type\r\n if (!this.currentTemplateType) return false;\r\n\r\n let result = true;\r\n this.message = { type: 0, text: '' };\r\n let message = '';\r\n this.subscribeAsPreparer = false;\r\n\r\n if (this.duplicatedVersion) {\r\n message = 'You can close this window now!';\r\n this.alertAndDisplayMessage(MessageTypeEnum.Success, message);\r\n result = false;\r\n }\r\n\r\n if (result) {\r\n if (this.currentTemplateType.scheduleTypeID) {\r\n if (this.currentSchedule) {\r\n const exists = this.checklistTemplatesInProgress?.some(t => t.procedureID == this.currentSchedule?.procedure?.id || t.scheduleID == this.currentSchedule?.id);\r\n const scheduleType = this.scheduleTypes.find(x => x.id == this.currentTemplateType.scheduleTypeID);\r\n\r\n // Check if the current template version matches the procedure ID\r\n if (this.templateVersion.procedureID && this.currentSchedule?.procedure?.id == this.templateVersion.procedureID) {\r\n message = this.getMessage('SameProcedureRevision').description as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Error, message);\r\n result = false;\r\n }\r\n if (result && this.currentSchedule && this.checklistTemplates?.some(t => t.procedureID == this.currentSchedule?.procedure?.id)) {\r\n const existing = this.checklistTemplates.find(t => t.procedureID == this.currentSchedule?.procedure?.id);\r\n message = (this.getMessage('AlreadyTemplateWithSameProcedure').description as string)\r\n .replace('{procedure}', '' + existing?.procedure?.procedureNumber + '')\r\n .replace('{rev}', '' + existing?.procedure?.revision + '');\r\n this.alertAndDisplayMessage(MessageTypeEnum.Error, message);\r\n result = false;\r\n }\r\n // Check if the schedule type has a procedure type ID and if a checklist template already exists\r\n if (result && scheduleType?.procedureTypeID && exists) {\r\n message = this.getMessage('ExistingTemplate').description as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Error, message);\r\n result = false;\r\n }\r\n // Further checks based on schedule type\r\n if (result && scheduleType?.procedureTypeID) {\r\n this._builder.currentSchedule = this.currentSchedule;\r\n this._builder.currentTemplateType = this.currentTemplateType;\r\n const privilege = this.procedureService.getPrivilege(this.procedure?.procedureCategory?.procedureTypeID ?? 0, ProcedureSignatureType.Preparer);\r\n\r\n if (privilege) {\r\n const hasPrivilege = this.hasPrivilege(privilege);\r\n if (hasPrivilege) {\r\n const isPreparer = this.is(ProcedureSignatureType.Preparer);\r\n if (!isPreparer) {\r\n message = this.getMessage('ShouldSubscribeAsPreparer').description?.replace('{procedure}', (this.currentSchedule?.procedure?.procedureNumber + ' - Rev: ' + this.currentSchedule?.procedure?.revision)) as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Info, message);\r\n this.subscribeAsPreparer = true;\r\n }\r\n } else {\r\n message = this.getMessage('DuplicateNoPreparer').description?.replace('{procedure}', (this.currentSchedule?.procedure?.procedureNumber + ' - Rev: ' + this.currentSchedule?.procedure?.revision)) as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Warning, message);\r\n this.subscribeAsPreparer = false;\r\n }\r\n } else {\r\n if (this.currentSchedule && this.procedure) {\r\n message = this.getMessage('NotAllowedToCreateTemplates').description as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Warning, message);\r\n result = false;\r\n }\r\n }\r\n }\r\n }\r\n else result = false;\r\n }\r\n else if (this.currentTemplateType.resourceTypeID) {\r\n\r\n }\r\n else if (this.currentTemplateType.allowMultipleVersions || this.targetDocumentTypeID == FormType.RSSFT) {\r\n if (this.name) return true;\r\n else result = false;\r\n }\r\n }\r\n\r\n // Display success message if the template creation conditions are met\r\n if (result && !message) {\r\n const name = this.name ? ', Named: ' + this.name + '' : '';\r\n const schedule = this.currentSchedule ? ', Resource: ' + this.currentSchedule.scheduleResources?.[0]?.resource?.name + '' : '';\r\n const resource = this.currentResource ? ', Resource: ' + this.currentResource.name + '' : '';\r\n const procedure = this.currentSchedule ? ', Procedure: ' + this.currentSchedule.procedure?.procedureNumber + '' + ', Rev: ' + this.currentSchedule.procedure?.revision + '' : '';\r\n message = 'A new template can be created for Type: ' + this.currentTemplateType.name + '' + name + schedule + resource + procedure;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Success, message);\r\n }\r\n\r\n return result;\r\n }\r\n\r\n\r\n alertAndDisplayMessage(type: MessageTypeEnum, text: string) {\r\n // this.alert.message(text, [], type);\r\n this.message = { type, text };\r\n }\r\n\r\n is(signatureType: ProcedureSignatureType) {\r\n const signatures = this.procedure?.procedureSignatures?.filter(x => x.signatureType == signatureType);\r\n return signatures?.map(x => x.userID).includes(this.getCurrentUser()?.id ?? 0);\r\n }\r\n\r\n duplicate() {\r\n if (this.documentType) {\r\n const documentType = this.targetDocumentTypeID ? { id: this.targetDocumentTypeID } : this.documentType;\r\n const checklistTemplate = this._builder.getNewChecklistTemplate(documentType, this.currentTemplateType, this.currentSchedule, this.currentResource, this.procedure, this.name);\r\n this._builder.checklistTemplates = this.checklistTemplates;\r\n this.loading = true;\r\n checklistTemplate.status = this.temp == true ? -1 : checklistTemplate.status;\r\n checklistTemplate.procedureID = this.procedure?.id;\r\n checklistTemplate.procedureMasterID = this.procedure?.procedureMasterID;\r\n this._builder.duplicateChecklistTemplate(this.templateVersion, checklistTemplate).subscribe(data => {\r\n this.loading = false;\r\n this.disabled = true;\r\n this.newVersion = data.serialNo;\r\n this.duplicatedVersion = data;\r\n },\r\n error => {\r\n this.loading = false;\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n changedSchedule() {\r\n this.filteredSchedules = this._builder.filterSchedulesByTemplateType(this.schedules, this.currentTemplateType);\r\n this.filteredSchedules = this.filteredSchedules.filter(x => x.scheduleResources?.some(r => r.resource?.name?.toLowerCase().includes(this.tmpSchedule.toLowerCase())) || x.scheduleResources?.some(r => r.resourceString?.toLowerCase().includes(this.tmpSchedule.toLowerCase())));\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
Duplicate Checklist Template
\r\n \r\n close\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
From
\r\n
\r\n \r\n Type\r\n \r\n \r\n \r\n Name\r\n \r\n \r\n \r\n Resource\r\n \r\n \r\n \r\n Resource\r\n \r\n \r\n \r\n Procedure\r\n \r\n \r\n \r\n Version\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n arrow_forward_ios\r\n \r\n
\r\n
\r\n
\r\n
To
\r\n
\r\n \r\n Type\r\n \r\n \r\n \r\n {{ type.name }}\r\n \r\n \r\n You must choose a Type\r\n \r\n {{ currentTemplateType.description }}\r\n \r\n \r\n \r\n Name\r\n \r\n \r\n \r\n Resource\r\n \r\n \r\n \r\n {{ schedule.name }}\r\n \r\n \r\n You must select a Resource\r\n \r\n {{ currentSchedule.description }}\r\n \r\n \r\n \r\n Resource\r\n \r\n \r\n \r\n {{ resource.name }}\r\n \r\n \r\n You must select a Resource\r\n \r\n {{ currentResource.description }}\r\n \r\n \r\n \r\n Procedure\r\n \r\n \r\n \r\n Version\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ChecklistTemplate } from '../../checklists';\r\nimport { RSSFunctionalTestService } from 'src/app/services/rss-functional-test/rss-functional-test.service';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { RSSFunctionalTest } from '../../../rsswa/rss-functional-test';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\n\r\nexport class ChecklistBuilderEditPopupParameters {\r\n public rssFunctionalTest!: RSSFunctionalTest;\r\n public amendment!: boolean;\r\n}\r\n\r\n@Component({\r\n selector: 'checklist-builder-edit-popup',\r\n templateUrl: './checklist-builder-edit-popup.component.html',\r\n styleUrls: ['./checklist-builder-edit-popup.component.scss']\r\n})\r\nexport class ChecklistBuilderEditPopupComponent extends BaseComponent implements OnInit {\r\n loading: boolean = false;\r\n checklistTemplate!: ChecklistTemplate;\r\n sections?: WFSectionLocalResource[];\r\n resource?: string | null;\r\n templateType?: string;\r\n\r\n constructor(\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: ChecklistBuilderEditPopupParameters,\r\n public dialogRef: MatDialogRef,\r\n private checklistBuilderService: ChecklistBuilderService,\r\n private rssFunctionalTestService: RSSFunctionalTestService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.resource = this.data?.rssFunctionalTest?.checklistTemplate?.resource?.name;\r\n this.templateType = this.data?.rssFunctionalTest?.checklistTemplate?.templateType?.name;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loading = true;\r\n this.checklistBuilderService.getchecklistTemplateById(this.data.rssFunctionalTest.checklistTemplateID).subscribe(\r\n data => {\r\n this.checklistTemplate = data;\r\n this.sections = this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals?.sort((a, b) => this.utils.sort(a.order, b.order));\r\n },\r\n error => {\r\n this.alert.error(error.error);\r\n this.dialogRef.close();\r\n },\r\n () => this.loading = false,\r\n );\r\n }\r\n\r\n save() {\r\n this.loading = true;\r\n if (this.data.rssFunctionalTest.id)\r\n this.rssFunctionalTestService.update(this.data.rssFunctionalTest.id, this.data.rssFunctionalTest, this.data.amendment).subscribe(\r\n () => this.alert.success(\"The RSS functional test was updated\"),\r\n error => this.alert.error(error.error),\r\n () => this.loading = false,\r\n );\r\n }\r\n\r\n}\r\n","\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n \r\n
\r\n
\r\n \r\n Resource\r\n \r\n \r\n
\r\n
\r\n \r\n Template\r\n \r\n \r\n
\r\n
\r\n \r\n Save\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, ViewChild, OnChanges, Output, EventEmitter, OnDestroy, SimpleChanges, OnInit, ChangeDetectorRef, Injector } from '@angular/core';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort, Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ChecklistTemplate, ChecklistTemplateStatus, TemplateType } from '../../checklists';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { ScheduleStatusEnum } from 'src/app/components/schedules/models/enums';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-list',\r\n templateUrl: './checklist-builder-list.component.html',\r\n styleUrls: ['./checklist-builder-list.component.scss']\r\n})\r\nexport class ChecklistBuilderListComponent extends BaseComponent implements OnChanges, OnDestroy, OnInit {\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n @ViewChild(MatPaginator) paginator!: MatPaginator;\r\n\r\n @Input() checklistTemplates?: ChecklistTemplate[];\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n subSchedules!: Subscription;\r\n\r\n procedure!: Procedure;\r\n procedures?: Procedure[];\r\n proceduresFiltered?: Procedure[];\r\n procedures$!: Observable;\r\n proceduresSubs!: Subscription;\r\n\r\n checklistTemplateStatuses!: ChecklistTemplateStatus[];\r\n\r\n templateTypes!: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n loaded = false;\r\n\r\n public displayedColumns: string[] = ['serialNo', 'statusName', 'resourceName', 'procedureNumber', 'name'];\r\n public dataSource = new MatTableDataSource();\r\n\r\n selectedRowIndex!: number;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ChecklistBuilderService) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit(): Promise {\r\n this.dataSource.paginator = this.paginator;\r\n this.loadSchedules();\r\n this.loadProcedures();\r\n this.loadTemplateTypes();\r\n this.init();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.init();\r\n }\r\n\r\n async init() {\r\n this.loadStatuses();\r\n this.service.loadProcedures();\r\n if (this.checklistTemplates) {\r\n this.setStatusName();\r\n await this.renderTable();\r\n\r\n const checklistTemplateID = localStorage.getItem('checklistTemplateID');\r\n if (checklistTemplateID && !this.loaded) {\r\n const template = this.checklistTemplates?.find(x => x.id == +checklistTemplateID);\r\n if (template) {\r\n this.rowClicked(template);\r\n localStorage.removeItem('checklistTemplateID');\r\n this.loaded = true;\r\n }\r\n }\r\n }\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.proceduresSubs = this.procedures$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data?.length) {\r\n this.procedures = data;\r\n this.checklistTemplates?.map(c => {\r\n if (c.procedureID && !c.procedure) c.procedure = this.procedures?.find(p => p.id == c.procedureID);\r\n });\r\n }\r\n });\r\n }\r\n\r\n loadSchedules() {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.subSchedules = this.schedules$.pipe(distinctUntilChanged()).subscribe(async data => {\r\n this.schedules = data.filter(x => x.statusId != ScheduleStatusEnum.completed && x.statusId != ScheduleStatusEnum.remove);\r\n await this.renderTable();\r\n });\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.pipe(distinctUntilChanged()).subscribe(async data => {\r\n this.templateTypes = data;\r\n await this.renderTable();\r\n });\r\n }\r\n\r\n async renderTable() {\r\n this.checklistTemplates = await this.service.setResources(this.checklistTemplates, this.templateTypes, this.schedules);\r\n this.dataSource = new MatTableDataSource(this.checklistTemplates?.filter(x => this.checklistTemplateStatuses?.filter(s => s.selected).map(s => s.statusEnum).includes(x.status)).sort((a, b) => utils.sort(a.statusOrder, b.statusOrder)));\r\n if (localStorage.getItem('cb-list-sort'))\r\n this.sort = this.utils.JSONparse(localStorage.getItem('cb-list-sort'));\r\n this.sortTable(this.sort);\r\n }\r\n\r\n override ngOnDestroy() {\r\n this.subSchedules?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.proceduresSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadStatuses() {\r\n this.checklistTemplateStatuses = this.service.checklistTemplateStatuses;\r\n }\r\n\r\n setStatusName() {\r\n this.checklistTemplates?.map(c => {\r\n const status = this.checklistTemplateStatuses?.find(x => x.code == c.code);\r\n c.statusName = status?.description;\r\n c.statusOrder = status?.order;\r\n });\r\n }\r\n\r\n getClass(code: string) {\r\n return this.checklistTemplateStatuses?.find(x => x.code == code)?.cssClass;\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n rowClicked(row: ChecklistTemplate) {\r\n this.rowSelected.emit(row);\r\n }\r\n\r\n sortTable(sort: Sort) {\r\n const dir = sort.direction;\r\n localStorage.setItem('cb-list-sort', this.utils.JSONstringify(sort));\r\n let data = this.checklistTemplates?.filter(x => this.checklistTemplateStatuses?.filter(s => s.selected).map(s => s.statusEnum).includes(x.status));\r\n if (dir)\r\n switch (sort.active) {\r\n case 'serialNo':\r\n data = data?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.serialNo, b.serialNo, dir));\r\n break;\r\n case 'statusName':\r\n data = data?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.statusName, b.statusName, dir));\r\n break;\r\n case 'resourceName':\r\n data = data?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resourceString, b.resourceString, dir));\r\n break;\r\n case 'procedureNumber':\r\n data = data?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.procedure?.procedureNumber, b.procedure?.procedureNumber, dir));\r\n break;\r\n case 'name':\r\n data = data?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.templateType?.name, b.templateType?.name, dir));\r\n break;\r\n }\r\n this.dataSource = new MatTableDataSource(data);\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n Version\r\n \r\n \r\n {{\r\n element.serialNo\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n {{ element.statusName }}\r\n \r\n \r\n\r\n \r\n \r\n Resource\r\n \r\n \r\n {{ element.resourceString }}\r\n \r\n \r\n\r\n \r\n \r\n Procedure No.\r\n \r\n \r\n {{ element.procedure?.procedureNumber }}\r\n  {{ \" Rev.\" + element.procedure?.revision }}\r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n {{ element.templateType?.name }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { ChecklistTemplate } from '../../checklists';\r\nimport { WFSectionLocalResource, WFStepLocalResource, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';\r\nimport { FlatTreeControl } from '@angular/cdk/tree';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { ChecklistTemplatesUpdate } from '../../store/checklist-templates/checklist-templates.action';\r\nimport { SelectionModel } from '@angular/cdk/collections';\r\n@Component({\r\n selector: 'checklist-builder-map',\r\n templateUrl: './checklist-builder-map.component.html',\r\n styleUrls: ['./checklist-builder-map.component.scss']\r\n})\r\nexport class ChecklistBuilderMapComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() showDeleted?: boolean;\r\n @Output() loading = new EventEmitter();\r\n @Output() changed = new EventEmitter();\r\n\r\n checklistTemplate?: ChecklistTemplate | null;\r\n\r\n wfSectionLocals?: WFSectionLocalResource[];\r\n\r\n checklistTemplates?: ChecklistTemplate[];\r\n checklistTemplatesFiltered?: ChecklistTemplate[];\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n deletedTaskLocals?: WfTaskLocalResource[];\r\n deletedTaskLocals$!: Observable;\r\n deletedTaskLocalsSubs!: Subscription;\r\n\r\n deletedStepLocals?: WFStepLocalResource[];\r\n deletedStepLocals$!: Observable;\r\n deletedStepLocalsSubs!: Subscription;\r\n\r\n deletedSectionLocals?: WFSectionLocalResource[];\r\n deletedSectionLocals$!: Observable;\r\n deletedSectionLocalsSubs!: Subscription;\r\n\r\n // To store expanded node IDs\r\n expandedNodeSet = new Set();\r\n // expansionModel = new SelectionModel(true);\r\n\r\n private _transformer = (node: WFNode, level: number) => {\r\n return {\r\n expandable: !!node.children && node.children.length > 0,\r\n name: node.name,\r\n level: level,\r\n type: node.type,\r\n id: node.id,\r\n deleted: node.deleted,\r\n children: node.children,\r\n deletedChildren: node.deletedChildren\r\n } as WFFlatNode;\r\n };\r\n\r\n treeControl = new FlatTreeControl(\r\n node => node.level,\r\n node => node.expandable,\r\n );\r\n\r\n treeFlattener = new MatTreeFlattener(\r\n this._transformer,\r\n node => node.level,\r\n node => node.expandable,\r\n node => node.children,\r\n );\r\n\r\n dataSource = new MatTreeFlatDataSource(this.treeControl, this.treeFlattener);\r\n hasChild = (_: number, node: WFFlatNode) => node.expandable;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: ChecklistBuilderService\r\n ) { super(injector); }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadChecklistTemplates();\r\n this.service.currentTemplate?.subscribe(data => {\r\n this.checklistTemplate = data;\r\n this.loadDeletedSections();\r\n this.loadDeletedSteps();\r\n this.loadDeletedTasks();\r\n this.buildTree();\r\n });\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data?.length) {\r\n this.checklistTemplates = data;\r\n if (this.checklistTemplate) {\r\n const checklistTemplate = this.checklistTemplates.find(x => x.id == this.checklistTemplate?.id);\r\n if (checklistTemplate) {\r\n this.checklistTemplate = checklistTemplate;\r\n this.buildTree();\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n // Save expanded node state before refresh\r\n saveExpandedState() {\r\n this.expandedNodeSet.clear();\r\n this.treeControl.dataNodes?.forEach(node => {\r\n if (this.treeControl.isExpanded(node)) {\r\n this.expandedNodeSet.add(node.id); // Assuming each node has a unique 'id'\r\n }\r\n });\r\n }\r\n\r\n // Restore expanded node state after refresh\r\n restoreExpandedState() {\r\n this.treeControl.dataNodes?.forEach(node => {\r\n if (this.expandedNodeSet.has(node.id)) {\r\n this.treeControl.expand(node);\r\n }\r\n });\r\n }\r\n\r\n loadDeletedSections() {\r\n this.deletedSectionLocals$ = this.store.select((state) => state.DeletedWFSectionLocals.data);\r\n this.deletedSectionLocalsSubs = this.deletedSectionLocals$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.deletedSectionLocals = data.filter(t => t.checklistTemplateID == this.checklistTemplate?.id);\r\n this.buildTree();\r\n });\r\n }\r\n\r\n loadDeletedSteps() {\r\n this.deletedStepLocals$ = this.store.select((state) => state.DeletedWFStepLocals.data);\r\n this.deletedStepLocalsSubs = this.deletedStepLocals$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.deletedStepLocals = data.filter(t => t.checklistTemplateID == this.checklistTemplate?.id);\r\n this.buildTree();\r\n });\r\n }\r\n\r\n loadDeletedTasks() {\r\n this.deletedTaskLocals$ = this.store.select((state) => state.DeletedWFTaskLocals.data);\r\n this.deletedTaskLocalsSubs = this.deletedTaskLocals$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.deletedTaskLocals = data.filter(t => t.checklistTemplateID == this.checklistTemplate?.id);\r\n this.buildTree();\r\n });\r\n }\r\n\r\n buildTree() {\r\n this.saveExpandedState(); // Save expanded nodes before refresh\r\n\r\n const sectionNodes: WFNode[] = [];\r\n this.wfSectionLocals = this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals.sort((a, b) => utils.sort(a.order, b.order));\r\n if (this.showDeleted)\r\n this.wfSectionLocals = this.wfSectionLocals?.concat(this.deletedSectionLocals?.filter(d => !this.wfSectionLocals?.map(i => i.id).includes(d.id)) ?? []).sort((a, b) => utils.sort(a.order, b.order));\r\n this.wfSectionLocals?.map(s => {\r\n const stepNodes: WFNode[] = [];\r\n let steps = s.wfStepLocals?.sort((a, b) => utils.sort(a.order, b.order));\r\n if (this.showDeleted)\r\n steps = steps?.concat(this.deletedStepLocals?.filter(d => d.wfSectionLocalID == s.id && !steps?.map(i => i.id).includes(d.id)) ?? []).sort((a, b) => utils.sort(a.order, b.order));\r\n steps?.map(x => {\r\n const taskNodes: WFNode[] = [];\r\n let tasks = x.wfTaskLocals.sort((a, b) => utils.sort(a.order, b.order));\r\n if (this.showDeleted)\r\n tasks = tasks.concat(this.deletedTaskLocals?.filter(d => d.wfStepLocalID == x.id && !tasks.map(i => i.id).includes(d.id)) ?? []).sort((a, b) => utils.sort(a.order, b.order));\r\n tasks.map(t => {\r\n const taskNode: WFNode = { number: t.component?.numericHeader ? t.name : '', name: this.formatTaskName(t), type: ChecklistElement.TASK, id: t.id ?? 0, deleted: (t.logID ?? 0) > 0, deletedChildren: false };\r\n taskNodes.push(taskNode);\r\n });\r\n const stepNode: WFNode = { name: x.name, children: taskNodes, type: ChecklistElement.STEP, id: x.id, deleted: (x.logID ?? 0) > 0, deletedChildren: taskNodes.some(n => n.deleted) };\r\n stepNodes.push(stepNode);\r\n });\r\n const sectionNode: WFNode = { name: s.number + '. ' + s.name, children: stepNodes, type: ChecklistElement.SECTION, id: s.id, deleted: (s.logID ?? 0) > 0, deletedChildren: stepNodes.some(n => n.deleted) || stepNodes.some(n => n.deletedChildren) };\r\n sectionNodes.push(sectionNode);\r\n });\r\n this.dataSource.data = sectionNodes;\r\n this.restoreExpandedState(); // Restore expanded nodes after refresh\r\n }\r\n\r\n hasDeleted() {\r\n const sectionNodes: WFNode[] = [];\r\n const sections = this.wfSectionLocals?.concat(this.deletedSectionLocals?.filter(d => !this.wfSectionLocals?.map(i => i.id).includes(d.id)) ?? []);\r\n sections?.map(s => {\r\n const stepNodes: WFNode[] = [];\r\n let steps = s.wfStepLocals;\r\n steps = steps?.concat(this.deletedStepLocals?.filter(d => d.wfSectionLocalID == s.id && !steps?.map(i => i.id).includes(d.id)) ?? []);\r\n steps?.map(x => {\r\n const taskNodes: WFNode[] = [];\r\n let tasks = x.wfTaskLocals;\r\n tasks = tasks.concat(this.deletedTaskLocals?.filter(d => d.wfStepLocalID == x.id && !tasks.map(i => i.id).includes(d.id)) ?? []);\r\n tasks.map(t => {\r\n const taskNode: WFNode = { number: t.component?.numericHeader ? t.name : '', name: t.name, type: ChecklistElement.TASK, id: t.id ?? 0, deleted: (t.logID ?? 0) > 0, deletedChildren: false };\r\n taskNodes.push(taskNode);\r\n });\r\n const stepNode: WFNode = { name: x.name, children: taskNodes, type: ChecklistElement.STEP, id: x.id, deleted: (x.logID ?? 0) > 0, deletedChildren: taskNodes.some(n => n.deleted) };\r\n stepNodes.push(stepNode);\r\n });\r\n const sectionNode: WFNode = { name: s.number + '. ' + s.name, children: stepNodes, type: ChecklistElement.SECTION, id: s.id, deleted: (s.logID ?? 0) > 0, deletedChildren: stepNodes.some(n => n.deleted) || stepNodes.some(n => n.deletedChildren) };\r\n sectionNodes.push(sectionNode);\r\n });\r\n return sectionNodes.some(n => n.deleted || n.deletedChildren);\r\n }\r\n\r\n formatTaskName(t: WfTaskLocalResource) {\r\n if (t.component?.textFields)\r\n return (t.component?.numericHeader ? t.name + ' - ' : '') + utils.stripHTML(t.name3 ?? t.name2 ?? t.name);\r\n else return t.name;\r\n }\r\n\r\n scrollToNode(node: WFFlatNode) {\r\n const selectedElement: SelectedElement = {};\r\n\r\n const setSelectedNodes = (section: WFNode, step?: WFNode, task?: WFNode) => {\r\n selectedElement.sectionNode = this._transformer(section, 0);\r\n if (step) selectedElement.stepNode = this._transformer(step, 1);\r\n if (task) selectedElement.taskNode = this._transformer(task, 2);\r\n };\r\n\r\n switch (node.type) {\r\n case ChecklistElement.TASK:\r\n this.dataSource.data.some(section => {\r\n return section.children?.some(step => {\r\n return step.children?.some(task => {\r\n if (task.id === node.id) {\r\n setSelectedNodes(section, step, task);\r\n return true; // Found the task\r\n }\r\n return false; // Continue searching\r\n });\r\n });\r\n });\r\n break;\r\n\r\n case ChecklistElement.STEP:\r\n this.dataSource.data.some(section => {\r\n return section.children?.some(step => {\r\n if (step.id === node.id) {\r\n setSelectedNodes(section, step);\r\n return true; // Found the step\r\n }\r\n return false; // Continue searching\r\n });\r\n });\r\n break;\r\n\r\n case ChecklistElement.SECTION:\r\n const section = this.dataSource.data.find(section => section.id === node.id);\r\n if (section) setSelectedNodes(section);\r\n break;\r\n }\r\n\r\n this.service.selectedNode = selectedElement;\r\n const element = document.getElementById(node.type + '-' + node.id);\r\n if (element) {\r\n element?.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n }\r\n\r\n onNodeToggle(node: WFFlatNode) {\r\n const isExpanded = this.treeControl.isExpanded(node);\r\n this.saveExpandedState();\r\n console.log(`${node.name} is now ${isExpanded ? 'expanded' : 'collapsed'}`);\r\n }\r\n\r\n nodeParent(node: WFNode) {\r\n let result: WFNode | null | undefined = null;\r\n result = this.dataSource.data.find((x) => x.children?.some((c) => c.id === node.id));\r\n if (!result) { // Parent is at level 1\r\n for (const section of this.dataSource.data) {\r\n result = section.children?.find((x) => x.children?.some((c) => c.id === node.id));\r\n if (result) break;\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n nodeSiblings(node: WFNode, data: WFNode[], parent?: WFNode): WFNode[] | null | undefined {\r\n let result: WFNode[] | null | undefined = null;\r\n const section = data.find((x) => x.id === node.id);\r\n if (section) result = data;\r\n else {\r\n data.forEach((section) => {\r\n const step = section.children?.find((x) => x.id === node.id && section.id === parent?.id);\r\n if (step) result = section.children;\r\n else {\r\n section.children?.forEach((step) => {\r\n const task = step.children?.find((x) => x.id === node.id && step.id === parent?.id);\r\n if (task) result = step.children;\r\n });\r\n }\r\n });\r\n }\r\n return result;\r\n }\r\n\r\n async saveDropChanges(nodeChanges: Change[]) {\r\n const type = nodeChanges[0].type;\r\n const changes = nodeChanges.map(x => this.utils.Serialize(x.element));\r\n switch (type) {\r\n case ChecklistElement.SECTION:\r\n await this.service.updateSectionsOrder(changes as WFSectionLocalResource[]).toPromise();\r\n // this.changed.emit(this.checklistTemplate!);\r\n break;\r\n\r\n case ChecklistElement.STEP:\r\n await this.service.updateStepsOrder(changes as WFStepLocalResource[]).toPromise();\r\n break;\r\n\r\n case ChecklistElement.TASK:\r\n await this.service.updateTasksOrder(changes as WfTaskLocalResource[]).toPromise();\r\n break;\r\n }\r\n\r\n }\r\n\r\n getConnectedDropLists(node: WFNode): string[] {\r\n if (node.level === 0) return [];\r\n const dropLists = [] as string[];\r\n const parent = this.nodeParent(node)!;\r\n const parentParent = this.nodeParent(parent);\r\n const items = parentParent ? parentParent.children : this.dataSource.data;\r\n items?.forEach((child) => {\r\n dropLists.push(`${parent.type}-${child.id}`);\r\n });\r\n return dropLists;\r\n }\r\n\r\n /**\r\n * This constructs an array of nodes that matches the DOM\r\n */\r\n visibleNodes(): WFNode[] {\r\n const result: WFNode[] = [];\r\n\r\n this.dataSource.data.forEach((section) => {\r\n section.level = 0;\r\n result.push(section);\r\n if (this.expandedNodeSet.has(section.id)) {\r\n section.children?.forEach((step) => {\r\n step.level = 1;\r\n result.push(step);\r\n if (this.expandedNodeSet.has(step.id)) {\r\n step.children?.forEach((task) => {\r\n task.level = 2;\r\n result.push(task);\r\n });\r\n }\r\n });\r\n }\r\n });\r\n\r\n return result;\r\n }\r\n\r\n /**\r\n * Handle the drop - here we rearrange the data based on the drop event,\r\n * then rebuild the tree.\r\n * */\r\n drop(event: CdkDragDrop) {\r\n // ignore drops outside of the tree\r\n if (!event.isPointerOverContainer) return;\r\n this.loading.emit(true);\r\n // construct a list of visible nodes, this will match the DOM.\r\n // the cdkDragDrop event.currentIndex jives with visible nodes.\r\n // it calls rememberExpandedTreeNodes to persist expand state\r\n const visibleNodes = this.visibleNodes();\r\n\r\n // deep clone the data source so we can mutate it\r\n const changedData = this.utils.cloneDeep(this.dataSource.data);\r\n\r\n const node = event.item.data;\r\n\r\n // determine where to insert the node\r\n let nodeAtDest = visibleNodes[event.currentIndex];\r\n\r\n // ensure validity of drop - must be same level\r\n const nodeLevel = this.nodeLevel(node.id);\r\n const destLevel = this.nodeLevel(nodeAtDest.id);\r\n let newParent = null;\r\n\r\n if (destLevel < nodeLevel) {\r\n newParent = nodeAtDest\r\n }\r\n else {\r\n newParent = this.nodeParent(nodeAtDest);\r\n }\r\n const oldParent = this.nodeParent(node);\r\n\r\n let error = false;\r\n if (nodeLevel > destLevel) {\r\n if (nodeLevel - destLevel == 1 && nodeAtDest.children) {\r\n if (nodeAtDest.children.length > 0)\r\n nodeAtDest = nodeAtDest.children![0];\r\n else if (nodeAtDest.level == 0 || nodeAtDest.level == 1) {\r\n nodeAtDest.children.push(utils.cloneDeep(node));\r\n newParent = nodeAtDest;\r\n nodeAtDest = nodeAtDest.children[0];\r\n }\r\n else error = true;\r\n }\r\n else error = true;\r\n }\r\n else if (nodeLevel < destLevel) {\r\n error = true;\r\n }\r\n\r\n if (error) {\r\n this.alert.warning('Items can only be moved within the same level.');\r\n this.loading.emit(false);\r\n return;\r\n }\r\n\r\n // check new siblings\r\n const newSiblings = this.nodeSiblings(nodeAtDest, changedData, newParent) ?? (node.level == 0 ? this.dataSource.data : []);\r\n if (!newSiblings) return;\r\n const insertIndex = newSiblings.findIndex(s => s.id === nodeAtDest.id);\r\n\r\n\r\n // remove the node from its old place\r\n const siblings = this.nodeSiblings(node, changedData, oldParent) ?? (node.level == 0 ? this.dataSource.data : []);\r\n const siblingIndex = siblings.findIndex(n => n.id === node.id);\r\n const nodeToInsert: WFNode = siblings.splice(siblingIndex, 1)[0];\r\n // if (nodeAtDest.id != nodeToInsert.id) {\r\n\r\n // insert node\r\n newSiblings.splice(insertIndex, 0, nodeToInsert);\r\n\r\n // Save Changes and Refresh Checklist Template\r\n if (this.checklistTemplate) {\r\n const siblingsChanges = this.getChangedData(node, newSiblings, newParent);\r\n const previousSiblingsChanges = this.getChangedData(node, siblings, oldParent);\r\n\r\n this.saveDropChanges(siblingsChanges.concat(previousSiblingsChanges));\r\n this.store.dispatch(new ChecklistTemplatesUpdate(this.checklistTemplate.id, this.checklistTemplate));\r\n }\r\n // }\r\n this.loading.emit(false);\r\n }\r\n\r\n nodeLevel(id: number) {\r\n return this.treeControl.dataNodes.find((n) => id === n.id)?.level ?? -1;\r\n }\r\n\r\n getChangedData(node: WFNode, data: WFNode[], parent?: WFNode | null): Change[] {\r\n const nodeChanges: Change[] = [];\r\n switch (node.type) {\r\n case ChecklistElement.SECTION:\r\n data.forEach((section, index) => {\r\n const wfSection = this.findWFSection(section.id);\r\n if (wfSection) {\r\n if (index != wfSection.order) {\r\n wfSection.order = index;\r\n wfSection.number = index + 1;\r\n nodeChanges.push({ type: ChecklistElement.SECTION, element: wfSection });\r\n }\r\n }\r\n });\r\n break;\r\n case ChecklistElement.STEP:\r\n const parentSection = parent!;\r\n const parentWFSection = this.findWFSection(parentSection.id)!;\r\n data.forEach((step, index) => {\r\n const wfStep = this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals\r\n .flatMap(section => section.wfStepLocals || [])\r\n .find(s => s.id === step.id);\r\n if (wfStep) {\r\n if (index != wfStep.order || wfStep.wfSectionLocalID != parentSection.id) {\r\n wfStep.order = index;\r\n\r\n if (wfStep.wfSectionLocalID != parentSection.id) {\r\n wfStep.wfSectionLocalID = parentSection.id;\r\n wfStep.wfSectionLocal = parentWFSection;\r\n parentWFSection.wfStepLocals?.splice(index, 0, wfStep);\r\n }\r\n\r\n nodeChanges.push({ type: ChecklistElement.STEP, element: wfStep });\r\n }\r\n }\r\n });\r\n parentWFSection.wfStepLocals?.forEach((step) => {\r\n if (!data.some(s => s.id == step.id))\r\n parentWFSection.wfStepLocals?.splice(parentWFSection.wfStepLocals.indexOf(step), 1);\r\n });\r\n break;\r\n case ChecklistElement.TASK:\r\n const parentStep = parent!;\r\n const parentWFStep = this.findWFStep(parentStep.id);\r\n data.forEach((task, index) => {\r\n const wfTask = this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals\r\n .flatMap(x => x.wfStepLocals || [])\r\n .flatMap(s => s.wfTaskLocals || [])\r\n .find(t => t.id === task.id);\r\n if (wfTask) {\r\n if (index != wfTask.order || wfTask.wfStepLocalID != parentStep.id) {\r\n wfTask.order = index;\r\n if (wfTask.wfStepLocalID != parentStep.id) {\r\n wfTask.wfStepLocalID = parentStep.id;\r\n wfTask.wfStepLocal = parentWFStep;\r\n parentWFStep?.wfTaskLocals?.splice(index, 0, wfTask);\r\n }\r\n nodeChanges.push({ type: ChecklistElement.TASK, element: wfTask });\r\n }\r\n }\r\n });\r\n parentWFStep?.wfTaskLocals?.forEach((task) => {\r\n if (!data.some(t => t.id == task.id))\r\n parentWFStep?.wfTaskLocals?.splice(parentWFStep?.wfTaskLocals?.indexOf(task), 1);\r\n });\r\n break;\r\n }\r\n\r\n return nodeChanges;\r\n }\r\n\r\n findWFSection(sectionID: number): WFSectionLocalResource | undefined {\r\n return this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.id == sectionID);\r\n }\r\n\r\n findWFStep(stepID: number): WFStepLocalResource | undefined {\r\n return this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals.flatMap(x => x.wfStepLocals || []).find(x => x.id == stepID);\r\n }\r\n\r\n findWFTask(taskID: number): WfTaskLocalResource | undefined {\r\n return this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals.flatMap(x => x.wfStepLocals || []).flatMap(s => s.wfTaskLocals || []).find(t => t.id == taskID);\r\n }\r\n\r\n dragging = false;\r\n expandTimeout: any;\r\n expandDelay = 1000;\r\n /**\r\n * Experimental - opening tree nodes as you drag over them\r\n */\r\n dragStart() {\r\n this.dragging = true;\r\n }\r\n dragEnd() {\r\n this.dragging = false;\r\n }\r\n dragHover(node: WFFlatNode) {\r\n if (this.dragging) {\r\n clearTimeout(this.expandTimeout);\r\n this.expandTimeout = setTimeout(() => {\r\n this.treeControl.expand(node);\r\n }, this.expandDelay);\r\n }\r\n }\r\n dragHoverEnd() {\r\n if (this.dragging) {\r\n clearTimeout(this.expandTimeout);\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n\r\ninterface WFNode {\r\n name: string;\r\n type: ChecklistElement;\r\n id: number;\r\n number?: string;\r\n children?: WFNode[];\r\n deleted: boolean;\r\n level?: number;\r\n deletedChildren: boolean;\r\n}\r\n\r\nexport interface WFFlatNode {\r\n expandable: boolean;\r\n name: string;\r\n level: number;\r\n type: ChecklistElement;\r\n id: number;\r\n deleted: boolean;\r\n deletedChildren?: boolean;\r\n children?: WFNode[];\r\n}\r\n\r\nexport enum ChecklistElement {\r\n SECTION = 'section',\r\n STEP = 'step',\r\n TASK = 'task'\r\n}\r\n\r\nexport interface Change {\r\n type: ChecklistElement;\r\n element: WFSectionLocalResource | WFStepLocalResource | WfTaskLocalResource;\r\n}\r\n\r\nexport class SelectedElement {\r\n sectionNode?: WFFlatNode;\r\n stepNode?: WFFlatNode;\r\n taskNode?: WFFlatNode;\r\n}","
\r\n \r\n \r\n \r\n \r\n \r\n {{ node.name }}\r\n \r\n \r\n \r\n \r\n \r\n {{ treeControl.isExpanded(node) ? \"expand_more\" : \"chevron_right\" }}\r\n \r\n \r\n {{ node.name }}\r\n \r\n \r\n
\r\n","import { Component, Inject, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Placeholder } from '../../checklists';\r\nimport { Clipboard } from '@angular/cdk/clipboard';\r\nimport { CatalogService } from 'src/app/components/catalogs/catalog-service';\r\nimport { BeamlineShutterRelation, ResourceSummary, Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\n\r\n@Component({\r\n selector: 'app-checklist-builder-placeholders',\r\n templateUrl: './checklist-builder-placeholders.component.html',\r\n styleUrls: ['./checklist-builder-placeholders.component.scss']\r\n})\r\nexport class ChecklistBuilderPlaceholdersComponent extends BaseComponent implements OnInit {\r\n\r\n placeholders?: Placeholder[];\r\n @ViewChild(MatSort) sort!: MatSort;\r\n @ViewChild(MatPaginator) paginator!: MatPaginator;\r\n public displayedColumns: string[] = ['Name', 'Placeholder', 'Data'];\r\n public dataSource = new MatTableDataSource();\r\n selectedRowIndex!: number;\r\n\r\n beamlineShutter!: BeamlineShutterRelation;\r\n resourceSummary!: ResourceSummary;\r\n beamline!: Resource;\r\n shutter!: Resource;\r\n\r\n resource: Resource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private service: PlaceholdersService,\r\n private clipboard: Clipboard,\r\n public catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n this.resource = data.resource;\r\n }\r\n\r\n async ngOnInit() {\r\n this.dataSource.sort = this.sort;\r\n this.dataSource.paginator = this.paginator;\r\n this.service.setKeyValuePairs(this.resource, true).then(data => {\r\n this.load();\r\n });\r\n }\r\n\r\n load() {\r\n this.service.getAll().toPromise().then(data => {\r\n this.placeholders = data;\r\n this.placeholders?.map(pl => {\r\n pl.data = this.service.getValue(pl.placeholderString);\r\n });\r\n this.dataSource = new MatTableDataSource(this.placeholders);\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close(this.data);\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n rowClicked(data: any) {\r\n this.clipboard.copy(data.placeholderString);\r\n this.dialogRef.close(data.placeholderString);\r\n }\r\n}\r\n","
\r\n
\r\n
Placeholders
\r\n \r\n Click on a row to copy the Placeholder to the Clipboard\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Name\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n\r\n \r\n \r\n Placeholder\r\n \r\n \r\n {{ element.placeholderString }}\r\n \r\n \r\n\r\n \r\n \r\n Data\r\n \r\n \r\n {{ element.data }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, ElementRef, Input, OnChanges, SimpleChanges, TemplateRef, ViewChild } from '@angular/core';\r\nimport { StepError } from '../checklist-builder.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-reject',\r\n templateUrl: './checklist-builder-reject.component.html',\r\n styleUrls: ['./checklist-builder-reject.component.scss']\r\n})\r\nexport class ChecklistBuilderRejectComponent implements OnChanges {\r\n\r\n @Input() errorMessages: StepError[] = [];\r\n displayedErrors?: StepError[];\r\n\r\n notDisplayedErrors?: StepError[];\r\n\r\n constructor(\r\n private elementRef: ElementRef\r\n ) {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.errorMessages.length) {\r\n this.displayedErrors = this.errorMessages.filter((e, i) => i <= 1);\r\n this.notDisplayedErrors = this.errorMessages.slice(this.displayedErrors.length);\r\n }\r\n else {\r\n this.displayedErrors = [];\r\n this.notDisplayedErrors = [];\r\n }\r\n }\r\n\r\n scrollTo(e: StepError) {\r\n const id = e.taskId ? 'task-' + e.taskId : 'step-' + e.stepId;\r\n const parent = document.querySelector('.sidenav-content');\r\n const child = document.getElementById(id);\r\n this.scrollParentToChild(parent, child);\r\n }\r\n\r\n scrollParentToChild(parent: any, child: any) {\r\n\r\n // Where is the parent on page\r\n const parentRect = parent.getBoundingClientRect();\r\n // What can you see?\r\n const parentViewableArea = {\r\n height: parent.clientHeight,\r\n width: parent.clientWidth\r\n };\r\n\r\n // Where is the child\r\n const childRect = child.getBoundingClientRect();\r\n // Is the child viewable?\r\n const isViewable = (childRect.top >= parentRect.top) && (childRect.top <= parentRect.top + parentViewableArea.height);\r\n\r\n // if you can't see the child try to scroll parent\r\n if (!isViewable) {\r\n // Should we scroll using top or bottom? Find the smaller ABS adjustment\r\n const scrollTop = childRect.top - parentRect.top;\r\n parent.scrollTop += scrollTop;\r\n\r\n // const scrollBot = childRect.bottom - parentRect.bottom;\r\n // if (Math.abs(scrollTop) < Math.abs(scrollBot)) {\r\n // // we're near the top of the list\r\n // parent.scrollTop += scrollTop;\r\n // } else {\r\n // // we're near the bottom of the list\r\n // parent.scrollTop += scrollBot;\r\n // }\r\n }\r\n\r\n }\r\n\r\n getMoreErrors() {\r\n return this.notDisplayedErrors?.map(e => {\r\n const id = e.taskId ? 'task-' + e.taskId : 'step-' + e.stepId;\r\n return '' + e.text + '';\r\n }).join('
');\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n {{ e.text }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n and {{ notDisplayedErrors?.length }} more\r\n {{ notDisplayedErrors?.length == 1 ? \"issue\" : \"issues\" }} found!\r\n
\r\n\r\n","import { Component, Input, OnInit, Output, EventEmitter, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { Subscription, Observable, distinctUntilChanged } from 'rxjs';\r\nimport { ProcedureSignatureType } from 'src/app/components/procedure/enums/procedure-signature-type.enum';\r\nimport { ProcedureSignature } from 'src/app/components/procedure/models/procedure-signature.model';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { ProcedureService } from 'src/app/components/procedure/services/procedure.service';\r\nimport { RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { TemplateType, ChecklistTemplate, ChecklistTemplateStatusEnum } from '../../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { UserAutocompletePopupComponent, UserAutocompletePopupParameters } from 'src/app/controls/user-autocomplete-popup/user-autocomplete-popup.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-review-signatures',\r\n templateUrl: './checklist-builder-review-signatures.component.html',\r\n styleUrls: ['./checklist-builder-review-signatures.component.scss']\r\n})\r\nexport class ChecklistBuilderReviewSignaturesComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() type!: ProcedureSignatureType;\r\n @Input() title!: string;\r\n @Input() procedure!: Procedure;\r\n @Input() templateType!: TemplateType;\r\n @Input() currentTemplate!: ChecklistTemplate;\r\n\r\n @Output() requestRefresh = new EventEmitter();\r\n\r\n signed!: boolean;\r\n signatures?: ProcedureSignature[];\r\n\r\n procedures!: Procedure[];\r\n procedures$!: Observable;\r\n proceduresSubs!: Subscription;\r\n\r\n rolePrivileges!: RolePrivilege[];\r\n rolePrivileges$!: Observable;\r\n rolePrivilegesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private procedureService: ProcedureService,\r\n private _builder: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadProcedures();\r\n this.loadRolePrivileges();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.proceduresSubs?.unsubscribe();\r\n this.rolePrivilegesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.proceduresSubs = this.procedures$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.procedures = data;\r\n if (this.procedure) {\r\n const procedure = this.procedures?.find(x => x.id == this.procedure?.id);\r\n if (procedure)\r\n this.procedure = procedure;\r\n this.signatures = this.procedure?.procedureSignatures?.filter(x => x.signatureType == this.type);\r\n }\r\n });\r\n }\r\n\r\n loadRolePrivileges() {\r\n this.rolePrivileges$ = this.store.select(state => state.RolePrivileges.data);\r\n this.rolePrivilegesSubs = this.rolePrivileges$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.rolePrivileges = data;\r\n });\r\n }\r\n\r\n remove(signature: ProcedureSignature) {\r\n this.procedureService.deleteSignature(signature.id).toPromise().then(() => {\r\n const index = this.procedure?.procedureSignatures?.findIndex(x => x.id == signature.id) ?? -1;\r\n if (index >= 0) {\r\n this.procedure?.procedureSignatures?.splice(index, 1);\r\n }\r\n this._builder.setProcedure(this.procedure);\r\n this.requestRefresh.emit();\r\n });\r\n }\r\n\r\n async add() {\r\n if (this.getCurrentUser()?.id) {\r\n const user = this.getCurrentUser();\r\n\r\n if (!this.signatures) { this.signatures = []; }\r\n if (user?.id)\r\n await this.addUser(user.id);\r\n }\r\n }\r\n\r\n addOther() {\r\n const privilege = this.procedureService.getPrivilege(this.procedure?.procedureCategory?.procedureTypeID ?? 0, this.type);\r\n this.dialog.open(UserAutocompletePopupComponent, {\r\n width: '30vw',\r\n data: {\r\n placeholder: 'Select a user',\r\n selectedUsers: this.procedure?.procedureSignatures,\r\n privileges: [privilege],\r\n } as UserAutocompletePopupParameters,\r\n }).afterClosed().subscribe(async data => {\r\n if (data) {\r\n await this.addUser(data.user.id);\r\n }\r\n });\r\n }\r\n\r\n async addUser(userID: number) {\r\n this.procedureService.createSignature({\r\n id: 0,\r\n procedureID: this.procedure.id,\r\n signatureType: this.type,\r\n userID\r\n }).toPromise().then(\r\n data => {\r\n if (data && !this.procedure.procedureSignatures?.map(x => x.userID).includes(this.getCurrentUser()?.id ?? 0)) {\r\n this.procedure.procedureSignatures?.push(data);\r\n }\r\n this._builder.setProcedure(this.procedure);\r\n this.requestRefresh.emit();\r\n },\r\n error => console.log(error)\r\n );\r\n }\r\n\r\n userCanBeAdded() {\r\n return this._builder.userCanBeAdded(this.procedure, this.type);\r\n }\r\n\r\n otherUserCanBeAdded() {\r\n return this._builder.otherUserCanBeAdded(this.procedure, this.type);\r\n }\r\n\r\n isPreparer() {\r\n return this.procedure.procedureSignatures?.find(x => x.signatureType == ProcedureSignatureType.Preparer && x.userID == this.getCurrentUser()?.id) != null;\r\n }\r\n\r\n isApprover() {\r\n return this.procedure.procedureSignatures?.find(x => x.signatureType == ProcedureSignatureType.Approver && x.userID == this.getCurrentUser()?.id) != null;\r\n }\r\n\r\n\r\n userCanBeRemoved(signature: ProcedureSignature | null = null) {\r\n if (signature && signature.signedOn) {\r\n return false;\r\n }\r\n if (signature && !signature.signedOn) {\r\n if (this.procedure?.procedureSignatures) {\r\n return this.statusCheckRemove();\r\n }\r\n else {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n statusCheckRemove() {\r\n let statusCheck = false;\r\n switch (this.type) {\r\n case ProcedureSignatureType.Preparer:\r\n statusCheck = this.currentTemplate?.status == ChecklistTemplateStatusEnum.Draft || this.currentTemplate?.status == ChecklistTemplateStatusEnum.CorrectionsInProgress || this.currentTemplate?.status == ChecklistTemplateStatusEnum.CorrectionsPending || this.currentTemplate?.status == ChecklistTemplateStatusEnum.Temp || !this.currentTemplate;\r\n break;\r\n case ProcedureSignatureType.Reviewer:\r\n statusCheck = this.currentTemplate?.status == ChecklistTemplateStatusEnum.Draft || this.currentTemplate?.status == ChecklistTemplateStatusEnum.PendingRev || this.currentTemplate?.status == ChecklistTemplateStatusEnum.InReview || this.currentTemplate?.status == ChecklistTemplateStatusEnum.CorrectionsPending || this.currentTemplate?.status == ChecklistTemplateStatusEnum.CorrectionsInProgress;\r\n break;\r\n case ProcedureSignatureType.Approver:\r\n statusCheck = !(this.currentTemplate?.status == ChecklistTemplateStatusEnum.PendingApr || this.currentTemplate?.status == ChecklistTemplateStatusEnum.Approving);\r\n break;\r\n }\r\n return statusCheck;\r\n }\r\n\r\n getRoles() {\r\n const privilege = this.procedureService.getPrivilege(this.procedure?.procedureCategory?.procedureTypeID ?? 0, this.type);\r\n let roles = null;\r\n if (privilege) {\r\n roles = [...new Set(this.rolePrivileges.filter(x => x.privilege == privilege).map(x => x.role?.code))].join('/');\r\n }\r\n else {\r\n roles = [...new Set(this.templateType?.documentType?.templateRolePermissions?.filter(x => x.checklistPrivilege == 1 && this.type == 1 || x.checklistPrivilege == 9 && this.type == 3).map(x => x.role.code))].join('/');\r\n }\r\n return roles;\r\n }\r\n\r\n}\r\n","\r\n
\r\n {{ title }}\r\n \r\n
\r\n
\r\n \r\n {{\r\n signature.user?.initials\r\n }}\r\n \r\n check\r\n \r\n \r\n person_remove\r\n \r\n \r\n person_add\r\n person_add\r\n
\r\n\r\n","import { Component, Input, OnInit, OnDestroy, OnChanges, SimpleChanges, Output, EventEmitter, ViewChild } from '@angular/core';\r\nimport { Annotation, ChecklistTemplate, AnnotationStatus, ChecklistTemplateStatusEnum, TemplateType } from '../../checklists';\r\nimport { ChecklistBuilderReviewSignaturesComponent } from './checklist-builder-review-signatures/checklist-builder-review-signatures.component';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { ProcedureSignatureType } from 'src/app/components/procedure/enums/procedure-signature-type.enum';\r\nimport { ProcedureSignature } from 'src/app/components/procedure/models/procedure-signature.model';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\n\r\n@Component({\r\n selector: 'checklist-builder-review-summary',\r\n templateUrl: './checklist-builder-review-summary.component.html',\r\n styleUrls: ['./checklist-builder-review-summary.component.scss']\r\n})\r\nexport class ChecklistBuilderReviewSummaryComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() templateType!: TemplateType;\r\n\r\n @Output() requestRefresh = new EventEmitter();\r\n @ViewChild(ChecklistBuilderReviewSignaturesComponent) signatures!: ChecklistBuilderReviewSignaturesComponent;\r\n\r\n annotations?: Annotation[];\r\n annotationsFiltered!: Annotation[];\r\n annotations$!: Observable;\r\n annotationsSubs!: Subscription;\r\n\r\n procedure!: Procedure | null;\r\n procedures?: Procedure[];\r\n procedures$!: Observable;\r\n proceduresSubs!: Subscription;\r\n\r\n preparers?: ProcedureSignature[];\r\n reviewers?: ProcedureSignature[];\r\n approvers?: ProcedureSignature[];\r\n\r\n totalAnnotations?: number;\r\n activeAnnotations?: number;\r\n checklistTemplateStatusEnum = ChecklistTemplateStatusEnum;\r\n\r\n constructor(\r\n public _builder: ChecklistBuilderService,\r\n private store: Store\r\n ) {\r\n\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.annotationsSubs?.unsubscribe();\r\n this.proceduresSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadAnnotations();\r\n this.loadProcedure();\r\n }\r\n\r\n loadProcedure() {\r\n this._builder.getProcedure().subscribe(procedure => {\r\n this.procedure = procedure;\r\n });\r\n if (!this.procedure) {\r\n this.loadProcedures();\r\n }\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.proceduresSubs = this.procedures$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data?.length) {\r\n this.procedures = data;\r\n if (this.currentVersion.procedureID) {\r\n this.procedure = this.procedures.find(p => p.id == this.currentVersion.procedureID) as Procedure;\r\n this._builder.setProcedure(this.procedure);\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadAnnotations() {\r\n this.annotations$ = this.store.select(state => state.Annotations.data);\r\n this.annotationsSubs = this.annotations$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data.length) {\r\n this.annotations = data.filter(x => x.checklistTemplateID == this.currentVersion?.id);\r\n this.countAnnotations();\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadAnnotations();\r\n // this.annotations = this.currentVersion?.annotations;\r\n this.countAnnotations();\r\n this.preparers = this.procedure?.procedureSignatures?.filter(x => x.signatureType == ProcedureSignatureType.Preparer);\r\n this.reviewers = this.procedure?.procedureSignatures?.filter(x => x.signatureType == ProcedureSignatureType.Reviewer);\r\n this.approvers = this.procedure?.procedureSignatures?.filter(x => x.signatureType == ProcedureSignatureType.Approver);\r\n this.requestRefresh.emit();\r\n }\r\n\r\n countAnnotations() {\r\n this.totalAnnotations = this.annotations?.length;\r\n this.activeAnnotations = this.annotations?.filter(x => x.status == AnnotationStatus.Active)?.length;\r\n }\r\n\r\n\r\n}\r\n","
\r\n \r\n Loading procedure\r\n
\r\n \r\n
\r\n
\r\n description\r\n
\r\n
\r\n Procedure No.
{{ procedure.procedureNumber }}\r\n
\r\n
\r\n
\r\n Title
{{ procedure.title }}\r\n
\r\n
\r\n Rev
{{ procedure.revision }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n reviews\r\n
\r\n
\r\n \r\n Total Suggestions: {{ totalAnnotations }}\r\n
\r\n Active Suggestions: {{ activeAnnotations }}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n","import { AfterViewInit, Component, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { ChecklistTemplate } from '../../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { WFSectionLocalResource, WFStepLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ChecklistBuilderStepsComponent } from '../../checklist-builder-steps/checklist-builder-steps.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'checklist-builder-section',\r\n templateUrl: './checklist-builder-section.component.html',\r\n styleUrls: ['./checklist-builder-section.component.scss']\r\n})\r\nexport class ChecklistBuilderSectionComponent extends BaseComponent implements OnInit, OnChanges, AfterViewInit {\r\n\r\n @Input() section!: WFSectionLocalResource;\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() disabled!: boolean;\r\n @Input() sectionDropLists!: string[];\r\n @Input() stepDropLists!: string[];\r\n @Input() showDeleted?: boolean;\r\n\r\n @Output() deleted = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n sectionLoading = true;\r\n\r\n @Output() refreshPreviousStep = new EventEmitter();\r\n\r\n @ViewChild(ChecklistBuilderStepsComponent) stepsComponent!: ChecklistBuilderStepsComponent;\r\n editing!: boolean;\r\n\r\n configuration: Configuration = new Configuration();\r\n wfStepLocals?: WFStepLocalResource[];\r\n\r\n showDeletedSteps?: boolean;\r\n deletedStepLocals?: WFStepLocalResource[];\r\n deletedStepLocals$!: Observable;\r\n deletedStepLocalsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _builder: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.sectionLoading = true;\r\n this.disabled = this.disabled || (this.section.logID ?? 0) > 0;\r\n this.configuration = utils.JSONparse(this.section.configuration);\r\n if (!this.configuration) { this.configuration = new Configuration(); }\r\n this.wfStepLocals = this.section.wfStepLocals;\r\n this.loadDeletedSteps();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.sectionLoading = false;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n loadDeletedSteps() {\r\n this.deletedStepLocals$ = this.store.select((state) => state.DeletedWFStepLocals.data);\r\n this.deletedStepLocalsSubs = this.deletedStepLocals$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.deletedStepLocals = data.filter((t) => t.wfSectionLocalID == this.section.id);\r\n if (this.showDeleted && !this.section.logID)\r\n this.wfStepLocals = this.wfStepLocals?.concat(this.deletedStepLocals).sort((a, b) => this.utils.sort(a.order, b.order));\r\n });\r\n }\r\n\r\n edit() {\r\n if (!this.disabled) {\r\n this.editing = true;\r\n }\r\n }\r\n\r\n save() {\r\n this.editing = false;\r\n this._builder.updateSection(this.section).subscribe(data => {\r\n this.section = data;\r\n },\r\n error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n delete() {\r\n if (this.section.wfStepLocals?.length != 0) {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"CB_Delete_Section_Confirmation\")?.description,\r\n icon: \"stop\",\r\n },\r\n });\r\n yesno.afterClosed().subscribe((data: any) => {\r\n if (data) {\r\n this.loading.emit(true);\r\n this._builder.deleteSection(this.section).subscribe(data => {\r\n this.deleted.emit(this.section);\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n this.loading.emit(true);\r\n this._builder.deleteSection(this.section).subscribe(data => {\r\n this.deleted.emit(this.section);\r\n this.loading.emit(true);\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n this.editing = false;\r\n }\r\n\r\n setLoading(e: boolean) {\r\n this.loading.emit(e);\r\n }\r\n\r\n configurationChanged() {\r\n this.section.configuration = utils.JSONstringify(this.configuration);\r\n this.save();\r\n }\r\n\r\n scrollDeletedSteps() {\r\n setTimeout(() => {\r\n const element = document.getElementById('deleted-steps-' + this.section.id);\r\n if (element) {\r\n element.scrollIntoView({\r\n behavior: 'smooth',\r\n block: 'nearest',\r\n inline: 'start',\r\n });\r\n }\r\n }, 500);\r\n }\r\n\r\n duplicate() {\r\n const message =\r\n this.getMessage('ChecklistDuplicateSectionConfirmation').description;\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message,\r\n icon: 'question',\r\n },\r\n });\r\n yesno.afterClosed().subscribe(async (data) => {\r\n this.loading.emit(true);\r\n if (data) {\r\n await this._builder.duplicateSection(this.section.id).toPromise().then(data => {\r\n this.alert.info(\r\n 'Section: ' +\r\n this.section.name +\r\n ' has been Duplicated!.'\r\n );\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n}\r\n\r\nexport class Configuration {\r\n constructor() {\r\n this.duplicate = false;\r\n this.roleIDs = [];\r\n }\r\n duplicate: boolean;\r\n roleIDs: number[];\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n

{{ section.number }}.

\r\n \r\n {{ section.name }}\r\n \r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n Allow Duplicates\r\n \r\n
\r\n
\r\n
\r\n Collapsible Section\r\n Collapsed by default\r\n
\r\n
\r\n \r\n content_copy\r\n \r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n 0\"\r\n [disabled]=\"disabled\"\r\n [currentVersion]=\"currentVersion\"\r\n [showDeleted]=\"showDeleted\"\r\n (loading)=\"loading.emit($event)\"\r\n [sectionDropLists]=\"sectionDropLists\"\r\n [stepDropLists]=\"stepDropLists\"\r\n (refreshPreviousStep)=\"refreshPreviousStep.emit($event)\"\r\n >\r\n
\r\n
\r\n","import { moveItemInArray, CdkDragDrop } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, QueryList, ViewChildren, OnChanges, Output, EventEmitter, Injector, SimpleChanges } from '@angular/core';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\nimport { ChecklistTemplate } from '../../checklists';\r\nimport { ChecklistBuilderSectionComponent } from './checklist-builder-section/checklist-builder-section.component';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { TransactionLogService } from 'src/app/services/logs/transaction-log.service';\r\nimport { ChecklistElement, SelectedElement } from '../checklist-builder-map/checklist-builder-map.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-sections',\r\n templateUrl: './checklist-builder-sections.component.html',\r\n styleUrls: ['./checklist-builder-sections.component.scss']\r\n})\r\nexport class ChecklistBuilderSectionsComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() sections!: WFSectionLocalResource[];\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() wfTableID!: number;\r\n @Input() disabled!: boolean;\r\n @Input() showDeleted?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChildren(ChecklistBuilderSectionComponent) sectionComponents!: QueryList;\r\n sectionComponent?: ChecklistBuilderSectionComponent;\r\n\r\n sectionDropLists: string[] = [];\r\n stepDropLists: string[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: ChecklistBuilderService,\r\n private logService: TransactionLogService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.service.getChecklistTemplate()?.subscribe(data => {\r\n this.sections = data?.wfTable?.wfTableLocal?.wfSectionLocals ?? [];\r\n this.getSections();\r\n });\r\n if (changes['sections']) {\r\n this.getSections();\r\n }\r\n }\r\n\r\n getSections() {\r\n this.sections = [...new Map(\r\n this.sections?.map(section => [section.id, section]) // Using the section `id` as the key to ensure uniqueness\r\n ).values() // Extract the unique values\r\n ].sort((a, b) => (a.order ?? 0) - (b.order ?? 0));\r\n\r\n this.renumberArray().then(() => {\r\n this.updateDropLists();\r\n if (this.sections.length && !this.service.selectedNode?.sectionNode) {\r\n this.sections.map(s => s.expanded = false);\r\n this.service.selectedNode = { sectionNode: { id: this.sections[0].id, type: ChecklistElement.SECTION } } as SelectedElement;\r\n this.sections[0].expanded = true;\r\n }\r\n });\r\n }\r\n\r\n add() {\r\n this.service.createSection(this.wfTableID).subscribe(async data => {\r\n this.sections.push(data);\r\n await this.renumberArray();\r\n this.updateDropLists();\r\n });\r\n }\r\n\r\n async deleted(section: WFSectionLocalResource) {\r\n const index = this.sections.findIndex(x => x.id === section.id);\r\n if (index !== -1) {\r\n this.sections.splice(index, 1);\r\n }\r\n await this.renumberArray();\r\n this.updateDropLists();\r\n }\r\n\r\n async drop(event: CdkDragDrop) {\r\n this.loading.emit(true);\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.sections, event.previousIndex, event.currentIndex);\r\n await this.renumberArray();\r\n this.service.selectedNode = undefined;\r\n }\r\n }\r\n\r\n updateDropLists() {\r\n this.sectionDropLists = this.sections?.map(_ => 'section-' + _.id);\r\n this.sections?.map(s => {\r\n if (s.wfStepLocals)\r\n this.stepDropLists = this.stepDropLists.concat(s.wfStepLocals.map(_ => 'step-' + _.id));\r\n });\r\n }\r\n\r\n async renumberArray() {\r\n let order = 0;\r\n const sectionsToUpdate: WFSectionLocalResource[] = [];\r\n this.sections.filter(s => !s.logID).map(s => {\r\n const number = order + 1;\r\n if (s.order != order || s.number != number) {\r\n s.order = order;\r\n s.number = order + 1;\r\n sectionsToUpdate.push(s);\r\n }\r\n order++;\r\n });\r\n\r\n if (sectionsToUpdate.length)\r\n await this.service.updateSections(sectionsToUpdate).toPromise();\r\n\r\n this.sections = this.sections?.sort((a, b) => ((a.order ?? 0) - (b.order ?? 0)));\r\n }\r\n\r\n refreshPreviousStep(stepID: number) {\r\n this.sectionComponents.map(section => {\r\n const stepComponent = section.stepsComponent.stepComponents.find(s => s.step.id === stepID);\r\n stepComponent?.tasksComponent.refreshTasks();\r\n });\r\n }\r\n\r\n restore(section: WFSectionLocalResource) {\r\n if (section.logID) {\r\n this.loading.emit(true);\r\n this.service.restoreSection(section.logID).toPromise().then(async data => {\r\n if (data) {\r\n await this.renumberArray();\r\n data.order = (data.order ?? 0) - 1;\r\n this.alert.success('Step: ' + data.name + ' has been Restored!.');\r\n this.scrollToSection(data.id);\r\n }\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n\r\n deleteForever(section: WFSectionLocalResource) {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: 'Are you sure you want to Remove this Deleted Section Forever?',\r\n icon: \"stop\",\r\n },\r\n });\r\n yesno.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.loading.emit(true);\r\n if (section.logID)\r\n this.logService.UpdateStatus(section.logID).toPromise().then(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n scrollToSection(sectionID: number) {\r\n setTimeout(() => {\r\n const element = document.getElementById('section-' + sectionID);\r\n if (element) {\r\n element.scrollIntoView({\r\n behavior: 'smooth',\r\n block: 'nearest',\r\n inline: 'start',\r\n });\r\n }\r\n }, 500);\r\n }\r\n\r\n async refreshRestored(section: WFSectionLocalResource) {\r\n this.sections.push(section);\r\n this.sections = this.sections.sort((a, b) => this.utils.sort(a.order, b.order));\r\n await this.renumberArray();\r\n }\r\n\r\n showSection(section: WFSectionLocalResource) {\r\n if (this.service.selectedNode?.sectionNode)\r\n this.service.selectedNode.sectionNode.id = section.id;\r\n else\r\n this.service.selectedNode = { sectionNode: { id: section.id, type: ChecklistElement.SECTION } } as SelectedElement;\r\n\r\n section.expanded = true;\r\n }\r\n\r\n hideSection(section: WFSectionLocalResource) {\r\n if (this.service.selectedNode?.sectionNode?.id == section.id)\r\n this.service.selectedNode = undefined;\r\n section.expanded = false;\r\n }\r\n\r\n sectionLoading(section: WFSectionLocalResource) {\r\n setTimeout(() => {\r\n const sectionComponent = this.sectionComponents?.find(s => s.section.id == section.id);\r\n if (sectionComponent) this.sectionComponent = sectionComponent;\r\n return !sectionComponent || sectionComponent.sectionLoading;\r\n }, 2000);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n reorder\r\n \r\n \r\n {{ section.number + \". \" + section.name }}\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n restore_from_trash\r\n \r\n\r\n \r\n delete_forever\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n add_box Add Section\r\n \r\n\r\n","import { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, ElementRef, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ScheduleSubtype } from 'src/app/components/schedules/models/schedule-subtype';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { TemplateType, TemplateRolePermission } from '../../../checklists';\r\nimport { TemplateTypesUpdate } from '../../../store/template-types/template-types.action';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { ResourceType } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'checklist-builder-settings-general',\r\n templateUrl: './checklist-builder-settings-general.component.html',\r\n styleUrls: ['./checklist-builder-settings-general.component.scss']\r\n})\r\n\r\nexport class ChecklistBuilderSettingsGeneralComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() documentType!: DocumentType;\r\n\r\n @Output() disableClose = new EventEmitter();\r\n @Output() selectTemplateType = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild('roleInput')\r\n roleInput!: ElementRef;\r\n\r\n rtToggle?: boolean;\r\n scToggle?: boolean;\r\n rxToggle?: boolean;\r\n aiToggle?: boolean;\r\n mvToggle?: boolean;\r\n\r\n scToggleHide!: boolean;\r\n scToggleDisabled!: boolean;\r\n rtToggleDisabled!: boolean;\r\n resfToggle!: boolean;\r\n\r\n saving!: boolean;\r\n rtError?: boolean;\r\n scError?: boolean;\r\n rxError?: boolean;\r\n\r\n templateTypes$!: Observable;\r\n templateTypes: TemplateType[] = [];\r\n templateTypesSubs!: Subscription;\r\n\r\n filteredResourceTypes!: ResourceType[];\r\n tmpResourceType!: string;\r\n resourceTypes: ResourceType[] = [];\r\n // resourceTypeCtrl = new FormControl();\r\n resourceTypesFiltered?: ResourceType[];\r\n resourceTypes$!: Observable;\r\n resourceTypesSubs!: Subscription;\r\n\r\n filteredScheduleTypes!: ScheduleType[];\r\n scheduleTypes: ScheduleType[] = [];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n scheduleTypeCtrl = new FormControl();\r\n\r\n filteredScheduleSubtypes!: ScheduleSubtype[];\r\n scheduleSubtypes!: ScheduleSubtype[];\r\n scheduleSubtypes$!: Observable;\r\n scheduleSubtypesSubs!: Subscription;\r\n\r\n roles!: TemplateRolePermission[];\r\n allRoles!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n rolesFiltered!: Role[];\r\n tmpRole!: string | null;\r\n roleCtrl = new FormControl();\r\n\r\n templateTypesExpansions?: Expansion[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _srv: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loading.emit(true);\r\n // this.templateType = changes['templateType'].currentValue;\r\n this.loadTemplateTypes();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadScheduleSubtypes();\r\n this.loadScheduleTypes();\r\n this.loadResourceTypes();\r\n this.loadRoles();\r\n this.loadTemplateTypes();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scheduleTypesSubs?.unsubscribe();\r\n this.scheduleTypesSubs?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.resourceTypesSubs?.unsubscribe();\r\n this.rolesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(x => x.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.templateTypes = data.filter(x => x.documentTypeID == this.documentType.id).sort((a, b) => this.utils.sort(a.order, b.order, true));\r\n\r\n if (!this.templateTypesExpansions) this.templateTypesExpansions = [];\r\n this.templateTypes.map(t => {\r\n const e = this.templateTypesExpansions?.find(e => e.templateType.id == t.id);\r\n if (e) e.templateType = t;\r\n else this.templateTypesExpansions?.push({ templateType: t, expanded: false, rtToggle: t.resourceTypeID != null, scToggle: t.scheduleTypeID != null });\r\n });\r\n this.loading.emit(false);\r\n\r\n });\r\n }\r\n\r\n loadResourceTypes() {\r\n this.resourceTypes$ = this.store.select(state => state.ResourceTypes.data);\r\n this.resourceTypesSubs = this.resourceTypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data?.length) {\r\n this.resourceTypes = data;\r\n this.filteredResourceTypes = data;\r\n // this.resourceTypeCtrl.setValue(this.resourceTypes.find(r => r.id == this.templateType?.resourceTypeID));\r\n // this.validate();\r\n }\r\n });\r\n }\r\n\r\n getResourceTypes(e: Expansion) {\r\n return this.resourceTypes.filter(r => r.id == e.templateType.resourceTypeID);\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data?.length) {\r\n this.allRoles = data;\r\n this.rolesFiltered = data;\r\n }\r\n });\r\n }\r\n\r\n selectedResourceType(t: Expansion, e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value as ResourceType;\r\n t.templateType.resourceTypeID = value.id;\r\n this.update(t.templateType);\r\n }\r\n\r\n changedResource() {\r\n this.filteredResourceTypes = [];\r\n this.filteredResourceTypes = this.resourceTypes.filter(x => x.name.toLowerCase().includes(this.tmpResourceType.toLowerCase()));\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.scheduleTypes = data as ScheduleType[];\r\n this.filteredScheduleTypes = data.filter(x => x.isActive);\r\n // this.scheduleTypeCtrl.setValue(this.scheduleTypes.find(s => s.id == this.templateType?.scheduleTypeID));\r\n // this.validate();\r\n });\r\n }\r\n\r\n loadScheduleSubtypes() {\r\n this.scheduleSubtypes$ = this.store.select(state => state.ScheduleSubtypes.data);\r\n this.scheduleSubtypesSubs = this.scheduleSubtypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.scheduleSubtypes = data as ScheduleSubtype[];\r\n this.filteredScheduleSubtypes = data.filter(x => x.isActive);\r\n // this.scheduleTypeCtrl.setValue(this.scheduleTypes.find(s => s.id == this.templateType?.scheduleTypeID));\r\n });\r\n }\r\n\r\n selectedScheduleType(t: TemplateType, e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value as ScheduleType;\r\n t.scheduleTypeID = value.id;\r\n this.update(t);\r\n }\r\n\r\n scToggleChanged(t: TemplateType, e: any) {\r\n if (!e.checked) {\r\n t.scheduleTypeID = null;\r\n this.scheduleTypeCtrl.setValue(null);\r\n this.update(t);\r\n }\r\n else {\r\n t.resourceType = null;\r\n t.resourceTypeID = null;\r\n this.rtToggle = false;\r\n }\r\n this.validate(t);\r\n }\r\n\r\n rtToggleChanged(t: Expansion, e: any) {\r\n if (!e.checked) {\r\n t.templateType.resourceTypeID = null;\r\n t.templateType.resourceType = null;\r\n // this.resourceTypeCtrl.setValue(null);\r\n this.update(t.templateType);\r\n }\r\n else {\r\n t.templateType.scheduleTypeID = null;\r\n t.scToggle = false;\r\n }\r\n // this.validate();\r\n }\r\n\r\n // rxToggleChanged(e: any) {\r\n // if (this.templateType)\r\n // this.templateType.reviewInExec = e.checked;\r\n // this.update();\r\n // // this.validate();\r\n // }\r\n\r\n // aiToggleChanged(e: any) {\r\n // if (this.templateType)\r\n // this.templateType.allowActionItems = e.checked;\r\n // this.update();\r\n // this.validate();\r\n // }\r\n\r\n // mvToggleChanged(e: any) {\r\n // if (this.templateType)\r\n // this.templateType.allowMultipleVersions = e.checked;\r\n // this.update();\r\n // this.validate();\r\n // }\r\n\r\n update(templateType: TemplateType | null = null) {\r\n this.saving = true;\r\n // if (!templateType && this.templateType) {\r\n // templateType = this.templateType;\r\n // }\r\n if (templateType) {\r\n templateType.checklistTemplates = [];\r\n this._srv.updateTemplateType(templateType).subscribe(data => {\r\n if (data?.id) {\r\n this.store.dispatch(new TemplateTypesUpdate(data.id, data));\r\n }\r\n this.saving = false;\r\n // this.validate();\r\n },\r\n error => {\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n validate(t: TemplateType) {\r\n if (t) {\r\n this.scError = this.scToggle && t?.scheduleTypeID == null;\r\n this.rtError = this.rtToggle && t.resourceTypeID == null;\r\n this.rxError = this.rxToggle && (t.templateRolePermissions == null || t.templateRolePermissions.length == 0);\r\n this.disableClose.emit(this.rtError || this.scError || this.rxError);\r\n }\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n this.saving = true;\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.templateTypes, event.previousIndex, event.currentIndex);\r\n this.renumberArray().then(() => {\r\n this.saving = false;\r\n });\r\n }\r\n }\r\n\r\n renumberArray() {\r\n return new Promise((resolve) => {\r\n let order = 1;\r\n this.templateTypes.map(s => {\r\n s.order = order;\r\n order++;\r\n s.checklistTemplates = [];\r\n this._srv.updateTemplateType(s).subscribe(data => {\r\n resolve(data);\r\n },\r\n error => {\r\n console.log(error);\r\n });\r\n });\r\n });\r\n }\r\n\r\n settings(templateType: TemplateType) {\r\n // this.templateType = templateType;\r\n // this.rtToggle = this.templateType.resourceTypeID != null;\r\n // this.scToggle = this.templateType.scheduleTypeID != null;\r\n // this.rxToggle = this.templateType.reviewInExec;\r\n // this.aiToggle = this.templateType.allowActionItems;\r\n // this.mvToggle = this.templateType.allowMultipleVersions;\r\n this.loadResourceTypes();\r\n this.loadScheduleTypes();\r\n // this.selectTemplateType.emit(this.templateType);\r\n }\r\n\r\n resfToggleChanged() {\r\n this.update();\r\n }\r\n\r\n changeRequired(status: boolean, e: Expansion) {\r\n e.templateType.status = status ? 1 : 0;\r\n this._srv.updateTemplateType(e.templateType).toPromise().then(templateTypeUpdated => {\r\n });\r\n }\r\n\r\n scToggleHideChanged(e: any) {\r\n // if (this.templateType)\r\n // this.templateType.hideCustomSchedules = !e.checked;\r\n // this.update();\r\n }\r\n\r\n filterRevRoles() {\r\n this.rolesFiltered = [];\r\n this.rolesFiltered = this.allRoles?.filter(x => !this.roles.map(a => a.role.id).includes(x.id));\r\n }\r\n\r\n onRoleChange(e: any) {\r\n const text = e.target.value;\r\n this.rolesFiltered = this.allRoles.filter(x => !this.roles?.map(a => a.id).includes(x.id)).filter(x => x.name?.toLowerCase().includes(text.toLowerCase()) || x.code?.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n // selectedRole(e: MatAutocompleteSelectedEvent) {\r\n // this.saving = true;\r\n // const value = e.option.value;\r\n // const templateRolePermission: TemplateRolePermission = {\r\n // id: 0,\r\n // role: value,\r\n // roleID: value.id,\r\n // name: ChecklistPriv[12],\r\n // checklistPrivilege: ChecklistPriv.ReviewChecklist,\r\n // templateTypeID: this.templateType ? this.templateType.id : 0,\r\n // documentTypeID: this.documentType.id,\r\n // status: 1,\r\n // type: this.templateType ? this.templateType.type ?? 0 : 0\r\n // };\r\n // this.roleInput.nativeElement.value = '';\r\n // this._srv.createTemplateRolePersmission(templateRolePermission).subscribe(data => {\r\n // if (!this.roles) { this.roles = []; }\r\n // this.roles.push(data);\r\n // this.tmpRole = null;\r\n // this.filterRevRoles();\r\n // this.saving = false;\r\n // });\r\n // }\r\n\r\n removeRole(templateRolePermission: TemplateRolePermission) {\r\n this.saving = true;\r\n this.roles.splice(this.roles.findIndex(x => x.id == templateRolePermission.id), 1);\r\n this._srv.deleteTemplateRolePermission(templateRolePermission).subscribe(data => {\r\n this.saving = false;\r\n });\r\n }\r\n}\r\n\r\n\r\ninterface Expansion {\r\n templateType: TemplateType;\r\n rtToggle: boolean;\r\n scToggle: boolean;\r\n expanded: boolean;\r\n}\r\n","
\r\n
\r\n \r\n Document Name\r\n \r\n \r\n \r\n Document Description\r\n \r\n \r\n \r\n Document Code\r\n \r\n \r\n
\r\n
\r\n
Template Types
\r\n
\r\n \r\n \r\n \r\n \r\n reorder\r\n \r\n \r\n \r\n {{ e.templateType.name }}\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n Link to Resource\r\n \r\n
\r\n
\r\n \r\n Resource Type\r\n \r\n \r\n \r\n {{ resourceType.name }}\r\n \r\n \r\n Linked Resource Type \r\n \r\n Select Resource Type\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n Use Document Catalog to modify Template Types Details\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, OnDestroy, Injector } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RoleService } from 'src/app/components/catalogs/roles/services/role.service';\r\nimport { TemplateType, TemplateRolePermission, ChecklistPriv } from '../../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-settings-permissions',\r\n templateUrl: './checklist-builder-settings-permissions.component.html',\r\n styleUrls: ['./checklist-builder-settings-permissions.component.scss']\r\n})\r\nexport class ChecklistBuilderSettingsPermissionsComponent extends BaseComponent implements OnChanges, OnInit, OnDestroy {\r\n\r\n @Input() templateType?: TemplateType | null;\r\n @Input() documentType!: DocumentType;\r\n @Output() refresh = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n allRoles!: Role[];\r\n\r\n documentTypes$!: Observable;\r\n documentTypes!: DocumentType[];\r\n\r\n documentTypeExec?: DocumentType;\r\n\r\n addRolePermissions: TemplateRolePermission[] = [];\r\n addRoleCtrl = new FormControl();\r\n addRoles?: Role[];\r\n\r\n apprRolePermissions: TemplateRolePermission[] = [];\r\n apprRoles?: Role[];\r\n apprRoleCtrl = new FormControl();\r\n\r\n chklRolePermissions: TemplateRolePermission[] = [];\r\n chklRoles?: Role[];\r\n chklRoleCtrl = new FormControl();\r\n\r\n sameToggle!: boolean;\r\n templateTypes$!: Observable;\r\n templateTypes: TemplateType[] = [];\r\n\r\n subsTemplateTypes!: Subscription;\r\n subsDocumentTypes!: Subscription;\r\n\r\n saving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _role: RoleService,\r\n private _blds: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.subsDocumentTypes?.unsubscribe();\r\n this.subsTemplateTypes?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loading.emit(true);\r\n this._role.Read().subscribe(data => {\r\n this.allRoles = data;\r\n this.loadTemplateTypes();\r\n this.loadDocumentTypes();\r\n });\r\n this._blds.getTemplateRolePermissionsByDocumentTypeID(this.documentType.id).subscribe(data => {\r\n this.addRolePermissions.push.apply(this.addRolePermissions, data.filter(x => x.checklistPrivilege == ChecklistPriv.Prepare && x.templateTypeID == 0));\r\n this.addRoles = this.addRolePermissions.map(x => x.role);\r\n this.apprRolePermissions.push.apply(this.apprRolePermissions, data.filter(x => x.checklistPrivilege == ChecklistPriv.Approve && x.templateTypeID == 0));\r\n this.apprRoles = this.apprRolePermissions.map(x => x.role);\r\n this.chklRolePermissions.push.apply(this.chklRolePermissions, data.filter(x => x.checklistPrivilege == ChecklistPriv.CreateChecklist && x.templateTypeID == 0));\r\n this.chklRoles = this.chklRolePermissions.map(x => x.role);\r\n // this.sortRoles();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.subsDocumentTypes = this.documentTypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.documentTypes = data;\r\n const documentTypeExec = this.documentTypes.find(x => x.id == this.documentType.type);\r\n if (documentTypeExec) this.documentTypeExec = documentTypeExec;\r\n });\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(x => x.TemplateTypes.data);\r\n this.subsTemplateTypes = this.templateTypes$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.templateTypes = data.filter(x => x.documentTypeID == this.documentType.id).sort((a, b) => utils.sort(a.order, b.order));\r\n this.sameToggle = this.templateTypes[0]?.samePersonCanApprove ?? false;\r\n });\r\n }\r\n\r\n ngOnChanges() {\r\n if (this.templateType?.id) {\r\n this.addRolePermissions = this.templateType.templateRolePermissions?.filter(x => x.checklistPrivilege == 1 && x.templateTypeID == this.templateType?.id) ?? [];\r\n this.apprRoles = this.templateType.templateRolePermissions?.filter(x => x.checklistPrivilege == 9 && x.templateTypeID == this.templateType?.id) ?? [];\r\n this.chklRoles = this.templateType.templateRolePermissions?.filter(x => x.checklistPrivilege == 11 && x.templateTypeID == this.templateType?.id) ?? [];\r\n // this.sortRoles();\r\n this.sameToggle = this.templateType.samePersonCanApprove ?? false;\r\n }\r\n }\r\n\r\n selectedAddRole(e: Role) {\r\n this.saving = true;\r\n const value = e;\r\n const templateRolePermission: TemplateRolePermission = {\r\n id: 0,\r\n role: value,\r\n roleID: value.id,\r\n checklistPrivilege: ChecklistPriv.Prepare,\r\n templateTypeID: this.templateType != undefined ? this.templateType.id : 0,\r\n documentTypeID: this.documentType.id,\r\n status: 1,\r\n type: this.templateType != undefined ? this.templateType.type : 0\r\n };\r\n this._blds.createTemplateRolePersmission(templateRolePermission).subscribe(data => {\r\n this.addRolePermissions.push(data);\r\n this.refresh.emit();\r\n this.saving = false;\r\n });\r\n }\r\n\r\n removeAddRole(role: Role) {\r\n this.saving = true;\r\n const permission = this.addRolePermissions.find(x => x.roleID == role.id);\r\n if (permission)\r\n this._blds.deleteTemplateRolePermission(permission).subscribe(data => {\r\n this.addRolePermissions.splice(this.addRolePermissions.findIndex(x => x.roleID == role.id), 1);\r\n this.refresh.emit();\r\n this.saving = false;\r\n });\r\n }\r\n\r\n selectedApprRole(e: Role) {\r\n this.saving = true;\r\n const value = e;\r\n const templateRolePermission: TemplateRolePermission = {\r\n id: 0,\r\n role: value,\r\n roleID: value.id,\r\n checklistPrivilege: ChecklistPriv.Approve,\r\n templateTypeID: this.templateType != undefined ? this.templateType.id : 0,\r\n documentTypeID: this.documentType.id,\r\n status: 1,\r\n type: this.templateType != undefined ? this.templateType.type : 0\r\n };\r\n this._blds.createTemplateRolePersmission(templateRolePermission).subscribe(data => {\r\n this.apprRolePermissions.push(data);\r\n this.refresh.emit();\r\n this.saving = false;\r\n });\r\n }\r\n\r\n removeApprRole(role: Role) {\r\n this.saving = true;\r\n const permission = this.apprRolePermissions.find(x => x.roleID == role.id);\r\n if (permission)\r\n this._blds.deleteTemplateRolePermission(permission).subscribe(data => {\r\n this.apprRolePermissions.splice(this.apprRolePermissions.findIndex(x => x.roleID == role.id), 1);\r\n this.refresh.emit();\r\n this.saving = false;\r\n });\r\n }\r\n\r\n selectedChklRole(e: Role) {\r\n this.saving = true;\r\n const value = e;\r\n const templateRolePermission: TemplateRolePermission = {\r\n id: 0,\r\n role: value,\r\n roleID: value.id,\r\n checklistPrivilege: ChecklistPriv.CreateChecklist,\r\n templateTypeID: this.templateType != undefined ? this.templateType.id : 0,\r\n documentTypeID: this.documentType.id,\r\n status: 1,\r\n type: this.templateType != undefined ? this.templateType.type : 0\r\n };\r\n this._blds.createTemplateRolePersmission(templateRolePermission).subscribe(data => {\r\n this.chklRolePermissions.push(data);\r\n this.refresh.emit();\r\n this.saving = false;\r\n });\r\n }\r\n\r\n removeChklRole(role: Role) {\r\n this.saving = true;\r\n const permission = this.chklRolePermissions.find(x => x.roleID == role.id);\r\n if (permission)\r\n this._blds.deleteTemplateRolePermission(permission).subscribe(data => {\r\n this.chklRolePermissions.splice(this.chklRolePermissions.findIndex(x => x.roleID == role.id), 1);\r\n this.refresh.emit();\r\n this.saving = false;\r\n });\r\n }\r\n\r\n sameToggleChanged(e: any) {\r\n this.saving = true;\r\n this.templateTypes.map((t, i) => {\r\n t.samePersonCanApprove = e.checked;\r\n t.checklistTemplates = [];\r\n this._blds.updateTemplateType(t).subscribe(data => {\r\n this.templateTypes[this.templateTypes.findIndex(x => x.id == t.id)] = data;\r\n if (i == this.templateTypes.length - 1) {\r\n this.saving = false;\r\n }\r\n });\r\n });\r\n }\r\n\r\n ///////\r\n removable(templateRolePermission: TemplateRolePermission) {\r\n return this.templateType?.id == templateRolePermission.templateTypeID || this.templateType?.id == undefined;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Roles to Create\r\n {{ documentType.description }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Roles to Approve {{ documentType.description }}
\r\n Allow Creator to Approve\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n Roles to Create & Execute\r\n \r\n {{ templateType ? templateType.name : null }}\r\n {{ documentTypeExec?.name }}  Checklist\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { Component, Inject, OnInit, OnDestroy } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Store } from '@ngxs/store';\r\nimport { ChecklistExecStatus } from 'src/app/components/checklists/checklists';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { distinctUntilChanged, Observable } from 'rxjs';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'app-checklist-builder-settings-status',\r\n templateUrl: './checklist-builder-settings-status.component.html',\r\n styleUrls: ['./checklist-builder-settings-status.component.scss']\r\n})\r\nexport class ChecklistBuilderSettingsStatusComponent implements OnInit, OnDestroy {\r\n\r\n\r\n documentType: DocumentType;\r\n status: ChecklistExecStatus;\r\n formStatus: FormStatus | null;\r\n\r\n statusNameCtrl = new FormControl();\r\n statusDescriptionCtrl = new FormControl();\r\n statusCodeCtrl = new FormControl();\r\n\r\n statuses!: FormStatus[];\r\n statusesFiltered!: FormStatus[];\r\n statuses$!: Observable;\r\n statusesSubs!: Subscription;\r\n\r\n form!: FormGroup;\r\n title: string;\r\n disabled!: boolean;\r\n\r\n constructor(\r\n private store: Store,\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.documentType = data.documentType;\r\n this.title = data.title;\r\n this.status = data.status;\r\n this.formStatus = this.status?.formStatus;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.statusesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadStatuses();\r\n this.buildForm();\r\n if (!this.status) {\r\n this.status = { id: 0, documentTypeID: this.documentType.id, status: 1, type: 1 } as ChecklistExecStatus;\r\n }\r\n\r\n this.statusNameCtrl.setValue(this.formStatus);\r\n this.statusDescriptionCtrl.setValue(this.status?.description);\r\n this.statusCodeCtrl.setValue(this.status?.code);\r\n }\r\n\r\n loadStatuses() {\r\n this.statuses$ = this.store.select(state => state.FormStatuses.data);\r\n this.statusesSubs = this.statuses$.pipe(distinctUntilChanged()).subscribe(data => {\r\n this.statuses = data.sort((a, b) => utils.sort(a.name, b.name));\r\n this.statusesFiltered = this.statuses;\r\n });\r\n }\r\n\r\n changedStatus(e: any) {\r\n const status = e.target.value;\r\n this.formStatus = null;\r\n this.statusesFiltered = this.statuses.filter(x => x.name.toLowerCase().includes(status.toLowerCase()));\r\n }\r\n\r\n selectedStatus(e: any) {\r\n this.formStatus = e.option.value;\r\n this.statusDescriptionCtrl.setValue(this.formStatus?.description);\r\n this.statusCodeCtrl.setValue(this.formStatus?.code);\r\n this.statusesFiltered = this.statuses.filter(x => x.id != this.formStatus?.id);\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n statusNameCtrl: this.statusNameCtrl,\r\n statusDescriptionCtrl: this.statusDescriptionCtrl,\r\n statusCodeCtrl: this.statusCodeCtrl,\r\n });\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n save() {\r\n if (this.formStatus?.id && this.formStatus.name) {\r\n this.status.formStatusID = this.formStatus.id;\r\n this.status.name = this.formStatus.name;\r\n this.status.description = this.statusDescriptionCtrl.value;\r\n this.status.code = this.statusCodeCtrl.value;\r\n this.data.status = this.status;\r\n this.dialog.close(this.data);\r\n }\r\n }\r\n\r\n cancel() {\r\n this.form.reset();\r\n this.dialog.close();\r\n }\r\n\r\n formValid() {\r\n if (this.statusesFiltered.length == 0) {\r\n return false;\r\n }\r\n return this.formStatus && !utils.isNullValue(this.statusNameCtrl.value) && !utils.isNullValue(this.statusDescriptionCtrl.value) && !utils.isNullValue(this.statusCodeCtrl.value) && !utils.isNullValue(this.status.cssClass);\r\n }\r\n\r\n selectedColor(e: string) {\r\n this.status.cssClass = e;\r\n this.form.markAsDirty();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{ title }}\r\n
\r\n\r\n
\r\n \r\n Status Type\r\n \r\n \r\n \r\n {{ type.name }}\r\n \r\n \r\n Select a valid Status\r\n \r\n \r\n Name\r\n \r\n \r\n \r\n Acronym\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Cancel\r\n \r\n \r\n save Save\r\n \r\n
\r\n
\r\n
\r\n","import { CdkDragDrop, moveItemInArray } from \"@angular/cdk/drag-drop\";\r\nimport { ChecklistBuilderSettingsStatusComponent } from \"./checklist-builder-settings-status/checklist-builder-settings-status.component\";\r\nimport { distinctUntilChanged, Observable, Subscription } from \"rxjs\";\r\nimport { Component, OnInit, OnChanges, OnDestroy, SimpleChanges, Input, Injector, EventEmitter, Output } from \"@angular/core\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { ChecklistExecStatus } from \"../../../checklists\";\r\nimport { ChecklistBuilderService } from \"../../checklist-builder.service\";\r\nimport { DocumentType } from \"src/app/services/documents/documents\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { DocumentTypeRefresh } from \"src/app/components/catalogs/document-type/store/document-type/document-type.action\";\r\n\r\n@Component({\r\n selector: \"checklist-builder-settings-statuses\",\r\n templateUrl: \"./checklist-builder-settings-statuses.component.html\",\r\n styleUrls: [\"./checklist-builder-settings-statuses.component.scss\"],\r\n})\r\nexport class ChecklistBuilderSettingsStatusesComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() documentType!: DocumentType;\r\n @Output() loading = new EventEmitter();\r\n\r\n statuses!: ChecklistExecStatus[];\r\n\r\n documentTypes!: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypeSubs!: Subscription;\r\n\r\n saving!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _srv: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.documentTypeSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loading.emit(true);\r\n this.statuses = this.documentType?.checklistExecStatuses?.sort((a, b) => this.utils.sort(a.order, b.order)) ?? [];\r\n }\r\n\r\n ngOnInit(): void {\r\n this.documentTypes$ = this.store.select((state) => state.DocumentType.data);\r\n this.documentTypeSubs = this.documentTypes$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.documentTypes = data;\r\n if (this.documentType) {\r\n const documentType = this.documentTypes.find((x) => x.id == this.documentType.id);\r\n if (documentType) this.documentType = documentType;\r\n this.statuses = this.documentType?.checklistExecStatuses?.sort((a, b) => this.utils.sort(a.order, b.order)) ?? [];\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n edit(status: ChecklistExecStatus) {\r\n const confirm = this.dialog.open(ChecklistBuilderSettingsStatusComponent, {\r\n width: \"400px\",\r\n data: {\r\n title: \"Modify Status\",\r\n documentType: this.documentType,\r\n status,\r\n disableClose: true,\r\n autoFocus: false,\r\n },\r\n });\r\n confirm.afterClosed().toPromise().then((data) => {\r\n this._srv.updateChecklistExecStatus(data.status).toPromise().then(() => {\r\n this.alert.message(\"ReviewStatusUpdated\");\r\n this.store.dispatch(new DocumentTypeRefresh());\r\n });\r\n });\r\n }\r\n\r\n delete(status: ChecklistExecStatus) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"ReviewStatusDeleteConfirmation\").description,\r\n icon: \"warn\",\r\n },\r\n });\r\n confirm.afterClosed().toPromise().then((data) => {\r\n if (data) {\r\n this._srv.deleteChecklistExecStatus(status).toPromise().then(() => {\r\n this.alert.message(\"ReviewStatusDeleted\");\r\n this.store.dispatch(new DocumentTypeRefresh());\r\n });\r\n }\r\n });\r\n }\r\n\r\n add() {\r\n const confirm = this.dialog.open(ChecklistBuilderSettingsStatusComponent, {\r\n width: \"400px\",\r\n data: {\r\n title: \"Add Status\",\r\n documentType: this.documentType,\r\n disableClose: true,\r\n autoFocus: false,\r\n },\r\n });\r\n confirm.afterClosed().toPromise().then((data) => {\r\n const status: ChecklistExecStatus = data.status;\r\n status.id = 0;\r\n status.documentTypeID = this.documentType.id;\r\n\r\n this._srv.createChecklistExecStatus(status).toPromise().then((res) => {\r\n if (res) {\r\n this.statuses.push(res);\r\n this.alert.message(\"ReviewStatusCreated\");\r\n this.store.dispatch(new DocumentTypeRefresh());\r\n }\r\n });\r\n });\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n this.saving = true;\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.statuses, event.previousIndex, event.currentIndex);\r\n this.renumberArray().then(() => {\r\n this.saving = false;\r\n });\r\n }\r\n }\r\n\r\n renumberArray() {\r\n return new Promise((resolve) => {\r\n let order = 1;\r\n this.statuses.map((s) => {\r\n s.order = order;\r\n order++;\r\n this._srv.updateChecklistExecStatus(s).subscribe(\r\n (data) => {\r\n resolve(data);\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n });\r\n });\r\n }\r\n\r\n getClass(color: string) {\r\n return color + \"-background\";\r\n }\r\n}\r\n","
\r\n
\r\n

Statuses for Execution of the Checklist.

\r\n

\r\n You should set at least one of these statuses for each Step in you\r\n Checklist Template.\r\n

\r\n

\r\n Use Change Status Component in the Checklist Builder to Change the Status\r\n of the Checklist during the Execution.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n reorder\r\n
\r\n
\r\n {{ s.order }}. {{ s.description }}\r\n {{\r\n s.code\r\n }}\r\n
\r\n
\r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Inject, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { TemplateType } from '../../checklists';\r\nimport { ChecklistBuilderSettingsGeneralComponent } from './checklist-builder-settings-general/checklist-builder-settings-general.component';\r\nimport { Store } from '@ngxs/store';\r\nimport { TemplateTypesRefreshByDocument } from '../../store/template-types/template-types.action';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\n\r\n@Component({\r\n selector: 'checklist-builder-settings',\r\n templateUrl: './checklist-builder-settings.component.html',\r\n styleUrls: ['./checklist-builder-settings.component.scss']\r\n})\r\nexport class ChecklistBuilderSettingsComponent {\r\n\r\n templateType?: TemplateType | null;\r\n documentType: DocumentType;\r\n loading?: boolean;\r\n disabled!: boolean;\r\n\r\n loads?: number[] = [];\r\n\r\n @ViewChild(ChecklistBuilderSettingsGeneralComponent) public checklistSettingsGeneral!: ChecklistBuilderSettingsGeneralComponent;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private store: Store\r\n ) {\r\n // this.templateType = data.templateType;\r\n this.documentType = data.documentType;\r\n }\r\n\r\n refresh() {\r\n if (this.documentType.id)\r\n this.store.dispatch(new TemplateTypesRefreshByDocument(this.documentType.id));\r\n }\r\n\r\n close() {\r\n this.dialogRef.close(this.data);\r\n }\r\n\r\n disableClose(e: boolean) {\r\n this.disabled = e;\r\n }\r\n\r\n selectedTemplateType(e: TemplateType) {\r\n this.templateType = e;\r\n }\r\n\r\n setLoading(val: boolean, origin: number) {\r\n if (val) {\r\n if (!this.loads?.includes(origin))\r\n this.loads?.push(origin);\r\n }\r\n else {\r\n const i = this.loads?.findIndex(x => x == origin) as number;\r\n if (i >= 0)\r\n this.loads?.splice(i, 1);\r\n }\r\n setTimeout(() => {\r\n this.loading = (this.loads?.length ?? 0) > 0;\r\n }, 100);\r\n\r\n }\r\n // back() {\r\n // this.templateType = null;\r\n // }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n Settings for\r\n {{ templateType != undefined ? templateType.description : null }}\r\n {{ documentType.description }}\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n close\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit, EventEmitter, Output, OnDestroy, AfterViewInit } from '@angular/core';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistTemplate, ChecklistExecStatus } from 'src/app/components/checklists/checklists';\r\nimport { WFStepLocalResource, WFStepStatusLocal } from 'src/app/services/work-flow/work-flow';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n@Component({\r\n selector: 'checklist-builder-step-config',\r\n templateUrl: './checklist-builder-step-config.component.html',\r\n styleUrls: ['./checklist-builder-step-config.component.scss']\r\n})\r\nexport class ChecklistBuilderStepConfigComponent implements OnInit, OnDestroy, AfterViewInit {\r\n\r\n @Input() step!: WFStepLocalResource;\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() disabled!: boolean;\r\n @Output() statusChanged = new EventEmitter();\r\n\r\n allStatuses!: ChecklistExecStatus[];\r\n statuses!: (number | undefined)[];\r\n wfStatuses!: WFStepStatusLocal[];\r\n formStatus = FormStatusEnum;\r\n\r\n ngAfterViewInit(): void {\r\n this.checkVisible('#stepConfig', 'visible');\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadStatuses();\r\n }\r\n\r\n ngOnDestroy() {\r\n }\r\n\r\n loadStatuses() {\r\n this.wfStatuses = utils.cloneDeep(this.step.wfStepStatusLocals);\r\n this.allStatuses = utils.cloneDeep(this.currentVersion.documentType?.checklistExecStatuses?.filter(x => x.id != 0).sort((a, b) => utils.sort(a.order, b.order, true))) ?? [];\r\n this.statuses = this.step.wfStepStatusLocals.map(x => x.checklistExecStatus?.id);\r\n this.allStatuses.map(s => {\r\n const wfStatus = this.wfStatuses.find(x => x.status == s.id);\r\n s.enabled = this.statuses.filter(x => x == s.id && !wfStatus?.hidden).length == 1;\r\n s.hidden = this.statuses.filter(x => x == s.id && wfStatus?.hidden).length == 1;\r\n });\r\n }\r\n\r\n accept() {\r\n this.statusChanged.emit(this.wfStatuses);\r\n }\r\n\r\n cancel() {\r\n this.statusChanged.emit(null);\r\n }\r\n\r\n getClass(color: string) {\r\n return color + '-background';\r\n }\r\n\r\n hiddenChange(e: any, status: ChecklistExecStatus) {\r\n let wfStatus = this.wfStatuses.find(x => x.status == status.id);\r\n const s = this.allStatuses.find(x => x.id == status.id);\r\n if (s) {\r\n s.hidden = e.checked;\r\n s.enabled = !e.checked;\r\n }\r\n if (wfStatus) {\r\n wfStatus.hidden = e.checked;\r\n status.enabled = e.checked;\r\n status.hidden = !e.checked;\r\n }\r\n else {\r\n wfStatus = {\r\n id: 0,\r\n wfStepLocalID: this.step.id,\r\n checklistExecStatus: status,\r\n hidden: e.checked,\r\n status: status.id,\r\n cssClass: status.cssClass,\r\n enabled: false\r\n };\r\n this.wfStatuses.push(wfStatus);\r\n }\r\n }\r\n\r\n enabledChange(e: any, status: ChecklistExecStatus) {\r\n let wfStatus = this.wfStatuses.find(x => x.status == status.id);\r\n const s = this.allStatuses.find(x => x.id == status.id);\r\n if (s) {\r\n s.enabled = e.checked;\r\n s.hidden = !e.checked;\r\n }\r\n if (e.checked) {\r\n if (!wfStatus) {\r\n wfStatus = {\r\n id: 0,\r\n wfStepLocalID: this.step.id,\r\n checklistExecStatus: status,\r\n hidden: false,\r\n status: status.id,\r\n cssClass: status.cssClass,\r\n enabled: e.checked\r\n };\r\n this.wfStatuses.push(wfStatus);\r\n }\r\n else {\r\n wfStatus.hidden = false;\r\n }\r\n }\r\n else {\r\n if (wfStatus) {\r\n this.wfStatuses.splice(this.wfStatuses.findIndex(x => x.status == status.id), 1);\r\n const s = this.allStatuses.find(x => x.id == status.id);\r\n if (s) s.hidden = false;\r\n }\r\n // else {\r\n // wfStatus.hidden = true;\r\n // }\r\n }\r\n }\r\n\r\n checkVisible(elm: any, evalType: any) {\r\n evalType = evalType || 'visible';\r\n\r\n const vpH = $(window).height() ?? 0; // Viewport Height\r\n const st = $(window).scrollTop() ?? 0; // Scroll Top\r\n const y = $(elm).offset()?.top ?? 0;\r\n const elementHeight = $(elm).height() ?? 0;\r\n\r\n const visible = ((y + elementHeight) < (vpH + st)) && (y > (st - elementHeight));\r\n if (!visible) {\r\n $(elm).offset({ top: vpH - elementHeight - 50 });\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
Step Status Settings
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Status name
\r\n
Enable
\r\n
Hide
\r\n
\r\n
\r\n
\r\n {{ status.description }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { Component, EventEmitter, Input, Output, ViewChild, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { ChecklistTemplate, ChecklistExecStatus } from '../../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { ChecklistBuilderTasksComponent } from '../../checklist-builder-tasks/checklist-builder-tasks.component';\r\nimport { WFStepLocalResource, WFStepStatusLocal, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Configuration } from '../../checklist-builder-sections/checklist-builder-section/checklist-builder-section.component';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'checklist-builder-step',\r\n templateUrl: './checklist-builder-step.component.html',\r\n styleUrls: ['./checklist-builder-step.component.scss'],\r\n})\r\nexport class ChecklistBuilderStepComponent\r\n extends BaseComponent\r\n implements OnChanges {\r\n @Input() step!: WFStepLocalResource;\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() disabled!: boolean;\r\n @Input() stepDropLists!: string[];\r\n @Input() task!: WfTaskLocalResource;\r\n @Input() showDeleted?: boolean;\r\n @Input() isDeletedSection?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() deleted = new EventEmitter();\r\n @Output() refreshPreviousStep = new EventEmitter();\r\n\r\n @ViewChild(ChecklistBuilderTasksComponent) tasksComponent!: ChecklistBuilderTasksComponent;\r\n\r\n editing!: boolean;\r\n configuration: Configuration = new Configuration();\r\n\r\n enabledOn?: (ChecklistExecStatus | undefined)[];\r\n hiddenOn!: (ChecklistExecStatus | undefined)[];\r\n visibleOn!: (ChecklistExecStatus | undefined)[];\r\n public statusError!: boolean;\r\n\r\n allStatuses!: ChecklistExecStatus[];\r\n displaySettings!: boolean;\r\n showStatus!: boolean;\r\n deletedTasks: WfTaskLocalResource[] = [];\r\n showDeletedTasks?: boolean;\r\n\r\n wfTaskLocals?: WfTaskLocalResource[];\r\n wfTaskLocals$!: Observable;\r\n wfTaskLocalsSubs!: Subscription;\r\n\r\n deletedTaskLocals?: WfTaskLocalResource[];\r\n deletedTaskLocals$!: Observable;\r\n deletedTaskLocalsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _builder: ChecklistBuilderService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['step'])\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n this.loadStatuses();\r\n if (this.step.logID) {\r\n this.wfTaskLocals = this.step.wfTaskLocals;\r\n }\r\n else {\r\n this.wfTaskLocals$ = this.store.select((state) => state.BuilderWFTaskLocals.data);\r\n this.wfTaskLocalsSubs = this.wfTaskLocals$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data?.length) {\r\n this.wfTaskLocals = data.filter((t) => t.wfStepLocalID == this.step.id);\r\n }\r\n this.loadDeletedTasks();\r\n });\r\n }\r\n this.disabled = this.disabled || (this.step.logID ?? 0) > 0;\r\n this.loading.emit(false);\r\n }\r\n\r\n getInfo() {\r\n this.enabledOn = this.step.wfStepStatusLocals.filter((x) => !x.hidden).map((x) => x.checklistExecStatus);\r\n this.hiddenOn = this.step.wfStepStatusLocals.filter((x) => x.hidden).map((x) => x.checklistExecStatus);\r\n this.visibleOn = this.step.wfStepStatusLocals.filter((x) => !x.hidden).map((x) => x.checklistExecStatus);\r\n this.configuration = utils.JSONparse(this.step.configuration);\r\n if (!this.configuration) {\r\n this.configuration = new Configuration();\r\n }\r\n }\r\n\r\n loadStatuses() {\r\n this.statusError = false;\r\n this.allStatuses =\r\n this.currentVersion?.documentType?.checklistExecStatuses ?? [];\r\n this.step.wfStepStatusLocals?.map(s => {\r\n const checklistStatus = this.allStatuses?.find((x) => x.id == s.status);\r\n if (checklistStatus) s.checklistExecStatus = checklistStatus;\r\n s.enabled = !s.hidden;\r\n if (!s.checklistExecStatus) {\r\n this.statusError = true;\r\n }\r\n });\r\n this.getInfo();\r\n }\r\n\r\n loadDeletedTasks() {\r\n this.deletedTaskLocals$ = this.store.select((state) => state.DeletedWFTaskLocals.data);\r\n this.deletedTaskLocalsSubs = this.deletedTaskLocals$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (this.showDeleted && !this.step.logID) {\r\n this.deletedTasks = data.filter((t) => t.wfStepLocalID == this.step.id);\r\n // this.deletedTasks.map((t) => (t.order = (t.order ?? 0) - 1));\r\n if (this.showDeleted)\r\n this.wfTaskLocals = this.wfTaskLocals?.filter(t => !t.logID).concat(this.deletedTasks).sort((a, b) => this.utils.sort(a.order, b.order));\r\n }\r\n });\r\n }\r\n\r\n edit() {\r\n if (!this.disabled) {\r\n this.editing = true;\r\n }\r\n }\r\n\r\n save() {\r\n this.editing = false;\r\n this._builder\r\n .updateStep(this.step)\r\n .toPromise()\r\n .then(\r\n (data) => {\r\n if (data) this.step = data;\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n delete() {\r\n if (this.step.wfTaskLocals.length != 0) {\r\n const message =\r\n (this.deletedTasks.length\r\n ? this.getMessage('CB_Delete_Step_DeletedTasks').description.replace(\r\n '{deletedTasksCount}',\r\n this.deletedTasks.length.toString()\r\n )\r\n : '') + this.getMessage('CB_Delete_Step_Confirmation').description;\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message,\r\n icon: 'stop',\r\n },\r\n });\r\n yesno.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.deleteStep();\r\n }\r\n });\r\n } else {\r\n this.deleteStep();\r\n }\r\n }\r\n\r\n deleteStep() {\r\n this._builder\r\n .deleteStep(this.step)\r\n .toPromise()\r\n .then((data) => {\r\n this.deleted.emit(this.step);\r\n this.alert.info(\r\n 'Step: ' +\r\n this.step.name +\r\n ' has been Deleted!. You may Undo this in Deleted Steps panel.'\r\n );\r\n });\r\n }\r\n\r\n cancel() {\r\n this.editing = false;\r\n }\r\n\r\n settings(show: boolean) {\r\n this.displaySettings = show;\r\n }\r\n\r\n saveStatus(statuses: WFStepStatusLocal[]) {\r\n this.settings(false);\r\n const wfStepStatuses: WFStepStatusLocal[] = [];\r\n if (statuses) {\r\n statuses.map((s) => {\r\n const checklistExecStatus = this.allStatuses.find(\r\n (x) => x.id === s.status\r\n );\r\n if (checklistExecStatus && (s.hidden || s.enabled)) {\r\n s.checklistExecStatus = undefined;\r\n wfStepStatuses.push(s);\r\n }\r\n });\r\n this.step.wfStepStatusLocals = wfStepStatuses;\r\n this._builder\r\n .updateStep(this.step)\r\n .toPromise()\r\n .then((data) => {\r\n if (data) this.step = data;\r\n this.loadStatuses();\r\n });\r\n }\r\n }\r\n\r\n getClass(e?: ChecklistExecStatus) {\r\n return e?.cssClass + '-bg';\r\n }\r\n\r\n showStatusList() {\r\n this.showStatus = !this.showStatus;\r\n }\r\n setLoading(e: boolean) {\r\n this.loading.emit(e);\r\n }\r\n\r\n configurationChanged() {\r\n this.step.configuration = utils.JSONstringify(this.configuration);\r\n this.save();\r\n }\r\n\r\n refreshRestored(wfTaskLocal: WfTaskLocalResource) {\r\n this.step.wfTaskLocals.push(wfTaskLocal);\r\n this.refresh();\r\n }\r\n\r\n scrollDeletedTasks() {\r\n setTimeout(() => {\r\n const element = document.getElementById('deleted-tasks-' + this.step.id);\r\n if (element) {\r\n element.scrollIntoView({\r\n behavior: 'smooth',\r\n block: 'nearest',\r\n inline: 'start',\r\n });\r\n }\r\n }, 500);\r\n }\r\n\r\n duplicate() {\r\n const message =\r\n this.getMessage('ChecklistDuplicateStepConfirmation').description;\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message,\r\n icon: 'question',\r\n },\r\n });\r\n yesno.afterClosed().subscribe(async (data) => {\r\n this.loading.emit(true);\r\n if (data) {\r\n await this._builder.duplicateStep(this.step.id).toPromise().then(data => {\r\n this.alert.info(\r\n 'Step: ' +\r\n this.step.name +\r\n ' has been Duplicated!.'\r\n );\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ step.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Allow Duplicates\r\n \r\n
\r\n
\r\n
\r\n Collapsible Step\r\n Collapsed by default\r\n
\r\n
\r\n
\r\n
\r\n Error: No Status Set \r\n warning\r\n \r\n
\r\n
\r\n Error: Wrong status settings!\r\n warning\r\n \r\n
\r\n
\r\n \r\n lightbulb\r\n {{ item?.code }}\r\n
\r\n \r\n visibility_off\r\n {{ item?.code }}\r\n
\r\n
\r\n
\r\n \r\n settings\r\n \r\n \r\n \r\n \r\n \r\n content_copy\r\n \r\n \r\n delete\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n 0\"\r\n (loading)=\"setLoading($event)\"\r\n (refreshPreviousStep)=\"refreshPreviousStep.emit($event)\"\r\n >\r\n \r\n
\r\n \r\n\r\n","import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, QueryList, ViewChildren, OnChanges, SimpleChanges, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { ChecklistTemplate } from '../../checklists';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\nimport { ChecklistBuilderStepComponent } from './checklist-builder-step/checklist-builder-step.component';\r\nimport { WFStepLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { TransactionLogService } from 'src/app/services/logs/transaction-log.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-steps',\r\n templateUrl: './checklist-builder-steps.component.html',\r\n styleUrls: ['./checklist-builder-steps.component.scss']\r\n})\r\nexport class ChecklistBuilderStepsComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() steps!: WFStepLocalResource[];\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() wfSectionLocalID!: number;\r\n @Input() disabled!: boolean;\r\n @Input() sectionDropLists!: string[];\r\n @Input() stepDropLists!: string[];\r\n @Input() showDeleted?: boolean;\r\n @Input() isDeletedSection?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() refreshPreviousStep = new EventEmitter();\r\n @Output() refreshDeletedSteps = new EventEmitter();\r\n\r\n @ViewChildren(ChecklistBuilderStepComponent) stepComponents!: QueryList;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: ChecklistBuilderService,\r\n private logService: TransactionLogService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.steps = this.steps?.sort((a, b) => a.order - b.order);\r\n }\r\n\r\n add() {\r\n this.service.createStep(this.wfSectionLocalID).subscribe(data => {\r\n this.steps.push(data);\r\n this.renumberArray();\r\n });\r\n }\r\n\r\n deleted(step: WFStepLocalResource) {\r\n this.refreshDeletedSteps.emit();\r\n const index = this.steps.findIndex(x => x.id === step.id);\r\n if (index !== -1) {\r\n this.steps.splice(index, 1);\r\n }\r\n // this.steps.splice(this.steps.findIndex(x => x.id == step.id), 1);\r\n this.renumberArray();\r\n }\r\n\r\n // Drag\r\n drop(event: CdkDragDrop) {\r\n if (event.previousContainer === event.container) {\r\n moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);\r\n this.renumberArray();\r\n } else {\r\n const sectionID = event.container.data[0].wfSectionLocalID;\r\n const step = event.previousContainer.data[event.previousIndex];\r\n step.wfSectionLocalID = sectionID;\r\n transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);\r\n this.renumberArray();\r\n }\r\n }\r\n\r\n async renumberArray() {\r\n let order = 0;\r\n const stepsToUpdate: WFStepLocalResource[] = [];\r\n this.steps.filter(s => !s.logID).map(s => {\r\n if (s.order != order) {\r\n if (s.order != order) {\r\n s.order = order;\r\n stepsToUpdate.push(s);\r\n }\r\n }\r\n order++;\r\n });\r\n\r\n if (stepsToUpdate.length)\r\n await this.service.updateSteps(stepsToUpdate).toPromise();\r\n\r\n this.steps = this.steps.sort((a, b) => a.order - b.order);\r\n }\r\n\r\n setLoading(e: boolean) {\r\n this.loading.emit(e);\r\n }\r\n\r\n restore(step: WFStepLocalResource) {\r\n if (step.logID)\r\n this.service.restoreStep(step.logID).toPromise().then(data => {\r\n if (data) {\r\n data.order = (data.order ?? 0) - 1;\r\n this.steps.push(step);\r\n this.steps = this.steps.sort((a, b) => utils.sort(a.order, b.order));\r\n this.renumberArray();\r\n this.refreshDeletedSteps.emit();\r\n this.alert.success('Step: ' + data.name + ' has been Restored!.');\r\n this.scrollToStep(data.id);\r\n }\r\n });\r\n }\r\n\r\n deleteForever(step: WFStepLocalResource) {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: 'Are you sure you want to Remove this Deleted Step Forever?', // this.getMessage(\"CB_Delete_Step_Confirmation\") .description,\r\n icon: \"stop\",\r\n },\r\n });\r\n yesno.afterClosed().subscribe((data) => {\r\n if (data) {\r\n if (step.logID)\r\n this.logService.UpdateStatus(step.logID).toPromise().then(() => {\r\n this.refreshDeletedSteps.emit();\r\n });\r\n }\r\n });\r\n }\r\n\r\n scrollToStep(stepID: number) {\r\n setTimeout(() => {\r\n const element = document.getElementById('step-' + stepID);\r\n if (element) {\r\n element.scrollIntoView({\r\n behavior: 'smooth',\r\n block: 'nearest',\r\n inline: 'start',\r\n });\r\n }\r\n }, 500);\r\n }\r\n\r\n stepsLoading() {\r\n return this.stepComponents.some(s => s.tasksComponent.tasksLoading());\r\n }\r\n}\r\n","
\r\n \r\n
\r\n 0 || stepComponent.editing\r\n \"\r\n cdkDragAutoScroll=\"true\"\r\n >\r\n
\r\n
\r\n 0\"\r\n color=\"accent\"\r\n style=\"cursor: move\"\r\n >\r\n reorder\r\n \r\n
\r\n \r\n \r\n restore_from_trash\r\n \r\n\r\n \r\n delete_forever\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n add_box Add Step\r\n \r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\n\r\n@Component({\r\n selector: 'checklist-builder-task-more',\r\n templateUrl: './checklist-builder-task-more.component.html',\r\n styleUrls: ['./checklist-builder-task-more.component.scss']\r\n})\r\nexport class ChecklistBuilderTaskMoreComponent {\r\n\r\n @Input() task!: WfTaskLocalResource;\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n Checklist Component Type: {{ task.component?.name }}\r\n
\r\n
\r\n
\r\n Roles:\r\n {{ role.role?.code\r\n }}, \r\n \r\n warning\r\n \r\n
\r\n
\r\n Actions:\r\n {{ action.name\r\n }}\r\n \r\n warning\r\n \r\n
\r\n
\r\n Conditions: {{ task.condition }}\r\n
\r\n
\r\n Tag: {{ task.code }}\r\n
\r\n
\r\n Configuration: {{ task.configuration }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, Output, ViewChild, OnInit, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { Subscription, Observable, distinctUntilChanged } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { WFComponent } from 'src/app/components/workflow/workflow';\r\nimport { ClEditorComponent } from 'src/app/controls/checklist-components/cl-editor/cl-editor.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { ProcedureSignatureType } from 'src/app/components/procedure/enums/procedure-signature-type.enum';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { WfTaskLocalResource, WfSignature, } from 'src/app/services/work-flow/work-flow';\r\nimport {\r\n ChecklistTemplate, ChecklistTemplateStatusEnum,\r\n} from '../../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder.service';\r\nimport { ChecklistBuilderTaskMoreComponent } from './checklist-builder-task-more/checklist-builder-task-more.component';\r\nimport { Action, ComponentType } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistBuilderAnnotationEditComponent } from '../../checklist-builder-annotations/checklist-builder-annotation-edit/checklist-builder-annotation-edit.component';\r\nimport { ChecklistBuilderAnnotationsComponent } from '../../checklist-builder-annotations/checklist-builder-annotations.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-task',\r\n templateUrl: './checklist-builder-task.component.html',\r\n styleUrls: ['./checklist-builder-task.component.scss'],\r\n})\r\nexport class ChecklistBuilderTaskComponent\r\n extends BaseComponent\r\n implements OnInit, OnChanges, OnDestroy {\r\n @Input() task!: WfTaskLocalResource;\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() disabled: boolean = false;\r\n\r\n @Output() deletedTask = new EventEmitter();\r\n @Output() updated = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n @Output() duplicated = new EventEmitter();\r\n\r\n @ViewChild(ChecklistBuilderAnnotationsComponent) public annotations!: ChecklistBuilderAnnotationsComponent;\r\n @ViewChild(ChecklistBuilderTaskMoreComponent) public moreinfo!: ChecklistBuilderTaskMoreComponent;\r\n\r\n editing!: boolean;\r\n tmpName!: string;\r\n\r\n color!: string;\r\n checklistTemplateStatusEnum = ChecklistTemplateStatusEnum;\r\n expanded!: boolean;\r\n errorMessage!: string;\r\n subAppState!: Subscription;\r\n\r\n isRCP!: boolean;\r\n s: WfSignature = {};\r\n\r\n components!: WFComponent[];\r\n components$!: Observable;\r\n componentsSubs!: Subscription;\r\n\r\n taskLoading = true;\r\n\r\n hasAnnotations!: boolean;\r\n\r\n componentsToSwapText = [\r\n ComponentType.BRATOI,\r\n ComponentType.CheckboxAndRadio,\r\n ComponentType.CheckboxAndTextInput,\r\n ComponentType.ScheduleAndCheckbox,\r\n ];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ChecklistBuilderService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.disabled = this.disabled || (this.task.logID ?? 0) > 0;\r\n }\r\n\r\n ngOnInit() {\r\n this.loadComponents();\r\n this.isRCP = this.currentVersion?.documentTypeID == 200;\r\n this.refreshSignature();\r\n }\r\n\r\n loadComponents() {\r\n this.components$ = this.store.select((state) => state.Components.data);\r\n this.componentsSubs = this.components$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data.length) this.components = data;\r\n });\r\n }\r\n\r\n refreshSignature() {\r\n if (this.task && !this.task.component)\r\n this.task.component = this.components.find(\r\n (c) => c.id == this.task.componentID\r\n );\r\n this.getSignature(this.task);\r\n if (this.annotations) {\r\n setTimeout(() => {\r\n this.hasAnnotations = this.annotations?.hasAnnotations;\r\n }, 100);\r\n }\r\n this.taskLoading = false;\r\n }\r\n\r\n getSignature(t: WfTaskLocalResource) {\r\n if (t && t.wfTasks?.length) {\r\n this.s = {\r\n id: t.id,\r\n type: t.componentID,\r\n component: this.components.find((c) => c.id == t.componentID),\r\n number: t.component?.numericHeader\r\n ? (t.name ?? 0 + 1).toString()\r\n : null,\r\n required: t.wfTasks?.[0].required,\r\n name: t.name,\r\n code: t.code,\r\n question: t.name3,\r\n question2: t.name2,\r\n question3: t.name4,\r\n options: this.utils.JSONparse(t.options)\r\n ? this.utils.JSONparse(t.options)\r\n : [],\r\n condition: t.condition,\r\n configuration: t.configuration,\r\n scheduleResourceId: t.scheduleResourceId,\r\n scheduleTypeId: t.scheduleType,\r\n taskId: 0,\r\n order: t.order,\r\n disabled: true,\r\n enabled: true,\r\n stepId: t.wfStepLocalID,\r\n roles: t.wfRoleLocals?.map((x) => x.roleID),\r\n roleCodes: t.wfRoleLocals?.map((x) => x.role?.code).join('/'),\r\n approve:\r\n t.wfActionLocals?.find((x) => x.action == Action.Approve) != null,\r\n approveId: t.wfActionLocals?.find((x) => x.action == Action.Approve)\r\n ?.id,\r\n unapprove:\r\n t.wfActionLocals?.find((x) => x.action == Action.Unapprove) != null,\r\n unapproveId: t.wfActionLocals?.find((x) => x.action == Action.Unapprove)\r\n ?.id,\r\n disapprove:\r\n t.wfActionLocals?.find((x) => x.action == Action.Disapprove) != null,\r\n disapproveId: t.wfActionLocals?.find(\r\n (x) => x.action == Action.Disapprove\r\n )?.id,\r\n invalid: this.hasErrors(),\r\n };\r\n if (this.s?.configuration) {\r\n this.color = JSON.parse(this.s?.configuration).color\r\n ? JSON.parse(this.s?.configuration).color\r\n : 'primary';\r\n }\r\n }\r\n\r\n return this.s;\r\n }\r\n\r\n edit(disabled: boolean) {\r\n const s = this.s;\r\n const editor = this.dialog.open(ClEditorComponent, {\r\n maxHeight: window.innerHeight + 'px',\r\n maxWidth: '100%',\r\n minWidth: '60%',\r\n data: {\r\n s,\r\n formType: this.currentVersion.documentType?.code,\r\n serialNo: this.currentVersion.serialNo,\r\n roles: this.task.wfRoleLocals?.map((x) => x.role),\r\n checklistTemplate: this.currentVersion,\r\n disabled,\r\n },\r\n disableClose: true,\r\n autoFocus: false,\r\n hasBackdrop: true,\r\n });\r\n editor.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.service\r\n .updateWFTaskLocal(data)\r\n .subscribe((data: WfTaskLocalResource) => {\r\n this.task = data;\r\n this.updated.emit(this.task);\r\n });\r\n }\r\n });\r\n }\r\n\r\n duplicate() {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('GenChklistBldr_DuplicateTaskConfimation')\r\n .description,\r\n icon: 'question',\r\n },\r\n });\r\n yesno.afterClosed().subscribe((data) => {\r\n if (data && this.task.id) {\r\n this.service.duplicateTask(this.task.id).subscribe(\r\n (task) => {\r\n task.component = this.components.find(\r\n (c) => c.id == task.componentID\r\n );\r\n this.duplicated.emit(task);\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n delete() {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('GenChklistBldr_DeleteTaskConfimation')\r\n .description,\r\n icon: 'stop',\r\n },\r\n });\r\n yesno.afterClosed().subscribe((data) => {\r\n if (data) {\r\n // this.loading.emit(true);\r\n this.service.deleteTask(this.task).toPromise().then(() => {\r\n this.deletedTask.emit(this.task);\r\n // this.loading.emit(false);\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n ).finally(() => this.loading.emit(false));\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.editing = false;\r\n }\r\n\r\n changeRequired(e: any) {\r\n const required = e.checked;\r\n if (this.task.wfTasks?.length) {\r\n this.task.wfTasks[0].required = required;\r\n this.service.saveRequired(this.task.wfTasks[0]).subscribe((data) => {\r\n this.task = data;\r\n this.updated.emit(this.task);\r\n });\r\n }\r\n }\r\n\r\n change(e: any) {\r\n let configuration = this.utils.JSONparse(this.s.configuration);\r\n if (!configuration) {\r\n configuration = {};\r\n }\r\n const data = this.utils.JSONparse(e).data;\r\n if (data) {\r\n configuration.data = data;\r\n }\r\n const widths = JSON.parse(e).widths;\r\n if (widths) {\r\n configuration.widths = widths;\r\n }\r\n this.s.configuration = JSON.stringify(configuration);\r\n const wf = { s: this.s, roles: this.task.wfRoleLocals };\r\n this.service\r\n .updateWFTaskLocal(wf)\r\n .subscribe((data: WfTaskLocalResource) => {\r\n this.task = data;\r\n this.refreshSignature();\r\n this.updated.emit(this.task);\r\n });\r\n }\r\n\r\n annotate() {\r\n const editor = this.dialog.open(ChecklistBuilderAnnotationEditComponent, {\r\n width: '80vw',\r\n maxHeight: '90vh',\r\n data: {\r\n s: this.s,\r\n task: this.task,\r\n annotation: null,\r\n currentVersion: this.currentVersion,\r\n templateId: this.currentVersion.id,\r\n },\r\n autoFocus: false,\r\n disableClose: true,\r\n hasBackdrop: true,\r\n });\r\n editor.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.task = data;\r\n this.refreshSignature();\r\n }\r\n });\r\n }\r\n\r\n hasErrors() {\r\n const taskError = this.service.hasErrors(\r\n this.task,\r\n this.currentVersion?.documentType?.checklistExecStatuses\r\n );\r\n this.errorMessage = taskError.errors;\r\n return taskError.value;\r\n }\r\n\r\n isReviewer() {\r\n if (this.service.procedure) {\r\n const users = this.service.procedure.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Reviewer && !x.signedOn\r\n );\r\n return users\r\n ?.map((x) => x.userID)\r\n .includes(this.getCurrentUser()?.id ?? 0);\r\n }\r\n return false;\r\n }\r\n\r\n isApprover() {\r\n if (this.service.procedure) {\r\n const users = this.service.procedure.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Approver && !x.signedOn\r\n );\r\n return users\r\n ?.map((x) => x.userID)\r\n .includes(this.getCurrentUser()?.id ?? 0);\r\n }\r\n return false;\r\n }\r\n\r\n isPreparer() {\r\n return this.hasRoles(\r\n this.currentVersion.documentType?.templateRolePermissions?.map(\r\n (x) => x.roleID\r\n )\r\n );\r\n }\r\n\r\n setLoading(e: boolean) {\r\n this.loading.emit(e);\r\n }\r\n\r\n annotationChanged(e: WfTaskLocalResource) {\r\n this.task = e;\r\n this.refreshSignature();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n warning\r\n
\r\n \r\n
\r\n \r\n
\r\n local_offer\r\n
\r\n
\r\n device_hub\r\n
\r\n
\r\n  \r\n
\r\n \r\n \r\n edit\r\n \r\n \r\n content_copy\r\n \r\n \r\n delete\r\n \r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n rate_review\r\n \r\n \r\n expand_more\r\n expand_less\r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CdkDragDrop, moveItemInArray, transferArrayItem, } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, QueryList, ViewChildren, OnChanges, Output, EventEmitter, OnInit, SimpleChanges, Injector } from '@angular/core';\r\nimport { ClEditorComponent } from 'src/app/controls/checklist-components/cl-editor/cl-editor.component';\r\nimport { WfTaskLocalResource, WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistTemplate, ChecklistTemplateStatusEnum } from '../../checklists';\r\nimport { ChecklistBuilderService } from '../checklist-builder.service';\r\nimport { ChecklistBuilderTaskComponent } from './checklist-builder-task/checklist-builder-task.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { TransactionLogService } from 'src/app/services/logs/transaction-log.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'checklist-builder-tasks',\r\n templateUrl: './checklist-builder-tasks.component.html',\r\n styleUrls: ['./checklist-builder-tasks.component.scss'],\r\n})\r\nexport class ChecklistBuilderTasksComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() tasks!: WfTaskLocalResource[];\r\n @Input() currentVersion!: ChecklistTemplate;\r\n @Input() wfStepLocalID!: number;\r\n @Input() disabled!: boolean;\r\n @Input() stepDropLists!: string[];\r\n @Input() showDeleted?: boolean;\r\n @Input() isDeletedStep?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() refreshPreviousStep = new EventEmitter();\r\n\r\n @ViewChildren(ChecklistBuilderTaskComponent)\r\n taskComponents!: QueryList;\r\n checklistTemplateStatusEnum = ChecklistTemplateStatusEnum;\r\n\r\n taskLoading = true;\r\n\r\n util = utils;\r\n constructor(\r\n protected override injector: Injector,\r\n public service: ChecklistBuilderService,\r\n private logService: TransactionLogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void { }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes['tasks']) {\r\n this.tasks = this.tasks.sort((a, b) => utils.sort(a.order, b.order));\r\n this.refreshTasks();\r\n }\r\n }\r\n\r\n add() {\r\n let s: WfSignature = {\r\n name: '[New Name]',\r\n options: [],\r\n roles: [],\r\n required: true,\r\n approve: true,\r\n unapprove: true,\r\n stepId: this.wfStepLocalID,\r\n order: this.tasks.reduce((max, item) => Math.max(max, item.order ?? 0), -Infinity) + 1\r\n };\r\n const editor = this.dialog.open(ClEditorComponent, {\r\n width: '80vw',\r\n data: {\r\n s,\r\n formType: this.currentVersion.documentType?.code,\r\n serialNo: this.currentVersion.serialNo,\r\n roles: s.roles,\r\n checklistTemplate: this.currentVersion,\r\n },\r\n disableClose: true,\r\n autoFocus: false,\r\n hasBackdrop: true,\r\n });\r\n editor.afterClosed().subscribe((data) => {\r\n this.service.createWFTaskLocal(data).subscribe(async (data) => {\r\n if (!this.tasks.map(t => t.id).includes(data.id))\r\n this.tasks.push(data);\r\n await this.refreshTasks();\r\n });\r\n });\r\n }\r\n\r\n async duplicated(task: WfTaskLocalResource) {\r\n this.tasks.push(task);\r\n await this.refreshTasks();\r\n }\r\n\r\n async deleted(task?: WfTaskLocalResource) {\r\n const index = this.tasks.findIndex((x) => x.id === task?.id);\r\n if (index !== -1) {\r\n this.tasks.splice(index, 1);\r\n }\r\n await this.refreshTasks();\r\n this.loading.emit(false);\r\n }\r\n\r\n async refreshTasks(refresh?: boolean) {\r\n await this.renumberArray(refresh);\r\n setTimeout(() => {\r\n this.taskComponents?.map((x) => {\r\n const task = this.tasks.find((t) => t.id == x.task.id);\r\n if (task) x.task = task;\r\n x.refreshSignature();\r\n });\r\n }, 500);\r\n const currentStep = this.currentVersion.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.id == this.tasks?.[0]?.wfStepLocal?.wfSectionLocalID)?.wfStepLocals?.find(s => s.id == this.tasks[0].wfStepLocalID);\r\n if (currentStep)\r\n currentStep.wfTaskLocals = this.tasks;\r\n this.service.setChecklistTemplate(this.currentVersion);\r\n }\r\n\r\n async updateTask(task: WfTaskLocalResource) {\r\n const index = this.tasks.findIndex((x) => x.id == task.id);\r\n if (index >= 0) {\r\n this.tasks[index] = task;\r\n await this.refreshTasks();\r\n }\r\n }\r\n\r\n async renumberArray(refresh?: boolean) {\r\n let number = 0;\r\n let order = 0;\r\n this.tasks = this.tasks.filter((t) => (this.showDeleted ? true : !t.logID));\r\n const unorderedTasks = utils.cloneDeep(this.tasks.filter(t => !t.logID));\r\n this.tasks.filter(t => !t.logID).map((t) => {\r\n if (t.wfTasks?.[0]) {\r\n if (t.component?.numericHeader && !t.logID) {\r\n number = t.wfTasks?.[0].required ? number + 1 : number;\r\n t.name = t.wfTasks?.[0].required ? number.toString() : '';\r\n t.wfTasks[0].name = t.name;\r\n }\r\n t.order = order; // (t.wfTasks?.[0].required) ? order : -1;\r\n t.wfTasks[0].order = t.order;\r\n order++;\r\n }\r\n });\r\n\r\n if (!this.disabled) {\r\n var changedTasks = this.getChanges(unorderedTasks, this.tasks.filter(t => !t.logID));\r\n if (changedTasks.length) {\r\n setTimeout(async () => {\r\n await this.service.saveOrder(changedTasks.filter((t) => !t.logID), refresh).toPromise();\r\n }, 1000);\r\n }\r\n }\r\n }\r\n\r\n getChanges(\r\n unorderedTasks: WfTaskLocalResource[],\r\n orderedTasks: WfTaskLocalResource[]\r\n ) {\r\n const wfTaskLocals: WfTaskLocalResource[] = [];\r\n unorderedTasks.map((t) => {\r\n const orderedTask = orderedTasks.find((x) => x.id == t.id);\r\n if (\r\n orderedTask &&\r\n (orderedTask?.order != t.order || orderedTask?.name != t.name)\r\n )\r\n wfTaskLocals.push(orderedTask);\r\n });\r\n return wfTaskLocals;\r\n }\r\n\r\n async drop(event: CdkDragDrop) {\r\n if (event.previousContainer === event.container) {\r\n moveItemInArray(this.tasks, event.previousIndex, event.currentIndex);\r\n await this.refreshTasks(true);\r\n } else {\r\n const stepID = event.container.data[0].wfStepLocalID;\r\n const task = event.previousContainer.data[event.previousIndex];\r\n const previosStepID = task.wfStepLocalID;\r\n task.wfStepLocalID = stepID;\r\n transferArrayItem(\r\n event.previousContainer.data,\r\n event.container.data,\r\n event.previousIndex,\r\n event.currentIndex\r\n );\r\n await this.refreshTasks(true);\r\n this.refreshPreviousStep.emit(previosStepID);\r\n }\r\n }\r\n\r\n restore(task: WfTaskLocalResource) {\r\n if (task.logID) {\r\n this.loading.emit(true);\r\n this.service.restoreTask(task.logID).toPromise().then((data) => {\r\n if (data?.id) {\r\n data.order = (data.order ?? 0) - 1;\r\n this.scrollToTask(data.id);\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n }\r\n\r\n deleteForever(task: WfTaskLocalResource) {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Are you sure you want to Remove this Deleted Task Forever?', // this.getMessage(\"CB_Delete_Step_Confirmation\") .description,\r\n icon: 'stop',\r\n },\r\n });\r\n yesno.afterClosed().subscribe((data) => {\r\n if (data) {\r\n if (task.logID) {\r\n this.loading.emit(true);\r\n this.logService.UpdateStatus(task.logID).toPromise().then(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n scrollToTask(taskID: number) {\r\n setTimeout(() => {\r\n const element = document.getElementById('task-' + taskID);\r\n if (element) {\r\n element.scrollIntoView({\r\n behavior: 'smooth',\r\n block: 'nearest',\r\n inline: 'start',\r\n });\r\n }\r\n }, 500);\r\n }\r\n\r\n setLoading(e: boolean) {\r\n this.loading.emit(e);\r\n }\r\n\r\n tasksLoading() {\r\n return this.taskComponents.some(t => t.taskLoading);\r\n }\r\n}\r\n","
\r\n \r\n
\r\n 0\"\r\n >\r\n
\r\n \r\n reorder\r\n \r\n\r\n \r\n \r\n restore_from_trash\r\n \r\n\r\n \r\n delete_forever\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n add_boxAdd Task\r\n \r\n\r\n","import { Component, OnInit, OnDestroy, ViewChild, ElementRef, HostListener, Injector, AfterViewInit, } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Subscription, Observable, distinctUntilChanged } from 'rxjs';\r\nimport { CancelDialogComponent } from 'src/app/controls/cancel-dialog/cancel-dialog.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { CommentResource } from 'src/app/controls/comments-and-attachments/services/comment';\r\nimport { ProcedureSignatureType } from 'src/app/components/procedure/enums/procedure-signature-type.enum';\r\nimport { ProcedureSignature } from 'src/app/components/procedure/models/procedure-signature.model';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { ProcedureService } from 'src/app/components/procedure/services/procedure.service';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { WFSectionLocalResource, } from 'src/app/services/work-flow/work-flow';\r\nimport { ProcedureUpdate } from '../../procedure/store/procedure/procedure.action';\r\nimport { Schedule } from '../../schedules/models/schedule';\r\nimport { ScheduleSubtype } from '../../schedules/models/schedule-subtype';\r\nimport { ScheduleType } from '../../schedules/models/schedule-type';\r\nimport { TemplateRolePermission, TemplateType, ChecklistTemplate, ChecklistTemplateStatus, ChecklistTemplateStatusEnum, ChecklistPriv, } from '../checklists';\r\nimport { TemplateTypesRefreshByDocument, TemplateTypesUpdate, } from '../store/template-types/template-types.action';\r\nimport { ChecklistBuilderDuplicateComponent } from './checklist-builder-duplicate/checklist-builder-duplicate.component';\r\nimport { ChecklistBuilderPlaceholdersComponent } from './checklist-builder-placeholders/checklist-builder-placeholders.component';\r\nimport { ChecklistBuilderService } from './checklist-builder.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport moment from 'moment';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { ChecklistBuilderListComponent } from './checklist-builder-list/checklist-builder-list.component';\r\nimport { ChecklistBuilderReviewSummaryComponent } from './checklist-builder-review-summary/checklist-builder-review-summary.component';\r\nimport { ChecklistBuilderSectionsComponent } from './checklist-builder-sections/checklist-builder-sections.component';\r\nimport { RejectDialogComponent } from 'src/app/controls/reject-dialog/reject-dialog.component';\r\nimport { ChecklistBuilderSettingsComponent } from './checklist-builder-settings/checklist-builder-settings.component';\r\nimport { ChecklistTemplatesStoreAndListenersService } from '../store/checklist-templates/checklist-templates.store';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\nimport { MessageTypeEnum } from '../../messages/services/message-banner.enums';\r\nimport { ChecklistBuilderMapComponent, ChecklistElement, SelectedElement } from './checklist-builder-map/checklist-builder-map.component';\r\nimport { DeletedTasksRefresh } from '../store/deleted-tasks/deleted-task.action';\r\nimport { DeletedStepsRefresh } from '../store/deleted-steps/deleted-step.action';\r\nimport { DeletedSectionsRefresh } from '../store/deleted-sections/deleted-section.action';\r\nimport { BuilderTasksUpdateAll } from '../store/builder-tasks/builder-task.action';\r\n\r\n@Component({\r\n selector: 'checklist-builder',\r\n templateUrl: './checklist-builder.component.html',\r\n styleUrls: ['./checklist-builder.component.scss'],\r\n})\r\nexport class ChecklistBuilderComponent\r\n extends BaseComponent\r\n implements OnInit, OnDestroy {\r\n @ViewChild('sidenav') sidenav!: MatSidenav;\r\n @ViewChild('headerTop') headerTop!: ElementRef;\r\n @ViewChild('scrollableContainer') scrollableContainer!: ElementRef;\r\n\r\n loading: boolean = false;\r\n\r\n documentTypeId!: number;\r\n documentType?: DocumentType;\r\n documentTypes!: DocumentType[];\r\n documentTypes$!: Observable;\r\n\r\n currentSchedule?: Schedule | null;\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n filteredSchedules!: Schedule[];\r\n scheduleCtrl = new FormControl();\r\n\r\n documentRolePermissions!: TemplateRolePermission[];\r\n\r\n currentTemplateType?: TemplateType | null;\r\n templateTypes$!: Observable;\r\n templateTypes!: TemplateType[];\r\n filteredTemplateTypes!: TemplateType[];\r\n typeCtrl = new FormControl();\r\n\r\n currentResource?: Resource | null;\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n filteredResources!: Resource[];\r\n resourceCtrl = new FormControl();\r\n\r\n currentVersion?: ChecklistTemplate | null;\r\n activeVersion?: ChecklistTemplate | null;\r\n versions?: ChecklistTemplate[];\r\n filteredVersions?: ChecklistTemplate[];\r\n versionCtrl = new FormControl();\r\n\r\n sections?: WFSectionLocalResource[];\r\n deletedSections?: WFSectionLocalResource[];\r\n showDeleted?: boolean;\r\n\r\n checklistTemplateStatuses!: ChecklistTemplateStatus[];\r\n filteredChecklistTemplateStatuses!: ChecklistTemplateStatus[];\r\n checklistTemplateStatusEnum = ChecklistTemplateStatusEnum;\r\n checklistTemplateStatuses$!: Observable;\r\n checklistTemplateStatusesSubs!: Subscription;\r\n\r\n documentTypesSubs!: Subscription;\r\n templateTypesSubs!: Subscription;\r\n schedulesSubs!: Subscription;\r\n\r\n // procedure?: Procedure | null;\r\n procedurePreparerSignature?: ProcedureSignature;\r\n procedureReviewerSignature?: ProcedureSignature;\r\n procedureApproverSignature?: ProcedureSignature;\r\n\r\n isPreparer!: boolean;\r\n isReviewer!: boolean;\r\n isApprover!: boolean;\r\n\r\n scheduleTypes!: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n scheduleSubtypes!: ScheduleSubtype[];\r\n scheduleSubtypes$!: Observable;\r\n scheduleSubtypeSubs!: Subscription;\r\n\r\n // checklistTemplates?: ChecklistTemplate[];\r\n filteredChecklistTemplates?: ChecklistTemplate[];\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n deletedSectionLocals?: WFSectionLocalResource[];\r\n deletedSectionLocals$!: Observable;\r\n deletedSectionLocalsSubs!: Subscription;\r\n\r\n nameCtrl = new FormControl();\r\n filteredOther?: ChecklistTemplate[];\r\n\r\n errorMessages?: StepError[];\r\n private sub: any;\r\n messageType = MessageTypeEnum;\r\n\r\n createEnabled = false;\r\n @ViewChild(ChecklistBuilderReviewSummaryComponent) reviewSummary!: ChecklistBuilderReviewSummaryComponent;\r\n @ViewChild(ChecklistBuilderSectionsComponent) sectionsComponent!: ChecklistBuilderSectionsComponent;\r\n @ViewChild(ChecklistBuilderListComponent) checklistBuilderList!: ChecklistBuilderListComponent;\r\n @ViewChild(ChecklistBuilderMapComponent) templateMap?: ChecklistBuilderMapComponent;\r\n @ViewChild(ChecklistBuilderMapComponent) checklistBuilderMap?: ChecklistBuilderMapComponent;\r\n\r\n headerOnTop!: boolean;\r\n message = { type: 0, text: '', cssClass: '' };\r\n\r\n statusChanged?: boolean;\r\n hideNavLists = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private route: ActivatedRoute,\r\n public service: ChecklistBuilderService,\r\n private _procedure: ProcedureService,\r\n private placeholdersService: PlaceholdersService,\r\n private checklisttemplatesStore: ChecklistTemplatesStoreAndListenersService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n @HostListener('document:mousemove', ['$event'])\r\n onMouseMove(event: MouseEvent) {\r\n this.service.pointerY = event.clientY;\r\n }\r\n\r\n ngOnInit() {\r\n this.setLoading({ val: true, origin: '149' });\r\n this.loadStatuses(true);\r\n this.service.loadProcedures();\r\n this.service.loadScheduleTypes();\r\n this.service.loadScheduleSubtypes();\r\n\r\n this.placeholdersService.loadPlaceholders();\r\n this.placeholdersService.clearkeyValues();\r\n this.loadUsers();\r\n this.sub = this.route.params.subscribe((params) => {\r\n const docType = +params['type'];\r\n if (this.documentTypeId != docType) {\r\n this.service.selectedNode = undefined;\r\n if (this.checklistBuilderMap)\r\n this.checklistBuilderMap.dataSource.data = [];\r\n if (this.documentTypeId != null) {\r\n this.clear();\r\n }\r\n this.setLoading({ val: true, origin: '162' });\r\n this.service.setProcedure(null);\r\n this.setPrivs();\r\n this.documentTypeId = docType;\r\n this.getPermissions();\r\n this.documentTypes$ = this.store.select(\r\n (state) => state.DocumentType.data\r\n );\r\n this.documentTypesSubs = this.documentTypes$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data.length) {\r\n this.documentTypes = data;\r\n this.documentType = this.documentTypes.find(\r\n (x) => x.id == this.documentTypeId\r\n );\r\n\r\n this.checklisttemplatesStore.initStore(this.documentTypeId);\r\n\r\n this.loadTemplateTypes();\r\n this.loadSchedules();\r\n this.loadScheduleTypes();\r\n this.loadScheduleSubtypes();\r\n this.loadChecklistTemplates();\r\n this.loadProcedure();\r\n\r\n if (this.currentTemplateType?.resourceTypeID) {\r\n this.loadResources().then(() => {\r\n this.loadVersions();\r\n });\r\n } else {\r\n this.loadVersions();\r\n }\r\n this.versionCtrl.disable();\r\n this.setLoading({ val: false, origin: '197' });\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n loadProcedure() {\r\n this.service.getProcedure().subscribe((procedure) => {\r\n // this.procedure = procedure;\r\n this.procedurePreparerSignature = procedure?.procedureSignatures?.find((x) => x.userID == this.getCurrentUser()?.id && x.signatureType == ProcedureSignatureType.Preparer);\r\n this.procedureReviewerSignature = procedure?.procedureSignatures?.find((x) => x.userID == this.getCurrentUser()?.id && x.signatureType == ProcedureSignatureType.Reviewer);\r\n this.procedureApproverSignature = procedure?.procedureSignatures?.find((x) => x.userID == this.getCurrentUser()?.id && x.signatureType == ProcedureSignatureType.Approver);\r\n });\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select((state) => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.service.checklistTemplates = this.service.setResources(data, this.templateTypes, this.schedules);\r\n if (this.currentVersion && !this.isAnyDialogOpen()) {\r\n const currentVersion = this.service.checklistTemplates?.find((x) => x.id == this.currentVersion?.id);\r\n this.service.setChecklistTemplate(currentVersion);\r\n if (currentVersion && !this.isEquivalent(currentVersion, this.currentVersion)) {\r\n this.rowSelected(currentVersion);\r\n }\r\n } else {\r\n this.filteredChecklistTemplates = data;\r\n this.setLoading({ val: false, origin: '240' });\r\n }\r\n });\r\n }\r\n\r\n isEquivalent(version1: ChecklistTemplate, version2: ChecklistTemplate) {\r\n var obj1 = this.utils.cloneDeep(version1) as ChecklistTemplate;\r\n var obj2 = this.utils.cloneDeep(version2) as ChecklistTemplate;\r\n\r\n if (obj1.wfTableID != obj2.wfTableID) return false;\r\n if (obj1.wfTable && !obj2.wfTable || !obj1.wfTable && obj2.wfTable) return false;\r\n\r\n if (obj1.wfTable && obj2.wfTable && !this.utils.isEquivalent(obj1.wfTable, obj2.wfTable)) return false;\r\n if (obj1.templateTypeID != obj2.templateTypeID) return false;\r\n if (obj1.documentTypeID != obj2.documentTypeID) return false;\r\n\r\n obj1 = this.utils.Serialize(obj1);\r\n obj2 = this.utils.Serialize(obj2);\r\n return this.utils.isEquivalent(obj1, obj2);\r\n }\r\n\r\n async loadTemplateFromRoute() {\r\n const id = this.route.snapshot.queryParams['id'];\r\n if (id) {\r\n const checklistTemplate = this.service.checklistTemplates?.find(\r\n (x) => x.id == +id\r\n );\r\n if (checklistTemplate) {\r\n this.rowSelected(checklistTemplate);\r\n }\r\n }\r\n }\r\n\r\n rowSelectedFromList(row?: ChecklistTemplate | null) {\r\n this.statusChanged = false;\r\n this.rowSelected(row);\r\n }\r\n\r\n rowSelected(row?: ChecklistTemplate | null) {\r\n this.currentVersion = row;\r\n if (this.currentVersion && !this.statusChanged) {\r\n this.sections = [];\r\n this.setLoading({ val: true, origin: 'rowSelected' });\r\n\r\n if (this.checklistBuilderMap)\r\n this.checklistBuilderMap.dataSource.data = [];\r\n\r\n this.currentTemplateType = this.templateTypes.find((x) => x.id == this.currentVersion?.templateTypeID);\r\n this.service.currentTemplateType = this.currentTemplateType;\r\n\r\n this.loadSchedules();\r\n this.getChecklistTemplate();\r\n this.service.setProcedure(this.currentVersion.procedure ?? null);\r\n this.currentResource = this.currentVersion.resource;\r\n\r\n if (this.currentResource) {\r\n this.loadResources().then(async () => {\r\n this.resourceCtrl.setValue(this.currentResource);\r\n await this.placeholdersService.setKeyValuePairs(this.currentResource, true);\r\n });\r\n }\r\n\r\n // Refresh deleted Items\r\n if (this.currentVersion) {\r\n this.store.dispatch(new DeletedTasksRefresh(this.currentVersion.id));\r\n this.store.dispatch(new DeletedStepsRefresh(this.currentVersion.id));\r\n this.store.dispatch(new DeletedSectionsRefresh(this.currentVersion.id));\r\n }\r\n }\r\n this.statusChanged = false;\r\n }\r\n\r\n getChecklistTemplate() {\r\n this.service.getchecklistTemplateById(this.currentVersion?.id ?? 0).toPromise().then((data) => {\r\n if (data && this.currentVersion) {\r\n this.currentVersion = data;\r\n\r\n this.currentVersion.updatedByName = this.getUsers().find((x) => x.id == this.currentVersion?.updatedBy)?.name;\r\n this.currentVersion.createdByName = this.getUsers().find((x) => x.id == this.currentVersion?.createdBy)?.name;\r\n if (this.currentTemplateType && !this.currentTemplateType?.checklistTemplates?.length) {\r\n this.currentTemplateType.checklistTemplates = [];\r\n }\r\n const index =\r\n this.currentTemplateType?.checklistTemplates?.findIndex((x) => x.id == this.currentVersion?.id);\r\n if ((index ?? -1) >= 0) {\r\n this.currentTemplateType?.checklistTemplates?.splice(index ?? -1, 1);\r\n }\r\n this.currentTemplateType?.checklistTemplates?.push(this.currentVersion);\r\n if (this.currentVersion.templateType?.checklistTemplates)\r\n this.currentVersion.templateType.checklistTemplates = [];\r\n this.getMoreInfo();\r\n }\r\n });\r\n }\r\n\r\n getMoreInfo() {\r\n this.setSchedule();\r\n\r\n this.service.setChecklistTemplate(this.currentVersion);\r\n this.service.setProcedure(this.currentVersion?.procedure ?? null);\r\n this.setPrivs();\r\n this.getSections();\r\n\r\n this.resourceCtrl.setValue(this.currentResource);\r\n this.nameCtrl.setValue(this.currentVersion);\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n\r\n this.filterCustomNameTemplates();\r\n this.loadVersions(this.currentVersion);\r\n this.setLoadingFalse();\r\n }\r\n\r\n setSchedule() {\r\n if (!this.currentVersion?.schedule)\r\n this.currentSchedule = this.filteredSchedules?.find(s => s.id == this.currentVersion?.schedule?.id);\r\n else {\r\n this.currentSchedule = this.currentVersion.schedule;\r\n if (!this.currentSchedule.name) this.currentSchedule.name = this.currentSchedule.scheduleResources.some(x => x.resource) ? this.currentSchedule.scheduleResources.map(x => x.resource?.name).join(',') : this.currentSchedule.scheduleResources?.[0]?.resourceString;\r\n if (this.filteredSchedules?.length && !this.filteredSchedules?.find(s => s.id == this.currentVersion?.schedule?.id)) {\r\n this.filteredSchedules.push(this.currentSchedule);\r\n this.filteredSchedules.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n };\r\n };\r\n this.service.currentSchedule = this.currentSchedule;\r\n this.scheduleCtrl.setValue(this.currentSchedule);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.documentTypesSubs?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.schedulesSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n this.scheduleTypesSubs?.unsubscribe();\r\n this.scheduleSubtypeSubs?.unsubscribe();\r\n this.checklistTemplateStatusesSubs?.unsubscribe();\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n this.service.setProcedure(null);\r\n super.ngOnDestroy();\r\n }\r\n\r\n async clear() {\r\n this.errorMessages = [];\r\n this.currentSchedule = null;\r\n this.scheduleCtrl.setValue(null);\r\n this.nameCtrl.setValue(null);\r\n this.currentTemplateType = null;\r\n this.typeCtrl.setValue(null);\r\n this.currentResource = null;\r\n this.resourceCtrl.setValue(null);\r\n await this.placeholdersService.setKeyValuePairs(null, true);\r\n this.currentVersion = null;\r\n this.versionCtrl.setValue(null);\r\n this.filteredChecklistTemplates = [];\r\n this.service.currentSchedule = this.currentSchedule;\r\n this.service.currentTemplateType = null;\r\n this.service.documentRolePermissions = [];\r\n this.service.setProcedure(null);\r\n this.versions = [];\r\n this.filteredVersions = [];\r\n this.service.setProcedure(null);\r\n this.filterChecklistTemplates();\r\n }\r\n\r\n loadStatuses(renew: boolean = false) {\r\n this.checklistTemplateStatuses$ = this.store.select(\r\n (state) => state.ChecklistTemplateStatuses.data\r\n );\r\n this.checklistTemplateStatusesSubs =\r\n this.checklistTemplateStatuses$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data?.length) {\r\n this.checklistTemplateStatuses = data;\r\n this.checklistTemplateStatuses = data.sort(\r\n (a, b) => a.order - b.order\r\n );\r\n this.checklistTemplateStatuses.map(\r\n (s) =>\r\n (s.selected =\r\n s.statusEnum != this.checklistTemplateStatusEnum.Archived)\r\n );\r\n this.service.checklistTemplateStatuses =\r\n this.checklistTemplateStatuses;\r\n }\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(\r\n (state) => state.ScheduleTypes.data\r\n );\r\n this.scheduleTypesSubs = this.scheduleTypes$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.scheduleTypes = data;\r\n });\r\n }\r\n\r\n loadScheduleSubtypes() {\r\n this.scheduleSubtypes$ = this.store.select(\r\n (state) => state.ScheduleSubtypes.data\r\n );\r\n this.scheduleSubtypeSubs = this.scheduleSubtypes$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.scheduleSubtypes = data;\r\n });\r\n }\r\n\r\n create() {\r\n if (!this.createEnable()) return;\r\n this.setLoading({ val: true, origin: '332' });\r\n const name = typeof this.nameCtrl?.value == 'string' ? this.nameCtrl.value : this.nameCtrl?.value?.name;\r\n const checklistTemplate = this.service.getNewChecklistTemplate(\r\n this.documentType,\r\n this.currentTemplateType,\r\n this.currentSchedule,\r\n this.currentResource,\r\n this.service.procedure,\r\n name\r\n );\r\n this.service.createChecklistTemplate(checklistTemplate).subscribe(\r\n async (data) => {\r\n this.service.checklistTemplates = await this.service.setResources(this.service.checklistTemplates, this.templateTypes, this.schedules);\r\n this.currentVersion = data;\r\n this.service.setProcedure(this.currentVersion?.procedure ?? null);\r\n this.loadVersions();\r\n this.versionCtrl.setValue(data);\r\n this.rowSelected(data);\r\n this.scheduleCtrl.setValue(data.schedule);\r\n this.setLoading({ val: false, origin: '351' });\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.setLoading({ val: false, origin: '464' });\r\n }\r\n );\r\n }\r\n\r\n updateTemplateTypes() {\r\n this.filterTemplateTypes();\r\n // this.checklistTemplates = this.currentTemplateType?.checklistTemplates;\r\n if (this.service.checklistTemplates && this.currentVersion) {\r\n const index =\r\n this.service.checklistTemplates?.findIndex(\r\n (x) => x.id == this.currentVersion?.id\r\n ) ?? -1;\r\n if (index >= 0) {\r\n this.service.checklistTemplates[index] = this.currentVersion;\r\n } else {\r\n this.service.checklistTemplates.push(this.currentVersion);\r\n }\r\n this.checklistBuilderList?.init();\r\n this.currentTemplateType = this.currentVersion.templateType;\r\n if (this.currentTemplateType) {\r\n this.currentTemplateType.checklistTemplates = this.service.checklistTemplates;\r\n this.service.currentTemplateType = this.currentTemplateType;\r\n this.store.dispatch(\r\n new TemplateTypesUpdate(\r\n this.currentTemplateType.id ?? 0,\r\n this.currentTemplateType\r\n )\r\n );\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n this.loadVersions(this.currentVersion);\r\n }\r\n }\r\n }\r\n\r\n delete() {\r\n const cancel = this.dialog.open(CancelDialogComponent, {\r\n width: '600px',\r\n data: {},\r\n });\r\n cancel.afterClosed().subscribe((data) => {\r\n if (data.accept && this.currentVersion) {\r\n this.setLoading({ val: true, origin: '388' });\r\n this.service\r\n .deleteChecklistTemplate(this.currentVersion, data.text)\r\n .subscribe(() => {\r\n this.clear();\r\n this.filterChecklistTemplates();\r\n this.setLoading({ val: false, origin: '392' });\r\n });\r\n }\r\n });\r\n }\r\n\r\n filterChecklistTemplates() {\r\n this.filteredChecklistTemplates = this.service.checklistTemplates;\r\n let resourceID = 0;\r\n if (this.currentTemplateType) {\r\n this.filteredChecklistTemplates = this.service.checklistTemplates?.filter(t => t.templateTypeID == this.currentTemplateType?.id);\r\n }\r\n if (this.currentSchedule) {\r\n resourceID =\r\n this.currentSchedule.scheduleResources.find((x) => x.resourceId)\r\n ?.resourceId ?? 0;\r\n }\r\n if (this.currentResource) {\r\n resourceID = this.currentResource.id;\r\n }\r\n if (resourceID)\r\n this.filteredChecklistTemplates = this.filteredChecklistTemplates?.filter(t =>\r\n t.resourceString == this.currentSchedule?.scheduleResources[0]?.resourceString ||\r\n t.resourceID == resourceID);\r\n }\r\n\r\n // TemplateTypes\r\n\r\n loadTemplateTypes() {\r\n this.setLoading({ val: true, origin: '417' });\r\n\r\n this.templateTypes$ = this.store.select((x) => x.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data.length) {\r\n this.templateTypes = data.filter((x) => x.documentTypeID === this.documentTypeId && x.status === 1).sort((a, b) => this.utils.sort(a.order, b.order, true));\r\n this.filterTemplateTypes();\r\n this.templateTypes.map(t => t.checklistTemplates = []);\r\n if (this.currentTemplateType) {\r\n this.currentTemplateType = this.filteredTemplateTypes.find((x) => x.id == this.currentTemplateType?.id);\r\n this.service.currentTemplateType = this.currentTemplateType;\r\n }\r\n this.filterChecklistTemplates();\r\n if (this.currentTemplateType?.scheduleTypeID) this.loadSchedules();\r\n if (this.currentVersion) {\r\n const version = this.service.checklistTemplates?.find((x) => x.id == this.currentVersion?.id);\r\n this.currentVersion = version;\r\n } else {\r\n this.loadTemplateFromRoute();\r\n }\r\n this.setLoadingFalse();\r\n }\r\n });\r\n }\r\n\r\n changedType() {\r\n this.filterTemplateTypes();\r\n this.filteredTemplateTypes = this.filteredTemplateTypes.filter((x) =>\r\n x.name?.toLowerCase().includes(this.typeCtrl.value.toLowerCase())\r\n );\r\n }\r\n\r\n selectedType(e: MatAutocompleteSelectedEvent) {\r\n this.clear();\r\n const value = e.option.value;\r\n this.currentTemplateType = value;\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n this.service.currentTemplateType = this.currentTemplateType;\r\n this.filterChecklistTemplates();\r\n\r\n this.setPrivs();\r\n if (\r\n this.currentTemplateType?.resourceTypeID &&\r\n !this.currentTemplateType.scheduleTypeID\r\n ) {\r\n this.loadResources().then(() => {\r\n this.loadVersions();\r\n });\r\n } else if (this.currentTemplateType?.scheduleTypeID) {\r\n this.loadSchedules();\r\n this.loadVersions();\r\n } else {\r\n this.loadVersions();\r\n }\r\n this.filterCustomNameTemplates();\r\n }\r\n\r\n filterTemplateTypes() {\r\n this.filteredTemplateTypes = this.templateTypes.sort((a, b) =>\r\n this.utils.sort(a.order, b.order, true)\r\n );\r\n this.filterChecklistTemplates();\r\n }\r\n\r\n filterCustomNameTemplates() {\r\n this.filteredOther = this.service.checklistTemplates\r\n ?.filter(c => c.templateTypeID == this.currentTemplateType?.id) // Step 1: Filter based on allowMultipleVersions\r\n ?.reduce((acc: ChecklistTemplate[], current) => {\r\n if (!acc.some((item: ChecklistTemplate) => item.name === current.name)) {\r\n acc.push(current); // Step 2: Only push if name is not already in the accumulator\r\n }\r\n return acc;\r\n }, []).sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n }\r\n\r\n customNameSelected(other: ChecklistTemplate) {\r\n this.filteredChecklistTemplates = this.service.checklistTemplates?.filter(c => c.name == other.name);\r\n }\r\n\r\n clearCustomFilter() {\r\n this.nameCtrl.setValue(null);\r\n this.currentVersion = null;\r\n this.filteredChecklistTemplates = this.service.checklistTemplates?.filter(c => c.templateTypeID == this.currentTemplateType?.id);\r\n }\r\n\r\n\r\n clearTemplateTypes() {\r\n this.errorMessages = [];\r\n this.currentResource = null;\r\n this.resourceCtrl.setValue(null);\r\n this.currentSchedule = null;\r\n this.scheduleCtrl.setValue(null);\r\n this.currentTemplateType = null;\r\n this.typeCtrl.setValue(null);\r\n this.currentVersion = null;\r\n this.versionCtrl.setValue(null);\r\n this.clearResources();\r\n this.clearSchedules();\r\n this.filterTemplateTypes();\r\n this.versionCtrl.setValue(this.currentVersion);\r\n this.service.currentTemplateType = this.currentTemplateType;\r\n this.service.setProcedure(null);\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n this.filterChecklistTemplates();\r\n this.loadVersions();\r\n this.setLoading({ val: false, origin: '506' });\r\n this.checkCreateEnabled();\r\n }\r\n\r\n // Resources\r\n\r\n loadResources() {\r\n return new Promise((resolve) => {\r\n const resourceType = this.currentResource\r\n ? this.currentResource.type\r\n : this.currentTemplateType?.resourceTypeID\r\n ? this.currentTemplateType?.resourceTypeID\r\n : this.currentSchedule\r\n ? this.currentSchedule.scheduleResources.find((r) => r.resourceId)\r\n ?.resource?.resourceTypeID\r\n : null;\r\n if (resourceType) {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data.length > 0) {\r\n this.resources = data.filter((x) => x.type == resourceType).sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.filteredResources = this.resources;\r\n resolve(this.resources);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n changedResource() {\r\n this.filteredResources = this.resources.filter((x) =>\r\n x.name?.toLowerCase().includes(this.resourceCtrl.value.toLowerCase())\r\n );\r\n }\r\n\r\n async selectedResource(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n this.currentResource = value;\r\n await this.placeholdersService.setKeyValuePairs(this.currentResource, true);\r\n this.filteredChecklistTemplates = this.service.checklistTemplates?.filter(\r\n (x) => x.resourceID == this.currentResource?.id\r\n );\r\n this.loadVersions();\r\n }\r\n\r\n async clearResources() {\r\n this.errorMessages = [];\r\n this.currentResource = null;\r\n this.currentVersion = null;\r\n this.versions = [];\r\n this.filteredVersions = [];\r\n this.resourceCtrl.setValue(this.currentResource);\r\n await this.placeholdersService.setKeyValuePairs(this.currentResource, true);\r\n this.versionCtrl.setValue(this.currentVersion);\r\n this.filterChecklistTemplates();\r\n this.loadVersions();\r\n this.setLoading({ val: false, origin: '560' });\r\n this.checkCreateEnabled();\r\n }\r\n\r\n // Versions\r\n\r\n async loadVersions(currentVersion: ChecklistTemplate | null = null) {\r\n this.versions = this.service.checklistTemplates?.filter(x => x.templateTypeID == this.currentTemplateType?.id);\r\n this.filteredVersions = this.versions;\r\n if (currentVersion) {\r\n this.versionCtrl.setValue(currentVersion);\r\n }\r\n }\r\n\r\n filteredStatuses() {\r\n this.filteredChecklistTemplateStatuses =\r\n this.checklistTemplateStatuses?.filter((x) =>\r\n this.service.checklistTemplates?.map((t) => t.code).includes(x.code)\r\n );\r\n return this.filteredChecklistTemplateStatuses;\r\n }\r\n\r\n setLoadingFalse() {\r\n if (this.currentTemplateType?.scheduleTypeID && this.schedules && this.templateTypes) {\r\n this.setLoading({ val: false, origin: '617' });\r\n }\r\n if (this.currentTemplateType?.resourceTypeID && this.resources && this.templateTypes) {\r\n this.setLoading({ val: false, origin: '624' });\r\n }\r\n if (!this.currentTemplateType?.scheduleTypeID && !this.currentTemplateType?.resourceTypeID && this.templateTypes\r\n ) {\r\n this.setLoading({ val: false, origin: '631' });\r\n }\r\n }\r\n\r\n changedVersion() {\r\n this.filteredVersions = [];\r\n this.filteredVersions = this.versions?.filter((x) =>\r\n x.name?.toLowerCase().includes(this.versionCtrl.value.toLowerCase())\r\n );\r\n }\r\n\r\n selectedVersion(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n this.currentVersion = value;\r\n this.nameCtrl.setValue(this.currentVersion?.name);\r\n\r\n\r\n // Refresh deleted Items\r\n if (this.currentVersion) {\r\n this.store.dispatch(new DeletedTasksRefresh(this.currentVersion.id));\r\n this.store.dispatch(new DeletedStepsRefresh(this.currentVersion.id));\r\n this.store.dispatch(new DeletedSectionsRefresh(this.currentVersion.id));\r\n }\r\n\r\n this.getSections();\r\n }\r\n // Workflow\r\n\r\n getSections() {\r\n this.sections =\r\n this.currentVersion?.wfTable?.wfTableLocal?.wfSectionLocals?.sort(\r\n (a, b) => this.utils.sort(a.order, b.order)\r\n );\r\n if (this.sections?.[0] && (!this.service.selectedNode || !this.sections.map(s => s.id).includes(this.service.selectedNode.sectionNode?.id ?? 0))) {\r\n this.service.selectedNode = { sectionNode: { id: this.sections[0].id, type: ChecklistElement.SECTION } } as SelectedElement;\r\n this.sections[0].expanded = true;\r\n }\r\n this.storeTasks();\r\n this.getErrors();\r\n this.loadDeletedSections();\r\n this.setLoading({ val: false, origin: '650' });\r\n }\r\n\r\n // Schedules\r\n\r\n loadSchedules() {\r\n this.schedules$ = this.store.select((state) => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data.length) {\r\n this.schedules = data;\r\n this.filterSchedules();\r\n }\r\n });\r\n }\r\n\r\n changedSchedule() {\r\n this.filteredSchedules = [];\r\n this.filterSchedules();\r\n if (this.scheduleCtrl.value) {\r\n this.filteredSchedules = this.filteredSchedules.filter((x) =>\r\n x.name?.toLowerCase().includes(this.scheduleCtrl.value?.toLowerCase())\r\n );\r\n }\r\n }\r\n\r\n selectedSchedule(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n this.currentSchedule = value;\r\n this.service.currentSchedule = this.currentSchedule;\r\n const procedure =\r\n this.currentTemplateType?.scheduleSubtypeID == -1\r\n ? this.currentSchedule?.subdetail?.procedure\r\n : this.currentSchedule?.procedure;\r\n this.service.setProcedure(\r\n this.service.procedures.find((p) => p.id == procedure?.id) ?? null\r\n );\r\n this.setPrivs();\r\n this.filterChecklistTemplates();\r\n this.loadVersions();\r\n }\r\n\r\n filterSchedules() {\r\n if (this.schedules && this.templateTypes?.length) {\r\n this.schedules = this.service.filterSchedulesByTemplateType(this.schedules, this.currentTemplateType);\r\n this.filteredSchedules = this.schedules.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n }\r\n }\r\n\r\n hasTemplatesInProgress(s: Schedule) {\r\n return (\r\n this.service.checklistTemplates?.find(\r\n (t) =>\r\n t.status &&\r\n t.schedule?.id == s.id &&\r\n ![\r\n ChecklistTemplateStatusEnum.Active,\r\n ChecklistTemplateStatusEnum.Archived,\r\n ].includes(t.status)\r\n ) != null\r\n );\r\n }\r\n\r\n clearSchedules() {\r\n this.errorMessages = [];\r\n this.currentSchedule = null;\r\n this.currentResource = null;\r\n this.currentVersion = null;\r\n this.service.setProcedure(null);\r\n this.service.setChecklistTemplate(null);\r\n this.versionCtrl.setValue(null);\r\n this.versions = [];\r\n this.filteredVersions = [];\r\n this.service.currentSchedule = this.currentSchedule;\r\n this.scheduleCtrl.setValue(this.currentSchedule);\r\n this.filterTemplateTypes();\r\n this.scheduleCtrl.setValue(null);\r\n this.changedSchedule();\r\n this.clearResources();\r\n this.setLoading({ val: false, origin: '717' });\r\n this.checkCreateEnabled();\r\n }\r\n\r\n /////\r\n\r\n displayVersion(e: any) {\r\n return e ? e.serialNo : null;\r\n }\r\n\r\n checkCreateEnabled() {\r\n this.createEnabled = this.createEnable();\r\n }\r\n\r\n createEnable() {\r\n // Early exit if there's no current template type\r\n if (!this.currentTemplateType) return false;\r\n\r\n let result = true;\r\n this.message = { type: 0, text: '', cssClass: '' };\r\n let message = '';\r\n\r\n if (this.currentTemplateType.scheduleTypeID) {\r\n if (this.currentSchedule) {\r\n const exists = this.service.checklistTemplates\r\n ?.filter((x) =>\r\n x.templateTypeID == this.currentTemplateType?.id &&\r\n x.status != ChecklistTemplateStatusEnum.Active &&\r\n x.status != ChecklistTemplateStatusEnum.Archived\r\n )\r\n ?.some((t) => t.procedureID == this.currentSchedule?.procedure?.id || t.scheduleID == this.currentSchedule?.id);\r\n const scheduleType = this.scheduleTypes.find((x) => x.id == this.currentTemplateType?.scheduleTypeID);\r\n\r\n if (result && this.currentSchedule &&\r\n this.service.checklistTemplates?.some((t) => this.currentSchedule?.procedure && t.procedureID == this.currentSchedule?.procedure?.id)\r\n ) {\r\n const existing = this.service.checklistTemplates.find((t) => t.procedureID == this.currentSchedule?.procedure?.id);\r\n message = (this.getMessage('AlreadyTemplateWithSameProcedure').description as string)\r\n .replace('{procedure}', '' + existing?.procedure?.procedureNumber + '')\r\n .replace('{rev}', '' + existing?.procedure?.revision + '');\r\n this.alertAndDisplayMessage(MessageTypeEnum.Error, message);\r\n result = false;\r\n }\r\n // Check if the schedule type has a procedure type ID and if a checklist template already exists\r\n if (result && scheduleType?.procedureTypeID && exists) {\r\n message = this.getMessage('ExistingTemplate').description as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Error, message);\r\n result = false;\r\n }\r\n // Further checks based on schedule type\r\n if (result && scheduleType?.procedureTypeID) {\r\n this.service.currentSchedule = this.currentSchedule;\r\n this.service.currentTemplateType = this.currentTemplateType;\r\n const privilege = this._procedure.getPrivilege(this.service.procedure?.procedureCategory?.procedureTypeID ?? 0, ProcedureSignatureType.Preparer\r\n );\r\n\r\n if (privilege) {\r\n const hasPrivilege = this.hasPrivilege(privilege);\r\n if (hasPrivilege) {\r\n const isPreparer = this.is(ProcedureSignatureType.Preparer);\r\n if (!isPreparer) {\r\n message = this.getMessage('ShouldSubscribeAsPreparer').description?.replace('{procedure}', this.currentSchedule?.procedure?.procedureNumber + ' - Rev: ' + this.currentSchedule?.procedure?.revision) as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Info, message);\r\n }\r\n } else {\r\n message = this.getMessage('DuplicateNoPreparer').description?.replace('{procedure}', this.currentSchedule?.procedure?.procedureNumber + ' - Rev: ' +\r\n this.currentSchedule?.procedure?.revision) as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Warning, message);\r\n }\r\n } else {\r\n if (this.currentSchedule && this.service.procedure) {\r\n message = this.getMessage('NotAllowedToCreateTemplates').description as string;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Warning, message);\r\n result = false;\r\n }\r\n }\r\n }\r\n } else result = false;\r\n } else if (this.currentTemplateType.resourceTypeID) {\r\n } else if (this.currentTemplateType.allowMultipleVersions) {\r\n if (this.nameCtrl.value) {\r\n result = true;\r\n } else result = false;\r\n }\r\n\r\n // Display success message if the template creation conditions are met\r\n if (result && !message) {\r\n const name = this.nameCtrl.value\r\n ? ', Named: ' + this.nameCtrl.value + ''\r\n : '';\r\n const schedule = this.currentSchedule\r\n ? ', Resource: ' +\r\n this.currentSchedule.scheduleResources?.[0]?.resource?.name +\r\n ''\r\n : '';\r\n const resource = this.currentResource\r\n ? ', Resource: ' + this.currentResource.name + ''\r\n : '';\r\n const procedure = this.currentSchedule\r\n ? ', Procedure: ' +\r\n this.currentSchedule.procedure?.procedureNumber +\r\n '' +\r\n ', Rev: ' +\r\n this.currentSchedule.procedure?.revision +\r\n ''\r\n : '';\r\n message =\r\n 'A new template can be created for Type: ' +\r\n this.currentTemplateType.name +\r\n '' +\r\n name +\r\n schedule +\r\n resource +\r\n procedure;\r\n this.alertAndDisplayMessage(MessageTypeEnum.Success, message);\r\n }\r\n\r\n return result;\r\n }\r\n\r\n alertAndDisplayMessage(type: MessageTypeEnum, text: string) {\r\n // this.alert.message(text, [], type);\r\n this.message = {\r\n type,\r\n text,\r\n cssClass:\r\n type == MessageTypeEnum.Success\r\n ? 'primary-tooltip'\r\n : type == MessageTypeEnum.Error\r\n ? 'warn-tooltip'\r\n : 'accent-tooltip',\r\n };\r\n }\r\n\r\n createDisabled() {\r\n if (this.loading) {\r\n return true;\r\n }\r\n if (!this.currentTemplateType?.id) {\r\n return true;\r\n }\r\n\r\n if (\r\n this.currentTemplateType.allowMultipleVersions &&\r\n this.nameCtrl.value == null\r\n ) {\r\n return true;\r\n }\r\n if (\r\n !this.currentTemplateType.resourceTypeID &&\r\n !this.currentTemplateType.scheduleTypeID\r\n ) {\r\n return false;\r\n }\r\n\r\n const enableR =\r\n this.currentTemplateType &&\r\n this.currentTemplateType.resourceTypeID &&\r\n this.currentResource;\r\n const enableS = this.currentTemplateType && this.currentSchedule;\r\n let enableSchedProc = false;\r\n if (\r\n this.currentTemplateType.scheduleSubtype &&\r\n this.currentSchedule?.scheduleSubtypeId ==\r\n this.currentTemplateType.scheduleSubtypeID\r\n ) {\r\n enableSchedProc = this.currentSchedule?.procedure != null;\r\n } else if (\r\n this.currentTemplateType.scheduleTypeID &&\r\n this.currentSchedule?.typeId == this.currentTemplateType.scheduleTypeID\r\n ) {\r\n enableSchedProc = this.currentSchedule?.procedure != null;\r\n }\r\n const exists = this.service.checklistTemplates?.some(\r\n (x) =>\r\n x.templateTypeID == this.currentTemplateType?.id &&\r\n x.status != ChecklistTemplateStatusEnum.Active &&\r\n x.status != ChecklistTemplateStatusEnum.Archived &&\r\n ((this.currentSchedule &&\r\n this.currentSchedule?.scheduleResources\r\n .map((r) => r.resourceId)\r\n .includes(x.resourceID)) ||\r\n (this.currentResource && this.currentResource.id == x.resourceID))\r\n );\r\n const enabled = enableR || enableS;\r\n return !enabled || exists;\r\n }\r\n\r\n isNewVersion() {\r\n return (\r\n (this.activeVersion &&\r\n this.versionCtrl.value &&\r\n moment(this.versionCtrl.value.createdOn).isAfter(\r\n this.activeVersion?.createdOn\r\n )) ||\r\n (this.activeVersion == undefined && this.versionCtrl.value)\r\n );\r\n }\r\n\r\n settings() {\r\n const settings = this.dialog.open(ChecklistBuilderSettingsComponent, {\r\n width: '60vw',\r\n minWidth: '850px',\r\n height: '700px',\r\n data: {\r\n templateType: this.currentTemplateType,\r\n documentType: this.documentType,\r\n },\r\n disableClose: true,\r\n autoFocus: false,\r\n });\r\n settings.afterClosed().subscribe(() => {\r\n this.filterTemplateTypes();\r\n this.loadVersions();\r\n this.getPermissions();\r\n });\r\n }\r\n\r\n placeholders() {\r\n const settings = this.dialog.open(ChecklistBuilderPlaceholdersComponent, {\r\n minWidth: '850px',\r\n minHeight: '500px',\r\n data: { resource: this.currentVersion?.resource },\r\n disableClose: true,\r\n autoFocus: false,\r\n });\r\n settings.afterClosed().subscribe(() => {\r\n this.filterTemplateTypes();\r\n this.loadVersions();\r\n });\r\n }\r\n\r\n duplicate() {\r\n const settings = this.dialog.open(ChecklistBuilderDuplicateComponent, {\r\n width: '60vw',\r\n height: '60vh',\r\n minHeight: '33em',\r\n data: this.utils.cloneDeep({\r\n templateType: this.currentTemplateType,\r\n documentType: this.documentType,\r\n templateVersion: this.currentVersion,\r\n resource: this.currentResource,\r\n resources: this.filteredResources,\r\n schedule: this.currentSchedule,\r\n schedules: this.filteredSchedules,\r\n documentRolePermissions: this.documentRolePermissions,\r\n }),\r\n disableClose: true,\r\n autoFocus: false,\r\n });\r\n settings.afterClosed().subscribe((data) => {\r\n if (data.duplicatedVersion) {\r\n this.currentVersion = data.duplicatedVersion;\r\n this.currentTemplateType = data.duplicatedVersion.templateType;\r\n this.service.setProcedure(this.currentVersion?.procedure ?? null);\r\n this.loadVersions(this.currentVersion);\r\n this.rowSelected(this.currentVersion);\r\n this.setLoading({ val: false, origin: '952' });\r\n }\r\n });\r\n }\r\n\r\n getSchedule() {\r\n return this.filteredSchedules?.find(\r\n (x) =>\r\n (x.scheduleResources\r\n .map((s) => s.resourceId)\r\n .includes(this.currentVersion?.resourceID) &&\r\n this.currentVersion?.resourceID) ||\r\n (this.currentVersion?.resourceString &&\r\n x.scheduleResources\r\n .map((s) => s.resourceString)\r\n .includes(this.currentVersion?.resourceString))\r\n );\r\n }\r\n\r\n isCreator() {\r\n return this.getCurrentUser()?.id == this.currentVersion?.createdBy;\r\n }\r\n\r\n setArchived() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('GenChklistBldr_SetArchivedConfirmation')\r\n .description,\r\n icon: 'stop',\r\n },\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.setStatus(ChecklistTemplateStatusEnum.Archived);\r\n }\r\n });\r\n }\r\n\r\n setStatus(status: ChecklistTemplateStatusEnum, comments: string | null = null) {\r\n if (this.currentVersion) {\r\n this.statusChanged = true;\r\n // this.setLoading({ val: true, origin: 'setStatus' });\r\n this.currentVersion.status = status;\r\n if (comments)\r\n this.currentVersion.comments = comments;\r\n this.service.updateChecklistTemplate(this.utils.Serialize(this.currentVersion)).toPromise().then(() => {\r\n const checklistTemplateStatus = this.checklistTemplateStatuses?.find((x) => x.statusEnum == status)\r\n this.alert.message('formStateChanged',\r\n [new MessagePlaceholder('{serialNo}', this.currentVersion?.serialNo),\r\n new MessagePlaceholder('{status}', checklistTemplateStatus?.name),]);\r\n // this.setLoading({ val: false, origin: 'setStatus' });\r\n });\r\n }\r\n }\r\n\r\n updateRejectionComment(comment: string) {\r\n this.setStatus(ChecklistTemplateStatusEnum.Rejected, comment);\r\n }\r\n\r\n setPrivs() {\r\n this.checkCreateEnabled();\r\n this.isPreparer = this.is(ProcedureSignatureType.Preparer);\r\n this.isReviewer = this.is(ProcedureSignatureType.Reviewer);\r\n this.isApprover = this.is(ProcedureSignatureType.Approver);\r\n }\r\n\r\n hasPreparerPriv() {\r\n if (this.service.procedure) {\r\n const privilege = this._procedure.getPrivilege(this.service.procedure.procedureCategory?.procedureTypeID ?? 0, ProcedureSignatureType.Preparer);\r\n if (privilege) return this.hasPrivilege(privilege);\r\n else return false;\r\n } else {\r\n const roles = this.currentTemplateType?.documentType?.templateRolePermissions?.filter((x) => x.checklistPrivilege == 1).map((x) => x.roleID);\r\n return this.hasRoles(roles);\r\n }\r\n }\r\n\r\n canBePreparer() {\r\n if (!this.service.procedure) return false;\r\n return this.service.userCanBeAdded(this.service.procedure, ProcedureSignatureType.Preparer);\r\n }\r\n\r\n is(signatureType: ProcedureSignatureType) {\r\n const checklistPriv = signatureType == ProcedureSignatureType.Preparer ?\r\n ChecklistPriv.Prepare : signatureType == ProcedureSignatureType.Reviewer ?\r\n ChecklistPriv.Review : signatureType == ProcedureSignatureType.Approver ?\r\n ChecklistPriv.Approve : null;\r\n if (this.service.procedure) {\r\n const signatures = this.service.procedure?.procedureSignatures?.filter((x) => x.signatureType == signatureType);\r\n return (signatures?.map((x) => x.userID).includes(this.getCurrentUser()?.id ?? 0) ?? false);\r\n } else {\r\n const canApprove = ((this.currentTemplateType?.samePersonCanApprove || (!this.currentTemplateType?.samePersonCanApprove && this.getCurrentUser()?.id != this.currentVersion?.updatedBy)) && signatureType == ProcedureSignatureType.Approver) || signatureType != ProcedureSignatureType.Approver;\r\n return (this.hasRoles(this.documentRolePermissions?.filter((x) => x.checklistPrivilege == checklistPriv).map((x) => x.roleID)) && canApprove);\r\n }\r\n }\r\n\r\n storeTasks() {\r\n const wfTaskLocals =\r\n this.currentVersion?.wfTable?.wfTableLocal?.wfSectionLocals?.flatMap(\r\n (s) => s.wfStepLocals?.flatMap((z) => z.wfTaskLocals ?? []) ?? []\r\n ) ?? [];\r\n\r\n this.store.dispatch(new BuilderTasksUpdateAll(wfTaskLocals));\r\n }\r\n\r\n loadDeletedSections() {\r\n this.deletedSectionLocals$ = this.store.select((state) => state.DeletedWFSectionLocals.data);\r\n this.deletedSectionLocalsSubs = this.deletedSectionLocals$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n this.deletedSectionLocals = data.filter(t => t.checklistTemplateID == this.currentVersion?.id);\r\n if (this.showDeleted) {\r\n const sections = this.sections?.filter(s => !s.logID)?.concat(this.deletedSectionLocals).sort((a, b) => this.utils.sort(a.order, b.order));\r\n this.sections = sections;\r\n }\r\n });\r\n }\r\n\r\n async submitToReview() {\r\n if (this.reviewDisabled()) return;\r\n if (this.procedurePreparerSignature) {\r\n this._procedure.approveSignature(this.procedurePreparerSignature.id).toPromise().then(() => {\r\n if (this.service.procedure?.id) {\r\n const preparerSignature = this.service.procedure?.procedureSignatures?.find((x) => x.id == this.procedurePreparerSignature?.id);\r\n if (preparerSignature) preparerSignature.signedOn = new Date();\r\n this.store.dispatch(new ProcedureUpdate(this.service.procedure.id, this.service.procedure));\r\n const finished = !this.service.procedure.procedureSignatures?.filter((x) => x.signatureType == ProcedureSignatureType.Preparer).find((x) => !x.signedOn);\r\n if (finished)\r\n this.setStatus(ChecklistTemplateStatusEnum.PendingRev);\r\n }\r\n });\r\n }\r\n }\r\n\r\n submitToApprove() {\r\n if (this.errorMessages?.length) return;\r\n this.setStatus(ChecklistTemplateStatusEnum.PendingApr);\r\n }\r\n\r\n unsubmit() {\r\n this.setStatus(ChecklistTemplateStatusEnum.Draft);\r\n }\r\n\r\n approve() {\r\n if (this.procedureApproverSignature && this.currentVersion?.procedureID) {\r\n this._procedure.approveSignature(this.procedureApproverSignature.id).toPromise().then(() => {\r\n if (this.service.procedure?.id) {\r\n const approverSignature = this.service.procedure.procedureSignatures?.find((x) => x.id == this.procedureApproverSignature?.id);\r\n if (approverSignature) approverSignature.signedOn = new Date();\r\n this.store.dispatch(new ProcedureUpdate(this.service.procedure.id, this.service.procedure));\r\n const finished = !this.service.procedure.procedureSignatures?.filter((x) => x.signatureType == ProcedureSignatureType.Approver).find((x) => !x.signedOn);\r\n if (finished) {\r\n if (this.reviewSummary.activeAnnotations == 0) {\r\n this.publishProcedure();\r\n this.setStatus(ChecklistTemplateStatusEnum.Active);\r\n } else {\r\n this.correctionsStatusWarning();\r\n }\r\n } else {\r\n this.setStatus(ChecklistTemplateStatusEnum.Approving);\r\n }\r\n }\r\n });\r\n } else {\r\n this.setStatus(ChecklistTemplateStatusEnum.Active);\r\n }\r\n }\r\n\r\n correctionsStatusWarning() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('GenChklistBldr_CorrectionsConfirmation').description.replace('{count}', '' + this.reviewSummary.activeAnnotations?.toString() + ''),\r\n icon: 'stop',\r\n },\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.setStatus(ChecklistTemplateStatusEnum.CorrectionsPending);\r\n }\r\n this.service.procedure?.procedureSignatures?.filter((x) => x.signatureType == ProcedureSignatureType.Approver || (x.signatureType == ProcedureSignatureType.Reviewer && !this.isApprover))\r\n .map((s) => {\r\n this._procedure.unapproveSignature(s.id).toPromise();\r\n s.signedOn = null;\r\n });\r\n if (this.service.procedure?.id)\r\n this.store.dispatch(new ProcedureUpdate(this.service.procedure.id, this.service.procedure));\r\n });\r\n }\r\n\r\n unapprove() {\r\n if (this.procedureApproverSignature) {\r\n this._procedure.unapproveSignature(this.procedureApproverSignature.id).toPromise().then(() => {\r\n if (this.service.procedure?.id) {\r\n const approverSignature = this.service.procedure.procedureSignatures?.find((x) => x.id == this.procedureApproverSignature?.id);\r\n if (approverSignature) approverSignature.signedOn = null;\r\n this.store.dispatch(new ProcedureUpdate(this.service.procedure.id, this.service.procedure));\r\n const empty = !this.service.procedure.procedureSignatures?.filter((x) => x.signatureType == ProcedureSignatureType.Approver).find((x) => x.signedOn);\r\n if (empty) this.setStatus(ChecklistTemplateStatusEnum.PendingApr);\r\n }\r\n });\r\n }\r\n }\r\n\r\n reject() {\r\n const cancel = this.dialog.open(RejectDialogComponent, {\r\n width: '600px',\r\n data: {\r\n warning: this.getMessage('RejectDialogWarning').description,\r\n title: this.currentVersion?.templateType?.scheduleType?.procedureTypeID\r\n ? this.getMessage('RejectChecklistDialogTitle').description\r\n : 'Rejection Comment',\r\n placeholder: this.getMessage('RejectChecklistPlaceholder').description,\r\n icon: true,\r\n },\r\n });\r\n cancel.afterClosed().subscribe((data) => {\r\n if (data.accept && this.currentVersion) {\r\n const comment = {\r\n commentText: data.text,\r\n createdBy: this.getCurrentUser()?.id,\r\n createdOn: new Date(),\r\n createdByName: this.getCurrentUser()?.name,\r\n } as CommentResource;\r\n this.currentVersion.comments = JSON.stringify(comment);\r\n if (this.service.procedure?.id) {\r\n this.service.procedure.procedureSignatures?.map((s) => {\r\n if (s.signatureType != ProcedureSignatureType.Preparer) {\r\n s.signedOn = null;\r\n this._procedure.unapproveSignature(s.id).toPromise();\r\n }\r\n });\r\n this.store.dispatch(\r\n new ProcedureUpdate(this.service.procedure.id, this.service.procedure)\r\n );\r\n }\r\n this.setStatus(\r\n ChecklistTemplateStatusEnum.Rejected,\r\n this.currentVersion.comments\r\n );\r\n }\r\n });\r\n }\r\n\r\n rework() {\r\n if (this.service.procedure?.procedureSignatures?.length) {\r\n if (\r\n this.service.procedure.procedureSignatures.filter((x) => x.signedOn).length > 1\r\n ) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage(\r\n 'GenChklistBldr_RemoveSignaturesConfirmation'\r\n ).description,\r\n icon: 'stop',\r\n },\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.removeSignatures();\r\n }\r\n });\r\n } else {\r\n this.removeSignatures();\r\n }\r\n } else {\r\n this.setStatus(ChecklistTemplateStatusEnum.Draft);\r\n }\r\n }\r\n\r\n removeSignatures() {\r\n this.service.procedure?.procedureSignatures?.map((s) => {\r\n s.signedOn = null;\r\n this._procedure.unapproveSignature(s.id).toPromise();\r\n });\r\n if (this.service.procedure?.id)\r\n this.store.dispatch(\r\n new ProcedureUpdate(this.service.procedure.id, this.service.procedure)\r\n );\r\n if (\r\n this.currentVersion &&\r\n (this.currentVersion.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsPending ||\r\n this.currentVersion.status == ChecklistTemplateStatusEnum.Rejected ||\r\n this.currentVersion.status == ChecklistTemplateStatusEnum.Approving ||\r\n this.currentVersion.status == ChecklistTemplateStatusEnum.PendingApr ||\r\n this.currentVersion.status == ChecklistTemplateStatusEnum.InReview)\r\n ) {\r\n this.setStatus(ChecklistTemplateStatusEnum.CorrectionsInProgress);\r\n } else if (\r\n this.currentVersion?.status == ChecklistTemplateStatusEnum.PendingRev\r\n ) {\r\n this.setStatus(ChecklistTemplateStatusEnum.Draft);\r\n } else {\r\n this.alert.info('Unassigned action!');\r\n }\r\n }\r\n\r\n reactivate() {\r\n this.setStatus(ChecklistTemplateStatusEnum.Active);\r\n }\r\n\r\n async review() {\r\n if (this.procedureReviewerSignature?.signedOn) {\r\n await this._procedure\r\n .unapproveSignature(this.procedureReviewerSignature.id)\r\n .toPromise();\r\n const reviewerSignature = this.service.procedure?.procedureSignatures?.find(\r\n (x) => x.id == this.procedureReviewerSignature?.id\r\n );\r\n if (reviewerSignature) reviewerSignature.signedOn = null;\r\n if (this.service.procedure?.id)\r\n this.store.dispatch(\r\n new ProcedureUpdate(this.service.procedure.id, this.service.procedure)\r\n );\r\n }\r\n this.setStatus(ChecklistTemplateStatusEnum.InReview);\r\n }\r\n\r\n reviewed() {\r\n if (this.procedureReviewerSignature)\r\n this._procedure\r\n .approveSignature(this.procedureReviewerSignature.id)\r\n .toPromise()\r\n .then(() => {\r\n const reviewersignature = this.service.procedure?.procedureSignatures?.find(\r\n (x) => x.id == this.procedureReviewerSignature?.id\r\n );\r\n if (reviewersignature) reviewersignature.signedOn = new Date();\r\n this.checkReviewers();\r\n });\r\n }\r\n\r\n async suggest() {\r\n if (this.procedureApproverSignature?.signedOn && this.service.procedure?.id) {\r\n await this._procedure\r\n .unapproveSignature(this.procedureApproverSignature.id)\r\n .toPromise();\r\n const approverSignature = this.service.procedure?.procedureSignatures?.find(\r\n (x) => x.id == this.procedureApproverSignature?.id\r\n );\r\n if (approverSignature) approverSignature.signedOn = null;\r\n this.store.dispatch(\r\n new ProcedureUpdate(this.service.procedure.id, this.service.procedure)\r\n );\r\n }\r\n this.setStatus(ChecklistTemplateStatusEnum.Suggesting);\r\n }\r\n\r\n filterChanged(e: ChecklistTemplateStatus) {\r\n const status = this.checklistTemplateStatuses.find((x) => x.id == e.id);\r\n if (status)\r\n status.selected = !this.checklistTemplateStatuses?.find(\r\n (x) => x.id == e.id\r\n )?.selected;\r\n this.service.checklistTemplateStatuses = this.checklistTemplateStatuses;\r\n this.checklistBuilderList.init();\r\n }\r\n\r\n getStatus() {\r\n return this.checklistTemplateStatuses?.find((x) => x.statusEnum == this.currentVersion?.status);\r\n }\r\n\r\n disableSections() {\r\n if (\r\n this.currentVersion?.status == ChecklistTemplateStatusEnum.Active ||\r\n this.currentVersion?.status == ChecklistTemplateStatusEnum.Archived\r\n ) {\r\n return true;\r\n }\r\n if (this.currentVersion?.procedure) {\r\n return !this.isPreparer ||\r\n this.procedurePreparerSignature?.signedOn ||\r\n this.procedureReviewerSignature?.signedOn ||\r\n this.procedureApproverSignature?.signedOn\r\n ? true\r\n : false;\r\n } else {\r\n return (\r\n this.currentVersion?.status != ChecklistTemplateStatusEnum.Draft ||\r\n !this.hasRoles(\r\n this.documentRolePermissions\r\n ?.filter((x) => x.checklistPrivilege == ChecklistPriv.Prepare)\r\n .map((x) => x.roleID)\r\n )\r\n );\r\n }\r\n }\r\n\r\n getErrors() {\r\n setTimeout(() => {\r\n this.errorMessages = [];\r\n this.sectionsComponent?.sectionComponents.filter(s => !s.section.logID).map((s) => {\r\n s.stepsComponent?.stepComponents.filter(z => !z.step.logID).map((x) => {\r\n if (x.statusError) {\r\n const statusErrorMessage =\r\n 'Wrong status Settings on Step: ' +\r\n s.section.number +\r\n ' ' +\r\n s.section.name +\r\n ', Step: ' +\r\n (x.step.name ? x.step.name : 'Unnamed Step');\r\n this.errorMessages?.push({\r\n stepId: x.step.id,\r\n text: statusErrorMessage,\r\n });\r\n }\r\n if (!x.enabledOn || x.enabledOn.length == 0) {\r\n this.errorMessages?.push({\r\n stepId: x.step.id,\r\n text:\r\n 'No Status Set on Step: ' +\r\n s.section.number +\r\n ' ' +\r\n s.section.name +\r\n ', Step: ' +\r\n (x.step.name ? x.step.name : 'Unnamed Step'),\r\n });\r\n }\r\n x.tasksComponent?.taskComponents.filter(t => !t.task.logID).map((t) => {\r\n if (t.hasErrors()) {\r\n const errorMessage =\r\n t.errorMessage +\r\n ' in Section: ' +\r\n s.section.number +\r\n ' ' +\r\n s.section.name +\r\n ', Step: ' +\r\n x.step.name +\r\n ', Task: ' +\r\n t.task.name;\r\n this.errorMessages?.push({\r\n stepId: x.step.id,\r\n taskId: t.task.id,\r\n text: errorMessage,\r\n });\r\n }\r\n });\r\n });\r\n });\r\n }, 500);\r\n }\r\n\r\n resolveRejection() {\r\n if (this.currentVersion) {\r\n this.setLoading({ val: true, origin: '1309' });\r\n this.currentVersion.comments = null;\r\n this.service\r\n .updateChecklistTemplate(this.currentVersion)\r\n .subscribe((data) => {\r\n this.currentVersion = data;\r\n this.updateTemplateTypes();\r\n this.setLoading({ val: false, origin: '1316' });\r\n });\r\n }\r\n }\r\n\r\n publishProcedure() {\r\n if (this.service.procedure?.id) {\r\n const prevRevision = this.service.procedure.revision ?? 0;\r\n const revision = +prevRevision + 1;\r\n const newVersion: Procedure = this.utils.cloneDeep(this.service.procedure);\r\n newVersion.fileID = null;\r\n newVersion.file = null;\r\n newVersion.revision = revision.toString();\r\n newVersion.newProcedure = false;\r\n newVersion.procedureAppendices = [];\r\n this.service.procedure.procedureAppendices?.map((appendix) => {\r\n newVersion.procedureAppendices?.push({\r\n id: 0,\r\n formID: 0,\r\n fileID: 0,\r\n text: appendix.text,\r\n url: appendix.url,\r\n });\r\n });\r\n newVersion.checklistTemplate = null;\r\n this._procedure.complete(this.service.procedure.id, newVersion).toPromise().catch(\r\n (error) => {\r\n if (error.status === 409 || error.status == 404) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n console.error(error);\r\n }\r\n this.setLoading({ val: false, origin: '1352' });\r\n }\r\n );\r\n }\r\n }\r\n\r\n setProcedure() {\r\n this.setPrivs();\r\n if (this.service.procedure?.procedureSignatures?.length) {\r\n switch (this.currentVersion?.status) {\r\n case ChecklistTemplateStatusEnum.Draft:\r\n this.checkPreparers();\r\n break;\r\n case ChecklistTemplateStatusEnum.InReview:\r\n this.checkReviewers();\r\n break;\r\n case ChecklistTemplateStatusEnum.Approving:\r\n this.checkApprovers();\r\n break;\r\n }\r\n }\r\n }\r\n\r\n checkPreparers() {\r\n const preparers = this.service.procedure?.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Preparer\r\n );\r\n if (preparers?.length) {\r\n const finished = !preparers.find((x) => !x.signedOn);\r\n if (finished) {\r\n this.setStatus(ChecklistTemplateStatusEnum.PendingRev);\r\n }\r\n }\r\n }\r\n\r\n checkReviewers() {\r\n if (this.service.procedure?.id) {\r\n const reviewers = this.service.procedure?.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Reviewer\r\n );\r\n if (reviewers?.length) {\r\n const finished = !reviewers.find((x) => !x.signedOn);\r\n if (finished) {\r\n if (this.reviewSummary.activeAnnotations) {\r\n this.service.procedure?.procedureSignatures\r\n ?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Reviewer\r\n )\r\n .map((s) => {\r\n this._procedure.unapproveSignature(s.id).toPromise();\r\n s.signedOn = null;\r\n });\r\n this.setStatus(ChecklistTemplateStatusEnum.CorrectionsPending);\r\n this.store.dispatch(\r\n new ProcedureUpdate(this.service.procedure.id, this.service.procedure)\r\n );\r\n } else this.setStatus(ChecklistTemplateStatusEnum.PendingApr);\r\n }\r\n }\r\n }\r\n }\r\n\r\n checkApprovers() {\r\n if (this.service.procedure?.id) {\r\n const approvers = this.service.procedure?.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Approver\r\n );\r\n if (approvers?.length) {\r\n const finished = !approvers.find((x) => !x.signedOn);\r\n if (finished) {\r\n if (this.reviewSummary.activeAnnotations) {\r\n this.service.procedure?.procedureSignatures\r\n ?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Reviewer\r\n )\r\n .map((s) => {\r\n this._procedure.unapproveSignature(s.id).toPromise();\r\n s.signedOn = null;\r\n });\r\n this.setStatus(ChecklistTemplateStatusEnum.CorrectionsPending);\r\n this.store.dispatch(\r\n new ProcedureUpdate(this.service.procedure.id, this.service.procedure)\r\n );\r\n } else this.setStatus(ChecklistTemplateStatusEnum.Active);\r\n }\r\n }\r\n }\r\n }\r\n\r\n @HostListener('window:resize')\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener('window:scroll')\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n // scrollToTop(elem) {\r\n // (function smoothschroll() {\r\n // const yOffset = -230;\r\n // // const element = $(elem)[0];\r\n // const y = elem.clientTop + window.pageYOffset + yOffset;\r\n // window.scrollTo({ top: y, behavior: \"smooth\" });\r\n // })();\r\n // }\r\n\r\n getPermissions() {\r\n this.service\r\n .getTemplateRolePermissionsByDocumentTypeID(this.documentTypeId)\r\n .subscribe((data) => {\r\n this.documentRolePermissions = data.filter(\r\n (x) => x.templateTypeID === 0\r\n );\r\n this.service.documentRolePermissions = this.documentRolePermissions;\r\n this.setPrivs();\r\n });\r\n }\r\n\r\n showRework() {\r\n if (this.currentVersion) {\r\n if (this.service.procedure) {\r\n return (\r\n this.currentVersion?.status !=\r\n this.checklistTemplateStatusEnum.Active &&\r\n this.currentVersion?.status !=\r\n this.checklistTemplateStatusEnum.Archived &&\r\n this.currentVersion?.status !=\r\n this.checklistTemplateStatusEnum.Temp &&\r\n this.currentVersion?.status !=\r\n this.checklistTemplateStatusEnum.Draft &&\r\n this.currentVersion?.status !=\r\n this.checklistTemplateStatusEnum.CorrectionsInProgress &&\r\n this.currentVersion?.status !=\r\n this.checklistTemplateStatusEnum.Suggesting\r\n );\r\n } else {\r\n return (\r\n this.currentVersion?.status ==\r\n this.checklistTemplateStatusEnum.Rejected ||\r\n this.currentVersion?.status ==\r\n this.checklistTemplateStatusEnum.PendingApr\r\n );\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n showSubmitToReview() {\r\n return (\r\n (this.currentVersion?.status == ChecklistTemplateStatusEnum.Draft ||\r\n this.currentVersion?.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsInProgress) &&\r\n !this.procedurePreparerSignature?.signedOn &&\r\n this.service.procedure\r\n );\r\n }\r\n\r\n reviewDisabled() {\r\n if (\r\n this.currentVersion?.comments ||\r\n this.reviewSummary?.activeAnnotations ||\r\n this.errorMessages?.length\r\n )\r\n return true;\r\n return false;\r\n }\r\n\r\n setShowDeleted(e: boolean) {\r\n this.showDeleted = e;\r\n this.getSections();\r\n }\r\n\r\n scrollDeletedSections() {\r\n setTimeout(() => {\r\n const element = document.getElementById('deleted-sections');\r\n element?.scrollIntoView({ behavior: 'smooth' });\r\n }, 500);\r\n }\r\n\r\n setLoading(e: any) {\r\n let loadingList = false;\r\n let loadingSections = false;\r\n let loadingSelf = false;\r\n let loadingMap = false;\r\n\r\n if ((e.origin == 'list')) loadingList = e.val;\r\n else if ((e.origin == 'sections')) loadingSections = e.val;\r\n else if (e.origin == 'map') loadingMap = e.val;\r\n else loadingSelf = e.val;\r\n\r\n setTimeout(() => {\r\n this.loading = loadingList || loadingSections || loadingSelf || loadingMap;\r\n this.cdRef.detectChanges();\r\n }, (loadingList || loadingSections || loadingSelf || loadingMap) ? 100 : 1000);\r\n }\r\n\r\n onScroll(): void {\r\n const container = this.scrollableContainer.nativeElement as HTMLElement;\r\n this.service.checkVisibleElements(container); // Check visible elements on scroll\r\n }\r\n}\r\n\r\nexport interface StepError {\r\n stepId: number;\r\n taskId?: number;\r\n text: string;\r\n}\r\n","
\r\n \r\n
\r\n \r\n menu\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ documentType?.description }} Builder\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Template Type\r\n \r\n\r\n close\r\n \r\n \r\n {{ type.name }}\r\n \r\n \r\n You must choose a Type\r\n \r\n {{ currentTemplateType.description }}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n Custom Name\r\n \r\n\r\n close\r\n \r\n \r\n {{ other.name }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n Resource\r\n \r\n\r\n close\r\n \r\n \r\n {{ schedule.name }}\r\n \r\n \r\n You must select a Resource\r\n \r\n {{ currentSchedule.description }}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n Resource\r\n \r\n\r\n close\r\n \r\n \r\n {{ resource.name }}\r\n \r\n \r\n You must select a Resource\r\n \r\n {{ currentResource.description }}\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Version\r\n \r\n \r\n \r\n \r\n {{ version.serialNo }}\r\n \r\n \r\n {{ getStatus()?.name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ getStatus()?.description }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Updated by: {{ currentVersion?.updatedByName }} on:\r\n {{ currentVersion?.updatedOn | date }}\r\n
\r\n \r\n Approved by:\r\n {{ currentVersion?.approvedBy?.name }} on:\r\n {{\r\n currentVersion?.approvedOn | date\r\n }}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n \r\n Duplicate\r\n file_copy\r\n \r\n\r\n \r\n\r\n \r\n Rework\r\n edit\r\n \r\n\r\n \r\n\r\n \r\n Submit to Review\r\n send\r\n \r\n\r\n \r\n 0\"\r\n >\r\n Submit to Approval\r\n send\r\n \r\n\r\n \r\n\r\n \r\n Delete\r\n delete\r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n Template Map\r\n \r\n expand_content\r\n \r\n\r\n \r\n collapse_content\r\n \r\n \r\n account_tree\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n Show Deleted items\r\n
\r\n delete\r\n visibility\r\n
\r\n
\r\n \r\n Hide Deleted items\r\n
\r\n delete\r\n visibility_off\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n\r\n \r\n \r\n \r\n Review\r\n visibility\r\n \r\n\r\n \r\n \r\n End Review\r\n send\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n Approve Template\r\n check_circle\r\n \r\n\r\n \r\n \r\n End Suggesting\r\n mark_chat_read\r\n \r\n\r\n \r\n \r\n Unapprove Template\r\n unpublished\r\n \r\n\r\n \r\n \r\n Reject\r\n unpublished\r\n \r\n\r\n \r\n \r\n Suggest Changes\r\n quickreply\r\n \r\n \r\n\r\n \r\n \r\n \r\n Archive\r\n archive\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Filter\r\n filter_alt\r\n \r\n \r\n \r\n {{\r\n status.icon\r\n }}\r\n {{ status.name }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{ \"{\" }}{{ \"}\" }}\r\n Placeholders\r\n \r\n \r\n Settings\r\n settings\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Injectable, Injector } from \"@angular/core\";\r\nimport { BehaviorSubject, Observable, Subscription } from \"rxjs\";\r\nimport { CdkDragMove } from '@angular/cdk/drag-drop';\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { TokenInfoService } from \"src/app/services/authentication/token-info.service\";\r\nimport { FormStatus } from \"src/app/services/forms/form-status\";\r\nimport { ProcedureSignatureType } from \"src/app/components/procedure/enums/procedure-signature-type.enum\";\r\nimport { ProcedureSignature } from \"src/app/components/procedure/models/procedure-signature.model\";\r\nimport { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { WFSectionLocalResource, WFStepLocalResource, WfTaskLocalResource, WfTaskResource, WfActionLocalResource, WFRoleLocal, WfSignature } from \"src/app/services/work-flow/work-flow\";\r\nimport { ScheduleStatusEnum } from \"../../schedules/models/enums\";\r\nimport { Schedule } from \"../../schedules/models/schedule\";\r\nimport { ScheduleResources } from \"../../schedules/models/schedule-resources\";\r\nimport { ScheduleSubtype } from \"../../schedules/models/schedule-subtype\";\r\nimport { ScheduleType } from \"../../schedules/models/schedule-type\";\r\nimport { ChecklistTemplateStatus, TemplateType, TemplateRolePermission, ChecklistTemplate, ChecklistExecStatus, ChecklistPriv, ChecklistTemplateStatusEnum, RoleOption, Option } from \"../checklists\";\r\nimport { ProcedureService } from \"src/app/components/procedure/services/procedure.service\";\r\nimport { UserRole } from \"src/app/services/user-roles/user-role\";\r\nimport { Action, ComponentType } from \"src/app/common/enumerations/enumerations\";\r\nimport { DocumentType } from \"src/app/services/documents/documents\";\r\nimport { BaseService } from \"src/app/common/base/base.service\";\r\nimport { SelectedElement } from \"./checklist-builder-map/checklist-builder-map.component\";\r\n\r\n@Injectable()\r\nexport class ChecklistBuilderService extends BaseService {\r\n Api = \"/ChecklistBuilder\";\r\n ApiTT = \"/ChecklistBuilder/TemplateType\";\r\n ApiStatus = \"/ChecklistTemplateStatus\";\r\n ApiKE = \"/KEBuilder\";\r\n ApiChecklistExecStatus = \"/ChecklistExecStatus\";\r\n\r\n public checklistTemplateStatuses: ChecklistTemplateStatus[] = [];\r\n procedure?: Procedure | null;\r\n procedureSubject!: BehaviorSubject;\r\n\r\n procedures!: Procedure[];\r\n procedures$!: Observable;\r\n subsProcedures!: Subscription;\r\n procedureTypeID!: number | null;\r\n\r\n scheduleType!: ScheduleType;\r\n scheduleTypes!: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n scheduleSubtype!: ScheduleSubtype;\r\n scheduleSubtypes!: ScheduleSubtype[];\r\n scheduleSubtypes$!: Observable;\r\n scheduleSubtypesSubs!: Subscription;\r\n\r\n subsAppState!: Subscription;\r\n\r\n preparers?: ProcedureSignature[];\r\n reviewers?: ProcedureSignature[];\r\n approvers?: ProcedureSignature[];\r\n\r\n pointerY!: number;\r\n\r\n currentTemplateType?: TemplateType | null;\r\n currentSchedule?: Schedule | null;\r\n documentRolePermissions!: TemplateRolePermission[];\r\n currentTemplate?: BehaviorSubject;// ChecklistTemplate | null;\r\n currentTemplateValue?: ChecklistTemplate | null;\r\n checklistTemplates?: ChecklistTemplate[];\r\n\r\n taskCount?: number;\r\n selectedNode?: SelectedElement;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _token: TokenInfoService,\r\n private _procedure: ProcedureService,\r\n ) {\r\n super(injector, '/ChecklistBuilder');\r\n this.procedureSubject = new BehaviorSubject(null);\r\n this.currentTemplate = new BehaviorSubject(null);// ChecklistTemplate | null;\r\n }\r\n\r\n getProcedure(): Observable {\r\n return this.procedureSubject.asObservable();\r\n }\r\n\r\n setProcedure(value: Procedure | null) {\r\n const procedure = this.procedures?.find((x) => x.id == value?.id);\r\n this.procedure = procedure;\r\n if (procedure)\r\n this.procedureSubject.next(value);\r\n }\r\n\r\n setChecklistTemplate(checklistTemplate?: ChecklistTemplate | null) {\r\n this.currentTemplateValue = checklistTemplate;\r\n this.currentTemplate?.next(checklistTemplate);\r\n }\r\n\r\n getChecklistTemplate() {\r\n return this.currentTemplate?.asObservable();\r\n }\r\n\r\n getchecklistTemplateById(id: number): Observable {\r\n const httpresult = this.http.get(\r\n this.BASE_URL + this.Api + \"/\" + id\r\n );\r\n return httpresult;\r\n }\r\n\r\n getPendingTemplates(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + \"/Pending\");\r\n return httpresult;\r\n }\r\n\r\n createChecklistTemplate(\r\n checklistTemplate: ChecklistTemplate\r\n ): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api,\r\n checklistTemplate\r\n );\r\n }\r\n\r\n duplicateChecklistTemplate(\r\n checklistTemplateToDuplicate: ChecklistTemplate,\r\n checklistTemplate: ChecklistTemplate\r\n ): Observable {\r\n return this.http.post(this.BASE_URL + this.Api + \"/Duplicate/\" + checklistTemplateToDuplicate.id, checklistTemplate);\r\n }\r\n\r\n updateChecklistTemplate(checklistTemplate: ChecklistTemplate): Observable {\r\n return this.http.put(this.BASE_URL + this.Api, checklistTemplate);\r\n }\r\n\r\n deleteChecklistTemplate(\r\n checklistTemplate: ChecklistTemplate,\r\n text: string\r\n ): Observable {\r\n return this.http.delete(\r\n this.BASE_URL + this.Api + \"/\" + checklistTemplate.id + \"/\" + text\r\n );\r\n }\r\n\r\n getChecklistTemplatesByTypeAndResource(\r\n typeId: number,\r\n resourceId: number\r\n ): Observable {\r\n const httpresult = this.http.get(\r\n this.BASE_URL +\r\n this.Api +\r\n \"/TemplatesByTypeAndResource/\" +\r\n typeId +\r\n \"/\" +\r\n resourceId\r\n );\r\n return httpresult;\r\n }\r\n\r\n getChecklistTemplatesByDocumentTypeID(\r\n documentTypeID: number\r\n ): Observable {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/ByDocumentType/\" + documentTypeID.toString()\r\n );\r\n }\r\n\r\n // Template Types\r\n\r\n getAllTemplateTypes(): Observable {\r\n const httpresult = this.http.get(\r\n this.BASE_URL + this.Api + \"/AllTemplateTypes\"\r\n );\r\n return httpresult;\r\n }\r\n\r\n getConfigTemplateTypes(): Observable {\r\n const httpresult = this.http.get(\r\n this.BASE_URL + this.Api + \"/ConfigTemplateTypes\"\r\n );\r\n return httpresult;\r\n }\r\n\r\n getTemplateTypesByDocumentId(id: number): Observable {\r\n const httpresult = this.http.get(\r\n this.BASE_URL + this.Api + \"/TemplateTypesByDocument/\" + id\r\n );\r\n return httpresult;\r\n }\r\n\r\n createTemplateType(templateType: TemplateType): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.ApiTT,\r\n templateType\r\n );\r\n }\r\n\r\n updateTemplateType(templateType: TemplateType): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.ApiTT,\r\n templateType\r\n );\r\n }\r\n\r\n deleteTemplateType(\r\n templateType: TemplateType,\r\n text: string\r\n ): Observable {\r\n return this.http.delete(\r\n this.BASE_URL + this.ApiTT + \"/\" + templateType.id + \"/\" + text\r\n );\r\n }\r\n\r\n getTemplateType(id: number): Observable {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/TemplateType/\" + id\r\n );\r\n }\r\n\r\n // Permissions\r\n\r\n createTemplateRolePersmission(\r\n templateRolePermissions: TemplateRolePermission\r\n ): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api + \"/CreateTemplateRolePermission\",\r\n templateRolePermissions\r\n );\r\n }\r\n\r\n deleteTemplateRolePermission(templateRolePermission: TemplateRolePermission) {\r\n return this.http.delete(\r\n this.BASE_URL +\r\n this.Api +\r\n \"/DeleteTemplateRolePermission/\" +\r\n templateRolePermission.id\r\n );\r\n }\r\n\r\n getTemplateRolePermissionsByDocumentTypeID(\r\n id: number\r\n ): Observable {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/TemplateRolePermissionByDocumentID/\" + id\r\n );\r\n }\r\n\r\n // Sections\r\n updateSection(\r\n section: WFSectionLocalResource\r\n ): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/UpdateSection\",\r\n section\r\n );\r\n }\r\n\r\n updateSections(\r\n sections: WFSectionLocalResource[]\r\n ): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/UpdateSections\",\r\n sections\r\n );\r\n }\r\n\r\n createSection(wfTableID: number): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api + \"/CreateSection\",\r\n wfTableID\r\n );\r\n }\r\n\r\n duplicateSection(wfSectionLocalID: number): Observable {\r\n return this.http.post(this.BASE_URL + this.Api + \"/DuplicateSection\", wfSectionLocalID);\r\n }\r\n\r\n deleteSection(section: WFSectionLocalResource) {\r\n return this.http.delete(\r\n this.BASE_URL + this.Api + \"/DeleteSection/\" + section.id\r\n );\r\n }\r\n\r\n getDeletedSections(checklistTemplateID: number) {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/DeletedSections/\" + checklistTemplateID\r\n );\r\n }\r\n\r\n restoreSection(logID: number) {\r\n return this.http.patch(\r\n this.BASE_URL + this.Api + \"/RestoreSection/\" + logID, null);\r\n }\r\n\r\n updateSectionsOrder(sections: WFSectionLocalResource[]) {\r\n return this.http.put(this.BASE_URL + this.Api + \"/UpdateSectionsOrder\", sections);\r\n }\r\n\r\n // Steps\r\n updateStep(step: WFStepLocalResource): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/UpdateStep\",\r\n step\r\n );\r\n }\r\n\r\n updateSteps(steps: WFStepLocalResource[]): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/UpdateSteps\",\r\n steps\r\n );\r\n }\r\n\r\n createStep(wfSectionLocalID: number): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api + \"/CreateStep\",\r\n wfSectionLocalID\r\n );\r\n }\r\n\r\n duplicateStep(wfStepLocalID: number): Observable {\r\n return this.http.post(this.BASE_URL + this.Api + \"/DuplicateStep\", wfStepLocalID);\r\n }\r\n\r\n deleteStep(step: WFStepLocalResource) {\r\n return this.http.delete(\r\n this.BASE_URL + this.Api + \"/DeleteStep/\" + step.id\r\n );\r\n }\r\n\r\n restoreStep(logID: number) {\r\n return this.http.patch(\r\n this.BASE_URL + this.Api + \"/RestoreStep/\" + logID, null);\r\n }\r\n\r\n getDeletedSteps(checklistTemplateID: number) {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/DeletedSteps/\" + checklistTemplateID\r\n );\r\n }\r\n\r\n updateStepsOrder(steps: WFStepLocalResource[]) {\r\n return this.http.put(this.BASE_URL + this.Api + \"/UpdateStepsOrder\", steps);\r\n }\r\n\r\n // Tasks\r\n getWFTaskLocal(wfTaskLocalID: number): Observable {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/GetTaskLocal/\" + wfTaskLocalID\r\n );\r\n }\r\n\r\n getTasksByWFStepLocalID(\r\n wfStepLocalID: number\r\n ): Observable {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/GetTasksByWFStepLocalID/\" + wfStepLocalID\r\n );\r\n }\r\n\r\n updateTask(task: WfTaskLocalResource): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/UpdateTask\",\r\n task\r\n );\r\n }\r\n\r\n createEmptyTask(wfStepLocalID: number): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api + \"/CreateEmptyTask\",\r\n wfStepLocalID\r\n );\r\n }\r\n\r\n createTask(wfTask: WfTaskLocalResource): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api + \"/CreateTask\",\r\n wfTask\r\n );\r\n }\r\n\r\n duplicateTask(wfTaskLocalID: number): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/DuplicateTask/\" + wfTaskLocalID, null\r\n );\r\n }\r\n\r\n deleteTask(wfTask: WfTaskLocalResource) {\r\n return this.http.delete(\r\n this.BASE_URL + this.Api + \"/DeleteTask/\" + wfTask.id\r\n );\r\n }\r\n\r\n restoreTask(logID: number) {\r\n return this.http.patch(\r\n this.BASE_URL + this.Api + \"/RestoreTask/\" + logID, null);\r\n }\r\n\r\n getDeletedTasks(checklistTemplateID: number) {\r\n return this.http.get(\r\n this.BASE_URL + this.Api + \"/DeletedTasks/\" + checklistTemplateID\r\n );\r\n }\r\n\r\n updateTasksOrder(tasks: WfTaskLocalResource[]) {\r\n return this.http.put(this.BASE_URL + this.Api + \"/UpdateTasksOrder\", tasks);\r\n }\r\n\r\n saveRequired(wfTask: WfTaskResource): Observable {\r\n return this.http.patch(\r\n this.BASE_URL + this.Api + \"/SaveRequired\",\r\n wfTask\r\n );\r\n }\r\n\r\n saveOrder(wfTasks: WfTaskLocalResource[], refresh?: boolean): Observable {\r\n return this.http.patch(\r\n this.BASE_URL + this.Api + \"/SaveOrder/\" + (refresh ?? false), wfTasks);\r\n }\r\n\r\n // Status\r\n\r\n createChecklistExecStatus(c: ChecklistExecStatus) {\r\n return this.http.post(\r\n this.BASE_URL + this.ApiChecklistExecStatus,\r\n c\r\n );\r\n }\r\n\r\n updateChecklistExecStatus(c: ChecklistExecStatus) {\r\n return this.http.put(\r\n this.BASE_URL + this.ApiChecklistExecStatus + \"/\" + c.id,\r\n c\r\n );\r\n }\r\n\r\n deleteChecklistExecStatus(c: ChecklistExecStatus) {\r\n return this.http.delete(\r\n this.BASE_URL + this.ApiChecklistExecStatus + \"/\" + c.id\r\n );\r\n }\r\n\r\n // Other\r\n\r\n CreateWFActionLocal(wfActionLocalResource: WfActionLocalResource) {\r\n return this.http.post(\r\n this.BASE_URL + this.ApiKE + \"/WFAction\",\r\n wfActionLocalResource\r\n );\r\n }\r\n\r\n UpdateWFActionLocal(wfActionLocalResource: WfActionLocalResource) {\r\n return this.http.put(\r\n this.BASE_URL + this.ApiKE + \"/WFAction\",\r\n wfActionLocalResource\r\n );\r\n }\r\n\r\n DeleteWFActionLocal(wfActionLocalResource: WfActionLocalResource) {\r\n return this.http.delete(\r\n this.BASE_URL + this.ApiKE + \"/WFAction/\" + wfActionLocalResource.id\r\n );\r\n }\r\n\r\n CreateWFRoleLocal(wfRoleLocal: WFRoleLocal) {\r\n return this.http.post(\r\n this.BASE_URL + this.ApiKE + \"/WFRole\",\r\n wfRoleLocal\r\n );\r\n }\r\n\r\n DeleteWFRoleLocal(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiKE + \"/WFRole/\" + id);\r\n }\r\n\r\n // General Methods for ALL Checklists\r\n\r\n createWFTaskLocal(data: any): Observable {\r\n const t = this.createWFTaskLocalResource(data);\r\n return this.createTask(t);\r\n }\r\n\r\n updateWFTaskLocal(data: any): Observable {\r\n const t = this.createWFTaskLocalResource(data);\r\n return this.updateTask(t);\r\n }\r\n\r\n createWFTaskLocalResource(data: any): WfTaskLocalResource {\r\n const s: WfSignature = data.s;\r\n const wfTaskLocalResource: WfTaskLocalResource = {\r\n id: s.id,\r\n name: s.type === 7 ? \"Note:\" : (s.name ?? ''),\r\n name2: s.question2,\r\n name3: s.question,\r\n name4: s.question3,\r\n scheduleResourceId: s.scheduleResourceId,\r\n scheduleType: s.scheduleTypeId,\r\n resourceId: s.resourceId,\r\n resourceName: s.locationName,\r\n type: s.type,\r\n configuration: s.configuration,\r\n options: JSON.stringify(s.options),\r\n code: s.code,\r\n condition: s.condition,\r\n componentID: s.type,\r\n wfActionLocals: this.actions(s),\r\n wfRoleLocals: this.roles(s, data.roles),\r\n order: s.order,\r\n wfStepLocalID: s.stepId,\r\n component: s.component,\r\n };\r\n return wfTaskLocalResource;\r\n }\r\n\r\n roles(s: WfSignature, roles: UserRole[]): WFRoleLocal[] {\r\n const wfRoleLocals: WFRoleLocal[] = [];\r\n roles?.map((r) => {\r\n const wfRoleLocal = {\r\n roleID: r.roleID ? r.roleID : r.id,\r\n };\r\n wfRoleLocals.push(wfRoleLocal as WFRoleLocal);\r\n });\r\n return wfRoleLocals;\r\n }\r\n\r\n actions(s: WfSignature) {\r\n const actions: WfActionLocalResource[] = [];\r\n let action: WfActionLocalResource;\r\n const configuration = utils.JSONparse(s.configuration);\r\n if (s.approve) {\r\n action = {\r\n id: s.approveId,\r\n wfTaskLocalID: s.id,\r\n name: \"Approve\",\r\n label: \"Approve\",\r\n action: Action.Approve,\r\n nextStatusID: configuration?.status\r\n ? configuration.status\r\n : configuration?.approveNextStatus,\r\n };\r\n actions.push(action);\r\n }\r\n if (s.unapprove) {\r\n action = {\r\n id: s.unapproveId,\r\n wfTaskLocalID: s.id,\r\n name: \"Unapprove\",\r\n label: \"Unapprove\",\r\n action: Action.Unapprove,\r\n nextStatusID: configuration?.unapproveNextStatus,\r\n };\r\n actions.push(action);\r\n }\r\n if (s.disapprove) {\r\n action = {\r\n id: s.disapproveId,\r\n wfTaskLocalID: s.id,\r\n name: \"Disapprove\",\r\n label: \"Disapprove\",\r\n action: Action.Disapprove,\r\n nextStatusID: configuration?.disapproveNextStatus,\r\n };\r\n actions.push(action);\r\n }\r\n return actions;\r\n }\r\n\r\n getStatuses() {\r\n return this.http.get(\r\n this.BASE_URL + this.ApiStatus\r\n );\r\n }\r\n\r\n getFormStatuses() {\r\n return this.http.get(\r\n this.BASE_URL + this.ApiStatus + \"/FormStatus\"\r\n );\r\n }\r\n\r\n getNewChecklistTemplate(documentType: DocumentType | undefined, templateType: TemplateType | undefined | null, schedule: Schedule | undefined | null, resource: Resource | undefined | null, procedure?: Procedure | null, name?: string): ChecklistTemplate {\r\n let scheduleResource: ScheduleResources | null | undefined = null;\r\n if (templateType?.scheduleTypeID) {\r\n scheduleResource = schedule?.scheduleResources.find((x) => (x.resourceId ?? 0) > 0);\r\n if (!scheduleResource) {\r\n scheduleResource = schedule?.scheduleResources[0];\r\n }\r\n } else if (resource) {\r\n scheduleResource = {\r\n resource,\r\n resourceId: resource?.id,\r\n };\r\n }\r\n const checklistTemplate: ChecklistTemplate = {\r\n id: 0,\r\n status: 0,\r\n name,\r\n wfTableID: 0,\r\n documentTypeID: documentType?.id,\r\n templateTypeID: templateType?.id,\r\n resourceID: scheduleResource?.resourceId\r\n ? scheduleResource.resourceId\r\n : resource?.id,\r\n resourceString: scheduleResource?.resourceString\r\n ? scheduleResource.resourceString\r\n : null,\r\n procedureMasterID: procedure?.procedureMasterID,\r\n procedureID: this.getProcedureByMasterID(procedure?.procedureMasterID ?? 0)\r\n ?.id,\r\n scheduleID: schedule?.id\r\n };\r\n return checklistTemplate;\r\n }\r\n\r\n getProcedureByMasterID(id: number): Procedure | undefined {\r\n const procedure = this.procedures?.find(\r\n (x) => x.procedureMasterID == id && x.active && x.status == 1\r\n );\r\n this.preparers = procedure?.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Preparer\r\n );\r\n this.reviewers = procedure?.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Reviewer\r\n );\r\n this.approvers = procedure?.procedureSignatures?.filter(\r\n (x) => x.signatureType == ProcedureSignatureType.Approver\r\n );\r\n return procedure;\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select((state) => state.Procedures.data);\r\n this.subsProcedures = this.procedures$.subscribe((data) => {\r\n this.procedures = data;\r\n const procedure = this.getProcedureValue();\r\n if (procedure) {\r\n const p = this.procedures.find((x) => x.id == procedure.id)\r\n if (p)\r\n this.setProcedure(p);\r\n }\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(\r\n (state) => state.ScheduleTypes.data\r\n );\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe((data) => {\r\n this.scheduleTypes = data;\r\n });\r\n }\r\n\r\n loadScheduleSubtypes() {\r\n this.scheduleSubtypes$ = this.store.select(\r\n (state) => state.ScheduleSubtypes.data\r\n );\r\n this.scheduleSubtypesSubs = this.scheduleSubtypes$.subscribe((data) => {\r\n this.scheduleSubtypes = data;\r\n });\r\n }\r\n\r\n getProcedureValue(): Procedure | null {\r\n let procedure = null;\r\n this.getProcedure()\r\n .toPromise()\r\n .then((value) => {\r\n procedure = value;\r\n });\r\n return procedure;\r\n }\r\n\r\n is(signatureType: ProcedureSignatureType) {\r\n this.procedureTypeID = null;\r\n const checklistPriv =\r\n signatureType == ProcedureSignatureType.Preparer\r\n ? ChecklistPriv.Prepare\r\n : signatureType == ProcedureSignatureType.Reviewer\r\n ? ChecklistPriv.Review\r\n : signatureType == ProcedureSignatureType.Approver\r\n ? ChecklistPriv.Approve\r\n : null;\r\n let result = false;\r\n let procedure: Procedure | null | undefined = this.getProcedureValue();\r\n if (this.currentTemplateValue) {\r\n procedure = this.currentTemplateValue.procedure;\r\n }\r\n\r\n if (procedure) {\r\n const users = procedure.procedureSignatures?.filter(\r\n (x) => x.signatureType == signatureType\r\n );\r\n result = users?.map((x) => x.userID).includes(this.currentUser?.id ?? 0) ?? false;\r\n } else {\r\n const interD = utils.intersect(\r\n this.documentRolePermissions\r\n ?.filter((x) => x.checklistPrivilege == checklistPriv)\r\n .map((x) => x.roleID),\r\n this.currentUser?.userRole?.map((x) => x.roleID)\r\n );\r\n const canApprove =\r\n ((this.currentTemplateType?.samePersonCanApprove ||\r\n (!this.currentTemplateType?.samePersonCanApprove &&\r\n this.currentUser?.id != this.currentTemplateValue?.updatedBy)) &&\r\n signatureType == ProcedureSignatureType.Approver) ||\r\n signatureType != ProcedureSignatureType.Approver;\r\n result = interD && canApprove;\r\n }\r\n // }\r\n return result;\r\n }\r\n\r\n filterSchedulesByTemplateType(schedules: Schedule[], templateType?: TemplateType | null) {\r\n let filteredSchedules: Schedule[] = [];\r\n if (schedules) {\r\n const hideCustomSchedules = templateType?.hideCustomSchedules;\r\n const scheduleSubtypeID = templateType?.scheduleSubtypeID;\r\n if (scheduleSubtypeID && scheduleSubtypeID > 0) {\r\n filteredSchedules = schedules.filter(\r\n (x) =>\r\n x.typeId == templateType?.scheduleTypeID &&\r\n x.scheduleSubtypeId == scheduleSubtypeID\r\n );\r\n if (filteredSchedules.length == 0) {\r\n const firstScheduleSubtype = templateType.scheduleType?.scheduleSubtypes[0];\r\n if (firstScheduleSubtype?.id == scheduleSubtypeID) {\r\n filteredSchedules = schedules.filter(\r\n (x) => x.typeId == templateType?.scheduleTypeID\r\n );\r\n }\r\n }\r\n } else if (scheduleSubtypeID && scheduleSubtypeID < 0) {\r\n filteredSchedules = schedules.filter(\r\n (x) => x.isActive && x.typeId == 5 && x.statusId == 1 && x.subdetail\r\n );\r\n } else if (templateType?.scheduleTypeID && !scheduleSubtypeID) {\r\n filteredSchedules = schedules.filter(\r\n (x) =>\r\n (x.procedure?.procedureCategoryID == 19 && templateType.id == 32) ||\r\n (x.procedure?.procedureCategoryID == 23 && templateType.id == 31) ||\r\n (x.procedure?.procedureCategoryID == 24 && templateType.id == 33)\r\n );\r\n } else {\r\n filteredSchedules = schedules.filter(\r\n (x) => x.typeId == templateType?.scheduleTypeID\r\n );\r\n }\r\n filteredSchedules = filteredSchedules.filter(\r\n (x) =>\r\n x.statusId == ScheduleStatusEnum.new ||\r\n x.statusId == ScheduleStatusEnum.extensionGranted ||\r\n x.statusId == ScheduleStatusEnum.refuseExtension ||\r\n x.statusId == ScheduleStatusEnum.requestExtension\r\n );\r\n if (this.getProcedure()) {\r\n filteredSchedules = filteredSchedules.filter(\r\n (x) => x.procedureMasterID\r\n );\r\n }\r\n if (hideCustomSchedules) {\r\n filteredSchedules = filteredSchedules.filter(\r\n (x) => x.scheduleResources.filter((s) => (s.resourceId ?? 0) > 0).length > 0\r\n );\r\n }\r\n filteredSchedules.map((schedule) => {\r\n schedule.name = schedule.scheduleResources\r\n .map((val) => {\r\n const names = [];\r\n if (val.resourceId == null && !val.resourceString?.includes(\"(EC\")) {\r\n names.push(val.resourceString);\r\n } else {\r\n if (val.resource) {\r\n names.push(val.resource.name);\r\n }\r\n }\r\n return names;\r\n }).join(\"-\");\r\n schedule.description = schedule.scheduleResources\r\n .map((val) => {\r\n const descs = [];\r\n if (val.resourceId == null && !val.resourceString?.includes(\"(EC\")) {\r\n descs.push(val.resourceString);\r\n } else {\r\n if (val.resource) {\r\n descs.push(val.resource.description);\r\n }\r\n }\r\n return descs;\r\n }).join(\"\");\r\n });\r\n filteredSchedules.map(s => s.objectInfo = this.hasTemplatesInProgress(s));\r\n filteredSchedules = filteredSchedules.sort((a, b) =>\r\n utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name)\r\n );\r\n }\r\n return filteredSchedules;\r\n }\r\n\r\n hasTemplatesInProgress(s: Schedule) {\r\n let checkSchedule = false;\r\n let checkProcedure = false;\r\n const checklistTemplate = this.checklistTemplates?.find(t => t.schedule?.id == s.id);\r\n if (checklistTemplate) {\r\n checkSchedule = ![ChecklistTemplateStatusEnum.Active, ChecklistTemplateStatusEnum.Archived].includes(checklistTemplate.status as number);\r\n }\r\n return checkSchedule || checkProcedure;\r\n }\r\n\r\n setResources(checklistTemplates: ChecklistTemplate[] | undefined, templateTypes: TemplateType[], schedules: Schedule[]) {\r\n // this.checklistTemplates = checklistTemplates;\r\n checklistTemplates?.map(async (c) => {\r\n c.templateType = templateTypes?.find((x) => x.id == c.templateTypeID);\r\n if (c.templateType)\r\n c.templateType.checklistTemplates = [];\r\n if (c.templateType?.scheduleTypeID) {\r\n if (schedules?.length > 0) {\r\n let schedule = null;\r\n if (c.templateType.scheduleSubtypeID != -1) {\r\n schedule = schedules.find(\r\n (x) =>\r\n ((x.scheduleResources\r\n .map((r) => r.resourceId)\r\n .includes(c.resourceID) &&\r\n c.resourceID) ||\r\n (c.resourceString &&\r\n x.scheduleResources\r\n .map((r) => r.resourceString)\r\n .includes(c.resourceString))) &&\r\n x.typeId == c.templateType?.scheduleTypeID &&\r\n (c.templateType?.scheduleSubtypeID\r\n ? x.scheduleSubtypeId == c.templateType.scheduleSubtypeID\r\n : true)\r\n );\r\n c.schedule = schedule;\r\n c.scheduleID = schedule?.id;\r\n if (!c.procedureID && c.schedule?.procedure) {\r\n await this.updateProcedure(c, c.schedule.procedure);\r\n c.procedure = c.schedule.procedure;\r\n }\r\n else if (c.procedureID) {\r\n c.procedure = this.procedures?.find(x => x.id == c.procedureID);\r\n }\r\n } else {\r\n schedule = schedules.find(\r\n (x) =>\r\n x.subdetail &&\r\n x.typeId == c.templateType?.scheduleTypeID &&\r\n ((x.scheduleResources\r\n .map((r) => r.resourceId)\r\n .includes(c.resourceID) &&\r\n c.resourceID != null) ||\r\n (c.resourceString != null &&\r\n x.scheduleResources\r\n .map((r) => r.resourceString)\r\n .includes(c.resourceString)))\r\n );\r\n c.schedule = schedule;\r\n if (!c.procedureID && c.schedule?.subdetail?.procedure) {\r\n await this.updateProcedure(c, c.schedule.subdetail.procedure);\r\n c.procedure = c.schedule.subdetail.procedure;\r\n }\r\n else if (c.procedureID) {\r\n c.procedure = this.procedures.find(x => x.id == c.procedureID);\r\n }\r\n }\r\n c.procedureMasterID = c.procedure?.procedureMasterID;\r\n const resource = schedule?.scheduleResources.find(\r\n (x) => (x.resourceId ?? 0) > 0\r\n );\r\n if (\r\n resource?.resource &&\r\n (!c.resourceID ||\r\n !c.resourceString ||\r\n c.resourceID != resource.resourceId)\r\n ) {\r\n await this.updateResource(c, resource.resource);\r\n }\r\n }\r\n } else {\r\n if (c.resourceID) {\r\n c.resourceString = c.resource?.name;\r\n } else if (c.templateType?.allowMultipleVersions) {\r\n c.resourceString = c.name;\r\n }\r\n }\r\n if (!c.procedure && c.procedureMasterID) {\r\n const procedure = this.getProcedureByMasterID(c.procedureMasterID);\r\n if (procedure) {\r\n await this.updateProcedure(c, procedure);\r\n c.procedure = procedure;\r\n }\r\n }\r\n });\r\n // this.checklistTemplates = checklistTemplates;\r\n return checklistTemplates;\r\n }\r\n\r\n async updateProcedure(c: ChecklistTemplate, p: Procedure) {\r\n if (!c.procedureID && p && c.procedureID != p.id) {\r\n c.procedureID = p?.id;\r\n c.procedureMasterID = p?.procedureMasterID;\r\n this.updateTemplate(c);\r\n }\r\n }\r\n\r\n async updateResource(c: ChecklistTemplate, r: Resource) {\r\n if (c.resourceID != r.id || c.resourceString != r.name) {\r\n c.resourceID = r.id;\r\n c.resourceString = r.name;\r\n this.updateTemplate(c);\r\n }\r\n }\r\n\r\n async updateTemplate(c: ChecklistTemplate) {\r\n this.updateChecklistTemplate(utils.Serialize(c)).toPromise();\r\n }\r\n\r\n userCanBeAdded(\r\n procedure: Procedure,\r\n procedureSignatureType: ProcedureSignatureType\r\n ) {\r\n const privilege = this._procedure.getPrivilege(\r\n procedure?.procedureCategory?.procedureTypeID ?? 0,\r\n procedureSignatureType\r\n );\r\n const addedAlready = procedure?.procedureSignatures?.some((x) => x.userID === this.currentUser?.id);\r\n if (privilege) {\r\n const hasPrivilege = this._token.hasPrivilege(privilege);\r\n return (\r\n this.statusCheckAdd(procedureSignatureType) &&\r\n hasPrivilege &&\r\n (!addedAlready || this.isSubscribedAsApprover(procedure, procedureSignatureType))\r\n );\r\n } else {\r\n const roles =\r\n this.currentTemplateType?.documentType?.templateRolePermissions\r\n ?.filter(\r\n (x) =>\r\n (x.checklistPrivilege == 1 &&\r\n procedureSignatureType == ProcedureSignatureType.Preparer) ||\r\n (x.checklistPrivilege == 9 &&\r\n procedureSignatureType == ProcedureSignatureType.Approver)\r\n )\r\n .map((x) => x.roleID);\r\n const hasRole = utils.intersect(this.currentUser?.userRole?.map((x) => x.roleID), roles);\r\n return hasRole && !addedAlready;\r\n }\r\n }\r\n\r\n isSubscribedAsApprover(procedure: Procedure, procedureSignatureType: ProcedureSignatureType) {\r\n return procedure.procedureSignatures?.find(x => x.userID == this.currentUser?.id && x.signatureType == ProcedureSignatureType.Approver) && !this.isSubscribedAsPreparer(procedure, procedureSignatureType) && !this.isSubscribedAsReviewer(procedure, procedureSignatureType) && procedureSignatureType != ProcedureSignatureType.Approver;\r\n }\r\n\r\n isSubscribedAsPreparer(procedure: Procedure, procedureSignatureType: ProcedureSignatureType) {\r\n return procedure.procedureSignatures?.find(x => x.userID == this.currentUser?.id && x.signatureType == ProcedureSignatureType.Preparer) && procedureSignatureType == ProcedureSignatureType.Preparer;\r\n }\r\n\r\n isSubscribedAsReviewer(procedure: Procedure, procedureSignatureType: ProcedureSignatureType) {\r\n return procedure.procedureSignatures?.find(x => x.userID == this.currentUser?.id && x.signatureType == ProcedureSignatureType.Reviewer) && procedureSignatureType == ProcedureSignatureType.Reviewer;\r\n }\r\n\r\n otherUserCanBeAdded(\r\n procedure: Procedure,\r\n procedureSignatureType: ProcedureSignatureType\r\n ) {\r\n if (procedure?.procedureCategory?.procedureTypeID) {\r\n const privilege = this._procedure.getPrivilege(procedure?.procedureCategory?.procedureTypeID, procedureSignatureType);\r\n if (privilege) {\r\n return this.statusCheckAdd(procedureSignatureType);\r\n } else {\r\n const roles =\r\n this.currentTemplateType?.documentType?.templateRolePermissions\r\n ?.filter(\r\n (x) =>\r\n (x.checklistPrivilege == 1 &&\r\n procedureSignatureType == ProcedureSignatureType.Preparer) ||\r\n (x.checklistPrivilege == 9 &&\r\n procedureSignatureType == ProcedureSignatureType.Approver)\r\n )\r\n .map((x) => x.roleID);\r\n const hasRole =\r\n utils.intersect(this.currentUser?.userRole?.map((x) => x.roleID), roles);\r\n return hasRole;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n statusCheckAdd(procedureSignatureType: ProcedureSignatureType) {\r\n let statusCheck = false;\r\n switch (procedureSignatureType) {\r\n case ProcedureSignatureType.Preparer:\r\n statusCheck =\r\n this.currentTemplateValue?.status == ChecklistTemplateStatusEnum.Draft ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsInProgress ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsPending ||\r\n !this.currentTemplate;\r\n break;\r\n case ProcedureSignatureType.Reviewer:\r\n statusCheck =\r\n this.currentTemplateValue?.status == ChecklistTemplateStatusEnum.Draft ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsInProgress ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsPending ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.InReview ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.PendingRev ||\r\n this.currentTemplateValue?.status == ChecklistTemplateStatusEnum.Rejected;\r\n break;\r\n case ProcedureSignatureType.Approver:\r\n statusCheck =\r\n this.currentTemplateValue?.status == ChecklistTemplateStatusEnum.Draft ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsInProgress ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.CorrectionsPending ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.InReview ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.PendingRev ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.Rejected ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.PendingApr ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.Approving ||\r\n this.currentTemplateValue?.status ==\r\n ChecklistTemplateStatusEnum.Suggesting;\r\n break;\r\n }\r\n return statusCheck;\r\n }\r\n\r\n onDragMoved(e: CdkDragMove) {\r\n const headerH = 170;\r\n const scrollThreshold = 50;\r\n const scrollDistance = 50;\r\n const scrollableContainer = document.querySelector('.sidenav-content');\r\n const clientHeight = scrollableContainer?.clientHeight ?? 0;\r\n // console.log('pointer: ' + this.pointerY + ' - height: ' + (clientHeight - 50));\r\n if (this.pointerY > clientHeight - scrollThreshold + headerH)\r\n scrollableContainer?.scrollBy({ top: scrollDistance, left: 0 });\r\n if (this.pointerY < headerH + scrollThreshold)\r\n scrollableContainer?.scrollBy({ top: -scrollDistance, left: 0 });\r\n }\r\n\r\n hasErrors(task: WfTaskLocalResource, statuses?: any[]) {\r\n const errorMessages = [];\r\n let value = false;\r\n\r\n if (task) {\r\n switch (task.componentID) {\r\n case ComponentType.Note:\r\n case ComponentType.Subtitle:\r\n case ComponentType.TextNumericHead:\r\n value = false;\r\n break;\r\n\r\n case ComponentType.CheckboxMultipleSign:\r\n case ComponentType.ShieldingsComponent:\r\n value = (utils.JSONparse(task.options) as RoleOption[]).length == 0;\r\n if (value) errorMessages.push(\"No Roles were defined\");\r\n break;\r\n\r\n case ComponentType.StatusChange:\r\n const statusId = utils.JSONparse(task.configuration)?.status;\r\n const status = statuses?.find((x) => x.id == statusId);\r\n value = !status;\r\n if (value) {\r\n errorMessages.push(\"Wrong status Setting!\");\r\n }\r\n break;\r\n\r\n case ComponentType.CheckboxMultiple:\r\n case ComponentType.CheckboxAndRadio:\r\n const options = utils.JSONparse(task.options) as Option[];\r\n if (!options.length) {\r\n value = true;\r\n errorMessages.push(\"No Options were defined\");\r\n };\r\n if (options.length && options.some(o => !o.value)) {\r\n value = true;\r\n errorMessages.push(\"No Values were defined for one or more Options\");\r\n }\r\n break;\r\n\r\n case ComponentType.CheckboxMultipleWithTextbox:\r\n const optionsx = utils.JSONparse(task.options) as Option[];\r\n if (optionsx.length && optionsx.some(o => !o.value)) {\r\n value = true;\r\n errorMessages.push(\"No Values were defined for one or more Options\");\r\n }\r\n break;\r\n\r\n case ComponentType.CheckboxRadioLocation:\r\n const options1 = utils.JSONparse(task.options) as Option[];\r\n if (!options1.length) {\r\n value = true;\r\n errorMessages.push(\"No Options were defined\");\r\n };\r\n if (options1.length && options1.some(o => !o.value)) {\r\n value = true;\r\n errorMessages.push(\"No Values were defined for one or more Options\");\r\n }\r\n const val = JSON.parse(task.configuration ?? '').val;\r\n if (!val) {\r\n value = true;\r\n errorMessages.push(\"No Location defined\");\r\n }\r\n break;\r\n\r\n case ComponentType.BRATOI:\r\n const id = JSON.parse(task.configuration ?? '').idBRATOIRelated;\r\n value = !id;\r\n if (value) errorMessages.push(\"No BRATOI defined\");\r\n break;\r\n\r\n case ComponentType.PlaceholderCondition:\r\n\r\n break;\r\n\r\n case ComponentType.Comments:\r\n case ComponentType.Catl:\r\n if (!task.wfRoleLocals?.length) {\r\n value = true;\r\n errorMessages.push(\"No Roles were defined\");\r\n }\r\n break;\r\n\r\n default:\r\n if (!task.wfRoleLocals?.length) {\r\n value = true;\r\n errorMessages.push(\"No Roles were defined\");\r\n }\r\n if (!task.wfActionLocals?.length) {\r\n value = true;\r\n errorMessages.push(\"No Actions were defined\");\r\n }\r\n break;\r\n }\r\n }\r\n const result = { value, errors: errorMessages.join(\", \") + \"!\" } as TaskError;\r\n return result;\r\n }\r\n\r\n checkExistingTemplates(checklistTemplate: ChecklistTemplate) {\r\n if (checklistTemplate.scheduleID && checklistTemplate?.procedureID) {\r\n const existingTemplate = this.checklistTemplates?.find(x => checklistTemplate?.procedureID && x.procedureID == checklistTemplate?.procedureID && x.status != ChecklistTemplateStatusEnum.Active && x.status != ChecklistTemplateStatusEnum.Archived) != null;\r\n const existingActiveTemplate = this.checklistTemplates?.find(x => checklistTemplate?.procedureID && x.procedureID == checklistTemplate?.procedureID && x.status == ChecklistTemplateStatusEnum.Active) != null;\r\n return existingTemplate || existingActiveTemplate;\r\n }\r\n return false;\r\n }\r\n\r\n visibleElements: HTMLElement[] = [];\r\n visibleElementIds: string[] = [];\r\n\r\n checkVisibleElements(container: HTMLElement): void {\r\n const classNames = ['section-container', 'step-container', 'task-container'];\r\n\r\n const elements = container.querySelectorAll(\r\n classNames.map(cls => `.${cls}`).join(',')\r\n );\r\n\r\n const containerRect = container.getBoundingClientRect();\r\n const visible: HTMLElement[] = [];\r\n\r\n elements.forEach((element: Element) => {\r\n const rect = element.getBoundingClientRect();\r\n\r\n // Top and bottom halves of the element\r\n const topHalf = rect.top + rect.height / 2;\r\n const bottomHalf = rect.bottom - rect.height / 2;\r\n\r\n // Check if either half is within the container\r\n if (\r\n (rect.top >= containerRect.top && rect.top <= containerRect.bottom) || // Top visible\r\n (topHalf >= containerRect.top && topHalf <= containerRect.bottom) || // Top half visible\r\n (rect.bottom >= containerRect.top && rect.bottom <= containerRect.bottom) || // Bottom visible\r\n (bottomHalf >= containerRect.top && bottomHalf <= containerRect.bottom) // Bottom half visible\r\n ) {\r\n visible.push(element as HTMLElement);\r\n }\r\n });\r\n\r\n // Include parent containers for visible elements\r\n const allVisibleElements = this.addParentContainers(visible);\r\n\r\n // Update the visible elements without duplicates\r\n this.visibleElements = Array.from(new Set(allVisibleElements));\r\n\r\n // Optional: Log results\r\n console.log('Combined visible elements:', this.visibleElements);\r\n\r\n // Create an array of IDs from the visible elements\r\n this.visibleElementIds = this.visibleElements\r\n .map(element => element.id)\r\n .filter(id => id); // Filter out elements without an ID\r\n\r\n console.log('Visible element IDs:', this.visibleElementIds);\r\n }\r\n\r\n private addParentContainers(visibleElements: HTMLElement[]): HTMLElement[] {\r\n const combined = new Set(visibleElements);\r\n\r\n visibleElements.forEach((element: HTMLElement) => {\r\n let parent = element.parentElement;\r\n while (parent) {\r\n if (\r\n parent.classList.contains('section-container') ||\r\n parent.classList.contains('step-container')\r\n ) {\r\n combined.add(parent); // Add parent to the set\r\n }\r\n parent = parent.parentElement; // Traverse up the hierarchy\r\n }\r\n });\r\n\r\n return Array.from(combined);\r\n }\r\n}\r\n\r\nexport interface TaskError {\r\n value: boolean;\r\n errors: string;\r\n}\r\n","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Checklist } from '../../checklists';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Document } from 'src/app/services/documents/documents';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { DocumentChip } from 'src/app/controls/checklist-chips/document-chips.component';\r\n\r\n@Component({\r\n selector: 'checklist-exec-related',\r\n templateUrl: './checklist-exec-related.component.html',\r\n styleUrls: ['./checklist-exec-related.component.scss']\r\n})\r\nexport class ChecklistExecRelatedComponent extends BaseComponent implements OnChanges {\r\n\r\n documents?: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n\r\n @Input() checklist?: Checklist | null;\r\n\r\n documentChips?: DocumentChip[];\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadDocuments();\r\n }\r\n\r\n loadDocuments() {\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data?.length) {\r\n this.documentChips = [];\r\n this.documents = data;\r\n this.checklist?.relatedDocuments?.map(r => {\r\n const document = this.documents?.find(d => d.formID == r.originalDocumentId && d.type == r.originalDocumentTypeId);\r\n if (document) {\r\n const documentChip = { id: document?.formID, serialNo: document?.serialNo, cssClass: document?.cssClass, status: document?.statusName } as DocumentChip;\r\n this.documentChips?.push(documentChip);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n Related\r\n \r\n
\r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';\r\nimport { Checklist, Annotation, AnnotationStatus } from '../../checklists';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'checklist-exec-review-summary',\r\n templateUrl: './checklist-exec-review-summary.component.html',\r\n styleUrls: ['./checklist-exec-review-summary.component.scss']\r\n})\r\nexport class ChecklistExecReviewSummaryComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() currentChecklist?: Checklist | null;\r\n\r\n totalAnnotations!: number;\r\n activeAnnotations!: number;\r\n\r\n annotations!: Annotation[];\r\n annotations$!: Observable;\r\n annotationsSubs!: Subscription;\r\n\r\n\r\n formStatus = FormStatusEnum;\r\n constructor(\r\n private store: Store\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.annotationsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.activeAnnotations = this.currentChecklist?.annotations?.filter(x => x.status == AnnotationStatus.Active).length ?? 0;\r\n this.totalAnnotations = this.currentChecklist?.annotations?.length ?? 0;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadAnnotations();\r\n }\r\n\r\n loadAnnotations() {\r\n this.annotations$ = this.store.select(state => state.Annotations.data);\r\n this.annotationsSubs = this.annotations$.subscribe(data => {\r\n if (this.currentChecklist) {\r\n this.annotations = data.filter(x => x.checklistID == this.currentChecklist?.id);\r\n this.activeAnnotations = this.annotations?.filter(x => x.status == AnnotationStatus.Active).length;\r\n this.totalAnnotations = this.annotations?.length;\r\n }\r\n });\r\n }\r\n\r\n}\r\n","\r\n\t
\r\n\t\t
\r\n\t\t\treviews\r\n\t\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\tTotal Suggestions: {{ totalAnnotations }}\r\n\t\t\t\t
\r\n\t\t\t\tActive Suggestions: {{ activeAnnotations }}\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { Checklist, TemplateType } from '../../checklists';\r\nimport { ChecklistsService } from '../../checklists.service';\r\nimport { ChecklistsUpdate } from '../../store/checklists/checklists.action';\r\nimport { Location } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { Review } from 'src/app/components/reviews/reviews.models';\r\nimport { MatSort } from '@angular/material/sort';\r\n\r\n@Component({\r\n selector: 'checklist-exec-side',\r\n templateUrl: './checklist-exec-side.component.html',\r\n styleUrls: ['./checklist-exec-side.component.scss']\r\n})\r\n\r\nexport class ChecklistExecSideComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() documentTypeId!: number;\r\n @Input() filter?: string | null;\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n currentChecklist?: Checklist | null;\r\n checklists$!: Observable;\r\n checklists!: Checklist[];\r\n checklistsSubs!: Subscription;\r\n\r\n reviews!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n inactiveFormStatuses = [\r\n FormStatusEnum.Closed,\r\n FormStatusEnum.Canceled\r\n ];\r\n\r\n public selectedRowIndex = -1;\r\n\r\n disabled!: boolean;\r\n isStatusChange!: boolean;\r\n\r\n filteredChecklists?: Checklist[];\r\n\r\n documentType?: DocumentType;\r\n documentTypes!: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n templateType!: TemplateType;\r\n\r\n showClosed!: boolean;\r\n loaded!: boolean;\r\n\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n schedulesSubs!: Subscription;\r\n\r\n public displayedColumns: string[] = ['serialNo', 'resourceName', 'typeName', 'procedureNo', 'statusName'];\r\n public dataSource = new MatTableDataSource();\r\n\r\n formStatus = FormStatusEnum;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private route: ActivatedRoute,\r\n private _service: ChecklistsService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (!changes['filter'])\r\n this.loadReviews();\r\n this.loadDocumentTypes();\r\n this.loadChecklists();\r\n }\r\n\r\n\r\n override ngOnDestroy(): void {\r\n this.checklistsSubs?.unsubscribe();\r\n this.schedulesSubs?.unsubscribe();\r\n this.documentTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n setColumns() {\r\n const templateTypes = this.filteredChecklists?.map(x => x.checklistTemplate?.templateType as TemplateType);\r\n if (templateTypes?.some(x => x.resourceTypeID) || templateTypes?.some(x => x.scheduleTypeID)) {\r\n this.displayedColumns = ['serialNo', 'resourceName', 'typeName', 'procedureNo', 'statusName'];\r\n }\r\n else if (this.filteredChecklists?.some(c => c.locations != null)) {\r\n this.displayedColumns = ['serialNo', 'resourceName', 'typeName', 'statusName'];\r\n }\r\n else {\r\n this.displayedColumns = ['serialNo', 'typeName', 'statusName'];\r\n }\r\n if (this.filteredChecklists?.some(c => c.review)) {\r\n // Find the index of 'statusName'\r\n const statusIndex = this.displayedColumns.indexOf('statusName');\r\n if (statusIndex !== -1) {\r\n // Insert 'review' before 'statusName'\r\n this.displayedColumns.splice(statusIndex, 0, 'review');\r\n } else {\r\n // Fallback: if 'statusName' is not found, add 'review' at the end\r\n this.displayedColumns.push('review');\r\n }\r\n }\r\n }\r\n\r\n loadChecklists() {\r\n if (!this.disabled) {\r\n this.setLoading(true, 125);\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(async data => {\r\n if (data.length) {\r\n this.checklists = data;\r\n this.filteredChecklists = this.checklists.filter(x => x.checklistTemplate?.documentTypeID == this.documentTypeId && (!this.inactiveFormStatuses.includes(x.checklistStatus?.formStatusID ?? 0) || this.showClosed)).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n this.setReviews();\r\n this.setColumns();\r\n this.dataSource = new MatTableDataSource(this.filteredChecklists);\r\n this.setSortingAccessor();\r\n const openDocument = await this.checkOpenDocument(this.documentTypeId, data);\r\n if (openDocument && this.currentChecklist?.id != openDocument.document.id) {\r\n this.setLoading(true, 136);\r\n this.showClosed = this.showClosed ? this.showClosed : openDocument.closed;\r\n this.getValues(openDocument.document);\r\n }\r\n else this.setLoading(false, 136);\r\n\r\n this.checkStatus();\r\n this.setLocations();\r\n this.applyFilter();\r\n this.setLoading(false, 125);\r\n }\r\n });\r\n }\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (item, property) => {\r\n switch (property) {\r\n case 'typeName':\r\n return item.checklistTemplate?.templateType?.name ?? '';\r\n case 'procedureNo':\r\n return item.checklistTemplate?.procedure?.procedureNumber;\r\n case 'review':\r\n return (item.review?.reviewType?.code ?? '') +\r\n ' ' +\r\n (item.review?.reviewCycle?.location ?? '');\r\n case 'statusName':\r\n return item.checklistStatus?.description\r\n ? item.checklistStatus?.description.replace('Checklist', '')\r\n : item.statusName;\r\n default:\r\n return (item as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n this.reviews = data;\r\n this.setReviews();\r\n });\r\n }\r\n\r\n setReviews() {\r\n this.filteredChecklists?.map(c => {\r\n c.review = this.reviews?.find(r => r.checklistID == c.id);\r\n });\r\n this.setColumns();\r\n }\r\n\r\n setLocations() {\r\n this.filteredChecklists?.filter(c => !c.resourceName).map(c => c.resourceName = (this.utils.JSONparse(c.locations) as Location[])?.map(l => this.formatLocation(l))?.join(', '));\r\n this.filteredChecklists?.map(c => {\r\n if (c.resourceName)\r\n c.resourceNameSanitized = this.sanitize(c.resourceName);\r\n });\r\n }\r\n\r\n formatLocation(l: Location) {\r\n if (!l.newLocation) return l.name;\r\n return '' + l.name + '';\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.setLoading(true, 181);\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n this.documentTypes = data;\r\n this.setLoading(false, 181);\r\n this.documentType = this.documentTypes.find(x => x.id == this.documentTypeId);\r\n });\r\n }\r\n\r\n checkStatus() {\r\n if (this.currentChecklist) {\r\n const currentStatus = this.currentChecklist?.checklistStatus;\r\n this.currentChecklist = this.checklists.find(x => x.id == this.currentChecklist?.id);\r\n if (currentStatus && !this.currentChecklist) {\r\n return;\r\n }\r\n if (this.currentChecklist?.checklistStatus?.id != currentStatus?.id && !this.loaded) {\r\n this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', this.currentChecklist?.serialNo), new MessagePlaceholder('{status}', this.currentChecklist?.checklistStatus?.description)]);\r\n }\r\n if (!this.showClosed && (this.currentChecklist?.checklistStatus?.formStatusID == FormStatusEnum.Closed || this.currentChecklist?.checklistStatus?.formStatusID == FormStatusEnum.Canceled)) {\r\n this.showClosed = true;\r\n }\r\n }\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data?.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n async getValues(row: Checklist) {\r\n if (!this.disabled) {\r\n row.wfTable = null;\r\n this.setLoading(true, 215);\r\n this.rowSelected.emit(row);\r\n this.currentChecklist = row;\r\n this.disabled = true;\r\n this.selectedRowIndex = row.id;\r\n\r\n if (row?.id) {\r\n this.setOpenDocument(this.documentTypeId, row.id);\r\n this._service.getById(row.id).toPromise().then(data => {\r\n if (data) {\r\n this.currentChecklist = data;\r\n this.setOpenDocument(data.documentTypeID ?? 0, data.id);\r\n if (row.verificationList) {\r\n this.currentChecklist.verificationList = row.verificationList;\r\n this.currentChecklist.verifiedOK = row.verifiedOK;\r\n }\r\n\r\n this.disabled = false;\r\n if (data.id != row?.id || !row.wfTable)\r\n this.store.dispatch(new ChecklistsUpdate(data.id, data));\r\n this.rowSelected.emit(this.currentChecklist);\r\n this.setLoading(false, 215);\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n selectCreatedRow(e: any) {\r\n if (e.status == -1) {\r\n this.showClosed = true;\r\n }\r\n this.currentChecklist = e;\r\n this.disabled = false;\r\n this.getValues(e);\r\n }\r\n\r\n selectCanceledRow(e: any) {\r\n this.showClosed = true;\r\n this.currentChecklist = e;\r\n this.disabled = false;\r\n this.getValues(e);\r\n }\r\n\r\n unselect() {\r\n this.selectedRowIndex = -1;\r\n this.currentChecklist = null;\r\n this.rowSelected.emit(null);\r\n }\r\n\r\n applyFilter(filterValue: string | null = null) {\r\n const filter = filterValue ? filterValue.toLowerCase() : filterValue == '' ? '' : this.filter?.toLowerCase();\r\n this.filter = filter;\r\n if (filter) {\r\n this.dataSource = new MatTableDataSource(this.filteredChecklists?.filter(c => c.serialNo?.toLowerCase().includes(filter) || c.resourceName?.toLowerCase().includes(filter) || c.typeName?.toLowerCase().includes(filter) || c.statusName?.toLowerCase().includes(filter) || c.checklistTemplate?.templateType?.name?.toLowerCase().includes(filter) || c.checklistTemplate?.procedure?.procedureNumber?.toLowerCase().includes(filter) || c.checklistStatus?.description?.toLowerCase().includes(filter)));\r\n }\r\n else this.dataSource = new MatTableDataSource(this.filteredChecklists);\r\n this.setSortingAccessor();\r\n }\r\n\r\n changeClosed() {\r\n this.loadChecklists();\r\n }\r\n\r\n getClass(s: number) {\r\n const checklistExecStatus = this.documentTypes?.find(x => x.id == this.documentTypeId)?.checklistExecStatuses?.find(x => x.formStatusID == s);\r\n return checklistExecStatus?.cssClass;\r\n }\r\n\r\n setLoading(val: boolean, l: number) {\r\n this.loading.emit({ val, l });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n Show Closed/Canceled Checklists\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n No.\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Resource\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Procedure\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Review\r\n \r\n \r\n ' +\r\n (element.review?.reviewStatus?.name\r\n ? '(' + element.review?.reviewStatus?.name + ')'\r\n : '') | highlightSearch : filter\r\n \"\r\n >\r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, Output, SimpleChanges } from '@angular/core';\r\nimport { Checklist } from '../../checklists';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ChecklistsRefreshById } from '../../store/checklists/checklists.action';\r\n\r\n@Component({\r\n selector: 'checklist-exec-standalone',\r\n templateUrl: './checklist-exec-standalone.component.html',\r\n styleUrls: ['./checklist-exec-standalone.component.scss']\r\n})\r\nexport class ChecklistExecStandaloneComponent extends BaseComponent implements OnChanges, OnDestroy {\r\n\r\n @Input() currentChecklist?: Checklist;\r\n @Input() hideToggle?: boolean;\r\n @Input() disabled?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n checklists?: Checklist[];\r\n checklistsFiltered?: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n expanded = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.currentChecklist?.id) this.currentChecklist.loading = true;\r\n this.loadChecklists();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.checklistsSubs?.unsubscribe();\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklists = data;\r\n if (this.currentChecklist) {\r\n const name = this.currentChecklist.name; // Save Checklist name for RSS Functional Tests Checklists\r\n const checklist = this.checklists.find(c => c.id == this.currentChecklist?.id);\r\n if (checklist?.id && !checklist?.wfTable) {\r\n this.store.dispatch(new ChecklistsRefreshById(this.currentChecklist.id));\r\n }\r\n else if (checklist) {\r\n checklist.name = name;\r\n this.currentChecklist = checklist;\r\n this.currentChecklist.loading = false;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n
\r\n \r\n {{ currentChecklist?.name }}\r\n {{\r\n \" (\" + currentChecklist?.serialNo + \")\"\r\n }}\r\n \r\n \r\n {{ currentChecklist?.serialNo }}\r\n \r\n \r\n
\r\n
\r\n \r\n {{ currentChecklist?.checklistTemplate?.templateType?.name }}\r\n \r\n
\r\n
\r\n
\r\n {{ currentChecklist?.checklistStatus?.name }}\r\n
\r\n \r\n \r\n\r\n","import { AfterViewInit, Component, EventEmitter, Injector, OnDestroy, OnInit, Output, ViewChild } from \"@angular/core\";\r\nimport { FormControl } from \"@angular/forms\";\r\nimport { MatAutocompleteTrigger } from \"@angular/material/autocomplete\";\r\nimport { MatSidenav } from \"@angular/material/sidenav\";\r\nimport { ActivatedRoute } from \"@angular/router\";\r\nimport { Subscription, Observable } from \"rxjs\";\r\nimport { FormStatusEnum, FormType } from \"src/app/common/enumerations/enumerations\";\r\nimport { CancelDialogComponent } from \"src/app/controls/cancel-dialog/cancel-dialog.component\";\r\nimport { ActionItemsStoreAndListenersService } from \"src/app/controls/catl/action-item/store/actionItems.store\";\r\nimport { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\nimport { RadLocation } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-location\";\r\nimport { RadMonitor } from \"src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { RSSFunctionalTestService } from \"src/app/services/rss-functional-test/rss-functional-test.service\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { WFSectionLocalResource, WFStepLocalResource, WfSignature } from \"src/app/services/work-flow/work-flow\";\r\nimport { FormStatusesStoreAndListenersService } from \"src/app/store/form-status/form-status.store\";\r\nimport { RSSFunctionalTest } from \"../../rsswa/rss-functional-test\";\r\nimport { ScheduleStatusEnum } from \"../../schedules/models/enums\";\r\nimport { Schedule } from \"../../schedules/models/schedule\";\r\nimport { SchedulesStoreAndListenersService } from \"../../schedules/store/schedules/schedule.store\";\r\nimport { ChecklistBuilderService } from \"../checklist-builder/checklist-builder.service\";\r\nimport { Checklist, TemplateType, ChecklistTemplate, TemplateRolePermission, ChecklistPriv, ChecklistTemplateStatusEnum, SaveChecklistStatusResource, Annotation, AnnotationStatus } from \"../checklists\";\r\nimport { ChecklistsService } from \"../checklists.service\";\r\nimport { ChecklistTemplatesRefreshByDocument } from \"../store/checklist-templates/checklist-templates.action\";\r\nimport { ChecklistsUpdate } from \"../store/checklists/checklists.action\";\r\nimport { TemplateTypesRefreshByDocument, TemplateTypesUpdate } from \"../store/template-types/template-types.action\";\r\nimport { ChecklistExecSideComponent } from \"./checklist-exec-side/checklist-exec-side.component\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { DocumentType } from \"src/app/services/documents/documents\";\r\nimport { RadMonitorService } from \"../../catalogs/rad-monitor/services/rad-monitor.service\";\r\nimport { PlaceholdersService } from \"src/app/services/placeholders/placeholders.service\";\r\nimport { Review } from \"../../reviews/reviews.models\";\r\n\r\n@Component({\r\n selector: \"checklist-exec\",\r\n templateUrl: \"./checklist-exec.component.html\",\r\n styleUrls: [\"./checklist-exec.component.scss\"],\r\n})\r\nexport class ChecklistExecComponent extends BaseComponent implements OnInit, OnDestroy, AfterViewInit {\r\n public radMonitorSubscription!: Subscription;\r\n public radLocSubscription!: Subscription;\r\n\r\n public radMonitors$!: Observable;\r\n public radLocations$!: Observable;\r\n\r\n public radMonitors!: RadMonitor[];\r\n public radLocations!: RadLocation[];\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n\r\n @ViewChild(ChecklistExecSideComponent) public side!: ChecklistExecSideComponent;\r\n @ViewChild(MatAutocompleteTrigger, { read: MatAutocompleteTrigger }) typeTrigger!: MatAutocompleteTrigger;\r\n\r\n @Output() toggleSidePanel = new EventEmitter();\r\n\r\n documentTypeId!: number;\r\n documentType?: DocumentType;\r\n documentTypes!: DocumentType[];\r\n documentTypes$!: Observable;\r\n checklistDocumentType?: DocumentType;\r\n\r\n resourceBased!: boolean;\r\n participants!: User[];\r\n\r\n currentChecklist?: Checklist | null;\r\n\r\n formStatus = FormStatusEnum;\r\n\r\n tmpType!: string;\r\n currentTemplateType?: TemplateType | null;\r\n templateTypes$!: Observable;\r\n templateTypes!: TemplateType[];\r\n filteredTemplateTypes!: TemplateType[];\r\n loadingTypes!: boolean;\r\n typeCtrl = new FormControl();\r\n\r\n currentResource?: Resource | null;\r\n resources!: (Resource | undefined)[];\r\n\r\n currentSchedule?: Schedule | null;\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n filteredSchedules!: Schedule[];\r\n\r\n currentChecklistTemplate?: ChecklistTemplate | null;\r\n templateCtrl = new FormControl();\r\n\r\n loading: boolean = true;\r\n creating!: boolean;\r\n showLoader = true;\r\n\r\n sections!: WFSectionLocalResource[];\r\n allSections!: WFSectionLocalResource[];\r\n templateRolePermissions!: TemplateRolePermission[];\r\n documentRolePermissions!: TemplateRolePermission[];\r\n\r\n checklistPrivilege = ChecklistPriv;\r\n\r\n precheck!: boolean;\r\n\r\n filter?: string | null;\r\n subscription!: Subscription;\r\n templateTypesSubs!: Subscription;\r\n schedulesSubs!: Subscription;\r\n sectionsSubs!: Subscription;\r\n\r\n sections$!: Observable;\r\n\r\n checklists!: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n checklistTemplates!: ChecklistTemplate[];\r\n checklistTemplatesFiltered?: ChecklistTemplate[];\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n annotations!: Annotation[];\r\n annotations$!: Observable;\r\n annotationsSubs!: Subscription;\r\n totalAnnotations!: number;\r\n activeAnnotations!: number;\r\n\r\n reviews?: Review[];\r\n reviewsFiltered?: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n scheduleBased!: boolean;\r\n\r\n rssFunctionalTest!: RSSFunctionalTest | null;\r\n\r\n currentProcedure?: Procedure | null;\r\n procedures!: (Procedure | undefined)[];\r\n filteredProcedures!: Procedure[];\r\n procedureCtrl = new FormControl();\r\n\r\n sub!: Subscription;\r\n procedure!: Procedure;\r\n\r\n expandedAll = false;\r\n\r\n isCollapsible!: boolean;\r\n isProcedureRelated!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private route: ActivatedRoute,\r\n private builderService: ChecklistBuilderService,\r\n private service: ChecklistsService,\r\n private placeholdersService: PlaceholdersService,\r\n private rmService: RadMonitorService,\r\n private rssFunctionalTestService: RSSFunctionalTestService,\r\n actionItemsStore: ActionItemsStoreAndListenersService,\r\n scheduleStore: SchedulesStoreAndListenersService,\r\n formStatusStore: FormStatusesStoreAndListenersService,\r\n ) {\r\n super(injector);\r\n\r\n scheduleStore.initStore();\r\n scheduleStore.initListeners();\r\n\r\n formStatusStore.initListeners();\r\n formStatusStore.initStore();\r\n actionItemsStore.initStore(0);\r\n actionItemsStore.initListeners();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n\r\n override ngOnDestroy(): void {\r\n this.subscription?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.schedulesSubs?.unsubscribe();\r\n this.sectionsSubs?.unsubscribe();\r\n this.checklistsSubs?.unsubscribe();\r\n this.radMonitorSubscription?.unsubscribe();\r\n this.radLocSubscription?.unsubscribe();\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n this.reviewsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadCurrentUser();\r\n this.placeholdersService.clearkeyValues();\r\n this.placeholdersService.getAll().toPromise();\r\n this.sub = this.route.params.subscribe((params) => {\r\n if (this.documentTypeId != +params[\"type\"]) {\r\n this.ngOnDestroy();\r\n this.loadDocumentTypes();\r\n this.clear();\r\n this.clearSelection();\r\n this.documentTypeId = +params[\"type\"].toString().split('?')[0];\r\n this.getInfo();\r\n\r\n this.loadTemplateTypes();\r\n this.loadSchedules(); //loads procedures\r\n this.loadChecklistTemplates();\r\n this.loadChecklists();\r\n this.loadReviews();\r\n }\r\n this.store.dispatch(\r\n new TemplateTypesRefreshByDocument(this.documentTypeId)\r\n );\r\n this.store.dispatch(\r\n new ChecklistTemplatesRefreshByDocument(this.documentTypeId)\r\n );\r\n });\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select((state) => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(async (data) => {\r\n if (data.length) {\r\n this.checklists = data.filter(x => x.checklistTemplate?.documentTypeID == this.documentTypeId);\r\n const checklistOpen = await this.checkOpenDocument(this.documentTypeId, this.checklists);\r\n if (checklistOpen) this.currentChecklist = checklistOpen.document;\r\n if (this.currentChecklist) {\r\n this.currentChecklist = this.checklists.find(x => x.id == this.currentChecklist?.id);\r\n if (this.currentChecklist)\r\n this.currentChecklist.createdByName = this.getUser(this.currentChecklist.createdBy)?.name;\r\n this.rowSelected(this.currentChecklist);\r\n this.loadAnnotations();\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select((state) => state.DocumentType.data);\r\n this.subscription = this.documentTypes$.subscribe(async (data) => {\r\n if (data.length) {\r\n this.documentTypes = data;\r\n this.documentType = this.documentTypes.find(x => x.id == this.documentTypeId);\r\n this.checklistDocumentType = this.documentTypes.find(x => x.id == this.documentType?.type);\r\n }\r\n });\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n if (data?.length) {\r\n this.reviews = data;\r\n }\r\n });\r\n }\r\n\r\n rowSelected(e: Checklist | null = null) {\r\n this.service.isReviewer = this.hasPrivilege(PrivilegeEnum.RadSurveyReviewer) && this.documentTypeId == 12;\r\n if (e?.wfTable) {\r\n this.setLoading({ val: true, l: 'rowSelected' });\r\n if (e.resourceID) {\r\n if (this.currentChecklist && e.id != this.currentChecklist?.id) {\r\n this.placeholdersService.clearkeyValues();\r\n this.currentChecklist = null;\r\n }\r\n if (!this.placeholdersService.keyValuePairs.length)\r\n this.placeholdersService.setKeyValuePairs(e.resource, false).then(() => {\r\n if (this.placeholdersService.keyValuePairs.length) {\r\n this.getChecklist(e);\r\n }\r\n });\r\n else this.getChecklist(e);\r\n }\r\n else {\r\n const values = this.rmService.findRadMonitor(e.wfTable.wfTableLocal?.wfSectionLocals as WFSectionLocalResource[], 'OUT');\r\n const monitor = values?.find((r: any) => r.key == 'monitor')?.val as RadMonitor;\r\n const location = values?.find((r: any) => r.key == 'location')?.val as RadMonitor;\r\n this.placeholdersService.setKeyValuePairs(monitor).then(() => {\r\n this.getChecklist(e);\r\n });\r\n }\r\n }\r\n }\r\n\r\n getChecklist(checklist: Checklist) {\r\n this.currentChecklist = checklist;\r\n this.currentChecklist = this.checklists?.find(x => x.id == this.currentChecklist?.id);\r\n if (this.currentChecklist) {\r\n this.currentChecklist.createdByName = this.getUser(this.currentChecklist.createdBy)?.name;\r\n this.loadInfo();\r\n }\r\n this.setLoading({ val: false, l: 'rowSelected' });\r\n }\r\n\r\n loadProcedures() {\r\n const hutchFunctionalProcedures = this.schedules.filter(x => x.type.documentTypeId == this.documentType?.type && x.scheduleSubtypeId == 2 && x.subdetail?.procedure).map((x) => x.subdetail?.procedure);\r\n\r\n this.procedures = this.schedules.filter(x => x.type.documentTypeId == this.documentType?.type && x.procedure).map(x => x.procedure);\r\n this.procedures = this.procedures.concat(hutchFunctionalProcedures);\r\n\r\n this.procedures.map(p => {\r\n const procedure = this.checklistTemplates?.filter((t) => t.status == 1).find((x) => x.procedureMasterID == p?.procedureMasterID)?.procedure;\r\n if (procedure) { p = procedure; }\r\n });\r\n this.filterProcedures();\r\n this.isProcedureRelated = this.proceduresVisible();\r\n this.procedureCtrl.enable();\r\n }\r\n\r\n filterProcedures() {\r\n if (this.procedures?.length) {\r\n const procedures: Procedure[] = [];\r\n this.procedures?.map(p => {\r\n const procedure = this.checklistTemplates?.filter((t) => t.status == 1).find((x) => x.procedureMasterID == p?.procedureMasterID)?.procedure;\r\n if (procedure) procedures.push(procedure);\r\n });\r\n procedures.map(p => {\r\n const index = this.procedures.findIndex(x => x?.procedureMasterID == p.procedureMasterID);\r\n this.procedures.splice(index, 1);\r\n this.procedures.push(p);\r\n });\r\n this.filteredProcedures = this.procedures.sort((a, b) => this.utils.SortProcedures(a?.procedureNumber, b?.procedureNumber)) as Procedure[];\r\n }\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select((state) => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.subscribe((data) => {\r\n if (data.length) {\r\n this.checklistTemplates = data.filter((t) => t.status == 1);\r\n this.checklistTemplatesFiltered = this.checklistTemplates.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resourceString, b.resourceString));\r\n this.filterProcedures();\r\n }\r\n });\r\n }\r\n\r\n // //#region TemplateTypestemplateCtrl\r\n loadTemplateTypes() {\r\n this.setLoading({ val: true, l: 'loadTemplateTypes' });\r\n this.templateTypes$ = this.store.select((state) => state.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.subscribe(data => {\r\n if (data.length && this.documentRolePermissions) {\r\n this.templateTypes = data?.filter(x => x.status == 1 && x.documentTypeID == this.documentType?.id && this.documentRolePermissions?.filter(p => p.checklistPrivilege == this.checklistPrivilege.CreateChecklist &&\r\n this.hasRoles([p.roleID]))).sort((a, b) => this.utils.sort(a.order, b.order));\r\n this.filteredTemplateTypes = this.templateTypes;\r\n if (this.templateTypes?.length) {\r\n this.checklistTemplates = this.checklistTemplates.filter((x) => x.status == 1);\r\n this.checklistTemplatesFiltered = this.checklistTemplates.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resourceString, b.resourceString));\r\n if (this.currentChecklist) {\r\n this.currentChecklistTemplate = this.currentChecklist.checklistTemplate;\r\n this.currentTemplateType = this.currentChecklist.checklistTemplate?.templateType;\r\n this.filterSchedules();\r\n this.resourceBased = (this.currentTemplateType?.resourceTypeID ?? 0) > 0;\r\n this.scheduleBased = (this.currentTemplateType?.scheduleTypeID ?? 0) > 0;\r\n this.currentSchedule = this.filteredSchedules?.find((x) => x.scheduleResources[0].resourceId ==\r\n this.currentChecklist?.resourceID);\r\n if (this.currentChecklistTemplate) {\r\n this.currentChecklistTemplate.resource = this.currentChecklist.resource;\r\n if (\r\n !this.checklistTemplates.map((x) => x.id).includes(this.currentChecklistTemplate.id)) {\r\n this.checklistTemplates.push(this.currentChecklistTemplate);\r\n }\r\n this.templateCtrl.setValue(this.currentChecklistTemplate);\r\n this.templateCtrl.disable();\r\n this.currentResource = this.currentChecklist.resource;\r\n }\r\n }\r\n this.setLoading({ val: false, l: 'loadTemplateTypes' });\r\n } else {\r\n this.setLoading({ val: data.length == 0, l: 'loadTemplateTypes' });\r\n }\r\n }\r\n });\r\n }\r\n\r\n getTemplate(procedure: Procedure) {\r\n const checklistTemplate = this.checklistTemplates.filter(x => x.procedure).find(x => (x.procedureID == procedure.id ||\r\n x.procedureID == procedure.previousVersionID) && x.status == ChecklistTemplateStatusEnum.Active);\r\n return checklistTemplate;\r\n }\r\n\r\n hasTemplate(procedure: Procedure) {\r\n return this.getTemplate(procedure) != null;\r\n }\r\n\r\n selectedType(e: any) {\r\n this.currentTemplateType = e.option.value as TemplateType;\r\n this.currentProcedure = null;\r\n this.procedureCtrl.setValue(null);\r\n this.templateCtrl.setValue(null);\r\n this.currentSchedule = null;\r\n this.currentChecklistTemplate = null;\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n this.filterSchedules();\r\n this.selectedTemplateType();\r\n }\r\n\r\n selectedTemplateType() {\r\n if (this.currentTemplateType?.checklistTemplates) {\r\n this.checklistTemplates = this.currentTemplateType.checklistTemplates.filter(x => x.status == 1);\r\n this.checklistTemplatesFiltered = this.checklistTemplates.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resourceString, b.resourceString));\r\n if (!this.checklistTemplates.length) {\r\n this.alert.message(\"GenChklistExec_NoTemplatesAvailable\");\r\n this.clearSelection();\r\n return;\r\n }\r\n this.templateCtrl.enable();\r\n this.resourceBased = (this.currentTemplateType.resourceTypeID ?? 0) > 0;\r\n this.scheduleBased = (this.currentTemplateType.scheduleTypeID ?? 0) > 0;\r\n if (this.scheduleBased) {\r\n this.filterSchedules();\r\n } else if (this.resourceBased) {\r\n this.resources = this.checklistTemplates.map(x => x.resource).sort((a, b) => this.utils.SortBeamlines(a?.name, b?.name));\r\n } else if (this.currentTemplateType.allowMultipleVersions) {\r\n } else if (!this.scheduleBased && !this.resourceBased) {\r\n this.currentChecklistTemplate = this.currentTemplateType.checklistTemplates.find(x => x.status == ChecklistTemplateStatusEnum.Active);\r\n if (!this.currentChecklistTemplate) {\r\n this.alert.message(\"GenChklistExec_NoTemplatesAvailable\");\r\n this.clearSelection();\r\n }\r\n }\r\n } else {\r\n if (this.currentTemplateType?.id) {\r\n this.setLoading({ val: true, l: 'getTemplateType' });\r\n this.builderService\r\n .getTemplateType(this.currentTemplateType.id)\r\n .toPromise()\r\n .then((data) => {\r\n if (data) {\r\n this.currentTemplateType = data;\r\n this.store.dispatch(new TemplateTypesUpdate(data.id, data));\r\n this.selectedTemplateType();\r\n this.setLoading({ val: false, l: 'getTemplateType' });\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n selectedTemplateName(e: any) {\r\n this.currentChecklistTemplate = e.option.value;\r\n }\r\n\r\n selectedProcedure(e: any) {\r\n this.currentProcedure = e.option.value as Procedure;\r\n this.checklistTemplates = this.checklistTemplates.filter(x => x.status == 1);\r\n this.checklistTemplatesFiltered = this.checklistTemplates.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resourceString, b.resourceString));\r\n\r\n if (!this.hasTemplate(this.currentProcedure)) {\r\n this.alert.message(\"GenChklistExec_NoTemplatesAvailable\");\r\n this.clearSelection();\r\n return;\r\n }\r\n\r\n this.procedureCtrl.setValue(this.currentProcedure);\r\n this.currentChecklistTemplate = this.getTemplate(this.currentProcedure);\r\n if (this.currentChecklistTemplate) {\r\n this.currentChecklistTemplate.templateType = this.templateTypes.find(x => x.id == this.currentChecklistTemplate?.templateTypeID\r\n );\r\n this.currentTemplateType = this.currentChecklistTemplate.templateType;\r\n this.templateCtrl.setValue(this.currentChecklistTemplate);\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n this.scheduleBased = true;\r\n this.filterSchedules();\r\n this.selectedTemplate(this.currentChecklistTemplate);\r\n }\r\n }\r\n\r\n changedProcedure() {\r\n this.filteredProcedures = this.procedures.filter(x => x?.procedureNumber.toLowerCase().includes(this.procedureCtrl.value.toLowerCase())) as Procedure[];\r\n }\r\n\r\n clearSelection() {\r\n this.typeCtrl.setValue(null);\r\n this.currentTemplateType = null;\r\n this.procedureCtrl.setValue(null);\r\n this.currentProcedure = null;\r\n this.templateCtrl.setValue(null);\r\n this.currentChecklistTemplate = null;\r\n this.templateCtrl.disable();\r\n this.loadChecklistTemplates();\r\n this.loadSchedules();\r\n }\r\n\r\n checkStatus() {\r\n const activeStatusOrder = this.currentTemplateType?.documentType?.checklistExecStatuses?.find(x => x.formStatusID == FormStatusEnum.Active)?.order;\r\n return (this.currentChecklist?.checklistStatus?.order ?? 0) <= (activeStatusOrder ?? 0);\r\n }\r\n\r\n // //#region Schedules\r\n loadSchedules() {\r\n this.setLoading({ val: true, l: 'loadSchedules' });\r\n this.schedules$ = this.store.select((state) => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.subscribe((data) => {\r\n if (data.length) {\r\n this.schedules = data.filter(x => x.statusId != ScheduleStatusEnum.remove && x.statusId != ScheduleStatusEnum.completed).sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.loadProcedures();\r\n this.setLoading({ val: false, l: 'loadSchedules' });\r\n }\r\n });\r\n }\r\n\r\n filterSchedules() {\r\n if (this.currentTemplateType && this.schedules?.length) {\r\n this.filteredSchedules = this.schedules.filter(x => x.typeId == this.currentTemplateType?.scheduleTypeID &&\r\n (this.currentTemplateType?.scheduleSubtype ? x.scheduleSubtypeId == this.currentTemplateType.scheduleSubtypeID : true)).filter(x => this.checklistTemplates?.map((t) => t.resourceID).includes(x.scheduleResources[0].resourceId));\r\n\r\n this.filteredSchedules.map((schedule) => {\r\n const resource = schedule.scheduleResources[0]?.resource;\r\n schedule.name = resource?.name;\r\n schedule.description = resource?.description;\r\n });\r\n }\r\n }\r\n\r\n filterTemplates(e: any) {\r\n const val = (e.target.value as string).toLowerCase();\r\n this.checklistTemplatesFiltered = this.checklistTemplates.filter(x => x.resourceString?.toLowerCase().includes(val));\r\n }\r\n\r\n getSchedule(id: number) {\r\n if (id) {\r\n this.currentSchedule = this.schedules?.find((x) => x.id == id);\r\n } else {\r\n this.currentSchedule = null;\r\n }\r\n return this.currentSchedule;\r\n }\r\n // //#endregion\r\n\r\n getInfo() {\r\n this.clear();\r\n this.loadDocumentTypes();\r\n this.builderService.getTemplateRolePermissionsByDocumentTypeID(this.documentTypeId).toPromise().then((data) => {\r\n if (data)\r\n this.documentRolePermissions = data.filter(x => x.templateTypeID == 0);\r\n this.loadTemplateTypes();\r\n });\r\n }\r\n\r\n clear() {\r\n this.currentChecklist = null;\r\n this.currentSchedule = null;\r\n this.currentResource = null;\r\n this.currentTemplateType = null;\r\n this.procedureCtrl.setValue(null);\r\n this.currentProcedure = null;\r\n this.typeCtrl.setValue(this.currentTemplateType);\r\n this.scheduleBased = false;\r\n this.resourceBased = false;\r\n this.checklistTemplates = [];\r\n this.checklistTemplatesFiltered = this.checklistTemplates;\r\n this.templateCtrl.setValue(null);\r\n this.currentChecklistTemplate = null;\r\n this.sections = [];\r\n this.creating = false;\r\n // this.checklistSections?.loadSections();\r\n }\r\n\r\n displayProcedure(e: any) {\r\n return e ? e.procedureNumber : null;\r\n }\r\n\r\n displayTemplate(e: any) {\r\n return e ? (e.resource ? e.resource.name : e.resourceString) : null;\r\n }\r\n\r\n selectedTemplate(e: ChecklistTemplate) {\r\n this.currentChecklistTemplate = e;\r\n this.currentResource = this.currentChecklistTemplate.resource;\r\n this.currentSchedule = this.filteredSchedules.find(x => this.currentResource ? x.scheduleResources[0]?.resourceId == this.currentResource.id : x.scheduleResources[0].resourceString == this.currentChecklistTemplate?.resourceString);\r\n\r\n this.currentProcedure = this.procedures.find(x => x?.id == this.currentChecklistTemplate?.procedureID ||\r\n x?.previousVersionID == this.currentChecklistTemplate?.procedureID);\r\n this.procedureCtrl.setValue(this.currentProcedure);\r\n }\r\n\r\n createNew() {\r\n this.creating = true;\r\n this.currentChecklist = null;\r\n if (this.scheduleBased) {\r\n this.loadSchedules();\r\n } else {\r\n this.loadTemplateTypes();\r\n }\r\n this.side.unselect();\r\n this.typeCtrl.enable();\r\n this.typeCtrl.setValue(null);\r\n this.procedureCtrl.enable();\r\n this.procedureCtrl.setValue(null);\r\n // this.checklistSections.loadSections();\r\n }\r\n\r\n create() {\r\n if (!this.checklists.filter(x => x.checklistStatus?.formStatusID != FormStatusEnum.Canceled && x.checklistStatus?.formStatusID != FormStatusEnum.Closed).some(x => (x.scheduleId && x.scheduleId == this.currentSchedule?.id && x.checklistTemplate?.templateTypeID == this.currentTemplateType?.id))) {\r\n this.setLoading({ val: true, l: 'create' });\r\n const checklist: Checklist = {\r\n id: 0,\r\n resourceID: this.currentResource?.id,\r\n scheduleId: this.currentSchedule?.id,\r\n checklistTemplateID: this.currentChecklistTemplate?.id,\r\n status: FormStatusEnum.Draft,\r\n };\r\n this.service\r\n .post(checklist)\r\n .toPromise()\r\n .then((data) => {\r\n this.currentChecklist = data;\r\n this.creating = false;\r\n this.setOpenDocument(this.documentTypeId, this.currentChecklist?.id);\r\n this.side.selectCreatedRow(data);\r\n this.setLoading({ val: false, l: 'create' });\r\n });\r\n } else {\r\n this.alert.message(\"ChecklistAlreadyOpen\");\r\n }\r\n }\r\n\r\n async loadInfo() {\r\n this.setLoading({ val: true, l: 'loadInfo' });\r\n this.loadSchedules();\r\n this.loadTemplateTypes();\r\n this.currentProcedure = null;\r\n if (this.currentChecklist) {\r\n this.rssFunctionalTestService.readByChecklistID(this.currentChecklist.id).subscribe(\r\n (data) => (this.rssFunctionalTest = data), () => (this.rssFunctionalTest = null));\r\n\r\n if (!this.currentChecklist?.wfTable) {\r\n this.currentChecklist = this.checklists.find(c => c.id == this.currentChecklist?.id);\r\n if (!this.currentChecklist?.wfTable && this.currentChecklist?.id)\r\n this.currentChecklist = await this.service.getById(this.currentChecklist.id).toPromise();\r\n }\r\n\r\n if (this.currentChecklist) {\r\n if (this.currentChecklist.scheduleId)\r\n this.currentChecklist.schedule = this.getSchedule(this.currentChecklist.scheduleId);\r\n this.sections = [];\r\n this.creating = false;\r\n this.currentProcedure = this.filteredProcedures?.find(x => x.id == this.currentChecklist?.schedule?.procedureID ||\r\n (x.procedureMasterID == this.currentChecklist?.schedule?.procedureMasterID && x.status == 1));\r\n this.isProcedureRelated = this.proceduresVisible();\r\n this.procedureCtrl.setValue(this.currentProcedure);\r\n this.procedureCtrl.disable();\r\n }\r\n }\r\n else {\r\n this.currentTemplateType = null;\r\n this.currentChecklistTemplate = null;\r\n\r\n this.typeCtrl.setValue(null);\r\n this.typeCtrl.enable();\r\n\r\n this.currentProcedure = null;\r\n this.procedureCtrl.setValue(null);\r\n this.currentResource = null;\r\n this.resourceBased = false;\r\n this.currentChecklistTemplate = null;\r\n this.templateCtrl.setValue(null);\r\n\r\n this.sections = [];\r\n }\r\n this.service.isPreparer = this.checkPriv(\r\n this.checklistPrivilege.CreateChecklist\r\n );\r\n if (this.currentChecklist?.documentTypeID)\r\n this.setOpenDocument(this.currentChecklist.documentTypeID, this.currentChecklist?.id)\r\n this.getSections();\r\n this.getReview();\r\n this.setLoading({ val: !this.currentChecklist?.wfTable, l: 'loadInfo' });\r\n }\r\n\r\n getSections() {\r\n this.currentChecklistTemplate = this.currentChecklist?.checklistTemplate;\r\n\r\n this.typeCtrl.setValue(this.currentChecklistTemplate?.templateType);\r\n this.typeCtrl.disable();\r\n this.procedureCtrl.disable();\r\n\r\n this.resourceBased = (this.currentChecklistTemplate?.templateType?.resourceTypeID ?? 0) > 0;\r\n this.scheduleBased = (this.currentChecklistTemplate?.templateType?.scheduleTypeID ?? 0) > 0;\r\n\r\n this.currentResource = this.currentChecklist?.resource;\r\n this.currentSchedule = this.filteredSchedules?.find(x => x.id == this.currentChecklist?.scheduleId);\r\n\r\n if (this.currentSchedule) {\r\n this.currentResource = this.currentSchedule.scheduleResources.find(x => (x.resourceId ?? 0) > 0)?.resource;\r\n if (this.currentChecklist)\r\n this.currentChecklist.schedule = this.currentSchedule;\r\n }\r\n\r\n this.sections = (this.currentChecklist?.wfTable ? this.currentChecklist.wfTable.wfTableLocal?.wfSectionLocals : []) as WFSectionLocalResource[];\r\n this.getParticipants(this.sections);\r\n this.isCollapsible = this.collapsible();\r\n this.loadAnnotations();\r\n this.setHeights();\r\n }\r\n\r\n getReview() {\r\n const review = this.reviews?.find(r => r.checklistID == this.currentChecklist?.id);\r\n if (review && this.currentChecklist) this.currentChecklist.review = review;\r\n }\r\n\r\n checkDisabled(s: WfSignature): boolean {\r\n const statusId = this.utils.JSONparse(s.configuration)?.status;\r\n const statuses = this.currentChecklistTemplate?.documentType?.checklistExecStatuses;\r\n const status = statuses?.find(x => x.id == statusId);\r\n\r\n return this.activeAnnotations > 0 && status == statuses?.find(x => x.formStatusID == FormStatusEnum.PendingReview && this.currentChecklist?.checklistStatus?.formStatusID == FormStatusEnum.Correcting);\r\n }\r\n\r\n loadAnnotations() {\r\n this.annotations$ = this.store.select(state => state.Annotations.data);\r\n this.annotationsSubs = this.annotations$.subscribe(data => {\r\n if (this.currentChecklist) {\r\n this.annotations = data.filter(x => x.checklistID == this.currentChecklist?.id);\r\n this.activeAnnotations = this.annotations?.filter(x => x.status == AnnotationStatus.Active).length;\r\n this.totalAnnotations = this.annotations?.filter(x => x.checklistID == this.currentChecklist?.id).length;\r\n }\r\n });\r\n }\r\n\r\n getParticipants(sections: WFSectionLocalResource[]) {\r\n const participantSections = sections?.filter(z => z.wfStepLocals?.some(s => s.wfTaskLocals.some((t) => t.code == \"PARTICIPANT\")));\r\n if (participantSections?.length) {\r\n this.participants = [];\r\n }\r\n participantSections?.map(z => {\r\n z.wfStepLocals?.map(s => {\r\n s.wfTaskLocals.map(t => {\r\n const taskSigned = t.wfTasks?.[0].signedBy;\r\n if (t.code == \"PARTICIPANT\" && taskSigned) {\r\n this.participants.push(taskSigned as User);\r\n }\r\n });\r\n });\r\n });\r\n this.service.participants = this.participants;\r\n }\r\n\r\n applyFilter(e: any) {\r\n this.side.applyFilter(e);\r\n }\r\n\r\n noCreate() {\r\n this.creating = false;\r\n this.scheduleBased = false;\r\n this.resourceBased = false;\r\n this.isProcedureRelated = false;\r\n this.currentProcedure = null;\r\n this.currentChecklistTemplate = null;\r\n this.side.unselect();\r\n }\r\n\r\n checkPriv(privilege: ChecklistPriv) {\r\n if (privilege == ChecklistPriv.Review) {\r\n return this.service.isReviewer;\r\n }\r\n return this.hasRoles(this.documentRolePermissions?.filter(x => x.checklistPrivilege == privilege).map((x) => x.roleID));\r\n }\r\n\r\n expandCollapse(x: boolean) {\r\n if (!x)\r\n this.alert.warning('Expanding all sections may cause slow performance issues on large checklists.');\r\n this.sections?.map((section) => {\r\n section.collapsed = x;\r\n section.wfStepLocals?.map((step) => { step.collapsed = x });\r\n });\r\n this.expandedAll = !this.expandedAll;\r\n if (this.currentChecklist)\r\n this.service.saveExpansionStatus(this.currentChecklist, this.expandedAll);\r\n }\r\n\r\n cancel() {\r\n const canceledStatus = this.currentChecklist?.checklistTemplate?.documentType?.checklistExecStatuses?.find(\r\n (x) => x.formStatusID == FormStatusEnum.Canceled\r\n );\r\n if (canceledStatus) {\r\n const cancel = this.dialog.open(CancelDialogComponent, {\r\n width: \"600px\",\r\n data: {},\r\n });\r\n cancel.afterClosed().subscribe((data) => {\r\n if (data.accept) {\r\n this.setLoading({ val: true, l: 'cancel' });\r\n\r\n const checklistStatusResource: SaveChecklistStatusResource = {\r\n id: this.currentChecklist?.id ?? 0,\r\n checklistStatusID: canceledStatus.id,\r\n status: canceledStatus.id,\r\n reason: data.text,\r\n };\r\n\r\n this.service.cancel(checklistStatusResource).toPromise().then((res) => {\r\n this.alert.message(\"CancelSuccess\", [{ placeholder: \"{reason}\", value: data.text },]);\r\n this.creating = false;\r\n\r\n if (res) {\r\n this.currentChecklist = res;\r\n this.side.selectCanceledRow(this.currentChecklist);\r\n } else {\r\n this.sections = [];\r\n this.currentChecklist = null;\r\n this.side.unselect();\r\n // this.checklistSections.loadSections();\r\n }\r\n })\r\n .catch((error) => {\r\n this.alert.defaultError();\r\n console.log(error);\r\n this.creating = false;\r\n }).finally(() => this.setLoading({ val: false, l: 'cancel' }));\r\n }\r\n });\r\n }\r\n }\r\n\r\n openVerificationList() {\r\n if (this.currentChecklist?.id) {\r\n this.setLoading({ val: true, l: 996 });\r\n this.service.getVerifiedById(this.currentChecklist.id).toPromise().then((response) => {\r\n if (response) {\r\n this.currentChecklist = response;\r\n this.store.dispatch(\r\n new ChecklistsUpdate(this.currentChecklist.id, this.currentChecklist)\r\n );\r\n this.setLoading({ val: false, l: 996 });\r\n }\r\n });\r\n }\r\n }\r\n\r\n\r\n precheckChanged(e: any) {\r\n this.precheck = e;\r\n }\r\n\r\n proceduresVisible(): boolean {\r\n const result = this.procedures?.length > 0 && (this.currentSchedule?.type?.procedureTypeID || !this.currentTemplateType) && (this.creating || (this.currentChecklist != null && this.currentProcedure != null));\r\n return result as boolean;\r\n }\r\n\r\n collapsible() {\r\n if (this.currentChecklist) {\r\n const sections = this.currentChecklist.wfTable?.wfTableLocal?.wfSectionLocals;\r\n if (sections) {\r\n const steps = sections.map(s => s.wfStepLocals as WFStepLocalResource[]).reduce((acc, arr) => [...acc, ...arr], []);\r\n\r\n return (\r\n sections?.filter((x) => x.collapsible)?.length > 0 ||\r\n steps?.filter((x) => x.collapsible)?.length > 0\r\n );\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n loadings: LoadingValues[] = [];\r\n\r\n setLoading(e: any, o: string = 'this') {\r\n const value = { val: false, l: 0 };\r\n if (typeof e == \"boolean\") {\r\n value.val = e;\r\n }\r\n else value.val = e.val;\r\n const origin = o == 'this' ? e.l : o;\r\n const i = this.loadings.findIndex(x => x.origin == origin) ?? -1;\r\n if (i >= 0)\r\n this.loadings[i].value = value.val;\r\n else this.loadings.push({ origin, value: value.val });\r\n\r\n setTimeout(() => {\r\n this.loading = this.loadings.some(x => x.value);\r\n const currentDate = new Date();\r\n\r\n // Extract individual components\r\n const hours = currentDate.getHours();\r\n const minutes = currentDate.getMinutes();\r\n const seconds = currentDate.getSeconds();\r\n const milliseconds = currentDate.getMilliseconds();\r\n\r\n // console.log(`${hours}:${minutes}:${seconds}.${milliseconds}` + ' val: ' + value.val + ' orig: ' + o + ' ln: ' + e.l);\r\n }, e ? 100 : 1500);\r\n }\r\n\r\n openReview() {\r\n if (this.currentChecklist?.review?.reviewCycle) {\r\n const document = this.redirect.findDocument(this.currentChecklist.review.reviewCycleID, FormType.REVIEW);\r\n localStorage.setItem('redirectID', this.currentChecklist.review.id.toString());\r\n if (document)\r\n this.redirect.openDocument(document);\r\n }\r\n }\r\n}\r\n\r\ninterface LoadingValues {\r\n origin: string;\r\n value: boolean;\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{ checklistDocumentType?.description }}\r\n
\r\n\r\n \r\n {{ currentChecklist.serialNo }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n Procedure\r\n \r\n\r\n close\r\n \r\n \r\n {{ procedure.procedureNumber }}\r\n \r\n \r\n Optional\r\n \r\n Rev. {{ currentProcedure.revision }}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n Type\r\n \r\n\r\n close\r\n \r\n \r\n {{ type.name }}\r\n \r\n \r\n You must choose a Type\r\n \r\n {{ currentTemplateType.description }}\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Resource\r\n \r\n\r\n close\r\n \r\n \r\n {{\r\n template.resource\r\n ? template.resource.name\r\n : template.resourceString\r\n }}\r\n \r\n \r\n You must select a Resource\r\n \r\n {{ currentChecklistTemplate.resource?.description }}\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n Name\r\n \r\n\r\n close\r\n \r\n \r\n {{ template.name }}\r\n \r\n \r\n You must select a Template\r\n \r\n
\r\n \r\n\r\n \r\n
\r\n \r\n Template Version\r\n \r\n gpp_maybe\r\n verified_user\r\n gpp_bad\r\n \r\n \r\n Unverified! (Click here to Verify)\r\n \r\n \r\n Verified!\r\n \r\n \r\n Verification Error!!\r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n Operator Initiating Checklist\r\n \r\n On:\r\n {{\r\n currentChecklist.createdOn | date : \"short\"\r\n }}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
Reason of Cancellation:
\r\n
\r\n \r\n {{ currentChecklist.canceledComments }}\r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n Create\r\n \r\n \r\n \r\n \r\n Cancel\r\n \r\n \r\n \r\n \r\n Cancel Checklist\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n unfold_more\r\n unfold_less\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n Open Linked {{ currentChecklist?.review?.name }}\r\n reviews\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, Input, OnDestroy, OnInit, Output, EventEmitter, OnChanges, SimpleChanges, Injector, ViewChild } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { WFSectionLocalResource, WFSectionLocalStatus } from 'src/app/services/work-flow/work-flow';\r\nimport { Configuration } from '../../../checklist-builder/checklist-builder-sections/checklist-builder-section/checklist-builder-section.component';\r\nimport { Checklist } from '../../../checklists';\r\nimport { ChecklistsService } from '../../../checklists.service';\r\nimport { ChecklistStepsComponent } from '../../checklist-steps/checklist-steps.component';\r\n\r\n@Component({\r\n selector: \"checklist-section\",\r\n templateUrl: \"./checklist-section.component.html\",\r\n styleUrls: [\"./checklist-section.component.scss\"],\r\n})\r\nexport class ChecklistSectionComponent extends BaseComponent implements OnDestroy, OnInit, OnChanges {\r\n @Input() currentChecklist?: Checklist | null;\r\n @Input() section?: WFSectionLocalResource;\r\n @Input() precheck!: boolean;\r\n @Input() disabled?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() checkShared = new EventEmitter();\r\n\r\n checklists!: Checklist[];\r\n checklistsFiltered!: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n roles!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n config!: Configuration;\r\n userCanDuplicate!: boolean;\r\n hasCompletedTasks!: boolean;\r\n\r\n tooltip!: string;\r\n tooltipd!: string;\r\n\r\n wfSectionLocalStatus = WFSectionLocalStatus;\r\n checklistClosed?: boolean;\r\n\r\n @ViewChild(ChecklistStepsComponent) stepsComponent!: ChecklistStepsComponent;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ChecklistsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['currentChecklist']) {\r\n this.section = this.currentChecklist?.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.id == this.section?.id);\r\n }\r\n if (this.section) {\r\n this.config = this.utils.JSONparse(this.section.configuration);\r\n if (!this.config) { this.config = new Configuration(); }\r\n this.loadRoles();\r\n this.userCanDuplicate = this.hasRoles(this.config?.roleIDs);\r\n this.checklistClosed = this.currentChecklist?.checklistStatus?.formStatus.closedStatus || this.currentChecklist?.checklistStatus?.formStatus.cancelStatus;\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data.length) {\r\n this.roles = data.filter(r => this.config.roleIDs.includes(r.id));\r\n this.tooltip = 'Duplicate Section (Allowed roles: ' + this.roles?.map(r => r.code).join(', ') + ')';\r\n this.tooltipd = 'Delete Duplicated Section (Allowed roles: ' + this.roles?.map(r => r.code).join(', ') + ')';\r\n }\r\n });\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.checklistsSubs?.unsubscribe();\r\n this.rolesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n isSectionExpanded(): boolean {\r\n const expanded = this.section?.collapsible ? !this.section?.collapsed : true;\r\n return expanded;\r\n }\r\n\r\n saveState(collapsed: boolean) {\r\n if (collapsed != this.section?.collapsed && this.section?.collapsed != undefined && this.currentChecklist) {\r\n this.section.collapsed = collapsed;\r\n this.service.saveSectionExpanded(this.currentChecklist.id, this.section.id, collapsed);\r\n }\r\n }\r\n\r\n duplicate(e: any) {\r\n e.stopPropagation();\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"ChecklistDuplicateSectionConfirmation\")\r\n .description,\r\n icon: \"question\",\r\n },\r\n });\r\n yesno.afterClosed().subscribe(async (data) => {\r\n if (data && this.section) {\r\n this.loading.emit(true);\r\n await this.service.duplicateSection(this.section.id).toPromise();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n delete(e: any) {\r\n e.stopPropagation();\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"ChecklistDeleteSectionConfirmation\")\r\n .description,\r\n icon: \"question\",\r\n },\r\n });\r\n yesno.afterClosed().subscribe(async (data) => {\r\n if (data && this.section) {\r\n this.loading.emit(true);\r\n await this.service.deleteSection(this.section.id).toPromise();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n
\r\n
\r\n
{{ section?.number }}{{ section?.code }}.
\r\n
{{ section?.name }}
\r\n \r\n content_copy\r\n \r\n \r\n Duplicated by\r\n {{ section?.createdBy?.name }}\r\n on\r\n {{\r\n section?.createdOn | date : \"medium\"\r\n }}\r\n
\r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n","import { Component, Input, OnChanges, SimpleChanges, Output, EventEmitter, OnInit, ViewChildren, QueryList, Injector } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Checklist } from '../../checklists';\r\nimport { ChecklistsService } from '../../checklists.service';\r\nimport { ChecklistSectionComponent } from './checklist-section/checklist-section.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { Subscription } from 'rxjs';\r\nimport { ComponentType } from 'src/app/common/enumerations/enumerations';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: \"checklist-sections\",\r\n templateUrl: \"./checklist-sections.component.html\",\r\n styleUrls: [\"./checklist-sections.component.scss\"],\r\n})\r\nexport class ChecklistSectionsComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() currentChecklist?: Checklist | null;\r\n @Input() precheck?: boolean;\r\n @Input() fullHeight?: boolean;\r\n @Input() disabled?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() checkShared = new EventEmitter();\r\n\r\n sections!: WFSectionLocalResource[];\r\n scrolled?: boolean;\r\n updating: boolean = false;\r\n\r\n checklists?: Checklist[];\r\n checklistsFiltered?: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n @ViewChildren(ChecklistSectionComponent) public sectionComponents!: QueryList;\r\n\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private route: ActivatedRoute,\r\n private service: ChecklistsService,\r\n ) { super(injector); }\r\n\r\n ngOnInit(): void {\r\n this.loadChecklists();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['currentChecklist']) {\r\n if (changes['currentChecklist'].currentValue?.id != changes['currentChecklist'].previousValue?.id) {\r\n this.scrolled = false;\r\n this.scrollToTask();\r\n }\r\n if (this.currentChecklist?.wfTable?.wfTableLocal?.wfSectionLocals?.length != this.sections?.length) {\r\n if (this.currentChecklist?.documentTypeID)\r\n this.setOpenDocument(this.currentChecklist.documentTypeID, this.currentChecklist.id);\r\n this.loadSections();\r\n }\r\n }\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklists = data;\r\n if (this.currentChecklist) {\r\n const checklist = this.checklists.find(c => c.id == this.currentChecklist?.id);\r\n if (checklist) {\r\n this.currentChecklist = checklist;\r\n this.loadSections();\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n async loadSections() {\r\n let checklist: Checklist | undefined;\r\n if (this.currentChecklist?.documentTypeID && this.checklists) {\r\n checklist = (await this.checkOpenDocument(this.currentChecklist?.documentTypeID, this.checklists))?.document;\r\n }\r\n\r\n if (checklist)\r\n this.currentChecklist = checklist as Checklist;\r\n\r\n this.sections = this.currentChecklist?.wfTable?.wfTableLocal?.wfSectionLocals?.sort((a, b) => utils.sort(a.order, b.order)) ?? [];\r\n const sectionTypes = Array.from(new Set(this.sections?.filter(s => s.type).map(s => s.type)));\r\n sectionTypes.map(t => {\r\n const sections = this.sections.filter(s => t && s.type == t);\r\n if (sections.length > 1) {\r\n let index = 1;\r\n sections.filter((s, i) => i != 0).map(s => { s.code = String.fromCharCode(96 + (index++)) });\r\n }\r\n });\r\n if (!this.sections) { this.sections = []; }\r\n this.service.setAllTasks(this.sections);\r\n\r\n }\r\n\r\n scrollToTask() {\r\n if (!this.scrolled) {\r\n const id = this.route.snapshot.queryParams['task'];\r\n if (id) {\r\n const element = document.getElementById(id);\r\n if (element) {\r\n setTimeout(() => {\r\n element?.scrollIntoView({ behavior: \"smooth\" });\r\n }, 1000);\r\n this.scrolled = true;\r\n }\r\n } else {\r\n const element = document.getElementById(\"sections\");\r\n const container = document.getElementById('scrollableContainer');\r\n\r\n if (element && container) {\r\n // Calculate the distance of the element from the top of the container\r\n const elementOffsetTop = element.offsetTop - 10;\r\n\r\n // Scroll the container to the element's position\r\n container.scrollTo({\r\n top: elementOffsetTop,\r\n behavior: 'smooth', // Optional for smooth scrolling\r\n });\r\n this.scrolled = true;\r\n }\r\n }\r\n }\r\n }\r\n\r\n checkSharedComponents(e: any) {\r\n // const shieldings = e.shieldings as any[];\r\n // const taskID = e.task;\r\n // this.sectionComponents.map(sectionComponent => {\r\n // if (!sectionComponent.stepsComponent) {\r\n // // debugger;\r\n // }\r\n // sectionComponent.stepsComponent.stepComponents.map(stepComponent => {\r\n // stepComponent.tasksComponent.taskComponents.filter(taskComponent => taskComponent.task.component?.id == ComponentType.ShieldingsComponent && taskComponent.task.id != taskID).map(taskComponent => {\r\n // const sc = taskComponent.masterControl.shieldingsComponent;\r\n // if (sc?.shieldings?.some(s => shieldings.map(s => s.resourceID).includes(s.resourceID))) {\r\n // setTimeout(() => {\r\n // // sc.changeShared(shieldings);\r\n // }, 10);\r\n // }\r\n // });\r\n // })\r\n // });\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n","import { Component, EventEmitter, Input, Output, OnChanges, SimpleChanges, OnInit, OnDestroy, ViewChild, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { WFStepLocalResource, WfTaskLocalResource, WFStepLocalStatus } from 'src/app/services/work-flow/work-flow';\r\nimport { Configuration } from '../../../checklist-builder/checklist-builder-sections/checklist-builder-section/checklist-builder-section.component';\r\nimport { Checklist } from '../../../checklists';\r\nimport { ChecklistsService } from '../../../checklists.service';\r\nimport { ChecklistTasksComponent } from '../../checklist-tasks/checklist-tasks.component';\r\n\r\n\r\n@Component({\r\n selector: \"checklist-step\",\r\n templateUrl: \"./checklist-step.component.html\",\r\n styleUrls: [\"./checklist-step.component.scss\"],\r\n})\r\nexport class ChecklistStepComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() currentChecklist?: Checklist | null;\r\n @Input() step!: WFStepLocalResource;\r\n @Input() precheck!: boolean;\r\n @Input() disabled?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() checkShared = new EventEmitter();\r\n\r\n @ViewChild(ChecklistTasksComponent) tasksComponent!: ChecklistTasksComponent;\r\n hidden!: boolean;\r\n\r\n disableTasks?: boolean;\r\n\r\n tasks!: WfTaskLocalResource[];\r\n tasks$!: Observable;\r\n tasksSubs!: Subscription;\r\n\r\n checklists!: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n roles!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n wfStepLocalStatus = WFStepLocalStatus;\r\n\r\n config!: Configuration;\r\n canDuplicate!: boolean;\r\n touched!: boolean;\r\n\r\n tooltip!: string;\r\n\r\n wfTaskLocals?: WfTaskLocalResource[];\r\n wfTaskLocals$!: Observable;\r\n wfTaskLocalsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ChecklistsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.tasksSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.config = this.utils.JSONparse(this.step.configuration);\r\n if (!this.config) { this.config = new Configuration(); }\r\n this.loadRoles();\r\n this.canDuplicate = this.hasRoles(this.config.roleIDs)\r\n this.getTasks();\r\n }\r\n\r\n loadWFTaskLocals() {\r\n this.wfTaskLocals$ = this.store.select(state => state.WFTaskLocals.data);\r\n this.wfTaskLocalsSubs = this.wfTaskLocals$.subscribe(data => {\r\n if (data?.length) {\r\n this.wfTaskLocals = data;\r\n this.tasks = this.wfTaskLocals.filter(t => t.wfStepLocalID == this.step.id);\r\n }\r\n });\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data.length) {\r\n this.roles = data.filter(r => this.config.roleIDs?.includes(r.id));\r\n this.tooltip = 'Duplicate Step (Allowed roles: ' + this.roles?.map(r => r.code).join(', ') + ')';\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['currentChecklist']) {\r\n this.hidden = this.step.wfStepStatusLocals?.find(x => x.status == this.currentChecklist?.checklistStatusID)?.hidden ?? false;\r\n this.disableTasks = !this.step.wfStepStatusLocals.map(x => x.status).includes(this.currentChecklist?.checklistStatusID) || this.disabled;\r\n this.getTasks();\r\n }\r\n }\r\n\r\n duplicate(e: any) {\r\n e.stopPropagation();\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"ChecklistDuplicateStepConfirmation\").description,\r\n icon: \"question\",\r\n },\r\n });\r\n yesno.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.loading.emit(true);\r\n await this.service.duplicateStep(this.step.id).toPromise();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n delete(e: any) {\r\n e.stopPropagation();\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"ChecklistDeleteStepConfirmation\").description,\r\n icon: \"question\",\r\n },\r\n });\r\n yesno.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.loading.emit(true);\r\n await this.service.deleteStep(this.step.id).toPromise();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n setDisabled() {\r\n }\r\n\r\n getTasks() {\r\n this.loadWFTaskLocals();\r\n this.tasks = this.step?.wfTaskLocals;\r\n this.tasks.map(t => this.service.taskTouched(t));\r\n this.touched = this.tasks.some(t => t.isTouched);\r\n }\r\n\r\n isStepExpanded() {\r\n const expanded = this.step.collapsible ? !this.step.collapsed : true;\r\n return expanded;\r\n }\r\n\r\n saveState(collapsed: boolean) {\r\n if (collapsed != this.step.collapsed && this.step.collapsed != undefined && this.currentChecklist) {\r\n this.step.collapsed = collapsed;\r\n this.service.saveStepExpanded(this.currentChecklist.id, this.step.id, collapsed);\r\n }\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n
\r\n
{{ step.name }}
\r\n \r\n content_copy\r\n \r\n \r\n Duplicated by\r\n {{ step.createdBy.name }}\r\n on\r\n {{ step.createdOn | date : \"medium\" }}\r\n
\r\n \r\n delete\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n","import { Component, Input, OnChanges, Output, EventEmitter, SimpleChanges, ViewChildren, QueryList } from '@angular/core';\r\nimport { WFStepLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Checklist } from '../../checklists';\r\nimport { ChecklistStepComponent } from './checklist-step/checklist-step.component';\r\n\r\n@Component({\r\n selector: \"checklist-steps\",\r\n templateUrl: \"./checklist-steps.component.html\",\r\n styleUrls: [\"./checklist-steps.component.scss\"],\r\n})\r\nexport class ChecklistStepsComponent implements OnChanges {\r\n @Input() currentChecklist?: Checklist | null;\r\n @Input() steps?: WFStepLocalResource[];\r\n @Input() precheck?: boolean;\r\n @Input() disabled?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() checkShared = new EventEmitter();\r\n\r\n @ViewChildren(ChecklistStepComponent) public stepComponents!: QueryList;\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.steps = this.steps?.sort((a, b) => a.order - b.order);\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { ChecklistsService } from '../../checklists.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { WFStepLocalResource, WFSectionLocalResource, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Store } from '@ngxs/store';\r\n\r\n\r\n@Component({\r\n selector: 'checklist-task-counter',\r\n templateUrl: './checklist-task-counter.component.html',\r\n styleUrls: ['./checklist-task-counter.component.scss']\r\n})\r\nexport class ChecklistTaskCounterComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() step?: WFStepLocalResource;\r\n @Input() section?: WFSectionLocalResource;\r\n\r\n tasks?: WfTaskLocalResource[];\r\n tasksSubs!: Subscription;\r\n totalTasks!: number;\r\n completedTasks!: number;\r\n componentsToCheck = [0, 1];\r\n\r\n wfTaskLocals?: WfTaskLocalResource[];\r\n wfTaskLocals$!: Observable;\r\n wfTaskLocalsSubs!: Subscription;\r\n\r\n constructor(private store: Store) { }\r\n\r\n ngOnDestroy(): void {\r\n this.wfTaskLocalsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.loadWFTaskLocals();\r\n // this.tasksSubs = this.service.allTasksObservable.subscribe(data => {\r\n // this.tasks = data;\r\n // this.getCompletedTasks();\r\n // });\r\n }\r\n\r\n loadWFTaskLocals() {\r\n this.wfTaskLocals$ = this.store.select(state => state.WFTaskLocals.data);\r\n this.wfTaskLocalsSubs = this.wfTaskLocals$.subscribe(data => {\r\n if (data?.length) {\r\n this.wfTaskLocals = data;\r\n this.tasks = data;\r\n this.getCompletedTasks();\r\n }\r\n });\r\n }\r\n\r\n getCompletedTasks() {\r\n const tasks = this.tasks?.filter(t => t.required && t.component && this.componentsToCheck.includes(t.component.type) && (this.section ? (t.wfStepLocal?.wfSectionLocalID == this.section.id) : (this.step ? (t.wfStepLocalID == this.step.id) : 0)));\r\n setTimeout(() => {\r\n this.totalTasks = tasks?.length ?? 0;\r\n this.completedTasks = tasks?.filter(t => t.isCompleted).length ?? 0;\r\n }, 10);\r\n }\r\n\r\n\r\n\r\n}\r\n","\r\n check_circle\r\n \r\n Completed {{ completedTasks }} of \r\n {{ totalTasks }} \r\n Tasks\r\n\r\n","import { Component, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { ReviewActionItem } from 'src/app/components/reviews/reviews.models';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\n\r\n@Component({\r\n selector: 'checklist-task-actionitems',\r\n templateUrl: './checklist-task-actionitems.component.html',\r\n styleUrls: ['./checklist-task-actionitems.component.scss']\r\n})\r\nexport class ChecklistTaskActionitemsComponent implements OnInit, OnDestroy {\r\n\r\n @Input() task!: WfTaskLocalResource;\r\n @Input() currentChecklist?: Checklist | null;\r\n\r\n reviewActionItems?: ReviewActionItem[];\r\n reviewActionItems$!: Observable;\r\n reviewActionItemsSubs!: Subscription;\r\n\r\n constructor(\r\n private store: Store\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.reviewActionItemsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadActionItems();\r\n }\r\n\r\n loadActionItems() {\r\n this.reviewActionItems$ = this.store.select(state => state.ReviewActionItems.data);\r\n this.reviewActionItemsSubs = this.reviewActionItems$.subscribe(data => {\r\n this.reviewActionItems = data.filter(x => x.wfTaskLocalID == this.task.id);\r\n });\r\n }\r\n\r\n hasEndDate(actionItem: ReviewActionItem) {\r\n return actionItem.endDate != null && actionItem.endDate.toString() != '0001-01-01T00:00:00';\r\n }\r\n\r\n}\r\n","
\r\n\t
\r\n\t\t
Topic: {{ actionItem.name }}
\r\n\t\t
\r\n\t\t\tResponsible: {{ actionItem.responsible?.name }}\r\n\t\t
\r\n\t\t
\r\n\t\t\tStart: {{ actionItem.startDate | date }}\r\n\t\t\t\r\n\t\t\t\tEnd: {{ actionItem.endDate | date }}\r\n\t\t
\r\n\t\t
\r\n\t\t\t{{ actionItem.reviewActionItemType?.name }}\r\n\t\t
\r\n\t
\r\n
\r\n","import { Component, Input, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { Review, ReviewActionItem, ReviewStatusEnum } from 'src/app/components/reviews/reviews.models';\r\nimport { ChecklistTasksAnnotationsEditComponent } from '../checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-edit/checklist-tasks-annotations-edit.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { WfTaskLocalResource, WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { Checklist } from '../../../checklists';\r\nimport { ReviewsActionItemsDetailsComponent } from 'src/app/components/reviews/reviews-action-items/reviews-action-items-details/reviews-action-items-details.component';\r\nimport { ReviewsService } from 'src/app/components/reviews/reviews.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\n\r\n@Component({\r\n selector: 'checklist-task-rcpactions',\r\n templateUrl: './checklist-task-rcpactions.component.html',\r\n styleUrls: ['./checklist-task-rcpactions.component.scss']\r\n})\r\nexport class ChecklistTaskRcpactionsComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n @Input() task!: WfTaskLocalResource;\r\n @Input() currentChecklist?: Checklist | null;\r\n @Input() s!: WfSignature;\r\n\r\n review?: Review;\r\n reviews!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadReviews();\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n this.reviews = data;\r\n this.review = this.reviews.find(x => x.checklistID == this.currentChecklist?.id);\r\n });\r\n }\r\n\r\n addActionItem() {\r\n const reviewActionItem = {\r\n id: 0,\r\n review: this.review,\r\n reviewID: this.review?.id,\r\n } as ReviewActionItem;\r\n this.openActionItemDetail(reviewActionItem);\r\n }\r\n\r\n checkActionItemsEnabled() {\r\n if (this.review)\r\n return this.service.checkPrivilege(PrivilegeEnum.AddRemoveActionItems, this.review?.reviewCycle.reviewBoard.reviewBoardType, this.review?.reviewStatus) && this.review?.reviewStatus.id != ReviewStatusEnum.Completed;\r\n else return false;\r\n }\r\n\r\n openActionItemDetail(reviewActionItem: ReviewActionItem) {\r\n const dialog = this.dialog.open(ReviewsActionItemsDetailsComponent, {\r\n width: '80%',\r\n minWidth: '500px',\r\n data: {\r\n reviewActionItem,\r\n wfTaskLocal: this.task,\r\n checklist: this.currentChecklist\r\n },\r\n disableClose: true,\r\n autoFocus: false\r\n });\r\n dialog.afterClosed().subscribe(data => {\r\n\r\n });\r\n }\r\n\r\n addComment() {\r\n const editor = this.dialog.open(ChecklistTasksAnnotationsEditComponent, {\r\n width: '80vw',\r\n maxHeight: '90vh',\r\n data: {\r\n s: this.s,\r\n isComment: true,\r\n task: this.task,\r\n annotation: null,\r\n currentChecklist: this.currentChecklist\r\n },\r\n autoFocus: false,\r\n disableClose: true,\r\n hasBackdrop: true\r\n });\r\n editor.afterClosed().subscribe((data) => {\r\n if (data) {\r\n\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n \r\n feedback\r\n \r\n\r\n \r\n message\r\n \r\n
\r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { Satisfaction, Review, ReviewSatisfactionCheck } from 'src/app/components/reviews/reviews.models';\r\nimport { ReviewsService } from 'src/app/components/reviews/reviews.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ReviewSatisfactionChecksCreate, ReviewSatisfactionChecksUpdate } from 'src/app/components/reviews/store/review-satisfaction-checks/review-satisfaction-checks.action';\r\n\r\n@Component({\r\n selector: 'checklist-task-review-satisfaction-check',\r\n templateUrl: './checklist-task-review-satisfaction-check.component.html',\r\n styleUrls: ['./checklist-task-review-satisfaction-check.component.scss']\r\n})\r\nexport class ChecklistTaskReviewSatisfactionCheckComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() task?: WfTaskLocalResource;\r\n @Input() checklist?: Checklist | null;\r\n @Input() precheck?: boolean;\r\n\r\n satisfaction = Satisfaction;\r\n\r\n review?: Review;\r\n reviews!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n satisfactionChecks!: ReviewSatisfactionCheck[];\r\n satisfactionChecks$!: Observable;\r\n satisfactionChecksSubs!: Subscription;\r\n\r\n privilege = PrivilegeEnum;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n private reviewsService: ReviewsService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.satisfactionChecksSubs?.unsubscribe();\r\n this.reviewsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadSatisfactionChecks();\r\n this.loadReviews();\r\n }\r\n\r\n loadSatisfactionChecks() {\r\n this.satisfactionChecks$ = this.store.select(state => state.ReviewSatisfactionChecks.data);\r\n this.satisfactionChecksSubs = this.satisfactionChecks$.subscribe(data => {\r\n this.satisfactionChecks = data?.filter(x => x.wfTaskLocalID == this.task?.id);\r\n if (!this.satisfactionChecks || this.satisfactionChecks.length == 0) {\r\n const reviewsatisfactionCheck = {\r\n id: 0,\r\n type: 1,\r\n satisfaction: Satisfaction.Indeterminate,\r\n preCheck: Satisfaction.Indeterminate,\r\n checklistID: this.checklist?.id,\r\n wfTaskLocalID: this.task?.id,\r\n } as ReviewSatisfactionCheck;\r\n this.satisfactionChecks = [];\r\n this.satisfactionChecks.push(reviewsatisfactionCheck);\r\n }\r\n });\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n this.reviews = data;\r\n this.review = this.reviews.find(x => x.checklistID == this.checklist?.id);\r\n });\r\n }\r\n\r\n checkPrivilege(privilege: PrivilegeEnum) {\r\n return this.reviewsService.checkPrivilege(privilege, this.review?.reviewType?.reviewBoardType, this.review?.reviewStatus);\r\n }\r\n\r\n preCheckMilestone(satisfactionCheck: ReviewSatisfactionCheck) {\r\n if (satisfactionCheck.preCheck == Satisfaction.Indeterminate || satisfactionCheck.preCheckByID == this.currentUser?.id) {\r\n switch (satisfactionCheck.preCheck) {\r\n case Satisfaction.Indeterminate: {\r\n satisfactionCheck.preCheck = Satisfaction.Satisfied;\r\n satisfactionCheck.preCheckByID = this.currentUser?.id;\r\n satisfactionCheck.preCheckOn = new Date();\r\n break;\r\n }\r\n case Satisfaction.Satisfied: {\r\n satisfactionCheck.preCheck = Satisfaction.Indeterminate;\r\n satisfactionCheck.preCheckByID = null;\r\n satisfactionCheck.preCheckOn = null;\r\n break;\r\n }\r\n }\r\n this.save(satisfactionCheck);\r\n }\r\n }\r\n\r\n satCheckMilestone(satisfactionCheck: ReviewSatisfactionCheck) {\r\n if (satisfactionCheck.satisfaction == Satisfaction.Indeterminate || satisfactionCheck.satisfactionCheckByID == this.currentUser?.id) {\r\n switch (satisfactionCheck.satisfaction) {\r\n case Satisfaction.Unsatisfied: {\r\n satisfactionCheck.satisfaction = Satisfaction.Indeterminate;\r\n satisfactionCheck.satisfactionCheckBy = null;\r\n satisfactionCheck.satisfactionCheckOn = null;\r\n break;\r\n }\r\n case Satisfaction.Indeterminate: {\r\n satisfactionCheck.satisfaction = Satisfaction.Satisfied;\r\n satisfactionCheck.satisfactionCheckByID = this.currentUser?.id;\r\n satisfactionCheck.satisfactionCheckOn = new Date();\r\n break;\r\n }\r\n case Satisfaction.Satisfied: {\r\n satisfactionCheck.satisfaction = Satisfaction.Unsatisfied;\r\n satisfactionCheck.satisfactionCheckByID = this.currentUser?.id;\r\n satisfactionCheck.satisfactionCheckOn = new Date();\r\n break;\r\n }\r\n }\r\n this.save(satisfactionCheck);\r\n }\r\n }\r\n\r\n save(satisfactionCheck: ReviewSatisfactionCheck) {\r\n if (satisfactionCheck.id == 0) {\r\n this.service.createReviewSatisfactionCheck(satisfactionCheck).toPromise().then(data => {\r\n if (data)\r\n this.store.dispatch(new ReviewSatisfactionChecksCreate(data));\r\n });\r\n }\r\n else {\r\n this.service.updateReviewSatisfactionCheck(satisfactionCheck).toPromise().then(data => {\r\n if (data)\r\n this.store.dispatch(new ReviewSatisfactionChecksUpdate(data.id, data));\r\n });\r\n }\r\n }\r\n\r\n textChanged(satisfactionCheck: ReviewSatisfactionCheck, text: string) {\r\n satisfactionCheck.comments = text;\r\n this.save(satisfactionCheck);\r\n }\r\n\r\n // formatDate(date: Date) {\r\n // return (moment(date)).format('MMM DD, YYYY');\r\n // }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n check_circle_outline\r\n remove_circle_outline\r\n radio_button_unchecked\r\n \r\n \r\n Satisfied?\r\n
\r\n \r\n \r\n believe Satisfies\r\n
\r\n \r\n \r\n {{ satisfactionCheck.preCheckBy?.initials }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n check_circle_outline\r\n remove_circle_outline\r\n radio_button_unchecked\r\n \r\n \r\n Satisfied?\r\n
\r\n \r\n {{ satisfaction[satisfactionCheck.satisfaction ?? 0] }}\r\n
\r\n \r\n \r\n \r\n {{ satisfactionCheck.satisfactionCheckBy?.name }}
\r\n on {{\r\n satisfactionCheck.satisfactionCheckOn | date\r\n }}\r\n
\r\n \r\n {{ satisfactionCheck.satisfactionCheckBy?.initials }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { ChecklistTasksAnnotationsEditComponent } from '../checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-edit/checklist-tasks-annotations-edit.component';\r\nimport { Checklist } from '../../../checklists';\r\nimport { WfSignature, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\n\r\n@Component({\r\n selector: 'checklist-task-review',\r\n templateUrl: './checklist-task-review.component.html',\r\n styleUrls: ['./checklist-task-review.component.scss']\r\n})\r\nexport class ChecklistTaskReviewComponent implements OnInit {\r\n\r\n @Input() s!: WfSignature;\r\n @Input() task?: WfTaskLocalResource;\r\n @Input() currentChecklist?: Checklist | null;\r\n @Output() changed = new EventEmitter();\r\n\r\n constructor(\r\n private dialog: MatDialog\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n annotate() {\r\n const editor = this.dialog.open(ChecklistTasksAnnotationsEditComponent, {\r\n width: '80vw',\r\n maxHeight: '90vh',\r\n data: {\r\n s: this.s,\r\n task: this.task,\r\n annotation: null,\r\n currentChecklist: this.currentChecklist\r\n },\r\n autoFocus: false,\r\n disableClose: true,\r\n hasBackdrop: true\r\n });\r\n editor.afterClosed().toPromise().then((data) => {\r\n this.changed.emit(data);\r\n });\r\n }\r\n\r\n\r\n}\r\n","
\r\n \r\n rate_review\r\n \r\n
\r\n","import { Component, Input, OnInit, OnDestroy, OnChanges, SimpleChanges, Output, EventEmitter, ViewChild, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Action, ComponentType, FormStatusEnum, WFSaveOptions } from 'src/app/common/enumerations/enumerations';\r\nimport { MasterControlComponent } from 'src/app/controls/checklist-components/master-control/master-control.component';\r\nimport { WfTaskLocalResource, WfSignature, WFSectionLocalResource, WFStepLocalResource, SaveTaskResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Checklist } from '../../../checklists';\r\nimport { ChecklistsService } from '../../../checklists.service';\r\nimport { ChecklistsRefreshById } from '../../../store/checklists/checklists.action';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { DuplicateAction, TaskDuplicateResource } from 'src/app/controls/checklist-components/button-signature-duplicate/button-signature-duplicate.component';\r\nimport { TasksCreate, TasksDelete, TasksUpdate } from '../../../store/tasks/task.action';\r\n\r\n@Component({\r\n selector: \"checklist-task\",\r\n templateUrl: \"./checklist-task.component.html\",\r\n styleUrls: [\"./checklist-task.component.scss\"],\r\n})\r\nexport class ChecklistTaskComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() currentChecklist?: Checklist | null;\r\n @Input() task!: WfTaskLocalResource;\r\n @Input() disabled!: boolean;\r\n @Input() precheck?: boolean;\r\n\r\n @Output() updateTask = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n @Output() checkShared = new EventEmitter();\r\n\r\n @ViewChild(MasterControlComponent)\r\n masterControl!: MasterControlComponent;\r\n\r\n checklist!: Checklist;\r\n checklists!: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n s!: WfSignature;\r\n\r\n color!: string;\r\n\r\n section?: WFSectionLocalResource;\r\n step?: WFStepLocalResource;\r\n\r\n formStatus = FormStatusEnum;\r\n saving!: boolean;\r\n\r\n wfTaskLocal?: WfTaskLocalResource;\r\n wfTaskLocals?: WfTaskLocalResource[];\r\n wfTaskLocals$!: Observable;\r\n wfTaskLocalsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private checklistsService: ChecklistsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadWFTaskLocals();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.initRefresh();\r\n }\r\n\r\n loadWFTaskLocals() {\r\n this.wfTaskLocals$ = this.store.select(state => state.WFTaskLocals.data);\r\n this.wfTaskLocalsSubs = this.wfTaskLocals$.subscribe(data => {\r\n if (data?.length) {\r\n this.wfTaskLocals = data;\r\n const task = this.wfTaskLocals.find(t => t.id == this.task.id);\r\n if (task) {\r\n this.task = task;\r\n this.initRefresh();\r\n }\r\n }\r\n });\r\n }\r\n\r\n initRefresh() {\r\n this.step = this.task?.wfStepLocal;\r\n this.section = this.step?.wfSectionLocal;\r\n if (this.section && this.step && this.task) {\r\n this.step.wfSectionLocal = this.section;\r\n this.task.wfStepLocal = this.step;\r\n }\r\n this.refreshSignature();\r\n }\r\n\r\n override ngOnDestroy() {\r\n this.checklistsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n refreshSignature(t: WfTaskLocalResource | null = null) {\r\n if (t)\r\n this.task = t;\r\n if (this.task) {\r\n this.s = this.getSignature(this.task);\r\n }\r\n this.saving = false;\r\n }\r\n\r\n getSignature(t: WfTaskLocalResource) {\r\n const signature = {\r\n id: t.id ?? 0,\r\n type: t.componentID,\r\n code: t.code,\r\n number: t.component?.numericHeader ? t.name : null,\r\n required: t.required,\r\n name: t.name,\r\n question: t.name3,\r\n question2: t.name2,\r\n question3: t.name4,\r\n options: this.utils.JSONparse(t.options) ? this.utils.JSONparse(t.options) : [],\r\n condition: t.condition,\r\n configuration: t.configuration,\r\n taskId: t.wfTasks?.[0].id,\r\n disabled: t.disabled || this.disabled || this.disableUser(t),\r\n disableEdit: t.disabled || this.disabled || this.disableUser(t),\r\n enabled: true,\r\n value: t.value,\r\n value2: t.numericValue,\r\n textValue: this.utils.getTextValue(t.text),\r\n roles: t.wfRoleLocals?.map(x => x.roleID),\r\n roleCodes: t.wfRoleLocals?.map(x => x.role?.code).join('/'),\r\n approve: t.wfActionLocals?.find(x => x.action == Action.Approve) != null && !t.wfTasks?.[0].signedBy,\r\n approved: t.wfTasks?.[0]?.signedBy ? true : false,\r\n approveId: t.wfActionLocals?.find((x) => x.action == Action.Approve)?.id,\r\n unapprove: t.wfActionLocals?.find((x) => x.action == Action.Unapprove) != null &&\r\n t.wfTasks?.[0].signedBy?.id == this.getCurrentUser()?.id,\r\n unapproveId: t.wfActionLocals?.find(x => x.action == Action.Unapprove)?.id,\r\n disapprove: t.wfActionLocals?.find((x) => x.action == Action.Disapprove) != null,\r\n disapproveId: t.wfActionLocals?.find(x => x.action == Action.Disapprove)?.id,\r\n approvedBy: t.wfTasks?.[0]?.signedBy as User,\r\n approvedOn: t.wfTasks?.[0]?.signedOn,\r\n visible: t.wfTasks?.[0].required,\r\n scheduleTypeId: t.scheduleType,\r\n scheduleResourceId: t.scheduleResourceId,\r\n booleanValue: this.getBooleanValue(t.text),\r\n wfTaskLocal: this.currentChecklist?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.id == this.section?.id)?.wfStepLocals?.find(s => s.id == this.step?.id)?.wfTaskLocals?.find(x => x.id == t.id)\r\n };\r\n if (this.s?.configuration) {\r\n this.color = JSON.parse(this.s?.configuration).color\r\n ? JSON.parse(this.s?.configuration).color\r\n : \"primary\";\r\n }\r\n this.loading.emit(false);\r\n return signature;\r\n }\r\n\r\n disableUser(t: WfTaskLocalResource) {\r\n if (!this.checklistsService.participants || t.code == \"PARTICIPANT\") {\r\n if (!t.wfRoleLocals?.length) return false;\r\n return !this.hasRoles(t.wfRoleLocals.map(r => r.roleID));\r\n } else {\r\n return !this.checklistsService.participants.map(x => x.id).includes(this.getCurrentUser()?.id);\r\n }\r\n }\r\n\r\n disabledClose(s: WfSignature) {\r\n return s.type == ComponentType.CloseButton && !this.checklistsService.readyToClose() && this.currentChecklist?.checklistTemplate?.templateType?.allSignaturesRequired;\r\n }\r\n\r\n getBooleanValue(text?: string): boolean {\r\n const storedValues = this.utils.JSONparse(text);\r\n if (\r\n storedValues &&\r\n storedValues[0]?.Name == null &&\r\n storedValues[0]?.stringValue\r\n ) {\r\n const values = this.utils.JSONparse(storedValues[0].stringValue);\r\n if (Array.isArray(values)) {\r\n return values?.find((x) => x.key == \"checkedYes\")?.val;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n sign(e: any, taskId?: number, actionId?: number, isASCC: boolean = false) {\r\n if (taskId && actionId) {\r\n this.saving = true;\r\n // this.loading.emit(true);\r\n this.checklistsService.sign(taskId, actionId, null, null, isASCC, e).toPromise().then(async task => {\r\n if (task) {\r\n this.task = task;\r\n this.task.required = true;\r\n this.task.isCompleted = this.utils.taskComplete(this.task);\r\n this.updateTask.emit(this.task);\r\n if (this.currentChecklist && this.task.code && task.isCompleted)\r\n await this.checklistsService.processTags(this.currentChecklist, this.task);\r\n }\r\n // this.loading.emit(false);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }).finally(() =>\r\n setTimeout(() => {\r\n // this.loading.emit(false);\r\n }, 600));\r\n }\r\n }\r\n\r\n duplicate(data: TaskDuplicateResource) {\r\n this.saving = true;\r\n if (data.action == DuplicateAction.Duplicate) {\r\n if (data.task)\r\n this.store.dispatch(new TasksCreate(data.task));\r\n }\r\n else {\r\n this.store.dispatch(new TasksDelete(data.taskID));\r\n }\r\n if (this.currentChecklist)\r\n this.store.dispatch(new ChecklistsRefreshById(this.currentChecklist.id));\r\n }\r\n\r\n change(e: any, id?: number) {\r\n if (id && this.task) {\r\n let saveTask: SaveTaskResource;\r\n switch (this.task.component?.id) {\r\n case ComponentType.CheckboxAndRadio:\r\n case ComponentType.CheckboxRadioLocation:\r\n case ComponentType.PlaceholderCondition: // Radio\r\n this.task.numericValue = e;\r\n if (this.task.wfTasks)\r\n this.task.wfTasks[0].signedBy = this.getCurrentUser(true) as User;\r\n saveTask = {\r\n id,\r\n numericValue: e,\r\n field: \"numericValue\",\r\n option: WFSaveOptions.MANUAL,\r\n };\r\n this.saveTask(saveTask, false);\r\n break;\r\n case ComponentType.RadMonitorDueDate:\r\n this.task.text = e;\r\n saveTask = {\r\n id,\r\n text: e,\r\n field: \"text\",\r\n option: WFSaveOptions.MANUAL,\r\n };\r\n const values = this.utils.JSONparse(e);\r\n this.saveTask(saveTask, false, true, values, this.s.taskId, this.s.approveId, this.s.unapproveId);\r\n break;\r\n default: // Text Input\r\n this.task.text = e;\r\n saveTask = {\r\n id,\r\n text: e,\r\n field: \"text\",\r\n option: WFSaveOptions.MANUAL,\r\n };\r\n this.saveTask(saveTask, false);\r\n break;\r\n }\r\n }\r\n }\r\n\r\n save(e: any, id?: number, taskId?: number, approveId?: number, unapproveId?: number) {\r\n if (id && this.task) {\r\n let saveTaskResource = new SaveTaskResource();\r\n const hasRefresh = this.currentChecklist?.checklistStatus?.formStatusID == FormStatusEnum.Draft || e.hasRefresh;\r\n let check = false;\r\n let textValue = null;\r\n\r\n if (this.task.componentID == ComponentType.ShieldingsComponent) {\r\n textValue = e.text;\r\n saveTaskResource = {\r\n id,\r\n text: textValue,\r\n field: \"text\",\r\n option: WFSaveOptions.MANUAL,\r\n };\r\n }\r\n else {\r\n if (typeof e == 'string') {\r\n textValue = e as string;\r\n }\r\n else if (e.text) {\r\n textValue = e.text;\r\n check = e.sign != null\r\n }\r\n this.task.text = textValue;\r\n\r\n saveTaskResource = {\r\n id,\r\n text: textValue,\r\n field: \"text\",\r\n option: WFSaveOptions.MANUAL,\r\n };\r\n }\r\n\r\n this.saveTask(saveTaskResource, hasRefresh, check, e.sign, taskId, approveId, unapproveId);\r\n }\r\n }\r\n\r\n saveTask(saveTaskResource: SaveTaskResource, hasRefresh?: boolean, check?: boolean, e?: any, taskId?: number, approveId?: number, unapproveId?: number) {\r\n if (this.task) {\r\n this.saving = true;\r\n this.task.isCompleted = this.utils.taskComplete(this.task);\r\n this.checklistsService.saveWFTask(saveTaskResource, hasRefresh).toPromise().then(task => {\r\n if (check) {\r\n this.check(e, taskId, approveId, unapproveId);\r\n }\r\n else {\r\n if (task) {\r\n this.task = task;\r\n this.task.required = true;\r\n this.task.isCompleted = this.utils.taskComplete(this.task);\r\n this.updateTask.emit(this.task);\r\n }\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n }\r\n\r\n check(e: any, taskId?: number, approveId?: number, unapproveId?: number) {\r\n if (taskId)\r\n if (e == true || e.checked == true) {\r\n if (approveId)\r\n this.sign(null, taskId, approveId, e.isASCC);\r\n } else {\r\n if (unapproveId)\r\n this.sign(null, taskId, unapproveId);\r\n }\r\n }\r\n\r\n isReviewer() {\r\n return this.checklistsService.isReviewer;\r\n }\r\n\r\n annotationsChanged(e: any) {\r\n if (e)\r\n this.task = e;\r\n }\r\n\r\n close() {\r\n if (this.currentChecklist && this.task)\r\n this.checklistsService.processTags(this.currentChecklist, this.task);\r\n }\r\n\r\n completed() {\r\n if (this.task)\r\n return this.utils.taskComplete(this.task);\r\n return false;\r\n }\r\n\r\n}\r\n\r\nexport class Value {\r\n index!: number;\r\n code!: string;\r\n val!: boolean;\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n","import { Component, Input, OnInit, SimpleChanges, OnChanges, OnDestroy, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistBuilderAnnotationsService } from 'src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotations.service';\r\nimport { Annotation, AnnotationStatus, Checklist } from 'src/app/components/checklists/checklists';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WfSignature, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { ChecklistTasksAnnotationsEditComponent } from './checklist-tasks-annotations-edit/checklist-tasks-annotations-edit.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'checklist-tasks-annotations-annotation',\r\n templateUrl: './checklist-tasks-annotations-annotation.component.html',\r\n styleUrls: ['./checklist-tasks-annotations-annotation.component.scss']\r\n})\r\nexport class ChecklistTasksAnnotationsAnnotationComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() annotation?: Annotation;\r\n @Input() s!: WfSignature;\r\n @Input() task?: WfTaskLocalResource;\r\n @Input() currentChecklist?: Checklist | null;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n annotationTextSanitized!: SafeHtml;\r\n responseTextSanitized!: SafeHtml;\r\n isRCP!: boolean;\r\n\r\n formStatus = FormStatusEnum;\r\n annotationStatus = AnnotationStatus;\r\n\r\n hasRresponse!: boolean;\r\n isPreparer!: boolean;\r\n isReviewer!: boolean;\r\n isApprover!: boolean;\r\n isCreator!: boolean;\r\n isResponder!: boolean;\r\n\r\n annotations!: Annotation[];\r\n annotations$!: Observable;\r\n annotationsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private annotationService: ChecklistBuilderAnnotationsService,\r\n private checklistsService: ChecklistsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.annotationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadUsers();\r\n this.isRCP = this.currentChecklist?.checklistTemplate?.documentTypeID == 200;\r\n }\r\n\r\n ngOnInit() {\r\n this.loadAnnotations();\r\n this.isPreparer = this.checklistsService.isPreparer;\r\n this.isReviewer = this.checklistsService.isReviewer;\r\n }\r\n\r\n loadAnnotations() {\r\n this.annotations$ = this.store.select(state => state.Annotations.data);\r\n this.annotationsSubs = this.annotations$.subscribe(data => {\r\n this.annotations = data;\r\n if (this.annotation) {\r\n this.annotation = this.annotations.find(x => x.id == this.annotation?.id);\r\n if (this.annotation) {\r\n this.annotation.createdByName = this.users.find(x => x.id == this.annotation?.createdBy)?.name;\r\n this.annotation.responseByName = this.users.find(x => x.id == this.annotation?.responseBy)?.name;\r\n }\r\n this.annotationTextSanitized = this.sanitize(this.annotation?.annotationText);\r\n this.responseTextSanitized = this.sanitize(this.annotation?.responseText);\r\n this.isCreator = this.annotation?.createdBy == this.currentUser?.id;\r\n this.isResponder = this.annotation?.responseBy == this.currentUser?.id;\r\n }\r\n });\r\n }\r\n\r\n edit() {\r\n const editor = this.dialog.open(ChecklistTasksAnnotationsEditComponent, {\r\n width: '80vw',\r\n maxHeight: '90vh',\r\n data: {\r\n s: this.s,\r\n task: this.task,\r\n annotation: this.annotation,\r\n currentChecklist: this.currentChecklist,\r\n isResponse: false\r\n },\r\n autoFocus: false,\r\n disableClose: true,\r\n hasBackdrop: true\r\n });\r\n editor.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.changed.emit(data);\r\n }\r\n });\r\n }\r\n\r\n delete() {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('GenChklistBldr_DeleteAnnotationConfimation').description,\r\n icon: 'stop'\r\n }\r\n });\r\n yesno.afterClosed().subscribe(data => {\r\n if (data && this.annotation) {\r\n this.annotationService.delete(this.annotation).toPromise().then((data) => {\r\n this.changed.emit(data);\r\n });\r\n }\r\n });\r\n }\r\n\r\n done() {\r\n if (this.annotation) {\r\n this.annotation.status = this.annotationStatus.Done;\r\n this.annotationService.update(this.annotation).toPromise().then();\r\n }\r\n }\r\n\r\n undone() {\r\n if (this.annotation) {\r\n this.annotation.status = this.annotationStatus.Active;\r\n this.annotationService.update(this.annotation).toPromise().then();\r\n }\r\n }\r\n\r\n respond() {\r\n const editor = this.dialog.open(ChecklistTasksAnnotationsEditComponent, {\r\n width: '80vw',\r\n maxHeight: '90vh',\r\n data: {\r\n s: this.s,\r\n task: this.task,\r\n annotation: this.annotation,\r\n currentChecklist: this.currentChecklist,\r\n isResponse: true\r\n },\r\n autoFocus: false,\r\n disableClose: true,\r\n hasBackdrop: true\r\n });\r\n editor.afterClosed().toPromise().then();\r\n }\r\n\r\n\r\n deleteResponse() {\r\n if (this.annotation) {\r\n this.annotation.responseBy = null;\r\n this.annotation.responseByName = null;\r\n this.annotation.responseDate = null;\r\n this.annotation.responseText = null;\r\n this.annotationService.update(this.annotation).toPromise().then();\r\n }\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n\r\n \r\n question_answer\r\n \r\n \r\n mark_chat_read\r\n \r\n \r\n mark_chat_unread\r\n \r\n \r\n
\r\n
\r\n \r\n person\r\n {{ annotation?.createdByName }}
{{ annotation?.createdOn | date : \"medium\" }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n subdirectory_arrow_right\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n
\r\n
\r\n \r\n person {{ annotation?.responseByName\r\n }}
{{\r\n annotation?.responseDate | date : \"medium\"\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Store } from '@ngxs/store';\r\nimport { Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ChecklistBuilderAnnotationsService } from 'src/app/components/checklists/checklist-builder/checklist-builder-annotations/checklist-builder-annotations.service';\r\nimport { ChecklistBuilderService } from 'src/app/components/checklists/checklist-builder/checklist-builder.service';\r\nimport { Annotation, Checklist } from 'src/app/components/checklists/checklists';\r\nimport { ImageUploadService } from 'src/app/services/file/image-upload.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WfSignature, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\n\r\n@Component({\r\n selector: 'app-checklist-tasks-annotations-edit',\r\n templateUrl: './checklist-tasks-annotations-edit.component.html',\r\n styleUrls: ['./checklist-tasks-annotations-edit.component.scss']\r\n})\r\nexport class ChecklistTasksAnnotationsEditComponent extends BaseComponent implements OnInit {\r\n\r\n s: WfSignature;\r\n task: WfTaskLocalResource;\r\n annotation: Annotation;\r\n annotationText?: string | null;\r\n isResponse: boolean;\r\n isComment: boolean;\r\n currentChecklist: Checklist;\r\n\r\n quillConfig = {\r\n toolbar: {\r\n container: [\r\n ['bold', 'italic', 'underline', 'strike'], // toggled buttons\r\n [{ list: 'ordered' }, { list: 'bullet' }],\r\n [{ color: [] }, { background: [] }],\r\n [{ script: 'sub' }, { script: 'super' }], // superscript/subscript\r\n [{ align: [] }],\r\n ['link', 'image'],\r\n ['clean']\r\n\r\n ]\r\n },\r\n // autoLink: true,\r\n keyboard: {\r\n bindings: {\r\n enter: {\r\n key: 13,\r\n handler: () => {\r\n return true;\r\n }\r\n }\r\n }\r\n },\r\n imageDrop: true,\r\n imageResize: true\r\n };\r\n\r\n wfTaskLocal!: WfTaskLocalResource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n private annotationsService: ChecklistBuilderAnnotationsService,\r\n private _image: ImageUploadService,\r\n private builderService: ChecklistBuilderService,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n ) {\r\n super(injector);\r\n this.s = data.s;\r\n this.isResponse = data.isResponse;\r\n this.isComment = data.isComment;\r\n this.annotation = data.annotation;\r\n this.annotationText = this.isResponse ? this.annotation?.responseText : this.annotation?.annotationText;\r\n this.task = data.task;\r\n this.currentChecklist = data.currentChecklist;\r\n }\r\n\r\n ngOnInit() {\r\n if (this.s.id)\r\n this.builderService.getWFTaskLocal(this.s.id).toPromise().then(data => {\r\n if (data)\r\n this.wfTaskLocal = data;\r\n });\r\n }\r\n\r\n async accept() {\r\n if (!this.isResponse) {\r\n if (this.annotation == null) {\r\n this.annotation = {\r\n id: 0,\r\n annotationText: this.annotationText,\r\n wfTaskLocalID: this.task.id,\r\n checklistID: this.currentChecklist.id,\r\n status: 0\r\n };\r\n\r\n this.annotationsService.create(this.annotation).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n else {\r\n if (this.annotationText && this.currentChecklist.documentType?.code && this.wfTaskLocal.wfStepLocal)\r\n this.annotation.annotationText = await this.uploadImages(this.annotationText, this.currentChecklist.documentType.code.trim() + this.currentChecklist.serialNo + '/WFSectionLocal-' + this.wfTaskLocal.wfStepLocal.wfSectionLocalID + '/WFTaskLocal-' + this.s.id + '/Suggestion-' + this.annotation.id + '/');\r\n this.annotationsService.update(this.annotation).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n }\r\n else {\r\n if (this.annotationText && this.currentChecklist.documentType?.code && this.wfTaskLocal.wfStepLocal)\r\n this.annotation.responseText = await this.uploadImages(this.annotationText, this.currentChecklist.documentType.code.trim() + '/' + this.currentChecklist.serialNo + '/WFSectionLocal-' + this.wfTaskLocal.wfStepLocal.wfSectionLocalID + '/WFTaskLocal-' + this.s.id + '/Response-' + this.annotation.id + '/');\r\n this.annotation.responseBy = this.getCurrentUser()?.id;\r\n this.annotation.responseByName = this.getCurrentUser()?.name;\r\n this.annotation.responseDate = new Date();\r\n this.annotationsService.update(this.annotation).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async uploadImages(textValue: string, path: string) {\r\n const text = await this._image.uploadImagesToServer(textValue, path);\r\n return text;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n {{ annotation ? \"Edit \" : \"Create \" }}\r\n {{ isResponse ? \"Response\" : isComment ? \"Comment\" : \"Suggestion\" }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, Input, OnInit, OnChanges, Output, EventEmitter } from '@angular/core';\r\nimport { WfTaskLocalResource, WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { Checklist, Annotation, AnnotationStatus } from '../../../checklists';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'checklist-tasks-annotations',\r\n templateUrl: './checklist-tasks-annotations.component.html',\r\n styleUrls: ['./checklist-tasks-annotations.component.scss']\r\n})\r\nexport class ChecklistTasksAnnotationsComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() task?: WfTaskLocalResource;\r\n @Input() s!: WfSignature;\r\n @Input() currentChecklist?: Checklist | null;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n annotations?: Annotation[];\r\n annotationsFiltered?: Annotation[];\r\n annotations$!: Observable;\r\n annotationsSubs!: Subscription;\r\n\r\n hasAnnotations!: boolean;\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadAnnotations() {\r\n this.annotations$ = this.store.select(state => state.Annotations.data);\r\n this.annotationsSubs = this.annotations$.subscribe(data => {\r\n if (data?.length) {\r\n this.annotations = data;\r\n this.annotationsFiltered = this.annotations.filter(a => a.wfTaskLocalID == this.task?.id).sort((a, b) => a.id - b.id) ?? [];\r\n this.hasAnnotations = this.annotationsFiltered?.some(x => x.status == AnnotationStatus.Active);\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges() {\r\n this.loadAnnotations();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnChanges, ViewChildren, QueryList, Output, EventEmitter, SimpleChanges } from '@angular/core';\r\nimport { ChecklistTaskComponent } from './checklist-task/checklist-task.component';\r\nimport { ChecklistsService } from '../../checklists.service';\r\nimport { Checklist } from '../../checklists';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'checklist-tasks',\r\n templateUrl: './checklist-tasks.component.html',\r\n styleUrls: ['./checklist-tasks.component.scss']\r\n})\r\nexport class ChecklistTasksComponent implements OnChanges {\r\n\r\n @Input() tasks!: WfTaskLocalResource[];\r\n @Input() currentChecklist?: Checklist | null;\r\n @Input() disabled!: boolean;\r\n @Input() precheck?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() checkShared = new EventEmitter();\r\n\r\n @ViewChildren(ChecklistTaskComponent) taskComponents!: QueryList;\r\n\r\n formStatus = FormStatusEnum;\r\n updating!: boolean;\r\n renumbering!: boolean;\r\n update!: boolean;\r\n\r\n constructor(\r\n private checklistService: ChecklistsService\r\n ) {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n // if (!this.updating && !this.renumbering && this.checklistService.allTasks?.length) {\r\n if (!this.updating && !this.renumbering) {\r\n this.renumber();\r\n // this.refreshTasks();\r\n }\r\n }\r\n\r\n renumber() {\r\n this.tasks = this.tasks.sort((a, b) => utils.sort(a.order, b.order));\r\n let number = 1;\r\n this.tasks.map(t => {\r\n if (t.required && t.component?.numericHeader) {\r\n if (t.name != number.toString()) {\r\n t.name = number.toString();\r\n }\r\n number++;\r\n }\r\n });\r\n }\r\n\r\n updateTask(task: WfTaskLocalResource) {\r\n // this.checklistService.updateTask(task);\r\n this.renumber();\r\n // this.refreshTasks();\r\n }\r\n\r\n // refreshTasks() {\r\n // this.taskComponents?.map(t => {\r\n // // const task = this.checklistService.allTasks.find(x => x.id == t.task?.id);\r\n // t.refreshSignature();\r\n // });\r\n // }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Checklist, ChecklistTemplateStatusEnum, ChecklistTemplate, TemplateType, RSSTest } from '../checklists';\r\nimport { ChecklistsService } from '../checklists.service';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { ChecklistBuilderService } from '../checklist-builder/checklist-builder.service';\r\nimport { SchedulesRefresh } from '../../schedules/store/schedules/schedule.action';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\nimport { ProcedureTypeEnum } from 'src/app/components/procedure/enums/procedure-type.enum';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Schedule } from '../../schedules/models/schedule';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { TemplateTypesRefresh } from '../store/template-types/template-types.action';\r\n\r\n@Component({\r\n selector: 'app-checklist-temp',\r\n templateUrl: './checklist-temp.component.html',\r\n styleUrls: ['./checklist-temp.component.scss']\r\n})\r\nexport class ChecklistTempComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public schedule?: Schedule;\r\n public templateType?: TemplateType;\r\n public checklistTemplate?: ChecklistTemplate;\r\n public checklist?: Checklist;\r\n\r\n public schedules!: Schedule[];\r\n public templateTypes!: TemplateType[];\r\n public sections?: WFSectionLocalResource[];\r\n\r\n public schedules$!: Observable;\r\n public templateTypes$!: Observable;\r\n\r\n public scheduleSubscribe!: Subscription;\r\n public templateTypeSubscribe!: Subscription;\r\n\r\n public loadingSchedules!: boolean;\r\n public loadingTemplateTypes!: boolean;\r\n public isLoading!: boolean;\r\n\r\n public dialogRef: MatDialogRef | null;\r\n public dialogData: RSSTest;\r\n isPrintView = false;\r\n\r\n constructor(\r\n private checklistsService: ChecklistsService,\r\n private placeholdersService: PlaceholdersService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private checklistTempServ: ChecklistBuilderService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.dialogRef = this.injector.get(MatDialogRef, null);\r\n this.dialogData = this.injector.get(MAT_DIALOG_DATA, null);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scheduleSubscribe?.unsubscribe();\r\n this.templateTypeSubscribe?.unsubscribe();\r\n }\r\n\r\n async ngOnInit() {\r\n this.isLoading = true;\r\n if (this.router.url.includes('/rss-test-view-mode')) {\r\n const id = this.route.snapshot.queryParams['id'];\r\n this.checklistTempServ.getchecklistTemplateById(id).toPromise().then(result => {\r\n this.isPrintView = true;\r\n this.dialogData = {\r\n procedureMasterId: result?.procedureMasterID,\r\n procedureTypeEnum: ProcedureTypeEnum.RSSTest,\r\n checklistTemplate: result\r\n };\r\n if (this.dialogData?.checklistTemplate !== undefined && this.dialogData?.checklistTemplate) {\r\n this.createChecklistFromTemplate(this.dialogData?.checklistTemplate);\r\n } else {\r\n this.loadSchedules();\r\n }\r\n });\r\n } else {\r\n if (this.dialogData?.checklistTemplate !== undefined && this.dialogData?.checklistTemplate != null) {\r\n this.createChecklistFromTemplate(this.dialogData?.checklistTemplate);\r\n } else {\r\n await this.loadSchedules();\r\n }\r\n }\r\n }\r\n\r\n async loadChecklistTemplates() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypeSubscribe = this.templateTypes$.subscribe(data => {\r\n if (data && data?.length) {\r\n this.templateTypes = data.filter(x => x.scheduleTypeID === (this.dialogData.procedureTypeEnum === ProcedureTypeEnum.RSSTest ? 5 : this.dialogData.procedureTypeEnum === ProcedureTypeEnum.EPSTest ? 2 : 0));\r\n this.templateType = this.templateTypes.find(templateType => templateType.checklistTemplates?.some(x => x.status === ChecklistTemplateStatusEnum.Active && x.resourceID === this.schedule?.scheduleResources.find(resource => resource.resourceId)?.resourceId));\r\n this.checklistTemplate = this.templateType?.checklistTemplates?.find(x => x.status === ChecklistTemplateStatusEnum.Active && x.resourceID === this.schedule?.scheduleResources.find(resource => resource.resourceId)?.resourceId);\r\n if (this.checklistTemplate) { this.createChecklist(); }\r\n else {\r\n 'ChecklistNotFound'\r\n ;\r\n this.dialogRef?.close();\r\n }\r\n } else {\r\n if (!this.loadingTemplateTypes) {\r\n this.loadingTemplateTypes = true;\r\n this.store.dispatch(new TemplateTypesRefresh());\r\n }\r\n }\r\n });\r\n }\r\n\r\n async loadSchedules() {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.scheduleSubscribe = this.schedules$.subscribe(data => {\r\n if (data) {\r\n this.schedules = data;\r\n this.schedule = this.schedules.find(x => x.procedureMasterID === this.dialogData.procedureMasterId);\r\n if (!this.schedule || !this.schedule.scheduleResources.filter(x => x.resourceId).length) {\r\n 'ChecklistNotFound'\r\n ;\r\n this.dialogRef?.close();\r\n } else {\r\n this.loadChecklistTemplates();\r\n }\r\n } else {\r\n if (!this.loadingSchedules) {\r\n this.loadingSchedules = true;\r\n this.store.dispatch(new SchedulesRefresh());\r\n }\r\n }\r\n });\r\n }\r\n\r\n createChecklist() {\r\n const checklist: Checklist = {\r\n id: 0,\r\n resourceID: this.schedule?.scheduleResources.find(x => x.resourceId)?.resourceId,\r\n scheduleId: this.schedule?.id,\r\n checklistTemplateID: this.checklistTemplate?.id,\r\n status: FormStatusEnum.Temporal\r\n };\r\n this.checklistsService.post(checklist).toPromise().then(async data => {\r\n if (data) {\r\n this.checklist = data;\r\n if (this.checklist.resource)\r\n await this.placeholdersService.setKeyValuePairs(this.checklist.resource, false);\r\n this.sections = this.checklist.wfTable?.wfTableLocal?.wfSectionLocals;\r\n }\r\n this.isLoading = false;\r\n }).catch((error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n createChecklistFromTemplate(checklistTemplate: ChecklistTemplate) {\r\n const checklist: Checklist = {\r\n id: 0,\r\n resourceID: checklistTemplate.resourceID,\r\n checklistTemplateID: checklistTemplate.id,\r\n status: FormStatusEnum.Temporal,\r\n };\r\n this.checklistsService.post(checklist).toPromise()\r\n .then(data => {\r\n if (data) {\r\n this.checklist = data;\r\n if (this.checklist.resource)\r\n this.placeholdersService.setKeyValuePairs(this.checklist.resource, false);\r\n this.sections = this.checklist.wfTable?.wfTableLocal?.wfSectionLocals;\r\n }\r\n this.isLoading = false;\r\n })\r\n .catch(error => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n sendPrintView() {\r\n // Get the dialog content or the scrollable content within the dialog\r\n const dialogContent = document.getElementById('temp-rss-functional-test-checklist');\r\n if (!dialogContent) return;\r\n\r\n // Create a new window for printing, but hide it off-screen\r\n const printWindow = window.open('', '_blank', 'width=800,height=600,left=-10000,top=-10000');\r\n if (!printWindow) return;\r\n\r\n // Clone the content of the dialog\r\n const clone = dialogContent.cloneNode(true) as HTMLElement;\r\n\r\n // Create a new HTML document inside the print window\r\n printWindow.document.open();\r\n printWindow.document.write('Print');\r\n\r\n // Clone and append all styles (including scroll-related styles)\r\n const head = document.querySelector('head');\r\n if (head) {\r\n const clonedHead = head.cloneNode(true);\r\n printWindow.document.head.appendChild(clonedHead);\r\n }\r\n\r\n // Clone the content and append to the new window's body\r\n printWindow.document.body.appendChild(clone);\r\n\r\n // Optionally, add any additional styles to improve the print layout\r\n const style = printWindow.document.createElement('style');\r\n style.innerHTML = `\r\n body {\r\n margin: 0;\r\n font-family: Arial, sans-serif;\r\n overflow: visible;\r\n }\r\n /* You can adjust the page size and layout here */\r\n @media print {\r\n body {\r\n font-size: 12px;\r\n width: 100%;\r\n height: auto;\r\n margin: 0;\r\n }\r\n .card-body, .h-200 {\r\n overflow: visible !important;\r\n height: auto !important;\r\n }\r\n }\r\n `;\r\n printWindow.document.head.appendChild(style);\r\n\r\n // Close the document (completes the loading of content)\r\n printWindow.document.close();\r\n\r\n // Focus on the new print window (this may still be briefly visible)\r\n printWindow.focus();\r\n\r\n // Trigger the print dialog\r\n setTimeout(() => {\r\n printWindow.print();\r\n setTimeout(() => {\r\n printWindow.close();\r\n }, 1000); // Delay before closing the window to allow printing\r\n }, 500); // Ensure the window content is fully loaded before printing\r\n }\r\n\r\n\r\n\r\n}\r\n","
\r\n
\r\n {{ dialogData.checklistTemplate?.name }} - Checklistfrom: {{ checklist?.checklistTemplate?.serialNo }}\r\n \r\n close\r\n \r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n print\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from '../../app-routing.module';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ChecklistBuilderEditPopupComponent } from './checklist-builder/checklist-builder-edit-popup/checklist-builder-edit-popup.component';\r\nimport { ChecklistBuilderService } from './checklist-builder/checklist-builder.service';\r\nimport { ChecklistTempComponent } from './checklist-temp/checklist-temp.component';\r\nimport { ChecklistsService } from './checklists.service';\r\nimport { ChecklistBuilderDuplicateComponent } from './checklist-builder/checklist-builder-duplicate/checklist-builder-duplicate.component';\r\nimport { ChecklistBuilderPlaceholdersComponent } from './checklist-builder/checklist-builder-placeholders/checklist-builder-placeholders.component';\r\nimport { ChecklistBuilderComponent } from './checklist-builder/checklist-builder.component';\r\nimport { ChecklistBuilderListComponent } from './checklist-builder/checklist-builder-list/checklist-builder-list.component';\r\nimport { ChecklistBuilderReviewSummaryComponent } from './checklist-builder/checklist-builder-review-summary/checklist-builder-review-summary.component';\r\nimport { ChecklistBuilderSectionComponent } from './checklist-builder/checklist-builder-sections/checklist-builder-section/checklist-builder-section.component';\r\nimport { ChecklistBuilderStepComponent } from './checklist-builder/checklist-builder-steps/checklist-builder-step/checklist-builder-step.component';\r\nimport { ChecklistBuilderStepsComponent } from './checklist-builder/checklist-builder-steps/checklist-builder-steps.component';\r\nimport { ChecklistBuilderTaskComponent } from './checklist-builder/checklist-builder-tasks/checklist-builder-task/checklist-builder-task.component';\r\nimport { ChecklistBuilderTasksComponent } from './checklist-builder/checklist-builder-tasks/checklist-builder-tasks.component';\r\nimport { ChecklistBuilderStepConfigComponent } from './checklist-builder/checklist-builder-steps/checklist-builder-step/checklist-builder-step-config/checklist-builder-step-config.component';\r\nimport { ChecklistBuilderAnnotationEditComponent } from './checklist-builder/checklist-builder-annotations/checklist-builder-annotation-edit/checklist-builder-annotation-edit.component';\r\nimport { ChecklistBuilderTaskMoreComponent } from './checklist-builder/checklist-builder-tasks/checklist-builder-task/checklist-builder-task-more/checklist-builder-task-more.component';\r\nimport { ChecklistBuilderAnnotationComponent } from './checklist-builder/checklist-builder-annotations/checklist-builder-annotation/checklist-builder-annotation.component';\r\nimport { ChecklistBuilderAnnotationsComponent } from './checklist-builder/checklist-builder-annotations/checklist-builder-annotations.component';\r\nimport { ChecklistBuilderSettingsGeneralComponent } from './checklist-builder/checklist-builder-settings/checklist-builder-settings-general/checklist-builder-settings-general.component';\r\nimport { ChecklistBuilderSettingsPermissionsComponent } from './checklist-builder/checklist-builder-settings/checklist-builder-settings-permissions/checklist-builder-settings-permissions.component';\r\nimport { ChecklistBuilderSettingsComponent } from './checklist-builder/checklist-builder-settings/checklist-builder-settings.component';\r\nimport { ChecklistBuilderSectionsComponent } from './checklist-builder/checklist-builder-sections/checklist-builder-sections.component';\r\nimport { ChecklistBuilderSettingsStatusComponent } from './checklist-builder/checklist-builder-settings/checklist-builder-settings-statuses/checklist-builder-settings-status/checklist-builder-settings-status.component';\r\nimport { ChecklistBuilderSettingsStatusesComponent } from './checklist-builder/checklist-builder-settings/checklist-builder-settings-statuses/checklist-builder-settings-statuses.component';\r\nimport { ChecklistBuilderReviewSignaturesComponent } from './checklist-builder/checklist-builder-review-summary/checklist-builder-review-signatures/checklist-builder-review-signatures.component';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { ChecklistBuilderAnnotationsService } from './checklist-builder/checklist-builder-annotations/checklist-builder-annotations.service';\r\nimport { ChecklistBuilderRejectComponent } from './checklist-builder/checklist-builder-reject/checklist-builder-reject.component';\r\nimport { ChecklistExecComponent } from './checklist-exec/checklist-exec.component';\r\nimport { ChecklistExecSideComponent } from './checklist-exec/checklist-exec-side/checklist-exec-side.component';\r\nimport { ChecklistSectionComponent } from './checklist-exec/checklist-sections/checklist-section/checklist-section.component';\r\nimport { ChecklistSectionsComponent } from './checklist-exec/checklist-sections/checklist-sections.component';\r\nimport { ChecklistStepComponent } from './checklist-exec/checklist-steps/checklist-step/checklist-step.component';\r\nimport { ChecklistStepsComponent } from './checklist-exec/checklist-steps/checklist-steps.component';\r\nimport { ChecklistTaskComponent } from './checklist-exec/checklist-tasks/checklist-task/checklist-task.component';\r\nimport { ChecklistTasksComponent } from './checklist-exec/checklist-tasks/checklist-tasks.component';\r\nimport { ChecklistTaskCounterComponent } from './checklist-exec/checklist-task-counter/checklist-task-counter.component';\r\nimport { ChecklistExecReviewSummaryComponent } from './checklist-exec/checklist-exec-review-summary/checklist-exec-review-summary.component';\r\nimport { ChecklistTaskReviewComponent } from './checklist-exec/checklist-tasks/checklist-task-review/checklist-task-review.component';\r\nimport { ChecklistTasksAnnotationsEditComponent } from './checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-edit/checklist-tasks-annotations-edit.component';\r\nimport { ChecklistTasksAnnotationsAnnotationComponent } from './checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations-annotation/checklist-tasks-annotations-annotation.component';\r\nimport { ChecklistTasksAnnotationsComponent } from './checklist-exec/checklist-tasks/checklist-tasks-annotations/checklist-tasks-annotations.component';\r\nimport { ChecklistTaskRcpactionsComponent } from './checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-rcpactions.component';\r\nimport { ChecklistTaskActionitemsComponent } from './checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-actionitems/checklist-task-actionitems.component';\r\nimport { ChecklistRolesChipsComponent } from './checklist-builder/checklist-builder-common/checklist-roles-chips/checklist-roles-chips.component';\r\nimport { ChecklistTaskReviewSatisfactionCheckComponent } from './checklist-exec/checklist-tasks/checklist-task-rcpactions/checklist-task-review-satisfaction-check/checklist-task-review-satisfaction-check.component';\r\nimport { ChecklistExecRelatedComponent } from './checklist-exec/checklist-exec-related/checklist-exec-related.component';\r\nimport { ChecklistExecStandaloneComponent } from './checklist-exec/checklist-exec-standalone/checklist-exec-standalone.component';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\nimport { ChecklistBuilderMapComponent } from './checklist-builder/checklist-builder-map/checklist-builder-map.component';\r\n\r\nconst appRoutes: Routes = [\r\n {\r\n path: 'checklist-builder/:type',\r\n component: ChecklistBuilderComponent\r\n },\r\n {\r\n path: 'checklist-exec/:type',\r\n component: ChecklistExecComponent, canDeactivate: [RedirectGuard]\r\n },\r\n { path: 'rss-test-view-mode', component: ChecklistTempComponent }\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n\r\n // Builder\r\n ChecklistBuilderComponent,\r\n ChecklistBuilderSectionsComponent,\r\n ChecklistBuilderSectionComponent,\r\n ChecklistBuilderStepsComponent,\r\n ChecklistBuilderStepComponent,\r\n ChecklistBuilderStepConfigComponent,\r\n ChecklistBuilderTasksComponent,\r\n ChecklistBuilderTaskComponent,\r\n ChecklistBuilderTaskMoreComponent,\r\n ChecklistBuilderSettingsComponent,\r\n ChecklistBuilderSettingsGeneralComponent,\r\n ChecklistBuilderSettingsPermissionsComponent,\r\n ChecklistBuilderDuplicateComponent,\r\n ChecklistBuilderListComponent,\r\n ChecklistBuilderReviewSummaryComponent,\r\n ChecklistBuilderReviewSignaturesComponent,\r\n ChecklistBuilderAnnotationsComponent,\r\n ChecklistBuilderAnnotationComponent,\r\n ChecklistBuilderAnnotationEditComponent,\r\n ChecklistBuilderRejectComponent,\r\n ChecklistRolesChipsComponent,\r\n\r\n\r\n // ChecklistExecPopupComponent,\r\n\r\n // Execution\r\n ChecklistExecComponent,\r\n ChecklistExecSideComponent,\r\n ChecklistSectionsComponent,\r\n ChecklistSectionComponent,\r\n ChecklistStepsComponent,\r\n ChecklistStepComponent,\r\n ChecklistTasksComponent,\r\n ChecklistTaskComponent,\r\n ChecklistTaskCounterComponent,\r\n\r\n\r\n // ChecklistExecVerificationListComponent,\r\n\r\n // Temp\r\n ChecklistTempComponent,\r\n\r\n // Common\r\n ChecklistBuilderPlaceholdersComponent,\r\n ChecklistBuilderEditPopupComponent,\r\n ChecklistTaskReviewComponent,\r\n ChecklistTasksAnnotationsComponent,\r\n ChecklistTasksAnnotationsAnnotationComponent,\r\n ChecklistTasksAnnotationsEditComponent,\r\n ChecklistBuilderSettingsStatusesComponent,\r\n ChecklistBuilderSettingsStatusComponent,\r\n ChecklistExecReviewSummaryComponent,\r\n ChecklistTaskRcpactionsComponent,\r\n ChecklistTaskActionitemsComponent,\r\n ChecklistTaskReviewSatisfactionCheckComponent,\r\n ChecklistExecRelatedComponent,\r\n // ChecklistTaskReviewSatisfactionCheckComponent,\r\n ChecklistExecStandaloneComponent,\r\n ChecklistBuilderMapComponent,\r\n // ChecklistExecPrecheckToggleComponent,\r\n // ChecklistRolesChipsComponent\r\n\r\n ],\r\n\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n MatToolbarModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n DatePipe,\r\n QuillModule.forRoot(),\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules,\r\n }\r\n ),\r\n SharedModule,\r\n ],\r\n exports: [\r\n CommonModule,\r\n MatButtonModule,\r\n MatNativeDateModule,\r\n MatIconModule,\r\n MatSidenavModule,\r\n MatListModule,\r\n MatToolbarModule,\r\n ChecklistComponentsModule,\r\n ChecklistSectionsComponent,\r\n ChecklistTaskComponent,\r\n ChecklistBuilderRejectComponent,\r\n ChecklistExecStandaloneComponent,\r\n ChecklistBuilderSectionsComponent\r\n ],\r\n providers: [\r\n ChecklistBuilderService,\r\n ChecklistBuilderAnnotationsService,\r\n ChecklistsService,\r\n // PlaceholderHighlightPipe\r\n\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class ChecklistsModule {\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\r\nimport { WFComponent } from '../workflow/workflow';\r\nimport { Checklist, ChecklistTemplateStatusResource, Option, SaveChecklistLocationsResource, SaveChecklistStatusResource, Shielding, TemplateType } from './checklists';\r\nimport { FormType, FormStatusEnum, ComponentType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { OlogDataBaseObject } from 'src/app/components/olog/olog';\r\nimport { RadMonitorSaveResource } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { RadMonitorService } from 'src/app/components/catalogs/rad-monitor/services/rad-monitor.service';\r\nimport { RadNoteSaveResource } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-note';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WfTaskLocalResource, WFSectionLocalResource, WFStepLocalResource, SaveTaskResource } from 'src/app/services/work-flow/work-flow';\r\nimport { RadMeter } from '../catalogs/meters-catalog/rad-meters';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { TasksUpdateAll } from './store/tasks/task.action';\r\nimport { ConditionParser } from 'src/app/modules/libs/condition-parser';\r\n\r\n@Injectable()\r\nexport class ChecklistsService extends BaseService {\r\n\r\n SerialNumber = '/SerialNumbers/' + FormType.KE;\r\n Locations = '/Locations';\r\n\r\n Api = '/Checklist';\r\n\r\n isReviewer!: boolean;\r\n isPreparer!: boolean;\r\n precheck = new BehaviorSubject(false);\r\n\r\n\r\n participants!: User[];\r\n\r\n components!: WFComponent[];\r\n components$!: Observable;\r\n componentsSubs!: Subscription;\r\n\r\n expansionStatus: ExpansionStatus[] = [];\r\n\r\n wfTaskLocals?: WfTaskLocalResource[];\r\n wfTaskLocal$!: Observable;\r\n wfTaskLocalSubs!: Subscription;\r\n\r\n savingShieldings?: Shielding[] | null;\r\n savingTaskID?: number | null;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private rmService: RadMonitorService,\r\n ) {\r\n super(injector, '/Checklist');\r\n }\r\n\r\n // Gets the Serial Number of the Form\r\n getSerialNo(): Observable {\r\n const httpresult1 = this.http.get(this.BASE_URL + this.SerialNumber);\r\n return httpresult1;\r\n }\r\n\r\n getAllByDocument(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/ByDocumentType/' + id);\r\n return httpresult;\r\n }\r\n\r\n getAllByDocumentMin(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/ByDocumentTypeMin/' + id);\r\n return httpresult;\r\n }\r\n\r\n getBySerialNo(sn: string): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/SerialNo/' + sn);\r\n return httpresult;\r\n }\r\n\r\n getStatusComplete(wfTableID: number, formStatus: FormStatusEnum): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/StatusComplete/' + wfTableID + '/' + formStatus);\r\n return httpresult;\r\n }\r\n\r\n getVerifiedById(id: number, showAmmendment?: boolean): Observable {\r\n const url = this.BASE_URL + this.Api + '/verified/' + id;\r\n const httpresult = this.http.get(url);\r\n return httpresult;\r\n }\r\n\r\n getOlog(serialNo: string): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/GetOlog/' + serialNo);\r\n return httpresult;\r\n }\r\n\r\n getFirstSignatureDate(wfTableId: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/FirstSignatureDate/' + wfTableId);\r\n return httpresult;\r\n }\r\n\r\n getWFTaskLocalsByStepLocalId(stepLocalId: number): Observable {\r\n return this.http.get(this.BASE_URL + this.Api + '/WFTaskLocals/' + stepLocalId);\r\n }\r\n\r\n post(checklist: Checklist) {\r\n return this.http.post(this.BASE_URL + this.Api, checklist);\r\n }\r\n\r\n putStatus(checklist: SaveChecklistStatusResource) {\r\n return this.http.put(this.BASE_URL + this.Api + '/SetStatus/' + checklist.id, checklist);\r\n }\r\n\r\n putLocations(checklist: SaveChecklistLocationsResource) {\r\n return this.http.put(this.BASE_URL + this.Api + '/SetLocations/' + checklist.id, checklist);\r\n }\r\n\r\n cancel(checklist: SaveChecklistStatusResource) {\r\n return this.http.put(this.BASE_URL + this.Api + '/Cancel/' + checklist.id, checklist);\r\n }\r\n\r\n put(checklist: Checklist) {\r\n return this.http.put(this.BASE_URL + this.Api + '/' + checklist.id, checklist);\r\n }\r\n\r\n refreshSection(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/RefreshSection/' + id);\r\n return httpresult;\r\n }\r\n\r\n getAllTemplateTypes(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/AllTemplateTypes');\r\n return httpresult;\r\n }\r\n\r\n getTemplateTypesByDocumentId(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/TemplateTypesByDocument/' + id);\r\n return httpresult;\r\n }\r\n\r\n deleteChecklist(id: number) {\r\n return this.http.delete(this.BASE_URL + this.Api + '/' + id);\r\n }\r\n\r\n getTasksByStepID(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.Api + '/TasksByStepID/' + id);\r\n }\r\n\r\n duplicateStep(stepID: number) {\r\n return this.http.put(this.BASE_URL + this.Api + '/DuplicateStep/' + stepID, null);\r\n }\r\n\r\n deleteStep(stepID: number) {\r\n return this.http.delete(this.BASE_URL + this.Api + '/DeleteStep/' + stepID);\r\n }\r\n\r\n duplicateSection(sectionID: number) {\r\n return this.http.put(this.BASE_URL + this.Api + '/DuplicateSection/' + sectionID, null);\r\n }\r\n\r\n deleteSection(sectionID: number) {\r\n return this.http.delete(this.BASE_URL + this.Api + '/DeleteSection/' + sectionID);\r\n }\r\n\r\n /////\r\n\r\n loadComponents() {\r\n this.components$ = this.store.select(state => state.Components.data);\r\n this.componentsSubs = this.components$.subscribe(data => {\r\n this.components = data;\r\n });\r\n }\r\n\r\n\r\n public sign(taskId: number, actionId: number, reason?: string | null, status?: FormStatusEnum | null, isASCC: boolean = false, data?: any): Observable {\r\n const statusValue = status ?? 0;\r\n const url = `${this.BASE_URL}${this.Api}/Sign?wfTaskId=${taskId}&actionId=${actionId}&status=${statusValue}&isASCC=${isASCC}${reason ? `&reason=${reason}` : ''}`;\r\n\r\n return this.http.put(url, null);\r\n }\r\n\r\n\r\n public saveWFTask(s: SaveTaskResource, r: boolean = false): Observable {\r\n return this.http.put(this.BASE_URL + this.Api + '/Save/' + s.id + '/' + r, s);\r\n }\r\n\r\n setAllTasks(sections?: WFSectionLocalResource[]) {\r\n if (!sections?.length) return;\r\n\r\n this.loadComponents();\r\n\r\n const tasks: WfTaskLocalResource[] = sections.reduce((acc, section) => {\r\n section.wfStepLocals?.forEach(step => {\r\n step.wfTaskLocals.forEach(task => {\r\n if (!task.component) {\r\n task.component = this.components.find(x => x.id === (task.componentID || task.type));\r\n task.componentID = task.component?.id;\r\n }\r\n acc.push(task);\r\n });\r\n });\r\n return acc;\r\n }, [] as WfTaskLocalResource[]);\r\n\r\n const parsedTasks = ConditionParser.parseConditions(tasks);\r\n this.store.dispatch(new TasksUpdateAll(parsedTasks));\r\n }\r\n\r\n\r\n loadWFTaskLocalResources() {\r\n this.wfTaskLocal$ = this.store.select(state => state.WFTaskLocals.data);\r\n this.wfTaskLocalSubs = this.wfTaskLocal$.subscribe(data => {\r\n if (data?.length) {\r\n this.wfTaskLocals = data;\r\n }\r\n });\r\n }\r\n\r\n readyToClose() {\r\n this.loadWFTaskLocalResources();\r\n const unsignedTasks = this.wfTaskLocals?.filter(x => !x.wfTasks?.[0]?.signedBy && x.componentID != ComponentType.CloseButton && x.wfTasks?.[0]?.required && x.code != 'HANDSHAKE/BLSCI');\r\n return unsignedTasks?.length == 0;\r\n }\r\n\r\n taskTouched(task: WfTaskLocalResource) {\r\n switch (task.component?.type) {\r\n case 0: // Signature\r\n return task.isCompleted;\r\n\r\n case 1: // Normal\r\n return this.checkTouchedByComponent(task);\r\n\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n checkTouchedByComponent(task: WfTaskLocalResource) {\r\n let valueObjects = null;\r\n switch (task.componentID) {\r\n case ComponentType.CheckboxMultiple:\r\n case ComponentType.CheckboxMultipleWithTextbox:\r\n valueObjects = utils.JSONparse(utils.getTextValue(task.text));\r\n if (valueObjects) {\r\n const options = valueObjects?.find((x: any) => x.key == \"checked\")\r\n ?.val as Option[];\r\n return options.some(x => x.checked);\r\n }\r\n return false;\r\n case ComponentType.MultipleTextbox:\r\n valueObjects = utils.JSONparse(utils.getTextValue(task.text));\r\n if (valueObjects) {\r\n const options = valueObjects?.find((x: any) => x.key == \"values\")\r\n ?.val as Option[];\r\n return options.some(x => x.text);\r\n }\r\n break;\r\n case ComponentType.CheckboxMultipleSign:\r\n const options = utils.JSONparse(utils.getTextValue(task.text));\r\n return options ? options.some((x: any) => x.userID) : false;\r\n case ComponentType.RadMeters:\r\n valueObjects = utils.JSONparse(utils.getTextValue(task.text));\r\n if (valueObjects && valueObjects.data?.length) {\r\n const radMeters = valueObjects.data as RadMeter[];\r\n return radMeters.some(r => r.backgroundReadingChangedByID || r.sourceReadingChangedByID);\r\n }\r\n break;\r\n case ComponentType.ShieldingsComponent:\r\n const shieldings = utils.JSONparse(utils.getTextValue(task.text)) as Shielding[];\r\n const checked = shieldings?.map(s => s.roleOptions).filter(o => o?.some(r => r.checked));\r\n return checked?.length > 0;\r\n case ComponentType.Catl:\r\n case ComponentType.Olog:\r\n case ComponentType.StatusChange:\r\n return false;\r\n default:\r\n return task.wfTasks?.some(t => t.signedBy);\r\n }\r\n }\r\n\r\n async processTags(checklist: Checklist, task: WfTaskLocalResource) {\r\n const tag = task.code;\r\n switch (tag) {\r\n case 'RMON-SWAP':\r\n const incomingMonitor = this.rmService.incomingMonitorValue;\r\n const outgoingMonitor = this.rmService.outgoingMonitorValue;\r\n\r\n const faultNote = outgoingMonitor?.faultNotes?.[0];\r\n const faultNoteSave: RadNoteSaveResource = {\r\n radLocationId: faultNote?.radLocationId,\r\n radMonitorId: faultNote?.radMonitorId,\r\n description: faultNote?.description,\r\n };\r\n const outgoingSave: RadMonitorSaveResource = {\r\n id: outgoingMonitor?.id ?? 0,\r\n changeOutReason: '',\r\n faultNote: faultNote ? faultNoteSave : null\r\n };\r\n await this.rmService.SwapRadMonitors(incomingMonitor?.id ?? 0, outgoingSave).toPromise();\r\n break;\r\n }\r\n }\r\n\r\n saveExpansionStatus(checklist: Checklist, expandedAll: boolean) {\r\n let expansion = this.getExpansionByChecklist(checklist.id);\r\n expansion.sections = [];\r\n expansion.steps = [];\r\n checklist.wfTable?.wfTableLocal?.wfSectionLocals?.map((section) => {\r\n expansion.sections.push({ id: section.id ?? 0, val: section.collapsed ?? false });\r\n section.wfStepLocals?.map((step) => {\r\n expansion.steps.push({ id: step.id, val: step.collapsed ?? false });\r\n });\r\n });\r\n expansion.all = expandedAll;\r\n }\r\n\r\n saveSectionExpanded(checklistID: number, sectionID: number, value: boolean) {\r\n let expansion = this.getExpansionByChecklist(checklistID);\r\n let section = expansion.sections.find(x => x.id == sectionID);\r\n if (section) {\r\n section.val = value;\r\n }\r\n else {\r\n section = { id: sectionID, val: value } as Collapsed;\r\n expansion.sections.push(section);\r\n }\r\n }\r\n\r\n saveStepExpanded(checklistID: number, stepID: number, value: boolean) {\r\n let expansion = this.getExpansionByChecklist(checklistID);\r\n let step = expansion.steps.find(x => x.id == stepID);\r\n if (step) {\r\n step.val = value;\r\n }\r\n else {\r\n step = { id: stepID, val: value } as Collapsed;\r\n expansion.steps.push(step);\r\n }\r\n }\r\n\r\n getExpansionByChecklist(checklistID: number) {\r\n let expansion = this.expansionStatus.find(x => x.checklistID = checklistID);\r\n if (!expansion) {\r\n expansion = new ExpansionStatus();\r\n expansion.checklistID = checklistID;\r\n this.expansionStatus.push(expansion);\r\n };\r\n return expansion;\r\n }\r\n\r\n setExpansions(checklist: Checklist) {\r\n const expansions = this.expansionStatus.find(x => x.checklistID == checklist.id);\r\n if (expansions) {\r\n const sections = checklist.wfTable?.wfTableLocal?.wfSectionLocals;\r\n sections?.map(s => {\r\n s.collapsed = expansions.sections.find(x => x.id == s.id)?.val;\r\n s.wfStepLocals?.map(t => {\r\n t.collapsed = expansions.steps.find(x => x.id == t.id)?.val;\r\n });\r\n });\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\nclass SerialNumber {\r\n serialNo!: string;\r\n}\r\n\r\nexport class ExpansionStatus {\r\n constructor() {\r\n this.sections = [];\r\n this.steps = [];\r\n }\r\n checklistID!: number;\r\n sections: Collapsed[];\r\n steps: Collapsed[];\r\n all!: boolean;\r\n}\r\n\r\nexport interface Collapsed {\r\n id: number;\r\n val: boolean;\r\n}\r\n","import { SafeHtml } from \"@angular/platform-browser\";\r\nimport { FormStatusEnum, ActionPendingCatalog, CompareOperator } from \"src/app/common/enumerations/enumerations\";\r\nimport { FormStatus } from \"src/app/services/forms/form-status\";\r\nimport { ProcedureTypeEnum } from \"src/app/components/procedure/enums/procedure-type.enum\";\r\nimport { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\nimport { Role } from \"src/app/components/catalogs/roles/services/role\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { WfTaskLocalResource, WFStepStatusLocal } from \"src/app/services/work-flow/work-flow\";\r\nimport { Schedule } from \"../schedules/models/schedule\";\r\nimport { ScheduleType } from \"../schedules/models/schedule-type\";\r\nimport { ScheduleSubtype } from \"../schedules/models/schedule-subtype\";\r\nimport { Resource, ResourceType } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { DocumentType, RelatedDocument } from \"src/app/services/documents/documents\";\r\nimport { ProcedureMaster } from \"../procedure/models/procedure-master.model\";\r\nimport { WFTableResource } from \"../workflow/workflow\";\r\nimport { Review } from \"../reviews/reviews.models\";\r\n\r\nexport class Checklist {\r\n id!: number;\r\n name?: string;\r\n serialNo?: string;\r\n description?: string;\r\n status?: FormStatusEnum;\r\n statusName?: string;\r\n type?: number | null;\r\n code?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n createdByName?: string;\r\n updatedOn?: Date;\r\n updatedBy?: number | null;\r\n updatedByName?: string;\r\n startedBy?: number | null;\r\n startedByName?: string;\r\n startedOn?: Date;\r\n closedBy?: number | null;\r\n closedByName?: string;\r\n closedOn?: Date;\r\n canceledBy?: number | null;\r\n canceledByName?: string;\r\n canceledOn?: Date;\r\n canceledComments?: string;\r\n scheduleId?: number;\r\n schedule?: Schedule | null;\r\n resourceID?: number | null;\r\n resource?: Resource;\r\n wfTableID?: number;\r\n wfTable?: WFTableResource | null;\r\n versionName?: string;\r\n typeName?: string;\r\n checklistTemplateID?: number;\r\n checklistTemplate?: ChecklistTemplate;\r\n documentTypeID?: number;\r\n documentType?: DocumentType;\r\n resourceName?: string;\r\n resourceNameSanitized?: SafeHtml;\r\n verifiedOK?: boolean;\r\n verificationList?: VerificationList;\r\n isOlogSent?: boolean;\r\n checklistStatusID?: number;\r\n checklistStatus?: ChecklistExecStatus;\r\n annotations?: Annotation[];\r\n locations?: string;\r\n\r\n review?: Review;\r\n tooltipCssClasses?: string[];\r\n relatedDocuments?: RelatedDocument[];\r\n loading?: boolean;\r\n}\r\n\r\nexport class VerificationList {\r\n checklistHashCode!: string;\r\n templateHashCode!: string;\r\n checklistTasks: WfTaskLocalResource[] = [];\r\n templateTasks: WfTaskLocalResource[] = [];\r\n verifiedOK: boolean = false;\r\n}\r\n\r\nexport class ChecklistTemplateStatusResource {\r\n status!: number;\r\n completed: boolean = false;\r\n userID!: number;\r\n taskCount!: number;\r\n}\r\n\r\nexport class SaveChecklistStatusResource {\r\n id!: number;\r\n status?: number;\r\n reason?: string;\r\n checklistStatusID?: number;\r\n rolesToNotify?: number[];\r\n wfTaskLocalID?: number;\r\n}\r\n\r\nexport class SaveChecklistLocationsResource {\r\n id!: number;\r\n locations!: string;\r\n}\r\n\r\nexport interface TemplateType {\r\n id: number;\r\n name?: string;\r\n description?: string;\r\n status?: number;\r\n type?: number | null;\r\n order?: number;\r\n code?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date | null;\r\n updatedBy?: number | null;\r\n documentTypeID?: number;\r\n resourceTypeID?: number | null;\r\n scheduleTypeID?: number | null;\r\n scheduleSubtypeID?: number | null;\r\n hideCustomSchedules?: boolean;\r\n samePersonCanApprove?: boolean;\r\n reviewInExec?: boolean;\r\n allowActionItems?: boolean;\r\n documentType?: DocumentType;\r\n execDocumentType?: DocumentType;\r\n resourceType?: ResourceType | null;\r\n scheduleType?: ScheduleType | null;\r\n scheduleSubtype?: ScheduleSubtype | null;\r\n templateRolePermissions?: TemplateRolePermission[];\r\n checklistTemplates?: ChecklistTemplate[];\r\n deleteReason?: string;\r\n actionPending?: ActionPendingCatalog;\r\n allSignaturesRequired?: boolean;\r\n allowMultipleVersions?: boolean;\r\n}\r\n\r\nexport interface TemplateTypeDialogData {\r\n documentType?: DocumentType;\r\n templateType: TemplateType;\r\n isAbsiTemplateType: boolean;\r\n}\r\n\r\nexport interface ChecklistTemplate {\r\n id: number;\r\n name?: string | null;\r\n description?: string;\r\n status?: number;\r\n statusName?: string;\r\n statusOrder?: number;\r\n type?: number;\r\n code?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n updatedByName?: string;\r\n approvedBy?: User;\r\n approvedOn?: Date;\r\n createdByName?: string;\r\n serialNo?: string;\r\n templateTypeID?: number;\r\n templateType?: TemplateType;\r\n documentTypeID?: number;\r\n documentType?: DocumentType;\r\n resourceID?: number | null;\r\n resourceString?: string | null;\r\n wfTableID: number;\r\n wfTable?: WFTableResource;\r\n resource?: Resource;\r\n cssClass?: string;\r\n procedureMasterID?: number;\r\n procedureMaster?: ProcedureMaster;\r\n procedureID?: number;\r\n procedure?: Procedure;\r\n comments?: string | null;\r\n annotations?: Annotation[];\r\n schedule?: Schedule | null;\r\n scheduleID?: number;\r\n}\r\n\r\nexport interface TemplateRolePermission {\r\n id: number;\r\n name?: string;\r\n description?: string;\r\n status?: number;\r\n type?: number | null;\r\n code?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n createdByName?: string;\r\n templateTypeID: number;\r\n templateType?: TemplateType;\r\n documentTypeID?: number;\r\n documentType?: DocumentType;\r\n roleID: number;\r\n role: Role;\r\n checklistPrivilege: number;\r\n}\r\n\r\nexport enum ChecklistPriv {\r\n Prepare = 1,\r\n Review = 2,\r\n Approve = 9,\r\n CreateChecklist = 11,\r\n ReviewChecklist = 12\r\n}\r\n\r\nexport enum ChecklistTemplateStatusEnum {\r\n Temp = -1, // TEMP (RSS Functional Test)\r\n Draft = 0, // NEW\r\n Active = 1, // ACTIVE\r\n PendingRev = 2, // PNR\r\n Rejected = 3, // RJT\r\n CorrectionsPending = 4, // CRR\r\n CorrectionsInProgress = 5, // COR\r\n PendingApr = 6, // PND\r\n InReview = 7, // IRV\r\n Archived = 9, // OLD\r\n Approving = 10, // IAP\r\n Suggesting = 11 // IAS\r\n}\r\nexport interface ChecklistExecStatus {\r\n id: number;\r\n name?: string;\r\n description?: string;\r\n status: number;\r\n type?: number;\r\n code?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n documentTypeID: number;\r\n formStatusID: number;\r\n formStatus: FormStatus;\r\n icon: string;\r\n cssClass: string;\r\n order: number;\r\n wfStepStatus?: WFStepStatusLocal;\r\n enabled?: boolean;\r\n hidden?: boolean;\r\n}\r\n\r\nexport class Placeholder {\r\n id!: number;\r\n name!: string;\r\n description?: string;\r\n type?: number;\r\n code?: string;\r\n status?: number;\r\n placeholderString!: string;\r\n object?: string;\r\n data?: any;\r\n}\r\nexport class ChecklistTemplateStatus {\r\n id!: number;\r\n statusEnum?: ChecklistTemplateStatusEnum;\r\n nextStatusEnum?: ChecklistTemplateStatusEnum;\r\n altNextStatusEnum?: ChecklistTemplateStatusEnum;\r\n type?: number;\r\n icon!: string;\r\n cssClass!: string;\r\n order!: number;\r\n name!: string;\r\n description!: string;\r\n code!: string;\r\n selected?: boolean;\r\n}\r\n\r\nexport interface Annotation {\r\n id: number;\r\n name?: string;\r\n description?: string;\r\n annotationText?: string | null;\r\n createdBy?: number;\r\n createdByName?: string;\r\n createdOn?: Date;\r\n status?: number;\r\n type?: number;\r\n code?: string;\r\n wfTaskLocalID?: number;\r\n checklistTemplateID?: number;\r\n checklistID?: number;\r\n responseBy?: number | null;\r\n responseByName?: string | null;\r\n responseText?: string | null;\r\n responseDate?: Date | null;\r\n}\r\n\r\nexport enum AnnotationStatus {\r\n Active = 0,\r\n Done = 1\r\n}\r\n\r\nexport class RSSTest {\r\n procedureMasterId?: number;\r\n procedureTypeEnum?: ProcedureTypeEnum;\r\n checklistTemplate?: ChecklistTemplate;\r\n}\r\n\r\nexport class RadMonitorChecklistTasks {\r\n taskLoc: WfTaskLocalResource = new WfTaskLocalResource;\r\n taskOut: WfTaskLocalResource = new WfTaskLocalResource;\r\n taskIn: WfTaskLocalResource = new WfTaskLocalResource;\r\n sign1?: WfTaskLocalResource = new WfTaskLocalResource;\r\n sign2?: WfTaskLocalResource = new WfTaskLocalResource;\r\n signSwap: WfTaskLocalResource = new WfTaskLocalResource;\r\n}\r\n\r\nexport class Option {\r\n id?: number;\r\n label!: string;\r\n value!: number;\r\n checked?: boolean;\r\n text?: string;\r\n user?: User | null;\r\n date?: Date | null;\r\n operator?: CompareOperator;\r\n}\r\n\r\nexport interface Shielding {\r\n id: number;\r\n resource?: Resource;\r\n resourceID?: number;\r\n roleOptions?: RoleOption[];\r\n isShared?: boolean;\r\n waiting?: boolean;\r\n}\r\n\r\nexport interface RoleOption {\r\n id: number;\r\n roleIDs: number[];\r\n roleCodes: string;\r\n userID?: number | null;\r\n checked?: boolean;\r\n user?: User | null;\r\n disabled?: boolean;\r\n date?: Date | null;\r\n}\r\n\r\n// export class RoleOption {\r\n// id?: number;\r\n// roleIDs?: number[];\r\n// roleCodes?: string;\r\n// userID?: number | null;\r\n// checked?: boolean;\r\n// user?: User | null;\r\n// disabled?: boolean;\r\n// date?: Date | null;\r\n// }","import { Annotation } from \"../../checklists\";\r\n\r\nexport class AnnotationsRefresh {\r\n static readonly type = '[Annotations] Refresh';\r\n}\r\n\r\nexport class AnnotationsCreate {\r\n static readonly type = '[Annotations] Create';\r\n\r\n constructor(public item: Annotation) { }\r\n}\r\n\r\nexport class AnnotationsUpdate {\r\n static readonly type = '[Annotations] Update';\r\n\r\n constructor(public id: number, public item: Annotation) { }\r\n}\r\n\r\nexport class AnnotationsDelete {\r\n static readonly type = '[Annotations] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { AnnotationsCreate, AnnotationsDelete, AnnotationsRefresh, AnnotationsUpdate } from './annotations.action';\r\nimport { Annotation } from '../../checklists';\r\nimport { ChecklistBuilderAnnotationsService } from '../../checklist-builder/checklist-builder-annotations/checklist-builder-annotations.service';\r\n\r\n\r\nexport class AnnotationsStateModel {\r\n data: Annotation[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Annotations',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class AnnotationsState {\r\n constructor(\r\n private _service: ChecklistBuilderAnnotationsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: AnnotationsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(AnnotationsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().toPromise().then(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(AnnotationsCreate)\r\n create({ getState, patchState }: StateContext, { item }: AnnotationsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(AnnotationsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: AnnotationsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(AnnotationsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: AnnotationsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as AnnotationsActions from './annotations.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AnnotationsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new AnnotationsActions.AnnotationsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.ANNOTATIONS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new AnnotationsActions.AnnotationsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new AnnotationsActions.AnnotationsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new AnnotationsActions.AnnotationsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new AnnotationsActions.AnnotationsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { WfTaskLocalResource } from \"src/app/services/work-flow/work-flow\";\r\n\r\n\r\nexport class BuilderTasksRefresh {\r\n static readonly type = '[BuilderTasks] Refresh';\r\n\r\n constructor(public wfStepLocalID: number) { }\r\n}\r\n\r\nexport class BuilderTasksCreate {\r\n static readonly type = '[BuilderTasks] Create';\r\n\r\n constructor(public item: WfTaskLocalResource) { }\r\n}\r\n\r\nexport class BuilderTasksUpdate {\r\n static readonly type = '[BuilderTasks] Update';\r\n\r\n constructor(public id: number, public item: WfTaskLocalResource) { }\r\n}\r\n\r\nexport class BuilderTasksUpdateAll {\r\n static readonly type = '[BuilderTasks] UpdateAll';\r\n\r\n constructor(public items: WfTaskLocalResource[]) { }\r\n}\r\n\r\nexport class BuilderTasksDelete {\r\n static readonly type = '[BuilderTasks] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport {\r\n BuilderTasksCreate, BuilderTasksDelete, BuilderTasksRefresh, BuilderTasksUpdate, BuilderTasksUpdateAll,\r\n} from './builder-task.action';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistsService } from '../../checklists.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class BuilderTasksStateModel {\r\n data: WfTaskLocalResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'BuilderWFTaskLocals',\r\n defaults: {\r\n data: [],\r\n },\r\n})\r\n@Injectable()\r\nexport class BuilderTasksState {\r\n utils = utils;\r\n constructor(private service: ChecklistsService) { }\r\n\r\n @Selector()\r\n static read(state: BuilderTasksStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(BuilderTasksRefresh)\r\n refresh(\r\n { getState, patchState }: StateContext,\r\n { wfStepLocalID }: BuilderTasksRefresh\r\n ) {\r\n this.service.getTasksByStepID(wfStepLocalID).toPromise().then((items) => {\r\n if (items) {\r\n patchState({ data: getState().data.filter((x) => !items?.map((i) => i.id).includes(x.id)) });\r\n const state = getState();\r\n const data = state.data.concat(items);\r\n patchState({ data });\r\n }\r\n },\r\n (error) => console.error(error)\r\n );\r\n }\r\n\r\n @Action(BuilderTasksCreate)\r\n create({ getState, patchState }: StateContext, { item }: BuilderTasksCreate) {\r\n const state = getState();\r\n const index = state.data.map((x) => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item],\r\n });\r\n }\r\n\r\n @Action(BuilderTasksUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: BuilderTasksUpdate) {\r\n const state = getState();\r\n let index = state.data.map((x) => x.id).indexOf(id);\r\n let newData = [...state.data];\r\n if (index >= 0) {\r\n newData.splice(index, 1);\r\n }\r\n newData.push(item);\r\n patchState({ data: newData });\r\n }\r\n\r\n @Action(BuilderTasksUpdateAll)\r\n updateAll({ getState, patchState }: StateContext, { items }: BuilderTasksUpdateAll) {\r\n const state = getState().data;\r\n const updatedTasks: WfTaskLocalResource[] = [];\r\n items.map(task => {\r\n const currentTask = state.find(t => t.id == task.id);\r\n if (currentTask && currentTask.required != undefined)\r\n task.required = currentTask?.required;\r\n task.wfTasks?.map(t => {\r\n t.order = currentTask?.wfTasks?.find(x => x.id == t.id)?.order;\r\n });\r\n if (currentTask && !utils.isEquivalent(currentTask, task) || !currentTask) {\r\n updatedTasks.push(task);\r\n }\r\n });\r\n const IDs = [...new Set(updatedTasks.map(t => t.id))];\r\n let data = getState().data.filter(t => !IDs.includes(t.id));\r\n data = this.utils.cloneDeep(data.concat(updatedTasks));\r\n patchState({ data });\r\n }\r\n\r\n @Action(BuilderTasksDelete)\r\n delete(\r\n { getState, patchState }: StateContext,\r\n { id }: BuilderTasksDelete\r\n ) {\r\n patchState({\r\n data: getState().data.filter((x) => x.id !== id),\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as BuilderTasksActions from './builder-task.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BuilderTasksStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BUILDER_TASKS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BuilderTasksActions.BuilderTasksCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BuilderTasksActions.BuilderTasksUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BuilderTasksActions.BuilderTasksDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BuilderTasksActions.BuilderTasksRefresh(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ChecklistTemplateStatus } from '../../checklists';\r\n\r\n\r\nexport class ChecklistTemplateStatusesRefresh {\r\n static readonly type = '[ChecklistTemplateStatuses] Refresh';\r\n}\r\n\r\nexport class ChecklistTemplateStatusesCreate {\r\n static readonly type = '[ChecklistTemplateStatuses] Create';\r\n\r\n constructor(public item: ChecklistTemplateStatus) { }\r\n}\r\n\r\nexport class ChecklistTemplateStatusesUpdate {\r\n static readonly type = '[ChecklistTemplateStatuses] Update';\r\n\r\n constructor(public id: number, public item: ChecklistTemplateStatus) { }\r\n}\r\n\r\nexport class ChecklistTemplateStatusesDelete {\r\n static readonly type = '[ChecklistTemplateStatuses] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ChecklistTemplateStatusesCreate, ChecklistTemplateStatusesDelete, ChecklistTemplateStatusesRefresh, ChecklistTemplateStatusesUpdate } from './checklist-status.action';\r\n\r\nimport { ChecklistBuilderService } from '../../checklist-builder/checklist-builder.service';\r\nimport { ChecklistTemplateStatus } from '../../checklists';\r\n\r\n\r\nexport class ChecklistTemplateStatusesStateModel {\r\n data: ChecklistTemplateStatus[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ChecklistTemplateStatuses',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ChecklistTemplateStatusesState {\r\n constructor(\r\n private _service: ChecklistBuilderService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ChecklistTemplateStatusesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ChecklistTemplateStatusesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getStatuses().toPromise().then(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ChecklistTemplateStatusesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ChecklistTemplateStatusesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ChecklistTemplateStatusesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ChecklistTemplateStatusesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ChecklistTemplateStatusesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ChecklistTemplateStatusesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ChecklistTemplateStatusesActions from './checklist-status.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ChecklistTemplateStatusesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ChecklistTemplateStatusesActions.ChecklistTemplateStatusesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.CHECKLIST_STATUSES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ChecklistTemplateStatusesActions.ChecklistTemplateStatusesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ChecklistTemplateStatusesActions.ChecklistTemplateStatusesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ChecklistTemplateStatusesActions.ChecklistTemplateStatusesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ChecklistTemplateStatusesActions.ChecklistTemplateStatusesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistTemplate } from '../../checklists';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\n\r\nexport class ChecklistTemplatesRefreshPending {\r\n static readonly type = '[ChecklistTemplates] RefreshPending';\r\n}\r\n\r\nexport class ChecklistTemplatesRefreshById {\r\n static readonly type = '[ChecklistTemplates] RefreshById';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class ChecklistTemplatesRefreshByDocument {\r\n static readonly type = '[ChecklistTemplates] RefreshByDocument';\r\n constructor(public id: FormType) { }\r\n}\r\n\r\nexport class ChecklistTemplatesCreate {\r\n static readonly type = '[ChecklistTemplates] Create';\r\n\r\n constructor(public item: ChecklistTemplate) { }\r\n}\r\n\r\nexport class ChecklistTemplatesUpdate {\r\n static readonly type = '[ChecklistTemplates] Update';\r\n\r\n constructor(public id: number, public item: ChecklistTemplate) { }\r\n}\r\n\r\nexport class ChecklistTemplatesDelete {\r\n static readonly type = '[ChecklistTemplates] Delete';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class ChecklistTemplatesUpdateSection {\r\n static readonly type = '[ChecklistTemplates] UpdateSection';\r\n constructor(public id: number, public item: WFSectionLocalResource) { }\r\n}\r\n\r\nexport class ChecklistTemplatesRefreshSection {\r\n static readonly type = '[ChecklistTemplates] RefreshSection';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext, Store } from '@ngxs/store';\r\nimport { ChecklistTemplatesCreate, ChecklistTemplatesDelete, ChecklistTemplatesUpdate, ChecklistTemplatesRefreshById, ChecklistTemplatesRefreshByDocument, ChecklistTemplatesRefreshPending } from './checklist-templates.action';\r\nimport { ChecklistTemplate } from '../../checklists';\r\nimport { ChecklistBuilderService } from '../../checklist-builder/checklist-builder.service';\r\nimport { BuilderTasksUpdateAll } from '../builder-tasks/builder-task.action';\r\n\r\n\r\nexport class ChecklistTemplatesStateModel {\r\n data: ChecklistTemplate[] = [];\r\n pending: ChecklistTemplate[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ChecklistTemplates',\r\n defaults: {\r\n data: [],\r\n pending: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ChecklistTemplatesState {\r\n constructor(\r\n private _service: ChecklistBuilderService,\r\n private store: Store\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ChecklistTemplatesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ChecklistTemplatesRefreshPending)\r\n refreshPending({ patchState }: StateContext) {\r\n this._service.getPendingTemplates().toPromise().then(pending => {\r\n patchState({ pending });\r\n }, error => console.error(error));\r\n }\r\n\r\n @Action(ChecklistTemplatesRefreshById)\r\n refreshByByID({ patchState, getState }: StateContext, { id }: ChecklistTemplatesRefreshById) {\r\n this._service.getchecklistTemplateById(id).toPromise().then(\r\n data => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n if (data) {\r\n patchState({\r\n data: [...state.data, data]\r\n });\r\n this.refreshStoredTasks(data);\r\n }\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ChecklistTemplatesRefreshByDocument)\r\n refreshByDocument({ patchState, getState }: StateContext, { id }: ChecklistTemplatesRefreshByDocument) {\r\n this._service.getChecklistTemplatesByDocumentTypeID(id).toPromise().then(\r\n data => {\r\n patchState({ data });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ChecklistTemplatesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ChecklistTemplatesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n this.refreshStoredTasks(item);\r\n }\r\n\r\n @Action(ChecklistTemplatesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ChecklistTemplatesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n\r\n this.refreshStoredTasks(item);\r\n }\r\n\r\n @Action(ChecklistTemplatesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ChecklistTemplatesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n refreshStoredTasks(checklistTemplate: ChecklistTemplate) {\r\n const wfTaskLocals =\r\n checklistTemplate.wfTable?.wfTableLocal?.wfSectionLocals?.flatMap(\r\n (s) => s.wfStepLocals?.flatMap((z) => z.wfTaskLocals ?? []) ?? []\r\n ) ?? [];\r\n\r\n this.store.dispatch(new BuilderTasksUpdateAll(wfTaskLocals));\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ChecklistTemplatesActions from './checklist-templates.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ChecklistTemplatesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore(documentType: number) {\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesRefreshPending());\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesRefreshByDocument(documentType));\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.CHECKLIST_TEMPLATES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesRefreshPending());\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesRefreshByDocument(data.id));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new ChecklistTemplatesActions.ChecklistTemplatesRefreshById(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { Checklist } from '../../checklists';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\n\r\n\r\nexport class ChecklistsRefresh {\r\n static readonly type = '[Checklists] Refresh';\r\n}\r\n\r\nexport class ChecklistsRefreshById {\r\n static readonly type = '[Checklists] RefreshById';\r\n constructor(public id: number) { }\r\n}\r\nexport class ChecklistsRefreshByDocument {\r\n static readonly type = '[Checklists] RefreshByDocument';\r\n constructor(public id: FormType) { }\r\n}\r\n\r\nexport class ChecklistsRefreshByDocumentMin {\r\n static readonly type = '[Checklists] RefreshByDocumentMin';\r\n constructor(public id: FormType) { }\r\n}\r\n\r\nexport class ChecklistsCreate {\r\n static readonly type = '[Checklists] Create';\r\n\r\n constructor(public item: Checklist) { }\r\n}\r\n\r\nexport class ChecklistsUpdate {\r\n static readonly type = '[Checklists] Update';\r\n\r\n constructor(public id: number, public item: Checklist) { }\r\n}\r\n\r\nexport class ChecklistsDelete {\r\n static readonly type = '[Checklists] Delete';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class ChecklistsUpdateSection {\r\n static readonly type = '[ChecklistsSections] UpdateSection';\r\n constructor(public id: number, public item: WFSectionLocalResource) { }\r\n}\r\n\r\nexport class ChecklistsRefreshSection {\r\n static readonly type = '[ChecklistsSections] RefreshSection';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { Checklist } from '../../checklists';\r\nimport { ChecklistsService } from '../../checklists.service';\r\nimport { ChecklistsCreate, ChecklistsDelete, ChecklistsRefresh, ChecklistsUpdate, ChecklistsRefreshByDocument, ChecklistsRefreshByDocumentMin, ChecklistsRefreshById } from './checklists.action';\r\n\r\nexport class ChecklistsStateModel {\r\n data: Checklist[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Checklists',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ChecklistsState {\r\n constructor(\r\n private checklistsService: ChecklistsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ChecklistsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ChecklistsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.checklistsService.getAll().subscribe(\r\n data => {\r\n patchState({ data: data });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ChecklistsRefreshByDocument)\r\n refreshByDocument({ patchState }: StateContext, { id }: ChecklistsRefreshByDocument) {\r\n this.checklistsService.getAllByDocument(id).toPromise().then(\r\n data => {\r\n patchState({ data: data });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ChecklistsRefreshById)\r\n refreshByID({ patchState, getState }: StateContext, { id }: ChecklistsRefreshByDocument) {\r\n this.checklistsService.getById(id).toPromise().then(\r\n data => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0 && data) {\r\n state.data.splice(index, 1);\r\n }\r\n if (data) {\r\n patchState({\r\n data: [...state.data, data]\r\n });\r\n this.checklistsService.setExpansions(data);\r\n }\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n\r\n @Action(ChecklistsRefreshByDocumentMin)\r\n refreshByDocumentMin({ patchState }: StateContext, { id }: ChecklistsRefreshByDocumentMin) {\r\n this.checklistsService.getAllByDocumentMin(id).toPromise().then(\r\n data => {\r\n patchState({ data: data });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ChecklistsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ChecklistsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ChecklistsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ChecklistsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n this.checklistsService.setExpansions(item);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ChecklistsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ChecklistsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport * as ChecklistsActions from 'src/app/components/checklists/store/checklists/checklists.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ChecklistsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore(documentType: FormType | null = null) {\r\n if (documentType) {\r\n this.store.dispatch(new ChecklistsActions.ChecklistsRefreshByDocumentMin(documentType));\r\n }\r\n else {\r\n this.store.dispatch(new ChecklistsActions.ChecklistsRefresh());\r\n }\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.CHECKLISTS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ChecklistsActions.ChecklistsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ChecklistsActions.ChecklistsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ChecklistsActions.ChecklistsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ChecklistsActions.ChecklistsRefresh());\r\n break;\r\n\r\n case SignalRAction.PartialUpdate:\r\n this.store.dispatch(new ChecklistsActions.ChecklistsUpdateSection(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new ChecklistsActions.ChecklistsRefreshById(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { WFComponent } from 'src/app/components/workflow/workflow';\r\n\r\nexport class ComponentsRefresh {\r\n static readonly type = '[Components] Refresh';\r\n}\r\n\r\nexport class ComponentsCreate {\r\n static readonly type = '[Components] Create';\r\n\r\n constructor(public item: WFComponent) { }\r\n}\r\n\r\nexport class ComponentsUpdate {\r\n static readonly type = '[Components] Update';\r\n\r\n constructor(public id: number, public item: WFComponent) { }\r\n}\r\n\r\nexport class ComponentsDelete {\r\n static readonly type = '[Components] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ComponentsCreate, ComponentsDelete, ComponentsRefresh, ComponentsUpdate } from './components.action';\r\nimport { WFComponent } from 'src/app/components/workflow/workflow';\r\nimport { ComponentService } from 'src/app/services/work-flow/component.service';\r\n\r\nexport class ComponentsStateModel {\r\n data: WFComponent[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Components',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ComponentsState {\r\n constructor(\r\n private _service: ComponentService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ComponentsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ComponentsRefresh)\r\n refresh({ patchState, getState }: StateContext) {\r\n this._service.Read().toPromise().then(\r\n data => {\r\n patchState({ data });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ComponentsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ComponentsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ComponentsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ComponentsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ComponentsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ComponentsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n\r\nimport * as ComponentsActions from 'src/app/components/checklists/store/components/components.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ComponentsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ComponentsActions.ComponentsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.COMPONENTS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ComponentsActions.ComponentsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ComponentsActions.ComponentsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ComponentsActions.ComponentsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ComponentsActions.ComponentsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { WFSectionLocalResource } from \"src/app/services/work-flow/work-flow\";\r\n\r\n\r\nexport class DeletedSectionsRefresh {\r\n static readonly type = '[DeletedSections] Refresh';\r\n constructor(public checklistTemplateID: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { DeletedSectionsRefresh } from './deleted-section.action';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistBuilderService } from '../../checklist-builder/checklist-builder.service';\r\n\r\nexport class DeletedSectionsStateModel {\r\n data: WFSectionLocalResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'DeletedWFSectionLocals',\r\n defaults: {\r\n data: [],\r\n },\r\n})\r\n@Injectable()\r\nexport class DeletedSectionsState {\r\n constructor(private service: ChecklistBuilderService) { }\r\n\r\n @Selector()\r\n static read(state: DeletedSectionsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(DeletedSectionsRefresh)\r\n refresh({ patchState }: StateContext, { checklistTemplateID }: DeletedSectionsRefresh) {\r\n this.service.getDeletedSections(checklistTemplateID).toPromise().then((data) => {\r\n patchState({ data });\r\n },\r\n (error) => console.error(error)\r\n );\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as DeletedSectionsActions from './deleted-section.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DeletedSectionsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.DELETED_SECTIONS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Get:\r\n this.store.dispatch(new DeletedSectionsActions.DeletedSectionsRefresh(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { WFStepLocalResource } from \"src/app/services/work-flow/work-flow\";\r\n\r\n\r\nexport class DeletedStepsRefresh {\r\n static readonly type = '[DeletedSteps] Refresh';\r\n constructor(public checklistTemplateID: number) { }\r\n}\r\n\r\nexport class DeletedStepsCreate {\r\n static readonly type = '[DeletedSteps] Create';\r\n constructor(public item: WFStepLocalResource) { }\r\n}\r\n\r\nexport class DeletedStepsDelete {\r\n static readonly type = '[DeletedSteps] Delete';\r\n constructor(public logID: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { DeletedStepsCreate, DeletedStepsDelete, DeletedStepsRefresh } from './deleted-step.action';\r\nimport { WFStepLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistBuilderService } from '../../checklist-builder/checklist-builder.service';\r\n\r\nexport class DeletedStepsStateModel {\r\n data: WFStepLocalResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'DeletedWFStepLocals',\r\n defaults: {\r\n data: [],\r\n },\r\n})\r\n@Injectable()\r\nexport class DeletedStepsState {\r\n constructor(private service: ChecklistBuilderService) { }\r\n\r\n @Selector()\r\n static read(state: DeletedStepsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(DeletedStepsRefresh)\r\n refresh({ patchState }: StateContext, { checklistTemplateID }: DeletedStepsRefresh) {\r\n this.service.getDeletedSteps(checklistTemplateID).toPromise().then((data) => {\r\n patchState({ data });\r\n },\r\n (error) => console.error(error)\r\n );\r\n }\r\n\r\n @Action(DeletedStepsCreate)\r\n create({ getState, patchState }: StateContext, { item }: DeletedStepsCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(DeletedStepsDelete)\r\n delete({ getState, patchState }: StateContext, { logID }: DeletedStepsDelete) {\r\n patchState({ data: getState().data.filter((x) => x.logID !== logID) });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as DeletedStepsActions from './deleted-step.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DeletedStepsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.DELETED_STEPS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new DeletedStepsActions.DeletedStepsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new DeletedStepsActions.DeletedStepsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new DeletedStepsActions.DeletedStepsRefresh(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { WfTaskLocalResource } from \"src/app/services/work-flow/work-flow\";\r\n\r\n\r\nexport class DeletedTasksRefresh {\r\n static readonly type = '[DeletedTasks] Refresh';\r\n constructor(public checklistTemplateID: number) { }\r\n}\r\n\r\nexport class DeletedTasksCreate {\r\n static readonly type = '[DeletedTasks] Create';\r\n constructor(public item: WfTaskLocalResource) { }\r\n}\r\n\r\nexport class DeletedTasksDelete {\r\n static readonly type = '[DeletedTasks] Delete';\r\n constructor(public logID: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { DeletedTasksCreate, DeletedTasksDelete, DeletedTasksRefresh } from './deleted-task.action';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistBuilderService } from '../../checklist-builder/checklist-builder.service';\r\n\r\nexport class DeletedTasksStateModel {\r\n data: WfTaskLocalResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'DeletedWFTaskLocals',\r\n defaults: {\r\n data: [],\r\n },\r\n})\r\n@Injectable()\r\nexport class DeletedTasksState {\r\n constructor(private service: ChecklistBuilderService) { }\r\n\r\n @Selector()\r\n static read(state: DeletedTasksStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(DeletedTasksRefresh)\r\n refresh({ patchState }: StateContext, { checklistTemplateID }: DeletedTasksRefresh) {\r\n this.service.getDeletedTasks(checklistTemplateID).toPromise().then((data) => {\r\n patchState({ data });\r\n },\r\n (error) => console.error(error)\r\n );\r\n }\r\n\r\n @Action(DeletedTasksCreate)\r\n create({ getState, patchState }: StateContext, { item }: DeletedTasksCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(DeletedTasksDelete)\r\n delete({ getState, patchState }: StateContext, { logID }: DeletedTasksDelete) {\r\n patchState({ data: getState().data.filter((x) => x.logID !== logID) });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as DeletedTasksActions from './deleted-task.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DeletedTasksStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.DELETED_TASKS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new DeletedTasksActions.DeletedTasksCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new DeletedTasksActions.DeletedTasksDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new DeletedTasksActions.DeletedTasksRefresh(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { WfTaskLocalResource } from \"src/app/services/work-flow/work-flow\";\r\n\r\n\r\nexport class TasksRefresh {\r\n static readonly type = '[Tasks] Refresh';\r\n\r\n constructor(public wfStepLocalID: number) { }\r\n}\r\n\r\nexport class TasksCreate {\r\n static readonly type = '[Tasks] Create';\r\n\r\n constructor(public item: WfTaskLocalResource) { }\r\n}\r\n\r\nexport class TasksUpdate {\r\n static readonly type = '[Tasks] Update';\r\n\r\n constructor(public id: number, public item: WfTaskLocalResource) { }\r\n}\r\n\r\nexport class TasksUpdateAll {\r\n static readonly type = '[Tasks] UpdateAll';\r\n\r\n constructor(public items: WfTaskLocalResource[]) { }\r\n}\r\n\r\nexport class TasksDelete {\r\n static readonly type = '[Tasks] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport {\r\n TasksCreate,\r\n TasksDelete,\r\n TasksRefresh,\r\n TasksUpdate,\r\n TasksUpdateAll,\r\n} from './task.action';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ChecklistsService } from '../../checklists.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ConditionParser } from 'src/app/modules/libs/condition-parser';\r\n\r\nexport class TasksStateModel {\r\n data: WfTaskLocalResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'WFTaskLocals',\r\n defaults: {\r\n data: [],\r\n },\r\n})\r\n@Injectable()\r\nexport class TasksState {\r\n utils = utils;\r\n constructor(private service: ChecklistsService) { }\r\n\r\n @Selector()\r\n static read(state: TasksStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(TasksRefresh)\r\n refresh(\r\n { getState, patchState }: StateContext,\r\n { wfStepLocalID }: TasksRefresh\r\n ) {\r\n this.service.getTasksByStepID(wfStepLocalID).toPromise().then((items) => {\r\n if (items) {\r\n patchState({ data: getState().data.filter((x) => !items?.map((i) => i.id).includes(x.id)) });\r\n const state = getState();\r\n const data = state.data.concat(items);\r\n patchState({ data });\r\n }\r\n },\r\n (error) => console.error(error)\r\n );\r\n }\r\n\r\n @Action(TasksCreate)\r\n create({ getState, patchState }: StateContext, { item }: TasksCreate) {\r\n const state = getState();\r\n const index = state.data.map((x) => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item],\r\n });\r\n }\r\n\r\n @Action(TasksUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: TasksUpdate) {\r\n const state = getState();\r\n let index = state.data.map((x) => x.id).indexOf(id);\r\n item.isCompleted = utils.taskComplete(item);\r\n let newData = [...state.data];\r\n if (index >= 0) {\r\n newData.splice(index, 1);\r\n }\r\n newData.push(item);\r\n const parsedTasks = ConditionParser.parseConditions(newData);\r\n patchState({ data: parsedTasks });\r\n }\r\n\r\n @Action(TasksUpdateAll)\r\n updateAll({ getState, patchState }: StateContext, { items }: TasksUpdateAll) {\r\n const state = getState().data;\r\n const updatedTasks: WfTaskLocalResource[] = [];\r\n items.map(task => {\r\n const currentTask = state.find(t => t.id == task.id);\r\n if (currentTask && currentTask.required != undefined)\r\n task.required = currentTask?.required;\r\n task.wfTasks?.map(t => {\r\n t.order = currentTask?.wfTasks?.find(x => x.id == t.id)?.order;\r\n });\r\n if (currentTask && !utils.isEquivalent(currentTask, task) || !currentTask) {\r\n updatedTasks.push(task);\r\n }\r\n });\r\n const IDs = [...new Set(updatedTasks.map(t => t.id))];\r\n let data = getState().data.filter(t => !IDs.includes(t.id));\r\n data = this.utils.cloneDeep(data.concat(updatedTasks));\r\n patchState({ data });\r\n }\r\n\r\n @Action(TasksDelete)\r\n delete(\r\n { getState, patchState }: StateContext,\r\n { id }: TasksDelete\r\n ) {\r\n patchState({\r\n data: getState().data.filter((x) => x.id !== id),\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as TasksActions from './task.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TasksStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.TASKS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new TasksActions.TasksCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new TasksActions.TasksUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new TasksActions.TasksDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new TasksActions.TasksRefresh(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { TemplateType } from '../../checklists';\r\n\r\nexport class TemplateTypesRefresh {\r\n static readonly type = '[TemplateTypes] Refresh';\r\n}\r\nexport class TemplateTypesRefreshByDocument {\r\n static readonly type = '[TemplateTypes] RefreshByDocument';\r\n constructor(public id: number) { }\r\n}\r\nexport class TemplateTypesLoad {\r\n static readonly type = '[TemplateTypes] Load';\r\n constructor(public items: TemplateType[]) { }\r\n}\r\nexport class TemplateTypesCreate {\r\n static readonly type = '[TemplateTypes] Create';\r\n constructor(public item: TemplateType) { }\r\n}\r\nexport class TemplateTypesUpdate {\r\n static readonly type = '[TemplateTypes] Update';\r\n constructor(public id: number, public item: TemplateType) { }\r\n}\r\nexport class TemplateTypesDelete {\r\n static readonly type = '[TemplateTypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { TemplateType } from '../../checklists';\r\nimport { TemplateTypesCreate, TemplateTypesDelete, TemplateTypesRefresh, TemplateTypesUpdate, TemplateTypesLoad, TemplateTypesRefreshByDocument } from './template-types.action';\r\nimport { ChecklistBuilderService } from '../../checklist-builder/checklist-builder.service';\r\n\r\nexport class TemplateTypesStateModel {\r\n data: TemplateType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'TemplateTypes',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class TemplateTypesState {\r\n constructor(\r\n private checklistBuilderService: ChecklistBuilderService,\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: TemplateTypesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(TemplateTypesLoad)\r\n load({ patchState, getState }: StateContext, { items }: TemplateTypesLoad) {\r\n let state = getState();\r\n items.map(i => {\r\n const index = state.data.map(x => x.id).indexOf(i.id);\r\n state = getState();\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, i]\r\n });\r\n }\r\n else {\r\n patchState({ data: [...getState().data, i] });\r\n }\r\n });\r\n }\r\n\r\n @Action(TemplateTypesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.checklistBuilderService.getAllTemplateTypes().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(TemplateTypesRefreshByDocument)\r\n refreshByDocument({ patchState }: StateContext, { id }: TemplateTypesRefreshByDocument) {\r\n this.checklistBuilderService.getTemplateTypesByDocumentId(id).subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(TemplateTypesCreate)\r\n create({ getState, patchState }: StateContext, { item }: TemplateTypesCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(TemplateTypesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: TemplateTypesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(TemplateTypesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: TemplateTypesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n// import { SignalRAction } from 'src/app/enums/signalr-enums';\r\n// import { SignalRService } from 'src/app/Services/SignalR/signal-r.service';\r\n// import { GeneralSignalRResponse } from 'src/app/_interface/signal-r-models/GeneralSignalRResponse';\r\nimport * as TemplateTypesActions from 'src/app/components/checklists/store/template-types/template-types.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n// import { Channels } from 'src/app/Store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TemplateTypesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new TemplateTypesActions.TemplateTypesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.TEMPLATETYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new TemplateTypesActions.TemplateTypesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new TemplateTypesActions.TemplateTypesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new TemplateTypesActions.TemplateTypesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new TemplateTypesActions.TemplateTypesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\nexport class EB2AcceleratorLocation {\r\n public id?: number;\r\n public eB2ID?: number;\r\n public resourceID?: number;\r\n public resource!: Resource;\r\n}\r\n\r\nexport class EB2AcceleratorLocationSave {\r\n public id?: number;\r\n public eB2ID?: number;\r\n public resourceID?: number;\r\n}\r\n\r\nexport class EB2AcceleratorLocationHandler {\r\n static toSave(eb2AcceleratorLocation: EB2AcceleratorLocation): EB2AcceleratorLocationSave {\r\n var save = new EB2AcceleratorLocationSave();\r\n\r\n save.id = eb2AcceleratorLocation.id;\r\n save.eB2ID = eb2AcceleratorLocation.eB2ID;\r\n save.resourceID = eb2AcceleratorLocation.resourceID;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, Injector, Input, OnChanges, SimpleChanges, EventEmitter, Output } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Form, FormHandler } from 'src/app/services/forms/form';\r\nimport { FormVersion, FormVersionHandler } from '../../../../services/forms/form-version';\r\nimport { EbService } from '../../eb.service';\r\nimport { FormRestriction } from 'src/app/services/forms/form-restriction';\r\nimport { EB2Shutter } from '../../eb-shutter';\r\nimport { EB2AcceleratorLocation } from '../../eb-accelerator-location';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { FormVersionService } from 'src/app/services/forms/form-version.service';\r\nimport { OtherSystem } from 'src/app/controls/other-system-chips/other-system';\r\nimport { CancelDialogComponent } from 'src/app/controls/cancel-dialog/cancel-dialog.component';\r\nimport { WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport moment from 'moment';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { FormType, Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'eb-main-s1',\r\n templateUrl: './eb-main-s1.component.html',\r\n styleUrls: ['./eb-main-s1.component.scss']\r\n})\r\nexport class EbMainS1Component extends BaseComponent implements OnChanges {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled: boolean = true;\r\n @Input() showAmendment?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() formCreated = new EventEmitter
();\r\n\r\n requesterCtrl = new FormControl();\r\n descriptionCtrl = new FormControl();\r\n shuttersCtrl = new FormControl();\r\n acceleratorCtrl = new FormControl();\r\n otherSystemCtrl = new FormControl();\r\n chkBeamlineCtrl = new FormControl();\r\n chkAcceleratorCtrl = new FormControl();\r\n startDateCtrl = new FormControl();\r\n completionDateCtrl = new FormControl();\r\n restrictionsCtrl = new FormControl();\r\n bypassCtrl = new FormControl();\r\n conditionsCtrl = new FormControl();\r\n systemCtrl = new FormControl();\r\n\r\n formID?: number;\r\n locationIDs?: (number | undefined)[];\r\n\r\n tmpChkBeamline!: boolean;\r\n tmpChkAccelerator!: boolean;\r\n tmpOtherSystems?: OtherSystem[];\r\n tmpStartDate!: Date;\r\n tmpCompletionDate!: Date;\r\n\r\n signature?: WfSignatureResource;\r\n amendmentSignature?: WfSignatureResource;\r\n canUnsubmit!: boolean;\r\n usersFiltered?: User[];\r\n\r\n formVersion?: FormVersion;\r\n cancelAvailable!: boolean;\r\n disapproveAvailable?: boolean;\r\n disapproveSignature?: WfSignatureResource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: EbService,\r\n private formService: FormService,\r\n private formVersionService: FormVersionService\r\n ) {\r\n super(injector);\r\n\r\n }\r\n // canDeactivate!: () => boolean | Observable | Promise;\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n }\r\n\r\n // override async canDeactivate(): Promise {\r\n // // Add additional logic specific to the child component\r\n // return await this.canDeactivate(); // Call the parent method\r\n // }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n // operatorCtrl: this.operatorCtrl,\r\n requesterCtrl: this.requesterCtrl,\r\n descriptionCtrl: this.descriptionCtrl,\r\n shuttersCtrl: this.shuttersCtrl,\r\n acceleratorCtrl: this.acceleratorCtrl,\r\n chkBeamlineCtrl: this.chkBeamlineCtrl,\r\n chkAcceleratorCtrl: this.chkAcceleratorCtrl,\r\n otherSystemCtrl: this.otherSystemCtrl,\r\n startDateCtrl: this.startDateCtrl,\r\n completionDateCtrl: this.completionDateCtrl,\r\n restrictionsCtrl: this.restrictionsCtrl,\r\n bypassCtrl: this.bypassCtrl,\r\n conditionsCtrl: this.conditionsCtrl,\r\n systemCtrl: this.systemCtrl\r\n });\r\n this.formGroup.markAsPristine();\r\n this.checkEnableControls();\r\n }\r\n\r\n checkEnableControls() {\r\n this.disabled = true;\r\n this.formGroup?.disable();\r\n\r\n if (this.form) {\r\n let enable: boolean | null = false;\r\n if (!this.showAmendment)\r\n enable = this.form?.editingById == this.currentUser?.id && this.hasPrivilege(this.privilegeEnum.EBNewForm) && ((this.form?.formVersion.statusID ?? 0) == this.formStatusEnum.New || this.form?.formVersion?.statusID == this.formStatusEnum.Draft);\r\n else\r\n enable = this.form?.editingById == this.currentUser?.id && this.hasPrivilege(this.privilegeEnum.EBNewForm) && (this.form?.formVersion?.statusID == this.formStatusEnum.Amendment && this.hasPrivilege(this.privilegeEnum.EBEditAmendment));\r\n\r\n if (enable) {\r\n this.disabled = false;\r\n this.formGroup?.enable();\r\n }\r\n\r\n this.cancelAvailable =\r\n (this.form?.formVersion?.statusID == this.formStatusEnum.WorkApprovals ||\r\n (this.form?.formVersion?.statusID == this.formStatusEnum.PendingActivation && !this.form.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 3)?.wfSignatures?.some(s => s.signed))) &&\r\n this.hasPrivilege(PrivilegeEnum.EBCancel);\r\n\r\n this.disapproveAvailable = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 2)?.wfSignatures?.some(s => s.roles?.some(r => r.id == Roles.OIC)) && this.hasRoles([Roles.OIC]);\r\n\r\n if (this.disapproveAvailable)\r\n this.disapproveSignature = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 2)?.wfSignatures?.find(s => s.roles?.some(r => r.id == Roles.OIC));\r\n }\r\n }\r\n\r\n refresh() {\r\n if (this.form) {\r\n this.setOpenDocument(FormType.EBF, this.form.id);\r\n this.usersFiltered = this.getUsers();\r\n if (this.showAmendment) {\r\n this.formVersion = utils.cloneDeep(this.form.formVersion);\r\n }\r\n else {\r\n if (this.form.formVersion.previousVersion)\r\n this.formVersion = utils.cloneDeep(this.form.formVersion.previousVersion);\r\n else\r\n this.formVersion = utils.cloneDeep(this.form.formVersion);\r\n }\r\n this.requesterCtrl.setValue(this.formVersion?.requester);\r\n this.chkBeamlineCtrl.setValue(this.formVersion?.eB2?.beamline);\r\n this.chkAcceleratorCtrl.setValue(this.formVersion?.eB2?.accelerator);\r\n this.tmpOtherSystems = this.formVersion?.eB2?.eB2OtherSystems.map(o => {\r\n const os: OtherSystem = { id: o.id, text: o.text };\r\n return os;\r\n });\r\n this.startDateCtrl.setValue(this.formVersion?.eB2?.permittedStartDate);\r\n this.completionDateCtrl.setValue(this.formVersion?.eB2?.estimatedCompletion);\r\n this.getLocationIDs();\r\n if (this.form.wfTable) {\r\n this.signature = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 1)?.wfSignatures?.[0];\r\n this.amendmentSignature = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 4)?.wfSignatures?.find(s => s.amendmentEnabled);\r\n this.canUnsubmit = !this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 2)?.wfSignatures?.some(s => s.signed);\r\n }\r\n }\r\n else {\r\n this.clearFields();\r\n }\r\n this.formGroup?.disable();\r\n this.formGroup?.markAsPristine();\r\n this.checkEnableControls();\r\n }\r\n\r\n clearFields() {\r\n this.chkBeamlineCtrl.setValue(false);\r\n this.chkAcceleratorCtrl.setValue(false);\r\n this.tmpOtherSystems = [];\r\n }\r\n\r\n selectedReq(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n if (this.formVersion) {\r\n this.formVersion.requesterID = value.id;\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n onReqChange(e: any) {\r\n const value = (e.target.value)?.toLowerCase();\r\n this.usersFiltered = this.getUsers().filter(u => u.name?.toLowerCase().includes(value));\r\n }\r\n\r\n descriptionChanged(e: any) {\r\n if (this.formVersion?.eB2) {\r\n this.formVersion.eB2.equipmentOrFunctionForBypassAndReason = e;\r\n this.descriptionCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n relatedDocumentsChanged(e: any) {\r\n if (this.formVersion?.eB2) {\r\n this.formVersion.eB2.relatedDocuments = e;\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n onShutterEdited(e: Resource[]) {\r\n e.map(r => {\r\n if (!this.formVersion?.eB2?.eB2Shutters?.find(s => s.resourceID == r.id))\r\n this.formVersion?.eB2?.eB2Shutters?.push({ id: 0, eB2ID: this.formVersion.eB2?.id, resource: r, resourceID: r.id });\r\n });\r\n this.formVersion?.eB2?.eB2Shutters?.map((s, i) => {\r\n if (!e.find(r => r.id == s.resourceID))\r\n this.formVersion?.eB2?.eB2Shutters?.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n this.getLocationIDs();\r\n }\r\n\r\n onAcceleratorEdited(e: Resource[]) {\r\n e.map(r => {\r\n if (!this.formVersion?.eB2?.eB2AcceleratorLocations?.find(s => s.resourceID == r.id))\r\n this.formVersion?.eB2?.eB2AcceleratorLocations?.push({ id: 0, eB2ID: this.formVersion?.eB2?.id, resource: r, resourceID: r.id });\r\n });\r\n this.formVersion?.eB2?.eB2AcceleratorLocations?.map((s, i) => {\r\n if (!e.find(r => r.id == s.resourceID))\r\n this.formVersion?.eB2?.eB2AcceleratorLocations?.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n this.getLocationIDs();\r\n }\r\n\r\n onOtherSystemsEdited(e: OtherSystem[]) {\r\n e.map(o => {\r\n if (!this.formVersion?.eB2?.eB2OtherSystems?.find(x => x.text == o.text))\r\n this.formVersion?.eB2?.eB2OtherSystems.push({ id: 0, text: o.text, eB2ID: this.formVersion?.eB2.id });\r\n });\r\n this.formVersion?.eB2?.eB2OtherSystems.map((x, i) => {\r\n if (!e.find(o => o.text == x.text))\r\n this.formVersion?.eB2?.eB2OtherSystems.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n }\r\n\r\n blCheckboxChanged(e: any) {\r\n const checked = e.checked;\r\n this.otherSystemCtrl.setErrors(null);\r\n\r\n if (this.formVersion?.eB2) {\r\n this.setFormDirty();\r\n this.formVersion.eB2.beamline = checked;\r\n if (!checked)\r\n this.formVersion.eB2.eB2Shutters = [];\r\n }\r\n this.getLocationIDs();\r\n }\r\n\r\n accCheckboxChanged(e: any) {\r\n const checked = e.checked;\r\n this.otherSystemCtrl.setErrors(null);\r\n\r\n if (this.formVersion?.eB2) {\r\n this.setFormDirty();\r\n this.formVersion.eB2.accelerator = checked;\r\n if (!checked)\r\n this.formVersion.eB2.eB2AcceleratorLocations = [];\r\n }\r\n this.getLocationIDs();\r\n }\r\n\r\n getLocationIDs() {\r\n this.locationIDs = this.formVersion?.eB2?.eB2Shutters.map(s => s.resourceID).concat(this.formVersion.eB2.eB2AcceleratorLocations.map(l => l.resourceID ?? 0));\r\n }\r\n\r\n getResources(e: EB2Shutter[] | EB2AcceleratorLocation[] | undefined): Resource[] {\r\n return e?.map(x => x.resource) ?? [];\r\n }\r\n\r\n restrictionsChanged(e: FormRestriction[]) {\r\n if (this.formVersion?.eB2)\r\n this.formVersion.eB2.eB2Restrictions = e;\r\n this.setFormDirty();\r\n }\r\n\r\n bypassDetailsChanged(e: any) {\r\n if (this.formVersion?.eB2)\r\n this.formVersion.eB2.bypassDetails = e;\r\n this.bypassCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n\r\n conditionsAndlimitationsChanged(e: any) {\r\n if (this.formVersion?.eB2)\r\n this.formVersion.eB2.conditionsAndLimitations = e;\r\n this.conditionsCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n\r\n systemAndPrintChanged(e: any) {\r\n if (this.formVersion?.eB2)\r\n this.formVersion.eB2.systemAndPrintNumbers = e;\r\n this.systemCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n\r\n startDateChanged(e: any) {\r\n if (this.formVersion?.eB2)\r\n this.formVersion.eB2.permittedStartDate = e.value;\r\n this.setFormDirty();\r\n }\r\n\r\n completionDateChanged(e: any) {\r\n if (this.formVersion?.eB2)\r\n this.formVersion.eB2.estimatedCompletion = e.value;\r\n this.setFormDirty();\r\n }\r\n\r\n async save(keepLoading: boolean = false) {\r\n return new Promise(async (resolve, reject) => {\r\n if (this.form && this.formVersion && this.form?.id <= 0) {\r\n this.loading.emit(true);\r\n this.form.formVersion = this.formVersion;\r\n this.formService.create(FormHandler.toSave(this.form))?.subscribe((data: Form) => {\r\n this.setOpenDocument(FormType.EBF, data.id);\r\n this.formCreated.emit(data);\r\n this.setFormDirty(false);\r\n if (!keepLoading)\r\n this.alert.message('DraftSaved', [\r\n new MessagePlaceholder(\"{serialNo}\", data.sequenceNumber.number)]);\r\n this.loading.emit(keepLoading);\r\n resolve(true);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n reject(false);\r\n }\r\n );\r\n } else if (this.formVersion) {\r\n this.loading.emit(true);\r\n this.formVersionService.update(FormVersionHandler.toSave(this.formVersion)).subscribe(() => {\r\n this.setOpenDocument(FormType.EBF, this.form?.id);\r\n this.loading.emit(keepLoading);\r\n this.setFormDirty(false);\r\n if (!keepLoading)\r\n this.showAmendment ? this.alert.message('amendment saved', [\r\n new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber.number)\r\n ]) : this.alert.message('DraftUpdated', [\r\n new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber.number)\r\n ]);\r\n resolve(true);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n reject(false);\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n async submit() {\r\n if (this.validateSubmit() && this.form) {\r\n this.loading.emit(true);\r\n this.setOpenDocument(FormType.EBF, this.form?.id);\r\n if (await this.save(true)) {\r\n await this.formService.setEditing(this.form.id, false).toPromise();\r\n if (this.signature) {\r\n this.setFormDirty(false);\r\n this.service.sign(this.form, this.signature.taskID, this.signature.approveID);\r\n this.loading.emit(false);\r\n }\r\n }\r\n }\r\n }\r\n\r\n unsubmit() {\r\n if (this.signature) {\r\n this.loading.emit(true);\r\n this.service.sign(this.form, this.signature.taskID, this.signature.unapproveID)\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n disapprove() {\r\n if (this.disapproveSignature) {\r\n this.loading.emit(true);\r\n this.service.sign(this.form, this.disapproveSignature.taskID, this.disapproveSignature.disapproveID)\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n validateSubmit(): boolean {\r\n let result = true;\r\n if (!this.formVersion?.requesterID) {\r\n this.alert.message('EB_No_Requester_Was_Specified');\r\n ;\r\n this.requesterCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (\r\n !this.formVersion?.eB2?.equipmentOrFunctionForBypassAndReason ||\r\n this.formVersion.eB2.equipmentOrFunctionForBypassAndReason.trim() === \"\"\r\n ) {\r\n this.alert.message('EB_No_Equipment_Or_Function_For_Bypass_And_Reason_Was_Specified');\r\n ;\r\n this.descriptionCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (this.formVersion?.eB2?.beamline && !this.formVersion.eB2.eB2Shutters.length) {\r\n this.shuttersCtrl.setErrors({ required: true });\r\n this.alert.message('EB_Please_Check_On_At_Least_One_System_Affected');\r\n ;\r\n result = false;\r\n }\r\n\r\n if (this.formVersion?.eB2?.accelerator && !this.formVersion.eB2.eB2AcceleratorLocations) {\r\n this.acceleratorCtrl.setErrors({ required: true });\r\n this.alert.message('EB_Please_Check_On_At_Least_One_System_Affected');\r\n ;\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.eB2?.eB2OtherSystems.length &&\r\n !this.formVersion?.eB2?.eB2Shutters.length &&\r\n !this.formVersion?.eB2?.eB2AcceleratorLocations.length\r\n ) {\r\n this.alert.message('EB_Please_Check_On_At_Least_One_System_Affected');\r\n ;\r\n this.otherSystemCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.eB2?.eB2Restrictions.length) {\r\n this.alert.message('EB_No_Restrictions_Were_Added');\r\n ;\r\n this.restrictionsCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.eB2?.bypassDetails || this.formVersion.eB2.bypassDetails.trim() === \"\") {\r\n this.alert.message('EB_No_Bypass_Location_And_Details_Were_Specified');\r\n ;\r\n this.bypassCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.eB2?.conditionsAndLimitations || this.formVersion.eB2.conditionsAndLimitations.trim() === \"\") {\r\n this.alert.message('EB_No_Conditions_And_Limitations_Were_Specified');\r\n ;\r\n this.conditionsCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.eB2?.systemAndPrintNumbers || this.formVersion.eB2.systemAndPrintNumbers.trim() === \"\") {\r\n this.alert.message('EB_No_System_And_Print_Numbers_Were_Specified');\r\n ;\r\n this.systemCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.eB2?.permittedStartDate) {\r\n this.alert.message('EB_No_Permitted_Start_Date_Was_Specified');\r\n ;\r\n this.startDateCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.eB2?.estimatedCompletion) {\r\n this.alert.message('EB_No_Estimated_Completion_Date_Was_Specified');\r\n ;\r\n this.completionDateCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (this.formVersion?.eB2?.estimatedCompletion && this.formVersion.eB2.permittedStartDate) {\r\n if (moment(this.formVersion.eB2.estimatedCompletion).isBefore(this.formVersion.eB2.permittedStartDate)\r\n ) {\r\n this.alert.message('EB_The_Estimated_Completion_Date_Is_Less_Than_The_Permitted_Start_Date');\r\n ;\r\n this.completionDateCtrl.setErrors({ invalidDate: true })\r\n result = false;\r\n }\r\n }\r\n\r\n if (!result)\r\n this.formGroup?.markAllAsTouched();\r\n\r\n return result;\r\n }\r\n\r\n async submitAmendment() {\r\n if (this.validateSubmit() && this.form && this.formVersion) {\r\n this.loading.emit(true);\r\n this.setOpenDocument(FormType.EBF, this.form?.id);\r\n await this.formService.setEditing(this.form.id, false).toPromise();\r\n this.formVersionService.update(FormVersionHandler.toSave(this.formVersion)).subscribe(async (data: FormVersion) => {\r\n if (this.form && data) {\r\n this.formVersion = data;\r\n this.setFormDirty(false);\r\n const signature = this.form.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.find(s => s.approveEnabled && !s.signed);\r\n if (signature)\r\n this.service.sign(this.form, signature.taskID, signature.approveID)\r\n this.loading.emit(false);\r\n }\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n }\r\n\r\n async unsubmitAmendment() {\r\n const signature = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.find(s => s.unapproveEnabled);\r\n if (signature) {\r\n this.loading.emit(true);\r\n this.service.sign(this.form, signature.taskID, signature.unapproveID);\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n async cancelDraft() {\r\n if (this.form?.id) {\r\n const amendment = this.formVersion?.status.amendment;\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: \"600px\",\r\n data: {\r\n amendment: this.formVersion?.status.amendment,\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data?.accept) {\r\n if (this.form?.sequenceNumber.number) {\r\n this.formService.delete(this.form.sequenceNumber.number).subscribe(data => {\r\n this.alert.message('Form_SerialNo_deleted', [\r\n new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber?.number),\r\n ]);\r\n this.form = null;\r\n this.formVersion = undefined;\r\n this.setFormDirty(false);\r\n this.formCreated.emit(undefined);\r\n });\r\n }\r\n }\r\n });\r\n }\r\n else if (await this.canDeactivate()) {\r\n this.formService.deleteSerialNumbers(FormType.EBF, this.currentUser?.id as number).toPromise();\r\n this.form = null;\r\n this.formVersion = undefined;\r\n this.setFormDirty(false);\r\n this.formCreated.emit(undefined);\r\n }\r\n }\r\n\r\n cancel() {\r\n\r\n const amendment = this.form?.formVersion.status.amendment;\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: \"600px\",\r\n data: {\r\n amendment: this.form?.formVersion.status.amendment,\r\n },\r\n });\r\n\r\n const signature = amendment ? this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.find(s => s.cancelEnabled) : this.signature;\r\n\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data?.accept && signature) {\r\n this.service.sign(this.form, signature.taskID, signature?.cancelID, data.text);\r\n if (!amendment) {\r\n this.alert.message('Form_SerialNo_deleted', [new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber?.number),]);\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n\r\n diffRelatedDocuments(): boolean | undefined {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n (this.formVersion?.eB2?.relatedDocuments ?? []).sort((a, b) => utils.sort(a.relatedDocumentId, b.relatedDocumentId, true)).map((l) => {\r\n return {\r\n id: l.relatedDocumentId\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify((this.formVersion?.previousVersion?.eB2?.relatedDocuments ?? []).sort((a, b) => utils.sort(a.relatedDocumentId, b.relatedDocumentId, true)).map((l) => {\r\n return {\r\n id: l.relatedDocumentId\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffRelatedLinks() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.eB2?.eB2RelatedLinks?.sort((a, b) => utils.sort(a.id, b.id, true)).map((l) => {\r\n return {\r\n text: l.text,\r\n url: l.url\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.eB2?.eB2RelatedLinks?.sort((a, b) => utils.sort(a.id, b.id, true)).map((l) => {\r\n return {\r\n text: l.text,\r\n url: l.url\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffRestrictions() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.eB2?.eB2Restrictions?.sort((a, b) => utils.sort(a.restrictionID, b.restrictionID, true)).map((l) => {\r\n return {\r\n restrictionID: l.restrictionID,\r\n text: l.text,\r\n } as FormRestriction;\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.eB2?.eB2Restrictions?.sort((a, b) => utils.sort(a.restrictionID, b.restrictionID, true)).map((l) => {\r\n return {\r\n restrictionID: l.restrictionID,\r\n text: l.text,\r\n } as FormRestriction;\r\n }))?.replace(/\\s/g, \"\");\r\n this.formVersion?.eB2?.eB2Restrictions.map(r => {\r\n r.hilite = this.formVersion?.previousVersion?.eB2?.eB2Restrictions.find(p => p.restrictionID ? p.restrictionID == r.restrictionID : p.text == r.text) == null;\r\n });\r\n return current != original;\r\n }\r\n\r\n diffShutters() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.eB2?.eB2Shutters?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.eB2?.eB2Shutters?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffAccelerators() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.eB2?.eB2AcceleratorLocations?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.eB2?.eB2AcceleratorLocations?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffOtherSystems() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.eB2?.eB2OtherSystems?.sort((a, b) => utils.sort(a.text, b.text, true)).map((l) => {\r\n return {\r\n text: l.text,\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.eB2?.eB2OtherSystems?.sort((a, b) => utils.sort(a.text, b.text, true)).map((l) => {\r\n return {\r\n text: l.text,\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
Initiation
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Requester\r\n \r\n \r\n {{\r\n user.name\r\n }}\r\n \r\n {{\r\n getErrorMsg(requesterCtrl)\r\n }}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Beamline\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n \r\n Accelerator\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Dummy\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {{ getMessage(\"EB_Permitted_Start_Date\").description }}\r\n \r\n \r\n \r\n \r\n {{\r\n getErrorMsg(startDateCtrl)\r\n }}\r\n \r\n
\r\n\r\n
\r\n \r\n {{ getMessage(\"EB_Date_Of_Estimated_Completion\").description }}\r\n \r\n \r\n \r\n \r\n {{\r\n getErrorMsg(completionDateCtrl)\r\n }}\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Cancel\r\n \r\n\r\n \r\n Cancel Amendment\r\n \r\n\r\n \r\n Cancel\r\n \r\n
\r\n\r\n
\r\n \r\n Edit Olog\r\n \r\n\r\n \r\n Submit\r\n \r\n \r\n Submit\r\n \r\n \r\n {{\r\n form?.formVersion?.statusID == formStatusEnum.Amendment\r\n ? \"Update Amendment\"\r\n : (form?.id ?? -1) <= 0\r\n ? \"Save Draft\"\r\n : \"Update Draft\"\r\n }}\r\n \r\n\r\n \r\n Unsubmit\r\n \r\n\r\n \r\n OIC Disaprove\r\n \r\n\r\n \r\n Unsubmit Amendment\r\n \r\n
\r\n
\r\n \r\n\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'eb-main-s2',\r\n templateUrl: './eb-main-s2.component.html',\r\n styleUrls: ['./eb-main-s2.component.scss']\r\n})\r\nexport class EbMainS2Component {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n @Input() showAmendment!: boolean;\r\n\r\n @Output() loading = new EventEmitter()\r\n\r\n}\r\n","
\r\n
\r\n
Approvals
\r\n
\r\n
\r\n\r\n\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'eb-main-s3',\r\n templateUrl: './eb-main-s3.component.html',\r\n styleUrls: ['./eb-main-s3.component.scss']\r\n})\r\nexport class EbMainS3Component {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n @Input() showAmendment!: boolean;\r\n\r\n @Output() loading = new EventEmitter()\r\n\r\n}\r\n","
\r\n
\r\n
Bypass Installation
\r\n
\r\n
\r\n\r\n\r\n","import { Component, EventEmitter, Injector, Input, Output, SimpleChanges, OnChanges } from '@angular/core';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { WfSignatureResource, WfSignature, WFConfiguration, ExtraAction } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { EbService } from '../../eb.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'eb-main-s4',\r\n templateUrl: './eb-main-s4.component.html',\r\n styleUrls: ['./eb-main-s4.component.scss']\r\n})\r\nexport class EbMainS4Component extends BaseComponent implements OnChanges {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n @Input() showAmendment!: boolean;\r\n\r\n @Output() loading = new EventEmitter()\r\n\r\n wfSignatures?: WfSignatureResource[];\r\n signatures!: WfSignature[];\r\n section4ExtraActions: ExtraAction[] = [];\r\n section41Signatures: WfSignature[] = [];\r\n section42Signatures: WfSignature[] = [];\r\n\r\n technicalApprover2Signature: WfSignature | null = null;\r\n technicalApprover3Signature: WfSignature | null = null;\r\n\r\n oicApproval2Signature: WfSignature | null = null;\r\n makeBypassPermanentSignature: WfSignature | null = null;\r\n\r\n amendments!: any[];\r\n configuration?: WFConfiguration[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: EbService,\r\n private workflowService: WorkFlowService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n if (!this.form) return;\r\n this.workflowService.readConfiguration(9, this.form.wfTableID ?? 0).toPromise().then(data => {\r\n this.configuration = data;\r\n\r\n const leftPersons = [\r\n this.configuration?.filter(x => x.identificator == 109) ?? []];\r\n\r\n const rightPersons = [\r\n this.configuration?.filter(x => x.identificator == 110) ?? []];\r\n\r\n this.wfSignatures = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 4)?.wfSignatures;\r\n // const amendmentSignatures = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 14)?.wfSignatures?.filter(s => s.amendmentNumber) ?? [];\r\n\r\n let technicalApprover2Configuration: WFConfiguration[] = [];\r\n let oicApproval2Configuration: WFConfiguration[] = [];\r\n let makeBypassPermanentConfiguration: WFConfiguration[] = [];\r\n\r\n technicalApprover2Configuration = this.configuration?.filter((x) => x.identificator == 207) ?? [];\r\n oicApproval2Configuration = this.configuration?.filter((x) => x.identificator == 208) ?? [];\r\n makeBypassPermanentConfiguration = this.configuration?.filter((x) => x.identificator == 209) ?? [];\r\n\r\n this.signatures = [];\r\n this.section41Signatures = [];\r\n this.section42Signatures = [];\r\n this.section4ExtraActions = [];\r\n\r\n if (\r\n !technicalApprover2Configuration.length || !oicApproval2Configuration.length || !makeBypassPermanentConfiguration.length\r\n ) {\r\n this.wfSignatures?.map(signature => {\r\n this.signatures.push(\r\n WfSignatureResource.toWFSignatureResourceWithPerson(signature, this.wfSignatures ?? [], leftPersons, rightPersons, this.getCurrentUser()?.id ?? -1));\r\n if (signature.approveEnabled) {\r\n this.section4ExtraActions =\r\n this.section4ExtraActions.concat(\r\n signature.extraActions\r\n );\r\n }\r\n });\r\n }\r\n else {\r\n this.wfSignatures?.map(signature => {\r\n if (technicalApprover2Configuration.some((x) => x.wfTaskLocalID == signature.id)) {\r\n this.technicalApprover2Signature = WfSignatureResource.toWFSignatureResourceWithPerson(signature, this.wfSignatures ?? [], [this.configuration?.filter((x) => x.identificator == 111) ?? []], [this.configuration?.filter((x) => x.identificator == 112) ?? []], this.getCurrentUser()?.id ?? -1);\r\n this.technicalApprover3Signature = utils.cloneDeep(this.technicalApprover2Signature);\r\n }\r\n\r\n if (oicApproval2Configuration.some((x) => x.wfTaskLocalID == signature.id)) {\r\n this.oicApproval2Signature = WfSignatureResource.toWFSignatureResourceWithPerson(signature, this.wfSignatures ?? [], [this.configuration?.filter((x) => x.identificator == 111) ?? []], [this.configuration?.filter((x) => x.identificator == 112) ?? []], this.getCurrentUser()?.id ?? -1);\r\n }\r\n\r\n if (makeBypassPermanentConfiguration.some((x) => x.wfTaskLocalID == signature.id)) {\r\n this.makeBypassPermanentSignature = WfSignatureResource.toWFSignatureResourceWithPerson(signature, this.wfSignatures ?? [], [this.configuration?.filter((x) => x.identificator == 111) ?? []], [this.configuration?.filter((x) => x.identificator == 112) ?? []], this.getCurrentUser()?.id ?? -1\r\n );\r\n }\r\n\r\n if (signature.approveEnabled)\r\n this.section4ExtraActions = this.section4ExtraActions.concat(signature.extraActions);\r\n });\r\n\r\n if (this.technicalApprover2Signature)\r\n this.technicalApprover2Signature.enabled = this.makeBypassPermanentSignature?.enabled;\r\n if (this.technicalApprover3Signature)\r\n this.technicalApprover3Signature.enabled = this.oicApproval2Signature?.enabled;\r\n\r\n if (this.technicalApprover2Signature && !this.technicalApprover2Signature?.enabled) {\r\n this.technicalApprover2Signature.approved = false;\r\n this.technicalApprover2Signature.approvedBy = null;\r\n this.technicalApprover2Signature.approvedOn = null;\r\n this.technicalApprover2Signature.approve = false;\r\n this.technicalApprover2Signature.disapprove = false;\r\n this.technicalApprover2Signature.unapprove = false;\r\n this.technicalApprover2Signature.amendment = false;\r\n this.technicalApprover2Signature.cancel = false;\r\n }\r\n\r\n if (this.technicalApprover3Signature && !this.technicalApprover3Signature.enabled) {\r\n this.technicalApprover3Signature.approved = false;\r\n this.technicalApprover3Signature.approvedBy = null;\r\n this.technicalApprover3Signature.approvedOn = null;\r\n this.technicalApprover3Signature.approve = false;\r\n this.technicalApprover3Signature.disapprove = false;\r\n this.technicalApprover3Signature.unapprove = false;\r\n this.technicalApprover3Signature.amendment = false;\r\n this.technicalApprover3Signature.cancel = false;\r\n }\r\n\r\n if (this.technicalApprover2Signature)\r\n this.section41Signatures.push(this.technicalApprover2Signature);\r\n if (this.makeBypassPermanentSignature)\r\n this.section41Signatures.push(this.makeBypassPermanentSignature);\r\n if (this.technicalApprover3Signature)\r\n this.section42Signatures.push(this.technicalApprover3Signature);\r\n if (this.oicApproval2Signature)\r\n this.section42Signatures.push(this.oicApproval2Signature);\r\n }\r\n\r\n this.loading.emit(false);\r\n });\r\n this.amendments = [];\r\n this.signatures?.map(s => {\r\n if (!this.amendments.includes(s.amendmentNumber)) {\r\n this.amendments.push(s.amendmentNumber);\r\n }\r\n });\r\n\r\n }\r\n\r\n getSignaturesByAmendment(a: any) {\r\n return this.signatures.filter(s => s.amendmentNumber == a);\r\n }\r\n\r\n getLastAmendment() {\r\n const last = this.signatures.filter(x => x.amendmentNumber).map(x => x.amendmentNumber).sort((a, b) => utils.sort(a, b, false));\r\n return last ? last[0] : 0;\r\n }\r\n\r\n async approve(s: WfSignature) {\r\n const signed = await this.service.confirmSign(this.form, s, s.approveId, '', undefined, this.configuration);\r\n if (!signed) this.refresh();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
Bypass Removal
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Component, EventEmitter, Injector, Input, Output, SimpleChanges, OnChanges } from '@angular/core';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { WfSignatureResource, WfSignature, WFConfiguration } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { EbService } from '../../eb.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ComponentType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'eb-main-s5',\r\n templateUrl: './eb-main-s5.component.html',\r\n styleUrls: ['./eb-main-s5.component.scss']\r\n})\r\nexport class EbMainS5Component extends BaseComponent implements OnChanges {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n @Input() showAmendment!: boolean;\r\n\r\n @Output() loading = new EventEmitter()\r\n\r\n wfSignatures?: WfSignatureResource[];\r\n signatures!: WfSignature[];\r\n\r\n configuration?: WFConfiguration[];\r\n\r\n visible?: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: EbService,\r\n private workflowService: WorkFlowService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n async refresh() {\r\n if (this.form) {\r\n this.configuration = await this.workflowService.readConfiguration(9, this.form.wfTableID ?? 0).toPromise();\r\n\r\n const leftPersons = [\r\n this.configuration?.filter(x => x.identificator == 111) ?? []];\r\n\r\n const rightPersons = [\r\n this.configuration?.filter(x => x.identificator == 112) ?? []];\r\n\r\n this.wfSignatures = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 5)?.wfSignatures;\r\n\r\n this.signatures = [];\r\n this.wfSignatures?.map(signature => {\r\n this.signatures.push(\r\n WfSignatureResource.toWFSignatureResourceWithPerson(signature, this.wfSignatures ?? [], leftPersons, rightPersons, this.getCurrentUser()?.id ?? -1));\r\n });\r\n this.visible = this.signatures.some(s => s.enabled);\r\n }\r\n }\r\n\r\n async approve(s: WfSignature) {\r\n const signed = await this.service.confirmSign(this.form, s, s.approveId, '', undefined, this.configuration);\r\n if (!signed) this.refresh();\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n","import { Component, EventEmitter, Input, Output, SimpleChanges, OnChanges } from '@angular/core';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'eb-main-s6',\r\n templateUrl: './eb-main-s6.component.html',\r\n styleUrls: ['./eb-main-s6.component.scss']\r\n})\r\nexport class EbMainS6Component implements OnChanges {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n @Input() showAmendment!: boolean;\r\n\r\n @Output() loading = new EventEmitter()\r\n\r\n closeDisabled?: boolean;\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.closeDisabled = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 5)?.wfSignatures?.some((x) => x.enabled && !x.signed);\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n","import { Component, Input, EventEmitter, Output, ViewChild, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { CommentsAndAttachmentsComponent } from 'src/app/controls/comments-and-attachments/comments-and-attachments.component';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { EbMainS1Component } from './eb-main-s1/eb-main-s1.component';\r\n\r\n@Component({\r\n selector: 'eb-main',\r\n templateUrl: './eb-main.component.html',\r\n styleUrls: ['./eb-main.component.scss']\r\n})\r\nexport class EbMainComponent extends BaseComponent implements OnChanges {\r\n @Input() form?: Form | null;\r\n @Input() showAmendment?: boolean;\r\n @Output() loading = new EventEmitter();\r\n @Output() formCreated = new EventEmitter
();\r\n\r\n @ViewChild(EbMainS1Component) section1!: EbMainS1Component;\r\n @ViewChild(CommentsAndAttachmentsComponent) comments!: CommentsAndAttachmentsComponent;\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.comments && this.form) {\r\n this.comments.currentDocument = {\r\n status: this.form.formVersion?.statusID,\r\n serialNo: this.form.sequenceNumber?.number,\r\n type: FormType.EBF,\r\n };\r\n this.comments?.refresh();\r\n }\r\n this.setHeights();\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","export class EB2OtherSystem {\r\n public id?: number;\r\n public eB2ID?: number;\r\n public text?: string;\r\n}\r\n\r\nexport class EB2OtherSystemSave {\r\n public id?: number;\r\n public eB2ID?: number;\r\n public text?: string;\r\n}\r\n\r\nexport class EB2OtherSystemHandler {\r\n static toSave(eb2OtherSystem: EB2OtherSystem): EB2OtherSystemSave {\r\n var save = new EB2OtherSystemSave();\r\n\r\n save.id = eb2OtherSystem.id;\r\n save.eB2ID = eb2OtherSystem.eB2ID;\r\n save.text = eb2OtherSystem.text;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\n\r\nexport class EB2Shutter {\r\n public id?: number;\r\n public eB2ID?: number;\r\n public resourceID!: number;\r\n public resource!: Resource\r\n}\r\n\r\nexport class EB2ShutterSave {\r\n public id?: number;\r\n public eB2ID?: number;\r\n public resourceID?: number;\r\n}\r\n\r\nexport class EB2ShutterHandler {\r\n static toSave(eb2Shutter: EB2Shutter): EB2ShutterSave {\r\n var save = new EB2ShutterSave();\r\n\r\n save.id = eb2Shutter.id;\r\n save.eB2ID = eb2Shutter.eB2ID;\r\n save.resourceID = eb2Shutter.resourceID;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, Output, Injector, ViewChild } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormTableComponent } from 'src/app/controls/form-table/form-table.component';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { FormsUpdate } from 'src/app/controls/form-table/store/forms.action';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'eb-side',\r\n templateUrl: './eb-side.component.html',\r\n styleUrls: ['./eb-side.component.scss']\r\n})\r\nexport class EbSideComponent extends BaseComponent {\r\n @Input() showAllForms?: boolean;\r\n @Input() formsFilter?: string;\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild(FormTableComponent) formTable!: FormTableComponent;\r\n\r\n form?: Form | null;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private formService: FormService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async rowSelectedEvent(form?: Form | null) {\r\n if (form?.id != this.form?.id || form?.editingBy != this.form?.editingBy || form?.retrievedBy?.id != this.getCurrentUser()?.id) {\r\n if (form) {\r\n this.loading.emit(true);\r\n form = await this.formService.getById(form.id).toPromise();\r\n if (form?.id) {\r\n this.setOpenDocument(FormType.EBF, form.id);\r\n form.retrievedBy = this.getCurrentUser();\r\n this.store.dispatch(new FormsUpdate(form?.id, form));\r\n this.loading.emit(false);\r\n this.form = form;\r\n this.rowSelected.emit(form);\r\n }\r\n } else {\r\n this.formTable.form = form;\r\n this.rowSelected.emit(form);\r\n this.loading.emit(false);\r\n }\r\n }\r\n }\r\n\r\n unselect() {\r\n this.formTable.form = null;\r\n this.setOpenDocument(FormType.EBF);\r\n }\r\n\r\n formCreated(form: Form) {\r\n this.formTable.loadForms();\r\n }\r\n\r\n}\r\n","\r\n\r\n","import { Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum, FormType, LoadingOrigin } from 'src/app/common/enumerations/enumerations';\r\nimport { FormsStoreAndListenersService } from 'src/app/controls/form-table/store/forms.store';\r\nimport { Form, FormHandler } from 'src/app/services/forms/form';\r\nimport { EbSideComponent } from './eb-side/eb-side.component';\r\nimport moment from 'moment';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { EbService } from './eb.service';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { SequenceNumber } from 'src/app/services/forms/sequence-number';\r\nimport { FormVersion } from 'src/app/services/forms/form-version';\r\nimport { EB2 } from './eb';\r\nimport { EbMainComponent } from './eb-main/eb-main.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { FormVersionService } from 'src/app/services/forms/form-version.service';\r\nimport { CanComponentDeactivate } from 'src/app/common/guards/unsaved-changes.guard';\r\nimport { event } from 'jquery';\r\nimport { MatSlideToggleChange } from '@angular/material/slide-toggle';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-eb',\r\n templateUrl: './eb.component.html',\r\n styleUrls: ['./eb.component.scss']\r\n})\r\nexport class EbComponent extends BaseComponent implements OnChanges, CanComponentDeactivate, OnDestroy {\r\n\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n @ViewChild(EbSideComponent) side!: EbSideComponent;\r\n @ViewChild(EbMainComponent) main!: EbMainComponent;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n formUnchanged?: Form | null;\r\n form?: Form | null;\r\n forms: Form[] = [];\r\n forms$!: Observable;\r\n formsSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n showAmendmentToggle: boolean = false;\r\n showAmendment: boolean = false;\r\n //////\r\n\r\n constructor(\r\n public service: EbService,\r\n private formService: FormService,\r\n private formVersionService: FormVersionService,\r\n private formStore: FormsStoreAndListenersService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.formStore.initStore(FormType.EBF);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Equipment Bypass Forms'\r\n this.loadForms();\r\n }\r\n\r\n loadForms() {\r\n this.forms$ = this.store.select(state => state.Forms.data);\r\n this.formsSubs = this.forms$.subscribe(data => {\r\n if (data?.length) {\r\n this.forms = data;\r\n if (this.form) {\r\n const form = this.forms.find(f => f.id == this.form?.id);\r\n if (form) {\r\n this.form = form;\r\n this.rowSelected(this.form);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n showStatusChangeMessage(form: Form) {\r\n this.alert.message('formStateChanged', [\r\n new MessagePlaceholder(\"{serialNo}\", form.sequenceNumber.number), new MessagePlaceholder(\"{status}\", form.formVersion.status.name ?? 'New'),]);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.cancelSerialNumbers();\r\n this.formsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n async create() {\r\n if (await this.canDeactivate()) {\r\n const user = this.getCurrentUser();\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n const serialNo = await this.formService.getSerialNo(FormType.EBF).toPromise();\r\n if (serialNo && user) {\r\n this.form = {\r\n id: -1,\r\n type: FormType.EBF,\r\n sequenceNumber: new SequenceNumber(),\r\n formVersion: new FormVersion(FormType.EBF),\r\n editingById: user.id,\r\n editingBy: user,\r\n createdByUser: user,\r\n createdOn: new Date(),\r\n date: new Date()\r\n } as Form;\r\n this.form.sequenceNumber.number = serialNo?.serialNo;\r\n this.form.formVersion.statusID == FormStatusEnum.New;\r\n this.form.formVersion.operatorInitiatingForm = user;\r\n this.form.formVersion.operatorInitiatingFormID = user.id ?? 0;\r\n this.form.formVersion.eB2 = new EB2;\r\n this.showAmendment = false;\r\n this.side.unselect();\r\n this.setOpenDocument(this.formTypeEnum.EBF, -1);\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n this.setFormDirty();\r\n this.disabled = false;\r\n }\r\n }\r\n }\r\n\r\n async cancelSerialNumbers() {\r\n if (this.form?.id == 0) {\r\n await this.formService.deleteSerialNumbers(FormType.EBF, this.currentUser?.id as number).toPromise();\r\n }\r\n }\r\n\r\n async edit(value: boolean) {\r\n if (this.form?.id) {\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n await this.formService.setEditing(this.form?.id as number, value).toPromise();\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n }\r\n else if (await this.canDeactivate()) {\r\n await this.cancelSerialNumbers();\r\n }\r\n if (!value) {\r\n this.form = null;\r\n this.setOpenDocument(FormType.EBF);\r\n this.side.formTable.form = null;\r\n }\r\n }\r\n\r\n rowSelected(e: Form | any) {\r\n this.form = e as Form;\r\n this.showAmendment = false;\r\n this.formUnchanged = e ? utils.cloneDeep(e) : null;\r\n this.createdOn = moment(this.form?.createdOn).format(\"MMM-DD-YYYY\");\r\n this.setHeights();\r\n // this.scrollToTop('sidenav-content');\r\n if (this.form.editingBy && this.form.formVersion.statusID == FormStatusEnum.Amendment) this.showAmendment = true;\r\n }\r\n\r\n showAmendmentButton() {\r\n return this.form &&\r\n this.main?.section1?.amendmentSignature?.amendmentEnabled &&\r\n this.hasPrivilege(this.privilegeEnum.EBRequestAmendment) &&\r\n this.form.formVersion.statusID != FormStatusEnum.Amendment &&\r\n this.form.formVersion.statusID != FormStatusEnum.RestrictionsAmendment &&\r\n !this.form.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 4)?.wfSignatures?.some(s => s.signed);\r\n }\r\n\r\n formCreated(form: Form) {\r\n this.form = form;\r\n this.side.formCreated(this.form);\r\n }\r\n\r\n async duplicate() {\r\n if (await this.canDeactivate()) {\r\n let form = new Form(FormType.EBF);\r\n const user = this.getCurrentUser();\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n const serialNo = await this.formService.getSerialNo(FormType.EBF).toPromise();\r\n if (serialNo && user && this.form) {\r\n // this.sidePanel.selectedRowIndex = -1;\r\n form = {\r\n id: 0,\r\n type: FormType.EBF,\r\n sequenceNumber: new SequenceNumber,\r\n formVersion: new FormVersion,\r\n editingById: user.id,\r\n editingBy: user,\r\n createdByUser: user,\r\n createdOn: new Date(),\r\n date: new Date()\r\n } as Form;\r\n form.sequenceNumber.number = serialNo?.serialNo;\r\n form.formVersion.statusID == FormStatusEnum.Draft;\r\n form.formVersion.operatorInitiatingForm = user;\r\n form.formVersion.operatorInitiatingFormID = user.id ?? 0;\r\n form.formVersion.requesterID = this.form.formVersion.requesterID;\r\n\r\n const eb2 = utils.cloneDeep(this.form.formVersion.eB2) as EB2;\r\n eb2.eB2AcceleratorLocations.map(x => { x.id == 0; x.eB2ID = 0; });\r\n eb2.eB2OtherSystems.map(x => { x.id = 0; x.eB2ID = 0; });\r\n eb2.eB2RelatedLinks.map(x => { x.formID = 0; x.id = 0; });\r\n eb2.eB2Restrictions.map(x => { x.id = 0; x.formID = 0; });\r\n eb2.eB2Shutters.map(x => { x.eB2ID = 0; x.id = 0; });\r\n eb2.id = 0;\r\n form.formVersion.id = 0;\r\n form.formVersion.eB2 = eb2;\r\n\r\n this.formService.create(FormHandler.toSave(form))?.subscribe(\r\n (data: Form) => {\r\n this.form = data;\r\n this.alert.message('DraftSaved', [\r\n new MessagePlaceholder(\"{serialNo}\", data.sequenceNumber.number),\r\n ]);\r\n this.setOpenDocument(FormType.EBF, this.form.id);\r\n this.side.formCreated(this.form);\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n }\r\n );\r\n\r\n this.disabled = false;\r\n }\r\n }\r\n }\r\n\r\n requestAmendment() {\r\n if (this.form?.wfTableID) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage('request_amendment').description,\r\n icon: \"warn\",\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data && this.form) {\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n this.formVersionService.newVersion(this.form.formVersion.id).subscribe(async (formVersion: FormVersion) => {\r\n if (this.form && formVersion && this.main?.section1?.amendmentSignature) {\r\n this.form.formVersion = utils.cloneDeep(formVersion);\r\n await this.service.sign(this.form, this.main.section1.amendmentSignature.taskID, this.main.section1.amendmentSignature.amendmentID);\r\n }\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n });\r\n }\r\n }\r\n\r\n async editAmendment() {\r\n if (this.form?.id) {\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n await this.formService.setEditing(this.form.id, true).toPromise();\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n this.showAmendment = true;\r\n }\r\n }\r\n\r\n async changeAmendmentToggle(e: MatSlideToggleChange) {\r\n // Is the user editing?\r\n if (this.form?.editingBy?.id && this.currentUser?.id && this.form?.editingBy?.id == this.currentUser?.id) {\r\n // Check if dirty and if dirty warn user\r\n if (await this.canDeactivate()) {\r\n // If not dirty or if user discards changes:\r\n this.showAmendment = e.checked\r\n return;\r\n }\r\n else {\r\n // Set the toggle back manually\r\n e.source.checked = this.showAmendment;\r\n return;\r\n }\r\n }\r\n this.showAmendment = e.checked;\r\n this.changeAmendmentToggle(e);\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.service.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ moduleTitle }}\r\n
\r\n \r\n

\r\n {{ form?.sequenceNumber?.number?.trim() }}\r\n

\r\n \r\n {{ form.formVersion.status.name }}\r\n \r\n
\r\n
\r\n \r\n Operator initiating form\r\n \r\n \r\n
\r\n
\r\n \r\n Created Date\r\n \r\n \r\n
\r\n \r\n \r\n Show Pending Amendment\r\n
\r\n
\r\n Modifying by: {{ form?.editingBy?.name }}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n Modify Form\r\n edit\r\n \r\n\r\n \r\n Modify Amendment\r\n edit\r\n \r\n\r\n \r\n\r\n \r\n Copy Form\r\n content_copy\r\n \r\n\r\n \r\n Create Amendment\r\n healing\r\n \r\n\r\n \r\n Release Form\r\n lock_open\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n 576,\r\n amendment: showAmendment\r\n }\"\r\n >\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule, FormControl, FormGroupDirective, NgForm } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { EbSideComponent } from './eb-side/eb-side.component';\r\nimport { EbComponent } from './eb.component';\r\nimport { EbMainComponent } from './eb-main/eb-main.component';\r\nimport { EbMainS1Component } from './eb-main/eb-main-s1/eb-main-s1.component';\r\nimport { EbMainS2Component } from './eb-main/eb-main-s2/eb-main-s2.component';\r\nimport { EbMainS3Component } from './eb-main/eb-main-s3/eb-main-s3.component';\r\nimport { EbMainS4Component } from './eb-main/eb-main-s4/eb-main-s4.component';\r\nimport { EbMainS5Component } from './eb-main/eb-main-s5/eb-main-s5.component';\r\nimport { EbMainS6Component } from './eb-main/eb-main-s6/eb-main-s6.component';\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n EbComponent,\r\n EbSideComponent,\r\n EbMainComponent,\r\n EbMainS2Component,\r\n EbMainS3Component,\r\n EbMainS4Component,\r\n EbMainS5Component,\r\n EbMainS6Component\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n // MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class EbModule { }\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { FormType, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { PartialOlogComponent } from 'src/app/controls/olog/partial-olog/partial-olog.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { WFConfiguration, WFTaskSignatureResource, WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { KEService } from '../kenable/ke.service';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { EB2 } from './eb';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class EbService extends BaseService {\r\n public form!: Form;\r\n loading!: boolean;\r\n\r\n restrictions!: Restriction[];\r\n restrictionsFiltered!: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private formService: FormService,\r\n private ologService: OLogService,\r\n private keService: KEService\r\n ) {\r\n super(injector, '/EB');\r\n }\r\n\r\n loadRestrictions() {\r\n this.restrictions$ = this.store.select((state) => state.Restrictions.data);\r\n this.restrictionsSubs = this.restrictions$.subscribe((data) => {\r\n if (data?.length) {\r\n this.restrictions = data;\r\n }\r\n });\r\n }\r\n\r\n async confirmSign(form: Form | null | undefined, task: WfSignature, action?: number, reason?: string, options?: string, configuration?: WFConfiguration[]) {\r\n if (!form || !task || !action) return false;\r\n\r\n this.form = form;\r\n this.loadRestrictions();\r\n\r\n const confirmMessage = this.getConfirmMessage(task, configuration);\r\n\r\n if (confirmMessage) {\r\n const confirmed = await this.showDialog(confirmMessage);\r\n if (!confirmed) return false;\r\n this.sign(form, task.taskId, action, reason, options);\r\n return true;\r\n }\r\n else {\r\n this.sign(form, task.taskId, action, reason, options);\r\n return true;\r\n }\r\n }\r\n\r\n private getConfirmMessage(task: WfSignature, configuration?: WFConfiguration[]): { message: string, icon: string } | null {\r\n if (!configuration) return null;\r\n\r\n const config = configuration.find(x => x.wfTaskLocalID === task.id);\r\n\r\n if (config?.identificator === 201) {\r\n return { message: this.getMessage('finish_message').description, icon: \"stop\" };\r\n } else if (config?.identificator === 202) {\r\n return { message: this.getMessage('toActiveWarning').description, icon: \"warn\" };\r\n } else if (config?.identificator === 205) {\r\n return { message: this.getMessage('EB_To_Approve_Warning').description, icon: \"warn\" };\r\n }\r\n\r\n return null;\r\n }\r\n\r\n private showDialog(confirmMessage: { message: string, icon: string }): Promise {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: confirmMessage,\r\n });\r\n\r\n return new Promise(resolve => {\r\n confirm.afterClosed().subscribe(data => resolve(!!data));\r\n });\r\n }\r\n\r\n private handleKES(restrictedResourceIDs: number[]) {\r\n if (restrictedResourceIDs?.length) {\r\n this.keService.processKES(restrictedResourceIDs);\r\n }\r\n }\r\n\r\n sign(form?: Form | null, taskId?: number, actionId?: number, reason?: string, options?: string, amendment?: boolean) {\r\n this.loading = true;\r\n if (form?.id && taskId && actionId) {\r\n\r\n const restrictedResourceIDs = this.restrictions?.filter(x => this.form?.formVersion?.eB2?.eB2Restrictions?.some(r => r.restrictionID === x.id)).map(y => y.resourceID)?.filter((resourceID): resourceID is number => resourceID !== undefined);\r\n\r\n this.form = form;\r\n const formStatus = this.form.formVersion.status;\r\n const formID = form?.id\r\n const wfTaskSignature: WFTaskSignatureResource = { taskId, actionId, reason, formID, amendment, options };\r\n this.formService.sign(wfTaskSignature).toPromise().then(data => {\r\n if (data && data?.formVersion.statusID != formStatus.id) {\r\n this.alert.message('formStateChanged', [new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber.number), new MessagePlaceholder('{status}', data.formVersion.status.name)]);\r\n }\r\n this.handleKES(restrictedResourceIDs);\r\n this.loading = false;\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading = false;\r\n });\r\n }\r\n }\r\n\r\n editOlog(form?: Form | null) {\r\n this.ologService.editOlog(FormType.EBF, form?.id ?? 0, OlogNotificationType.Activate);\r\n }\r\n\r\n}\r\n","import { EB2ShutterSave, EB2Shutter, EB2ShutterHandler } from './eb-shutter';\r\nimport { EB2AcceleratorLocation, EB2AcceleratorLocationSave, EB2AcceleratorLocationHandler } from './eb-accelerator-location';\r\nimport { EB2OtherSystem, EB2OtherSystemSave, EB2OtherSystemHandler } from './eb-other-systems';\r\nimport { RelatedDocument } from 'src/app/services/documents/documents';\r\nimport { FormRestriction, FormRestrictionHandler } from 'src/app/services/forms/form-restriction';\r\nimport { RelatedLinkBase, RelatedLinkBaseSave, RelatedLinkBaseHandler } from 'src/app/components/catalogs/navigation-links/link/related-link-base';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\nexport class EB2 {\r\n public id!: number;\r\n public formVersionID!: number;\r\n public equipmentOrFunctionForBypassAndReason: string;\r\n public beamline: boolean = false;\r\n public accelerator: boolean = false;\r\n public bypassDetails: string;\r\n public conditionsAndLimitations: string;\r\n public systemAndPrintNumbers: string;\r\n public mitigationDetails: string;\r\n public permittedStartDate: Date;\r\n public estimatedCompletion: Date;\r\n public permanentBypassReason: string;\r\n public createdBy?: number;\r\n public createdOn?: Date;\r\n public updatedBy?: number;\r\n public updatedOn?: Date;\r\n public eB2Shutters: EB2Shutter[];\r\n public eB2AcceleratorLocations: EB2AcceleratorLocation[];\r\n public eB2OtherSystems: EB2OtherSystem[];\r\n public eB2Restrictions: FormRestriction[];\r\n public eB2RelatedLinks: RelatedLinkBase[];\r\n public relatedDocuments?: RelatedDocument[];\r\n public createdByUser: User = new User;\r\n public updatedByUser: User = new User;\r\n\r\n constructor() {\r\n const date = new Date();\r\n\r\n this.equipmentOrFunctionForBypassAndReason = \"\";\r\n this.bypassDetails = \"\";\r\n this.conditionsAndLimitations = \"\";\r\n this.systemAndPrintNumbers = \"\";\r\n this.mitigationDetails = \"\";\r\n this.permittedStartDate = new Date(date.getFullYear(), date.getMonth(), date.getDate());\r\n this.estimatedCompletion = new Date(date.getFullYear(), date.getMonth(), date.getDate());\r\n this.permanentBypassReason = \"\";\r\n this.eB2Shutters = [];\r\n this.eB2AcceleratorLocations = [];\r\n this.eB2OtherSystems = [];\r\n this.eB2Restrictions = [];\r\n this.eB2RelatedLinks = [];\r\n this.relatedDocuments = [];\r\n }\r\n}\r\n\r\nexport class EB2Save {\r\n public id!: number;\r\n public formVersionID!: number;\r\n public equipmentOrFunctionForBypassAndReason: string;\r\n public beamline: boolean = false;\r\n public accelerator: boolean = false;\r\n public bypassDetails: string;\r\n public conditionsAndLimitations: string;\r\n public systemAndPrintNumbers: string;\r\n public mitigationDetails: string;\r\n public permittedStartDate: Date;\r\n public estimatedCompletion: Date;\r\n public eB2Shutters: EB2ShutterSave[];\r\n public eB2AcceleratorLocations: EB2AcceleratorLocationSave[];\r\n public eB2OtherSystems: EB2OtherSystemSave[];\r\n public eB2Restrictions: FormRestriction[];\r\n public eB2RelatedLinks: RelatedLinkBaseSave[];\r\n public relatedDocuments: RelatedDocument[];\r\n\r\n constructor() {\r\n this.equipmentOrFunctionForBypassAndReason = \"\";\r\n this.bypassDetails = \"\";\r\n this.conditionsAndLimitations = \"\";\r\n this.systemAndPrintNumbers = \"\";\r\n this.mitigationDetails = \"\";\r\n this.permittedStartDate = new Date();\r\n this.estimatedCompletion = new Date();\r\n this.eB2Shutters = [];\r\n this.eB2AcceleratorLocations = [];\r\n this.eB2OtherSystems = [];\r\n this.eB2Restrictions = [];\r\n this.eB2RelatedLinks = [];\r\n this.relatedDocuments = [];\r\n }\r\n}\r\n\r\nexport class EB2Handler {\r\n static toSave(eb2: EB2): EB2Save {\r\n var save = new EB2Save();\r\n\r\n save.id = eb2.id;\r\n save.formVersionID = eb2.formVersionID;\r\n save.equipmentOrFunctionForBypassAndReason = eb2.equipmentOrFunctionForBypassAndReason;\r\n save.beamline = eb2.beamline;\r\n save.accelerator = eb2.accelerator;\r\n save.bypassDetails = eb2.bypassDetails;\r\n save.conditionsAndLimitations = eb2.conditionsAndLimitations;\r\n save.systemAndPrintNumbers = eb2.systemAndPrintNumbers;\r\n save.mitigationDetails = eb2.mitigationDetails;\r\n save.permittedStartDate = eb2.permittedStartDate;\r\n save.estimatedCompletion = eb2.estimatedCompletion;\r\n save.eB2Shutters = [];\r\n eb2.eB2Shutters.map(x => save.eB2Shutters.push(EB2ShutterHandler.toSave(x)));\r\n save.eB2RelatedLinks = [];\r\n eb2.eB2AcceleratorLocations.map(x => save.eB2AcceleratorLocations.push(EB2AcceleratorLocationHandler.toSave(x)));\r\n save.eB2OtherSystems = [];\r\n eb2.eB2OtherSystems.map(x => save.eB2OtherSystems.push(EB2OtherSystemHandler.toSave(x)));\r\n save.eB2Restrictions = [];\r\n eb2.eB2Restrictions.map(x => save.eB2Restrictions.push(FormRestrictionHandler.toSave(x)));\r\n save.eB2RelatedLinks = [];\r\n eb2.eB2RelatedLinks.map(x => save.eB2RelatedLinks.push(RelatedLinkBaseHandler.toSave(x)));\r\n save.relatedDocuments = [];\r\n eb2.relatedDocuments?.map(x => save.relatedDocuments.push(x));\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, HostListener, OnInit, Injector, AfterViewInit } from '@angular/core';\r\nimport { NavigationEnd, Router } from '@angular/router';\r\nimport { Observable, Subscription, filter } from 'rxjs';\r\nimport { Clipboard } from '@angular/cdk/clipboard';\r\nimport FileV2 from 'src/app/services/file/file-v2.model';\r\nimport { MenuItem } from '../head-menu/head-menu.models';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { SearchDialogComponent } from '../head-search/search-dialog/search-dialog.component';\r\n\r\n\r\n@Component({\r\n selector: 'head-action-buttons',\r\n templateUrl: './head-action-buttons.component.html',\r\n styleUrls: ['./head-action-buttons.component.scss']\r\n})\r\nexport class HeadActionButtonsComponent extends BaseComponent implements OnInit {\r\n\r\n helpFile!: FileV2 | null;\r\n\r\n menuItems!: MenuItem[];\r\n menuItems$!: Observable;\r\n menuItemsSubs!: Subscription;\r\n\r\n collapsed = false;\r\n hasToolbar?: boolean;\r\n\r\n constructor(\r\n private router: Router,\r\n private file2service: FileV2Service,\r\n private clipboard: Clipboard,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n initialize() {\r\n this.initMenuItems();\r\n this.checkToolbar();\r\n }\r\n\r\n ngOnInit() {\r\n this.onResize(null);\r\n this.router.events.pipe(filter(event => event instanceof NavigationEnd))\r\n .subscribe(() => {\r\n // Do something when the route changes\r\n this.initialize();\r\n });\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: { target: { innerWidth: number; }; } | null) {\r\n if (event) {\r\n this.innerWidth = event.target.innerWidth;\r\n }\r\n else {\r\n this.innerWidth = window.screen.width;\r\n }\r\n }\r\n\r\n checkToolbar() {\r\n setTimeout(() => {\r\n this.hasToolbar = document.querySelector('.toolbar') != null;\r\n }, 300);\r\n }\r\n\r\n initMenuItems() {\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.menuItemsSubs = this.menuItems$.subscribe(async data => {\r\n if (data.length) {\r\n this.menuItems = data;\r\n this.initIconHelp();\r\n }\r\n });\r\n }\r\n\r\n initIconHelp() {\r\n if (this.menuItems?.length) {\r\n this.helpFile = null;\r\n const menuItem: MenuItem | undefined = this.menuItems.find(x => this.formatUrlPath(x.route) === this.formatUrlPath(this.router.url));\r\n if (menuItem?.fileV2Id && !this.helpFile) {\r\n this.file2service.obtainFile(menuItem.fileV2Id).toPromise().then((result: FileV2 | null) => {\r\n this.helpFile = result;\r\n }).catch(() => {\r\n // this.alert.defaultError();\r\n });\r\n }\r\n }\r\n }\r\n\r\n formatUrlPath(text?: string): string | undefined {\r\n if (text?.length) {\r\n if (text.charAt(0) === '/') {\r\n text = text.substring(1);\r\n }\r\n\r\n if (text.charAt(text.length - 1) === '/') {\r\n text = text.slice(0, -1);\r\n }\r\n }\r\n\r\n return text;\r\n }\r\n\r\n openSearchDialog() {\r\n const dialogRef = this.dialog.open(SearchDialogComponent, {\r\n height: '90vh',\r\n width: '95vw',\r\n\r\n autoFocus: false,\r\n disableClose: true\r\n });\r\n dialogRef.afterClosed().subscribe(() => {\r\n console.log('Dialog closed');\r\n });\r\n }\r\n\r\n async openDocumentHelp() {\r\n const newTab = window.open(this.helpFile?.url, '_blank');\r\n if (newTab) {\r\n newTab.focus();\r\n }\r\n }\r\n\r\n copyLink() {\r\n let serialNo = document.getElementById('serialNumber')?.innerText;\r\n serialNo = serialNo != '' ? serialNo : document.getElementById('serialNumber')?.innerHTML;\r\n let link = null;\r\n if (serialNo && this.containsNUmbers(serialNo)) {\r\n link = window.location.origin + '/#/redirect/' + serialNo;\r\n this.alert.info('Link to ' + serialNo + ' has been copied to the Clipboard!');\r\n }\r\n else {\r\n link = window.location.href;\r\n this.alert.info('Link to ' + link + ' has been copied to the Clipboard!');\r\n }\r\n this.clipboard.copy(link);\r\n\r\n }\r\n\r\n containsNUmbers(string: string) {\r\n return /\\d/.test(string);\r\n }\r\n\r\n toggleToolbar() {\r\n const toolbar = document.querySelector('.toolbar');\r\n if (toolbar?.classList.contains('toolbar-collapsed')) {\r\n toolbar.classList.remove('toolbar-collapsed');\r\n this.collapsed = false;\r\n document.querySelector('.sidenav-container')?.classList.remove('sidenav-container-max');\r\n document.querySelector('.sidenav-content')?.classList.remove('sidenav-content-max');\r\n }\r\n else {\r\n toolbar?.classList.add('toolbar-collapsed');\r\n this.collapsed = true;\r\n document.querySelector('.sidenav-container')?.classList.add('sidenav-container-max');\r\n document.querySelector('.sidenav-content')?.classList.add('sidenav-content-max');\r\n }\r\n }\r\n\r\n printPage() {\r\n window.print();\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n help_outline\r\n \r\n \r\n link\r\n \r\n \r\n expand_circle_down\r\n \r\n
\r\n","import { Component, OnInit, Injector, OnDestroy } from '@angular/core';\r\nimport { Router } from \"@angular/router\";\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { Subscription } from \"rxjs\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { AuthenticationService } from \"src/app/services/authentication/authentication.service\";\r\nimport { Role } from \"src/app/components/catalogs/roles/services/role\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { AppStateService } from \"src/app/store/app-state-service\";\r\nimport { Servers } from \"src/app/common/enumerations/servers-enum\";\r\nimport { LoginComponent } from \"../../login/login.component\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { SetCurrentUser } from 'src/app/store/actions';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: \"head-login\",\r\n templateUrl: \"./head-login.component.html\",\r\n styleUrls: [\"./head-login.component.scss\"],\r\n})\r\nexport class HeadLoginComponent extends BaseComponent implements OnInit, OnDestroy {\r\n loggedIn = false;\r\n\r\n name!: string | null;\r\n roles?: string | null;\r\n rolesList?: (Role | undefined)[] = [];\r\n\r\n logout: boolean = false;\r\n assSubs: Subscription;\r\n\r\n constructor(\r\n private router: Router,\r\n private authenticationService: AuthenticationService,\r\n private cookieService: CookieService,\r\n protected override injector: Injector,\r\n private appState: AppStateService\r\n ) {\r\n super(injector);\r\n this.assSubs = this.appState.AppState.subscribe((appState) => {\r\n this.setUser(appState?.currentUser);\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.assSubs?.unsubscribe();\r\n }\r\n\r\n openDialog(): void {\r\n const dialogRef = this.dialog.open(LoginComponent, {\r\n height: \"32em\",\r\n width: \"25em\",\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n if (response?.code == 423 || response?.code == 401) {\r\n response?.code === 423 ? this.alert.message('Login_UserInactive') : response?.code === 401 ? this.alert.message('Login_UserUndefined') : null;\r\n }\r\n this.store.dispatch(new SetCurrentUser(response?.token));\r\n this.router.navigate([\"/\"]);\r\n });\r\n }\r\n\r\n login() {\r\n if (document.location.hostname === Servers.PRODUCTION) {\r\n location.href = \"https://ascc.als.lbl.gov/Shibboleth.sso/Login\";\r\n } else {\r\n this.openDialog();\r\n }\r\n }\r\n\r\n setUser(user: User | null) {\r\n this.rolesList = [];\r\n this.loggedIn = false;\r\n if (user) {\r\n user.userRole?.sort((a, b) =>\r\n utils.sort(a.role?.name ?? '', b.role?.name ?? '', true)\r\n );\r\n this.loggedIn = true;\r\n this.name = user.name ?? '';\r\n\r\n this.rolesList = user.userRole?.map((x) => x.role)\r\n .sort((a, b) => utils.sort(a?.name ?? '', b?.name ?? '', true));\r\n this.roles = user.userRole?.map((r) => r.role?.code)\r\n .sort((a, b) => utils.sort(a ?? '', b ?? '', true))\r\n .join(\"/\");\r\n }\r\n }\r\n\r\n async logOut() {\r\n if (await this.canDeactivate()) {\r\n this.name = null;\r\n this.roles = null;\r\n this.rolesList = [];\r\n this.loggedIn = false;\r\n this.authenticationService.logout();\r\n\r\n const el: HTMLElement | null = document.getElementById(\"userInfo\");\r\n el?.classList.add(\"hidden\");\r\n localStorage.clear();\r\n\r\n if (document.location.hostname === environment.productionEnvironment) {\r\n this.cookieService.delete(\"_shibobj\", \"/\");\r\n this.alert.warning(\r\n \"You MUST close your browser to complete the logout process.\"\r\n );\r\n this.logout = true;\r\n const that = this;\r\n setTimeout(() => {\r\n that.router.navigate([\"/\"]);\r\n }, 2000);\r\n } else {\r\n this.router.navigate([\"/\"]);\r\n }\r\n }\r\n }\r\n\r\n showUserInfo() {\r\n const el: HTMLElement | null = document.getElementById(\"userInfo\");\r\n if (el?.classList.contains(\"hidden\")) {\r\n el.classList.remove(\"hidden\");\r\n } else {\r\n this.mouseleave();\r\n }\r\n }\r\n\r\n override mouseleave() {\r\n setTimeout(() => {\r\n const el: HTMLElement | null = document.getElementById(\"userInfo\");\r\n el?.classList.add(\"hidden\");\r\n }, 1000);\r\n }\r\n\r\n userCheck() {\r\n return (this.currentUser?.id == 18 || this.currentUser?.id == 247) && document.location.hostname === Servers.PRODUCTION;\r\n }\r\n\r\n}\r\n","\r\n
\r\n \r\n {{ name }}\r\n account_circle\r\n \r\n
\r\n\r\n \r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n account_circle\r\n \r\n
\r\n
\r\n
\r\n \r\n Close Session\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{ name }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ role?.name }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-head-logo-about',\r\n templateUrl: './head-logo-about.component.html',\r\n styleUrls: ['./head-logo-about.component.scss']\r\n})\r\nexport class HeadLogoAboutComponent {\r\n environment = environment;\r\n\r\n constructor(\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) { }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","\r\n\r\n\r\n
\r\n \r\n

{{ environment.name }}

\r\n
Version: {{ environment.version }}
\r\n
\r\n
\r\n","import { Component, Input } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { HeadLogoAboutComponent } from '../head-logo-about/head-logo-about.component';\r\n\r\n@Component({\r\n selector: 'head-logo-tooltip',\r\n templateUrl: './head-logo-tooltip.component.html',\r\n styleUrls: ['./head-logo-tooltip.component.scss']\r\n})\r\nexport class HeadLogoTooltipComponent {\r\n @Input() tooltipText = 'Click me!';\r\n\r\n constructor(private dialog: MatDialog) { }\r\n\r\n openDialog(event: MouseEvent) {\r\n event.preventDefault();\r\n // event.stopPropagation(); // Prevent unwanted clicks on the background\r\n this.dialog.open(HeadLogoAboutComponent, {\r\n width: '500px',\r\n data: { message: 'Dialog opened from tooltip!' }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n","import { Component } from '@angular/core';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'head-logo',\r\n templateUrl: './head-logo.component.html',\r\n styleUrls: ['./head-logo.component.scss']\r\n})\r\nexport class HeadLogoComponent {\r\n environment = environment;\r\n toolTipText!: string;\r\n constructor(public signalR: SignalRService) {\r\n this.toolTipText = `
${environment.name}
Version: ${environment.version}`;\r\n }\r\n\r\n}\r\n","
\r\n \r\n\r\n
\r\n \r\n \r\n ASCC4\r\n \r\n \r\n\r\n \r\n \r\n \r\n bigtop_updates\r\n \r\n \r\n signal_disconnected\r\n \r\n
\r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy, ViewChild, Injector } from '@angular/core';\r\nimport { MenuItem, MenuItemTypes } from '../head-menu.models';\r\nimport { HeadMenuService } from '../head-menu.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { NavigationLink } from 'src/app/services/navigation-links/navigation-link';\r\nimport { MenuConfigActionsComponent, Orientation } from 'src/app/components/menu-config/menu-config-actions/menu-config-actions.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { MatMenuTrigger } from '@angular/material/menu';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { ProcedureReportService } from 'src/app/components/procedure/services/procedure-report.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'head-menu-dropmenu',\r\n templateUrl: './head-menu-dropmenu.component.html',\r\n styleUrls: ['./head-menu-dropmenu.component.scss']\r\n})\r\nexport class HeadMenuDropmenuComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() menuItem!: MenuItem;\r\n @Input() editing?: boolean;\r\n @Input() orientation?: Orientation;\r\n @Input() SA!: boolean;\r\n\r\n @ViewChild(MenuConfigActionsComponent) actions?: MenuConfigActionsComponent;\r\n @ViewChild('menuTrigger') menuTrigger!: MatMenuTrigger;\r\n\r\n menuItems: MenuItem[] = [];\r\n menuItemTypes = MenuItemTypes;\r\n menuItems$!: Observable;\r\n subscription: Subscription = new Subscription;\r\n\r\n scheduleTypes: ScheduleType[] = [];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs: Subscription = new Subscription;\r\n\r\n navigationLinks?: NavigationLink[];\r\n navigationLinks$!: Observable;\r\n navigationLinksSubs!: Subscription;\r\n\r\n orientationEnum = Orientation;\r\n\r\n missingTrainings?: number;\r\n missingTrainings$!: Observable;\r\n missingTrainingsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _service: HeadMenuService,\r\n private procedureReport: ProcedureReportService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scheduleTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadMenuItems();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadMissingTrainings();\r\n }\r\n\r\n // override currentUserUpdated(): void {\r\n // this.getMissingTrainings();\r\n // };\r\n\r\n loadMenuItems() {\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.subscription = this.menuItems$.subscribe(data => {\r\n if (data.length) {\r\n if (this.menuItem) {\r\n const menuItem = data.find(x => x.id == this.menuItem.id);\r\n if (menuItem) {\r\n menuItem.childMenuItems = data.filter(x => x.parentMenuItemID == menuItem?.id && (x.status || this.editing)).sort((a, b) => utils.sort(a.order, b.order));\r\n this.menuItem = menuItem;\r\n this.createMenu();\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n createMenu() {\r\n if (this.menuItem.table) {\r\n switch (this.menuItem.table.toLowerCase()) {\r\n case 'links':\r\n this.loadNavigationLinks();\r\n break;\r\n case 'scheduletypes':\r\n this.loadScheduleTypes();\r\n break;\r\n }\r\n }\r\n else {\r\n if (this.menuItem.childMenuItems)\r\n this.menuItems = this._service.calculateRouterLinks(this.menuItem.childMenuItems).sort((a, b) => a.order - b.order);\r\n }\r\n }\r\n\r\n loadNavigationLinks() {\r\n this.navigationLinks$ = this.store.select(state => state.NavigationLinks.data);\r\n this.navigationLinksSubs = this.navigationLinks$.subscribe(async data => {\r\n if (data?.length) {\r\n const menuItems: MenuItem[] = [];\r\n this.navigationLinks = data.filter(x => x.isActive);\r\n this.navigationLinks?.map(l => {\r\n const menuitem: MenuItem = {\r\n name: l.hyperlink,\r\n route: l.webAddress,\r\n visible: l.isActive,\r\n status: 1,\r\n isSeparator: false,\r\n order: l.order,\r\n type: MenuItemTypes.Link,\r\n disableEdit: true\r\n };\r\n menuItems.push(menuitem);\r\n });\r\n this.menuItems = this._service.calculateRouterLinks(menuItems);\r\n }\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe(async data => {\r\n if (data?.length) {\r\n const menuItems: MenuItem[] = [];\r\n data.filter(x => x.isActive && x.name).map(l => {\r\n const menuitem: MenuItem = {\r\n name: l.name + ' (' + l.acronym + ')',\r\n route: 'schedulesV2/' + l.id,\r\n visible: l.isActive,\r\n isSeparator: false,\r\n order: 1,\r\n status: 1,\r\n type: MenuItemTypes.Normal,\r\n disableEdit: true\r\n };\r\n menuItems.push(menuitem);\r\n });\r\n this.menuItems = this._service.calculateRouterLinks(menuItems);\r\n }\r\n });\r\n }\r\n\r\n openComponent(name: string) {\r\n this._service.openComponent(name);\r\n }\r\n\r\n // getMissingTrainings() {\r\n // if (this.currentUser?.id && this.menuItem.code == 'procedures') {\r\n // this.procedureReport.readByUserID(this.currentUser.id).toPromise().then(data => {\r\n // this.missingTrainings = data?.filter(d => d.revision != d.creditedRevision).length;\r\n // });\r\n // }\r\n // }\r\n\r\n loadMissingTrainings() {\r\n this.missingTrainings$ = this.store.select(state => state.MissingTraining.data);\r\n this.missingTrainingsSubs = this.missingTrainings$.subscribe(data => {\r\n this.missingTrainings = data;\r\n });\r\n }\r\n\r\n}\r\n","{{ menuItem.name }}\r\n
\r\n \r\n {{ missingTrainings }}\r\n
\r\n\r\n\r\n \r\n {{ menuItem.name }}\r\n \r\n \r\n {{ menuItem.name }}\r\n \r\n {{ menuItem.name }}\r\n \r\n
\r\n \r\n \r\n
\r\n","import { Component, Input, OnInit, ViewChild, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { MatMenuTrigger } from '@angular/material/menu';\r\nimport { MenuItem, MenuItemTypes } from '../head-menu.models';\r\nimport { HeadMenuService } from '../head-menu.service';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { MenuConfigActionsComponent, Orientation } from 'src/app/components/menu-config/menu-config-actions/menu-config-actions.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'head-menu-submenu',\r\n templateUrl: './head-menu-submenu.component.html',\r\n styleUrls: ['./head-menu-submenu.component.scss']\r\n})\r\nexport class HeadMenuSubmenuComponent implements OnInit, OnChanges {\r\n\r\n @Input() menuItem!: MenuItem;\r\n @Input() editing?: boolean;\r\n @Input() SA!: boolean;\r\n\r\n @ViewChild(MenuConfigActionsComponent) actions?: MenuConfigActionsComponent;\r\n\r\n orientationEnum = Orientation;\r\n\r\n menuItems!: MenuItem[];\r\n menuItems$!: Observable;\r\n subscription: Subscription = new Subscription;\r\n\r\n @ViewChild('menu', { read: MatMenuTrigger })\r\n protected trigger!: MatMenuTrigger;\r\n menuHovered!: boolean;\r\n menuItemTypes = MenuItemTypes;\r\n\r\n constructor(\r\n private _service: HeadMenuService,\r\n public dialog: MatDialog,\r\n private store: Store\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadMenuItems();\r\n }\r\n\r\n async ngOnInit() {\r\n\r\n }\r\n\r\n loadMenuItems() {\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.subscription = this.menuItems$.subscribe(data => {\r\n if (data.length) {\r\n if (this.menuItem) {\r\n const menuItem = data.find(x => x.id == this.menuItem.id);\r\n if (menuItem) {\r\n menuItem.childMenuItems = data.filter(x => x.parentMenuItemID == menuItem?.id && (x.status || this.editing)).sort((a, b) => utils.sort(a.order, b.order));\r\n this.menuItem = menuItem;\r\n this.createMenu();\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n createMenu() {\r\n if (this.menuItem.childMenuItems)\r\n this.menuItems = this._service.calculateRouterLinks(this.menuItem.childMenuItems).sort((a, b) => a.order - b.order);\r\n }\r\n\r\n openMenu() {\r\n if (!this.trigger.menuOpen) {\r\n this.trigger.openMenu();\r\n }\r\n }\r\n\r\n closeMenu() {\r\n setTimeout(() => {\r\n if (!this.menuHovered) {\r\n this.trigger.closeMenu();\r\n }\r\n }, 100);\r\n }\r\n\r\n menuOver() {\r\n this.menuHovered = true;\r\n }\r\n\r\n menuOut() {\r\n if (!this.editing) {\r\n this.menuHovered = false;\r\n this.closeMenu();\r\n }\r\n }\r\n\r\n openComponent(name: string) {\r\n this._service.openComponent(name);\r\n }\r\n\r\n}\r\n","{{ menuItem.name }}\r\n\r\n\r\n \r\n {{ menuItem.name }}\r\n {{ menuItem.name }}\r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, OnDestroy, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { MenuItem, MenuItemTypes } from './head-menu.models';\r\nimport { HeadMenuService } from './head-menu.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { PendingApprovalsV2Service } from '../../pending-approvals-v2/pending-approvals-v2.service';\r\nimport { ProcedureCredited } from '../../procedure/models/procedure-credited.model';\r\nimport { ProcedureTraining } from '../../procedure/models/procedure-training.model';\r\nimport { Procedure } from '../../procedure/models/procedure.model';\r\nimport { ProcedureCreditedService } from '../../procedure/services/procedure-credited.service';\r\nimport { ProcedureReportService } from '../../procedure/services/procedure-report.service';\r\n\r\n@Component({\r\n selector: 'head-menu',\r\n templateUrl: './head-menu.component.html',\r\n styleUrls: ['./head-menu.component.scss']\r\n})\r\nexport class HeadMenuComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() user?: User;\r\n\r\n currentUser!: User | null;\r\n\r\n menuItems: MenuItem[] = [];\r\n menuItems$!: Observable;\r\n subscription: Subscription = new Subscription;\r\n showingMenu: MenuItem[] = [];\r\n\r\n isLoading = true;\r\n menuItemTypes = MenuItemTypes;\r\n unsubs: Subscription;\r\n showCarrousel = false;\r\n\r\n pendingApprovals?: number;\r\n myPendingChanges?: number;\r\n\r\n\r\n constructor(\r\n private _service: HeadMenuService,\r\n private store: Store,\r\n private ass: AppStateService,\r\n public pendingApprovalsService: PendingApprovalsV2Service,\r\n\r\n ) {\r\n this.unsubs = this.ass.AppState.subscribe(appState => {\r\n this.currentUser = appState.currentUser;\r\n this.load();\r\n });\r\n this.pendingApprovalsService.pendingApprovalsSubject.subscribe(data => {\r\n this.load();\r\n });\r\n }\r\n\r\n load() {\r\n this.loadMenuItems();\r\n this.pendingApprovals = this.pendingApprovalsService.pendingApprovals?.total;\r\n this.myPendingChanges = this.pendingApprovalsService.myPendingChanges?.total;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.unsubs.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadMenuItems();\r\n }\r\n\r\n loadMenuItems() {\r\n this.isLoading = true;\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.subscription = this.menuItems$.subscribe(data => {\r\n if (data.length) {\r\n this.menuItems = data;\r\n const menuItems = this._service.calculateRouterLinks(this.menuItems.filter(x => !x.parentMenuItemID));\r\n this.menuItems = menuItems.sort((a, b) => a.order - b.order);\r\n if (this.menuItems.length > 9) {\r\n this.showCarrousel = true;\r\n const pageAmount = 9;\r\n if (this.menuItems.length > pageAmount) {\r\n this.showingMenu = this.menuItems.slice(0, pageAmount);\r\n } else {\r\n this.showingMenu = this.menuItems;\r\n }\r\n } else {\r\n this.showCarrousel = false;\r\n this.showingMenu = this.menuItems;\r\n }\r\n this.isLoading = false;\r\n }\r\n });\r\n }\r\n\r\n next(goNext: boolean) {\r\n const pageAmount = 9;\r\n if (goNext) {\r\n const lastItem = this.menuItems.indexOf(this.showingMenu[this.showingMenu.length - 1]);\r\n if (lastItem + pageAmount >= this.menuItems.length) {\r\n if (!this.showingMenu.includes(this.menuItems[this.menuItems.length - 1])) {\r\n this.showingMenu = this.menuItems.slice(lastItem, this.menuItems.indexOf(this.menuItems[this.menuItems.length - 1]) + 1);\r\n }\r\n } else {\r\n this.showingMenu = this.menuItems.slice(lastItem, lastItem + pageAmount);\r\n }\r\n } else {\r\n const firstItem = this.menuItems.indexOf(this.showingMenu[0]);\r\n if (firstItem - pageAmount <= 0) {\r\n this.showingMenu = this.menuItems.slice(0, pageAmount);\r\n } else {\r\n this.showingMenu = this.menuItems.slice(firstItem - pageAmount, firstItem);\r\n }\r\n }\r\n }\r\n\r\n openComponent(name: string) {\r\n this._service.openComponent(name);\r\n }\r\n\r\n\r\n\r\n}\r\n","
\r\n
    \r\n \r\n
  • \r\n \r\n
  • \r\n \r\n 0 &&\r\n currentUser) ||\r\n menuItem.route != 'pending-approvals')\r\n \"\r\n >\r\n {{ menuItem.name }}\r\n
    \r\n \r\n {{ pendingApprovals }}\r\n
    \r\n\r\n \r\n {{ myPendingChanges }}\r\n
\r\n \r\n \r\n {{ menuItem.name }}\r\n \r\n \r\n
  • \r\n \r\n
  • \r\n \r\n \r\n\r\n
    Building menu ...
    \r\n","import { Role } from 'src/app/components/catalogs/roles/services/role';\r\n\r\nexport interface MenuItem {\r\n id?: number;\r\n name?: string;\r\n description?: string;\r\n status: number;\r\n type: number | null;\r\n code?: string;\r\n parentMenuItemID?: number | null;\r\n route?: string;\r\n order: number;\r\n table?: string;\r\n tab?: number;\r\n isSeparator: boolean | null;\r\n menuValidation?: MenuValidation;\r\n menuItemType?: MenuItemType;\r\n childMenuItems?: MenuItem[];\r\n menuItemRoles?: MenuItemRole[];\r\n createdOn?: string;\r\n createdBy?: number;\r\n updatedOn?: string | null;\r\n updatedBy?: number | null;\r\n fileV2Id?: number | null;\r\n\r\n routerLink?: any;\r\n visible?: boolean;\r\n disableEdit?: boolean;\r\n}\r\n\r\nexport interface MenuItemRole {\r\n id?: number;\r\n menuItemID?: number;\r\n roleID?: number;\r\n role?: Role;\r\n}\r\n\r\nexport interface MenuItemType {\r\n id?: number;\r\n name?: string;\r\n}\r\n\r\nexport enum MenuItemTypes {\r\n Separator = -1,\r\n Normal = 1,\r\n Submenu = 2,\r\n Table = 3,\r\n PopUp = 4,\r\n Link = 5,\r\n Ignore = 9\r\n}\r\n\r\nexport enum MenuValidation {\r\n ByRole = 0,\r\n RSSUser = 1,\r\n EPSUser = 2\r\n}\r\n\r\nexport type MenuItemOrderList = {\r\n id: number;\r\n order: number;\r\n parentid: number;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { MenuItem, MenuItemTypes, MenuValidation } from './head-menu.models';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Injectable } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { ComponentRegistry } from 'src/app/common/extensions/decorator';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class HeadMenuService {\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Api = '/Menu';\r\n\r\n currentUser!: User | null;\r\n // signatures: ProcedureSignature[];\r\n unsubs!: Subscription;\r\n components!: any[];\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private ass: AppStateService,\r\n private componentRegistry: ComponentRegistry,\r\n private dialog: MatDialog\r\n ) {\r\n\r\n }\r\n\r\n getAll(): Observable {\r\n return this.http.get(this.BASE_URL + this.Api);\r\n }\r\n\r\n createMenu(menuItem: MenuItem): Observable {\r\n return this.http.post(this.BASE_URL + this.Api, menuItem);\r\n }\r\n\r\n deleteMenu(menuItemId: number) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.Api + '/' + menuItemId);\r\n return httpresult;\r\n }\r\n\r\n calculateRouterLinks(menuItems: MenuItem[]): MenuItem[] {\r\n this.unsubs = this.ass.AppState.subscribe(appState => {\r\n this.currentUser = appState?.currentUser;\r\n });\r\n menuItems.map(m => {\r\n if (m.route) {\r\n if (m.tab) {\r\n m.routerLink = [m.route, m.tab];\r\n }\r\n else {\r\n m.routerLink = [m.route];\r\n }\r\n }\r\n if (m.menuValidation == MenuValidation.ByRole) {\r\n m.visible = this.calculateRoles(m) && m.status != 0;\r\n }\r\n else {\r\n m.visible = m.status != 0;\r\n }\r\n });\r\n return menuItems;\r\n }\r\n\r\n calculateRoles(menuItem: MenuItem) {\r\n if (menuItem.childMenuItems?.length) {\r\n this.menuValidation(menuItem);\r\n menuItem.visible = menuItem.childMenuItems.some(m => m.visible);\r\n return menuItem.visible;\r\n }\r\n else {\r\n if (menuItem.type == MenuItemTypes.Separator) {\r\n return false;\r\n }\r\n if (menuItem.menuItemRoles?.length == 0 || !menuItem.menuItemRoles) {\r\n return true;\r\n }\r\n else {\r\n const result = utils.intersect(menuItem.menuItemRoles.map(x => x.roleID), this.currentUser?.userRole?.map(x => x.roleID));\r\n return result;\r\n }\r\n }\r\n }\r\n\r\n menuValidation(menuItem: MenuItem) {\r\n menuItem.childMenuItems?.map(async m => {\r\n if (m.menuValidation == MenuValidation.ByRole) {\r\n m.visible = this.calculateRoles(m);\r\n }\r\n else {\r\n m.visible = true;\r\n }\r\n });\r\n return menuItem;\r\n }\r\n\r\n isSA() {\r\n return this.currentUser?.userRole?.map(r => r.roleID).includes(Roles.SA);\r\n }\r\n\r\n openComponent(name: string) {\r\n const componentType = this.componentRegistry.components?.[name];\r\n\r\n if (!componentType) {\r\n console.error(`Component with name '${name}' not found in the registry.`);\r\n return;\r\n }\r\n console.log(this.componentRegistry.components);\r\n console.log(componentType);\r\n const dialogRef = this.dialog.open(componentType);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n // Handle dialog close event\r\n });\r\n }\r\n\r\n}\r\n","import { Component, HostListener, Injector } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Servers } from 'src/app/common/enumerations/servers-enum';\r\n\r\n@Component({\r\n selector: 'head-page',\r\n templateUrl: './head-page.component.html',\r\n styleUrls: ['./head-page.component.scss']\r\n})\r\nexport class HeadPageComponent extends BaseComponent {\r\n environmentLabel = 'local';\r\n showMenu = false;\r\n showBerkeley = true;\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: { target: { innerWidth: any; }; }) {\r\n this.innerWidth = event.target.innerWidth;\r\n this.updatePixelRatio();\r\n }\r\n\r\n updatePixelRatio() {\r\n const pr = window.devicePixelRatio;\r\n if (pr > 1.25) {\r\n this.showBerkeley = false;\r\n } else {\r\n if (this.innerWidth < 1480) {\r\n this.showBerkeley = false;\r\n } else {\r\n this.showBerkeley = true;\r\n }\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.innerWidth = window.innerWidth;\r\n\r\n if (document.location.hostname === Servers.PRODUCTION) {\r\n this.environmentLabel = 'prod';\r\n } else {\r\n if (document.location.host === Servers.DEVELOPMENT) {\r\n this.environmentLabel = 'dev';\r\n } else if (document.location.host === Servers.STAGING) {\r\n this.environmentLabel = 'test';\r\n } else if (document.location.host === Servers.PREPROD) {\r\n this.environmentLabel = 'prep';\r\n }\r\n }\r\n }\r\n\r\n}\r\n"," 990\r\n }\"\r\n>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n = 1200 }\"\r\n >\r\n
    \r\n \r\n
    \r\n = 1200\"\r\n #actions\r\n >\r\n \r\n \r\n\r\n
    \r\n {{ environmentLabel }}\r\n
    \r\n\r\n","import { Component, OnInit, Injector, OnDestroy } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Router } from '@angular/router';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { Document, DocumentType } from 'src/app/services/documents/documents';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\n\r\n@Component({\r\n selector: 'app-search-dialog',\r\n templateUrl: './search-dialog.component.html',\r\n styleUrls: ['./search-dialog.component.scss']\r\n})\r\nexport class SearchDialogComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n loading?: boolean;\r\n\r\n displayedColumns: string[] = ['name', 'description', 'locationNames', 'userInfo', 'workRelated'];\r\n\r\n forms = [this.formTypeEnum.SCF, this.formTypeEnum.KE, this.formTypeEnum.RSSWA, this.formTypeEnum.EBF, this.formTypeEnum.PPSTB, this.formTypeEnum.ABSI];\r\n\r\n documents?: Document[];\r\n documentsFiltered?: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n\r\n formStatuses?: FormStatus[];\r\n formStatusesFiltered?: FormStatus[];\r\n formStatuses$!: Observable;\r\n formStatusesSubs!: Subscription;\r\n\r\n checklists?: Checklist[];\r\n checklistsFiltered?: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n documentTypes?: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n dataSource!: MatTableDataSource;\r\n years: (number | undefined)[] = [];\r\n year: number = 0;\r\n\r\n type: number = 0;\r\n\r\n // Filters values\r\n serialNo = '';\r\n location = '';\r\n workRel = '';\r\n condRel = '';\r\n initiator = '';\r\n requester = '';\r\n status = '';\r\n description = '';\r\n\r\n filterValue: string = '';\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n private router: Router,\r\n ) {\r\n super(injector);\r\n }\r\n ngOnInit(): void {\r\n this.loading = true;\r\n this.loadFormStatuses();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.documentsSubs?.unsubscribe();\r\n this.formStatusesSubs?.unsubscribe();\r\n this.checklistsSubs?.unsubscribe();\r\n this.documentTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.documentTypes = data.filter(d => this.documentsFiltered?.map(x => x.type).includes(d.id)).sort((a, b) => this.utils.sort(a.description, b.description));\r\n }\r\n });\r\n }\r\n\r\n loadDocuments() {\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data?.length) {\r\n this.documents = this.utils.cloneDeep(data.filter(x => x.serialNo));\r\n this.documents.map(d => {\r\n d.formStatus = this.formStatuses?.find(s => s.id == d.status) ?? new FormStatus();\r\n if (d.locationNames) {\r\n const locationNames = d.locationNames.split(',');\r\n d.locationNames = '
    ' + locationNames?.map(l => {\r\n return '' + l.trim() + '';\r\n }).join('') + '
    ';\r\n }\r\n d.gen1 = this.formatGen(d.gen1);\r\n });\r\n\r\n this.filterData();\r\n this.loading = false;\r\n this.loadChecklists();\r\n this.loadDocumentTypes();\r\n this.years = Array.from(new Set(this.documentsFiltered?.map(d => d.createdOn ? new Date(d.createdOn).getFullYear() : 0)));\r\n }\r\n });\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklists = data;\r\n this.documents?.filter(d => !this.forms.includes(d.type ?? 0))?.map(d => {\r\n const checklist = this.checklists?.find(c => c.serialNo == d.serialNo);\r\n if (checklist && d.formStatus) {\r\n d.statusName = checklist?.checklistStatus?.name;\r\n const formStatus = new FormStatus();\r\n formStatus.name = checklist?.checklistStatus?.name ?? '';\r\n formStatus.color = checklist?.checklistStatus?.cssClass ?? '';\r\n d.formStatus = formStatus;\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n loadFormStatuses() {\r\n this.formStatuses$ = this.store.select(state => state.FormStatuses.data);\r\n this.formStatusesSubs = this.formStatuses$.subscribe(data => {\r\n if (data?.length) {\r\n this.formStatuses = this.utils.cloneDeep(data);\r\n this.loadDocuments();\r\n }\r\n });\r\n }\r\n\r\n applyFilter(e?: string) {\r\n this.filterValue = e?.toLowerCase() ?? '';\r\n this.filterData();\r\n }\r\n\r\n filterData() {\r\n this.documentsFiltered = this.documents?.filter(d => d.serialNo?.toLowerCase().includes(this.filterValue) || d.description?.toLowerCase().includes(this.filterValue) || d.locationNames?.toLowerCase()?.includes(this.filterValue) || d.createdByName?.toLowerCase().includes(this.filterValue) || d.requesterName?.toLowerCase().includes(this.filterValue) || d.gen1?.toLowerCase().includes(this.filterValue) || d.statusName?.toLowerCase().includes(this.filterValue));\r\n this.documentsFiltered = this.documentsFiltered?.filter(d => !this.year || (d.createdOn ? new Date(d.createdOn).getFullYear() == this.year : false));\r\n this.documentsFiltered = this.documentsFiltered?.filter(d => !this.type || d.type == this.type);\r\n\r\n this.sortData();\r\n this.dataSource = new MatTableDataSource(this.documentsFiltered);\r\n }\r\n\r\n filterType(e: any) {\r\n this.type = e.value;\r\n this.filterData();\r\n }\r\n\r\n filterYear(e: any) {\r\n this.year = e.value;\r\n this.filterData();\r\n }\r\n\r\n formatGen(data?: string) {\r\n let result = '';\r\n if (data) {\r\n const obj = this.utils.JSONparse(data);\r\n if (obj) {\r\n result += this.generateHTML(obj.TypeOfWork, 'Type Of Work');\r\n result += this.generateHTML(obj.Shieldings, 'Shielding Affected');\r\n result += this.generateHTML(obj.Restrictions, 'Restrictions');\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n sortData(sort: Sort | null = null) {\r\n if (!sort || sort?.direction === '')\r\n this.documentsFiltered?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers((b.createdOn?.toString()), (a.createdOn?.toString())));\r\n else\r\n this.documentsFiltered?.sort((a, b) => {\r\n const isAsc = sort.direction === 'asc';\r\n switch (sort.active) {\r\n case 'name': return this.utils.compare(a.serialNo, b.serialNo, isAsc);\r\n case 'description': return this.utils.compare(a.description, b.description, isAsc);\r\n case 'locationNames': return this.utils.compare(a.locationNames, b.locationNames, isAsc);\r\n case 'workRelated': return this.utils.compare(a.gen1, b.gen1, isAsc);\r\n case 'userInfo': return this.utils.compare(a.requesterName, b.createdByName, isAsc);\r\n // case 'requester': return compare(a.requester, b.requester, isDesc);\r\n default: return 0;\r\n }\r\n });\r\n this.dataSource = new MatTableDataSource(this.documentsFiltered);\r\n }\r\n\r\n generateHTML(items: any[], title: string) {\r\n let html = '';\r\n if (items && items.length > 0) {\r\n html += `
    ${title}:
      `;\r\n items.map(item => {\r\n if (item?.name)\r\n html += `
    • ${item.name}
    • `;\r\n });\r\n html += '
    ';\r\n }\r\n return html;\r\n }\r\n\r\n openDocument(e: Document) {\r\n let route = 'redirect/' + e.serialNo;\r\n this.router.navigate([route]);\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n Search ASCC\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Document Type\r\n \r\n All\r\n \r\n {{ document.description ? document.description : document.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Year\r\n \r\n All\r\n \r\n {{ year }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n close\r\n \r\n
    \r\n\r\n \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n Serial No\r\n \r\n \r\n
    \r\n \r\n
    {{ element.formStatus.name }}
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n Description\r\n \r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n Locations\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n User Info\r\n \r\n \r\n
    \r\n Creator (Initiator):\r\n \r\n on\r\n \r\n {{ element.createdOn | date : \"M/d/yy\" }}\r\n
    \r\n
    \r\n Requester:\r\n \r\n
    \r\n
    \r\n Last Update:\r\n \r\n {{ element.updatedOn | date : \"M/d/yy\" }}\r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n \r\n Work Related\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Search results: {{ documentsFiltered?.length }}\r\n
    \r\n\r\n\r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n
    \r\n","import { MenuItem } from \"../head-menu/head-menu.models\";\r\n\r\nexport class MenuItemRefresh {\r\n static readonly type = '[MenuItem] Refresh';\r\n}\r\nexport class MenuItemCreate {\r\n static readonly type = '[MenuItem] Create';\r\n constructor(public item: MenuItem) { }\r\n}\r\nexport class MenuItemUpdate {\r\n static readonly type = '[MenuItem] Update';\r\n constructor(public id: number, public item: MenuItem) { }\r\n}\r\nexport class MenuItemDelete {\r\n static readonly type = '[MenuItem] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { MenuItem } from '../head-menu/head-menu.models';\r\nimport { MenuItemCreate, MenuItemDelete, MenuItemRefresh, MenuItemUpdate } from './menu-item.action';\r\nimport { HeadMenuService } from '../head-menu/head-menu.service';\r\n\r\nexport class MenuItemStateModel {\r\n data: MenuItem[] = [];\r\n}\r\n\r\n@State({\r\n name: 'MenuItem',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class MenuItemState {\r\n constructor(\r\n private headMenuService: HeadMenuService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: MenuItemStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(MenuItemRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.headMenuService.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(MenuItemCreate)\r\n create({ getState, patchState }: StateContext, { item }: MenuItemCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(MenuItemUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: MenuItemUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(MenuItemDelete)\r\n delete({ getState, patchState }: StateContext, { id }: MenuItemDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as MenuItemActions from './menu-item.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MenuItemStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new MenuItemActions.MenuItemRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.MENUITEMS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new MenuItemActions.MenuItemCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new MenuItemActions.MenuItemUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new MenuItemActions.MenuItemDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new MenuItemActions.MenuItemRefresh());\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Accelerator } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'app-accelerator-status',\r\n templateUrl: './accelerator-status.component.html',\r\n styleUrls: ['./accelerator-status.component.scss']\r\n})\r\nexport class AcceleratorStatusComponent implements OnInit, OnDestroy {\r\n\r\n public acceleratorStatus$: Observable;\r\n public accStatusSubscription: Subscription;\r\n public acceleratorStatus!: Accelerator[];\r\n public loading: boolean;\r\n\r\n constructor(\r\n private store: Store\r\n ) {\r\n this.loading = true;\r\n this.acceleratorStatus$ = this.store.select(state => state.AcceleratorStatus.acceleratorStatus);\r\n this.accStatusSubscription = this.acceleratorStatus$.subscribe(acceleratorStatus => {\r\n this.loading = true;\r\n if (acceleratorStatus?.length) {\r\n acceleratorStatus.map(accelerator => {\r\n accelerator.moreInfo = accelerator.documents.length ? accelerator.documents.join(' ') : '';\r\n });\r\n this.acceleratorStatus = acceleratorStatus;\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.accStatusSubscription.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n getClass(text: string) {\r\n let style = '';\r\n if (text) {\r\n style = text.trim().toLowerCase();\r\n }\r\n switch (style) {\r\n case 'not ready': return 'badge badge-warning';\r\n case 'ready': return 'badge badge-primary';\r\n default: return 'badge badge';\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    Accelerator Status
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ element.name }}\r\n \r\n {{ element.status }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { Accelerator } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AcceleratorService {\r\n\r\n constructor(private http: HttpClient) { }\r\n getAcceleratorStatus(): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/AcceleratorStatus');\r\n }\r\n}\r\n","export class AcceleratorStatusRefresh {\r\n static readonly type = '[RadInterlock] Refresh';\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as AcceleratorStatusActions from './accelerator-status.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AcceleratorStatusListener {\r\n constructor(\r\n private store: Store,\r\n private signalR: SignalRService,\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new AcceleratorStatusActions.AcceleratorStatusRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalR.hubConnection?.on(Channels.ACCELERATORSTATUS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Get:\r\n this.store.dispatch(new AcceleratorStatusActions.AcceleratorStatusRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, State, Selector, StateContext } from '@ngxs/store';\r\nimport { AcceleratorService } from 'src/app/components/home/accelerator-status/accelerator.service';\r\nimport { AcceleratorStatusRefresh } from './accelerator-status.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Accelerator } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\nexport class AcceleratorStatusStateModel {\r\n acceleratorStatus: Accelerator[] | undefined;\r\n}\r\n\r\n@State({\r\n name: 'AcceleratorStatus',\r\n defaults: {\r\n acceleratorStatus: []\r\n }\r\n})\r\n@Injectable()\r\nexport class AcceleratorStatusState {\r\n constructor(\r\n private acceleratorService: AcceleratorService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: AcceleratorStatusStateModel) {\r\n return state.acceleratorStatus;\r\n }\r\n\r\n @Action(AcceleratorStatusRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.acceleratorService.getAcceleratorStatus().toPromise().then(data => {\r\n patchState({ acceleratorStatus: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Inject, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { BakeoutService } from '../bakeout.service';\r\nimport { Bakeout } from '../bakeouts';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'app-bakeout-archive',\r\n templateUrl: './archive.component.html',\r\n styleUrls: ['./archive.component.scss']\r\n})\r\nexport class BakeoutArchiveComponent extends BaseComponent implements OnInit {\r\n @Output() copyItemEvent = new EventEmitter();\r\n\r\n archives: Bakeout[] = [];\r\n filtered: Bakeout[] = [];\r\n\r\n //Filters\r\n Month!: number;\r\n Year!: number;\r\n Filter!: string;\r\n\r\n constructor(\r\n public modal: MatDialogRef,\r\n public service: BakeoutService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n copy(item: Bakeout) {\r\n this.modal.close();\r\n this.copyItemEvent.emit(item);\r\n }\r\n\r\n numberOnly(event: any): boolean {\r\n const charCode = (event.which) ? event.which : event.keyCode;\r\n if (charCode > 31 && (charCode < 48 || charCode > 57)) {\r\n return false;\r\n }\r\n\r\n if (event.target.name == \"Month\") {\r\n const currentMonth = this.Month ? this.Month.toString() : \"0\"\r\n const testMonth = Number(currentMonth + event.key);\r\n if (testMonth > 12)\r\n return false;\r\n } else if (event.target.name == \"Year\") {\r\n const currentYear = this.Year ? this.Year.toString() : \"0\"\r\n const testYear = Number(currentYear + event.key);\r\n if (testYear > (new Date()).getFullYear())\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n filterHistory() {\r\n let query: Bakeout[] = this.archives\r\n if (!isNaN(this.Month) && this.Month) {\r\n const searchMonth = this.Month - 1;\r\n query = query.filter(item => \r\n (new Date(item.createdOn).getMonth() == searchMonth) ||\r\n (new Date(item.updatedOn).getMonth() == searchMonth) ||\r\n (new Date(item.estimatedStart).getMonth() == searchMonth) ||\r\n (new Date(item.estimatedEnd).getMonth() == searchMonth));\r\n }\r\n\r\n if (!isNaN(this.Year) && this.Year) {\r\n query = query.filter(item => \r\n (new Date(item.createdOn).getFullYear() == this.Year) ||\r\n (new Date(item.updatedOn).getFullYear() == this.Year) ||\r\n (new Date(item.estimatedStart).getFullYear() == this.Year) ||\r\n (new Date(item.estimatedEnd).getFullYear() == this.Year));\r\n }\r\n\r\n if (this.Filter && this.Filter != \"\") {\r\n const searchTerm = this.Filter.toLowerCase();\r\n query = query.filter(item => \r\n item.name.toLowerCase().includes(searchTerm) ||\r\n item.description.toLowerCase().includes(searchTerm) ||\r\n item.createdByUser?.toLowerCase().includes(searchTerm) ||\r\n item.updatedByUser?.toLowerCase().includes(searchTerm));\r\n }\r\n\r\n this.filtered = query;\r\n }\r\n\r\n ngOnInit() {\r\n const self = this;\r\n this.service.getArchive().subscribe({\r\n next(data: Bakeout[]) {\r\n self.archives = self.service.loadArchives(data);\r\n self.filterHistory();\r\n },\r\n error(msg) {\r\n console.log(msg);\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n Bakeout ARCHIVE\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Search\r\n \r\n search\r\n \r\n
    \r\n
    \r\n \r\n Month\r\n \r\n MM\r\n \r\n
    \r\n
    \r\n \r\n Year\r\n \r\n YYYY\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n file_copy\r\n \r\n
    \r\n
    Username: {{ item.createdByUser }}
    \r\n
    Phone number: {{ item.name }}
    \r\n
    Location: {{ item.description }}
    \r\n
    \r\n
    \r\n
    \r\n Estimated: {{ item.estimatedStart | date : \"yyyy-MM-dd hh:mm\" }} -\r\n {{ item.estimatedEnd | date : \"yyyy-MM-dd hh:mm\" }}\r\n
    \r\n
    \r\n Temperature: {{ item.temperature }} °{{\r\n item.temperatureUnit\r\n }}\r\n
    \r\n
    \r\n
    \r\n 0\r\n \"\r\n >\r\n How is temperature controlled: {{ item.temperatureNotes }}\r\n
    \r\n 0\r\n \"\r\n >\r\n Additional Note: {{ item.additionalNotes }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Created by {{ item.createdByUser }} on\r\n {{ item.createdOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n Last edited by {{ item.updatedByUser }} on\r\n {{ item.updatedOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Bakeout } from './bakeouts';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class BakeoutService {\r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n\r\n\r\n private OrderBy(a: Bakeout, b: Bakeout): number {\r\n return a.createdOn > b.createdOn ? -1 : a.createdOn < b.createdOn ? 1 : 0;\r\n }\r\n\r\n loadActives(list: Bakeout[]): Bakeout[] {\r\n list.map(item => {\r\n if (item.estimatedStart != null) {\r\n item.estimatedStart = new Date(item.estimatedStart);\r\n }\r\n if (item.estimatedEnd != null) {\r\n item.estimatedEnd = new Date(item.estimatedEnd);\r\n }\r\n });\r\n\r\n return list.sort(this.OrderBy);\r\n }\r\n\r\n loadArchives(list: Bakeout[]): Bakeout[] {\r\n list.map(item => {\r\n if (item.estimatedStart != null) {\r\n item.estimatedStart = new Date(item.estimatedStart);\r\n }\r\n if (item.estimatedEnd != null) {\r\n item.estimatedEnd = new Date(item.estimatedEnd);\r\n }\r\n });\r\n\r\n return list.sort(this.OrderBy);\r\n }\r\n\r\n getAll(): Observable {\r\n const result = this.http.get(\r\n environment.urls.baseApiUrl + '/Bakeout'\r\n );\r\n return result;\r\n }\r\n\r\n getActive(): Observable {\r\n const result = this.http.get(\r\n environment.urls.baseApiUrl + '/Bakeout/GetActives'\r\n );\r\n return result;\r\n }\r\n\r\n getArchive(): Observable {\r\n const result = this.http.get(\r\n environment.urls.baseApiUrl + '/Bakeout/GetInactives'\r\n );\r\n return result;\r\n }\r\n save(item: Bakeout): Observable {\r\n return !item.id ? this.insert(item) : this.update(item);\r\n }\r\n private insert(item: Bakeout): Observable {\r\n const result = this.http.post(\r\n environment.urls.baseApiUrl + '/Bakeout/',\r\n item\r\n );\r\n return result;\r\n }\r\n private update(item: Bakeout): Observable {\r\n const result = this.http.put(\r\n environment.urls.baseApiUrl + '/Bakeout/' + item.id.toString(),\r\n item\r\n );\r\n\r\n return result;\r\n }\r\n\r\n archive(id: number): Observable {\r\n const result = this.http.delete(\r\n environment.urls.baseApiUrl + '/Bakeout/' + id.toString()\r\n );\r\n\r\n return result;\r\n }\r\n\r\n}\r\n","import { Component, OnInit, HostListener, AfterViewInit, Inject, Injector, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { BakeoutEditorComponent } from './editor/editor.component';\r\nimport { BakeoutArchiveComponent } from './archive/archive.component';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { BakeoutService } from './bakeout.service';\r\nimport { Bakeout } from './bakeouts';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-bakeouts-panel',\r\n templateUrl: './bakeouts-panel.component.html',\r\n styleUrls: ['./bakeouts-panel.component.scss']\r\n})\r\nexport class BakeoutsPanelComponent extends BaseComponent implements OnInit, AfterViewInit {\r\n\r\n public loading: boolean = false;\r\n maxHeight: string | null = null;\r\n\r\n actives: Bakeout[] = [];\r\n\r\n bakeouts?: Bakeout[];\r\n bakeoutsFiltered?: Bakeout[];\r\n bakeouts$!: Observable;\r\n bakeoutsSubs!: Subscription;\r\n currentDate: Date = new Date();\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: Document,\r\n public service: BakeoutService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n // private removeItemById(id: number) {\r\n // const index = this.actives.findIndex(item => item.id == id);\r\n // if (index != -1) {\r\n // this.actives.splice(index, 1);\r\n // }\r\n // }\r\n\r\n showArchive() {\r\n const self = this;\r\n const modal = this.dialog.open(BakeoutArchiveComponent, { maxHeight: \"500px\" });\r\n modal.componentInstance.copyItemEvent.subscribe((itemToCopy: Bakeout) => {\r\n itemToCopy.id = 0;\r\n self.showEdit(itemToCopy);\r\n });\r\n }\r\n\r\n showAdd() {\r\n this.showEdit({\r\n id: 0,\r\n name: \"\", //phonenumber\r\n description: \"\",//location\r\n estimatedEnd: null,\r\n estimatedStart: new Date(),\r\n temperature: \"\",\r\n createdOn: new Date(),\r\n createdBy: -1,\r\n temperatureUnit: \"C\",\r\n temperatureNotes: null,\r\n additionalNotes: null,\r\n createdByUser: this.getCurrentUser()?.name,\r\n });\r\n }\r\n\r\n // showEdit(item: Bakeout) {\r\n // const self = this;\r\n // const modal = this.dialog.open(BakeoutEditorComponent, { disableClose: true });\r\n // modal.componentInstance.dataItem = item;\r\n // modal.backdropClick().subscribe(() => {\r\n // const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n // height: 'fit-content',\r\n // width: '40%',\r\n // data: {}\r\n // });\r\n // confirmation.afterClosed().subscribe((response: CanDeactivateResponse) => {\r\n // switch (response) {\r\n // case CanDeactivateResponse.Discard:\r\n // modal.close();\r\n // break;\r\n // }\r\n // });\r\n // });\r\n // modal.componentInstance.returnedItemEvent.subscribe((returnedItem: Bakeout) => {\r\n // self.loading = true;\r\n\r\n // self.removeItemById(returnedItem.id);\r\n // self.actives.push(returnedItem);\r\n // self.actives = self.service.loadActives(self.actives);\r\n\r\n // self.loading = false;\r\n // });\r\n\r\n // this.closeAllMenus();\r\n // // this.loadBakeouts();\r\n // }\r\n\r\n showEdit(item: Bakeout) {\r\n const modal = this.dialog.open(BakeoutEditorComponent, { disableClose: true });\r\n modal.componentInstance.dataItem = item;\r\n\r\n modal.backdropClick().subscribe(() => {\r\n this.confirmDiscardChanges(modal);\r\n });\r\n\r\n modal.componentInstance.returnedItemEvent.subscribe((returnedItem: Bakeout) => {\r\n this.handleReturnedItem(returnedItem);\r\n });\r\n\r\n this.closeAllMenus();\r\n }\r\n\r\n private confirmDiscardChanges(modal: any) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n\r\n confirmation.afterClosed().subscribe((response: CanDeactivateResponse) => {\r\n if (response === CanDeactivateResponse.Discard) {\r\n modal.close();\r\n }\r\n });\r\n }\r\n\r\n private handleReturnedItem(returnedItem: Bakeout) {\r\n this.loading = true;\r\n const updatedActives = this.actives\r\n .filter(item => item.id !== returnedItem.id)\r\n .concat(returnedItem);\r\n\r\n this.actives = updatedActives.map(i => ({\r\n ...i,\r\n createdByInitials: this.users.find(u => u.id === i.createdBy)?.initials || '',\r\n updatedByInitials: this.users.find(u => u.id === i.updatedBy)?.initials || ''\r\n }));\r\n this.loading = false;\r\n }\r\n\r\n archive(id: number): void {\r\n this.closeAllMenus();\r\n\r\n this.service.archive(id).subscribe({\r\n next: (archiveItem: Bakeout) => {\r\n // this.removeItemById(archiveItem.id);\r\n this.actives = this.actives.filter(item => item.id !== archiveItem.id);\r\n // this.actives = this.service.loadActives(this.actives);\r\n },\r\n error: (msg) => console.error(msg),\r\n });\r\n }\r\n\r\n toggleMenu(i: number) {\r\n var element = this.document.getElementById('bakeout-menu-' + i.toString());\r\n if (element) {\r\n element.classList.toggle('collapse');\r\n\r\n if (!element.classList.contains('collapse')) {\r\n var rect = element.parentElement?.getBoundingClientRect();\r\n element.style.top = (rect?.top ?? 0 + 30) + \"px;\";\r\n element.style.left = (rect?.right ?? 0 - 40) + \"px;\";\r\n }\r\n }\r\n }\r\n\r\n closeAllMenus() {\r\n this.document.querySelectorAll('div.bakeout-menu:not(.collapse)')\r\n .forEach(menu => { menu.classList.add('collapse'); });\r\n }\r\n\r\n ngOnInit() {\r\n this.getUserTable().then(() => this.loadBakeouts());\r\n }\r\n\r\n\r\n getUserTable(): Promise {\r\n return new Promise(resolve => {\r\n const checkUsers = setInterval(() => {\r\n this.users = super.getUsers();\r\n if (this.users && this.users.length > 0) {\r\n clearInterval(checkUsers);\r\n resolve();\r\n }\r\n }, 100); // Check every 100ms\r\n });\r\n }\r\n\r\n loadBakeouts() {\r\n this.bakeouts$ = this.store.select(state => state.Bakeouts.data);\r\n this.bakeoutsSubs = this.bakeouts$.subscribe(data => {\r\n if (data?.length) {\r\n this.bakeouts = data;\r\n this.actives = data.filter(b => b.status == 1).map(i => ({\r\n ...i,\r\n createdByInitials: this.users.find(u => u.id === i.createdBy)?.initials || '',\r\n updatedByInitials: this.users.find(u => u.id === i.updatedBy)?.initials || ''\r\n }));\r\n }\r\n });\r\n }\r\n\r\n checkExpired(estimatedEnd: any): boolean {\r\n const estimatedDate = new Date(estimatedEnd); // Convert to Date if necessary\r\n return estimatedDate < this.currentDate;\r\n }\r\n\r\n refresh() {\r\n this.responsiveFunction();\r\n this.loading = true;\r\n\r\n //intitialize data\r\n const self = this;\r\n this.service.getActive().subscribe({\r\n next(data: Bakeout[]) {\r\n self.actives = self.service.loadActives(data);\r\n },\r\n error(msg) {\r\n console.log(msg);\r\n },\r\n complete() {\r\n self.loading = false;\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.responsiveFunction();\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: any) {\r\n this.innerWidth = event.target.innerWidth;\r\n this.innerHeight = event.target.innerHeight;\r\n // this.maxHeight = (parseInt(this.innerHeight) * (percentage)).toFixed(0) + \"px\";\r\n this.maxHeight = (parseInt((this.innerHeight * 0.45).toFixed(0))) + \"px\";\r\n }\r\n\r\n responsiveFunction() {\r\n this.innerWidth = window.innerWidth;\r\n this.innerHeight = window.innerHeight;\r\n // this.maxHeight = (parseInt(this.innerHeight) * percentage).toFixed(0) + \"px\";\r\n this.maxHeight = (parseInt((this.innerHeight * 0.45).toFixed(0))) + \"px\";\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Bakeout
    \r\n
    \r\n \r\n history\r\n \r\n \r\n add_box\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n more_vert\r\n \r\n \r\n \r\n \r\n \r\n\r\n
    \r\n
    \r\n User: {{ item.createdByUser }} \r\n
    \r\n
    \r\n
    \r\n
    \r\n Phone number: {{ item.name }} \r\n
    \r\n
    \r\n
    \r\n
    \r\n Location: {{ item.description }} \r\n
    \r\n
    \r\n
    \r\n
    \r\n Estimated Start:\r\n {{ item.estimatedStart | date : \"yyyy-MM-dd\" }} \r\n
    \r\n
    \r\n
    \r\n
    \r\n Estimated End:\r\n \r\n {{ item.estimatedEnd | date : \"yyyy-MM-dd\" }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Temperature:\r\n {{ item.temperature }} °{{ item.temperatureUnit }} \r\n
    \r\n
    \r\n 0\r\n \"\r\n >\r\n
    \r\n Control:\r\n {{ item.temperatureNotes }} \r\n
    \r\n
    \r\n 0\r\n \"\r\n >\r\n
    \r\n Additional Note: {{ item.additionalNotes }} \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n Created by {{ item.createdByInitials }} on\r\n {{ item.createdOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Last edited by {{ item.updatedByInitials }} on\r\n {{ item.updatedOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport moment from 'moment';\r\nimport { FormGroup, Validators, AbstractControl } from '@angular/forms';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BakeoutService } from '../bakeout.service';\r\nimport { Bakeout } from '../bakeouts';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'app-backout-editor',\r\n templateUrl: './editor.component.html',\r\n styleUrls: ['./editor.component.scss']\r\n})\r\n\r\nexport class BakeoutEditorComponent extends BaseComponent implements OnInit {\r\n @Input()\r\n dataItem!: Bakeout;\r\n @Output() returnedItemEvent = new EventEmitter();\r\n\r\n Id: number = 0;\r\n Username?: string;\r\n Phonenumber!: string;\r\n Location!: string;\r\n EstimatedStart!: Date;\r\n EstimatedEnd!: Date;\r\n Temperature!: string;\r\n TemperatureUnit!: string;\r\n TemperatureNotes!: string | null;\r\n AdditionalNotes!: string | null;\r\n EstimatedStartOutput!: Date | null | string;\r\n EstimatedEndOutput!: Date | null | string;\r\n DateNow!: Date;\r\n\r\n //flow\r\n subtitle!: string;\r\n saving!: boolean;\r\n\r\n //formGroup\r\n bakeoutForm!: FormGroup;\r\n get location(): AbstractControl | null { return this.bakeoutForm.get(\"location\"); }\r\n get phone(): AbstractControl | null { return this.bakeoutForm.get(\"phone\"); }\r\n\r\n constructor(\r\n public modal: MatDialogRef,\r\n public service: BakeoutService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n validate(): boolean {\r\n if (utils.IsNullOrWhiteSpace(this.Phonenumber)) { return false; }\r\n\r\n if (utils.IsNullOrWhiteSpace(this.Location)) { return false; }\r\n\r\n if (!this.EstimatedStartOutput) { return false; }\r\n\r\n if (!this.EstimatedEndOutput) { return false; }\r\n\r\n if (new Date(this.EstimatedStartOutput) > new Date(this.EstimatedEndOutput)) { return false; }\r\n\r\n if (!this.Temperature || !Number.isInteger(+this.Temperature)) { return false; }\r\n\r\n return true;\r\n }\r\n\r\n save() {\r\n if (this.validate()) {\r\n const self = this;\r\n this.saving = true;\r\n this.service.save({\r\n id: this.Id,\r\n name: this.Phonenumber,\r\n description: this.Location,\r\n estimatedEnd: this.EstimatedEndOutput ?? new Date(),\r\n estimatedStart: this.EstimatedStartOutput ?? new Date(),\r\n temperature: this.Temperature,\r\n createdBy: this.getCurrentUser()?.id ?? -1,\r\n createdOn: new Date(),\r\n temperatureUnit: this.TemperatureUnit,\r\n temperatureNotes: this.TemperatureNotes,\r\n additionalNotes: this.AdditionalNotes,\r\n }).subscribe({\r\n next(returnedItem: Bakeout) {\r\n self.returnedItemEvent.emit(returnedItem);\r\n },\r\n error(msg) {\r\n console.log(msg);\r\n },\r\n complete() {\r\n self.modal.close();\r\n self.saving = false;\r\n }\r\n });\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.initializeForm();\r\n if (this.dataItem) {\r\n this.subtitle = this.dataItem.id == 0 ? this.dataItem.name == \"\" ? \"NEW\" : \"COPY\" : \"EDIT\";\r\n this.Id = this.dataItem.id;\r\n // this.Username = this.dataItem.createdByUser;\r\n this.Username = this.subtitle == \"COPY\" ? this.getCurrentUser()?.name : this.dataItem.createdByUser;\r\n this.Phonenumber = this.dataItem.name;\r\n this.Location = this.dataItem.description;\r\n this.EstimatedStartOutput = moment(this.dataItem.estimatedStart).format(\"YYYY-MM-DD\");\r\n this.EstimatedEndOutput = this.dataItem.estimatedEnd ? moment(this.dataItem.estimatedEnd).format(\"YYYY-MM-DD\") : null;\r\n this.Temperature = this.dataItem.temperature;\r\n this.TemperatureUnit = this.dataItem.temperatureUnit;\r\n this.TemperatureNotes = this.dataItem.temperatureNotes;\r\n this.AdditionalNotes = this.dataItem.additionalNotes;\r\n // this.DateNow = moment(new Date).format(\"YYYY-MM-DDTkk:mm\");\r\n this.DateNow = new Date();\r\n }\r\n }\r\n initializeForm() {\r\n this.bakeoutForm = this.formBuilder.group({\r\n phone: [{ value: '', disabled: this.saving }, [Validators.required, utils.IsWhiteSpaceReactiveForm]],\r\n location: [{ value: '', disabled: this.saving }, [Validators.required, utils.IsWhiteSpaceReactiveForm]],\r\n temperature: [{ value: '', disabled: this.saving }, Validators.required]\r\n });\r\n }\r\n\r\n changeDate(blur?: boolean) {\r\n this.DateNow = new Date();\r\n if (this.EstimatedStartOutput) {\r\n // if (new Date(this.EstimatedStartOutput) < new Date(this.DateNow) && blur)\r\n if (this.EstimatedStartOutput < this.DateNow && blur)\r\n this.EstimatedStartOutput = this.DateNow;\r\n if (this.EstimatedEndOutput) {\r\n // if (new Date(this.EstimatedEndOutput) < new Date(this.EstimatedStartOutput))\r\n if (this.EstimatedEndOutput < this.EstimatedStartOutput)\r\n this.EstimatedEndOutput = this.EstimatedStartOutput;\r\n }\r\n }\r\n if (!this.EstimatedStartOutput && this.EstimatedEndOutput) {\r\n // if (new Date(this.EstimatedEndOutput) < new Date(this.DateNow))\r\n if (this.EstimatedEndOutput < this.DateNow)\r\n this.EstimatedEndOutput = this.DateNow;\r\n }\r\n }\r\n\r\n numericOnly(event: any): boolean {\r\n const charCode = (event.which) ? event.which : event.keyCode;\r\n if (charCode == 101 || charCode == 69 || charCode == 46) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n override getErrorMsg(control: AbstractControl | null): string | null {\r\n if (control) {\r\n if (control.hasError(\"required\")) return \"You must enter a value\";\r\n if (control.hasError(\"hasWhiteSpace\")) return \"Enter a valid value\";\r\n }\r\n return null;\r\n }\r\n\r\n cancel() {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n data: {}\r\n });\r\n confirmation.afterClosed().subscribe((response: CanDeactivateResponse) => {\r\n switch (response) {\r\n case CanDeactivateResponse.Discard:\r\n this.modal.close();\r\n break;\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n Bakeout {{ subtitle }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Username\r\n \r\n \r\n\r\n \r\n Phone number\r\n \r\n {{ getErrorMsg(phone) }}\r\n \r\n\r\n \r\n Location (Include relevant details such as building, beamline,\r\n room)\r\n \r\n {{\r\n getErrorMsg(location)\r\n }}\r\n \r\n\r\n
    \r\n \r\n Estimated Start\r\n \r\n \r\n close\r\n \r\n You must enter a date\r\n \r\n\r\n \r\n Estimated End\r\n \r\n \r\n close\r\n \r\n You must enter a date\r\n \r\n
    \r\n\r\n
    \r\n \r\n Maximum Temperature\r\n \r\n You must enter a value\r\n \r\n
    \r\n \r\n C\r\n F\r\n \r\n
    \r\n
    \r\n\r\n \r\n How is temperature controlled? (Describe whether using variable\r\n transformer (variac), process controller, or otherwise)\r\n \r\n \r\n\r\n \r\n Additional Notes\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Bakeout } from \"../../bakeouts\";\r\n\r\n\r\nexport class BakeoutsRefresh {\r\n static readonly type = '[Bakeouts] Refresh';\r\n}\r\n\r\nexport class BakeoutsCreate {\r\n static readonly type = '[Bakeouts] Create';\r\n\r\n constructor(public item: Bakeout) { }\r\n}\r\n\r\nexport class BakeoutsUpdate {\r\n static readonly type = '[Bakeouts] Update';\r\n\r\n constructor(public id: number, public item: Bakeout) { }\r\n}\r\n\r\nexport class BakeoutsDelete {\r\n static readonly type = '[Bakeouts] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { BakeoutsCreate, BakeoutsDelete, BakeoutsRefresh, BakeoutsUpdate } from './bakeouts.action';\r\nimport { BakeoutService } from '../../bakeout.service';\r\nimport { Bakeout } from '../../bakeouts';\r\n\r\n\r\nexport class BakeoutsStateModel {\r\n data: Bakeout[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Bakeouts',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class BakeoutsState {\r\n constructor(\r\n private _service: BakeoutService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: BakeoutsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(BakeoutsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().toPromise().then(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(BakeoutsCreate)\r\n create({ getState, patchState }: StateContext, { item }: BakeoutsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(BakeoutsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: BakeoutsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(BakeoutsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: BakeoutsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as BakeoutsActions from './bakeouts.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BakeoutsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new BakeoutsActions.BakeoutsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BAKEOUT, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BakeoutsActions.BakeoutsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BakeoutsActions.BakeoutsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BakeoutsActions.BakeoutsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BakeoutsActions.BakeoutsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Document } from './../../../../../services/documents/documents';\r\nimport { Component, OnInit, HostListener, Output, EventEmitter, OnDestroy, Injector } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { Resource, ResourceOrganization, ResourceRelation, ResourceUserRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { CatalogService } from 'src/app/components/catalogs/catalog-service';\r\nimport { Link } from 'src/app/components/catalogs/navigation-links/link/link';\r\nimport { ScheduleStatusTimeEnum } from 'src/app/components/schedules/models/enums';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ScheduleBeamlineOverviewResource } from 'src/app/services/schedule/schedule-beamline-overview-resource';\r\nimport { BeamlineStatus } from '../../beamline-status';\r\nimport { BeamlineOverview } from './beamline-overview';\r\nimport { BeamlineOverviewService } from './beamline-overview.service';\r\nimport { BaseComponent } from '../../../../../common/base/base.component';\r\nimport { FormControl } from '@angular/forms';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport moment from 'moment';\r\nimport { BeamlineRestrictionRefreshByBeamlineID } from 'src/app/components/catalogs/operational-restrictions/store/beamline-restrictions/beamline-restrictions.action';\r\n\r\n@Component({\r\n selector: 'app-beamline-overview-details',\r\n templateUrl: './beamline-overview-details.component.html',\r\n styleUrls: ['./beamline-overview-details.component.scss']\r\n})\r\nexport class BeamlineOverviewDetailsComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private beamlineOverviewService: BeamlineOverviewService,\r\n private router: Router,\r\n private _catalogService: CatalogService,\r\n private resourceService: ResourcesService,\r\n private sanitizer: DomSanitizer\r\n ) {\r\n super(injector);\r\n }\r\n\r\n @Output() formId = new EventEmitter();\r\n\r\n windowScrolled!: boolean;\r\n loading!: boolean;\r\n loading2!: boolean;\r\n id!: number;\r\n\r\n docs?: Document[];\r\n documentsFiltered?: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n\r\n resourceRelations!: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n scfs: Document[] = [];\r\n ebs: Document[] = [];\r\n ppstbs: Document[] = [];\r\n rsswas: Document[] = [];\r\n kes: Document[] = [];\r\n absis: Document[] = [];\r\n rads: Document[] = [];\r\n\r\n overviewCtrl = new FormControl();\r\n overviewCtrlText!: string | null;\r\n\r\n public beamlineOverview!: BeamlineOverview;\r\n public beamline!: Resource;\r\n\r\n public documents: Document[] = [];\r\n public scfDocuments: Document[] = [];\r\n public rsswaDocuments: Document[] = [];\r\n public ebDocuments: Document[] = [];\r\n\r\n public beamlineStatus!: string;\r\n\r\n public displayedColumnsBlStatus: string[] = ['beamline', 'shutter', 'pss', 'rss', 'keReady'];\r\n public displayedColumnsResource: string[] = ['name'];\r\n public displayedColumnsOrgUserRelation: string[] = ['name', 'endstation', 'branchline'];\r\n public displayedColumnsSchedule: string[] = ['schedule', 'location', 'dueDate', 'status'];\r\n public displayedColumnsForms: string[] = ['name', 'status'];\r\n public dataSourceBlStatus!: MatTableDataSource;\r\n public dataSourceEndStation!: MatTableDataSource;\r\n public dataSourceBranchline!: MatTableDataSource;\r\n public dataSourceOrganization!: MatTableDataSource;\r\n public dataSourceSupervisor!: MatTableDataSource;\r\n public dataSourceScientist!: MatTableDataSource;\r\n public dataSourceAlternateScientist!: MatTableDataSource;\r\n public dataSourceLink!: MatTableDataSource;\r\n public dataSourceSchedule!: MatTableDataSource;\r\n public dataSourceSCF!: MatTableDataSource;\r\n public dataSourceRSSWA!: MatTableDataSource;\r\n public dataSourcePPSTB!: MatTableDataSource;\r\n public dataSourceEB!: MatTableDataSource;\r\n\r\n public privilege = PrivilegeEnum;\r\n\r\n ngOnInit() {\r\n this.clear();\r\n this.scrollToTop();\r\n this.loadResourceRelations();\r\n // this.loadDocuments();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n super.ngOnDestroy();\r\n }\r\n\r\n //Called from Beamline Status links\r\n loadBeamlineOverview(id: number) {\r\n this.clear();\r\n this.store.dispatch(new BeamlineRestrictionRefreshByBeamlineID(id));\r\n this.scrollToTop();\r\n if (id) {\r\n this.id = id;\r\n this.loading = true;\r\n this.beamlineOverviewService.GetBeamlineOverviewById(id).subscribe(data => {\r\n this.addBeamlineOverviewData(data);\r\n this.getDocs(id);\r\n this.loading = false;\r\n });\r\n }\r\n }\r\n\r\n loadResourceRelations() {\r\n this.loading2 = true;\r\n this.resourceRelations$ = this.store.select(\r\n (state) => state.ResourceRelations.data\r\n );\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe((data) => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n this.loadDocuments();\r\n this.loading2 = false;\r\n }\r\n });\r\n }\r\n\r\n loadDocuments() {\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data?.length) {\r\n // Get and order documents\r\n this.docs = data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(b.serialNo, a.serialNo));\r\n if (this.id) {\r\n this.getDocs(this.id);\r\n }\r\n }\r\n });\r\n }\r\n\r\n getDocs(id: number) {\r\n if (this.resourceRelations && this.docs) {\r\n // id is beamline, we need to find shutter, branchlines, endstations\r\n const shutterID = this.resourceRelations?.find(r => r.childResourceID == id)?.parentResourceID;\r\n\r\n // Check if any location matches id or shutterID\r\n const matchesLocationOrShutterID = (locations: any[] | undefined) => {\r\n return locations?.some(l => l.id == id || l.id == shutterID);\r\n };\r\n\r\n // Check if any document matches parent ID (used for endstations and branchlines)\r\n const matchesParentID = (locations: any[] | undefined) => {\r\n const parentID = this.resourceRelations?.find(r => locations?.some(l => r.childResourceID == l.id))?.parentResourceID;\r\n return parentID == id;\r\n };\r\n\r\n // Sort by document type and location\r\n const filterDocs = (docTypeID: number | undefined) => {\r\n return this.docs?.filter(d =>\r\n d.documentType?.id == docTypeID && (matchesLocationOrShutterID(d.locations) || matchesParentID(d.locations))\r\n ) ?? [];\r\n };\r\n\r\n // Applying filters based on document type\r\n this.scfs = filterDocs(1); // Beamlines, Branchlines\r\n this.rsswas = filterDocs(3); // Shutters, Branchlines\r\n this.ppstbs = filterDocs(4); // Shutters, Branchlines\r\n this.ebs = filterDocs(9); // Shutters, Branchlines\r\n this.kes = filterDocs(2); // Shutters\r\n this.rads = filterDocs(120); // Beamlines\r\n this.absis = filterDocs(11); // Endstations\r\n }\r\n }\r\n\r\n addBeamlineOverviewData(data: BeamlineOverview) {\r\n this.beamlineOverview = data as BeamlineOverview;\r\n\r\n this.beamline = data.resourceSummary.beamline as Resource;\r\n if (this.beamline.lastCommentByUserId) {\r\n this.beamline.lastCommentByUser = this.getUserInfo(this.beamline.lastCommentByUserId);\r\n // this.userService.ReadOne(this.beamline.lastCommentByUserId).toPromise().then(user => {\r\n // this.beamline.lastCommentByUser = user;\r\n // });\r\n }\r\n this.overviewCtrlText = this.beamline.comment ?? null;\r\n\r\n this.beamlineStatus = data.resourceSummary.beamline?.statusModel?.statusName as string;\r\n\r\n this.documents = data.beamlineStatus.documents as Document[];\r\n this.orderDocumentsByType(this.documents);\r\n\r\n this.dataSourceBlStatus.data.push(data.beamlineStatus as BeamlineStatus);\r\n this.dataSourceBlStatus.filter = '';\r\n\r\n this.dataSourceEndStation.data = data.resourceSummary.endstations as Resource[];\r\n this.dataSourceBranchline.data = data.resourceSummary.branchlines as Resource[];\r\n this.dataSourceOrganization.data = data.resourceSummary.organizations as ResourceOrganization[];\r\n this.dataSourceSupervisor.data = data.resourceSummary.supervisors as ResourceUserRelation[];\r\n this.dataSourceScientist.data = data.resourceSummary.scientists as ResourceUserRelation[];\r\n this.dataSourceAlternateScientist.data = data.resourceSummary.alternateScientists as ResourceUserRelation[];\r\n this.dataSourceLink.data = data.resourceSummary.otherLinks as Link[];\r\n\r\n this.dataSourceSchedule.data = this.setScheduleStatusName(data.schedules) as ScheduleBeamlineOverviewResource[];\r\n\r\n // this.dataSourceSCF.data = data.scfDocuments as Document[];\r\n // this.dataSourceRSSWA.data = data.rsswaDocuments as Document[];\r\n // this.dataSourceEB.data = data.ebDocuments as Document[];\r\n }\r\n\r\n orderDocumentsByType(documents: Document[]) {\r\n if (documents.length > 0) {\r\n documents.map(document => {\r\n if (document.type === FormType.SCF) {\r\n this.scfDocuments.push(document);\r\n }\r\n if (document.type === FormType.RSSWA) {\r\n this.rsswaDocuments.push(document);\r\n }\r\n if (document.type === FormType.EBF) {\r\n this.ebDocuments.push(document);\r\n }\r\n });\r\n }\r\n }\r\n\r\n setScheduleStatusName(schedules: ScheduleBeamlineOverviewResource[]): ScheduleBeamlineOverviewResource[] {\r\n if (schedules) {\r\n schedules.map(schedule => {\r\n schedule.statusTimeName = ScheduleStatusTimeEnum[schedule.statusTime];\r\n if (schedule.statusTimeName == 'Expired') {\r\n schedule.cssColor = 'red';\r\n }\r\n else schedule.cssColor = 'black';\r\n });\r\n }\r\n return schedules;\r\n }\r\n\r\n getClass(text: string) {\r\n let style = '';\r\n if (text) {\r\n style = text.trim().toLowerCase();\r\n }\r\n switch (style) {\r\n case 'offline': return 'badge badge-offline badge-pill';\r\n case 'online': return 'badge badge-online badge-pill';\r\n case 'open': return 'badge badge-open badge-pill';\r\n case 'closed': return 'badge badge-closed badge-pill';\r\n case 'error': return 'badge badge-error badge-pill';\r\n default: return 'badge badge-unknown badge-pill';\r\n }\r\n }\r\n\r\n commentChanged(e: any) {\r\n this.overviewCtrlText = e;\r\n this.beamline.comment = this.overviewCtrlText ?? '';\r\n this.beamline.lastCommentByUser = this.currentUser;\r\n\r\n this.resourceService.saveResource(this.beamline).toPromise().then((beamlineUpdated) => {\r\n if (beamlineUpdated) {\r\n this.beamline = beamlineUpdated;\r\n this.beamline.lastCommentByUser = this.getUserInfo(this.beamline.lastCommentByUserId ?? 0);\r\n }\r\n });\r\n }\r\n\r\n @HostListener('window:scroll', [])\r\n onWindowScroll() {\r\n if (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop > 100) {\r\n this.windowScrolled = true;\r\n } else if (this.windowScrolled && window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop < 10) {\r\n this.windowScrolled = false;\r\n }\r\n }\r\n\r\n navigateToSchedule(scheduleElement: ScheduleBeamlineOverviewResource) {\r\n this._catalogService.currentDocSchedule = scheduleElement;\r\n switch (scheduleElement.scheduleType) {\r\n case 'Annual Beamline Safety Inspection':\r\n this.router.navigate(['schedulesV2/1']);\r\n break;\r\n case 'Equipment Protection System':\r\n this.router.navigate(['schedulesV2/2']);\r\n break;\r\n case 'Annual Top Off Critical Aperture':\r\n this.router.navigate(['schedulesV2/3']);\r\n break;\r\n case 'Radiation Surveys':\r\n this.router.navigate(['schedulesV2/4']);\r\n break;\r\n case 'Radiation Safety System':\r\n this.router.navigate(['schedulesV2/5']);\r\n break;\r\n case 'LOTO Procedure Inspection':\r\n this.router.navigate(['schedulesV2/7']);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n navigateToForm(formDocument: Document) {\r\n this.router.navigate(['redirect/' + formDocument.serialNo]);\r\n }\r\n\r\n deleteBlComment() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('Confirm_Note_Delete_Question')?.description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data) {\r\n\r\n this.beamline.comment = '';\r\n this.overviewCtrlText = null;\r\n this.resourceService.saveResource(this.beamline).toPromise().then((beamlineUpdated) => {\r\n if (beamlineUpdated) {\r\n this.beamline = beamlineUpdated;\r\n this.beamline.lastCommentByUser = this.getUserInfo(this.beamline.lastCommentByUserId ?? 0);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n getHint() {\r\n return this.beamline.lastCommentByUserId ? this.sanitizer.bypassSecurityTrustHtml(this.getUpdateText() + `${this.beamline.lastCommentByUser?.initials}
    on ${moment(this.beamline.lastCommentOn).format('M/D/YY, h:mm A')}`) : null;\r\n }\r\n\r\n getUpdateText(): string {\r\n if (!this.beamline.comment) {\r\n return 'Last deleted by ';\r\n } else {\r\n return 'Last updated by ';\r\n }\r\n }\r\n\r\n isAbleToEditComment(): boolean {\r\n if (this.beamline.id && this.currentUser) {\r\n if (this.hasPrivilege(this.privilegeEnum.AddEditBlOverviewComment)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n isAbleToDeleteComment(): boolean {\r\n if (this.beamline.id && this.currentUser && this.beamline.comment) {\r\n if (this.beamline.lastCommentByUserId === this.currentUser.id || this.hasPrivilege(this.privilegeEnum.DeleteBlOverviewComment)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n clear() {\r\n this.beamlineOverview = {} as BeamlineOverview;\r\n this.beamline = new Resource();\r\n\r\n this.beamlineStatus = '';\r\n this.overviewCtrlText = null;\r\n\r\n this.documents = [];\r\n this.scfDocuments = [];\r\n this.rsswaDocuments = [];\r\n this.ebDocuments = [];\r\n\r\n\r\n this.scfs = [];\r\n this.rsswas = [];\r\n this.ppstbs = [];\r\n this.ebs = [];\r\n this.kes = [];\r\n this.absis = [];\r\n this.rads = [];\r\n\r\n this.dataSourceBlStatus = new MatTableDataSource();\r\n this.dataSourceEndStation = new MatTableDataSource();\r\n this.dataSourceBranchline = new MatTableDataSource();\r\n this.dataSourceOrganization = new MatTableDataSource();\r\n this.dataSourceSupervisor = new MatTableDataSource();\r\n this.dataSourceScientist = new MatTableDataSource();\r\n this.dataSourceAlternateScientist = new MatTableDataSource();\r\n this.dataSourceLink = new MatTableDataSource();\r\n this.dataSourceSchedule = new MatTableDataSource();\r\n this.dataSourceSCF = new MatTableDataSource();\r\n this.dataSourceRSSWA = new MatTableDataSource();\r\n this.dataSourcePPSTB = new MatTableDataSource();\r\n this.dataSourceEB = new MatTableDataSource();\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n Beamline Overview\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ element.pssChannelStatus }}\r\n \r\n
    \r\n Decommissioned\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n {{ element.rssChannelStatus }}\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    Beamline\r\n
    {{ element.beamlineName }}
    \r\n
    Shutter\r\n
    {{ element.shutterName }}
    \r\n
    PSSRSSKE Status\r\n \r\n {{ element.keReady.ready ? \"Ready\" : \"Not Ready\" }}\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Beamline Status\r\n \r\n \r\n
    \r\n
    \r\n \r\n Beamline Name\r\n \r\n \r\n
    \r\n
    \r\n \r\n Extension\r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n Comment\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n delete\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    Operational Restrictions
    \r\n \r\n
    \r\n\r\n
    0\" class=\"mb-3\">\r\n
    List Of Forms Affecting KE Ready Status
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n arrow_right\r\n

    \r\n \r\n {{ document.serialNo }}\r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n \r\n arrow_right\r\n

    \r\n \r\n {{ document.serialNo }}\r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n \r\n arrow_right\r\n

    \r\n \r\n {{ document.serialNo }}\r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Endstations\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Endstation\r\n \r\n {{\r\n element.name\r\n }}\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Branchlines\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Branchline\r\n \r\n {{\r\n element.name\r\n }}\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Organizations\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Organizations\r\n \r\n \r\n {{ element.organization?.name }}\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n \r\n {{ element.endstation?.name }}\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n \r\n {{ element.branchline?.name }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Supervisors\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Supervisors\r\n \r\n \r\n {{ element.user?.name }}\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n \r\n {{ element.endstation?.name }}\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n \r\n {{ element.branchline?.name }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n BL Scientists\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n BL Scientists\r\n \r\n {{ element.user?.name }}\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n \r\n {{ element.endstation?.name }}\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n \r\n {{ element.branchline?.name }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Alternate BL Scientists\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Alternate BL Scientists\r\n \r\n {{ element.user?.name }}\r\n \r\n \r\n \r\n \r\n Endstation\r\n \r\n \r\n {{ element.endstation?.name }}\r\n \r\n \r\n \r\n \r\n Branchline\r\n \r\n \r\n {{ element.branchline?.name }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Links\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Hyperlinks\r\n \r\n \r\n {{\r\n element.hyperlink\r\n }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Schedules\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Schedule\r\n \r\n \r\n \r\n {{ element.scheduleType }}\r\n \r\n \r\n \r\n \r\n \r\n Location\r\n \r\n \r\n {{ element.location }}\r\n \r\n \r\n \r\n \r\n Due Date\r\n \r\n \r\n {{ element.nextDue | date : \"longDate\" }}\r\n \r\n \r\n \r\n \r\n Status\r\n \r\n \r\n {{ element.statusTimeName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n Forms & Checklists\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n SCF's \r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n {{ element.statusName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n PPSTB's\r\n \r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n {{ element.statusName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n KEs \r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n {{ element.statusName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n RADs \r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n {{ element.statusName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n RSSWA's\r\n \r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n {{ element.statusName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n EB's \r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n {{ element.statusName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n ABSIs \r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n {{ element.statusName }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n// import { BeamlineOverview } from './BeamlineOverview';\r\n// import { environment } from '../../../environments/environment';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { environment } from 'src/environments/environment';\r\nimport { BeamlineOverview } from './beamline-overview';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BeamlineOverviewService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error);\r\n return Promise.reject(error.message || error);\r\n }\r\n\r\n GetBeamlineOverviewById(id: number): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/BeamLineOverview/' + id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { BeamlineOverviewDetailsComponent } from '../beamline-overview-details/beamline-overview-details.component';\r\nimport { SendIdService } from '../../send-id.service';\r\nimport { BeamStatusComponent } from '../../beamline-status.component';\r\n\r\n@Component({\r\n selector: 'app-beamline-overview',\r\n templateUrl: './beamline-overview.component.html',\r\n styleUrls: ['./beamline-overview.component.scss']\r\n})\r\nexport class BeamlineOverviewComponent implements OnInit {\r\n\r\n public id!: number;\r\n\r\n @ViewChild(BeamlineOverviewDetailsComponent) beamlineOverviewDetails?: BeamlineOverviewDetailsComponent;\r\n @ViewChild(BeamStatusComponent) beamlineStatusComponent?: BeamStatusComponent;\r\n\r\n constructor(private _sendIdService: SendIdService) { }\r\n\r\n ngOnInit() {\r\n this._sendIdService.currentId.subscribe(data => {\r\n if (data) {\r\n this.id = data as number;\r\n setTimeout(() => {\r\n this.beamlineOverviewDetails?.loadBeamlineOverview(this.id);\r\n }, 500);\r\n }\r\n });\r\n }\r\n\r\n // refresh() {\r\n // this._sendIdService.currentId.subscribe(data => {\r\n // this.id = data as number;\r\n // });\r\n // this.beamlineOverviewDetails?.loadBeamlineOverview(this.id);\r\n // }\r\n\r\n // getId(id: number) {\r\n // this.beamlineOverviewDetails?.loadBeamlineOverview(id);\r\n // }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { BeamlineStatus } from './beamline-status';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BeamlineServService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n getBeamlineStatus(): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/BeamlineStatus');\r\n }\r\n\r\n}\r\n","import { Component, OnInit, AfterViewInit, ViewChild, Output, EventEmitter, ElementRef, Injector } from '@angular/core';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Router } from '@angular/router';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BeamlineStatusRefresh } from './store/bl-status.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BeamlineStatus } from './beamline-status';\r\nimport { SendIdService } from './send-id.service';\r\nimport { PV } from 'src/app/services/pv-info/pv-info';\r\nimport { BeamlineRestriction } from '../../catalogs/operational-restrictions/models';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport moment from 'moment';\r\nimport { icons } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'app-beam-status',\r\n templateUrl: './beamline-status.component.html',\r\n styleUrls: ['./beamline-status.component.scss']\r\n})\r\nexport class BeamStatusComponent extends BaseComponent implements OnInit, AfterViewInit {\r\n\r\n @ViewChild('beamStatus')\r\n beamStatus!: ElementRef;\r\n @ViewChild('header1')\r\n header1!: ElementRef;\r\n headerOnTop = false;\r\n tableWidth!: string;\r\n headerBottom = '';\r\n\r\n beamlineStatuses!: BeamlineStatus[];\r\n beamlineStatusesFiltered!: BeamlineStatus[];\r\n beamlineStatuses$!: Observable;\r\n beamlineStatusesSubs!: Subscription;\r\n\r\n beamlineRestrictions?: BeamlineRestriction[];\r\n beamlineRestrictionsFiltered?: BeamlineRestriction[];\r\n beamlineRestrictions$!: Observable;\r\n beamlineRestrictionsSubs!: Subscription;\r\n\r\n pvs?: PV[];\r\n pvs$!: Observable;\r\n pvsSubs!: Subscription;\r\n\r\n public displayedColumns: string[] = ['beamlineName', 'shutterName', 'shutterStatus', 'rssStatus', 'keReady', 'restrictions'];\r\n public dataSource = new MatTableDataSource();\r\n public selectedRowID = -1;\r\n\r\n spanningColumns = ['beamlineName'];\r\n spans = [];\r\n\r\n maxHeight: string | null = null;\r\n loading!: boolean;\r\n\r\n filter?: string;\r\n\r\n @ViewChild(MatSort)\r\n sort!: MatSort;\r\n @ViewChild(MatPaginator)\r\n paginator!: MatPaginator;\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() sendId = new EventEmitter();\r\n\r\n routerPath: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private router: Router,\r\n public sendIdService: SendIdService\r\n ) {\r\n super(injector);\r\n this.routerPath = router.url;\r\n }\r\n\r\n ngOnInit() {\r\n this.loadPVs();\r\n this.loadBeamlineStatuses();\r\n this.loadBeamlineRestrictions();\r\n }\r\n\r\n override currentUserUpdated(): void {\r\n this.ngOnInit();\r\n };\r\n\r\n loadBeamlineStatuses() {\r\n this.loading = true;\r\n this.beamlineStatuses$ = this.store.select(state => state.BeamlineStatus.data);\r\n this.beamlineStatusesSubs = this.beamlineStatuses$.subscribe(data => {\r\n if (data.length) {\r\n this.beamlineStatuses = data.filter(b => b.status != 4).sort((a, b) => utils.sortArrayAlphabeticallyWithComplexNumbers(a.beamlineName ?? '', b.beamlineName ?? '')).filter(d => this.filter ? (d.beamlineName?.toLowerCase().includes(this.filter) || d.shutterName?.toLowerCase().includes(this.filter)) : d);\r\n this.getAdditionalInfo();\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n loadBeamlineRestrictions() {\r\n this.beamlineRestrictions$ = this.store.select(state => state.BeamlineRestrictions.data);\r\n this.beamlineRestrictionsSubs = this.beamlineRestrictions$.subscribe(data => {\r\n if (data?.length) {\r\n this.beamlineRestrictions = data;\r\n this.beamlineRestrictionsFiltered = data.filter(x => Math.abs(x.status) == 1);\r\n this.getAdditionalInfo();\r\n }\r\n });\r\n }\r\n\r\n loadPVs() {\r\n this.pvs$ = this.store.select(state => state.PV.data);\r\n this.pvsSubs = this.pvs$.subscribe(data => {\r\n if (data?.length) {\r\n this.pvs = data;\r\n this.getAdditionalInfo();\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.store.dispatch(new BeamlineStatusRefresh());\r\n }\r\n\r\n applyFilter(e: any) {\r\n this.filter = e;\r\n this.loadBeamlineStatuses();\r\n }\r\n\r\n rowClick(id: number) {\r\n this.sendIdService.id = id;\r\n if (this.router.url === '/beamline-overview') {\r\n this.sendId.emit(id);\r\n } else {\r\n this.sendIdService.SendId(id);\r\n setTimeout(() => {\r\n this.router.navigate(['beamline-overview']);\r\n }, 300);\r\n }\r\n }\r\n\r\n tablePercentage(percent: number) {\r\n if (this.beamStatus) {\r\n return (this.beamStatus.nativeElement.offsetWidth * percent).toFixed(0);\r\n } else { return 50; }\r\n }\r\n\r\n statusClass(status: number) {\r\n switch (status) {\r\n case 1: return 'blue';\r\n case 2: return 'yellow';\r\n case 3: return 'res-status-color-decommissioned';\r\n case 4: return 'res-status-color-inactive';\r\n default: return '';\r\n }\r\n }\r\n\r\n getClass(text: string) {\r\n let style = '';\r\n if (text) {\r\n style = text.trim().toLowerCase();\r\n }\r\n switch (style) {\r\n case 'offline': return 'badge badge-offline badge-pill';\r\n case 'online': return 'badge badge-online badge-pill';\r\n case 'open': return 'badge badge-open badge-pill';\r\n case 'closed': return 'badge badge-closed badge-pill';\r\n case 'error': return 'badge badge-error badge-pill';\r\n default: return 'badge badge-unknown badge-pill';\r\n }\r\n }\r\n\r\n getAdditionalInfo() {\r\n this.beamlineStatuses?.map(s => {\r\n s.moreInfo = s.documents?.length ? s.documents.map(doc => doc.serialNo).join(', ') : null;\r\n s.keReady = this.getKeReadyStatus(s);\r\n this.getRestrictions(s);\r\n });\r\n this.dataSource = new MatTableDataSource(this.beamlineStatuses);\r\n }\r\n\r\n getKeReadyStatus(s: BeamlineStatus) {\r\n const pssPV = this.pvs?.find(p => p.pvName == s.pssChannelName)\r\n if (pssPV)\r\n s.pssChannelStatus = pssPV.value == '1' ? 'Open' : 'Closed';\r\n\r\n const rssPV = this.pvs?.find(p => p.pvName == s.rssChannelName);\r\n if (rssPV) {\r\n\r\n switch (rssPV.value) {\r\n case \"1\":\r\n s.rssChannelStatus = 'Online';\r\n if (s.keReady)\r\n s.keReady.cssClass = s.keReady.ready ? \"hidden\" : \"badge badge-danger blinking small\";\r\n break;\r\n\r\n case \"0\":\r\n s.rssChannelStatus = 'Offline';\r\n if (s.keReady)\r\n s.keReady.cssClass = s.keReady.ready ? \"badge badge-primary\" : \"badge badge-warning small\";\r\n break;\r\n\r\n default:\r\n if (s.keReady)\r\n s.keReady.cssClass = \"hidden\";\r\n break;\r\n }\r\n }\r\n else {\r\n if (s.keReady)\r\n s.keReady.cssClass = \"hidden\";\r\n }\r\n return s.keReady;\r\n }\r\n\r\n getRestrictions(s: BeamlineStatus) {\r\n const restrictions = this.beamlineRestrictionsFiltered?.filter(r => r.beamlineID == s.beamlineId);\r\n s.restrictions = restrictions;\r\n const priv = this.hasPrivilege(this.privilegeEnum.BeamlineRestrictions) || this.hasPrivilege(this.privilegeEnum.BeamlineRestrictionsApprove);\r\n const allRestrictions = this.beamlineRestrictions?.filter(r => r.beamlineID == s.beamlineId && priv && !r.code);\r\n\r\n s.hasPendingRestrictions = (restrictions?.length != allRestrictions?.length || restrictions?.some(r => r.status == -1)) && priv;\r\n\r\n let restrictionsTooltip = restrictions;\r\n\r\n if (priv) restrictionsTooltip = allRestrictions;\r\n\r\n const tooltipText = restrictionsTooltip?.map(r => {\r\n let pendingMessage = '';\r\n if (priv)\r\n if (r.status == 0) pendingMessage = `${icons.pendingActions}Pending Approval`;\r\n else if (r.status == -1) pendingMessage = `${icons.autoDelete}Pending Deletion`;\r\n return `
    ${pendingMessage}${r.description.replaceAll('div', 'span')} ${moment(r.createdOn).format('M/D/YYYY')}
    `;\r\n }).join('');\r\n s.restrictionsTooltip = tooltipText;\r\n\r\n }\r\n\r\n}\r\n","\r\n
    \r\n \r\n
    \r\n
    \r\n
    Beamline Status
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n

    Beamline Color Key:

    \r\n
    \r\n
    \r\n

    \r\n fiber_manual_recordActive\r\n

    \r\n
    \r\n
    \r\n

    \r\n fiber_manual_recordCommissioning\r\n

    \r\n
    \r\n
    \r\n

    \r\n fiber_manual_recordDecommissioned\r\n

    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n Beamline \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Shutter \r\n \r\n \r\n \r\n \r\n PSS \r\n \r\n \r\n {{ element.pssChannelStatus }}\r\n
    \r\n \r\n \r\n \r\n RSS \r\n \r\n \r\n {{ element.rssChannelStatus }}\r\n \r\n Decommissioned\r\n \r\n \r\n \r\n KE Ready? \r\n \r\n \r\n {{ element.keReady.ready ? \"Ready\" : \"Not Ready\" }}\r\n \r\n \r\n \r\n \r\n Op Restrictions \r\n \r\n \r\n {{ element.restrictions.length }}\r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SendIdService {\r\n\r\n private idSource = new BehaviorSubject(null);\r\n public currentId = this.idSource.asObservable();\r\n public id?: number;\r\n\r\n constructor() { }\r\n\r\n SendId(id: number) {\r\n this.id = id;\r\n this.idSource.next(id);\r\n }\r\n\r\n}\r\n","import { BeamlineStatus } from \"../beamline-status\";\r\n\r\n\r\nexport class BeamlineStatusRefresh {\r\n static readonly type = '[BeamlineStatus] Refresh';\r\n}\r\nexport class BeamlineStatusCreate {\r\n static readonly type = '[BeamlineStatus] Create';\r\n constructor(public item: BeamlineStatus) { }\r\n}\r\nexport class BeamlineStatusUpdate {\r\n static readonly type = '[BeamlineStatus] Update';\r\n constructor(public id: number, public item: BeamlineStatus) { }\r\n}\r\nexport class BeamlineStatusDelete {\r\n static readonly type = '[BeamlineStatus] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { BeamlineStatusCreate, BeamlineStatusDelete, BeamlineStatusRefresh, BeamlineStatusUpdate } from './bl-status.action';\r\nimport { BeamlineServService } from '../beamline-serv.service';\r\nimport { BeamlineStatus } from '../beamline-status';\r\n\r\nexport class BeamlineStatusStateModel {\r\n data!: BeamlineStatus[];\r\n}\r\n\r\n@State({\r\n name: 'BeamlineStatus',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class BeamlineStatusState {\r\n constructor(\r\n private _service: BeamlineServService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: BeamlineStatusStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(BeamlineStatusRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getBeamlineStatus().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(BeamlineStatusCreate)\r\n create({ getState, patchState }: StateContext, { item }: BeamlineStatusCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(BeamlineStatusUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: BeamlineStatusUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.beamlineId).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(BeamlineStatusDelete)\r\n delete({ getState, patchState }: StateContext, { id }: BeamlineStatusDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.beamlineId != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport * as BeamlineStatusActions from './bl-status.action';\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BeamlineStatusStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new BeamlineStatusActions.BeamlineStatusRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BEAMLINE_STATUS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BeamlineStatusActions.BeamlineStatusCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BeamlineStatusActions.BeamlineStatusUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BeamlineStatusActions.BeamlineStatusDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BeamlineStatusActions.BeamlineStatusRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, OnInit, AfterViewInit, HostListener, ViewChild, Output, EventEmitter, ElementRef, OnDestroy, Injector } from '@angular/core';\r\nimport { BranchlineStatusState, BranchlineStatusStateModel, } from \"src/app/components/home/branchline-status/store/branchline-status.state\";\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { MatSort } from \"@angular/material/sort\";\r\nimport { MatPaginator } from \"@angular/material/paginator\";\r\nimport { Router } from \"@angular/router\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { Select } from \"@ngxs/store\";\r\nimport { MatDialog } from \"@angular/material/dialog\";\r\nimport { IResource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { SendIdService } from \"../beamline-status/send-id.service\";\r\nimport { ResourcesService } from \"src/app/components/catalogs/beamline-catalog/resource/resources.service\";\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: \"app-branchline-status\",\r\n templateUrl: \"./branchline-status.component.html\",\r\n styleUrls: [\"./branchline-status.component.scss\"],\r\n})\r\nexport class BranchlineStatusComponent extends BaseComponent\r\n implements OnInit, AfterViewInit, OnDestroy {\r\n @ViewChild(\"header2\")\r\n header2!: ElementRef;\r\n @ViewChild(\"branchBody\")\r\n branchBody!: ElementRef;\r\n headerOnTop = false;\r\n tableWidth = \"\";\r\n headerBottom = \"\";\r\n branchlines: IResource[] = [];\r\n branchlines$!: Observable;\r\n branchlinesSubs!: Subscription;\r\n\r\n displayedColumns: string[] = [\"branchline\", \"status\", \"keReady\"];\r\n dataSource = new MatTableDataSource();\r\n selectedRowIndex = -1;\r\n\r\n loading!: boolean;\r\n filter?: string;\r\n\r\n spanningColumns = [\"branchline\"];\r\n spans = [];\r\n\r\n maxHeight: string | null = null;\r\n\r\n @ViewChild(MatSort)\r\n sort!: MatSort;\r\n @ViewChild(MatPaginator)\r\n paginator!: MatPaginator;\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n suscriptionBSS!: Subscription;\r\n @Select(BranchlineStatusState)\r\n branchlineStatusState!: Observable;\r\n\r\n constructor(\r\n private resourcesService: ResourcesService,\r\n private router: Router,\r\n private sendIdService: SendIdService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.suscriptionBSS?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loading = true;\r\n this.responsiveFunction();\r\n this.loadBranchlines();\r\n }\r\n\r\n loadBranchlines() {\r\n this.loading = true;\r\n this.branchlines$ = this.store.select(state => state.Branchlines.data);\r\n this.branchlinesSubs = this.branchlines$.subscribe(data => {\r\n if (data?.length) {\r\n this.branchlines = data;\r\n this.dataSource = new MatTableDataSource(this.branchlines.filter(b => this.filter ? b.name.toLowerCase().includes(this.filter) :\r\n b));\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.responsiveFunction();\r\n }\r\n\r\n @HostListener(\"window:resize\", [\"$event\"])\r\n onResize(event: { target: { innerWidth: any; innerHeight: any } }) {\r\n this.innerWidth = event.target.innerWidth;\r\n this.innerHeight = event.target.innerHeight;\r\n this.maxHeight = parseInt((this.innerHeight * 0.45).toFixed(0)) + \"px\";\r\n this.isHeaderOnTop();\r\n }\r\n\r\n responsiveFunction() {\r\n this.innerWidth = window.innerWidth;\r\n this.innerHeight = window.innerHeight;\r\n this.maxHeight = parseInt((this.innerHeight * 0.45).toFixed(0)) + \"px\";\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.branchBody?.nativeElement != undefined) {\r\n elemRec = this.branchBody.nativeElement.getBoundingClientRect();\r\n // const docViewTop = window.screenTop;\r\n const elemTop = Number(elemRec.top.toFixed(0));\r\n const elemBottom = Number(elemRec.bottom.toFixed(0));\r\n // const headerTop = this.header1.nativeElement.getBoundingClientRect().top;\r\n const headerBottom = Number(\r\n this.header2.nativeElement.getBoundingClientRect().bottom.toFixed(0)\r\n );\r\n\r\n if (elemTop < headerBottom) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n this.tableWidth = this.branchBody.nativeElement.offsetWidth + \"px\";\r\n this.headerBottom = headerBottom + \"px\";\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n applyFilter(e: any) {\r\n const filterValue: string = e;\r\n this.filter = filterValue.toLowerCase();\r\n this.loadBranchlines();\r\n }\r\n\r\n SendId(id: number) {\r\n console.log(id);\r\n this.sendIdService.SendId(id);\r\n this.router.navigate([\"beamline-overview\"]);\r\n }\r\n\r\n doToggle(value: any, element: IResource) {\r\n const resource = element as IResource;\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"ChangeBranchlineStatus\")\r\n .description,\r\n icon: \"warn\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.resourcesService\r\n .updateOperationalLockOut(resource.id, value)\r\n .subscribe((response) => {\r\n element.operationalLockOut = value;\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Branchline Status
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n Branchline \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n Status \r\n \r\n \r\n Operational\r\n \r\n \r\n Locked Out\r\n \r\n \r\n \r\n\r\n \r\n KE Ready? \r\n \r\n \r\n {{ element.keReady }}\r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { State, Action, StateContext } from '@ngxs/store';\r\nimport * as BLSActions from './branchline.actions';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\n\r\nexport interface BranchlineStatusStateModel {\r\n data: Resource[];\r\n}\r\n\r\n@State({\r\n name: 'Branchlines',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class BranchlineStatusState {\r\n constructor(public resourcesService: ResourcesService) { }\r\n\r\n @Action(BLSActions.Refresh)\r\n RefreshBranchStatus(ctx: StateContext) {\r\n this.resourcesService.getBranchlines().subscribe(result => {\r\n\r\n result = result.sort((a, b) => utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n result.map(r => {\r\n r.moreInfo = r.documents?.join(', ');\r\n });\r\n ctx.patchState({ data: result });\r\n });\r\n }\r\n\r\n @Action(BLSActions.Update)\r\n UpdateBranchStatus(ctx: StateContext, { payload }: BLSActions.Update) {\r\n const state = ctx.getState();\r\n const data = utils.cloneDeep(state.data);\r\n const index = data.findIndex(val => val.id === payload.id);\r\n payload.moreInfo = payload.documents?.join(', ');\r\n data.splice(index, 1, payload);\r\n ctx.patchState({ data });\r\n }\r\n\r\n @Action(BLSActions.Add)\r\n AddBranchStatus(ctx: StateContext, { payload }: BLSActions.Add) {\r\n const state = ctx.getState();\r\n let data = utils.cloneDeep(state.data);\r\n payload.moreInfo = payload.documents?.join('');\r\n data.splice(0, 0, payload);\r\n data = data.sort((a, b) => utils.SortBeamlines(a.name, b.name));\r\n ctx.patchState({ data });\r\n }\r\n\r\n @Action(BLSActions.Delete)\r\n DeleteBranchStatus(ctx: StateContext, { payload }: BLSActions.Delete) {\r\n const state = ctx.getState();\r\n const data = utils.cloneDeep(state.data);\r\n const index = data.findIndex(val => val.id === payload);\r\n data.splice(index, 1);\r\n ctx.patchState({ data });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport * as BranchlineStatusActions from './branchline.actions';\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BranchlineStatusStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new BranchlineStatusActions.Refresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BRANCHLINESTATUS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BranchlineStatusActions.Add(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BranchlineStatusActions.Update(data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BranchlineStatusActions.Delete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BranchlineStatusActions.Refresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { IResource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\nexport class Refresh {\r\n static readonly type = '[Home Branch Status] - Refresh';\r\n}\r\n\r\nexport class Update {\r\n static readonly type = '[Home Branch Status] - Update';\r\n constructor(public payload: IResource) { }\r\n}\r\n\r\nexport class Add {\r\n static readonly type = '[Home Branch Status] - Add';\r\n constructor(public payload: IResource) { }\r\n}\r\n\r\nexport class Delete {\r\n static readonly type = '[Home Branch Status] - Delete';\r\n constructor(public payload: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { BulletinBoardItem } from './bulletin-board-item';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BulletinBoardService {\r\n\r\n public apiBulletinBoard: string = environment.urls.baseApiUrl + '/BulletinBoardItem/';\r\n\r\n selectedItem: BulletinBoardItem | null = null;\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n getAll(): Observable {\r\n return this.http.get(this.apiBulletinBoard + 'GetAll');\r\n }\r\n getAllActives(): Observable {\r\n return this.http.get(this.apiBulletinBoard + 'GetActives');\r\n }\r\n getAllInactives(): Observable {\r\n return this.http.get(this.apiBulletinBoard + 'GetInactives');\r\n }\r\n insertBBI(item: BulletinBoardItem): Observable {\r\n return this.http.post(this.apiBulletinBoard, item);\r\n }\r\n updateBBI(item: BulletinBoardItem) {\r\n return this.http.put(this.apiBulletinBoard + item.id, item);\r\n }\r\n archiveBBI(id: number) {\r\n return this.http.delete(this.apiBulletinBoard + id.toString());\r\n }\r\n}\r\n","import { Component, HostListener, AfterContentInit, OnDestroy, OnInit, Injector } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { ModalAddToBBComponent } from './modal-add-to-bb/modal-add-to-bb.component';\r\nimport { ModalHistoryBBComponent } from './modal-history-bb/modal-history-bb.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BulletinBoardItem } from './bulletin-board-item';\r\nimport { BulletinBoardService } from './bulletin-board-service.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n@Component({\r\n selector: 'app-bulletin-board',\r\n templateUrl: './bulletin-board.component.html',\r\n styleUrls: ['./bulletin-board.component.scss']\r\n})\r\nexport class BulletinBoardComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public bulletinBoardItems$!: Observable;\r\n\r\n public bulletinBoardItemSubscription: Subscription = new Subscription;\r\n public currentUserSubscription: Subscription = new Subscription;\r\n\r\n public activesHistory: BulletinBoardItem[] = [];\r\n\r\n public nowdate: Date = new Date();\r\n\r\n public maxHeight = '0px';\r\n\r\n constructor(\r\n public bulletinBoardService: BulletinBoardService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getBulletinBoardItems();\r\n this.getCurrentUser();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.responsiveFunction();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.bulletinBoardItemSubscription?.unsubscribe();\r\n }\r\n\r\n getBulletinBoardItems() {\r\n this.bulletinBoardItems$ = this.store.select(state => state.BulletinBoard.bulletinBoardItems);\r\n this.bulletinBoardItemSubscription = this.bulletinBoardItems$.subscribe(bulletinBoardItems => {\r\n if (bulletinBoardItems?.length)\r\n this.activesHistory = bulletinBoardItems?.filter(bb => bb.status === 1);\r\n });\r\n }\r\n\r\n seeMore(event: any, item: BulletinBoardItem) {\r\n if (item.description.length > 250) {\r\n if (event.target.nodeName === 'A') {\r\n event = event.target.parentNode;\r\n } else if (event.target.nodeName === 'SPAN') {\r\n event = event.target;\r\n } else if (event.target.nodeName === 'P') {\r\n event = event.target.firstElementChild;\r\n }\r\n if (event.lastChild.nodeName === 'A') {\r\n event.innerHTML = item.description.split('\\n').join('
    ');\r\n event.className = event.className.trim() + ' OverflowVisible';\r\n } else {\r\n event.innerHTML = item.description.substring(0, 250) + '... See more';\r\n event.classList.remove('OverflowVisible');\r\n }\r\n }\r\n }\r\n\r\n refresh() {\r\n this.responsiveFunction();\r\n }\r\n\r\n PinBB(item: BulletinBoardItem) {\r\n const ItemBackup = JSON.stringify(item);\r\n const itemToSave: BulletinBoardItem = JSON.parse(ItemBackup);\r\n itemToSave.isPined = true;\r\n this.bulletinBoardService.updateBBI(itemToSave).toPromise().then(() => {\r\n // this.store.dispatch(new BulletinBoardRefresh());\r\n });\r\n }\r\n\r\n UnPinBB(item: BulletinBoardItem) {\r\n const ItemBackup = JSON.stringify(item);\r\n const itemToSave: BulletinBoardItem = JSON.parse(ItemBackup);\r\n itemToSave.isPined = false;\r\n this.bulletinBoardService.updateBBI(itemToSave).toPromise().then(() => {\r\n // this.store.dispatch(new BulletinBoardRefresh());\r\n });\r\n }\r\n\r\n ArchiveBB(item: BulletinBoardItem) {\r\n const self = this;\r\n if (item.id)\r\n this.bulletinBoardService.archiveBBI(item.id).toPromise().then(() => {\r\n // this.store.dispatch(new BulletinBoardRefresh());\r\n });\r\n }\r\n\r\n AddToBB() {\r\n this.dialog.open(ModalAddToBBComponent, {\r\n maxWidth: '500px'\r\n });\r\n }\r\n\r\n EditBB(item: BulletinBoardItem) {\r\n this.bulletinBoardService.selectedItem = item;\r\n this.dialog.open(ModalAddToBBComponent, {\r\n maxWidth: '500px'\r\n });\r\n }\r\n\r\n BBHistory() {\r\n this.dialog.open(ModalHistoryBBComponent, {\r\n maxHeight: '500px'\r\n });\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: any) {\r\n this.innerWidth = event.target.innerWidth;\r\n this.innerHeight = event.target.innerHeight;\r\n this.maxHeight = (parseInt((this.innerHeight * 0.50).toFixed(0), 10) - 100) + 'px';\r\n }\r\n\r\n responsiveFunction() {\r\n this.innerWidth = window.innerWidth;\r\n this.innerHeight = window.innerHeight;\r\n this.maxHeight = (parseInt((this.innerHeight * 0.50).toFixed(0), 10) - 100) + 'px';\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Bulletin Board
    \r\n
    \r\n \r\n history\r\n \r\n \r\n add_box\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n push_pin\r\n \r\n {{ item.description.substring(0, 250) }}\r\n 250\" href=\"#\">... See more\r\n \r\n
    \r\n \r\n \r\n more_vert\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n\r\n \r\n \r\n Created by {{ item.createdByUser }} on\r\n {{ item.createdOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n \r\n Last edited by {{ item.updatedByUser }} on\r\n {{ item.updatedOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n \r\n Estimated expiration:\r\n {{ item.expirationDate | date : \"yyyy-MM-dd\" }}.\r\n \r\n
    \r\n \r\n \r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { FormGroup } from '@angular/forms';\r\n// import { BulletinBoardItem } from 'src/app/_interface/BulletinBoardItem';\r\n// import { BulletinBoardService } from 'src/app/Services/BulletinBoard/bulletin-board-service.service';\r\nimport { Store } from '@ngxs/store';\r\nimport { BulletinBoardItem } from '../bulletin-board-item';\r\nimport { BulletinBoardService } from '../bulletin-board-service.service';\r\n// import { BulletinBoardRefresh } from 'src/app/Store/BulletinBoard/bulletin-board.action';\r\n@Component({\r\n selector: 'app-modal-add-to-bb',\r\n templateUrl: './modal-add-to-bb.component.html',\r\n styleUrls: ['./modal-add-to-bb.component.scss']\r\n})\r\nexport class ModalAddToBBComponent implements OnInit {\r\n Id = 0;\r\n Tittle = '';\r\n Description = '';\r\n ExpirationDate?: Date | null = null;\r\n EmisionDate: Date = new Date();\r\n ItemBackup: string | null = null;\r\n IsPined = false;\r\n CreatedBy = 0;\r\n saving = false;\r\n // USER LOAD\r\n public innerWidth: any;\r\n subtitle: string;\r\n options!: FormGroup;\r\n\r\n constructor(public dialogRef: MatDialogRef, public BBService: BulletinBoardService, private store: Store) {\r\n this.subtitle = 'NEW';\r\n const data: BulletinBoardItem | null = BBService.selectedItem;\r\n if (data) {\r\n this.subtitle = 'EDIT';\r\n this.ItemBackup = JSON.stringify(BBService.selectedItem);\r\n this.Id = data.id ?? 0;\r\n this.Tittle = data.name;\r\n this.Description = data.description;\r\n this.EmisionDate = data.createdOn;\r\n this.ExpirationDate = data.expirationDate;\r\n this.CreatedBy = data.createdBy;\r\n this.IsPined = data.isPined;\r\n BBService.selectedItem = null;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n Validate(): boolean {\r\n if (!this.Description.length) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n Save(): void {\r\n this.saving = true;\r\n if (this.Validate()) {\r\n const item: BulletinBoardItem = {\r\n id: this.Id,\r\n name: this.Tittle,\r\n description: this.Description,\r\n status: 1,\r\n createdOn: this.EmisionDate,\r\n createdBy: this.CreatedBy,\r\n expirationDate: this.ExpirationDate,\r\n isPined: this.IsPined,\r\n };\r\n const self = this;\r\n if (item.expirationDate != null && item.expirationDate.toString() == '') {\r\n item.expirationDate = null;\r\n }\r\n if (this.ItemBackup == null || this.ItemBackup === undefined || this.ItemBackup === '') {\r\n item.createdOn = new Date();\r\n this.BBService.insertBBI(item).toPromise().then(() => {\r\n // this.store.dispatch(new BulletinBoardRefresh());\r\n self.dialogRef.close();\r\n });\r\n } else {\r\n this.BBService.updateBBI(item).toPromise().then(() => {\r\n // this.store.dispatch(new BulletinBoardRefresh());\r\n self.dialogRef.close();\r\n });\r\n }\r\n } else {\r\n this.saving = false;\r\n }\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n Bulletin Board {{ subtitle }}\r\n
    \r\n
    \r\n
    \r\n \r\n Description\r\n \r\n {{ Description.length || 0 }}/1000\r\n You must enter a value\r\n \r\n \r\n Expiration date\r\n \r\n \r\n close\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n","import { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { BulletinBoardItem } from '../bulletin-board-item';\r\nimport { BulletinBoardService } from '../bulletin-board-service.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'app-modal-history-bb',\r\n templateUrl: './modal-history-bb.component.html',\r\n styleUrls: ['./modal-history-bb.component.scss']\r\n})\r\nexport class ModalHistoryBBComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public bulletinBoardItems$!: Observable;\r\n\r\n public bulletinBoardItemSubscription!: Subscription;\r\n\r\n inactivesHistory: BulletinBoardItem[] = [];\r\n FilteredInactivesHistory: BulletinBoardItem[] = [];\r\n\r\n Month!: number;\r\n Year!: number;\r\n Filter = '';\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(DOCUMENT) private document: Document,\r\n public bulletinBoardService: BulletinBoardService,\r\n ) {\r\n super(injector);\r\n this.InitialLoadBB();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getBulletinBoardItems();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.bulletinBoardItemSubscription?.unsubscribe();\r\n }\r\n\r\n getBulletinBoardItems() {\r\n this.bulletinBoardItems$ = this.store.select(state => state.BulletinBoard.bulletinBoardItems);\r\n this.bulletinBoardItemSubscription = this.bulletinBoardItems$.subscribe(bulletinBoardItems => {\r\n this.inactivesHistory = bulletinBoardItems.filter(bb => bb.status === 0);\r\n this.filterHistory();\r\n });\r\n }\r\n\r\n SeeMore(event: any, item: BulletinBoardItem) {\r\n if (item.description.length > 250) {\r\n if (event.target.nodeName === 'A') {\r\n event = event.target.parentNode;\r\n } else if (event.target.nodeName === 'SPAN') {\r\n event = event.target;\r\n } else if (event.target.nodeName === 'P') {\r\n event = event.target.firstElementChild;\r\n }\r\n if (event.lastChild.nodeName === 'A') {\r\n event.innerHTML = item.description.split('\\n').join('
    ');\r\n event.className += 'OverflowVisible';\r\n } else {\r\n event.innerHTML = item.description.substring(0, 250) + '... See more';\r\n event.classList.remove('OverflowVisible');\r\n }\r\n }\r\n }\r\n\r\n InitialLoadBB() {\r\n\r\n this.Filter = '';\r\n this.Month = 0;\r\n this.Year = 0;\r\n }\r\n\r\n DisarchiveBB(item: BulletinBoardItem) {\r\n item.status = 1;\r\n const self = this;\r\n this.bulletinBoardService.updateBBI(item).toPromise().then(() => {\r\n // this.store.dispatch(new BulletinBoardRefresh());\r\n });\r\n }\r\n\r\n numberOnly(event: any): boolean {\r\n const charCode = (event.which) ? event.which : event.keyCode;\r\n if (charCode > 31 && (charCode < 48 || charCode > 57)) {\r\n return false;\r\n }\r\n if (event.target.name === 'Month') {\r\n const currentMonth = this.Month ? this.Month.toString() : '0';\r\n const testMonth = Number(currentMonth + event.key);\r\n if (testMonth > 12) {\r\n return false;\r\n }\r\n } else if (event.target.name === 'Year') {\r\n const currentYear = this.Year ? this.Year.toString() : '0';\r\n const testYear = Number(currentYear + event.key);\r\n if (testYear > (new Date()).getFullYear()) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n filterHistory() {\r\n let query: BulletinBoardItem[] = this.inactivesHistory;\r\n if (!isNaN(this.Month) && this.Month) {\r\n const searchMonth = this.Month - 1;\r\n query = query.filter(item => \r\n (new Date(item.createdOn).getMonth() == searchMonth) ||\r\n (new Date(item.updatedOn).getMonth() == searchMonth) ||\r\n (new Date(item.expirationDate).getMonth() == searchMonth));\r\n }\r\n\r\n if (!isNaN(this.Year) && this.Year) {\r\n query = query.filter(item => \r\n (new Date(item.createdOn).getFullYear() == this.Year) ||\r\n (new Date(item.updatedOn).getFullYear() == this.Year) ||\r\n (new Date(item.expirationDate).getFullYear() == this.Year));\r\n }\r\n\r\n if (this.Filter && this.Filter != \"\") {\r\n const searchTerm = this.Filter.toLowerCase();\r\n query = query.filter(item => \r\n item.name.toLowerCase().includes(searchTerm) ||\r\n item.description.toLowerCase().includes(searchTerm) ||\r\n item.createdByUser?.name?.toLowerCase().includes(searchTerm) ||\r\n item.updatedByUser?.toLowerCase().includes(searchTerm));\r\n }\r\n\r\n this.FilteredInactivesHistory = query;\r\n }\r\n}\r\n","\r\n\r\n","import { BulletinBoardItem } from \"../bulletin-board-item\";\r\n\r\n\r\nexport class BulletinBoardRefresh {\r\n static readonly type = '[BulletinBoard] Refresh';\r\n}\r\n\r\nexport class BulletinBoardCreate {\r\n static readonly type = '[BulletinBoard] Create';\r\n constructor(public item: BulletinBoardItem) { }\r\n}\r\n\r\nexport class BulletinBoardUpdate {\r\n static readonly type = '[BulletinBoard] Update';\r\n constructor(public id: number, public item: BulletinBoardItem) { }\r\n}\r\n\r\nexport class BulletinBoardDelete {\r\n static readonly type = '[BulletinBoard] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, State, Selector, StateContext } from '@ngxs/store';\r\n// import { utils } from 'src/app/modules/Libs/utils';\r\n// import { BulletinBoardService } from 'src/app/Services/BulletinBoard/bulletin-board-service.service';\r\n// import { BulletinBoardItem } from 'src/app/_interface/BulletinBoardItem';\r\nimport { BulletinBoardRefresh, BulletinBoardCreate, BulletinBoardUpdate, BulletinBoardDelete } from './bulletin-board.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BulletinBoardItem } from '../bulletin-board-item';\r\nimport { BulletinBoardService } from '../bulletin-board-service.service';\r\n\r\nexport class BulletinBoardStateModel {\r\n bulletinBoardItems!: BulletinBoardItem[];\r\n}\r\n\r\n@State({\r\n name: 'BulletinBoard',\r\n defaults: {\r\n bulletinBoardItems: []\r\n }\r\n})\r\n@Injectable()\r\nexport class BulletinBoardState {\r\n constructor(\r\n private bulletinBoardService: BulletinBoardService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: BulletinBoardStateModel) {\r\n return state.bulletinBoardItems;\r\n }\r\n\r\n @Action(BulletinBoardRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.bulletinBoardService.getAll().toPromise().then(data => {\r\n patchState({ bulletinBoardItems: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(BulletinBoardCreate)\r\n create({ getState, patchState }: StateContext, { item }: BulletinBoardCreate) {\r\n patchState({\r\n bulletinBoardItems: [...getState().bulletinBoardItems, item]\r\n });\r\n }\r\n\r\n @Action(BulletinBoardUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: BulletinBoardUpdate) {\r\n const state = getState();\r\n const index = state.bulletinBoardItems.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.bulletinBoardItems);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ bulletinBoardItems: currentState });\r\n }\r\n }\r\n\r\n @Action(BulletinBoardDelete)\r\n delete({ getState, patchState }: StateContext, { id }: BulletinBoardDelete) {\r\n patchState({\r\n bulletinBoardItems: getState().bulletinBoardItems.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as BulletinBoardActions from './bulletin-board.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BulletinBoardStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new BulletinBoardActions.BulletinBoardRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.BULLETINBOARD, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new BulletinBoardActions.BulletinBoardCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new BulletinBoardActions.BulletinBoardUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new BulletinBoardActions.BulletinBoardDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new BulletinBoardActions.BulletinBoardRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, HostListener, OnInit, Injector } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Document, DocumentCategory, DocumentType } from 'src/app/services/documents/documents';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { ReviewCycle } from '../../reviews/reviews.models';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-current-activity',\r\n templateUrl: './current-activity.component.html',\r\n styleUrls: ['./current-activity.component.scss']\r\n})\r\nexport class CurrentActivityComponent extends BaseComponent implements OnInit {\r\n\r\n public maxHeight = '0px';\r\n loading = false;\r\n\r\n inactive = [FormStatusEnum.Closed, FormStatusEnum.Canceled, FormStatusEnum.New];\r\n\r\n default = [{ id: 1, order: 1 }, { id: 2, order: 5 }, { id: 3, order: 2 }, { id: 4, order: 3 }, { id: 9, order: 4 }, { id: 11, order: 6 }];\r\n\r\n documents?: Document[];\r\n documentsFiltered?: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n\r\n documentTypes?: DocumentType[];\r\n documentTypesFiltered?: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n formsAndReviewsFiltered?: DocumentType[];\r\n checklistsFiltered?: DocumentType[];\r\n\r\n reviewCycles?: ReviewCycle[];\r\n reviewCyclesFiltered?: ReviewCycle[];\r\n reviewCycles$!: Observable;\r\n reviewCyclesSubs!: Subscription;\r\n\r\n public router!: Router; // Use this to Prevent Opent link in New Tab or Same be displayed\r\n\r\n redirectTo = true;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n this.router = injector.get(Router);\r\n this.redirect\r\n }\r\n\r\n ngOnInit() {\r\n this.loadDocuments();\r\n }\r\n\r\n loadReviewCycles() {\r\n this.reviewCycles$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewCyclesSubs = this.reviewCycles$.subscribe(data => {\r\n if (data?.length) {\r\n this.reviewCycles = data;\r\n this.documents?.filter(d => d.category == DocumentCategory.Review).map(d => {\r\n const reviewCycle = this.reviewCycles?.find(c => c.serialNo == d.serialNo);\r\n d.disableLink = !reviewCycle?.reviewBoard;\r\n });\r\n }\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n if (data?.length) {\r\n data.filter(d => d.type).map(d => {\r\n const doc = data.find(x => x.id == d.type);\r\n if (doc) doc.checklistExecStatuses = d.checklistExecStatuses;\r\n });\r\n this.documentTypes = data;\r\n this.documentTypesFiltered = this.documentTypes.filter(d => !d.type && d.id != 8 && (this.default.map(d => d.id).includes(d.id) || d.showInCatalog || d.id == 201));\r\n this.documentTypesFiltered.map(t => {\r\n t.documents = this.documents?.filter(d => d.type == t.id && (d.category != 2 || d.category == 2 && !this.inactive.includes(t.checklistExecStatuses?.find(s => s.id == d.status)?.formStatusID ?? 0)));\r\n t.order = this.default.find(d => d.id == t.id)?.order ?? 99;\r\n t.visible = this.default.map(d => d.id).includes(t.id) || (t.documents?.length ?? 0) > 0;\r\n t.order = t.id == 201 ? 999 : t.order;\r\n });\r\n this.documentTypesFiltered.sort((a, b) => this.utils.sort(a.order, b.order));\r\n this.formsAndReviewsFiltered = this.documentTypesFiltered.filter(f => f.visible &&\r\n ((f.order ?? 0) <= 4 || (f.order ?? 0) == 999))\r\n this.checklistsFiltered = this.documentTypesFiltered.filter(f => f.visible && (f.order ?? 0) > 4 && (f.order ?? 0) < 999)\r\n }\r\n });\r\n }\r\n\r\n loadDocuments() {\r\n this.loading = true;\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data?.length) {\r\n this.documents = data.filter(d => !this.inactive.includes(d.status ?? 0)).sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(b.serialNo, a.serialNo));\r\n this.loadReviewCycles();\r\n this.loadDocumentTypes();\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n addMoreInfo(documents?: Document[]): string {\r\n if (documents?.length) {\r\n var moreInfo = '
    ' + documents.map(d => {\r\n return '
    ' + (\r\n !d.disableLink ? '' + d.serialNo + '' :\r\n '' + d.serialNo + '') +\r\n '
    ';\r\n }).join('') + '
    ';\r\n return moreInfo ?? '';\r\n }\r\n else return '';\r\n }\r\n\r\n navigateToForm(doc: DocumentType) {\r\n if (doc.documents?.some(d => d.category != 2) || !doc.documents?.length) {\r\n this.router.navigate([doc.code?.trim().toLowerCase()]);\r\n }\r\n else {\r\n const documentType = this.documentTypes?.find(d => d.type == doc.id);\r\n this.router.navigate(['checklist-exec/' + documentType?.id]);\r\n }\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: { target: { innerWidth: any; innerHeight: any; }; }) {\r\n this.innerWidth = event.target.innerWidth;\r\n this.innerHeight = event.target.innerHeight;\r\n this.maxHeight = (parseInt((this.innerHeight * 0.50).toFixed(0)) - 100) + 'px';\r\n }\r\n\r\n responsiveFunction() {\r\n this.innerWidth = window.innerWidth;\r\n this.innerHeight = window.innerHeight;\r\n this.maxHeight = (parseInt((this.innerHeight * 0.50).toFixed(0)) - 100) + 'px';\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    Current Activity
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n {{ item.code }}\r\n {{ item.documents?.length }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n 4 &&\r\n (item.order ?? 0) < 999,\r\n }\"\r\n >\r\n {{ item.code }}\r\n {{ item.documents?.length }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n","import { Component, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { ComponentRegistry, RegisterComponent } from 'src/app/common/extensions/decorator';\r\nimport { SiteConfigurationComponent } from '../site-configuration/site-configuration.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@RegisterComponent('HomeComponent')\r\n@Component({\r\n selector: 'app-home',\r\n templateUrl: './home.component.html',\r\n styleUrls: ['./home.component.scss']\r\n})\r\nexport class HomeComponent extends BaseComponent implements OnInit {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private registry: ComponentRegistry) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.registry.registerComponent('SiteConfigurationComponent', SiteConfigurationComponent);\r\n }\r\n\r\n refresh() {\r\n\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { Store } from '@ngxs/store';\r\nimport { RadiationAreaItem } from '../radiation-area-item';\r\nimport { RadiationAreaService } from '../radiation-area-service.service';\r\nimport { RadiationAreaAttachmentComponent } from '../radiation-area-attachment/radiation-area-attachment.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MatFileV2UploadComponent } from 'src/app/modules/file-upload/lib/mat-file-v2-upload/mat-file-v2-upload.component';\r\nimport { RadiationAreaRefresh } from '../store/radiation-area.action';\r\n\r\n@Component({\r\n selector: 'app-modal-add-to-ra',\r\n templateUrl: './modal-add-to-ra.component.html',\r\n styleUrls: ['./modal-add-to-ra.component.scss']\r\n})\r\nexport class ModalAddToRAComponent implements OnInit {\r\n @ViewChild(RadiationAreaAttachmentComponent) radiationAreaAttachments!: RadiationAreaAttachmentComponent;\r\n @ViewChild(MatFileV2UploadComponent) private matFilev2Upload!: MatFileV2UploadComponent;\r\n\r\n radiationAreas?: RadiationAreaItem[];\r\n radiationAreasFiltered?: RadiationAreaItem[];\r\n radiationAreas$!: Observable;\r\n radiationAreaSubs!: Subscription;\r\n\r\n public radAreas: RadiationAreaItem[] = [];\r\n public radiationAreaItems$!: Observable;\r\n public radiationAreaItemSubscription: Subscription = new Subscription;\r\n\r\n loading = false;\r\n selectedFiles?: FileList;\r\n save_files_database = '';\r\n commentFiles?: any[];\r\n typeDocument = 'RadAreaImages';\r\n formType = 'RA';\r\n serialNo?: string;\r\n\r\n Id = 0;\r\n Name = '';\r\n // Files = [];\r\n // Files: any[] | undefined;\r\n Description = '';\r\n Placeholder = '';\r\n CreatedBy = 0;\r\n EmisionDate: Date = new Date();\r\n ItemBackup: string | null = null;\r\n saving = false;\r\n // USER LOAD\r\n public innerWidth: any;\r\n subtitle: string;\r\n options!: FormGroup;\r\n\r\n radArea?: RadiationAreaItem;\r\n radAreaUploadID?: string;\r\n\r\n constructor(public dialogRef: MatDialogRef, public RAService: RadiationAreaService, private store: Store) {\r\n this.subtitle = 'NEW';\r\n if (RAService.selectedItem) {\r\n this.radArea = RAService.selectedItem;\r\n this.subtitle = 'EDIT';\r\n this.ItemBackup = JSON.stringify(RAService.selectedItem);\r\n this.EmisionDate = this.radArea.createdOn;\r\n this.Id = this.radArea.id ?? 0;\r\n this.Name = this.radArea.name;\r\n this.CreatedBy = this.radArea.createdBy;\r\n // this.Files = this.radArea.files;\r\n this.Description = this.radArea.description;\r\n this.CreatedBy = this.radArea.createdBy;\r\n // radAreaUploadID will be the serial number\r\n this.radAreaUploadID = (100000 + (this.radArea.id ?? 0)).toString();\r\n RAService.selectedItem = null;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRadiationAreas();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.radiationAreaItemSubscription?.unsubscribe();\r\n }\r\n\r\n loadRadiationAreas() {\r\n this.radiationAreaItems$ = this.store.select(state => state.RadiationArea.radiationAreaItems);\r\n this.radiationAreaItemSubscription = this.radiationAreaItems$.subscribe(radiationAreaItems => {\r\n if (radiationAreaItems?.length) {\r\n this.radAreas = radiationAreaItems?.filter(ra => ra.status === 1);\r\n const radArea = this.radAreas.find(r => r.id == this.radArea?.id);\r\n if (radArea) {\r\n this.radArea = radArea;\r\n }\r\n }\r\n });\r\n }\r\n\r\n changed() {\r\n this.store.dispatch(new RadiationAreaRefresh());\r\n }\r\n\r\n Validate(): boolean {\r\n if (!this.Name.length || !this.Description.length) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n Save(): void {\r\n this.saving = true;\r\n if (this.Validate()) {\r\n this.radArea = {\r\n id: this.Id,\r\n name: this.Name,\r\n // files: this.Files,\r\n description: this.Description,\r\n status: 1,\r\n createdOn: this.EmisionDate,\r\n createdBy: this.CreatedBy\r\n };\r\n const self = this;\r\n if (this.ItemBackup == null || this.ItemBackup === undefined || this.ItemBackup === '') {\r\n this.radArea.createdOn = new Date();\r\n this.radAreaUploadID = (100000 + (this.radArea.id ?? 0)).toString();\r\n this.RAService.insertRAI(this.radArea).toPromise().then(async res => {\r\n if (this.selectedFiles?.length && res?.id) {\r\n this.radAreaUploadID = res.id.toString();\r\n await this.uploadAttachments(res.id, this.selectedFiles);\r\n }\r\n self.dialogRef.close();\r\n });\r\n }\r\n else {\r\n this.RAService.updateRAI(this.radArea).toPromise().then(async res => {\r\n if (this.selectedFiles?.length && res?.id) {\r\n this.radAreaUploadID = res.id.toString();\r\n await this.uploadAttachments(res.id, this.selectedFiles);\r\n }\r\n self.dialogRef.close();\r\n });\r\n }\r\n } else {\r\n this.saving = false;\r\n }\r\n }\r\n\r\n getSelectedFiles(e: FileList) {\r\n this.selectedFiles = e;\r\n }\r\n\r\n uploadAttachments(id: number, selectedFiles: FileList) {\r\n return new Promise((resolve, reject) => {\r\n this.matFilev2Upload\r\n .uploadRadFiles(id, selectedFiles)\r\n .then(() => {\r\n resolve(true);\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n reject(false);\r\n })\r\n .finally(() => {\r\n this.loading = false;\r\n // this.store.dispatch(new CommentRefreshByID(id));\r\n });\r\n });\r\n }\r\n\r\n Cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n Radiation Areas {{ subtitle }}\r\n
    \r\n
    \r\n
    \r\n \r\n Title\r\n \r\n {{ Name.length || 0 }}/100\r\n You must enter a value\r\n \r\n\r\n \r\n Description\r\n \r\n {{ Description.length || 0 }}/1000\r\n You must enter a value\r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Inject, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { RadiationAreaService } from '../radiation-area-service.service';\r\nimport { RadiationAreaItem } from '../radiation-area-item';\r\n\r\n\r\n@Component({\r\n selector: 'app-radiation-area-attachment',\r\n templateUrl: './radiation-area-attachment.component.html',\r\n styleUrls: ['./radiation-area-attachment.component.scss']\r\n})\r\n\r\nexport class RadiationAreaAttachmentComponent implements OnInit {\r\n @Output() barProgressStatus = new EventEmitter();\r\n\r\n @ViewChild(\"fileDropRef\", { static: false }) fileDropEl!: ElementRef;\r\n\r\n files: any[] = [];\r\n public typeSelected!: number;\r\n // public menuListCategories!: ReviewDocumentCategory[];\r\n // public reviewParameter!: Review;\r\n path!: string;\r\n fileToUpload!: File;\r\n selectedFiles!: FileList;\r\n attachedFiles!: File[];\r\n\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadiationAreaItem, private _service: RadiationAreaService) { }\r\n\r\n ngOnInit(): void {\r\n // this.loadReviewCategories();\r\n // if (this.data) {\r\n // this.reviewParameter = this.data;\r\n // }\r\n }\r\n\r\n // loadReviewCategories() {\r\n // this._service.getReviewDocumentCategories().toPromise().then(result => {\r\n // if (!(result?.length)) {\r\n // result = [];\r\n // }\r\n // this.menuListCategories = result.filter(x => x.status == 1);\r\n // if (this.menuListCategories.length > 0) { this.typeSelected = this.menuListCategories[0].id }\r\n // });\r\n // }\r\n\r\n /**\r\n * on file drop handler\r\n */\r\n onFileDropped(event: any) {\r\n this.prepareFilesList(event);\r\n }\r\n\r\n /**\r\n * handle file from browsing\r\n */\r\n fileBrowseHandler(e: any) {\r\n const files = e.target.files;\r\n if (this.typeSelected && files)\r\n this.prepareFilesList2(files);\r\n }\r\n\r\n /**\r\n * Delete file from files list\r\n * @param index (File index)\r\n */\r\n deleteFile(index: number) {\r\n if (this.files[index].progress < 100) {\r\n console.log(\"Upload in progress.\");\r\n return;\r\n }\r\n this.files.splice(index, 1);\r\n this.attachedFiles = this.files;\r\n }\r\n\r\n /**\r\n * Convert Files list to normal array list\r\n * @param files (Files List)\r\n */\r\n prepareFilesList(files: Array) {\r\n for (const item of files) {\r\n item.progress = 0;\r\n this.files.push(item);\r\n }\r\n this.fileDropEl.nativeElement.value = \"\";\r\n this.uploadFilesSimulator(0);\r\n }\r\n\r\n prepareFilesList2(files: Array) {\r\n for (const item of files) {\r\n let existNameFile = this.files.filter(fileAdded => fileAdded.name.toUpperCase().trim() == item.name.toUpperCase().trim()).length;\r\n if (existNameFile == 0) {\r\n item.progress = 0;\r\n item.CategoryId = this.typeSelected;\r\n this.files.push(item);\r\n }\r\n }\r\n this.attachedFiles = this.files;\r\n this.fileDropEl.nativeElement.value = \"\";\r\n this.uploadFilesSimulator(0);\r\n }\r\n\r\n getFileExtension(fileName: string): string | undefined {\r\n const parts = fileName.split('.');\r\n if (parts.length > 1) {\r\n return parts[parts.length - 1];\r\n }\r\n return undefined;\r\n }\r\n\r\n /**\r\n * format bytes\r\n * @param bytes (File size in bytes)\r\n * @param decimals (Decimals point)\r\n */\r\n formatBytes(bytes: any, decimals = 2) {\r\n if (bytes === 0) {\r\n return \"0 Bytes\";\r\n }\r\n const k = 1024;\r\n const dm = decimals <= 0 ? 0 : decimals;\r\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\r\n const i = Math.floor(Math.log(bytes) / Math.log(k));\r\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\r\n }\r\n\r\n /**\r\n * Simulate the upload process\r\n */\r\n uploadFilesSimulator(index: number) {\r\n setTimeout(() => {\r\n if (index === this.files.length) {\r\n return;\r\n } else {\r\n const progressInterval = setInterval(() => {\r\n if (this.files[index].progress === 100) {\r\n clearInterval(progressInterval);\r\n this.uploadFilesSimulator(index + 1);\r\n } else {\r\n this.files[index].progress += 5;\r\n }\r\n }, 200);\r\n }\r\n }, 500);\r\n }\r\n\r\n SaveFiles() {\r\n this.dialogRef.close(this.files);\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n setPath(folderName: string, holderName: string) {\r\n this.path = \"/\" + folderName + \"/\" + holderName + \"/\";\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","\r\n\r\n
    \r\n \r\n
    \r\n \r\n \"\"\r\n

    Drag and drop file here

    \r\n

    or

    \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n

    \r\n {{ file?.name }}\r\n

    \r\n

    \r\n {{ formatBytes(file?.size) }}\r\n

    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { RadiationAreaItem } from './radiation-area-item';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadiationAreaService {\r\n\r\n public apiRadiationArea: string = environment.urls.baseApiUrl + '/RadiationAreaItem/';\r\n\r\n selectedItem: RadiationAreaItem | null = null;\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n getAll(): Observable {\r\n return this.http.get(this.apiRadiationArea + 'GetAll');\r\n }\r\n getAllActives(): Observable {\r\n return this.http.get(this.apiRadiationArea + 'GetActives');\r\n }\r\n getAllInactives(): Observable {\r\n return this.http.get(this.apiRadiationArea + 'GetInactives');\r\n }\r\n insertRAI(item: RadiationAreaItem): Observable {\r\n return this.http.post(this.apiRadiationArea, item);\r\n }\r\n updateRAI(item: RadiationAreaItem) {\r\n return this.http.put(this.apiRadiationArea + item.id, item);\r\n }\r\n deleteRAI(id: number) {\r\n return this.http.delete(this.apiRadiationArea + id.toString());\r\n }\r\n}\r\n","import { Component, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ModalAddToRAComponent } from './modal-add-to-ra/modal-add-to-ra.component';\r\nimport { RadiationAreaItem } from './radiation-area-item';\r\nimport { RadiationAreaService } from './radiation-area-service.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport FileV2 from '../../../services/file/file-v2.model';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-radiation-area',\r\n templateUrl: './radiation-area.component.html',\r\n styleUrls: ['./radiation-area.component.scss']\r\n})\r\nexport class RadiationAreaComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public radAreas: RadiationAreaItem[] = [];\r\n public radiationAreaItems$!: Observable;\r\n public radiationAreaItemSubscription: Subscription = new Subscription;\r\n\r\n public currentUserSubscription: Subscription = new Subscription;\r\n\r\n public nowdate: Date = new Date();\r\n loading = false;\r\n fileServer!: FileV2 | null;\r\n\r\n public maxHeight = '0px';\r\n\r\n constructor(\r\n public radiationAreaService: RadiationAreaService,\r\n private file2Service: FileV2Service,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getRadiationAreaItems();\r\n this.getCurrentUser();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.responsiveFunction();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.radiationAreaItemSubscription?.unsubscribe();\r\n }\r\n\r\n getRadiationAreaItems() {\r\n this.radiationAreaItems$ = this.store.select(state => state.RadiationArea.radiationAreaItems);\r\n this.radiationAreaItemSubscription = this.radiationAreaItems$.subscribe(radiationAreaItems => {\r\n if (radiationAreaItems?.length) {\r\n this.radAreas = radiationAreaItems?.filter(ra => ra.status === 1).sort((a, b) => (b.id ?? 0) - (a.id ?? 0));\r\n }\r\n });\r\n }\r\n\r\n addRA() {\r\n this.dialog.open(ModalAddToRAComponent, {\r\n maxWidth: '500px'\r\n });\r\n }\r\n\r\n editRA(item: RadiationAreaItem) {\r\n this.radiationAreaService.selectedItem = item;\r\n this.dialog.open(ModalAddToRAComponent, {\r\n maxWidth: '500px'\r\n });\r\n }\r\n\r\n deleteRA(item: RadiationAreaItem) {\r\n const self = this;\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('Rad_Area_Delete').description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && item.id) {\r\n this.radiationAreaService.deleteRAI(item.id).toPromise().then(() => {\r\n // Remove the item from this.radAreas\r\n this.radAreas = this.radAreas.filter(ra => ra.id !== item.id);\r\n });\r\n }\r\n });\r\n }\r\n\r\n responsiveFunction() {\r\n this.innerWidth = window.innerWidth;\r\n this.innerHeight = window.innerHeight;\r\n this.maxHeight = (parseInt((this.innerHeight * 0.50).toFixed(0), 10) - 100) + 'px';\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Radiation Areas
    \r\n
    \r\n \r\n add_box\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {{ radArea.name }}\r\n
    \r\n
    \r\n \r\n more_vert\r\n \r\n \r\n
    \r\n \r\n editEdit\r\n \r\n \r\n deleteDelete\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \"Rad\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ radArea.description }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","import { RadiationAreaItem } from \"../radiation-area-item\";\r\n\r\n\r\nexport class RadiationAreaRefresh {\r\n static readonly type = '[RadiationArea] Refresh';\r\n}\r\n\r\nexport class RadiationAreaCreate {\r\n static readonly type = '[RadiationArea] Create';\r\n constructor(public item: RadiationAreaItem) { }\r\n}\r\n\r\nexport class RadiationAreaUpdate {\r\n static readonly type = '[RadiationArea] Update';\r\n constructor(public id: number, public item: RadiationAreaItem) { }\r\n}\r\n\r\nexport class RadiationAreaDelete {\r\n static readonly type = '[RadiationArea] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, State, Selector, StateContext } from '@ngxs/store';\r\n// import { utils } from 'src/app/modules/Libs/utils';\r\n// import { RadiationAreaService } from 'src/app/Services/RadiationArea/radiation-area-service.service';\r\n// import { RadiationAreaItem } from 'src/app/_interface/RadiationAreaItem';\r\nimport { RadiationAreaRefresh, RadiationAreaCreate, RadiationAreaUpdate, RadiationAreaDelete } from './radiation-area.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { RadiationAreaItem } from '../radiation-area-item';\r\nimport { RadiationAreaService } from '../radiation-area-service.service';\r\n\r\nexport class RadiationAreaStateModel {\r\n radiationAreaItems!: RadiationAreaItem[];\r\n}\r\n\r\n@State({\r\n name: 'RadiationArea',\r\n defaults: {\r\n radiationAreaItems: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RadiationAreaState {\r\n constructor(\r\n private radiationAreaService: RadiationAreaService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RadiationAreaStateModel) {\r\n return state.radiationAreaItems;\r\n }\r\n\r\n @Action(RadiationAreaRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.radiationAreaService.getAll().toPromise().then(data => {\r\n patchState({ radiationAreaItems: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RadiationAreaCreate)\r\n create({ getState, patchState }: StateContext, { item }: RadiationAreaCreate) {\r\n patchState({\r\n radiationAreaItems: [...getState().radiationAreaItems, item]\r\n });\r\n }\r\n\r\n @Action(RadiationAreaUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RadiationAreaUpdate) {\r\n const state = getState();\r\n const index = state.radiationAreaItems.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.radiationAreaItems);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ radiationAreaItems: currentState });\r\n }\r\n }\r\n\r\n @Action(RadiationAreaDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RadiationAreaDelete) {\r\n patchState({\r\n radiationAreaItems: getState().radiationAreaItems.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RadiationAreaActions from './radiation-area.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RadiationAreaStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new RadiationAreaActions.RadiationAreaRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RADIATIONAREA, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RadiationAreaActions.RadiationAreaCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RadiationAreaActions.RadiationAreaUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RadiationAreaActions.RadiationAreaDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RadiationAreaActions.RadiationAreaRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, Inject, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { ToxicGas } from '../toxic-gas';\r\nimport { ToxicGasService } from '../toxic-gas.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\n// import { ToxicGas } from 'src/app/_interface/ToxicGas';\r\n// import { ToxicGasService } from 'src/app/Services/ToxicGas/toxic-gas.service';\r\n\r\n@Component({\r\n selector: 'app-toxic-gas-archive',\r\n templateUrl: './toxic-gase-archive.component.html',\r\n styleUrls: ['./toxic-gase-archive.component.scss']\r\n})\r\nexport class ToxicGasArchiveComponent extends BaseComponent implements OnInit {\r\n @Output() copyItemEvent = new EventEmitter();\r\n\r\n archives: ToxicGas[] = [];\r\n filtered: ToxicGas[] = [];\r\n\r\n\r\n //Filters\r\n Month!: number;\r\n Year!: number;\r\n Filter!: string;\r\n\r\n constructor(\r\n public modal: MatDialogRef,\r\n public service: ToxicGasService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n copy(item: ToxicGas) {\r\n this.modal.close();\r\n this.copyItemEvent.emit(item);\r\n }\r\n\r\n numberOnly(event: any): boolean {\r\n const charCode = (event.which) ? event.which : event.keyCode;\r\n if (charCode > 31 && (charCode < 48 || charCode > 57)) {\r\n return false;\r\n }\r\n\r\n if (event.target.name == \"Month\") {\r\n const currentMonth = this.Month ? this.Month.toString() : \"0\"\r\n const testMonth = Number(currentMonth + event.key);\r\n if (testMonth > 12)\r\n return false;\r\n } else if (event.target.name == \"Year\") {\r\n const currentYear = this.Year ? this.Year.toString() : \"0\"\r\n const testYear = Number(currentYear + event.key);\r\n if (testYear > (new Date()).getFullYear())\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n filterHistory() {\r\n let query: ToxicGas[] = this.archives;\r\n if (!isNaN(this.Month) && this.Month) {\r\n const searchMonth = this.Month - 1;\r\n query = query.filter(item => \r\n (new Date(item.createdOn).getMonth() == searchMonth) ||\r\n (new Date(item.updatedOn).getMonth() == searchMonth) ||\r\n (new Date(item.date).getMonth() == searchMonth));\r\n }\r\n\r\n if (!isNaN(this.Year) && this.Year) {\r\n query = query.filter(item => \r\n (new Date(item.createdOn).getFullYear() == this.Year) ||\r\n (new Date(item.updatedOn).getFullYear() == this.Year) ||\r\n (new Date(item.date).getFullYear() == this.Year));\r\n }\r\n\r\n if (this.Filter && this.Filter != \"\") {\r\n const searchTerm = this.Filter.toLowerCase();\r\n query = query.filter(item => \r\n item.name.toLowerCase().includes(searchTerm) ||\r\n item.description.toLowerCase().includes(searchTerm) ||\r\n item.createdByUser?.toLowerCase().includes(searchTerm) ||\r\n item.updatedByUser?.toLowerCase().includes(searchTerm) ||\r\n item.responsibleParty?.toLowerCase().includes(searchTerm));\r\n }\r\n\r\n this.filtered = query;\r\n }\r\n\r\n ngOnInit() {\r\n const self = this;\r\n this.service.getArchive().subscribe({\r\n next(data: ToxicGas[]) {\r\n self.archives = self.service.loadArchives(data);\r\n self.filterHistory();\r\n },\r\n error(msg) {\r\n console.log(msg);\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n Toxic Gas ARCHIVE\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Search\r\n \r\n search\r\n \r\n
    \r\n
    \r\n \r\n Month\r\n \r\n MM\r\n \r\n
    \r\n
    \r\n \r\n Year\r\n \r\n YYYY\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n \r\n \r\n file_copy\r\n \r\n
    \r\n
    Location: {{ item.description }}
    \r\n
    Gas: {{ item.name }}
    \r\n
    \r\n \r\n Roof Access : {{ item.roofAccess ? \"OK\" : \"Not OK\" }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Creates by {{ item.createdByUser }} on\r\n {{ item.createdOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n Last edited by {{ item.updatedByUser }} on\r\n {{ item.updatedOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { FormGroup, FormBuilder, Validators, AbstractControl } from '@angular/forms';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ToxicGas } from '../toxic-gas';\r\nimport { ToxicGasService } from '../toxic-gas.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-toxic-gas-editor',\r\n templateUrl: './toxic-gas-editor.component.html',\r\n styleUrls: ['./toxic-gas-editor.component.scss']\r\n})\r\n\r\nexport class ToxicGasEditorComponent implements OnInit {\r\n @Input()\r\n dataItem!: ToxicGas;\r\n @Output() returnedItemEvent = new EventEmitter();\r\n\r\n //form values\r\n Id: number = 0;\r\n Username?: string;\r\n Date!: Date | null;\r\n Location!: string;\r\n Gas!: string;\r\n RoofAccess!: string;\r\n ResponsibleParty?: string;\r\n\r\n //flow\r\n subtitle!: string;\r\n saving!: boolean;\r\n\r\n //formGroup\r\n toxicGasForm!: FormGroup;\r\n get location(): AbstractControl | null { return this.toxicGasForm.get(\"location\"); }\r\n get gas(): AbstractControl | null { return this.toxicGasForm.get(\"gas\"); }\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n public service: ToxicGasService,\r\n private formBuilder: FormBuilder\r\n ) { }\r\n\r\n validate(): boolean {\r\n if (this.Date == null || this.Date == undefined) { return false; }\r\n if (utils.IsNullOrWhiteSpace(this.Location)) { return false; }\r\n if (utils.IsNullOrWhiteSpace(this.Gas)) { return false; }\r\n if (this.RoofAccess.length == 0 || this.RoofAccess == null || this.RoofAccess == undefined) { return false; }\r\n return true;\r\n }\r\n\r\n save() {\r\n if (this.validate()) {\r\n const self = this;\r\n this.saving = true;\r\n this.service.save({\r\n id: this.Id,\r\n name: this.Gas,\r\n description: this.Location,\r\n date: this.Date ?? new Date(),\r\n responsibleParty: this.ResponsibleParty,\r\n roofAccess: this.RoofAccess == \"true\"\r\n }).subscribe({\r\n next(returnedItem: ToxicGas) {\r\n self.returnedItemEvent.emit(returnedItem);\r\n },\r\n error(msg) {\r\n console.log(msg);\r\n },\r\n complete() {\r\n self.dialogRef.close();\r\n self.saving = false;\r\n }\r\n });\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.initializeForm();\r\n if (this.dataItem != null && this.dataItem != undefined) {\r\n this.subtitle = this.dataItem.id == 0 ? this.dataItem.name == \"\" ? \"NEW\" : \"COPY\" : \"EDIT\";\r\n this.Id = this.dataItem.id;\r\n this.Username = this.dataItem.createdByUser;\r\n this.Location = this.dataItem.description;\r\n this.Gas = this.dataItem.name;\r\n this.Date = this.dataItem.date;\r\n this.RoofAccess = this.dataItem.roofAccess.toString();\r\n this.ResponsibleParty = this.dataItem.responsibleParty;\r\n }\r\n }\r\n\r\n initializeForm() {\r\n this.toxicGasForm = this.formBuilder.group({\r\n location: [{ value: '', disabled: this.saving }, [Validators.required, utils.IsWhiteSpaceReactiveForm]],\r\n gas: [{ value: '', disabled: this.saving }, [Validators.required, utils.IsWhiteSpaceReactiveForm]],\r\n responsibleParty: [{ value: '', disabled: this.saving }]\r\n });\r\n }\r\n\r\n getErrorMsg(control: AbstractControl | null): string | null {\r\n if (control) {\r\n if (control.hasError(\"required\")) return \"You must enter a value\";\r\n if (control.hasError(\"hasWhiteSpace\")) return \"Enter a valid value\";\r\n }\r\n return null;\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ dataItem.id ? \"Edit \" : \"Add \" }}Toxic Gas\r\n
    \r\n
    \r\n
    \r\n \r\n Username\r\n \r\n \r\n\r\n \r\n Date\r\n \r\n \r\n close\r\n \r\n \r\n \r\n You must enter a date\r\n \r\n\r\n \r\n Location\r\n \r\n {{\r\n getErrorMsg(location)\r\n }}\r\n \r\n\r\n \r\n Gas\r\n \r\n {{ getErrorMsg(gas) }}\r\n \r\n\r\n \r\n Responsible Party\r\n \r\n \r\n\r\n
    \r\n Roof Access\r\n \r\n OK\r\n Not OK\r\n \r\n You must select an option\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { ToxicGas } from \"../../toxic-gas\";\r\n\r\n\r\nexport class ToxicGasRefresh {\r\n static readonly type = '[ToxicGas] Refresh';\r\n}\r\n\r\nexport class ToxicGasCreate {\r\n static readonly type = '[ToxicGas] Create';\r\n\r\n constructor(public item: ToxicGas) { }\r\n}\r\n\r\nexport class ToxicGasUpdate {\r\n static readonly type = '[ToxicGas] Update';\r\n\r\n constructor(public id: number, public item: ToxicGas) { }\r\n}\r\n\r\nexport class ToxicGasDelete {\r\n static readonly type = '[ToxicGas] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ToxicGasCreate, ToxicGasDelete, ToxicGasRefresh, ToxicGasUpdate } from './toxic-gas.action';\r\nimport { ToxicGas } from '../../toxic-gas';\r\nimport { ToxicGasService } from '../../toxic-gas.service';\r\n\r\nexport class ToxicGasStateModel {\r\n data: ToxicGas[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ToxicGas',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ToxicGasState {\r\n constructor(\r\n private _service: ToxicGasService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ToxicGasStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ToxicGasRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().toPromise().then(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ToxicGasCreate)\r\n create({ getState, patchState }: StateContext, { item }: ToxicGasCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ToxicGasUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ToxicGasUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ToxicGasDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ToxicGasDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ToxicGasActions from './toxic-gas.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ToxicGasStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ToxicGasActions.ToxicGasRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.TOXIC_GAS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ToxicGasActions.ToxicGasCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ToxicGasActions.ToxicGasUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ToxicGasActions.ToxicGasDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ToxicGasActions.ToxicGasRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, HostListener, AfterViewInit, Inject, Injector, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { ToxicGasEditorComponent } from './editor/toxic-gas-editor.component';\r\nimport { ToxicGasArchiveComponent } from './archive/toxic-gase-archive.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ToxicGas } from './toxic-gas';\r\nimport { ToxicGasService } from './toxic-gas.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-toxic-gas-panel',\r\n templateUrl: './toxic-gas-panel.component.html',\r\n styleUrls: ['./toxic-gas-panel.component.scss']\r\n})\r\nexport class ToxicGasPanelComponent extends BaseComponent implements OnInit, AfterViewInit {\r\n\r\n maxHeight: number | null = null;\r\n loading = false;\r\n actives: ToxicGas[] = [];\r\n\r\n toxicGases?: ToxicGas[];\r\n toxicGasesFiltered?: ToxicGas[];\r\n toxicGases$!: Observable;\r\n toxicGasesSubs!: Subscription;\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private document: Document,\r\n public toxicGasService: ToxicGasService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n // private removeItemById(id: number) {\r\n // const index = this.actives.findIndex(item => item.id === id);\r\n // if (index !== -1) {\r\n // this.actives.splice(index, 1);\r\n // }\r\n // }\r\n\r\n showArchive() {\r\n const self = this;\r\n const modal = this.dialog.open(ToxicGasArchiveComponent, { maxHeight: '500px' });\r\n modal.componentInstance.copyItemEvent.subscribe((itemToCopy: ToxicGas) => {\r\n itemToCopy.id = 0;\r\n self.showEdit(itemToCopy);\r\n });\r\n }\r\n\r\n showAdd() {\r\n this.showEdit({\r\n id: 0,\r\n name: '',\r\n description: '',\r\n date: new Date(),\r\n roofAccess: true,\r\n responsibleParty: '',\r\n createdByUser: this.getCurrentUser()?.name,\r\n });\r\n }\r\n\r\n // showEdit(item: ToxicGas) {\r\n // const self = this;\r\n // const modal = this.dialog.open(ToxicGasEditorComponent, { width: '500px' });\r\n // modal.componentInstance.dataItem = item;\r\n // modal.componentInstance.returnedItemEvent.subscribe((returnedItem: ToxicGas) => {\r\n // this.loading = true;\r\n\r\n // self.removeItemById(returnedItem.id);\r\n // self.actives.push(returnedItem);\r\n // self.actives = self.toxicGasService.loadActives(self.actives);\r\n\r\n // this.loading = false;\r\n // });\r\n\r\n // this.closeAllMenus();\r\n // }\r\n\r\n showEdit(item: ToxicGas): void {\r\n const modal = this.dialog.open(ToxicGasEditorComponent, { width: '500px' });\r\n modal.componentInstance.dataItem = item;\r\n\r\n modal.componentInstance.returnedItemEvent.subscribe((returnedItem: ToxicGas) => {\r\n this.handleReturnedItem(returnedItem);\r\n });\r\n\r\n this.closeAllMenus();\r\n }\r\n\r\n private handleReturnedItem(returnedItem: ToxicGas): void {\r\n this.loading = true;\r\n\r\n const updatedActives = this.actives\r\n .filter(item => item.id !== returnedItem.id)\r\n .concat(returnedItem);\r\n\r\n this.actives = updatedActives.map(i => ({\r\n ...i,\r\n createdByInitials: this.users.find(u => u.id === i.createdBy)?.initials || '',\r\n updatedByInitials: this.users.find(u => u.id === i.updatedBy)?.initials || ''\r\n })).sort((a, b) => (a.roofAccess === b.roofAccess ? 0 : a.roofAccess ? 1 : -1));;\r\n // this.actives = this.toxicGasService.loadActives(this.actives);\r\n this.loading = false;\r\n }\r\n\r\n archive(id: number) {\r\n this.closeAllMenus();\r\n this.toxicGasService.archive(id).toPromise().then(archiveItem => {\r\n if (archiveItem)\r\n // this.removeItemById(archiveItem.id);\r\n this.actives = this.actives.filter(item => item.id !== archiveItem.id);\r\n // this.actives = this.toxicGasService.loadActives(this.actives);\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n toggleMenu(i: number) {\r\n const element = this.document.getElementById('toxicgas-menu-' + i.toString());\r\n if (element) {\r\n element.classList.toggle('collapse');\r\n\r\n if (!element.classList.contains('collapse')) {\r\n const rect = element.parentElement?.getBoundingClientRect();\r\n element.style.top = (rect?.top ?? 0 + 30) + 'px;';\r\n element.style.left = (rect?.right ?? 0 - 40) + 'px;';\r\n }\r\n }\r\n }\r\n\r\n closeAllMenus() {\r\n this.document.querySelectorAll('div.toxicgas-menu:not(.collapse)')\r\n .forEach(menu => { menu.classList.add('collapse'); });\r\n }\r\n\r\n ngOnInit() {\r\n this.getUserTable().then(() => this.loadToxicGases());\r\n }\r\n\r\n\r\n getUserTable(): Promise {\r\n return new Promise(resolve => {\r\n const checkUsers = setInterval(() => {\r\n this.users = super.getUsers();\r\n if (this.users && this.users.length > 0) {\r\n clearInterval(checkUsers);\r\n resolve();\r\n }\r\n }, 100); // Check every 100ms\r\n });\r\n }\r\n\r\n\r\n loadToxicGases() {\r\n this.loading = true;\r\n this.toxicGases$ = this.store.select(state => state.ToxicGas.data);\r\n this.toxicGasesSubs = this.toxicGases$.subscribe(data => {\r\n if (data?.length) {\r\n this.toxicGases = data;\r\n this.actives = this.toxicGases\r\n .filter(t => t.status == 1)\r\n .sort((a, b) => (a.roofAccess === b.roofAccess ? 0 : a.roofAccess ? 1 : -1))\r\n .map(i => ({\r\n ...i,\r\n createdByInitials: this.users.find(u => u.id === i.createdBy)?.initials || '',\r\n updatedByInitials: this.users.find(u => u.id === i.updatedBy)?.initials || ''\r\n }));\r\n\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n refresh() {\r\n // this.responsiveFunction();\r\n this.loading = true;\r\n this.toxicGasService.getActive().toPromise().then(toxicGas => {\r\n if (toxicGas)\r\n this.actives = this.toxicGasService.loadActives(toxicGas);\r\n this.loading = false;\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n\r\n ;\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n // this.responsiveFunction();\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: { target: { innerWidth: any; innerHeight: any; }; }) {\r\n this.innerWidth = event.target.innerWidth;\r\n this.innerHeight = event.target.innerHeight;\r\n this.maxHeight = parseInt((this.innerHeight * 0.45).toFixed(0), 10);\r\n }\r\n\r\n // responsiveFunction() {\r\n // this.innerWidth = window.innerWidth;\r\n // this.innerHeight = window.innerHeight;\r\n // this.maxHeight = parseInt((this.innerHeight * 0.45).toFixed(0), 10);\r\n // }\r\n}\r\n","
    \r\n
    \r\n
    Toxic Gas
    \r\n
    \r\n \r\n history\r\n \r\n \r\n add_box\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Roof Access : {{ item.roofAccess ? \"OK\" : \"Not OK\" }}\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n more_vert\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Location: {{ item.description }} \r\n
    \r\n
    \r\n
    \r\n
    \r\n Gas: {{ item.name }} \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Responsible: {{ item.responsibleParty }} \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Created by {{ item.createdByInitials }} on\r\n {{ item.createdOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Last edited by {{ item.updatedByInitials }} on\r\n {{ item.updatedOn | date : \"yyyy-MM-dd\" }}.\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ToxicGas } from './toxic-gas';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ToxicGasService {\r\n constructor(\r\n private http: HttpClient\r\n ) {\r\n }\r\n\r\n // private OrderBy(a: ToxicGas, b: ToxicGas): number {\r\n // const roofAccess = a.roofAccess === b.roofAccess ? 0 : a.roofAccess ? 1 : -1;\r\n // return roofAccess === 0 ? a.date > b.date ? -1 : a.date < b.date ? 1 : 0 : roofAccess;\r\n // }\r\n\r\n OrderByDate(a: ToxicGas, b: ToxicGas): number {\r\n return a.date > b.date ? -1 : a.date < b.date ? 1 : 0;\r\n }\r\n\r\n loadActives(list: ToxicGas[]): ToxicGas[] {\r\n list.map(item => {\r\n if (item.date != null) {\r\n item.date = new Date(item.date);\r\n }\r\n });\r\n\r\n // return list.sort(this.OrderBy);\r\n return list.sort((a, b) => (a.roofAccess === b.roofAccess ? 0 : a.roofAccess ? 1 : -1));\r\n }\r\n\r\n loadArchives(list: ToxicGas[]): ToxicGas[] {\r\n list.map(item => {\r\n if (item.date != null) {\r\n item.date = new Date(item.date);\r\n }\r\n });\r\n\r\n return list.sort(this.OrderByDate);\r\n }\r\n\r\n getActive(): Observable {\r\n const result = this.http.get(\r\n environment.urls.baseApiUrl + '/ToxicGas/GetActives'\r\n );\r\n\r\n return result;\r\n }\r\n\r\n getArchive(): Observable {\r\n const result = this.http.get(\r\n environment.urls.baseApiUrl + '/ToxicGas/GetInactives'\r\n );\r\n\r\n return result;\r\n }\r\n\r\n getAll(): Observable {\r\n const result = this.http.get(\r\n environment.urls.baseApiUrl + '/ToxicGas'\r\n );\r\n\r\n return result;\r\n }\r\n\r\n save(item: ToxicGas): Observable {\r\n return !item.id ? this.insert(item) : this.update(item);\r\n }\r\n\r\n private insert(item: ToxicGas): Observable {\r\n const result = this.http.post(\r\n environment.urls.baseApiUrl + '/ToxicGas/',\r\n item\r\n );\r\n\r\n return result;\r\n }\r\n\r\n private update(item: ToxicGas): Observable {\r\n const result = this.http.put(\r\n environment.urls.baseApiUrl + '/ToxicGas/' + item.id.toString(),\r\n item\r\n );\r\n\r\n return result;\r\n }\r\n\r\n archive(id: number): Observable {\r\n const result = this.http.delete(\r\n environment.urls.baseApiUrl + '/ToxicGas/' + id.toString()\r\n );\r\n\r\n return result;\r\n }\r\n\r\n}\r\n","import { Component, ViewChild, Input, Output, EventEmitter, OnDestroy, OnInit, HostListener, ElementRef, Injector, OnChanges, SimpleChanges, ViewChildren, QueryList } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ShutterResource, Resource, BeamlineShutterRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { ProcedureTypeEnum } from '../../procedure/enums/procedure-type.enum';\r\nimport { ProcedureCategory } from '../../procedure/models/procedure-category.model';\r\nimport { Procedure } from '../../procedure/models/procedure.model';\r\nimport { KEVersionResource } from '../ke';\r\nimport { KeChecklistBuilderService } from './ke-checklist-builder.service';\r\nimport { KeClBuilderSectionComponent } from './ke-cl-builder-section/ke-cl-builder-section.component';\r\nimport { ComponentsStoreAndListenersService } from '../../checklists/store/components/components.store';\r\nimport { Roles } from 'src/app/common/enumerations/enumerations';\r\nimport moment from 'moment';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\n\r\n\r\n@Component({\r\n selector: 'ke-checklist-builder',\r\n templateUrl: './ke-checklist-builder.component.html',\r\n styleUrls: ['./ke-checklist-builder.component.scss']\r\n})\r\nexport class KeChecklistBuilderComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() beamlineShutter?: BeamlineShutterRelation;\r\n // @Output() requestRefresh = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild('section1') section1!: KeClBuilderSectionComponent;\r\n @ViewChild('section2') section2!: KeClBuilderSectionComponent;\r\n @ViewChild('section3') section3!: KeClBuilderSectionComponent;\r\n @ViewChild('section4') section4!: KeClBuilderSectionComponent;\r\n @ViewChild('section5') section5!: KeClBuilderSectionComponent;\r\n @ViewChild('section6') section6!: KeClBuilderSectionComponent;\r\n\r\n @ViewChildren(KeClBuilderSectionComponent) sections!: QueryList;\r\n\r\n @ViewChild('headerTop')\r\n headerTop!: ElementRef;\r\n\r\n @ViewChild(MatAutocompleteTrigger)\r\n brTrigger!: MatAutocompleteTrigger;\r\n\r\n shutter!: ShutterResource | null;\r\n resource!: Resource;\r\n\r\n selectedTab!: boolean;\r\n\r\n showBranchlines = false;\r\n createAllowed!: boolean | null;\r\n // saving!: boolean;\r\n // duplicating!: boolean;\r\n keGlobal?: string;\r\n userName?: string;\r\n // deleting!: boolean;\r\n\r\n status?: number | null;\r\n\r\n allShutters: ShutterResource[] = [];\r\n filteredShutters: ShutterResource[] = [];\r\n\r\n version?: KEVersionResource | null;\r\n activeVersion?: KEVersionResource | null;\r\n\r\n versions!: KEVersionResource[];\r\n\r\n //#region Procedures\r\n procedureCategories$!: Observable;\r\n procedures$!: Observable;\r\n\r\n procedureCategoriesSubscription!: Subscription;\r\n procedureSubscription!: Subscription;\r\n\r\n procedureCategories: ProcedureCategory[] = [];\r\n procedures: Procedure[] = [];\r\n proceduresFiltered: Procedure[] = [];\r\n //#endregion\r\n\r\n tmpShutter!: string;\r\n tmpBranchline?: string | null;\r\n tmpVersion!: string;\r\n\r\n buttonText!: string;\r\n radioSelection!: number;\r\n\r\n beamlines!: string;\r\n branchlines!: Resource[];\r\n\r\n wfTableId?: number | null;\r\n disableSections = true;\r\n\r\n brOptions: any[] = [{ label: 'Full', value: 1, checked: true }, { label: 'Abbreviated', value: 0 }];\r\n\r\n // #Form Controls\r\n public form!: FormGroup;\r\n locationCtrl = new FormControl();\r\n branchlineCtrl = new FormControl();\r\n versionCtrl = new FormControl();\r\n\r\n disabled!: boolean;\r\n approveAllowed!: boolean | null;\r\n disapprove!: boolean;\r\n disableControls!: boolean;\r\n locLoading!: boolean;\r\n\r\n headerOnTop!: boolean;\r\n\r\n keVersion?: KEVersionResource;\r\n keVersions?: KEVersionResource[];\r\n keVersions$!: Observable;\r\n keVersionsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _res: ResourcesService,\r\n private _keBuilder: KeChecklistBuilderService,\r\n private _placeholder: PlaceholdersService,\r\n private componentsStore: ComponentsStoreAndListenersService\r\n ) {\r\n super(injector);\r\n\r\n componentsStore.initListeners();\r\n componentsStore.initStore();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['beamlineShutter']?.currentValue?.beamlineId != changes['beamlineShutter']?.previousValue?.beamlineId)\r\n this.getDetails(this.beamlineShutter);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.procedureCategoriesSubscription?.unsubscribe();\r\n this.procedureSubscription?.unsubscribe();\r\n this.keVersionsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n this.disapprove = false;\r\n this.setButtons();\r\n this.loadProcedures();\r\n this.loadKEVersions();\r\n }\r\n\r\n loadKEVersions() {\r\n this.keVersions$ = this.store.select(state => state.KEVersions.data);\r\n this.keVersionsSubs = this.keVersions$.subscribe(data => {\r\n if (data?.length) {\r\n this.keVersions = data;\r\n if (this.version && this.version.id == data[data.length - 1].id) {\r\n this.refreshSections();\r\n }\r\n }\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n locationCtrl: this.locationCtrl,\r\n versionCtrl: this.versionCtrl\r\n });\r\n if (!this.currentUser) {\r\n this.disabled = true;\r\n this.form.disable();\r\n this.versionCtrl.enable();\r\n } else {\r\n this.disabled = false;\r\n this.form.enable();\r\n }\r\n }\r\n\r\n //#region Locations component functions:\r\n loadAllLocations() {\r\n this.locLoading = true;\r\n this._res.getShutters().subscribe((data) => {\r\n this.allShutters = data;\r\n this.filterShutters();\r\n });\r\n }\r\n\r\n loadProcedures() {\r\n this.procedureCategories$ = this.store.select(state => state.ProcedureCategory.ProcedureCategories);\r\n this.procedureCategoriesSubscription = this.procedureCategories$.subscribe((categories) => {\r\n this.procedureCategories = categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.KEChecklist);\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.procedureSubscription = this.procedures$.subscribe(procedures => {\r\n if (procedures) {\r\n this.procedures = procedures.filter(x => this.procedureCategories.map(c => c.id).includes(x.procedureCategoryID) && x.status === 1 && x.active);\r\n this.procedures.sort((a, b) => this.utils.sort(a.procedureNumber, b.procedureNumber, true));\r\n this.proceduresFiltered = this.procedures;\r\n }\r\n });\r\n });\r\n }\r\n\r\n onLocChange(code?: string) {\r\n if (!code?.includes('Arrow')) {\r\n this.filterShutters();\r\n this.filteredShutters = this.filteredShutters.filter(loc => loc.name.toLowerCase().includes(this.locationCtrl.value.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n filterShutters() {\r\n this.filteredShutters = [];\r\n this.filteredShutters = this.allShutters.filter(b => b.id != (this.shutter ? this.shutter.id : 0));\r\n this.locLoading = false;\r\n }\r\n\r\n getDetails(e?: BeamlineShutterRelation, selectedTab?: boolean) {\r\n this.activeVersion = null;\r\n this.shutter = null;\r\n if (e) {\r\n this.selectedTab = selectedTab ?? false;\r\n this.loading.emit(true);\r\n if (e.shutterId)\r\n this._res.getShutter(e.shutterId).subscribe(data => {\r\n this.showBranchlines = false;\r\n this.shutter = data;\r\n this.tmpShutter = this.shutter.name;\r\n this.showBeamline(this.shutter.beamline);\r\n this.resource = this.shutter as Resource;\r\n\r\n this.branchlines = this.shutter.branchlines;\r\n if (this.branchlines.length) {\r\n this.branchlines.unshift(this.shutter as Resource);\r\n this.resource = this.shutter as Resource;\r\n this.tmpBranchline = this.shutter.name;\r\n this.branchlineCtrl.setValue(this.resource);\r\n this.showBranchlines = true;\r\n }\r\n this._placeholder.setKeyValuePairs(this.resource, true).then(() => {\r\n this.wfTableId = this.shutter?.wfTableID;\r\n this.getVersion();\r\n this.setButtons();\r\n this.refresh();\r\n });\r\n });\r\n else {\r\n this.loading.emit(false);\r\n }\r\n }\r\n else this.loading.emit(false);\r\n }\r\n\r\n refreshDetails() {\r\n const branchline = this.branchlineCtrl.value;\r\n const version = this.versionCtrl.value;\r\n if (this.shutter?.id)\r\n this._res.getShutter(this.shutter.id).subscribe(data => {\r\n this.shutter = data;\r\n this.tmpShutter = this.shutter.name;\r\n this.showBeamline(this.shutter.beamline);\r\n this.resource = this.shutter as Resource;\r\n this.branchlines = this.shutter.branchlines;\r\n if (this.branchlines.length != 0) {\r\n this.branchlines.unshift(this.shutter as Resource);\r\n }\r\n if (branchline) {\r\n this.branchlineCtrl.setValue(this.branchlines.find(x => x.id == branchline.id));\r\n this.tmpBranchline = this.branchlineCtrl.value.name;\r\n this.resource = this.branchlineCtrl.value;\r\n }\r\n else {\r\n this.resource = this.shutter as Resource;\r\n }\r\n\r\n this.getVersion();\r\n this.versions = this.filterVersions();\r\n this.versionCtrl.setValue(this.versions.find(v => v.id == version.id));\r\n this.version = this.versionCtrl.value;\r\n this.setButtons();\r\n });\r\n else this.loading.emit(false);\r\n }\r\n\r\n getVersion(version?: KEVersionResource) {\r\n this.versions = this.filterVersions();\r\n if (this.versions.length == 0 && this.selectedTab) {\r\n this.alert.warning(this.getMessage('KENoVersionsFound').description);\r\n }\r\n\r\n if (version) {\r\n this.version = version;\r\n this.userName = this.version.updatedByName;\r\n }\r\n else {\r\n this.activeVersion = this.versions.find(v => (v.wfTableID == this.resource.wfTableID && v.branchlineId == this.resource.id && v.type == this.radioSelection && this.radioSelection == 1) || (v.wfTableID == this.resource.wfTableIDAbreviated && v.branchlineId == this.resource.id && v.type == this.radioSelection && this.radioSelection == 0));\r\n\r\n if (this.versions.length) {\r\n this.version = this.versions[this.versions.length - 1];\r\n this.keGlobal = this.version.wfTableConfig?.name;\r\n this.userName = this.version.updatedByName;\r\n this.radioSelection = this.version.type;\r\n this.wfTableId = this.version.wfTableID;\r\n this.resource = this.shutter?.branchlines && this.shutter.branchlines.length ? this.shutter.branchlines.find(b => b.id == this.version?.branchlineId) as Resource : this.shutter as Resource;\r\n }\r\n else {\r\n this.version = null;\r\n this.keGlobal = '';\r\n this.userName = '';\r\n this.wfTableId = 0;\r\n }\r\n }\r\n this.versionCtrl.setValue(this.version);\r\n this.tmpVersion = this.activeVersion ? this.activeVersion.name : '';\r\n this.approveAllowed = this.hasRoles([Roles.SA]) && this.shutter && this.activeVersion != this.versionCtrl.value && this.version?.updatedBy != this.currentUser?.id;\r\n }\r\n\r\n setButtons() {\r\n if (!this.hasRoles([Roles.KEE])) {\r\n this.buttonText = '';\r\n }\r\n else {\r\n this.buttonText = 'Create New';\r\n }\r\n this.status = this.activeVersion &&\r\n (this.activeVersion == this.versionCtrl.value ? 1 : moment(this.activeVersion.createdOn).isBefore(this.versionCtrl.value.createdOn) ? 0 : 2);\r\n\r\n this.createAllowed = (this.shutter && this.radioSelection > 0 && this.hasRoles([Roles.KEE])) ?? false;\r\n\r\n this.approveAllowed = this.hasRoles([Roles.SA]) &&\r\n this.shutter &&\r\n this.versionCtrl.value &&\r\n this.activeVersion != this.versionCtrl.value &&\r\n this.wfTableId != 0 &&\r\n this.wfTableId &&\r\n this.currentUser?.id != this.version?.updatedBy;\r\n\r\n this.userName = this.version?.updatedByName;\r\n\r\n this.disableSections = this.status != 0 || !this.hasRoles([Roles.KEE]) ||\r\n (this.status == 0 && this.currentUser?.id != this.version?.createdBy);\r\n }\r\n\r\n displayShutter(shutter: Resource) {\r\n return shutter ? shutter.name : null;\r\n }\r\n\r\n displayVersion(version: KEVersionResource) {\r\n return version ? version.name : null;\r\n }\r\n\r\n //#endregion\r\n\r\n //#region Branchlines\r\n selectedBranchline(event: MatAutocompleteSelectedEvent) {\r\n this.resource = event.option.value;\r\n this.tmpBranchline = this.resource.name;\r\n this.wfTableId = this.radioSelection == 1 ? this.resource.wfTableID : this.resource.wfTableIDAbreviated;\r\n\r\n this.getVersion();\r\n this.refresh();\r\n }\r\n\r\n displayBranchline(branchline: Resource) {\r\n return branchline ? branchline.name : null;\r\n }\r\n\r\n isBefore(a?: Date, b?: Date) {\r\n return moment(a).isBefore(b);\r\n }\r\n\r\n isAfter(a?: Date, b?: Date) {\r\n return moment(a).isAfter(b);\r\n }\r\n\r\n //#endregion\r\n\r\n refresh(loading = true) {\r\n this.setButtons();\r\n this.loading.emit(false);\r\n }\r\n\r\n setLoading() {\r\n this.loading.emit(this.section1?.loading || this.section2?.loading || this.section3?.loading || this.section4?.loading || this.section5?.loading || this.section6?.loading);\r\n }\r\n\r\n refreshHead() {\r\n this.refreshDetails();\r\n }\r\n\r\n showBeamline(bls: Resource) {\r\n\r\n if (bls != null) {\r\n this.beamlines = 'Affects ' + bls.name;\r\n this.disabled = false;\r\n }\r\n else {\r\n this.beamlines = '[No related Beamline found]';\r\n this.disabled = true;\r\n }\r\n }\r\n\r\n create() {\r\n if (!this.resource || this.resource.id == 0 || !this.shutter) { return; }\r\n\r\n this.loading.emit(true);\r\n const keVersion: KEVersionResource = {\r\n name: this.shutter.name,\r\n requesterId: this.currentUser?.id ?? 0,\r\n shutterId: this.shutter.id ?? 0,\r\n branchlineId: this.resource.id,\r\n status: 0,\r\n type: this.radioSelection\r\n };\r\n\r\n this._keBuilder.CreateChecklistTemplate(keVersion).subscribe(data => {\r\n this.shutter = data;\r\n this.getVersion();\r\n\r\n const lastVersion = this.versions[this.versions.length - 1];\r\n this.wfTableId = lastVersion.wfTableID;\r\n this.version = lastVersion;\r\n this.versionCtrl.setValue(this.version);\r\n this.keGlobal = this.version.wfTableConfig?.name;\r\n this.userName = this.version.updatedByName;\r\n // if (this.resource?.id == this.shutter.id) {\r\n // this.requestRefresh.emit(this.shutter.beamline.id);\r\n // }\r\n this.refresh();\r\n },\r\n error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n recreate() {\r\n if (!this.shutter) return;\r\n const selectedVersion = this.version;\r\n this.loading.emit(true);\r\n const keVersion: KEVersionResource = {\r\n name: this.shutter.name,\r\n requesterId: this.currentUser?.id ?? 0,\r\n shutterId: this.shutter.id ?? 0,\r\n branchlineId: this.resource.id,\r\n status: 0,\r\n type: this.radioSelection,\r\n wfTableID: this.version?.wfTableID\r\n };\r\n\r\n this._keBuilder.ReCreateChecklistTemplate(keVersion).subscribe(data => {\r\n this.shutter = data;\r\n this.getVersion();\r\n\r\n this.wfTableId = selectedVersion?.wfTableID;\r\n this.version = this.versions.find(x => x.id == selectedVersion?.id);\r\n this.versionCtrl.setValue(this.version);\r\n this.keGlobal = this.version?.wfTableConfig?.name;\r\n this.userName = this.version?.updatedByName;\r\n this.loading.emit(false);\r\n this.refresh();\r\n this.refreshSections();\r\n },\r\n error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n refreshSections() {\r\n this.sections.map(s => s.refresh(this.version?.wfTableID));\r\n }\r\n\r\n duplicate() {\r\n if (!this.version || this.version.id == 0 || !this.shutter) { return; }\r\n\r\n this.loading.emit(true);\r\n\r\n const keVersion: KEVersionResource = {\r\n name: this.shutter.name,\r\n requesterId: this.currentUser?.id ?? 0,\r\n shutterId: this.shutter.id ?? 0,\r\n branchlineId: this.resource.id,\r\n status: 0,\r\n type: this.radioSelection,\r\n wfTableID: this.version.wfTableID\r\n };\r\n\r\n this._keBuilder.CreateChecklistTemplate(keVersion).subscribe(data => {\r\n this.shutter = data;\r\n this.getVersion();\r\n\r\n const lastVersion = this.versions[this.versions.length - 1];\r\n this.wfTableId = lastVersion.wfTableID;\r\n this.version = lastVersion;\r\n this.versionCtrl.setValue(lastVersion);\r\n this.keGlobal = this.version.wfTableConfig?.name;\r\n this.userName = this.version.updatedByName;\r\n this.loading.emit(false);\r\n this.showSelectedVersion();\r\n // this.store.dispatch(new BeamlineShutterRefresh());\r\n });\r\n }\r\n\r\n delete() {\r\n if (!this.version?.id) { return; }\r\n this.loading.emit(true);\r\n this._keBuilder.DeleteVersion(this.version.id).subscribe(data => {\r\n this.shutter = data;\r\n this.getVersion();\r\n this.showSelectedVersion();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n radioChanged(e: any) {\r\n this.radioSelection = e.value;\r\n this.wfTableId = e.value == 1 ? this.resource.wfTableID : this.resource.wfTableIDAbreviated;\r\n if (this.wfTableId == undefined) {\r\n this.wfTableId = 0;\r\n }\r\n\r\n this.getVersion();\r\n this.refresh();\r\n }\r\n\r\n filterVersions() {\r\n if (this.radioSelection == undefined) {\r\n this.radioSelection = 1;\r\n }\r\n\r\n const filter = this.shutter?.keVersions.filter(v => (this.resource ? (v.branchlineId == this.resource.id) : (v.shutterId == this.shutter?.id)) && v.type == this.radioSelection);\r\n return filter ?? [];\r\n }\r\n\r\n versionChange() {\r\n if (this.versions.map(v => v.name).includes(this.versionCtrl.value)) {\r\n const selected = this.versions.find(v => v.name == this.versionCtrl.value);\r\n this.version = selected;\r\n\r\n this.wfTableId = selected?.wfTableID;\r\n }\r\n else {\r\n this.wfTableId = 0;\r\n }\r\n\r\n this.refresh();\r\n }\r\n\r\n selectedVersion(event: MatAutocompleteSelectedEvent) {\r\n this.version = event.option.value;\r\n this.showSelectedVersion();\r\n }\r\n\r\n showSelectedVersion() {\r\n this.keGlobal = this.version?.wfTableConfig?.name;\r\n this.userName = this.version?.updatedByName;\r\n this.radioSelection = this.version?.type ?? 0;\r\n this.wfTableId = this.version?.wfTableID;\r\n this.refresh();\r\n }\r\n\r\n reloadShutter() {\r\n if (this.shutter?.id)\r\n this._res.getShutter(this.shutter.id).subscribe(data => {\r\n this.shutter = data;\r\n const index = this.allShutters.findIndex(s => s.id == this.shutter?.id);\r\n this.allShutters.splice(index);\r\n this.allShutters.push(this.shutter);\r\n this.resource = this.shutter as Resource;\r\n this.getVersion();\r\n this.refresh();\r\n });\r\n }\r\n\r\n approveVersion() {\r\n if (this.version)\r\n this._keBuilder.ApproveVersion(this.version).subscribe(() => {\r\n this.reloadShutter();\r\n // this.requestRefresh.emit(this.shutter.beamline.id);\r\n });\r\n }\r\n\r\n onProcedureNumberChange(filterValue: string) {\r\n this.proceduresFiltered = this.proceduresFiltered.filter(x => x.procedureNumber.toLowerCase().includes(filterValue));\r\n }\r\n\r\n displayProcedure(procedure: Procedure): string | null {\r\n return procedure.id ? `${procedure.procedureNumber} Rev: ${procedure.revision}` : null;\r\n }\r\n\r\n @HostListener('window:scroll')\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n // console.log(elemTop,docViewTop);\r\n if (elemTop <= docViewTop) { this.headerOnTop = true; } else { this.headerOnTop = false; }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else { this.headerOnTop = false; }\r\n }\r\n\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ shutter ? shutter.name : null }}
    \r\n
    Key Enable Checklist Builder
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n Shutter or Branchline\r\n \r\n \r\n \r\n {{ elem.name }}\r\n \r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n {{ r.label }}\r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n Version\r\n \r\n \r\n \r\n \r\n {{ elem.name }}\r\n\r\n Active Version\r\n New Version\r\n \r\n \r\n \r\n \r\n \r\n Active Version\r\n \r\n \r\n Old Version\r\n \r\n \r\n New Version\r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n menu\r\n \r\n \r\n \r\n \r\n \r\n \r\n delete\r\n Delete\r\n \r\n \r\n done\r\n Approve this version\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Global Template: {{ keGlobal }}\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n Last update by: {{ userName }} on:\r\n {{ version?.updatedOn | date }}\r\n
    \r\n
    \r\n Approved by: {{ version?.approvedBy?.name }} on:\r\n {{ version?.approvedOn | date }}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { KEVersionResource } from '../ke';\r\nimport { ShutterResource, Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { WFMasterResource } from '../../workflow/workflow';\r\n\r\n@Injectable()\r\nexport class KeChecklistBuilderService {\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Api = '/KEBuilder';\r\n\r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n\r\n getAll() {\r\n return this.http.get(this.BASE_URL + this.Api);\r\n }\r\n\r\n getByID(id: number) {\r\n return this.http.get(this.BASE_URL + this.Api + '/' + id);\r\n }\r\n\r\n ReadWFBySection(id: number, sectionNumber: number) {\r\n return this.http.get(this.BASE_URL + this.Api + '/WFBySection/' + id + '?SectionNumber=' + sectionNumber);\r\n }\r\n\r\n ReadGlobal(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.Api + '/Global/' + id);\r\n }\r\n\r\n CreateChecklistTemplate(keVersion: KEVersionResource): Observable {\r\n return this.http.post(this.BASE_URL + this.Api, keVersion);\r\n }\r\n\r\n ReCreateChecklistTemplate(keVersion: KEVersionResource): Observable {\r\n return this.http.post(this.BASE_URL + this.Api + '/ReCreate', keVersion);\r\n }\r\n\r\n UpdateTemplatesAfterUpdate(shutterId: number, savedId: number): Observable {\r\n return this.http.post(this.BASE_URL + this.Api + '/UpdateAfterApproved/' + shutterId + '/' + savedId, null);\r\n }\r\n\r\n ApproveVersion(keVersion: KEVersionResource): Observable {\r\n return this.http.put(this.BASE_URL + this.Api + '/ApproveVersion', keVersion);\r\n }\r\n\r\n SaveRequired(id: number, required: boolean) {\r\n return this.http.patch(this.BASE_URL + this.Api + '/SaveRequired/' + id + '/' + required, null);\r\n }\r\n\r\n SaveOrder(id: number, order: number, saveLastUpdater: boolean) {\r\n return this.http.patch(this.BASE_URL + this.Api + '/SaveOrder/' + id + '/' + order + '/' + saveLastUpdater, null);\r\n }\r\n\r\n DeleteVersion(id: number): Observable {\r\n return this.http.delete(this.BASE_URL + this.Api + '/DeleteVersion/' + id);\r\n }\r\n\r\n DeleteWFRoleLocal(id: number) {\r\n return this.http.delete(this.BASE_URL + this.Api + '/WFRole/' + id);\r\n }\r\n}\r\n","import { CdkDragDrop, moveItemInArray } from \"@angular/cdk/drag-drop\";\r\nimport { Component, Input, Output, EventEmitter, OnDestroy, OnInit, OnChanges, AfterViewInit, HostListener, Injector, SimpleChanges, } from \"@angular/core\";\r\nimport { FormGroup, AbstractControl } from \"@angular/forms\";\r\nimport { MatDialogConfig } from \"@angular/material/dialog\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { FormType } from \"src/app/common/enumerations/enumerations\";\r\nimport { ChecklistBuilderService } from \"src/app/components/checklists/checklist-builder/checklist-builder.service\";\r\nimport { ScheduleResource } from \"src/app/components/schedules/models/schedule-resources\";\r\nimport { ScheduleType } from \"src/app/components/schedules/models/schedule-type\";\r\nimport { ScheduleTypeService } from \"src/app/components/schedules/services/schedule-type.service\";\r\nimport { ScheduleService } from \"src/app/components/schedules/services/schedule.service\";\r\nimport { WFComponent } from \"src/app/components/workflow/workflow\";\r\nimport { ClEditorComponent } from \"src/app/controls/checklist-components/cl-editor/cl-editor.component\";\r\nimport { ShutterResource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { WfSignatureResource, WfSignature, WFTaskSignatureResource, WfTaskLocalResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { KEVersionResource } from \"../../ke\";\r\nimport { KeChecklistBuilderService } from \"../ke-checklist-builder.service\";\r\n\r\n\r\n@Component({\r\n selector: \"ke-cl-builder-section\",\r\n templateUrl: \"./ke-cl-builder-section.component.html\",\r\n styleUrls: [\"./ke-cl-builder-section.component.scss\"],\r\n})\r\nexport class KeClBuilderSectionComponent extends BaseComponent implements OnDestroy, OnInit, OnChanges, AfterViewInit {\r\n public chbTypes: Array = [4, 5];\r\n public activeVersion!: boolean;\r\n\r\n controls!: WFComponent[];\r\n\r\n @Input() section!: number;\r\n @Input() shutter!: ShutterResource | null;\r\n @Input() serialNo?: string | null;\r\n @Input() keVersion?: KEVersionResource | null;\r\n @Input() disabled?: boolean;\r\n @Output() refreshHead = new EventEmitter();\r\n\r\n currentDocument: any;\r\n sectionName!: string | null;\r\n\r\n tmpText!: string;\r\n tmpText2!: string;\r\n tmpText3!: string;\r\n tmpText4!: string;\r\n\r\n loading!: boolean;\r\n adding!: boolean;\r\n editing!: boolean;\r\n editingId!: number;\r\n\r\n wfTableId!: number;\r\n wfStepLocalId!: number;\r\n\r\n wfSignatures!: WfSignatureResource[];\r\n Signatures!: WfSignature[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n approvals!: number;\r\n\r\n scheduleTypes: ScheduleType[] = [];\r\n scheduleType!: number;\r\n scheduleTypeEdit!: number;\r\n\r\n components!: WFComponent[];\r\n components$!: Observable;\r\n componentsSubs!: Subscription;\r\n\r\n tmpSchedules: ScheduleResource[] = [];\r\n tmpSchedulesFiltered: ScheduleResource[] = [];\r\n scheduleResource: ScheduleResource = new ScheduleResource();\r\n scheduleResourceEdit: ScheduleResource = new ScheduleResource();\r\n tmpSchedId!: number;\r\n\r\n controlOptions: any[] = [\r\n { label: \"Checkbox\", value: 4 },\r\n { label: \"Note\", value: 7 },\r\n { label: \"Checkbox & Text\", value: 8 },\r\n { label: \"Schedule & Checkbox\", value: 9 },\r\n ];\r\n\r\n radioSelection!: number;\r\n\r\n keForm!: FormGroup;\r\n keFormEdit!: FormGroup;\r\n\r\n get scheduleTypeForm(): AbstractControl | null {\r\n return this.keForm.get(\"scheduleTypeForm\");\r\n }\r\n get locationsForm(): AbstractControl | null {\r\n return this.keForm.get(\"locationsForm\");\r\n }\r\n get scheduleTypeFormEdit(): AbstractControl | null {\r\n return this.keFormEdit.get(\"scheduleTypeFormEdit\");\r\n }\r\n get locationsFormEdit(): AbstractControl | null {\r\n return this.keFormEdit.get(\"locationsFormEdit\");\r\n }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _keBuilder: KeChecklistBuilderService,\r\n private _gBuilder: ChecklistBuilderService,\r\n private _scheduleTypeService: ScheduleTypeService,\r\n private _scheduleService: ScheduleService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.wfTableId != this.keVersion?.wfTableID)\r\n this.refresh(this.keVersion?.wfTableID);\r\n }\r\n\r\n ngOnInit() {\r\n this.getScheduleTypes();\r\n this.getControls();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.componentsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n getControls() {\r\n this.components$ = this.store.select((state) => state.Components.data);\r\n this.componentsSubs = this.components$.subscribe((data) => {\r\n this.controls = data;\r\n });\r\n }\r\n\r\n ngAfterViewInit() { }\r\n\r\n create() {\r\n this.wfSignatures = [];\r\n this.Signatures = [];\r\n this.sectionName = null;\r\n }\r\n\r\n refresh(wfTableId: number | undefined | null) {\r\n if (wfTableId) {\r\n this.wfTableId = wfTableId;\r\n\r\n if (this.wfTableId === undefined || this.wfTableId === 0) {\r\n this.create();\r\n return;\r\n }\r\n this.loading = true;\r\n\r\n this._keBuilder\r\n .ReadWFBySection(this.wfTableId, this.section)\r\n .subscribe((data) => {\r\n this.wfSignatures = data;\r\n\r\n this.wfStepLocalId =\r\n data[0] && data[0].wfTaskLocal && data[0].wfTaskLocal.wfTasks[0]\r\n ? data[0].wfTaskLocal.wfTasks[0].wfStep.wfStepLocalID\r\n : 0;\r\n\r\n this.sectionName = this.wfSignatures[0]\r\n ? this.wfSignatures[0].sectionName\r\n : null;\r\n\r\n let index = 1;\r\n const isOrdered = this.checkOrders();\r\n\r\n this.Signatures = [];\r\n this.approvals = this.wfSignatures.length;\r\n this.wfSignatures.map((t) => {\r\n const options: any[] = t.options ? JSON.parse(t.options) : [];\r\n const sectionNumber = this.section + \".\" + index;\r\n const signature: WfSignature = {\r\n id: t.id,\r\n number: t.required ? sectionNumber : null,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n question: t.question,\r\n question2: t.titleAfter,\r\n question3: t.titleAfter2,\r\n roles: t.roles.map((r) => r.id),\r\n roleCodes: t.roles.map((r) => r.code).join(\"/\"),\r\n disabled: true,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveEnabled,\r\n unapprove: t.unapproveEnabled,\r\n disapprove: t.disapproveEnabled,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n value2: t.numericValue,\r\n type: t.type,\r\n options,\r\n sectionName: t.sectionName,\r\n iterable:\r\n t.iterable &&\r\n (t.wfTaskLocal.name3?.includes(\"{KEStep}\") ||\r\n t.wfTaskLocal.name2?.includes(\"{vacuum}\")),\r\n order: t.order,\r\n textValue: t.text,\r\n visible: true,\r\n resourceId: t.resourceId,\r\n scheduleResourceId: t.scheduleResourceId,\r\n scheduleTypeId: t.scheduleResourceId\r\n ? this.scheduleTypes.find((x) => x.acronym === t.scheduleName)?.id\r\n : 0,\r\n dateValue1: t.dateValue1,\r\n dateValue2: t.dateValue2,\r\n dateValue3:\r\n t.dateValue3 &&\r\n t.dateValue3.toString() !== \"0001-01-01T00:00:00\"\r\n ? t.dateValue3\r\n : null,\r\n scheduleName: t.scheduleName,\r\n locationName: t.locationName,\r\n moreInfo: t.moreInfo ? JSON.parse(t.moreInfo).join(\"\\n\") : null,\r\n configuration: t.configuration,\r\n condition: t.condition,\r\n code: t.code,\r\n };\r\n index++;\r\n this.Signatures.push(signature);\r\n });\r\n\r\n this.renumberArray(false);\r\n this.loading = false;\r\n });\r\n }\r\n else this.Signatures = [];\r\n }\r\n\r\n checkOrders() {\r\n const order = this.wfSignatures.map((x) => x.order);\r\n\r\n let i = 0;\r\n let result = true;\r\n\r\n order.map((o) => {\r\n if (o !== i + 1) {\r\n result = false;\r\n }\r\n i++;\r\n });\r\n\r\n return result;\r\n }\r\n\r\n edit(id?: number) {\r\n let signature: WfSignature = {\r\n name: \"[New Name]\",\r\n options: [],\r\n roles: [],\r\n required: true,\r\n approve: true,\r\n unapprove: true,\r\n order: (this.Signatures?.[this.Signatures.length - 1]?.order ?? 0) + 1,\r\n };\r\n\r\n if (id) {\r\n const s = this.Signatures.find((x) => x.id === id);\r\n if (s) signature = s;\r\n const wfSignature = this.wfSignatures.find((x) => x.id == id);\r\n signature.name = wfSignature?.wfTaskLocal.name;\r\n signature.question = wfSignature?.wfTaskLocal.name3;\r\n signature.question2 = wfSignature?.wfTaskLocal.name2;\r\n signature.question3 = wfSignature?.wfTaskLocal.name4;\r\n }\r\n signature.stepId = this.wfStepLocalId;\r\n\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n s: signature,\r\n roles: this.wfSignatures.find((x) => x.id === signature.id)?.roles,\r\n formType: FormType[FormType.KE],\r\n serialNo: this.serialNo,\r\n checklistTemplate: this.keVersion,\r\n disabled: this.disabled,\r\n };\r\n this.innerWidth > 768\r\n ? (dialogConfig.width = \"60vw\")\r\n : (dialogConfig.width = \"80vw\");\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ClEditorComponent, dialogConfig);\r\n dialogRef\r\n .afterClosed()\r\n .toPromise()\r\n .then((data) => {\r\n if (data) {\r\n if (id) {\r\n this._gBuilder.updateWFTaskLocal(data).subscribe(\r\n (data: WfTaskLocalResource) => {\r\n this.refresh(this.wfTableId);\r\n // this.refreshHead.emit();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }\r\n );\r\n } else {\r\n this._gBuilder.createWFTaskLocal(data).subscribe(\r\n (data: WfTaskLocalResource) => {\r\n this.refresh(this.wfTableId);\r\n this.refreshHead.emit();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n }\r\n });\r\n }\r\n\r\n delete(id?: number) {\r\n const taskLocal = this.wfSignatures.find((x) => x.id == id)?.wfTaskLocal;\r\n if (taskLocal)\r\n this._gBuilder.deleteTask(taskLocal).subscribe(() => {\r\n this.refresh(this.wfTableId);\r\n this.refreshHead.emit();\r\n });\r\n }\r\n\r\n changeRequired(e: any, taskId?: number) {\r\n const required = e.checked;\r\n this.renumberArray(true);\r\n if (taskId)\r\n this._keBuilder.SaveRequired(taskId, required).subscribe(() => {\r\n this.refreshHead.emit();\r\n });\r\n }\r\n\r\n changeOrder(save: boolean) {\r\n this.Signatures.map((s) => {\r\n if (s.taskId && s.order)\r\n this._keBuilder.SaveOrder(s.taskId, s.order, save).subscribe(() => { });\r\n });\r\n }\r\n\r\n renumberArray(save_last_updater: boolean) {\r\n let index = 1;\r\n let order = 1;\r\n this.Signatures.map((s) => {\r\n const control = this.controls.find((c) => c.id === s.type);\r\n s.order = order;\r\n order++;\r\n\r\n if (s.required && control?.numericHeader) {\r\n s.number = this.section + \".\" + index;\r\n index++;\r\n } else {\r\n s.number = null;\r\n }\r\n });\r\n this.changeOrder(save_last_updater);\r\n }\r\n\r\n reorderTable(event: CdkDragDrop) {\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.Signatures, event.previousIndex, event.currentIndex);\r\n this.renumberArray(true);\r\n }\r\n }\r\n\r\n click() { }\r\n\r\n getScheduleTypes() {\r\n this._scheduleTypeService.getAll().subscribe((data) => {\r\n this.scheduleTypes = data as ScheduleType[];\r\n });\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n }\r\n}\r\n","\r\n
    \r\n \r\n
    \r\n

    Reorder

    \r\n

    Include

    \r\n
    \r\n
    \r\n
    \r\n
    {{ sectionName }}
    \r\n
    \r\n \r\n \r\n

    Edit

    \r\n

    Delete

    \r\n \r\n \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n reorder\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n local_offer\r\n
    \r\n
    \r\n device_hub\r\n
    \r\n
    \r\n  \r\n
    \r\n
    \r\n edit\r\n visibility\r\n
    \r\n
    \r\n delete\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n add\r\n \r\n
    \r\n
    \r\n\r\n","import { Component, Output, EventEmitter, HostListener, OnInit, ViewChild, OnDestroy, Input, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { KEResource } from '../ke';\r\nimport { KESection0Component } from './ke-section0/ke-section0.component';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { CommentsAndAttachmentsComponent } from 'src/app/controls/comments-and-attachments/comments-and-attachments.component';\r\nimport { ChecklistsService } from '../../checklists/checklists.service';\r\nimport { Observable } from 'rxjs';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { KESectionXComponent } from './ke-sectionX/ke-sectionX.component';\r\nimport { KEService } from '../ke.service';\r\n\r\n@Component({\r\n selector: 'ke-main-panel',\r\n templateUrl: './ke-main-panel.component.html',\r\n styleUrls: ['./ke-main-panel.component.scss']\r\n})\r\nexport class KEMainPanelComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() ke?: KEResource | null;\r\n @Output() loading = new EventEmitter();\r\n @Output() requestRefresh = new EventEmitter();\r\n @Output() unselectTable = new EventEmitter();\r\n @Output() displayDocument = new EventEmitter();\r\n @Output() newDocument = new EventEmitter();\r\n @Output() toggleSidePanel = new EventEmitter();\r\n\r\n kes!: KEResource[];\r\n kes$!: Observable;\r\n kesSubs!: Subscription;\r\n\r\n @ViewChild(KESection0Component) private section0!: KESection0Component;\r\n @ViewChild('section1') private section1!: KESectionXComponent;\r\n @ViewChild('section2') private section2!: KESectionXComponent;\r\n @ViewChild('section3') private section3!: KESectionXComponent;\r\n @ViewChild('section4') private section4!: KESectionXComponent;\r\n @ViewChild('section5') private section5!: KESectionXComponent;\r\n @ViewChild('section6') private section6!: KESectionXComponent;\r\n @ViewChild(CommentsAndAttachmentsComponent) private comments!: CommentsAndAttachmentsComponent;\r\n\r\n windowScrolled!: boolean;\r\n\r\n serialNo!: string;\r\n showComments!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _checklist: ChecklistsService,\r\n private _ke: KEService\r\n ) {\r\n super(injector);\r\n\r\n }\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.showComments = this.ke?.status != 0;\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n // this.kesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadKEs();\r\n }\r\n\r\n loadKEs() {\r\n this.loading.emit(true);\r\n this.kes$ = this.store.select(state => state.KEnables.data);\r\n this.kesSubs = this.kes$.subscribe(data => {\r\n if (data.length) {\r\n this.kes = data;\r\n if (this.ke) {\r\n const status = this.ke.status;\r\n this.ke = this.kes.find(x => x.id == this.ke?.id);\r\n if (this.ke && this.ke.wfTable?.wfTableLocal) {\r\n if (status != this.ke.status) {\r\n this.alert.info(this.getMessage('formStateChanged').description.replace('{serialNo}', this.ke.serialNo).replace('{status}', FormStatusEnum[this.ke.status]));\r\n }\r\n // this._checklist.currentDocument = this.ke;\r\n this._checklist.setAllTasks(this.ke.wfTable.wfTableLocal.wfSectionLocals);\r\n this._ke.setAllTasks(this.ke.wfTable.wfTableLocal.wfSectionLocals);\r\n }\r\n }\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n //#region INIT\r\n public refresh(e: KEResource) {\r\n this.loading.emit(true);\r\n this.ke = e;\r\n this.showComments = this.ke?.status > 0;\r\n this.loading.emit(false);\r\n }\r\n\r\n create(e?: KEResource) {\r\n this.ke = e;\r\n this.showComments = this.ke?.status != 0;\r\n this.section0?.create();\r\n }\r\n\r\n //#endregion\r\n\r\n //#region EMMITERS\r\n request_refresh(e: KEResource) {\r\n this.requestRefresh.emit(e);\r\n if (e?.status == 5) {\r\n this.scrollToTop();\r\n }\r\n }\r\n\r\n showDocument(e: any) {\r\n this.displayDocument.emit(e);\r\n }\r\n //#endregion\r\n\r\n //#region OPTIONS\r\n\r\n unselect() {\r\n this.unselectTable.emit();\r\n }\r\n\r\n //#endregion\r\n\r\n //#region SCROLL\r\n\r\n @HostListener('window:scroll', [])\r\n onWindowScroll() {\r\n if (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop > 100) {\r\n this.windowScrolled = true;\r\n }\r\n else if (this.windowScrolled && window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop < 10) {\r\n this.windowScrolled = false;\r\n }\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: any) {\r\n this.innerWidth = window.innerWidth;\r\n }\r\n\r\n //#endregion\r\n\r\n togglePanel(): void {\r\n this.toggleSidePanel.next(true);\r\n }\r\n\r\n setLoading(e: boolean) {\r\n const loading = this.section1?.loading || this.section2?.loading || this.section3?.loading || this.section4?.loading || this.section5?.loading || this.section6?.loading;\r\n this.loading.emit(loading);\r\n }\r\n\r\n}\r\n","
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n","import { Component, Output, EventEmitter, ViewChild, ElementRef, Input, OnDestroy, OnInit, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { AbstractControl } from '@angular/forms';\r\nimport { KEResource, SaveKEResource, SaveKEStatusResource } from '../../ke';\r\nimport { MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { KEService } from '../../ke.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Roles, FormStatusEnum, ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { CancelDialogComponent } from 'src/app/controls/cancel-dialog/cancel-dialog.component';\r\nimport { ShutterResource, Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { WFTaskSignatureResource, WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n@Component({\r\n selector: 'ke-section0',\r\n templateUrl: './ke-section0.component.html',\r\n styleUrls: ['./ke-section0.component.scss']\r\n})\r\n/** ke-section0 component*/\r\nexport class KESection0Component extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Output() requestRefresh = new EventEmitter();\r\n @Output() unselectTable = new EventEmitter();\r\n @Output() displayDocument = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @Input() ke?: KEResource | null;\r\n @Output() keChange = new EventEmitter();\r\n\r\n kes!: KEResource[];\r\n kes$!: Observable;\r\n kesSubs!: Subscription;\r\n\r\n shutter?: ShutterResource | null;\r\n resource?: Resource;\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n allShutters: ShutterResource[] = [];\r\n filteredShutters: ShutterResource[] = [];\r\n\r\n radioSelection = 1;\r\n wfTableID?: number | null;\r\n templateVersion?: string | null;\r\n\r\n serialNo!: string;\r\n saving = false;\r\n\r\n locLoading!: boolean;\r\n reqLoading = false;\r\n\r\n validRoles = [Roles.FO];\r\n public saveButtonText!: string;\r\n errorMsg: string[] = [];\r\n\r\n dateNow!: Date;\r\n disabled = true;\r\n disableControls!: boolean;\r\n showbranch!: boolean;\r\n\r\n brOptions: any[] = [{ label: 'Full', value: 1, checked: true }, { label: 'Abbreviated', value: 0 }];\r\n\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n //#region Fields\r\n tmpDate?: Date = new Date();\r\n tmpOperator?: string | null = null;\r\n tmpSerialNo = '';\r\n tmpRequester = null;\r\n tmpShutter?: string | null;\r\n tmpRequesterName = null;\r\n tmpBranchline?: string | null = null;\r\n\r\n openKEs!: KEResource[];\r\n\r\n beamlines!: string | null;\r\n branchlines?: Resource[] | null;\r\n\r\n approveId!: number;\r\n disapproveId?: number;\r\n disapproveReason!: string;\r\n disapproved = false;\r\n\r\n taskId!: number;\r\n\r\n //#region booleans\r\n public showCreate = false;\r\n public disapprove = false;\r\n public unapprove = false;\r\n\r\n // #Form Controls\r\n public get shutterCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"shutterCtrl\");\r\n }\r\n public get branCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"branCtrl\");\r\n }\r\n\r\n @ViewChild('autoLoc') matAutocompleteLoc!: MatAutocomplete;\r\n @ViewChild('locationInput') locationInput!: ElementRef;\r\n @ViewChild('locationInput', { read: MatAutocompleteTrigger }) locationTrigger!: MatAutocompleteTrigger;\r\n\r\n //#region WF\r\n wfSignatures?: WfSignatureResource[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _ke: KEService,\r\n private _wf: WorkFlowService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.ke?.id) {\r\n this.refresh();\r\n }\r\n else if (this.ke?.id == 0 && this.ke.status == FormStatusEnum.New) {\r\n this.create();\r\n }\r\n else {\r\n this.clear();\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.kesSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadOpenKEs();\r\n this.loadAllShutters();\r\n if (!this.getCurrentUser()) {\r\n this.alert.warning(this.getMessage('user_not_logged')?.description);\r\n }\r\n this.buildForm();\r\n }\r\n\r\n clear() {\r\n this.tmpShutter = null;\r\n this.tmpOperator = this.getCurrentUser() ? this.getCurrentUser()?.name : null;\r\n this.tmpDate = new Date();\r\n this.tmpRequester = null;\r\n this.tmpRequesterName = null;\r\n this.saving = false;\r\n this.beamlines = null;\r\n this.shutter = null;\r\n this.showCreate = false;\r\n this.disapprove = false;\r\n this.approveId = 0;\r\n this.disapproveId = 0;\r\n this.templateVersion = null;\r\n this.disabled = true;\r\n this.disableControls = true;\r\n\r\n this.buildForm();\r\n this.formGroup.reset();\r\n this.shutterCtrl?.disable();\r\n this.branCtrl?.disable();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n shutterCtrl: [null],\r\n branCtrl: [null]\r\n });\r\n if (this.ke?.id && this.ke?.status != FormStatusEnum.Draft || !this.getCurrentUser()) {\r\n this.disabled = true;\r\n this.disableControls = true;\r\n this.shutterCtrl?.disable();\r\n this.branCtrl?.disable();\r\n this.formGroup.disable();\r\n }\r\n }\r\n\r\n create() {\r\n this.clear();\r\n this.setRadio(1);\r\n this.showCreate = true;\r\n this.disabled = false;\r\n this.loadOpenKEs();\r\n this.shutterCtrl?.enable();\r\n this.branCtrl?.enable();\r\n this.formGroup.enable();\r\n this.loading.emit(false);\r\n this.locLoading = false;\r\n this.tmpOperator = this.getCurrentUser()?.name;\r\n }\r\n\r\n refresh() {\r\n this.buildForm();\r\n this.disabled = true;\r\n this.showCreate = false;\r\n\r\n if (this.ke) {\r\n this.tmpShutter = this.ke.shutterName;\r\n this.tmpOperator = this.ke.createdByName;\r\n this.tmpDate = this.ke.createdOn;\r\n this.shutter = this.allShutters.find(x => x.id == this.ke?.resource?.id);\r\n this.setRadio(this.ke.type);\r\n this.shutterCtrl?.setValue(this.shutter);\r\n this.showbranch = this.ke.shutterId != this.ke.branchlineId;\r\n this.branchlines = this.shutter?.branchlines ? this.shutter?.branchlines : null;\r\n this.branCtrl?.setValue(this.branchlines?.find(x => x.id == this.ke?.branchlineId));\r\n this.showBeamline(this.shutter?.beamline, this.ke.branchlineName != this.ke.shutterName ? this.ke.branchlineName : null);\r\n this.tmpBranchline = this.ke.branchlineName;\r\n this.resource = this.shutter?.branchlines?.find(b => b.id == this.ke?.branchlineId);\r\n this.templateVersion = this.shutter?.keVersions?.find(v => v.branchlineId == this.ke?.branchlineId && v.shutterId == this.ke.shutterId && v.type == this.ke?.type && v.wfTableID == (this.ke.type == 1 ? this.shutter?.wfTableID : this.shutter?.wfTableIDAbreviated))?.name;\r\n\r\n this.shutterCtrl?.disable();\r\n this.branCtrl?.disable();\r\n\r\n this.wfSignatures = this.ke.wfSignatures?.filter(x => x.sectionNumber == 0);\r\n if (this.wfSignatures?.length) {\r\n this.approveId = this.wfSignatures[0]?.approveID;\r\n this.disapprove = !this.showCreate && this.checkRoles() && this.ke.status != FormStatusEnum.KeyEnable && this.ke.status != FormStatusEnum.Handshake && this.ke.status != FormStatusEnum.Closed && this.ke.status != FormStatusEnum.Canceled;\r\n this.disapproveId = this.wfSignatures[0]?.disapproveID;\r\n this.taskId = this.wfSignatures[0]?.taskID;\r\n this.disapproveReason = this.wfSignatures[0]?.disapproveReason;\r\n this.disapproved = this.disapproveReason != null && this.disapproveReason != '';\r\n }\r\n }\r\n }\r\n\r\n loadOpenKEs() {\r\n this.kes$ = this.store.select(state => state.KEnables.data);\r\n this.kesSubs = this.kes$.subscribe(data => {\r\n if (data.length > 0) {\r\n this.kes = data;\r\n this.openKEs = this.kes.filter(x => x.status != FormStatusEnum.Canceled && x.status != FormStatusEnum.Closed);\r\n if (this.ke && this.ke.id) {\r\n this.ke = this.kes.find(x => x.id == this.ke?.id);\r\n this.keChange.emit(this.ke);\r\n }\r\n }\r\n });\r\n }\r\n\r\n //#region Locations component functions:\r\n loadAllShutters() {\r\n this.resources$ = this.store.select(state => state.Resources.shutters);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n this.resources = data;\r\n this.allShutters = this.resources.filter(x => x.type == ResourceType.Shutter) as ShutterResource[];\r\n this.filteredShutters = this.allShutters.sort((a, b) => utils.SortBeamlines(a.name, b.name));\r\n });\r\n }\r\n\r\n\r\n\r\n isValid(ke: SaveKEResource) {\r\n this.errorMsg = [];\r\n const found = this.openKEs.find(x => x.branchlineId == ke.branchlineId && x.shutterId == ke.shutterId);\r\n if (found) {\r\n this.errorMsg.push(this.getMessage('KEChecklistAlreadyOpen').description + ' [' + found.serialNo + ']');\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n\r\n\r\n setRadio(value?: number) {\r\n this.brOptions.map(r => {\r\n r.checked = r.value == value;\r\n });\r\n }\r\n\r\n showBeamline(bl?: Resource, branchline?: string | null) {\r\n if (bl != null) {\r\n this.beamlines = 'Affects ' + (branchline ? branchline : bl.name);\r\n }\r\n }\r\n\r\n formDisabled() {\r\n return (!this.formGroup.dirty || !this.formGroup.valid) && this.radioSelection != null;\r\n }\r\n\r\n checkRoles() {\r\n let ok = false;\r\n if (this.getCurrentUser()) {\r\n this.getCurrentUser()?.userRole?.map(r => {\r\n if (r.roleID && Roles[r.roleID] && this.validRoles.includes(r.roleID)) { ok = true; }\r\n });\r\n }\r\n return ok;\r\n }\r\n\r\n onLocChange(e: any) {\r\n if (!e.code?.includes('Arrow')) {\r\n this.filteredShutters = this.allShutters.filter(loc => loc.name.toLowerCase().includes(e.target.value.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n displayShutter(shutter: Resource) {\r\n return shutter ? shutter.name : null;\r\n }\r\n\r\n selectedLoc(event: MatAutocompleteSelectedEvent): void {\r\n if (this.ke) {\r\n this.shutter = event.option.value;\r\n this.tmpShutter = this.shutter?.name;\r\n this.showBeamline(this.shutter?.beamline, null);\r\n this.branchlines = utils.cloneDeep(this.shutter?.branchlines);\r\n this.resource = this.shutter as Resource;\r\n\r\n this.wfTableID = this.shutter?.wfTableID;\r\n this.validateWFTableID();\r\n this.showbranch = (this.branchlines?.length ?? 0) > 0;\r\n if (this.showbranch) {\r\n const shutterBranchine = utils.cloneDeep(this.shutter) as Resource;\r\n if (shutterBranchine) {\r\n shutterBranchine.name = 'None';\r\n this.branchlines?.unshift(shutterBranchine);\r\n this.branCtrl?.setValue(this.shutter);\r\n }\r\n }\r\n\r\n this.ke.shutterId = this.shutter?.id;\r\n this.ke.shutterName = this.shutter?.name;\r\n this.ke.branchlineId = this.shutter?.id;\r\n this.keChange.emit(this.ke);\r\n }\r\n }\r\n\r\n selectedBran(e: any) {\r\n if (this.ke) {\r\n this.resource = e.option.value;\r\n this.showBeamline(this.shutter?.beamline, this.resource?.type == ResourceType.Branchline ? this.resource.name : null);\r\n this.wfTableID = this.radioSelection == 1 ? this.resource?.wfTableID : this.resource?.wfTableIDAbreviated;\r\n this.validateWFTableID();\r\n this.ke.branchlineId = this.resource?.id;\r\n this.keChange.emit(this.ke);\r\n }\r\n }\r\n\r\n //#endregion\r\n\r\n displayBranchline(branchline: Resource) {\r\n if (branchline?.type == ResourceType.Shutter) {\r\n return '';\r\n }\r\n return branchline ? branchline.name : null;\r\n }\r\n\r\n validateWFTableID() {\r\n if (this.ke) {\r\n this.wfTableID = this.radioSelection == 1 ? this.resource?.wfTableID : this.resource?.wfTableIDAbreviated;\r\n if (this.wfTableID == undefined || this.wfTableID == null || this.wfTableID == 0) {\r\n this.alert.error(this.getMessage('no_ketemplate').description.replace('{0}', this.radioSelection == 0 ? 'Abbreviated' : 'Full'));\r\n this.templateVersion = null;\r\n }\r\n else {\r\n this.templateVersion = this.shutter?.keVersions.find(v => v.status == 1 && v.resourceID == this.resource?.id && v.type == this.radioSelection)?.name;\r\n if (!this.templateVersion) {\r\n this.alert.error(this.getMessage('no_ketemplate').description.replace('{0}', this.radioSelection == 0 ? 'Abbreviated' : 'Full'));\r\n }\r\n }\r\n this.ke.versionName = this.templateVersion ?? undefined;\r\n }\r\n }\r\n\r\n reset() {\r\n this.clear();\r\n }\r\n\r\n cancel() {\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: '600px',\r\n data: {}\r\n });\r\n confirm.afterClosed().toPromise().then(async (data) => {\r\n if (data?.accept) {\r\n this.loading.emit(true);\r\n const serialNo = this.ke?.serialNo;\r\n if (this.ke?.status == FormStatusEnum.Draft) {\r\n await this._ke.delete(this.ke.id).toPromise().catch(() => { this.loading.emit(false); });\r\n this.alert.info('Key-Enable ' + serialNo + ' has been Deleted!!');\r\n this.requestRefresh.emit(null);\r\n this.unselectTable.emit();\r\n this.loading.emit(false);\r\n }\r\n else {\r\n if (this.ke) {\r\n const status: SaveKEStatusResource = {\r\n id: this.ke.id,\r\n status: FormStatusEnum.Canceled\r\n };\r\n this.ke.status = FormStatusEnum.Canceled;\r\n this._ke.putStatus(status).subscribe(ke => {\r\n this.ke = ke;\r\n const disapproveSignature = this.ke.wfSignatures?.find(x => x.sectionNumber == 0);\r\n this.wfTaskSignature.taskId = this.taskId;\r\n this.wfTaskSignature.actionId = disapproveSignature?.disapproveID;\r\n this.wfTaskSignature.reason = data.text;\r\n\r\n this._wf.sign(this.wfTaskSignature).subscribe(res => {\r\n this.alert.info('Key-Enable ' + serialNo + ' has been Canceled!!');\r\n this.requestRefresh.emit(null);\r\n this.unselectTable.emit();\r\n this.loading.emit(false);\r\n }, error => {\r\n console.log(error);\r\n this.alert.error(error.error);\r\n this.loading.emit(false);\r\n });\r\n this.unselectTable.emit();\r\n });\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n sign(taskId: number, actionId: number) {\r\n if (this.ke) {\r\n const id = this.ke.id;\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this._wf.sign(this.wfTaskSignature).subscribe(() => {\r\n }, error => {\r\n console.log(error);\r\n this.alert.error(error.error);\r\n });\r\n }\r\n }\r\n\r\n radioChanged(e: any) {\r\n this.radioSelection = e.value;\r\n this.wfTableID = this.radioSelection == 1 ? this.resource?.wfTableID : this.resource?.wfTableIDAbreviated;\r\n this.validateWFTableID();\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n \r\n Shutter\r\n \r\n \r\n \r\n {{ shutter.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Branchline\r\n \r\n \r\n \r\n {{ branchline.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    {{ beamlines }}
    \r\n
    \r\n
    \r\n \r\n \r\n {{ r.label }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { option } from './../../../../controls/checklist-components/cl-editor/cl-editor-textbox-options/cl-editor-textbox-options.component';\r\nimport { Component, Input, Output, EventEmitter, OnDestroy, OnInit, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { KEService } from '../../ke.service';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { FormStatusEnum, Roles, WFSaveOptions, FormType, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { WFComponent } from 'src/app/components/workflow/workflow';\r\nimport { PartialOlogComponent } from 'src/app/controls/olog/partial-olog/partial-olog.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { Resource, ShutterResource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { WfSignatureResource, WfSignature, WFTaskSignatureResource, SaveTaskResource } from 'src/app/services/work-flow/work-flow';\r\nimport { KEResource, EpicsValuesResource, SaveKEStatusResource } from '../../ke';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { KEnableUpdate } from '../../store/ke/kenable.action';\r\nimport { PV } from 'src/app/services/pv-info/pv-info';\r\nimport { Document } from 'src/app/services/documents/documents';\r\nimport { SCFMaster } from 'src/app/components/scf-v2/scf';\r\nimport { Checklist, Option } from 'src/app/components/checklists/checklists';\r\nimport { ScfV2Service } from 'src/app/components/scf-v2/scf-v2.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { VacuumComponent } from 'src/app/components/catalogs/beamline-catalog/dialogs/vacuum/vacuum.component';\r\nimport { Tooltip } from 'src/app/common/tooltip';\r\nimport moment from 'moment';\r\nimport { PVRefresh } from 'src/app/services/pv-info/store/pv-info.action';\r\n\r\n@Component({\r\n selector: 'ke-sectionX',\r\n templateUrl: './ke-sectionX.component.html',\r\n styleUrls: ['./ke-sectionX.component.scss']\r\n})\r\n\r\nexport class KESectionXComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() section!: number;\r\n @Input() ke?: KEResource | null;\r\n\r\n @Output() requestRefresh = new EventEmitter();\r\n @Output() refreshVacuum = new EventEmitter();\r\n @Output() loadingChanged = new EventEmitter();\r\n\r\n loading!: boolean;\r\n\r\n epicsValues?: EpicsValuesResource[];\r\n epicsValues$!: Observable;\r\n epicaValiesSubs!: Subscription;\r\n\r\n shutters!: ShutterResource[];\r\n shutters$!: Observable;\r\n shuttersSubs!: Subscription;\r\n\r\n scfMasters?: SCFMaster[];\r\n scfMasters$!: Observable;\r\n scfMastersSubs!: Subscription;\r\n\r\n checklists?: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n pvs?: PV[];\r\n pvs$!: Observable;\r\n pvsSubs!: Subscription;\r\n documents?: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n brcRestrictedShutters!: ShutterResource[];\r\n\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n isVacuumSection = false;\r\n isShieldingsSection = false;\r\n abbreviated!: boolean;\r\n\r\n resource?: ShutterResource;\r\n completeActive!: boolean;\r\n completeShieldings!: boolean;\r\n shieldingsUserId?: number;\r\n\r\n sectionName!: string | null;\r\n\r\n wfSignatures!: WfSignatureResource[];\r\n signatures!: WfSignature[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n approvals!: number;\r\n\r\n disabled!: boolean;\r\n\r\n ologButton = false;\r\n\r\n components!: WFComponent[];\r\n components$!: Observable;\r\n componentSubs!: Subscription;\r\n\r\n identificator!: number;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _ke: KEService,\r\n private _olog: OLogService,\r\n private _scf: ScfV2Service,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.ngOnInit();\r\n if (this.ke?.id == 0 && this.ke.status == FormStatusEnum.New) {\r\n this.create();\r\n }\r\n else if (this.ke?.id) {\r\n this.refresh(this.ke);\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.epicaValiesSubs?.unsubscribe();\r\n this.componentSubs?.unsubscribe();\r\n this.pvsSubs?.unsubscribe();\r\n this.scfMastersSubs?.unsubscribe();\r\n this.checklistsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadPVs();\r\n this.loadChecklists();\r\n this.loadComponents();\r\n this.loadShutters();\r\n this.loadDocuments();\r\n this.loadResources();\r\n this.loadSCFMasters();\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklists = data;\r\n }\r\n });\r\n }\r\n\r\n loadSCFMasters() {\r\n this.scfMasters$ = this.store.select(state => state.SCFMasters.data);\r\n this.scfMastersSubs = this.scfMasters$.subscribe(data => {\r\n if (data?.length) {\r\n this.scfMasters = data;\r\n }\r\n });\r\n }\r\n\r\n loadPVs() {\r\n this.store.dispatch(new PVRefresh());\r\n this.pvs$ = this.store.select(state => state.PV.data);\r\n this.pvsSubs = this.pvs$.subscribe(data => {\r\n if (data?.length) {\r\n this.pvs = data;\r\n this.loadEpicsValues();\r\n }\r\n });\r\n }\r\n\r\n loadComponents() {\r\n this.components$ = this.store.select(state => state.Components.data);\r\n this.componentSubs = this.components$.subscribe(data => {\r\n this.components = data.filter(x => x.status === 1).sort((a, b) => this.utils.sort(a.name, b.name));\r\n });\r\n }\r\n\r\n loadShutters() {\r\n this.shutters$ = this.store.select(state => state.Resources.shutters);\r\n this.shuttersSubs = this.shutters$.subscribe(data => {\r\n this.shutters = data;\r\n });\r\n }\r\n\r\n loadDocuments() {\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data?.length) {\r\n this.documents = data;\r\n }\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length != 0) {\r\n this.resources = data;\r\n const restrictedResources = this.resources.filter(x => x.resourceType?.id == this.resourceTypeEnum.Beamline && x.keRestricted).map(r => r.reviewRestrictedResourceID);\r\n this.brcRestrictedShutters = this.shutters.filter(s => restrictedResources.includes(s.id));\r\n }\r\n });\r\n }\r\n\r\n create() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n this.sectionName = null;\r\n this.isVacuumSection = false;\r\n }\r\n\r\n async refresh(ke: KEResource | null = null) {\r\n this.setLoading(true);\r\n this.ke = ke ?? { id: 0, wfSignatures: [], serialNo: '', status: 0 } as KEResource;\r\n\r\n this.signatures = [];\r\n this.resource = this.ke.resource;\r\n this.abbreviated = this.ke.type === 0;\r\n\r\n if (this.ke.wfSignatures && this.ke.wfSignatures.length) {\r\n this.wfSignatures = this.ke.wfSignatures.filter(x => x.sectionNumber === this.section);\r\n\r\n if ((this.ke.status === FormStatusEnum.KeyEnable && this.section === 5) ||\r\n (this.ke.status === FormStatusEnum.Shielding && this.section === 4)) {\r\n this.shieldingsUserId = this.ke.wfSignatures.find(x => x.sectionNumber === 4 && x.signed)?.signedBy?.id;\r\n }\r\n\r\n this.setDisabled(this.wfSignatures[0]);\r\n this.sectionName = this.wfSignatures[0]?.sectionName ?? null;\r\n this.approvals = this.wfSignatures.length;\r\n\r\n this.checkConditions();\r\n this.signatures = [];\r\n\r\n // Use Promise.all to wait for all signatures to be processed\r\n const signaturePromises = this.wfSignatures.map(async t => {\r\n const signature = await this.getSignature(t, this.section);\r\n return signature;\r\n });\r\n\r\n this.signatures = await Promise.all(signaturePromises);\r\n\r\n this.renumberArray();\r\n\r\n if (this.ke.status === FormStatusEnum.Draft) {\r\n this.refreshAndSaveVacuum();\r\n }\r\n\r\n this.setLoading(false);\r\n } else {\r\n this.sectionName = null;\r\n this.setLoading(false);\r\n }\r\n }\r\n\r\n async getSignature(t: WfSignatureResource, section: number) {\r\n this.isVacuumSection = section === 3;\r\n this.isShieldingsSection = section === 4;\r\n let vacuum;\r\n console.log(section);\r\n if (this.isVacuumSection) {\r\n vacuum = t.text && t.text.includes('EPICS') ? await this.getEpicsValue(t) : null;\r\n t.warning = !vacuum?.isValid;\r\n t.enabled = t.text && t.text.includes('EPICS') ? t.doubleValue !== 0 && !t.warning : t.enabled;\r\n }\r\n\r\n this.ologButton = section === 5 && !this.disabled;\r\n const moreInfo = t.warning ? (t.moreInfo ? this.formatMoreInfo(t.moreInfo) : undefined) : undefined;\r\n\r\n const signature: WfSignature = {\r\n id: t.id,\r\n number: t.sectionNumber.toString(),\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n question: t.question,\r\n question2: t.titleAfter,\r\n question3: t.titleAfter2,\r\n roles: t.roles.map(r => r?.id),\r\n roleCodes: t.roles.map(r => r?.code).join('/'),\r\n disabled: this.setDisabledTask(t) || t.disabled || this.disabled,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: !t.signedBy && t.approveID != 0,\r\n unapprove: !t.signedBy && t.unapproveID != 0,\r\n disapprove: t.disapproveEnabled,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n value2: t.numericValue,\r\n // textValue: vacuum ? vacuum.question != null ? vacuum.question : t.text ? t.text.replace('^', '') : '' : t.text ? t.text.replace('^', '') : '',\r\n textValue: vacuum ? vacuum.question != null ? vacuum.question : '' : t.text ? t.text.replace('^', '') : '',\r\n type: t.type,\r\n options: t.options ? await this.formatOptions(t) : [],\r\n sectionName: t.sectionName,\r\n isVacuum: vacuum != null,\r\n disableEdit: vacuum ? (!this.hasRoles([Roles.FO, Roles.VAC]) || this.disabled || t.signed) : this.disabled || this.setDisabledTask(t),\r\n visible: t.visible,\r\n enabled: true,\r\n warning: (this.ke?.status === FormStatusEnum.Closed ? false : vacuum ? !vacuum.isValid : moreInfo?.hasValue()) ?? false,\r\n moreInfo,\r\n scheduleTypeId: t.scheduleType,\r\n scheduleResourceId: t.scheduleResourceId,\r\n dateValue1: t.dateValue1,\r\n dateValue2: t.dateValue2,\r\n dateValue3: t.dateValue3?.toString() !== '0001-01-01T00:00:00' ? t.dateValue3 : undefined,\r\n scheduleName: t.scheduleName,\r\n locationName: t.locationName,\r\n condition: t.condition,\r\n configuration: t.configuration,\r\n tooltips: vacuum ? this.getVacuumTootip(t) : undefined\r\n\r\n };\r\n return signature;\r\n }\r\n\r\n getVacuumTootip(t: WfSignatureResource): Tooltip[] | undefined {\r\n const options = this.utils.JSONparse(t.options) as KEOptions;\r\n const tooltip = {} as Tooltip;\r\n if (options && t.doubleValue) {\r\n tooltip.action = options.option;\r\n tooltip.content = (`${options.user.name ?? ''}
    ${moment(options.date).format(\"MMM Do YYYY [at] h:mm:ss a\")}`);\r\n }\r\n return [tooltip];\r\n }\r\n\r\n async formatOptions(t: WfSignatureResource) {\r\n const options = this.utils.JSONparse(t.options) as Option[];\r\n if (t.condition == '!SCFActive' && t.numericValue == 1) {\r\n const scfMasterIds = this.scfMasters?.filter(s => this.utils.JSONparse(t.moreInfo)?.includes(s.serialNo))?.map(s => s.id) as number[];\r\n if (scfMasterIds) {\r\n const scfRSObjs = await this.getSCFMasters(scfMasterIds);\r\n const yesOption = options.find(o => o.value == 1) as Option;\r\n yesOption.label = 'Yes start' + scfRSObjs?.map(s => this.formatLabel(s))?.join('') + '';\r\n }\r\n }\r\n return options;\r\n }\r\n\r\n formatLabel(scfrsObj: SCFRSObj) {\r\n let label = this.formatDocumentChip(scfrsObj.scfMaster.serialNo);\r\n if (scfrsObj.checklists?.length) {\r\n label += ' [' + scfrsObj.checklists.map(c => this.formatDocumentChip(c.serialNo ?? '')).join('') + ']';\r\n }\r\n return label;\r\n }\r\n\r\n formatDocumentChip(serialNo: string) {\r\n const document = this.documents?.find(d => d.serialNo == serialNo);\r\n let chip = `${serialNo}`;\r\n return chip;\r\n }\r\n\r\n async getSCFMasters(ids: number[]): Promise {\r\n const scfMasterPromises = ids.map(id => this._scf.getById(id).toPromise());\r\n let scfMasters = await Promise.all(scfMasterPromises);\r\n scfMasters = scfMasters.filter(scfMaster => scfMaster !== undefined) as SCFMaster[];\r\n const scfRSObjects: SCFRSObj[] = [];\r\n scfMasters.map(scf => {\r\n const s4 = scf?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 4);\r\n const rsTask = s4?.wfSignatures?.find(s => s.code == 'RADSVREQ');\r\n if (scf && rsTask) {\r\n const values = this.utils.JSONparse(rsTask.text);\r\n const checklists = this.checklists?.filter(c => values?.checklistIds?.includes(c.id));\r\n scfRSObjects.push({ scfMaster: scf, checklists });\r\n }\r\n });\r\n return scfRSObjects;\r\n }\r\n\r\n formatMoreInfo(moreInfo: string): string {\r\n if (!this.documents) this.loadDocuments();\r\n if (moreInfo.includes('SCF-') || moreInfo.includes('PPSTB-') || moreInfo.includes('EB-') || moreInfo.includes('RSSWA-')) {\r\n const forms = this.utils.JSONparse(moreInfo) as string[];\r\n const documents = this.documents?.filter(d => forms.includes(d.serialNo as string));\r\n if (documents?.length)\r\n moreInfo = '
    ' + documents?.map(d => {\r\n return '
    ' + (\r\n !d.disableLink ? '' + d.serialNo + '' :\r\n '' + d.serialNo + '') +\r\n '
    ';\r\n }).join('') + '
    ';\r\n else moreInfo = '';\r\n }\r\n return moreInfo;\r\n }\r\n\r\n setDisabled(t: WfSignatureResource) {\r\n if (!this.currentUser) {\r\n this.disabled = true;\r\n return this.disabled;\r\n }\r\n\r\n if (this.hasRoles([Roles.FO]) && this.section === 4 && (this.ke?.status === FormStatusEnum.Shielding)) {\r\n const signed = this.wfSignatures.find(s => s.signed);\r\n const e = signed == null || (signed != null && signed.signedBy?.id === this.currentUser?.id);\r\n this.disabled = !e;\r\n return this.disabled;\r\n }\r\n\r\n if (this.hasRoles([Roles.FO]) && this.section === 5 && (this.ke?.status === FormStatusEnum.KeyEnable)) {\r\n const e = this.shieldingsUserId === this.currentUser?.id;\r\n this.disabled = !e;\r\n return this.disabled;\r\n }\r\n\r\n if (this.hasRoles([Roles.BLSCI, Roles.ALTBLSCI]) && this.section === 6 && (this.ke?.status === FormStatusEnum.Handshake)) {\r\n const e = true;\r\n this.disabled = !e;\r\n return this.disabled;\r\n }\r\n\r\n if (this.hasRoles([Roles.FO, Roles.BRC]) && this.section === 1 && (this.ke?.status === FormStatusEnum.Draft || this.ke?.status === FormStatusEnum.Active)) {\r\n this.disabled = false;\r\n return this.disabled;\r\n }\r\n const enable = t.status === this.ke?.status;\r\n this.disabled = !enable;\r\n return this.disabled;\r\n }\r\n\r\n disableButtons() {\r\n const enable = (this.ke?.status === FormStatusEnum.Active || this.ke?.status === FormStatusEnum.Shielding) && this.hasRoles([Roles.FO, Roles.VAC]);\r\n return !enable;\r\n }\r\n\r\n //Determine if task is disabled\r\n setDisabledTask(t: WfSignatureResource) {\r\n let enable = false;\r\n if (t.users)\r\n enable = t.users.map(u => u.id).includes(this.currentUser?.id) && this.hasRoles(t.roles) && this.validateWarningValues(t);\r\n else\r\n enable = this.hasRoles(t.roles) && this.validateWarningValues(t);\r\n return !enable;\r\n }\r\n\r\n //See if form or BRC restricts KE\r\n validateWarningValues(t: WfSignatureResource) {\r\n if (t.warning && this.section === 1 && t.condition === '!BRCRestriction') {\r\n return false;\r\n }\r\n if (t.warning && t.moreInfo && t.moreInfo !== '[]') {\r\n if (this.section === 1) {\r\n if ((t.condition === '!SCFActive' && !t.configuration) || t.condition === '!RSSWAActive' || t.condition === '!PPSTBActive' || t.condition === '!EBActive') {\r\n return false;\r\n }\r\n }\r\n if (this.section === 3 && !this.hasRoles([Roles.VAC])) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n renumberArray() {\r\n let index = 1;\r\n let order = 1;\r\n this.loadComponents();\r\n this.signatures.sort((a, b) => this.utils.sort(a.number, b.number)).map(s => {\r\n const control = this.components?.find(c => c.id === s.type);\r\n s.order = order;\r\n order++;\r\n\r\n if (s.required && control?.numericHeader) {\r\n const sectionNumber = this.section + '.' + index;\r\n s.number = sectionNumber;\r\n index++;\r\n }\r\n else {\r\n s.number = null;\r\n }\r\n });\r\n }\r\n\r\n async checkOrChange(e: any, taskId?: number, approveId?: number, unapproveId?: number, condition?: string, moreInfo?: string, configuration?: string, isVacuum?: boolean, type?: number) {\r\n const wfSignature = this.wfSignatures.find(s => s.taskID === taskId);\r\n if (isVacuum && typeof e != 'boolean') {\r\n await this.change(wfSignature?.doubleValue ?? 0, taskId, type, true);\r\n }\r\n else {\r\n await this.check(e, taskId, approveId, unapproveId, condition, moreInfo, configuration);\r\n }\r\n }\r\n\r\n //User checks or unchecks a box\r\n async check(check: boolean, taskId?: number, approveId?: number, unapproveId?: number, condition?: string, moreInfo?: string, configuration?: string) {\r\n const wfSignature = this.wfSignatures.find(s => s.taskID === taskId);\r\n if (check) {\r\n //If a box was checked, look for these conditions and if moreInfo exists\r\n //These conditions show a warning but allow the checkbox to remain enabled\r\n if ((condition === '!PPSTBActiveLoc' || condition === '!EBActiveLoc' || (condition === '!SCFActive' && configuration)) && moreInfo) {\r\n //Get confirmation message\r\n const message = this.getMessage(condition === '!PPSTBActiveLoc' ? 'KE_PPSTBActive' : condition === '!EBActiveLoc' ? 'KE_EBActive' : 'KE_SCFActive');\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: message.description.replace('{forms}', '' + moreInfo + ''),\r\n icon: 'warning',\r\n changeButtonLabels: true,\r\n labelButtonCancel: 'Cancel',\r\n labelButtonAccept: 'Accept'\r\n };\r\n dialogConfig.width = '600px';\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(async data => {\r\n //If user confirms, sign checkbox\r\n if (data && wfSignature && wfSignature.wfTaskLocal.wfTasks?.length) {\r\n wfSignature.signed = true;\r\n wfSignature.signedBy = this.currentUser;\r\n wfSignature.signedOn = new Date();\r\n wfSignature.wfTaskLocal.wfTasks[0].signedBy = { id: this.currentUser?.id, name: this.currentUser?.name, initials: this.currentUser?.initials };\r\n await this.approve(taskId, approveId);\r\n this._ke.updateTask(wfSignature.wfTaskLocal);\r\n //If user does not confirm, go back\r\n } else {\r\n const signaturesCloned = this.utils.cloneDeep(this.signatures);\r\n this.signatures = signaturesCloned;\r\n }\r\n });\r\n //If this task has no conditions or moreInfo is empty, sign checkbox\r\n } else {\r\n if (wfSignature?.wfTaskLocal.wfTasks) {\r\n wfSignature.signed = true;\r\n wfSignature.signedBy = this.currentUser;\r\n wfSignature.signedOn = new Date();\r\n wfSignature.wfTaskLocal.doubleValue = wfSignature.doubleValue ?? 0;\r\n wfSignature.wfTaskLocal.wfTasks[0].signedBy = { id: this.currentUser?.id, name: this.currentUser?.name, initials: this.currentUser?.initials };\r\n await this.approve(taskId, approveId);\r\n this._ke.updateTask(wfSignature.wfTaskLocal);\r\n }\r\n }\r\n //Box was unchecked, show confirmation\r\n } else {\r\n await this.unapprove(taskId, unapproveId);\r\n if (wfSignature?.component?.hasRadioButtons) {\r\n wfSignature.numericValue = 0;\r\n const saveTask = {\r\n id: wfSignature.id,\r\n numericValue: 0,\r\n field: 'numericValue',\r\n option: WFSaveOptions.MANUAL\r\n } as SaveTaskResource;\r\n await this.saveTask(saveTask);\r\n }\r\n //Unsign checkbox\r\n if (wfSignature?.wfTaskLocal.wfTasks) {\r\n wfSignature.signed = false;\r\n wfSignature.signedBy = null;\r\n wfSignature.signedOn = null;\r\n wfSignature.wfTaskLocal.wfTasks[0].signedBy = null;\r\n this._ke.updateTask(wfSignature.wfTaskLocal);\r\n }\r\n this.refresh(this.ke);\r\n }\r\n }\r\n\r\n async change(e: number, taskId?: number, type?: number, isVacuum?: boolean) {\r\n let saveTask: SaveTaskResource;\r\n const wfSignature = this.wfSignatures.find(s => s.id === taskId);\r\n if (wfSignature && taskId)\r\n switch (type) {\r\n\r\n case 6: // Radio\r\n const oldValue = wfSignature?.numericValue;\r\n saveTask = {\r\n id: taskId,\r\n numericValue: e,\r\n field: 'numericValue',\r\n option: WFSaveOptions.MANUAL\r\n };\r\n\r\n if (wfSignature?.signed && wfSignature.numericValue !== e) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('KERadioChangedWarning').description,\r\n icon: 'warn'\r\n }\r\n });\r\n wfSignature.numericValue = e;\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && wfSignature.unapproveID) {\r\n saveTask.numericValue = 0;\r\n await this.saveTask(saveTask);\r\n await this.unapprove(wfSignature.taskID, wfSignature.unapproveID);\r\n }\r\n else {\r\n const s = this.ke?.wfSignatures?.find(x => x.id == wfSignature.id);\r\n if (s)\r\n s.numericValue = oldValue;\r\n this.refresh(this.ke);\r\n }\r\n });\r\n }\r\n else {\r\n if (wfSignature) {\r\n wfSignature.numericValue = e;\r\n wfSignature.signed = true;\r\n wfSignature.signedBy = this.currentUser;\r\n await this.approve(wfSignature.taskID, wfSignature.approveID, saveTask);\r\n }\r\n }\r\n break;\r\n\r\n case 8: // Text Input (Vacumm Values)\r\n if (isVacuum) {\r\n let str: string = e.toString();\r\n str = str.replace(/\\s/g, '').toLowerCase().replace('x10^', 'e');\r\n saveTask = {\r\n id: taskId,\r\n doubleValue: +str,\r\n field: 'doubleValue',\r\n formType: FormType.KE,\r\n option: WFSaveOptions.MANUAL,\r\n value: +str > 0 && !wfSignature.visible ? true : wfSignature.value\r\n };\r\n wfSignature.doubleValue = +str;\r\n const shutter = this.shutters.find(x => x.id == this.ke?.resource?.id);\r\n let vacuumName = '';\r\n if (wfSignature.titleAfter != null) {\r\n vacuumName = wfSignature.titleAfter.replace('', '').replace(' = ', '').replace('', '').replace(' = ', '');\r\n }\r\n const vacuum = shutter?.vacuums.find(v => v.name == vacuumName);\r\n if (vacuum) {\r\n // wfSignature.warning = !((vacuum.keVacuumMinRequirement ?? 0) <= wfSignature.doubleValue && wfSignature.doubleValue <= (vacuum.keVacuumMaxRequirement ?? 0));\r\n wfSignature.warning = wfSignature.doubleValue == 0 || !((vacuum.keVacuumMinRequirement ?? 0) <= wfSignature.doubleValue && wfSignature.doubleValue <= (vacuum.keVacuumMaxRequirement ?? 0));\r\n const moreInfos: string[] = [];\r\n moreInfos.push('Requirement:' + vacuum.keVacuumMinRequirement + ' to ' + vacuum.keVacuumMaxRequirement);\r\n wfSignature.moreInfo = wfSignature.warning ? JSON.stringify(moreInfos) : null;\r\n wfSignature.disabled = wfSignature.warning && !this.currentUser?.userRole?.map(x => x.roleID).includes(Roles.VAC);\r\n }\r\n // this.refresh(this.ke);\r\n const number = this.signatures.find(s => s.id == wfSignature.id)?.number;\r\n const signature = await this.getSignature(wfSignature, this.section);\r\n wfSignature.doubleValue = +str;\r\n signature.number = number;\r\n signature.textValue = this.formatSciNotation(wfSignature.doubleValue);\r\n const index = this.signatures.findIndex(s => s.id == signature.id);\r\n this.signatures[index] = signature;\r\n this.saveTask(saveTask);\r\n }\r\n else {\r\n saveTask = {\r\n id: taskId,\r\n text: e.toString(),\r\n field: 'text'\r\n };\r\n\r\n if (wfSignature.signed && wfSignature.text !== e.toString()) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('KEVacuumEditTextWarning').description,\r\n icon: 'warn'\r\n }\r\n });\r\n wfSignature.text = e.toString();\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data && wfSignature.unapproveID) {\r\n this.saveTask(saveTask);\r\n this.unapprove(wfSignature.taskID, wfSignature.unapproveID);\r\n }\r\n else {\r\n this.refresh(this.ke);\r\n }\r\n });\r\n }\r\n else if (wfSignature.text !== e.toString()) {\r\n wfSignature.text = e.toString();\r\n this.approve(wfSignature.taskID, wfSignature.approveID, saveTask);\r\n }\r\n }\r\n break;\r\n\r\n default:\r\n saveTask = {\r\n id: taskId,\r\n text: e.toString(),\r\n field: 'text'\r\n };\r\n wfSignature.text = e.toString();\r\n this.saveTask(saveTask);\r\n if (this.ke?.status == FormStatusEnum.Draft) {\r\n const status: SaveKEStatusResource = {\r\n id: this.ke.id,\r\n status: FormStatusEnum.Active\r\n };\r\n this._ke.putStatus(status).toPromise().then(() => {\r\n if (this.ke?.id)\r\n this._ke.getById(this.ke.id).toPromise().then(data => {\r\n if (data) {\r\n this.ke = data;\r\n this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', this.ke.serialNo), new MessagePlaceholder('{status}', data.statusName)]);\r\n }\r\n });\r\n });\r\n }\r\n break;\r\n }\r\n }\r\n\r\n async saveTask(saveTask: SaveTaskResource): Promise {\r\n try {\r\n const data = await this._ke.saveWFTask(saveTask).toPromise();\r\n if (data) {\r\n this._ke.updateTask(data.wfTaskLocal);\r\n }\r\n\r\n return data;\r\n } catch (error) {\r\n console.error(error);\r\n this.alert.defaultError();\r\n throw error; // Re-throw the error to indicate that the promise was rejected\r\n }\r\n }\r\n\r\n async approve(taskId?: number, actionId?: number, saveTask: SaveTaskResource | null = null) {\r\n if (taskId && actionId) {\r\n let verificator = true;\r\n\r\n if (this.section === 5 && this.signedAll()) {\r\n verificator = await this.ShowAproveTohandshakeMessage();\r\n if (verificator && this.ke?.status === FormStatusEnum.KeyEnable) {\r\n const response = await this._olog.postToOlog(FormType.KE, this.ke.id, OlogNotificationType.Handshake);\r\n verificator = response?.ok ?? false;\r\n }\r\n else {\r\n const wfSignature = this.wfSignatures.find(x => x.taskID == taskId);\r\n if (wfSignature?.wfTaskLocal.wfTasks) {\r\n wfSignature.signed = false;\r\n wfSignature.signedBy = null;\r\n wfSignature.signedOn = null;\r\n wfSignature.wfTaskLocal.wfTasks[0].signedBy = { id: null, name: null, initials: null };\r\n this.refresh(this.ke);\r\n }\r\n }\r\n }\r\n\r\n if (verificator) {\r\n this.setLoading(this.ke?.status == FormStatusEnum.Draft || this.signedAll());\r\n let wfSignature = this.wfSignatures.find(x => x.taskID == taskId);\r\n if (saveTask) wfSignature = await this.saveTask(saveTask);\r\n this._ke.sign(taskId, actionId).toPromise().then(async res => {\r\n if (wfSignature?.wfTaskLocal.wfTasks) {\r\n wfSignature.signed = true;\r\n wfSignature.signedBy = this.currentUser;\r\n wfSignature.signedOn = new Date();\r\n wfSignature.wfTaskLocal.wfTasks[0].signedBy = { id: this.currentUser?.id, name: this.currentUser?.name, initials: this.currentUser?.initials };\r\n this._ke.updateTask(wfSignature.wfTaskLocal);\r\n if (this.ke) {\r\n const section = await this._ke.getSection(this.ke?.id, this.section).toPromise();\r\n const index = this.ke.wfTable?.wfTableLocal?.wfSectionLocals.findIndex(s => s.number == section?.number) ?? -1;\r\n if (index >= 0 && section) {\r\n this.ke.wfTable?.wfTableLocal?.wfSectionLocals.splice(index, 1);\r\n this.ke.wfTable?.wfTableLocal?.wfSectionLocals.push(section);\r\n this.store.dispatch(new KEnableUpdate(this.ke.id, this.ke));\r\n };\r\n }\r\n this.refresh(this.ke);\r\n if (res || (this.section === 2 && this.wfSignatures.filter(x => !x.signed).length === 0)) {\r\n if (this.section === 2 && this.wfSignatures.filter(x => !x.signed).length === 0) {\r\n this.refreshVacuum.emit();\r\n }\r\n }\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.setLoading(false);\r\n this.alert.error(error.error);\r\n });\r\n }\r\n }\r\n\r\n }\r\n\r\n async unapprove(taskId?: number, actionId?: number) {\r\n if (taskId && actionId) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n const wfSignature = this.wfSignatures.find(x => x.taskID == taskId);\r\n if (wfSignature?.wfTaskLocal.wfTasks) {\r\n wfSignature.signed = false;\r\n wfSignature.signedBy = null;\r\n wfSignature.signedOn = null;\r\n wfSignature.wfTaskLocal.wfTasks[0].signedBy = null;\r\n this._ke.updateTask(wfSignature.wfTaskLocal);\r\n await this._ke.sign(taskId, actionId).toPromise().then(res => {\r\n }, error => {\r\n console.log(error);\r\n this.alert.error(error.error);\r\n });\r\n }\r\n }\r\n }\r\n\r\n async getEpicsValue(t: WfSignatureResource) {\r\n const resource = this.createObject(t);\r\n const options = this.utils.JSONparse(t.options) as KEOptions;\r\n if (!t.signed && options?.option == WFSaveOptions.AUTO) {\r\n if (t.doubleValue != resource.vacuumValue) {\r\n t.doubleValue = resource.vacuumValue;\r\n const saveTask = {\r\n id: t.id,\r\n doubleValue: resource.vacuumValue,\r\n field: 'doubleValue',\r\n formType: FormType.KE,\r\n option: WFSaveOptions.AUTO,\r\n };\r\n await this.saveTask(saveTask);\r\n }\r\n return resource;\r\n }\r\n else {\r\n const result = {} as EpicsValuesResource;\r\n // result.question = this.formatSciNotation(t.doubleValue);\r\n // result.channelName = resource.channelName;\r\n // result.vacuumValue = t.doubleValue;\r\n result.question = t.doubleValue != 0 ? this.formatSciNotation(t.doubleValue) : null;\r\n result.channelName = resource.channelName;\r\n result.vacuumValue = result.channelName ? t.doubleValue : null;\r\n result.isValid = resource.isValid;\r\n result.name = resource.name;\r\n result.keVacuumMaxRequirement = resource.keVacuumMaxRequirement;\r\n result.keVacuumMinRequirement = resource.keVacuumMinRequirement;\r\n return result;\r\n }\r\n }\r\n\r\n createObject(t: WfSignatureResource) {\r\n const q = t.text;\r\n const resourceName = t.titleAfter.replace('', '').replace(' = ', '');\r\n const resource = this.resources.find(r => r.id == t.resourceId);\r\n\r\n let epicsResource = this.epicsValues?.find(e => e.name === resourceName);\r\n let dvalue;\r\n if (t.signed) dvalue = t.doubleValue;\r\n else if (!t.signed && !t.doubleValue) dvalue = epicsResource?.vacuumValue;\r\n else dvalue = t.doubleValue;\r\n let value = this.formatSciNotation(dvalue);\r\n if (!value) value = '';\r\n\r\n if (epicsResource) {\r\n const match = q.match(/\\{{(.*)\\}}/) ?? q;\r\n epicsResource.question = this.disabled && match ? null :\r\n epicsResource ? q.replace(match[0], value).replace('{rack}', epicsResource.location ?? '') : 'Value not found';\r\n //epicsResource.isValid = !dvalue ? false : dvalue >= (epicsResource.keVacuumMinRequirement ?? 0) && dvalue <= (epicsResource.keVacuumMaxRequirement ?? 0);\r\n epicsResource.isValid = !dvalue ? false : dvalue == 0 ? false : dvalue >= (epicsResource.keVacuumMinRequirement ?? 0) && dvalue <= (epicsResource.keVacuumMaxRequirement ?? 0);\r\n epicsResource.vacuumValue = dvalue ?? null;\r\n t.enabled = !t.signed;\r\n }\r\n else if (resource) {\r\n epicsResource = {\r\n id: 0,\r\n name: resource.name ?? '',\r\n type: 4,\r\n channelName: null,\r\n vacuumValue: t.doubleValue,\r\n location: null,\r\n keVacuumMinRequirement: resource.keVacuumMinRequirement ?? null,\r\n keVacuumMaxRequirement: resource.keVacuumMaxRequirement ?? null,\r\n // question: this.disabled ? null :\r\n // epicsResource ? q.replace(match[0], value).replace('{rack}', epicsResource.location ?? '') : 'Value not found',\r\n // isValid: !dvalue ? false : dvalue >= (resource.keVacuumMinRequirement ?? 0) && dvalue <= (resource.keVacuumMaxRequirement ?? 0)\r\n isValid: !dvalue ? false : dvalue == 0 ? false : dvalue > (resource.keVacuumMinRequirement ?? 0) && dvalue <= (resource.keVacuumMaxRequirement ?? 0)\r\n };\r\n }\r\n else {\r\n epicsResource = {\r\n id: 0,\r\n name: null,\r\n type: 4,\r\n channelName: null,\r\n vacuumValue: null,\r\n location: null,\r\n keVacuumMinRequirement: null,\r\n keVacuumMaxRequirement: null,\r\n question: null,\r\n isValid: false\r\n };\r\n }\r\n return epicsResource;\r\n }\r\n\r\n loadEpicsValues() {\r\n this.epicsValues$ = this.store.select(state => state.Resources.epics);\r\n this.epicaValiesSubs = this.epicsValues$.subscribe(data => {\r\n this.epicsValues = data;\r\n this.epicsValues.map(e => {\r\n const vacummValue = this.pvs?.find(p => p.pvName == e.channelName)?.value;\r\n if (vacummValue)\r\n e.vacuumValue = +vacummValue;\r\n else e.vacuumValue = null;\r\n });\r\n });\r\n }\r\n\r\n saveEpicsValues() {\r\n this.store.dispatch(new PVRefresh());\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('KEResetVacuumValues').description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.setLoading(true);\r\n this.refreshAndSaveVacuum().then(() => {\r\n this.setLoading(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n async refreshAndSaveVacuum() {\r\n let save = false;\r\n this.setLoading(true);\r\n const saveTasks: SaveTaskResource[] = [];\r\n let saveTask: SaveTaskResource;\r\n this.wfSignatures.map(async s => {\r\n saveTask = {\r\n id: s.id,\r\n option: WFSaveOptions.AUTO,\r\n formType: FormType.KE,\r\n };\r\n switch (s.type) {\r\n // case 6:\r\n // if (s.signed && s.unapproveID) {\r\n // this.unapprove(s.taskID, s.unapproveID);\r\n // }\r\n // saveTask.field = 'numericValue';\r\n // saveTask.numericValue = 0;\r\n // break;\r\n case 8:\r\n if (s.text && s.text.includes('EPICS')) {\r\n const channelName = s.text.match(/\\{{(.*)\\}}/)?.[1].match(/\\[(.*)\\]/)?.[1].toUpperCase();\r\n const resource = this.epicsValues?.find(e => e.channelName?.toUpperCase() === channelName);\r\n if (s.signed || s.text.includes('No ChannelName Found')) {\r\n break\r\n }\r\n saveTask.field = 'doubleValue';\r\n // saveTask.doubleValue = resource?.vacuumValue == 0 ? 0 : resource?.vacuumValue ?? null;\r\n saveTask.doubleValue = resource?.vacuumValue == 0 ? null : resource?.vacuumValue ?? null;\r\n console.log(s, channelName, resource);\r\n saveTask.resourceId = resource?.id;\r\n save = true;\r\n }\r\n else {\r\n saveTask.field = 'text';\r\n saveTask.text = null;\r\n }\r\n break;\r\n }\r\n if ((saveTask.numericValue ?? 0) != (s.numericValue ?? 0) || (saveTask.doubleValue ?? 0) != (s.doubleValue ?? 0))\r\n saveTasks.push(saveTask);\r\n });\r\n if (save && saveTasks.length)\r\n await this._ke.saveWFTasks(saveTasks).toPromise().catch(error => console.log(error));\r\n }\r\n\r\n save(saveTask: SaveTaskResource) {\r\n return new Promise((resolve, reject) => {\r\n this._ke.saveWFTask(saveTask).toPromise().then(async wfSignatureResource => {\r\n const index = this.ke?.wfSignatures?.findIndex(x => x.id == wfSignatureResource?.id);\r\n if (index && wfSignatureResource) {\r\n let wfSignature = this.ke?.wfSignatures?.[index];\r\n if (wfSignature) {\r\n wfSignature = wfSignatureResource;\r\n this._ke.updateTask(wfSignatureResource.wfTaskLocal);\r\n resolve(wfSignatureResource);\r\n }\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n reject(error);\r\n });\r\n });\r\n }\r\n\r\n resetStatusToActive() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('KEResetToActive').description,\r\n icon: 'warn'\r\n }\r\n });\r\n\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data && this.ke?.id) {\r\n this.setLoading(true);\r\n const statusResource: SaveKEStatusResource = {\r\n id: this.ke?.id,\r\n status: FormStatusEnum.Active\r\n };\r\n\r\n this.alert.info(this.getMessage('formStateChanged').description.replace('{status}', 'Active').replace('{serialNo}', this.ke.serialNo));\r\n this.ke.status = FormStatusEnum.Active;\r\n this.ke.statusName = 'Active';\r\n this._ke.putStatus(statusResource).toPromise().then(async () => {\r\n this.wfSignatures.map(s => {\r\n if (s.signed) {\r\n this.wfTaskSignature.taskId = s.taskID;\r\n this.wfTaskSignature.actionId = s.unapproveID;\r\n this._ke.sign(s.taskID, s.unapproveID ?? 0).toPromise().then(res => {\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n });\r\n this.setLoading(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n skipStatusToShieldings() {\r\n if (this.ke?.id) {\r\n const statusResource: SaveKEStatusResource = {\r\n id: this.ke.id,\r\n status: FormStatusEnum.Shielding\r\n };\r\n this.ke.status = FormStatusEnum.Shielding;\r\n this.ke.statusName = 'Shielding';\r\n this.requestRefresh.emit(this.ke);\r\n\r\n this._ke.putStatus(statusResource).toPromise().then(() => {\r\n this.alert.info(this.getMessage('formStateChanged').description.replace('{status}', 'Shielding').replace('{serialNo}', this.ke?.serialNo ?? ''));\r\n });\r\n }\r\n }\r\n\r\n formatSciNotation(numberToFormat?: number | null) {\r\n if (numberToFormat != undefined && numberToFormat != null) {\r\n if (numberToFormat == 0) return '0.00';\r\n return numberToFormat.toExponential(2).toString().replace('e', ' x 10').replace('-', '-').replace('+', '');\r\n }\r\n else return null;\r\n }\r\n\r\n async editOlog() {\r\n try {\r\n if (this.ke) {\r\n const data = await this._ke.getOlog(this.ke.serialNo).toPromise();\r\n if (data)\r\n data.cc = data.cc?.filter(email => email.address !== '');\r\n const dialogRef = this.dialog.open(PartialOlogComponent, {\r\n height: 'fit-content',\r\n width: '80%',\r\n data\r\n });\r\n dialogRef.afterClosed().toPromise().then((isSaved) => {\r\n console.log('The dialog was closed');\r\n if (isSaved) {\r\n console.log(isSaved);\r\n }\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n signedAll() {\r\n const ignoredComponentsTypes = [2];\r\n const wfSignaturesFiltered = this.section > 3 ? this.wfSignatures?.filter(x => x.required && !ignoredComponentsTypes.includes(x.component?.type ?? 0)) : this.ke?.wfSignatures?.filter(x => x.sectionNumber > 0 && x.sectionNumber <= 3 && x.required && !ignoredComponentsTypes.includes(x.component?.type ?? 0));\r\n const count = wfSignaturesFiltered?.filter(s => !s.signed).length;\r\n return count == 0;\r\n }\r\n\r\n async ShowAproveTohandshakeMessage(): Promise {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('toHandshakeWarning').description,\r\n icon: 'warn'\r\n }\r\n });\r\n const data: boolean = await confirm.afterClosed().toPromise();\r\n if (data) {\r\n return data;\r\n }\r\n return false;\r\n }\r\n\r\n returnButton() {\r\n return this.ke?.status === FormStatusEnum.Active && this.signedAll() && this.isVacuumSection;\r\n }\r\n\r\n canRestartShieldings() {\r\n let valid = false;\r\n\r\n if (!this.currentUser || !this.ke || this.currentUser?.id != this.shieldingsUserId || this.shieldingsUserId === 0) {\r\n return valid;\r\n }\r\n\r\n if (this.isShieldingsSection && this.ke.status === FormStatusEnum.Shielding || this.section === 5 && this.ke.status === FormStatusEnum.KeyEnable) {\r\n if (this.hasRoles([Roles.FO])) {\r\n valid = true;\r\n }\r\n }\r\n return valid;\r\n }\r\n\r\n async resetStatusShieldings() {\r\n const confirmed = await this.showResetConfirmationDialog();\r\n\r\n if (!confirmed) {\r\n return;\r\n }\r\n this.setLoading(true);\r\n this.resetSignatures();\r\n await this.updateStatusAndSignTasks();\r\n\r\n this.requestRefresh.emit(this.ke);\r\n }\r\n\r\n private async showResetConfirmationDialog(): Promise {\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('KEResetShieldings').description,\r\n icon: 'warn'\r\n }\r\n });\r\n\r\n const result = await dialogRef.afterClosed().toPromise();\r\n return result !== null;\r\n }\r\n\r\n private resetSignatures() {\r\n this.wfSignatures.map(x => this.resetSignature(x));\r\n (this.ke?.wfSignatures?.filter(x => x.sectionNumber === 4) || []).map(x => this.resetSignature(x));\r\n }\r\n\r\n private resetSignature(signature: WfSignatureResource) {\r\n if (signature.signed) {\r\n signature.signed = false;\r\n signature.signedBy = null;\r\n signature.signedOn = null;\r\n }\r\n }\r\n\r\n private async updateStatusAndSignTasks() {\r\n if (this.ke) {\r\n const statusResource: SaveKEStatusResource = {\r\n id: this.ke.id,\r\n status: FormStatusEnum.Shielding\r\n };\r\n\r\n this.alert.info(this.getMessage('formStateChanged').description.replace('{serialNo}', this.ke.serialNo).replace('{status}', 'Shielding'));\r\n this.setLoading(true);\r\n await this._ke.putStatus(statusResource).toPromise();\r\n if (this.ke?.wfTableID) {\r\n this.setLoading(true);\r\n const dataSection4 = (await this._ke.readWFBySection(this.ke.wfTableID, 4).toPromise()) ?? [];\r\n const dataSection5 = await this._ke.readWFBySection(this.ke.wfTableID, 5).toPromise() ?? [];\r\n this.setLoading(true);\r\n await this.signTasks(dataSection4);\r\n await this.signTasks(dataSection5);\r\n }\r\n }\r\n }\r\n\r\n private async signTasks(tasks: WfSignatureResource[]) {\r\n for (const task of tasks) {\r\n if (task.signed) {\r\n this.wfTaskSignature.taskId = task.taskID;\r\n this.wfTaskSignature.actionId = task.unapproveID;\r\n\r\n try {\r\n this.setLoading(true);\r\n await this._ke.sign(task.taskID, task.unapproveID ?? 0).toPromise();\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n resetSection4(): string {\r\n return this.section === 4 ? 'Reset Section 4' : 'Reset & Return to Section 4';\r\n }\r\n\r\n duplicated() {\r\n this.refresh(this.ke);\r\n }\r\n\r\n checkConditions() {\r\n const tags = this.wfSignatures.filter(x => x.code).map(x => x.code);\r\n tags.map(tag => {\r\n if (tag) {\r\n const filteredSignatures = this.wfSignatures.filter(x => x.condition?.includes(tag));\r\n\r\n filteredSignatures.map(async signature => {\r\n if (signature.condition) {\r\n const value = this.utils.conditionParse(signature.condition, this._ke.allTasks);\r\n if (signature.required !== value) {\r\n signature.required = value;\r\n const task = signature.wfTaskLocal.wfTasks?.[0];\r\n if (task)\r\n task.required = value;\r\n await this._ke.saveRequiredWFTask(signature.taskID, value).toPromise();\r\n }\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n\r\n getChecked(wfSignature: WfSignatureResource): string {\r\n const component = this.components.find(x => x.id == wfSignature.type);\r\n if (component?.hasMultipleCheckboxes) {\r\n const storedValues = this.utils.JSONparse(wfSignature.text);\r\n const values = storedValues.find((x: any) => x.key == 'checked').val;\r\n return values.filter((x: any) => x.checked).map((y: any) => y.value).join(',');\r\n }\r\n if (component?.hasRadioButtons) {\r\n return wfSignature.numericValue?.toString() ?? '';\r\n }\r\n return '';\r\n }\r\n\r\n closed() {\r\n this.requestRefresh.emit(this.ke);\r\n }\r\n\r\n setLoading(value: boolean) {\r\n this.loading = value;\r\n this.loadingChanged.emit(this.loading);\r\n }\r\n\r\n}\r\n\r\ninterface SCFRSObj {\r\n scfMaster: SCFMaster;\r\n checklists?: Checklist[];\r\n}\r\n\r\ninterface KEOptions {\r\n user: User;\r\n option: WFSaveOptions;\r\n date: Date;\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n {{ sectionName }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n update Refresh Vacuum Values\r\n \r\n \r\n \r\n \r\n settings_backup_restore\r\n {{ resetSection4() }}\r\n \r\n \r\n \r\n \r\n settings_backup_restoreRevert to Previous Status\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n next_plan Skip to Section 4\r\n \r\n \r\n \r\n \r\n next_plan Return to Section 4\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, ViewChild, ViewChildren, ViewContainerRef, QueryList, Output, EventEmitter, OnDestroy, OnInit, AfterViewInit, Input, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource, MatRow } from '@angular/material/table';\r\nimport { KEService } from '../ke.service';\r\nimport { KEResource } from '../ke';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { FormStatusEnum, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { KEnableUpdate } from '../store/ke/kenable.action';\r\n\r\n@Component({\r\n selector: 'ke-side-panel',\r\n templateUrl: './ke-side-panel.component.html',\r\n styleUrls: ['./ke-side-panel.component.scss']\r\n})\r\nexport class KESidePanelComponent extends BaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {\r\n\r\n @Input() filter!: string;\r\n @Output() loading = new EventEmitter();\r\n\r\n public displayedColumns: string[] = ['serialNo', 'shutterName', 'typeName', 'statusName'];\r\n public dataSource = new MatTableDataSource();\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n @ViewChild(MatPaginator) paginator!: MatPaginator;\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows!: QueryList;\r\n\r\n @ViewChildren('matrow')\r\n datarows!: QueryList;\r\n\r\n public serialNo!: string;\r\n public selectedRowIndex = -1;\r\n public selectedIndex = -1;\r\n public showClosed = false;\r\n\r\n public allowNew?: boolean;\r\n public disabled = false;\r\n maxHeight!: string;\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() newDocument = new EventEmitter();\r\n @Output() toggleSidePanel = new EventEmitter();\r\n @Output() discard = new EventEmitter();\r\n\r\n ke?: KEResource | null;\r\n kes!: KEResource[];\r\n kes$!: Observable;\r\n kesSubs!: Subscription;\r\n\r\n formStatuses!: FormStatus[];\r\n formStatuses$!: Observable;\r\n formStatusesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _ke: KEService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.applyFilter(this.filter);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.kesSubs?.unsubscribe();\r\n this.formStatusesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadFormStatuses();\r\n this.allowNew = (this.getCurrentUser() && this.hasPrivilege(PrivilegeEnum.CreateKEChecklist)) ?? false;\r\n this.loadKEs();\r\n this.dataSource.sort = this.sort;\r\n this.dataSource.paginator = this.paginator;\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.dataSource.sort = this.sort;\r\n this.dataSource.paginator = this.paginator;\r\n }\r\n\r\n loadFormStatuses() {\r\n this.formStatuses$ = this.store.select(state => state.FormStatuses.data);\r\n this.formStatusesSubs = this.formStatuses$.subscribe(data => {\r\n if (data) {\r\n this.formStatuses = data;\r\n }\r\n });\r\n }\r\n\r\n //#region Load KE\r\n\r\n loadKEs() {\r\n this.loading.emit(true);\r\n this.kes$ = this.store.select(state => state.KEnables.data);\r\n this.kesSubs = this.kes$.subscribe(async data => {\r\n if (data.length) {\r\n this.kes = data.sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n this.dataSource = new MatTableDataSource(this.kes.filter(x => this.showClosed ? true : (x.status != FormStatusEnum.Closed && x.status != FormStatusEnum.Canceled)));\r\n\r\n const openDocument = await this.checkOpenDocument(FormType.KE, data);\r\n if (openDocument) {\r\n this.loading.emit(true);\r\n this.showClosed = openDocument.closed;\r\n this.getValues(openDocument.document);\r\n }\r\n else this.loading.emit(false);\r\n }\r\n this.loading.emit(data.length == 0);\r\n });\r\n }\r\n\r\n async selectRow(row?: KEResource) {\r\n if (await this.canDeactivate()) {\r\n if (row) row.wfTable = undefined;\r\n this.getValues(row);\r\n }\r\n }\r\n\r\n getValues(row?: KEResource) {\r\n this.ke = row;\r\n this.rowSelected.emit(row);\r\n this.selectedRowIndex = row?.id ?? -1;\r\n this.setOpenDocument(FormType.KE, row?.id);\r\n if (row && !row?.wfTable) {\r\n this.loading.emit(true);\r\n this._ke.getById(row.id).subscribe(ke => {\r\n if (ke && JSON.stringify(ke) !== JSON.stringify(row)) {\r\n row = ke;\r\n this.ke = ke;\r\n this.store.dispatch(new KEnableUpdate(ke.id, ke));\r\n }\r\n this.rowSelected.emit(row);\r\n this.loading.emit(false);\r\n });\r\n }\r\n else {\r\n this.rowSelected.emit(row);\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n override async canDeactivate(): Promise {\r\n if (this.isFormDirty()) {\r\n const value = await super.canDeactivate();\r\n if (value)\r\n this.discard.emit(true);\r\n return value;\r\n }\r\n else return true;\r\n }\r\n\r\n create() {\r\n this.selectedRowIndex = -1;\r\n this.serialNo = '{Serial No}';\r\n const newDoc: KEResource =\r\n {\r\n id: 0,\r\n type: FormType.KE,\r\n serialNo: this.serialNo,\r\n status: 0,\r\n statusName: 'New'\r\n };\r\n this.newDocument.emit(newDoc);\r\n }\r\n\r\n unselect() {\r\n this.ke = null;\r\n this.selectedIndex = -1;\r\n }\r\n\r\n //#region FILTERS\r\n\r\n applyFilter(filterValue: string) {\r\n const val = filterValue?.toLowerCase();\r\n this.dataSource = new MatTableDataSource(this.kes?.filter(x => this.showClosed ? true : (x.status != FormStatusEnum.Closed && x.status != FormStatusEnum.Canceled))?.filter(k => k.serialNo.toLowerCase().includes(val) || k.shutterName?.toLowerCase().includes(val) || k.typeName?.toLowerCase().includes(val) || k.statusName?.toLowerCase().includes(val)));\r\n }\r\n\r\n changeClosed() {\r\n this.loadKEs();\r\n }\r\n\r\n //#region TableScroll\r\n showElement(index: number, height: number) {\r\n const indexstr = index.toString();\r\n const row = this.rows.find(row => row.element.nativeElement.getAttribute('position') === indexstr);\r\n if (row != null) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > height)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n return;\r\n }\r\n console.log('not found');\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n getColor(row: KEResource) {\r\n return this.formStatuses?.find(x => x.id == row.status)?.color;\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Show Closed/Canceled KE\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n No.\r\n \r\n \r\n \r\n\r\n \r\n \r\n Shutter\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\r\nimport { KEResource, SaveKEResource, SaveKEStatusResource, KEStatusResource } from './ke';\r\nimport { SaveTaskResource, WfTaskLocalResource, WfSignatureResource, WfTaskResource, WFSectionLocalResource } from '../../services/work-flow/work-flow';\r\nimport { FormType, FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { OlogDataBaseObject } from 'src/app/components/olog/olog';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { WFComponent } from '../workflow/workflow';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { parse } from 'postcss';\r\n\r\n\r\n@Injectable()\r\nexport class KEService extends BaseService {\r\n\r\n SerialNumber = '/SerialNumbers/' + FormType.KE;\r\n Locations = '/Locations';\r\n\r\n Api = '/KEnable';\r\n\r\n components!: WFComponent[];\r\n components$!: Observable;\r\n componentsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector, '/KEnable');\r\n }\r\n\r\n // Gets the Serial Number of the Form\r\n getSerialNo(): Observable {\r\n const httpresult1 = this.http.get(this.BASE_URL + this.SerialNumber);\r\n return httpresult1;\r\n }\r\n\r\n getOpen(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/Open');\r\n return httpresult;\r\n }\r\n\r\n // getAll(): Observable {\r\n // const httpresult = this.http.get(this.BASE_URL + this.Api);\r\n // return httpresult;\r\n // }\r\n\r\n getBySerialNo(sn: string): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/SerialNo/' + sn);\r\n return httpresult;\r\n }\r\n\r\n getStatusComplete(wfTableID: number, formStatus: FormStatusEnum): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/StatusComplete/' + wfTableID + '/' + formStatus);\r\n return httpresult;\r\n }\r\n\r\n // override getById(id: number): Observable {\r\n // const url = this.BASE_URL + this.Api + '/' + id;\r\n // const httpresult = this.http.get(url);\r\n // return httpresult;\r\n // }\r\n\r\n getOlog(serialNo: string): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/GetOlog/' + serialNo);\r\n return httpresult;\r\n }\r\n\r\n post(saveKE: SaveKEResource) {\r\n return this.http.post(this.BASE_URL + this.Api, saveKE);\r\n }\r\n\r\n putStatus(saveKEStatus: SaveKEStatusResource) {\r\n return this.http.put(this.BASE_URL + this.Api + '/SetStatus/' + saveKEStatus.id, saveKEStatus);\r\n }\r\n\r\n put(saveKE: SaveKEResource) {\r\n return this.http.put(this.BASE_URL + this.Api + '/' + saveKE.id, saveKE);\r\n }\r\n\r\n // delete(id: number, reason: string) {\r\n // return this.http.delete(this.BASE_URL + this.Api + '/' + id + '/' + reason)\r\n // }\r\n /////\r\n\r\n public sign(taskId: number, actionId: number, reason?: string) {\r\n let url: string = this.BASE_URL + this.Api + '/Sign?task=' + taskId + '&action=' + actionId;\r\n\r\n if (reason != null) {\r\n url += '&reason=' + reason;\r\n }\r\n\r\n const httpresult = this.http.put(url, null);\r\n return httpresult;\r\n }\r\n\r\n public readWFBySection(id: number, sectionNumber: number) {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/WFBySection/' + id + '?SectionNumber=' + sectionNumber);\r\n return httpresult;\r\n }\r\n\r\n public getSection(id: number, sectionNumber: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/BySection/' + id + '?SectionNumber=' + sectionNumber);\r\n return httpresult;\r\n }\r\n\r\n public convertToSignatures(wfTaskLoclas: WfTaskLocalResource[]) {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/ConvertToSignatures');\r\n return httpresult;\r\n }\r\n\r\n public saveWFTask(s: SaveTaskResource) {\r\n const httpresult = this.http.put(this.BASE_URL + this.Api + '/Save/' + s.id, s);\r\n return httpresult;\r\n }\r\n\r\n public saveWFTasks(s: SaveTaskResource[]) {\r\n const httpresult = this.http.put(this.BASE_URL + this.Api + '/SaveTasks', s);\r\n return httpresult;\r\n }\r\n\r\n public saveRequiredWFTask(id: number, required: boolean) {\r\n const httpresult = this.http.put(this.BASE_URL + this.Api + '/SaveRequiredWFTask/' + id + '/' + (required ? 1 : 0).toString(), null);\r\n return httpresult;\r\n }\r\n\r\n public processKES(ids: number[]) {\r\n return this.http.post(this.BASE_URL + this.Api + '/ProcessKES', ids).subscribe(\r\n response => {\r\n console.log('ProcessKES succeeded:', response);\r\n },\r\n error => {\r\n console.error('ProcessKES failed:', error);\r\n }\r\n );\r\n }\r\n\r\n loadComponents() {\r\n this.components$ = this.store.select(state => state.Components.data);\r\n this.componentsSubs = this.components$.subscribe(data => {\r\n this.components = data;\r\n });\r\n }\r\n\r\n updateTask(t: WfTaskLocalResource) {\r\n this.loadComponents();\r\n if (!t.component) {\r\n t.component = this.components.find(x => x.id == (t.componentID ? t.componentID : t.type));\r\n t.componentID = t.component?.id;\r\n }\r\n t.isCompleted = t.required ? utils.taskComplete(t) : true;\r\n const tasks = this.allTasks.filter(x => x.id != t.id);\r\n tasks.push(t);\r\n this.updateAllTasks(tasks);\r\n }\r\n\r\n allTasks: WfTaskLocalResource[] = [];\r\n allTasksObservable = new BehaviorSubject(this.allTasks);\r\n\r\n updateAllTasks(tasks: WfTaskLocalResource[]) {\r\n this.allTasks = utils.parseConditions(tasks);\r\n this.allTasksObservable.next(tasks);\r\n }\r\n\r\n setAllTasks(sections?: WFSectionLocalResource[]) {\r\n if (!sections?.length) return;\r\n\r\n this.loadComponents();\r\n\r\n const tasks: WfTaskLocalResource[] = sections.reduce((acc, section) => {\r\n section.wfStepLocals?.forEach(step => {\r\n step.wfTaskLocals.forEach(task => {\r\n if (!task.component) {\r\n task.component = this.components.find(x => x.id === (task.componentID || task.type));\r\n task.componentID = task.component?.id;\r\n }\r\n acc.push(task);\r\n });\r\n });\r\n return acc;\r\n }, [] as WfTaskLocalResource[]);\r\n\r\n const parsedTasks = utils.parseConditions(tasks);\r\n this.updateAllTasks(parsedTasks);\r\n }\r\n}\r\n\r\nclass SerialNumber {\r\n serialNo?: string;\r\n}\r\n","import { ShutterResource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { WFTableResource, WFTableConfig } from \"../workflow/workflow\";\r\nimport { WfSignatureResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { ChecklistExecStatus } from \"../checklists/checklists\";\r\n\r\nexport class KEResource {\r\n id!: number;\r\n name?: string;\r\n serialNo!: string;\r\n shutterId?: number;\r\n shutterName?: string;\r\n branchlineId?: number;\r\n branchlineName?: string;\r\n status!: number;\r\n type?: number;\r\n statusName?: string;\r\n requesterId?: number;\r\n requesterName?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n createdByName?: string;\r\n locations?: Location[];\r\n wfTableID?: number;\r\n typeName?: string;\r\n versionName?: string;\r\n resource?: ShutterResource;\r\n wfTable?: WFTableResource;\r\n wfSignatures?: WfSignatureResource[];\r\n\r\n checklistStatusID?: number;\r\n checklistStatus?: ChecklistExecStatus;\r\n}\r\n\r\nexport class SaveKEResource {\r\n id!: number;\r\n name!: string;\r\n serialNo!: string;\r\n type!: number;\r\n shutterId!: number;\r\n branchlineId!: number;\r\n status!: number;\r\n requesterId?: number;\r\n wfTableID!: number;\r\n}\r\n\r\nexport class KEStatusResource {\r\n status!: number;\r\n completed!: boolean;\r\n userID!: number;\r\n taskCount!: number;\r\n}\r\n\r\nexport class SaveKEStatusResource {\r\n id!: number;\r\n status!: number;\r\n}\r\n\r\nexport class KEVersionResource {\r\n id?: number;\r\n name!: string;\r\n type!: number;\r\n status?: number;\r\n requesterId!: number;\r\n shutterId!: number;\r\n branchlineId!: number;\r\n wfTableID?: number;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n createdByName?: string;\r\n updatedBy?: number;\r\n updatedOn?: Date;\r\n updatedByName?: string;\r\n resourceID?: number;\r\n approvedByID?: number;\r\n approvedBy?: User;\r\n approvedOn?: Date;\r\n wfTableConfig?: WFTableConfig;\r\n procedureMasterID?: number;\r\n}\r\n\r\nexport class KETStatusResource {\r\n activeFullVersion!: KEVersionResource;\r\n activeAbbrVersion!: KEVersionResource;\r\n newFullVersions!: number;\r\n newAbbrVersions!: number;\r\n templateStatus!: number;\r\n}\r\n\r\nexport interface EpicsValuesResource {\r\n id: number;\r\n name: string | null;\r\n type: number;\r\n channelName?: string | null;\r\n vacuumValue: number | null;\r\n location: string | null;\r\n keVacuumMinRequirement: number | null;\r\n keVacuumMaxRequirement: number | null;\r\n question?: string | null;\r\n isValid?: boolean;\r\n}\r\n","import { Component, ViewChild, HostListener, OnInit, OnDestroy, AfterViewInit, Injector } from '@angular/core';\r\nimport { KEResource, SaveKEResource } from './ke';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { KEService } from './ke.service';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { KESection0Component } from './ke-main/ke-section0/ke-section0.component';\r\nimport { KESidePanelComponent } from './ke-side/ke-side-panel.component';\r\nimport { KEMainPanelComponent } from './ke-main/ke-main-panel.component';\r\n\r\n@Component({\r\n selector: 'ke',\r\n templateUrl: './kenable.component.html',\r\n styleUrls: ['./kenable.component.scss']\r\n})\r\n\r\nexport class KEComponent extends BaseComponent implements OnInit, OnDestroy, AfterViewInit {\r\n\r\n @ViewChild(KESection0Component) public section0!: KESection0Component;\r\n @ViewChild(KESidePanelComponent) public sidePanel!: KESidePanelComponent;\r\n @ViewChild(KEMainPanelComponent) public mainPanel!: KEMainPanelComponent;\r\n\r\n loading: boolean = true;\r\n\r\n ke?: KEResource | null;\r\n formStatus?: FormStatus;\r\n formStatuses!: FormStatus[];\r\n formStatuses$!: Observable;\r\n formStatusesSubs!: Subscription;\r\n\r\n canCreate!: boolean | null;\r\n canCancel!: boolean | null;\r\n\r\n filter!: string;\r\n\r\n cancelAllowStatuses: FormStatusEnum[] = [FormStatusEnum.Draft, FormStatusEnum.Active, FormStatusEnum.Shielding];\r\n\r\n disapproveReason?: string;\r\n disapproved = false;\r\n\r\n dateNow!: any;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _ke: KEService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n const element = $('#left-nav-buttons')[0];\r\n const resizeObserver = new ResizeObserver(() => {\r\n this.setHeights();\r\n });\r\n resizeObserver.observe(element);\r\n window.addEventListener('resize', () => {\r\n this.setHeights();\r\n }, true);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.formStatusesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadFormStatuses();\r\n this.moduleTitle = 'Key-Enable Procedure Checklist';\r\n this.checkPrivileges();\r\n }\r\n\r\n checkPrivileges() {\r\n this.canCreate = this.hasPrivilege(PrivilegeEnum.CreateKEChecklist);\r\n this.canCancel = this.hasPrivilege(PrivilegeEnum.CancelKEChecklist) && this.cancelAllowStatuses.includes(this.ke?.status ?? 0);\r\n }\r\n\r\n loadFormStatuses() {\r\n this.formStatuses$ = this.store.select(state => state.FormStatuses.data);\r\n this.formStatusesSubs = this.formStatuses$.subscribe(data => {\r\n if (data) {\r\n this.formStatuses = data;\r\n setTimeout(() => {\r\n this.formStatus = this.formStatuses?.find(x => x.id == this.ke?.status);\r\n\r\n }, 100);\r\n }\r\n });\r\n }\r\n\r\n refresh(e: KEResource) {\r\n this.ke = e;\r\n this.checkPrivileges();\r\n setTimeout(() => {\r\n this.formStatus = this.formStatuses.find(x => x.id == this.ke?.status);\r\n }, 100);\r\n if (this.ke?.wfSignatures?.length) {\r\n this.disapproveReason = this.ke.wfSignatures?.find(x => x.sectionNumber == 0)?.disapproveReason;\r\n }\r\n }\r\n\r\n async create() {\r\n this.setFormDirty(true);\r\n this.ke = {\r\n id: 0,\r\n serialNo: (await this._ke.getSerialNo().toPromise())?.serialNo,\r\n status: 0,\r\n createdBy: this.getCurrentUser()?.id,\r\n createdByName: this.getCurrentUser()?.name,\r\n createdOn: new Date()\r\n } as KEResource;\r\n this.formStatus = this.formStatuses.find(x => x.id == this.ke?.status);\r\n this.mainPanel?.create(this.ke);\r\n this.sidePanel.selectedRowIndex = -1;\r\n this.sidePanel.ke = null;\r\n }\r\n\r\n showCreate() {\r\n\r\n }\r\n\r\n @HostListener('window:resize')\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n }\r\n\r\n save(status: number) {\r\n if (this.ke?.serialNo) {\r\n this.setLoading(true);\r\n\r\n const saveKEResource: SaveKEResource = {\r\n id: this.ke ? this.ke.id : 0,\r\n name: this.ke.serialNo,\r\n serialNo: this.ke.serialNo,\r\n shutterId: this.section0.shutter?.id ?? 0,\r\n branchlineId: this.section0.resource?.id ?? 0,\r\n status,\r\n requesterId: this.getCurrentUser()?.id,\r\n wfTableID: this.section0.wfTableID ?? 0,\r\n type: this.section0.radioSelection\r\n };\r\n if (saveKEResource.id == 0) {\r\n if (this.section0.isValid(saveKEResource)) {\r\n this.setLoading(true);\r\n this._ke.post(saveKEResource).toPromise().then(data => {\r\n if (data) {\r\n this.ke = data;\r\n this.sidePanel.getValues(this.ke);\r\n this.setFormDirty(false);\r\n const wfSignature = this.ke?.wfSignatures?.find(x => x.sectionNumber == 0);\r\n if (wfSignature)\r\n this.section0.sign(wfSignature.taskID, wfSignature.approveID);\r\n this.alert.info(this.getMessage('NewChecklistCreated').description.replace('{serialNo}', data.serialNo));\r\n this.setLoading(false);\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n this.alert.error(error.error);\r\n this.setLoading(false);\r\n }\r\n );\r\n }\r\n else {\r\n this.alert.error(this.section0.errorMsg.join(', '));\r\n this.setLoading(false);\r\n }\r\n }\r\n }\r\n }\r\n\r\n async cancel() {\r\n await this.section0.cancel();\r\n }\r\n\r\n unselect() {\r\n this.sidePanel.unselect();\r\n }\r\n\r\n async discard() {\r\n this.setLoading(true);\r\n await this.deleteSerialNo(this.ke?.serialNo)?.toPromise();\r\n this.ke = null;\r\n this.setFormDirty(false);\r\n this.setLoading(false);\r\n }\r\n\r\n override async canDeactivate(): Promise {\r\n const value = await super.canDeactivate();\r\n if (value) {\r\n this.setLoading(true);\r\n if (this.ke?.serialNo && this.currentUser) {\r\n await this.deleteSerialNo(this.ke?.serialNo)?.toPromise();\r\n this.ke = null;\r\n }\r\n this.setLoading(false);\r\n }\r\n return value;\r\n }\r\n\r\n setLoading(val: boolean) {\r\n setTimeout(() => {\r\n this.loading = val;\r\n }, 100);\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ moduleTitle }}\r\n
    \r\n \r\n

    \r\n {{ ke?.serialNo }}\r\n for {{ ke?.shutterName }}\r\n

    \r\n \r\n {{ formStatus?.name }}\r\n \r\n
    \r\n
    \r\n \r\n Operator initiating form\r\n \r\n \r\n
    \r\n
    \r\n \r\n Created Date\r\n \r\n \r\n
    \r\n \r\n \r\n Create Checklist\r\n \r\n \r\n Cancel\r\n \r\n \r\n Cancel Checklist\r\n \r\n Reason of cancelation: {{ disapproveReason }}\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { KEService } from './ke.service';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormControl, FormGroupDirective, NgForm, ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { KEComponent } from './kenable.component';\r\nimport { KESection0Component } from './ke-main/ke-section0/ke-section0.component';\r\nimport { KESidePanelComponent } from './ke-side/ke-side-panel.component';\r\nimport { KEMainPanelComponent } from './ke-main/ke-main-panel.component';\r\nimport { KESectionXComponent } from './ke-main/ke-sectionX/ke-sectionX.component';\r\nimport { KeClBuilderSectionComponent } from './ke-checklist-builder/ke-cl-builder-section/ke-cl-builder-section.component';\r\nimport { KeChecklistBuilderComponent } from './ke-checklist-builder/ke-checklist-builder.component';\r\nimport { KeChecklistBuilderService } from './ke-checklist-builder/ke-checklist-builder.service';\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n KEComponent,\r\n KEMainPanelComponent,\r\n KESidePanelComponent,\r\n KESection0Component,\r\n KESectionXComponent,\r\n\r\n KeChecklistBuilderComponent,\r\n KeClBuilderSectionComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ChecklistsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n KeChecklistBuilderComponent,\r\n KeClBuilderSectionComponent\r\n ],\r\n providers: [\r\n KEService,\r\n KeChecklistBuilderService,\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class KenableModule { }\r\n","import { KEVersionResource } from '../../ke';\r\n\r\nexport class KEVersionRefresh {\r\n static readonly type = '[KEVersion] Refresh';\r\n}\r\nexport class KEVersionCreate {\r\n static readonly type = '[KEVersion] Create';\r\n constructor(public item: KEVersionResource) { }\r\n}\r\nexport class KEVersionUpdate {\r\n static readonly type = '[KEVersion] Update';\r\n constructor(public id: number, public item: KEVersionResource) { }\r\n}\r\nexport class KEVersionDelete {\r\n static readonly type = '[KEVersion] Delete';\r\n constructor(public id: number) { }\r\n}\r\nexport class KEVersionRefreshByID {\r\n static readonly type = '[KEVersion] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { KEResource, KEVersionResource } from '../../ke';\r\nimport { KEVersionCreate, KEVersionDelete, KEVersionRefresh, KEVersionRefreshByID, KEVersionUpdate } from './ke-version.action';\r\nimport { KEService } from '../../ke.service';\r\nimport { KeChecklistBuilderService } from '../../ke-checklist-builder/ke-checklist-builder.service';\r\n\r\nexport class KEVersionStateModel {\r\n data: KEVersionResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'KEVersions',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class KEVersionState {\r\n constructor(\r\n private service: KeChecklistBuilderService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: KEVersionStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(KEVersionRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(KEVersionRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: KEVersionRefreshByID) {\r\n this.service.getByID(id).subscribe(data => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, data]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n // @Action(KEVersionCreate)\r\n // create({ getState, patchState }: StateContext, { item }: KEVersionCreate) {\r\n // patchState({\r\n // data: [...getState().data, item]\r\n // });\r\n // }\r\n\r\n // @Action(KEVersionUpdate)\r\n // update({ getState, patchState }: StateContext, { id, item }: KEVersionUpdate) {\r\n // const state = getState();\r\n // const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n // if (index >= 0) {\r\n // state.data.splice(index, 1);\r\n // patchState({\r\n // data: [...state.data, item]\r\n // });\r\n // }\r\n // }\r\n\r\n // @Action(KEVersionDelete)\r\n // delete({ getState, patchState }: StateContext, { id }: KEVersionDelete) {\r\n // patchState({\r\n // data: getState().data.filter(x => x.id != id)\r\n // });\r\n // }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as KEVersionActions from 'src/app/components/kenable/store/ke-version/ke-version.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class KEVersionStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new KEVersionActions.KEVersionRefresh());\r\n }\r\n\r\n initListeners() {\r\n // KEVersion\r\n this.signalRService.hubConnection?.on(Channels.KEVERSION, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new KEVersionActions.KEVersionRefresh());\r\n break;\r\n\r\n case SignalRAction.Add:\r\n this.store.dispatch(new KEVersionActions.KEVersionCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new KEVersionActions.KEVersionUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new KEVersionActions.KEVersionDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new KEVersionActions.KEVersionRefreshByID(data.id));\r\n }\r\n });\r\n }\r\n}\r\n","import { KEResource } from '../../ke';\r\n\r\nexport class KEnableRefresh {\r\n static readonly type = '[KEnable] Refresh';\r\n}\r\nexport class KEnableCreate {\r\n static readonly type = '[KEnable] Create';\r\n constructor(public item: KEResource) { }\r\n}\r\nexport class KEnableUpdate {\r\n static readonly type = '[KEnable] Update';\r\n constructor(public id: number, public item: KEResource) { }\r\n}\r\nexport class KEnableDelete {\r\n static readonly type = '[KEnable] Delete';\r\n constructor(public id: number) { }\r\n}\r\nexport class KEnableRefreshByID {\r\n static readonly type = '[KEnable] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { KEResource } from '../../ke';\r\nimport { KEnableCreate, KEnableDelete, KEnableRefresh, KEnableRefreshByID, KEnableUpdate } from './kenable.action';\r\nimport { KEService } from '../../ke.service';\r\n\r\nexport class KEnableStateModel {\r\n data: KEResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'KEnables',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class KEnableState {\r\n constructor(\r\n private service: KEService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: KEnableStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(KEnableRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(KEnableRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: KEnableRefreshByID) {\r\n this.service.getById(id).subscribe(data => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, data]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(KEnableCreate)\r\n create({ getState, patchState }: StateContext, { item }: KEnableCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(KEnableUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: KEnableUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(KEnableDelete)\r\n delete({ getState, patchState }: StateContext, { id }: KEnableDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as KEnableActions from 'src/app/components/kenable/store/ke/kenable.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class KEnableStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new KEnableActions.KEnableRefresh());\r\n }\r\n\r\n initListeners() {\r\n // KEnable\r\n this.signalRService.hubConnection?.on(Channels.KENABLE, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new KEnableActions.KEnableRefresh());\r\n break;\r\n\r\n case SignalRAction.Add:\r\n this.store.dispatch(new KEnableActions.KEnableCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new KEnableActions.KEnableUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new KEnableActions.KEnableDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new KEnableActions.KEnableRefreshByID(data.id));\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { FormControl } from '@angular/forms';\r\nimport { environment } from 'src/environments/environment';\r\nimport { AuthenticationService } from 'src/app/services/authentication/authentication.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MatSelectChange } from '@angular/material/select';\r\n\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.scss']\r\n})\r\n\r\nexport class LoginComponent extends BaseComponent implements OnDestroy, OnInit {\r\n\r\n public devMode = true;\r\n public toggleVisible: boolean = false;\r\n\r\n loading = false;\r\n submitted = false;\r\n\r\n dropdown = true;\r\n username = '';\r\n usernameCtrl = new FormControl();\r\n passwordCtrl = new FormControl();\r\n password = '';\r\n\r\n usersFiltered: User[] = [];\r\n\r\n constructor(\r\n private authenticationService: AuthenticationService,\r\n public dialogRef: MatDialogRef,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.loading = false;\r\n\r\n this.devMode = !environment.production;\r\n this.toggleVisible = environment.toggle;\r\n this.password = '';\r\n }\r\n\r\n ngOnInit() {\r\n this.usersFiltered = this.getUsers().filter(u => u.status == 1);\r\n this.usersFiltered.map(u => {\r\n u.roleCodes = u.userRole?.map(r => r.role?.code).join(', ');\r\n });\r\n if (this.getCurrentUser()) {\r\n this.cancel;\r\n this.loading = false;\r\n }\r\n }\r\n\r\n toggle() {\r\n this.dropdown = !this.dropdown;\r\n if (this.dropdown) {\r\n this.getUsers();\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n selected(e: MatSelectChange) {\r\n const user = this.getUsers().find(x => x.id === e.value);\r\n if (user)\r\n this.authenticationService.authenticate(user).subscribe(response => {\r\n this.loading = false;\r\n this.dialogRef.close(response);\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n \"Berkeley\r\n
    \r\n\r\n
    \r\n
    ASCC Portal Login
    \r\n
    \r\n \r\n  \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n {{ e.name }} ({{ e.roleCodes }})\r\n \r\n \r\n \r\n Loading\r\n Users....\r\n \r\n
    \r\n \r\n \r\n
    \r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'logout',\r\n templateUrl: './logout.component.html',\r\n styleUrls: ['./logout.component.scss']\r\n})\r\nexport class LogoutComponent {\r\n constructor() {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n location.href = 'https://ascc.als.lbl.gov/Shibboleth.sso/Logout';\r\n }\r\n}\r\n","
    logout Component
    ","import { Component, EventEmitter, Injector, Input } from '@angular/core';\r\nimport { MenuItem, MenuItemRole } from '../../head-page/head-menu/head-menu.models';\r\nimport { MenuService } from '../menu.service';\r\nimport { MenuItemType } from 'src/app/common/enumerations/enumerations';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\n\r\n@Component({\r\n selector: 'menu-config-actions',\r\n templateUrl: './menu-config-actions.component.html',\r\n styleUrls: ['./menu-config-actions.component.scss']\r\n})\r\nexport class MenuConfigActionsComponent extends BaseComponent {\r\n\r\n @Input() menuItem!: MenuItem;\r\n @Input() menuItems?: MenuItem[];\r\n @Input() index!: number;\r\n @Input() orientation!: Orientation;\r\n @Input() buttonClass?: string = 'blue';\r\n @Input() SA!: boolean;\r\n\r\n orientationEnum = Orientation;\r\n menuItemType = MenuItemType;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: MenuService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async changeVisible(m: MenuItem, val: boolean) {\r\n if (await this.canDeactivate()) {\r\n m.status = val ? 1 : 0;\r\n this.service.updateMenuOption(m).toPromise();\r\n }\r\n }\r\n\r\n async edit(m: MenuItem) {\r\n if (await this.canDeactivate())\r\n this.service.setMenuItem(m);\r\n }\r\n\r\n async delete(m: MenuItem) {\r\n if (await this.canDeactivate() && m.id) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage(2603)?.description.replace('{template}', 'this Menu Item'),\r\n icon: \"stop\"\r\n }\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data && m.id) {\r\n await this.service.deleteMenuOption(m.id).toPromise().then(() => this.alert.message('remove', [new MessagePlaceholder('{what}', 'Menu Item')])).catch(() => this.alert.defaultError());\r\n }\r\n });\r\n }\r\n }\r\n\r\n create(m: MenuItem) {\r\n const menuItem = { id: 0, name: 'New Menu Item', order: m.order, menuItemRoles: [] as MenuItemRole[], parentMenuItemID: m.parentMenuItemID } as MenuItem;\r\n this.service.setMenuItem(menuItem);\r\n }\r\n\r\n async addDivider(m: MenuItem) {\r\n const menuItem = { id: 0, name: '-- divider --', status: 1, type: -1, visible: true, order: m.order, isSeparator: true, parentMenuItemID: m.parentMenuItemID } as MenuItem;\r\n await this.service.createNewMenuOption(menuItem).toPromise().catch(() => this.alert.defaultError());\r\n this.alert.message('create', [new MessagePlaceholder('{what}', 'Divider')]);\r\n }\r\n\r\n move(m: MenuItem, way: number) {\r\n const index = this.menuItems?.findIndex(i => i.id == m.id) as number;\r\n const n = this.menuItems?.[index + way] as MenuItem;\r\n const o = n.order;\r\n n.order = m.order;\r\n m.order = o;\r\n this.service.updateMenuOptions([m, n]).toPromise().then(() => {\r\n this.alert.info('Item Moved');\r\n }).catch(() => this.alert.defaultError());\r\n }\r\n\r\n}\r\n\r\nexport enum Orientation {\r\n Horizontal = 1,\r\n Vertical = 2\r\n}\r\n","\r\n more_vert\r\n\r\n\r\n \r\n visibility_offHide\r\n \r\n \r\n visibilityShow\r\n \r\n\r\n \r\n\r\n \r\n editModify\r\n \r\n \r\n \r\n\r\n \r\n eastMove Right\r\n \r\n 0 && orientation == orientationEnum.Horizontal\"\r\n >\r\n westMove Left\r\n \r\n\r\n 0 && orientation == orientationEnum.Vertical\"\r\n (click)=\"move(menuItem, -1); $event.stopPropagation()\"\r\n >\r\n northMove Up\r\n \r\n \r\n southMove Down\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n horizontal_ruleAdd Divider\r\n \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { MenuService } from '../menu.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MenuItem, MenuItemRole, MenuItemType } from '../../head-page/head-menu/head-menu.models';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { AbstractControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MenuItemType as MenuItemTypeEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Observable } from 'rxjs';\r\nimport { Router, Route } from '@angular/router';\r\nimport FileV2 from 'src/app/services/file/file-v2.model';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { TemplateType } from '../../checklists/checklists';\r\nimport { ScheduleType } from '../../schedules/models/schedule-type';\r\nimport { ReviewBoardType } from '../../reviews/reviews.models';\r\n\r\n@Component({\r\n selector: 'menu-config-edit',\r\n templateUrl: './menu-config-edit.component.html',\r\n styleUrls: ['./menu-config-edit.component.scss']\r\n})\r\nexport class MenuConfigEditComponent extends BaseComponent implements OnInit {\r\n\r\n @Output() loading = new EventEmitter();\r\n @Input() disabled!: boolean;\r\n\r\n menuItem?: MenuItem;\r\n label?: string;\r\n\r\n roles?: Role[];\r\n allRoles?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n menuItemTypes?: MenuItemType[];\r\n menuItemType = MenuItemTypeEnum;\r\n\r\n menuItems?: MenuItem[];\r\n menuItemsFiltered?: MenuItem[];\r\n menuItems$!: Observable;\r\n menuItemsSubs!: Subscription;\r\n\r\n templateTypes?: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n scheduleTypes?: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n reviewBoardTypes?: ReviewBoardType[];\r\n reviewBoardTypes$!: Observable;\r\n reviewBoardTypesSubs!: Subscription;\r\n\r\n menuItemGroups?: MenuItem[];\r\n\r\n parentMenuItems?: MenuItem[];\r\n\r\n routes?: Route[];\r\n\r\n helpFile?: FileV2 | null;\r\n\r\n tables = ['ScheduleTypes', 'Links'];\r\n\r\n routeHelpers?: RouteHelper[];\r\n routeTables?: RouteTable[];\r\n\r\n public get labelCtrl(): AbstractControl | null { return this.formGroup.get('labelCtrl'); }\r\n public get menuItemTypeCtrl(): AbstractControl | null { return this.formGroup.get('menuItemTypeCtrl'); }\r\n public get rolesCtrl(): AbstractControl | null | undefined { return this.formGroup.get('rolesCtrl'); }\r\n public get acronymCtrl(): AbstractControl | null { return this.formGroup.get('acronymCtrl'); }\r\n public get routeCtrl(): AbstractControl | null { return this.formGroup.get('routeCtrl'); }\r\n public get visibleToggleCtrl(): AbstractControl | null { return this.formGroup.get('visibleToggleCtrl'); }\r\n public get parentCtrl(): AbstractControl | null { return this.formGroup.get('parentCtrl'); }\r\n public get tableCtrl(): AbstractControl | null { return this.formGroup.get('tableCtrl'); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: MenuService,\r\n private router: Router,\r\n private fileService: FileV2Service\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.loading.emit(true);\r\n this.buildForm();\r\n this.loadRoles();\r\n this.routes = this.router.config.filter(r => r.component);\r\n this.routes.sort((a, b) => this.utils.sort(a.path, b.path));\r\n this.getRouteReplacements();\r\n this.loadTemplateTypes();\r\n this.getMenuItemTypes();\r\n this.getInfo();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n this.menuItemsSubs?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.scheduleTypesSubs?.unsubscribe();\r\n this.reviewBoardTypesSubs?.unsubscribe();\r\n this.reviewBoardTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n async getMenuItemTypes() {\r\n this.menuItemTypes = (await this.service.getAllTypes().toPromise())?.filter(t => (t?.id ?? 0) > 0);\r\n }\r\n\r\n getInfo() {\r\n this.service.currentItem.subscribe(async data => {\r\n this.menuItem = this.utils.cloneDeep(data);\r\n this.getMenuItemTypes();\r\n this.loadMenuItems();\r\n this.label = data?.name;\r\n this.labelCtrl?.setValue(data?.name);\r\n this.roles = this.menuItem?.menuItemRoles?.map(r => {\r\n if (!r.role)\r\n r.role = this.allRoles?.find(x => x.id == r.roleID);\r\n return r.role as Role\r\n });\r\n this.menuItemTypeCtrl?.setValue(this.menuItem?.menuItemType?.id);\r\n this.acronymCtrl?.setValue(this.menuItem?.code);\r\n this.tableCtrl?.setValue(this.menuItem?.table);\r\n this.routeCtrl?.setValue({ path: this.menuItem?.route, component: { name: '[Component]' } });\r\n this.visibleToggleCtrl?.setValue(this.menuItem?.status);\r\n this.parentCtrl?.setValue(this.menuItems?.find(m => m.id == this.menuItem?.parentMenuItemID));\r\n if (this.menuItem?.fileV2Id)\r\n this.helpFile = await this.fileService.obtainFile(this.menuItem?.fileV2Id).toPromise();\r\n else this.helpFile = null;\r\n this.setFormDirty(false);\r\n });\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data?.length) {\r\n this.allRoles = data;\r\n }\r\n });\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.templateTypes = data;\r\n this.loadScheduleTypes();\r\n }\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.scheduleTypes = data.filter(s => s.isActive);\r\n this.loadReviewBoardTypes();\r\n }\r\n });\r\n }\r\n\r\n loadReviewBoardTypes() {\r\n this.reviewBoardTypes$ = this.store.select(state => state.ReviewBoardTypes.data);\r\n this.reviewBoardTypesSubs = this.reviewBoardTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.reviewBoardTypes = data;\r\n this.getRouteHelpers();\r\n }\r\n });\r\n }\r\n\r\n displayRoute(e: Route) {\r\n return e ? e.path as string : '';\r\n }\r\n\r\n loadMenuItems() {\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.menuItemsSubs = this.menuItems$.subscribe(data => {\r\n if (data?.length) {\r\n this.menuItems = data;\r\n this.createMenuGroups();\r\n }\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n labelCtrl: [{ value: false }],\r\n menuItemTypeCtrl: [{ value: '' }, [Validators.required, this.utils.IsWhiteSpaceReactiveForm]],\r\n rolesCtrl: [{ value: false }],\r\n acronymCtrl: [{ value: false }],\r\n routeCtrl: [{ value: '' }],\r\n tableCtrl: [{ value: '' }],\r\n visibleToggleCtrl: [{ value: false }],\r\n parentCtrl: [{ value: false }]\r\n });\r\n if (this.disabled) { this.formGroup.disable(); }\r\n }\r\n\r\n createMenuGroups() {\r\n this.parentMenuItems = this.menuItems?.filter(m => m.menuItemType?.id == MenuItemTypeEnum.Submenu);\r\n this.menuItemGroups = [{ id: 0, name: 'Main Menu' } as MenuItem];\r\n const other = this.parentMenuItems?.filter(m => m.parentMenuItemID);\r\n other?.map(o => {\r\n if (!this.menuItemGroups?.map(m => m.id).includes(o.parentMenuItemID ?? 0)) {\r\n const group = this.menuItems?.find(m => m.id == o.parentMenuItemID);\r\n if (group)\r\n this.menuItemGroups?.push(group);\r\n }\r\n });\r\n }\r\n\r\n getRouteReplacements() {\r\n this.routeTables = [];\r\n this.routes?.filter(r => r.path?.includes('/:')).flatMap(r => r.path as string).map(path => {\r\n const p = path.split('/:');\r\n const routeTable = { path, table: p[0], param: p[1], helpers: [] } as RouteTable;\r\n this.routeTables?.push(routeTable);\r\n });\r\n }\r\n\r\n getRouteHelpers() {\r\n this.routeTables?.map(r => {\r\n switch (r.table) {\r\n case 'checklist-exec':\r\n r.helpers = this.templateTypes?.map(t => {\r\n const helper = { id: t.documentTypeID, description: t.execDocumentType?.description, route: r.table + '/' + t.documentTypeID } as RouteHelper;\r\n return helper;\r\n }).filter((obj, index, self) => index === self.findIndex(o => o.id === obj.id)).sort((a, b) => a.id - b.id) ?? [];\r\n break;\r\n case 'checklist-builder':\r\n r.helpers = this.templateTypes?.map(t => {\r\n const helper = { id: t.documentTypeID, description: t.documentType?.description, route: r.table + '/' + t.documentTypeID } as RouteHelper;\r\n return helper;\r\n }).filter((obj, index, self) => index === self.findIndex(o => o.id === obj.id)).sort((a, b) => a.id - b.id) ?? [];\r\n break;\r\n case 'schedulesV2':\r\n r.helpers = this.scheduleTypes?.flatMap(s => {\r\n const helper = { id: s.id, description: s.name, route: r.table + '/' + s.id } as RouteHelper;\r\n return helper;\r\n }).sort((a, b) => a.id - b.id) ?? [];\r\n break;\r\n case 'reviews':\r\n r.helpers = this.reviewBoardTypes?.flatMap(t => {\r\n const helper = { id: t.id, description: t.name, route: r.table + '/' + t.id } as RouteHelper;\r\n return helper;\r\n }).sort((a, b) => a.id - b.id) ?? [];\r\n break;\r\n case 'resources-new':\r\n r.helpers = [];\r\n r.helpers.push({ id: 0, description: 'Beamline Details', route: r.table });\r\n r.helpers.push({ id: 1, description: 'KE Builder', route: r.table + '/1' });\r\n r.helpers.push({ id: 2, description: 'RSS Database', route: r.table + '/2' });\r\n break;\r\n }\r\n });\r\n this.loading.emit(false);\r\n }\r\n\r\n getRouteTable() {\r\n let r: string;\r\n if (this.routeCtrl?.value?.path)\r\n r = this.routeCtrl.value.path;\r\n else\r\n r = this.routeCtrl?.value;\r\n const p = r.split('/') as string[];\r\n return this.routeTables?.find(t => t.table == p[0]);\r\n }\r\n\r\n validateRoute() {\r\n const val = this.routeCtrlValue();\r\n\r\n if (val.includes('/')) {\r\n const p = val.split('/');\r\n const table = this.routeTables?.find(t => t.table == p[0]);\r\n const route = table?.helpers.find(h => h.id.toString() == p[1]);\r\n if (!route) {\r\n this.routeCtrl?.setErrors({ invalid: true });\r\n return;\r\n }\r\n }\r\n this.routeCtrl?.setErrors(null);\r\n }\r\n\r\n routeCtrlValue() {\r\n const e = this.routeCtrl?.value;\r\n let val: string = '';\r\n if (e.source)\r\n val = e.source.value.path;\r\n else if (e.target)\r\n val = e.target.value;\r\n else if (e.path)\r\n val = e.path;\r\n else val = e;\r\n return val;\r\n }\r\n\r\n getGroupItems(group: MenuItem) {\r\n return this.parentMenuItems?.filter(m => m.id != this.menuItem?.id && (m.parentMenuItemID ?? 0) == group.id).sort((a, b) => this.utils.sort(a.order, b.order));\r\n }\r\n\r\n changed(e: any, formControlName: string) {\r\n this.setFormDirty();\r\n if (this.menuItem) {\r\n switch (formControlName) {\r\n\r\n case 'labelCtrl':\r\n this.menuItem.name = e.target.value;\r\n break;\r\n\r\n case 'menuItemTypeCtrl':\r\n this.menuItem.type = e.value;\r\n break;\r\n\r\n case 'rolesCtrl':\r\n const menuItemRoles = [] as MenuItemRole[];\r\n const roles = e as Role[];\r\n roles.map(r => {\r\n const menuItemRole = { menuItemID: this.menuItem?.id, roleID: r.id } as MenuItemRole;\r\n menuItemRoles.push(menuItemRole);\r\n });\r\n this.menuItem.menuItemRoles = menuItemRoles;\r\n break;\r\n\r\n case 'acronymCtrl':\r\n this.menuItem.code = e.target.value;\r\n break;\r\n\r\n case 'routeCtrl':\r\n if (e.source)\r\n this.menuItem.route = e.source.value.path;\r\n else if (e.target)\r\n this.menuItem.route = e.target.value;\r\n else if (e.path)\r\n this.menuItem.route = e.path;\r\n break;\r\n\r\n case 'tableCtrl':\r\n this.menuItem.table = e.value;\r\n break;\r\n\r\n case 'visibleToggleCtrl':\r\n this.menuItem.status = e.checked ? 1 : 0;\r\n this.menuItem.visible = e.checked;\r\n break;\r\n\r\n case 'parentCtrl':\r\n this.menuItem.parentMenuItemID = e.source.value.id;\r\n break;\r\n }\r\n }\r\n console.log(this.menuItem);\r\n }\r\n\r\n getRouteErrorMsg() {\r\n const path = this.routeCtrlValue() as any;\r\n if (path?.path?.includes(':')) return this.getRouteColonMessage(path)\r\n else return this.getErrorMsg(this.routeCtrl);\r\n }\r\n\r\n getRouteColonMessage(path: string) {\r\n this.routeCtrl?.setErrors({ action: true });\r\n const val = path.split(':')[1];\r\n return 'You must replace :' + val + ' with the Value of the Route option.'\r\n }\r\n\r\n setFileID(e: number) {\r\n if (this.menuItem)\r\n this.menuItem.fileV2Id = e;\r\n this.setFormDirty();\r\n }\r\n\r\n create() {\r\n const menuItem = { id: 0, name: 'New Menu Item', menuItemRoles: [] as MenuItemRole[] } as MenuItem;\r\n this.service.setMenuItem(menuItem);\r\n }\r\n\r\n cancel() {\r\n if (!this.isFormDirty())\r\n this.reset();\r\n else\r\n this.getInfo();\r\n this.setFormDirty(false);\r\n }\r\n\r\n save() {\r\n if (!this.isValid()) return;\r\n\r\n if (this.menuItem?.id) {\r\n this.service.updateMenuOption(this.menuItem).toPromise().then(() => {\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Menu Item: ' + this.menuItem?.name + ' ')]);\r\n this.reset();\r\n }).catch(() => this.alert.defaultError());\r\n }\r\n else if (this.menuItem) {\r\n this.service.createNewMenuOption(this.menuItem).toPromise().then(() => {\r\n this.alert.message('create', [new MessagePlaceholder('{what}', 'Menu Item: ' + this.menuItem?.name + ' ')]);\r\n this.reset();\r\n }).catch(() => this.alert.defaultError());\r\n }\r\n }\r\n\r\n isValid() {\r\n let result = true;\r\n result = this.validateRequiredControl(this.labelCtrl, 'Label', result);\r\n result = this.validateRequiredControl(this.menuItemTypeCtrl, 'Type', result);\r\n if (this.menuItem?.type == MenuItemTypeEnum.Route) {\r\n this.validateRoute();\r\n if (this.routeCtrl?.value?.path)\r\n result = this.validateRequiredControl(this.routeCtrl, 'Route', result, 'path');\r\n else\r\n result = this.validateRequiredControl(this.routeCtrl, 'Route', result);\r\n }\r\n\r\n if (this.menuItem?.type == MenuItemTypeEnum.Table)\r\n result = this.validateRequiredControl(this.tableCtrl, 'Table Name', result);\r\n this.formGroup.markAllAsTouched();\r\n return result;\r\n }\r\n\r\n reset() {\r\n this.menuItem = undefined;\r\n this.service.setMenuItem(this.menuItem);\r\n this.setFormDirty(false);\r\n }\r\n\r\n}\r\n\r\ninterface RouteHelper {\r\n id: number;\r\n description: string;\r\n route: string;\r\n}\r\n\r\ninterface RouteTable {\r\n path: string;\r\n table: string;\r\n param: string;\r\n helpers: RouteHelper[];\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ label }}
    \r\n \r\n Visible\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Label\r\n \r\n {{\r\n getErrorMsg(labelCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n \r\n {{ menuItemType.name }}\r\n \r\n Type\r\n {{\r\n getErrorMsg(menuItemTypeCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Acronym\r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n Route\r\n\r\n \r\n\r\n \r\n \r\n
    \r\n {{ route.path }}\r\n {{\r\n \"[\" + route.component?.name + \"]\"\r\n }}\r\n
    \r\n \r\n \r\n \r\n
    \r\n\r\n \r\n \r\n {{\r\n table\r\n }}\r\n \r\n Table Name\r\n {{\r\n getErrorMsg(tableCtrl)\r\n }}\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n Parent Menu\r\n \r\n \r\n \r\n \r\n {{ menuItem?.name }}\r\n \r\n \r\n \r\n If not Parent Menu selected, this Item will be on the Main\r\n Menu\r\n \r\n
    \r\n
    \r\n
    \r\n Valid Routes\r\n\r\n
    \r\n
    \r\n {{ item.route }}\r\n
    \r\n
    \r\n {{ item.description }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Input, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BeamlineShutterRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { MenuItem, MenuItemTypes } from '../../head-page/head-menu/head-menu.models';\r\nimport { HeadMenuService } from '../../head-page/head-menu/head-menu.service';\r\nimport { PendingApprovalsRefresh } from '../../pending-approvals-v2/store/pending-approvals/pending-approvals.action';\r\nimport { Servers } from 'src/app/common/enumerations/servers-enum';\r\nimport { MenuConfigActionsComponent, Orientation } from '../menu-config-actions/menu-config-actions.component';\r\n\r\n@Component({\r\n selector: 'menu-config-head',\r\n templateUrl: './menu-config-head.component.html',\r\n styleUrls: ['./menu-config-head.component.scss']\r\n})\r\nexport class MenuConfigHeadComponent {\r\n\r\n @Input() user?: User;\r\n @Input() SA!: boolean;\r\n\r\n environment = 'local';\r\n\r\n currentUser!: User | null;\r\n\r\n menuItems: MenuItem[] = [];\r\n menuItems$!: Observable;\r\n subscription: Subscription = new Subscription;\r\n showingMenu: MenuItem[] = [];\r\n\r\n resources: BeamlineShutterRelation[] = [];\r\n resources$!: Observable;\r\n resourcesSubs: Subscription = new Subscription;\r\n\r\n isLoading = true;\r\n menuItemTypes = MenuItemTypes;\r\n unsubs: Subscription;\r\n showCarrousel = false;\r\n innerWidth = 0;\r\n\r\n orientation = Orientation;\r\n\r\n @ViewChild(MenuConfigActionsComponent) actions?: MenuConfigActionsComponent;\r\n\r\n constructor(\r\n private _service: HeadMenuService,\r\n private store: Store,\r\n private ass: AppStateService,\r\n ) {\r\n this.unsubs = this.ass.AppState.subscribe(appState => {\r\n this.currentUser = appState.currentUser;\r\n this.store.dispatch(new PendingApprovalsRefresh());\r\n this.loadMenuItems();\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.unsubs.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.innerWidth = window.innerWidth;\r\n if (document.location.hostname === Servers.PRODUCTION) {\r\n this.environment = 'prod';\r\n } else {\r\n if (document.location.host === Servers.DEVELOPMENT) {\r\n this.environment = 'dev';\r\n } else if (document.location.host === Servers.STAGING) {\r\n this.environment = 'test';\r\n } else if (document.location.host === Servers.PREPROD) {\r\n this.environment = 'prep';\r\n }\r\n }\r\n this.loadMenuItems();\r\n }\r\n\r\n loadMenuItems() {\r\n this.isLoading = true;\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.subscription = this.menuItems$.subscribe(async data => {\r\n if (data.length) {\r\n this.menuItems = data;\r\n const menuItems = this._service.calculateRouterLinks(this.menuItems.filter(x => !x.parentMenuItemID));\r\n this.menuItems = menuItems.sort((a, b) => a.order - b.order);\r\n if (this.menuItems.length > 9) {\r\n this.showCarrousel = true;\r\n const pageAmount = 9;\r\n if (this.menuItems.length > pageAmount) {\r\n this.showingMenu = this.menuItems.slice(0, pageAmount);\r\n } else {\r\n this.showingMenu = this.menuItems;\r\n }\r\n } else {\r\n this.showCarrousel = false;\r\n this.showingMenu = this.menuItems;\r\n }\r\n this.isLoading = false;\r\n }\r\n });\r\n }\r\n\r\n next(goNext: boolean) {\r\n const pageAmount = 9;\r\n if (goNext) {\r\n const lastItem = this.menuItems.indexOf(this.showingMenu[this.showingMenu.length - 1]);\r\n if (lastItem + pageAmount >= this.menuItems.length) {\r\n if (!this.showingMenu.includes(this.menuItems[this.menuItems.length - 1])) {\r\n this.showingMenu = this.menuItems.slice(lastItem, this.menuItems.indexOf(this.menuItems[this.menuItems.length - 1]) + 1);\r\n }\r\n } else {\r\n this.showingMenu = this.menuItems.slice(lastItem, lastItem + pageAmount);\r\n }\r\n } else {\r\n const firstItem = this.menuItems.indexOf(this.showingMenu[0]);\r\n if (firstItem - pageAmount <= 0) {\r\n this.showingMenu = this.menuItems.slice(0, pageAmount);\r\n } else {\r\n this.showingMenu = this.menuItems.slice(firstItem - pageAmount, firstItem);\r\n }\r\n }\r\n }\r\n\r\n openComponent(name: string) {\r\n this._service.openComponent(name);\r\n }\r\n\r\n}\r\n"," 990\r\n }\"\r\n>\r\n
    \r\n
    \r\n
      \r\n \r\n
    • \r\n \r\n
    • \r\n \r\n \r\n {{ menuItem.name }}\r\n \r\n {{ menuItem.name }}\r\n \r\n \r\n \r\n
    • \r\n \r\n
    • \r\n
    \r\n \r\n
    \r\n
    Building menu ...
    \r\n \r\n\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MenuService } from './menu.service';\r\nimport { FilterData } from 'src/app/controls/filter-box/filter-box.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MenuItem } from '../head-page/head-menu/head-menu.models';\r\n\r\n@Component({\r\n selector: 'app-menu-config',\r\n templateUrl: './menu-config.component.html',\r\n styleUrls: ['./menu-config.component.scss']\r\n})\r\nexport class MenuConfigComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n element!: any;\r\n\r\n loadingMessage!: string;\r\n\r\n showButtons: boolean = false;\r\n //////\r\n\r\n menuItemsFilterData?: FilterData[];\r\n\r\n menuItems?: MenuItem[];\r\n menuItemsFiltered?: MenuItem[];\r\n menuItems$!: Observable;\r\n menuItemsSubs!: Subscription;\r\n\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: MenuService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Menu Configuration';\r\n this.service.currentItem.subscribe(data => {\r\n this.showButtons = data != undefined;\r\n });\r\n this.loadMenuItems();\r\n }\r\n\r\n loadMenuItems() {\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.menuItemsSubs = this.menuItems$.subscribe(data => {\r\n if (data?.length) {\r\n this.menuItemsFilterData = [];\r\n this.menuItems = data.sort((a, b) => this.utils.sort(a.name, b.name));\r\n this.menuItems.map(m => {\r\n this.menuItemsFilterData?.push({ id: m.id as number, text: m.name as string });\r\n });\r\n }\r\n });\r\n }\r\n\r\n filterResutSelected(e: FilterData) {\r\n const menuItem = this.menuItems?.find(m => m.id == e.id);\r\n this.service.setMenuItem(menuItem);\r\n }\r\n\r\n changeToggle(e: any) {\r\n\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ moduleTitle }}\r\n
    \r\n \r\n

    \r\n \r\n
    \r\n
    \r\n \r\n Operator initiating form\r\n \r\n \r\n
    \r\n
    \r\n \r\n Created Date\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { MenuItem, MenuItemOrderList, MenuItemType } from 'src/app/components/head-page/head-menu/head-menu.models';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class MenuService {\r\n\r\n url = environment.urls.baseApiUrl;\r\n page = '/Menu';\r\n role = '/Roles';\r\n type = '/Types';\r\n ItemRoles = '/MenuItemsRoles';\r\n menuItem?: MenuItem;\r\n\r\n private menuItemActual = new BehaviorSubject(this.menuItem);\r\n currentItem = this.menuItemActual.asObservable();\r\n constructor(public http: HttpClient) { }\r\n\r\n setMenuItem(item?: MenuItem) {\r\n this.menuItemActual.next(item);\r\n }\r\n\r\n getAll(): Observable {\r\n return this.http.get(this.url + this.page);\r\n }\r\n\r\n // getAllRoles(): Observable {\r\n // return this.http.get(this.url + this.role);\r\n // }\r\n\r\n getAllTypes(): Observable {\r\n return this.http.get(this.url + this.page + this.type);\r\n }\r\n\r\n createNewMenuOption(optionMenu: MenuItem): Observable {\r\n return this.http.post(this.url + this.page + '/New', optionMenu);\r\n }\r\n\r\n // AddNewMenuOption(optionMenu: MenuItem): Observable {\r\n // return this.http.post(this.url + this.page + '/Add', optionMenu);\r\n // }\r\n\r\n deleteMenuOption(id: number): Observable {\r\n return this.http.delete(this.url + this.page + '/' + id);\r\n }\r\n\r\n updateMenuOption(optionMenu: MenuItem): Observable {\r\n return this.http.put(this.url + this.page + '/Update', optionMenu);\r\n }\r\n\r\n updateMenuOptions(optionMenus: MenuItem[]): Observable {\r\n return this.http.put(this.url + this.page + '/UpdateArray', optionMenus);\r\n }\r\n\r\n // updateMenuStatus(optionMenu: MenuItem): Observable {\r\n // return this.http.put(this.url + this.page + '/UpdateMenuStatus', optionMenu);\r\n // }\r\n\r\n // UpdateMenuOrder(orderList: MenuItemOrderList[]): Observable {\r\n // return this.http.put(this.url + this.page + '/UpdateMenuOrder', orderList);\r\n // }\r\n\r\n getMenuItemRolesById(id: number): Observable {\r\n return this.http.get(this.url + this.ItemRoles + '/Menu/' + id);\r\n }\r\n}\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { SystemCategoryService } from '../services/system-category.service';\r\nimport { SystemCategory } from 'src/app/components/messages/services/message-banner';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { MessageBannerService } from '../services/message-banner.service';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'messages-categories',\r\n templateUrl: './messages-categories.component.html',\r\n styleUrls: ['./messages-categories.component.scss']\r\n})\r\nexport class MessagesCategoriesComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() filter?: string;\r\n @Output() loading = new EventEmitter();\r\n @Output() selectedRow = new EventEmitter();\r\n\r\n systemCategories?: SystemCategory[];\r\n systemCategoriesFiltered?: SystemCategory[];\r\n displayedColumns = ['name', 'description'];\r\n dataSource = new MatTableDataSource();\r\n @ViewChild(MatSort) sort!: MatSort;\r\n selectedRowIndex?: number;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: SystemCategoryService,\r\n private mbs: MessageBannerService) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter']) this.applyFilter();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadSystemCategories();\r\n }\r\n\r\n loadSystemCategories() {\r\n this.loading.emit(true);\r\n this.service.GetAllSystemCategories().toPromise().then(data => {\r\n this.systemCategories = data?.sort((a, b) => utils.sort(a.name, b.name));\r\n this.applyFilter();\r\n this.loading.emit(false);\r\n this.mbs.categories = this.systemCategories ?? [];\r\n });\r\n }\r\n\r\n applyFilter() {\r\n this.systemCategoriesFiltered = this.systemCategories?.filter(c => c.name?.toLowerCase().includes(this.filter ?? '') || c.description?.toLowerCase().includes(this.filter ?? ''));\r\n this.dataSource = new MatTableDataSource(this.systemCategoriesFiltered);\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n getValues(row: SystemCategory) {\r\n this.selectedRowIndex = row.id;\r\n this.selectedRow.emit(row);\r\n }\r\n\r\n}\r\n","
    \r\n \r\n \r\n \r\n System Category\r\n \r\n \r\n \r\n\r\n \r\n Description\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { MessageBanner } from '../../services/message-banner';\r\nimport { MessageTypeEnum } from '../../services/message-banner.enums';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'app-edit-display-message',\r\n templateUrl: './edit-display-message.component.html',\r\n styleUrls: ['./edit-display-message.component.scss']\r\n})\r\nexport class EditDisplayMessageComponent implements OnInit {\r\n\r\n editMessageForm!: FormGroup;\r\n message: MessageBanner;\r\n MessageType = MessageTypeEnum;\r\n\r\n constructor(public infoToken: TokenInfoService, public formBuilder: FormBuilder, public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) {\r\n this.message = data;\r\n }\r\n\r\n ngOnInit(): void {\r\n if (this.message != null) {\r\n this.editMessageForm = this.formBuilder.group({\r\n name: [this.message.name],\r\n description: [this.message.description, [Validators.required, utils.IsWhiteSpaceReactiveForm]],\r\n type: [this.message.type, Validators.required],\r\n timeout: [this.message.timeout],\r\n keepAfterRouteChange: [this.message.keepAfterRouteChange, Validators.required],\r\n notes: [this.message.notes]\r\n });\r\n }\r\n }\r\n\r\n\r\n onNoClick(submit?: boolean): void {\r\n this.dialogRef.close(submit);\r\n }\r\n\r\n onSubmit() {\r\n Object.assign(this.message, this.editMessageForm.value);\r\n this.dialogRef.close(this.message);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n {{\r\n !message ? \"Add Message\" : \"Edit \" + message.name\r\n }}\r\n
    \r\n
    \r\n
    \r\n \r\n Description\r\n \r\n \r\n \r\n\r\n \r\n Type\r\n \r\n \r\n {{ MessageType[MessageType.None] }}\r\n \r\n \r\n {{ MessageType[MessageType.Error] }}\r\n \r\n \r\n {{ MessageType[MessageType.Info] }}\r\n \r\n \r\n {{ MessageType[MessageType.Success] }}\r\n \r\n \r\n {{ MessageType[MessageType.Warning] }}\r\n \r\n \r\n \r\n\r\n \r\n TimeOut\r\n \r\n \r\n\r\n
    \r\n
    \r\n \r\n Notes\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Injector, Input, OnChanges, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessageBanner, SystemCategory } from '../services/message-banner';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { MessageBannerService } from '../services/message-banner.service';\r\nimport { EditDisplayMessageComponent } from './edit-display-message/edit-display-message.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { MessageTypeEnum } from '../services/message-banner.enums';\r\nimport { Clipboard } from '@angular/cdk/clipboard';\r\nimport { MatSort } from '@angular/material/sort';\r\n\r\n@Component({\r\n selector: 'messages-table',\r\n templateUrl: './messages-table.component.html',\r\n styleUrls: ['./messages-table.component.scss']\r\n})\r\nexport class MessagesTableComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() systemCategory?: SystemCategory;\r\n @Input() filter?: string;\r\n @Output() loading = new EventEmitter();\r\n\r\n messageBanners?: MessageBanner[];\r\n messageBannersFiltered?: MessageBanner[];\r\n messageBanner$!: Observable;\r\n messageBannerSubs!: Subscription;\r\n\r\n messageType = MessageTypeEnum;\r\n\r\n public displayedColumns: string[] = ['name', 'description', 'type', 'category', 'timeout', 'actions'];\r\n\r\n dataSource = new MatTableDataSource();\r\n @ViewChild(MatSort) sort!: MatSort;\r\n constructor(\r\n protected override injector: Injector,\r\n private service: MessageBannerService,\r\n private clipboard: Clipboard,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadMessageBanners();\r\n }\r\n\r\n loadMessageBanners() {\r\n this.messageBanner$ = this.store.select(state => state.MessageBanners.data);\r\n this.messageBannerSubs = this.messageBanner$.subscribe(data => {\r\n if (data?.length) {\r\n this.messageBanners = data;\r\n if (this.filter) {\r\n const filter = this.filter?.toLowerCase() as string;\r\n this.messageBannersFiltered = this.messageBanners.filter(m => m.name.toLowerCase().includes(filter) || m.description.toLowerCase().includes(filter) || this.messageType[m.type].toLowerCase().includes(filter) || this.getCategories(m)?.toLowerCase().includes(filter));\r\n }\r\n else {\r\n this.messageBannersFiltered = this.messageBanners.filter(m => m.messageCategoryRelations?.map(r => r.systemCategoryID).includes(this.systemCategory?.id ?? 0));\r\n\r\n }\r\n this.messageBannersFiltered?.map(m => m.messageCategoryRelations?.map(c => {\r\n c.systemCategory = this.service.categories.find(x => x.id == c.systemCategoryID);\r\n }));\r\n\r\n this.dataSource = new MatTableDataSource(this.messageBannersFiltered);\r\n this.setSortingAccessor();\r\n }\r\n });\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (element, property) => {\r\n switch (property) {\r\n case 'type':\r\n return this.messageType[element.type];\r\n case 'category':\r\n return this.getCategories(element);\r\n default:\r\n return (element as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n\r\n openEdition(element: MessageBanner) {\r\n const copy = this.utils.cloneDeep(element);\r\n const dialogRef = this.dialog.open(EditDisplayMessageComponent, {\r\n width: '30em',\r\n data: copy\r\n });\r\n dialogRef.afterClosed().subscribe((msg: MessageBanner) => {\r\n if (msg) {\r\n this.updateMessage(msg);\r\n }\r\n });\r\n }\r\n\r\n async updateMessage(messageToUpdate: MessageBanner) {\r\n await this.service.update(messageToUpdate).toPromise().then(() => {\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Message')]);\r\n }).catch(() => this.alert.defaultError());\r\n }\r\n\r\n getCategories(m: MessageBanner) {\r\n return m.messageCategoryRelations?.map(c => c.systemCategory?.name).sort((a, b) => this.utils.sort(a, b)).join(', ');\r\n }\r\n\r\n copy(m: MessageBanner) {\r\n this.clipboard.copy(m.name);\r\n this.alert.info('' + m.name + ' copied to the Clipboard!', 'Clipboard');\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n \r\n \r\n Name\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Description\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Categories\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n TimeOut\r\n \r\n {{ element.timeout }} \r\n \r\n\r\n \r\n \r\n Notes\r\n \r\n \r\n {{ element.notes }}\r\n \r\n \r\n\r\n \r\n Actions\r\n \r\n \r\n content_copy\r\n \r\n\r\n \r\n edit\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { SystemCategory } from './services/message-banner';\r\n\r\n@Component({\r\n selector: 'app-messages',\r\n templateUrl: './messages.component.html',\r\n styleUrls: ['./messages.component.scss']\r\n})\r\nexport class MessagesComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n // @ViewChild(ScfV2SideComponent) side!: ScfV2SideComponent;\r\n // @ViewChild(ScfV2MainComponent) main!: ScfV2MainComponent;\r\n\r\n systemCategory?: SystemCategory;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n // scfMasterUnchanged?: SCFMaster | null;\r\n // scfMaster?: SCFMaster | null;\r\n // scfMasters: SCFMaster[] = [];\r\n // scfMasters$!: Observable;\r\n // scfMastersSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n // privileges: SCFPrivileges = new SCFPrivileges();\r\n // public status: SCFStatus = new SCFStatus();\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n // public scfService: ScfV2Service,\r\n // private notificationService: NotificationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'System Display Messages'\r\n this.checkPrivileges();\r\n }\r\n\r\n // async loadSCFs() {\r\n // this.scfMasters$ = this.store.select((state) => state.SCFMasters.data);\r\n // this.scfMastersSubs = this.scfMasters$.subscribe((data) => {\r\n // if (data && data.length > 0) {\r\n // this.scfMasters = data.filter((x) => x.serialNo !== \"\");\r\n // if (this.scfMaster) {\r\n // this.scfMaster = this.scfMasters.find(\r\n // (x) => x.id == this.scfMaster?.id\r\n // );\r\n // this.checkPrivileges();\r\n // }\r\n // }\r\n // });\r\n // }\r\n\r\n // showStatusChangeMessage(scfMaster: SCFMaster) {\r\n // this.alert.message(this.getMessage(\"formStateChanged\"), [\r\n // new MessagePlaceholder(\"{serialNo}\", scfMaster.serialNo), new MessagePlaceholder(\"{status}\", scfMaster.statusName ?? 'New'),]);\r\n // }\r\n\r\n // override ngOnDestroy(): void {\r\n // this.scfMastersSubs?.unsubscribe();\r\n // this.proceduresSubs?.unsubscribe();\r\n // }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n // this.loading = true;\r\n // this.scfService\r\n // .getSerialNo()\r\n // .toPromise()\r\n // .then((data) => {\r\n // if (data) {\r\n // this.status.isCreating = true;\r\n // this.scfMaster = new SCFMaster();\r\n // this.scfMaster.name = data.serialNo;\r\n // this.scfMaster.serialNo = data.serialNo;\r\n // this.scfMaster.status = FormStatusEnum.New;\r\n // this.scfMaster.formStatus = new FormStatus();\r\n // this.scfMaster.createdBy = this.getCurrentUser()?.id;\r\n // this.scfMaster.createdByName = this.getCurrentUser()?.name;\r\n // this.scfMaster.relatedDocuments = [];\r\n // this.scfMaster.createdOn = new Date();\r\n // this.scfMaster.estimatedStartOn = new Date();\r\n // this.scfMaster.estimatedEndOn = new Date();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\r\n // \"MMM-DD-YYYY\"\r\n // );\r\n // this.scfMaster.editingBy = this.getCurrentUser();\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.side.selectedRowIndex = -1;\r\n\r\n // this.loading = true;\r\n // this.scfService\r\n // .post(this.scfMaster)\r\n // .toPromise()\r\n // .then(scfMaster => {\r\n // if (scfMaster) {\r\n // this.scfMaster = scfMaster;\r\n // this.loading = true;\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.disabled = false;\r\n // this.checkPrivileges();\r\n // this.status.isCreating = true;\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster) {\r\n // this.scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n // // TODO this.side.selectedRowIndex = this.scfMaster?.id;\r\n // }\r\n // }\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n // async edit() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n // async editAmendment() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n release() {\r\n // if (this.scfMaster && this.scfMasterUnchanged && !utils.isEquivalent(this.cleanSCFMaster(this.scfMaster), this.cleanSCFMaster(this.scfMasterUnchanged))) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"SCF_Release_confirmation\")\r\n // ?.description, icon: \"stop\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // if (this.scfMaster?.status == FormStatusEnum.New) {\r\n // this.loading = true;\r\n // this.scfService\r\n // .cancel(this.scfMaster, \"New Form Canceled\")\r\n // .toPromise()\r\n // .then(() => {\r\n // this.loading = false;\r\n // this.scfMaster = null;\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n // }\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n }\r\n\r\n // cleanSCFMaster(scfMaster: SCFMaster) {\r\n // let clonedSCFMaster: SCFMaster = new SCFMaster();\r\n // if (scfMaster) {\r\n // clonedSCFMaster = utils.cloneDeep(scfMaster);\r\n // clonedSCFMaster.wfTable = null;\r\n // clonedSCFMaster.editingBy = null;\r\n // clonedSCFMaster.editingById = null;\r\n // clonedSCFMaster.editingUntil = null;\r\n // clonedSCFMaster.updatedOn = null;\r\n // clonedSCFMaster.updatedBy = null;\r\n // }\r\n // return clonedSCFMaster;\r\n // }\r\n\r\n // async releaseForm() {\r\n // this.loading = true;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // // this.scfMaster = this.scfMasterUnchanged;\r\n // await this.setEditing(false);\r\n // }\r\n\r\n async setEditing(value: boolean) {\r\n // await this.scfService\r\n // .setEditing(this.scfMaster?.id ?? 0, value)\r\n // .toPromise()\r\n // .then(async () => {\r\n // await this.loadSCFs();\r\n // });\r\n // this.disabled = !value;\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n // settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n // });\r\n // settings.afterClosed().subscribe(() => { });\r\n // }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n rowSelected(e: SystemCategory) {\r\n this.systemCategory = e;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n // checkButtonsVisible() {\r\n // this.buttonsVisible =\r\n // this.status.isCreating ||\r\n // this.status.isEditing ||\r\n // this.status.isEditingAmendment ||\r\n // this.status.isCreatingAmendment ||\r\n // this.status.isViewingAmendment ||\r\n // (this.scfMaster?.status == FormStatusEnum.WorkApprovals &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == FormStatusEnum.PendingActivation &&\r\n // this.privileges.canCancel) ||\r\n // (this.scfMaster?.status == this.formStatus.Draft &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == this.formStatus.RestrictionsAmendment &&\r\n // this.privileges.canUnsubmitAmendment)\r\n // }\r\n\r\n // changeAmendmentToggle(e: any) {\r\n // this.status.isViewingAmendment = e.checked;\r\n // this.checkPrivileges();\r\n // }\r\n\r\n // canSeeAmendment(): boolean {\r\n // let res = this.hasPrivilege(PrivilegeEnum.SCFSubmit);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFNewForm);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.EditSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.ViewSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.scfMaster?.requesterId == this.getCurrentUser()?.id || this.scfMaster?.scfAmendments?.find(a => a.active)?.requesterId == this.getCurrentUser()?.id;\r\n // if (res) {\r\n // return true;\r\n // }\r\n // return false;\r\n // }\r\n\r\n // checkDisabled() {\r\n // this.disabled = true;\r\n // if (!this.getCurrentUser()) {\r\n // return;\r\n // } else {\r\n // this.disabled = !(\r\n // this.scfMaster?.status === FormStatusEnum.New ||\r\n // this.scfMaster?.status === FormStatusEnum.Draft ||\r\n // (this.scfMaster?.status === FormStatusEnum.Amendment &&\r\n // this.status.isViewingAmendment)\r\n // );\r\n // }\r\n // }\r\n\r\n checkPrivileges() {\r\n // this.checkDisabled();\r\n // this.privileges = new SCFPrivileges();\r\n // this.privileges = {\r\n // canCreate: this.hasPrivilege(PrivilegeEnum.SCFNewForm),\r\n // canEdit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFNewForm) &&\r\n // (!this.scfMaster?.editingBy ||\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id),\r\n // canSubmit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canCancel:\r\n // (this.scfMaster?.status == this.formStatus.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New ||\r\n // this.scfMaster?.status == FormStatusEnum.WorkApprovals ||\r\n // this.scfMaster?.status == FormStatusEnum.PendingActivation) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canUnsubmit:\r\n // this.scfMaster?.status == this.formStatus.WorkApprovals &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit) &&\r\n // this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 2)?.wfSignatures?.filter((x) => x.code != \"SUBMIT\" && x.signed).length ==\r\n // 0,\r\n // canCreateAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Active ||\r\n // this.scfMaster?.status == FormStatusEnum.HoldPoint) &&\r\n // this.hasPrivilege(PrivilegeEnum.RequestAmendment),\r\n // canEditAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.EditSCFAmendment),\r\n // canSubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canUnsubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment) &&\r\n // !this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.filter(x =>\r\n // x.amendmentID == this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.amendmentNumber == this.scfMaster?.scfAmendments?.length\r\n // )?.amendmentID\r\n // )\r\n // .some((x) => x.signed),\r\n // canCancelAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canViewAmendment: (this.scfMaster && this.canSeeAmendment()) ?? false,\r\n // canAddHoldPoints:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CreateHoldPoints) &&\r\n // (this.scfMaster.status == FormStatusEnum.Active ||\r\n // this.scfMaster.status == FormStatusEnum.HoldPoint)) ?? false,\r\n // canAddHoldPointsDraft:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(\r\n // PrivilegeEnum.CreateHoldPointsDraft\r\n // ) &&\r\n // this.scfMaster.status == FormStatusEnum.Draft) ?? false,\r\n // canDuplicate:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CopySCF)) ?? false,\r\n // canRelease:\r\n // ((this.scfMaster &&\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) ||\r\n // this.getCurrentUser()?.userRole?.map((x) => x.roleID).includes(Roles.SA)) ?? false,\r\n // };\r\n }\r\n\r\n duplicate() {\r\n // const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"20em\", data: {\r\n // message: this.getMessage(\r\n // \"Are you sure you want to copy this form\"\r\n // ).description, icon: \"warn\", val: false,\r\n // },\r\n // });\r\n // removeRef\r\n // .afterClosed()\r\n // .toPromise()\r\n // .then((result) => {\r\n // if (result != null && result) {\r\n // const id = this.scfMaster?.id ?? 0;\r\n // this.side.rowUnselected();\r\n // // this.cdRef.detectChanges();\r\n // this.loading = true;\r\n // this.scfService\r\n // .copySCF(id, false)\r\n // .toPromise()\r\n // .then(async (scfMaster) => {\r\n // this.scfMaster = scfMaster;\r\n // if (this.scfMaster && this.scfMaster?.id)\r\n // this.notificationService.createNotification(NotificationType.CreateSCF, this.scfMaster.id, await this.scfService.getEmails(this.scfMaster), 5, this.scfMaster?.locations).toPromise();\r\n // if (this.scfMaster)\r\n // await this.side.getValues(this.scfMaster);\r\n // this.loading = false;\r\n // })\r\n // .catch((error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n requestAmendment() {\r\n // const pendingChanges = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => !x.wfTaskLocal.amendmentID)?.filter(x => x.answerChangedBy);\r\n // if (!pendingChanges?.length) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"request_amendment\")?.description, icon: \"warn\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // this.loading = true;\r\n // if (this.scfMaster?.id)\r\n // this.scfService.requestAmendment(this.scfMaster.id).toPromise().then(() => {\r\n // this.status.isCreatingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // this.loading = false;\r\n // }, (error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // }\r\n // );\r\n // }\r\n // });\r\n // } else {\r\n // this.alert.message(\r\n // this.getMessage(\"OperationApprovalPendingChanges\")\r\n // );\r\n // }\r\n }\r\n\r\n // setStatus(status: SCFStatus | any) {\r\n // this.status = status;\r\n // }\r\n\r\n // savedEvent(e: SCFMaster | null | undefined | any) {\r\n // this.scfMaster = e;\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // this.scfService.currentDoc = this.scfMaster;\r\n // this.rowSelected(e);\r\n // }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ moduleTitle }}\r\n
    \r\n
    \r\n

    {{ systemCategory?.description }}

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MessagesComponent } from './messages.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule, FormControl, FormGroupDirective, NgForm } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule, ErrorStateMatcher } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldDefaultOptions } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { CommentsAndAttachmentsModule } from 'src/app/controls/comments-and-attachments/comments-and-attachments.module';\r\nimport { MatFileUploadModule } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { MessagesCategoriesComponent } from './messages-categories/messages-categories.component';\r\nimport { MessagesTableComponent } from './messages-table/messages-table.component';\r\nimport { EditDisplayMessageComponent } from './messages-table/edit-display-message/edit-display-message.component';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\n\r\nexport class TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\nconst appRoutes: Routes = [\r\n { path: 'display-message-admin', component: MessagesComponent, canDeactivate: [RedirectGuard] },\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n MessagesComponent,\r\n MessagesCategoriesComponent,\r\n MessagesTableComponent,\r\n EditDisplayMessageComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatToolbarModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n CommentsAndAttachmentsModule,\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules,\r\n }\r\n ),\r\n ],\r\n\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance,\r\n },\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class MessagesModule { }\r\n","export enum MessageTypeEnum {\r\n Success = 1,\r\n Warning = 2,\r\n Info = 3,\r\n Error = 4,\r\n None = 5\r\n}\r\n\r\nexport enum MessagePartEnum {\r\n Backend = 1,\r\n Frontend = 2\r\n}","import { Injectable } from '@angular/core';\r\nimport { MessageBanner, SystemCategory } from './message-banner';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Store } from '@ngxs/store';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MessageBannerService {\r\n BASE_URL = environment.urls.baseApiUrl;\r\n Api = '/MessageBanner';\r\n\r\n messageBanners?: MessageBanner[];\r\n messageBanners$!: Observable;\r\n messageBannersSubs!: Subscription;\r\n\r\n categories: SystemCategory[] = [];\r\n\r\n constructor(\r\n private store: Store,\r\n private http: HttpClient\r\n ) {\r\n this.loadMessageBanners();\r\n }\r\n\r\n loadMessageBanners() {\r\n this.messageBanners$ = this.store.select(state => state.MessageBanners.data);\r\n this.messageBannersSubs = this.messageBanners$.subscribe(data => {\r\n if (data?.length) {\r\n this.messageBanners = data;\r\n }\r\n });\r\n }\r\n\r\n readAll(): Observable {\r\n return this.http.get(this.BASE_URL + this.Api);\r\n }\r\n\r\n get(name: string): MessageBanner {\r\n return this.messageBanners?.find(val => val.name == name) ?? (new MessageBanner());\r\n }\r\n\r\n // getById(id: number) {\r\n // let messageBanner = new MessageBanner();\r\n // if (this.messageBanners?.length) {\r\n // messageBanner = this.messageBanners.find(val => val.id === id) ?? (new MessageBanner());\r\n // return messageBanner;\r\n // }\r\n // setTimeout(() => {\r\n // this.getById(id);\r\n // }, 500);\r\n // return null;\r\n // }\r\n\r\n update(data: MessageBanner): Observable {\r\n return this.http.put(this.BASE_URL + this.Api, data);\r\n }\r\n}\r\n","import { DefaultData } from \"src/app/components/schedules/models/default-data\";\r\nimport { MessageTypeEnum, MessagePartEnum } from \"./message-banner.enums\";\r\n\r\nexport class MessageBanner {\r\n id!: number;\r\n isActive!: boolean;\r\n createdOn!: Date;\r\n createdBy?: number;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n deletedOn?: Date;\r\n deletedBy?: number;\r\n code!: string;\r\n name!: string;\r\n description!: string;\r\n type!: MessageTypeEnum;\r\n timeout!: number;\r\n part!: MessagePartEnum;\r\n keepAfterRouteChange!: boolean;\r\n notes!: string;\r\n categories?: string;\r\n messageCategoryRelations?: MessageCategoryRelation[];\r\n}\r\n\r\nexport class MessageCategoryRelation {\r\n public id!: number;\r\n public messageBannerID!: number;\r\n public systemCategoryID!: number;\r\n public createdBy!: number;\r\n public updatedBy!: number;\r\n public createdOn!: Date;\r\n public updatedOn!: Date;\r\n public messageBanner!: MessageBanner;\r\n public systemCategory?: SystemCategory;\r\n}\r\n\r\nexport class SystemCategory {\r\n public id?: number;\r\n public name?: string;\r\n public description?: string;\r\n public status?: boolean;\r\n public createdBy?: number;\r\n public updatedBy?: number;\r\n public createdOn?: Date;\r\n public updatedOn?: Date;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { SystemCategory } from './message-banner';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SystemCategoryService {\r\n\r\n private api = environment.urls.baseApiUrl + '/SystemCategories';\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n GetAllSystemCategories() {\r\n return this.http.get(this.api);\r\n }\r\n\r\n}\r\n","import { MessageBanner } from \"../services/message-banner\";\r\n\r\n\r\nexport class GetAll {\r\n static readonly type = '[Message Banner] - Refresh';\r\n}\r\n\r\nexport class Update {\r\n static readonly type = '[Message Banner] - Update';\r\n constructor(public payload: MessageBanner) { }\r\n}\r\n\r\nexport class Add {\r\n static readonly type = '[Message Banner] - Add';\r\n constructor(public payload: MessageBanner) { }\r\n}\r\n\r\nexport class Delete {\r\n static readonly type = '[Message Banner] - Delete';\r\n constructor(public payload: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { State, Action, StateContext } from '@ngxs/store';\r\nimport * as MBActions from './message-banner.actions';\r\nimport { MessageBanner } from '../../../components/messages/services/message-banner';\r\nimport { MessageBannerService } from '../../../components/messages/services/message-banner.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport interface MessageBannerStateModel {\r\n data: MessageBanner[];\r\n}\r\n\r\n@State({\r\n name: 'MessageBanners',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class MessageBannerState {\r\n constructor(public service: MessageBannerService) { }\r\n\r\n @Action(MBActions.GetAll)\r\n GetAll(ctx: StateContext) {\r\n this.service.readAll().subscribe(data => {\r\n ctx.patchState({ data });\r\n this.service.messageBanners = data;\r\n });\r\n }\r\n\r\n @Action(MBActions.Update)\r\n Update(ctx: StateContext, { payload }: MBActions.Update) {\r\n const state = ctx.getState();\r\n const data = utils.cloneDeep(state.data);\r\n const index = data.findIndex(val => val.id === payload.id);\r\n data.splice(index, 1, payload);\r\n ctx.patchState({ data });\r\n this.service.messageBanners = data;\r\n }\r\n\r\n @Action(MBActions.Add)\r\n Add(ctx: StateContext, { payload }: MBActions.Add) {\r\n const state = ctx.getState();\r\n const data = utils.cloneDeep(state.data);\r\n data.splice(0, 0, payload);\r\n ctx.patchState({ data });\r\n this.service.messageBanners = data;\r\n }\r\n\r\n @Action(MBActions.Delete)\r\n Delete(ctx: StateContext, { payload }: MBActions.Delete) {\r\n const state = ctx.getState();\r\n const data = utils.cloneDeep(state.data);\r\n const index = data.findIndex(val => val.id === payload);\r\n data.splice(index, 1);\r\n ctx.patchState({ data });\r\n this.service.messageBanners = data;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as MessageBannerActions from './message-banner.actions';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MessageBannerStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new MessageBannerActions.GetAll());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.MESSAGEBANNER, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Update:\r\n this.store.dispatch(new MessageBannerActions.Update(data.obj));\r\n break;\r\n case SignalRAction.Get:\r\n this.store.dispatch(new MessageBannerActions.GetAll());\r\n break;\r\n case SignalRAction.Add:\r\n this.store.dispatch(new MessageBannerActions.Add(data.obj));\r\n break;\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new MessageBannerActions.Delete(data.obj));\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, Injector, InjectorType, Input, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { OlogMessage } from '../../catalogs/document-type/services/olog-message';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { OLogService } from '../olog.service';\r\n\r\n@Component({\r\n selector: 'olog-button',\r\n templateUrl: './olog-button.component.html',\r\n styleUrls: ['./olog-button.component.scss'],\r\n\r\n})\r\nexport class OlogButtonComponent extends BaseComponent implements OnInit, OnDestroy {\r\n @Input() disabled?: boolean;\r\n @Input() isExpandedOrShowing?: boolean;\r\n @Input() documentTypeID!: number;\r\n @Input() documentID!: number;\r\n\r\n ologMessages?: OlogMessage[];\r\n ologMessagesFiltered?: OlogMessage[];\r\n ologMessages$!: Observable;\r\n ologMessagesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: OLogService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadOlogMessages();\r\n }\r\n\r\n loadOlogMessages() {\r\n this.ologMessages$ = this.store.select(state => state.OlogMessage.data);\r\n this.ologMessagesSubs = this.ologMessages$.subscribe(data => {\r\n if (data?.length) {\r\n this.ologMessages = data.filter(m => m.documentTypeID == this.documentTypeID);\r\n }\r\n });\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.ologMessagesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n openOlogMessage(ologMessage: OlogMessage) {\r\n this.service.editOlog(this.documentTypeID, this.documentID, ologMessage.notificationType, this.disabled);\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n {{\r\n (disabled ? \"View \" : \"Edit \") + \"Olog Messages\"\r\n }}\r\n contract\r\n contract_edit\r\n\r\n\r\n\r\n \r\n {{ ologMessage.name }}\r\n \r\n\r\n","import { Component, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Document, RelatedDocument } from 'src/app/services/documents/documents';\r\nimport { OLogService } from '../olog.service';\r\nimport { OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { OLogEntry, OLogFormData, PostOlogResponse } from '../olog';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { PartialOlogComponent } from 'src/app/controls/olog/partial-olog/partial-olog.component';\r\nimport { SiteConfigurationService } from 'src/app/services/site-configuration/site-configuration-service';\r\nimport { SiteConfiguration } from 'src/app/services/site-configuration/site-configuration';\r\n\r\n@Component({\r\n selector: 'olog-main',\r\n templateUrl: './olog-main.component.html',\r\n styleUrls: ['./olog-main.component.scss']\r\n})\r\nexport class OlogMainComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n category?: number;\r\n documents?: Document[];\r\n notification?: OlogNotificationType;\r\n results?: PostOlogResponse[];\r\n\r\n types = [{ id: 1, name: 'Activate' }, { id: 2, name: 'Amendment' }, { id: 3, name: 'Close' }];\r\n type?: any;\r\n\r\n siteConfiguration?: SiteConfiguration;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: OLogService,\r\n private site: SiteConfigurationService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit(): Promise {\r\n this.siteConfiguration = await this.site.getById(1).toPromise();\r\n }\r\n\r\n changed(e: RelatedDocument[]) {\r\n this.documents = [];\r\n e.map(r => {\r\n const document = { formID: r.relatedDocumentId, type: r.relatedDocumentTypeId } as Document;\r\n this.documents?.push(document);\r\n });\r\n }\r\n\r\n post() {\r\n this.results = [];\r\n this.documents?.map(async document => {\r\n if (document.type && document.formID) {\r\n const res = await this.service.postToOlog(document.type, document.formID, this.type.id, 0, true, true);\r\n if (res)\r\n this.results?.push(res);\r\n }\r\n });\r\n }\r\n\r\n postFE() {\r\n this.results = [];\r\n const document = this.documents?.[0];\r\n if (document?.type && document.formID)\r\n this.service.getOlog(document.type, document.formID, this.type.id).toPromise().then(async data => {\r\n if (data) {\r\n const body: OLogFormData = JSON.parse(data.xmlBody.replace('\\n', ''));\r\n const ologEntry = {\r\n root: {\r\n author: this.siteConfiguration?.ologUser,\r\n password: this.siteConfiguration?.ologPassword,\r\n entry: body\r\n }\r\n } as OLogEntry;\r\n const xmlBody = this.service.createXMLBody(ologEntry, data.serialNo);\r\n const res = await this.service.postToOlogFE(xmlBody).toPromise();\r\n this.results?.push({ code: 0, message: xmlBody, ok: true });\r\n }\r\n });\r\n }\r\n\r\n formatMessage(message: string) {\r\n return message.replaceAll('<', '<').replaceAll('>', '>').replace('', '');\r\n }\r\n\r\n openOlog() {\r\n const document = this.documents?.[0];\r\n if (document?.type && document.formID)\r\n this.service.getOlog(document.type, document.formID, this.type.id).toPromise().then(data => {\r\n if (data) {\r\n data.cc = data.cc?.filter(email => email.address !== '');\r\n const dialogConfig: MatDialogConfig = {\r\n data,\r\n width: '80vw'\r\n };\r\n dialogConfig.data = data;\r\n const dialogRef = this.dialog.open(PartialOlogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise();\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n {{ t.name }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Open Olog\r\n \r\n \r\n Backend Post (New)\r\n \r\n \r\n Frontend Post (old)\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ res.code }}\r\n
    \r\n
    \r\n ')\"\r\n [innerHTML]=\"res.message\"\r\n >
    \r\n ')\"\r\n >\r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","import { AfterViewInit, Component, ElementRef, HostListener, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { OLogService } from './olog.service';\r\nimport { ActivatedRoute, Params } from '@angular/router';\r\nimport { OlogNotificationType } from '../../common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'olog',\r\n templateUrl: './olog.component.html',\r\n styleUrls: ['./olog.component.scss']\r\n})\r\nexport class OlogComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n element!: any;\r\n loadingMessage!: string;\r\n\r\n constructor(\r\n public service: OLogService,\r\n protected override injector: Injector,\r\n private route: ActivatedRoute\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Olog Operations';\r\n this.route.queryParams.subscribe(async params => {\r\n const post = params['post'];\r\n const formType = params['form'];\r\n const formID = params['id'];\r\n const type = params['type'];\r\n\r\n if (post && formType && formID && type) {\r\n return await this.service.postToOlog(formType, formID, type);\r\n }\r\n else return null;\r\n });\r\n }\r\n\r\n changeToggle(e: any) {\r\n\r\n }\r\n\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n\r\n }\r\n\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ moduleTitle }}\r\n
    \r\n \r\n

    \r\n \r\n
    \r\n
    \r\n \r\n Operator initiating form\r\n \r\n \r\n
    \r\n
    \r\n \r\n Created Date\r\n \r\n \r\n
    \r\n \r\n
    \r\n Modifying by: {{\r\n element?.editingBy?.name\r\n }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n 576,\r\n }\"\r\n >\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { HttpHeaders } from '@angular/common/http';\r\nimport { environment } from '../../../environments/environment';\r\nimport { AlertService } from '../../services/alert/alert.service';\r\nimport { OLogEntry, OlogDataBaseObject, PostOlogResponse } from './olog';\r\nimport { TransactionLog } from '../../services/logs/transaction-logs';\r\nimport { TransactionLogService } from '../../services/logs/transaction-log.service';\r\nimport { FormType, OlogNotificationType } from '../../common/enumerations/enumerations';\r\nimport { XMLService } from 'src/app/services/xml/xml-service.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { PartialOlogComponent } from 'src/app/controls/olog/partial-olog/partial-olog.component';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OLogService extends BaseService {\r\n url: string = environment.urls.baseApiUrl + '/Olog';\r\n\r\n ologIDPosting?: number = 0; // OlogID being Posted\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private alertService: AlertService,\r\n private log: TransactionLogService,\r\n private xmlService: XMLService,\r\n ) {\r\n super(injector, '/Olog')\r\n }\r\n\r\n updateOlogNotification(ologDB: OlogDataBaseObject, finishForm: boolean, tlog: TransactionLog) {\r\n ologDB.sent = true;\r\n ologDB.closed = finishForm;\r\n try {\r\n if (ologDB.id)\r\n this.Put(ologDB, ologDB.id).toPromise(); // Is not necesary await for the answer\r\n } catch (error) {\r\n tlog.description = 'DB Error';\r\n tlog.objectJson = JSON.stringify(error);\r\n tlog.status = 8;\r\n this.log.Post(tlog).subscribe((error: any) => { console.log(error); });\r\n }\r\n }\r\n\r\n Put(Olog: OlogDataBaseObject, id: number) {\r\n return this.http.put(this.url + '/' + id, Olog);\r\n }\r\n\r\n Post(Olog: OlogDataBaseObject) {\r\n return this.http.post(this.url, Olog);\r\n }\r\n\r\n Delete(id: number) {\r\n return this.http.delete(this.url + '/' + id);\r\n }\r\n\r\n DeleteOlogBySN(SN: string) {\r\n return this.http.delete(this.url + '/BySerialNo/' + SN);\r\n }\r\n\r\n createXMLBody(ologResData: OLogEntry, serialNo: string) {\r\n let entry: string =\r\n '' +\r\n '' + ologResData.root.author + '' +\r\n '' + ologResData.root.password + '' +\r\n '' +\r\n '' + ologResData.root.entry.cc.map(c => c.address)?.join(', ') + '' +\r\n '' + ologResData.root.entry.level + '';\r\n let extraSub = '';\r\n if (document.location.host !== 'ascc.als.lbl.gov') {\r\n extraSub = 'TEST //';\r\n }\r\n if (ologResData.root.entry.extraSubject && ologResData.root.entry.extraSubject !== '') {\r\n entry += '' + extraSub + ologResData.root.entry.subject + ' ' + ologResData.root.entry.extraSubject + '';\r\n } else {\r\n entry += '' + extraSub + ologResData.root.entry.subject + '';\r\n }\r\n entry += '
    '\r\n + (ologResData.root.entry.details ? ologResData.root.entry.details + '

    ' : '')\r\n + 'Please see ASCC for details - '\r\n + document.location.origin\r\n + '/#/redirect/'\r\n + serialNo\r\n + ']]>'\r\n + '
    ';\r\n entry += '';\r\n ologResData.root.entry.categories?.map(cat => {\r\n entry += '' + cat + '';\r\n });\r\n entry += '';\r\n entry += '' + ologResData.root.entry.highlight + '' +\r\n '
    ' +\r\n '
    ';\r\n return (entry);\r\n }\r\n\r\n /**\r\n * Post an Olog Message to Olog Service (Olog URL is set on appsettings.json file)\r\n * @param formType Number: Document Type\r\n * @param formID Number: ID of the Document\r\n * @param type OlogNotificationType Enum: Notification Type: Activate = 1, Amended = 2, Closed = 3, Handshake = 4\r\n * @param amendmentNo Number: Amendment Number if any\r\n * @param showDialogOnErrors Boolean: If True when Olog server is Down a Dialog is displayed to ask to continue otherwise a Warning Message is going to be displayed. Default = True\r\n * @param overridePost Boolean: If True then a Post to Olog will be sent ignoring the already Sent Flag, Default = false\r\n *\r\n * @returns Boolean value indicating if the post to Olog went OK or not or if was allowed by the User response on the popup Dialog\r\n*/\r\n async postToOlog(formType: number, formID: number, type: OlogNotificationType, amendmentNo: number = 0, showDialogOnErrors = true, overridePost: boolean = false) {\r\n const response = await this.http.post(this.url + '/PostToOlog/' + formType + '/' + formID + '/' + type + '/' + amendmentNo + '/' + overridePost, null).toPromise();\r\n if (response) response.ok = true;\r\n\r\n if (response && response?.code != 200 && response?.code != 201 && response?.code != 208 && response.code != 500) {\r\n this.alertService.message('olog_error');\r\n console.log(response);\r\n }\r\n else if (response && response.code == 201) {\r\n const message = this.xmlService.parseXml(response.message).root;\r\n const htmlAddresses = '

    Email to: ' + message.entry.cc + '

    ';\r\n const htmlSubject = '

    Subject: ' + message.entry.subject + '

    ';\r\n const htmlDetails = '

    Details: ' + message.entry.details + '

    ';\r\n const htmlCategories = '

    Categories: ' + (message.entry.categories.length ? message.entry.categories.map((x: any) => x).join(', ') : message.entry.categories) + '

    ';\r\n const htmlHighlights = '

    Highlight: ' + message.entry.highlight + '

    ';\r\n const htmlLevel = '

    Level: ' + message.entry.level + '

    ';\r\n const htmlMessage = htmlAddresses + htmlSubject + htmlDetails + htmlCategories + htmlHighlights + htmlLevel;\r\n this.alertService.banner(htmlMessage, 'Test Olog Post:', 15000);\r\n }\r\n else if (response?.code == 208) {\r\n // Olog already sent previously!\r\n }\r\n else if (response?.code == 500) {\r\n if (showDialogOnErrors) {\r\n // YesNo Dialog\r\n const res = await this.displayDialog();\r\n response.ok = res == true;\r\n }\r\n else {\r\n this.alertService.message('olog_server_down');\r\n }\r\n }\r\n return response;\r\n }\r\n\r\n getOlog(formType: number, formID: number, type: OlogNotificationType) {\r\n return this.http.get(this.url + '/GetOlog/' + formType + '/' + formID + '/' + type);\r\n }\r\n\r\n postToOlogFE(xmlBody: string) {\r\n const testOlog = 'https://controls.als.lbl.gov/olog_test/rpc.php';\r\n return this.http.post(/* environment.urls.ologUrl */ testOlog, xmlBody, {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'text/plain',\r\n }),\r\n responseType: 'text',\r\n withCredentials: true\r\n });\r\n }\r\n\r\n displayDialog() {\r\n return new Promise((resolve, reject) => {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage('olog_post_failed_question').description,\r\n icon: \"question\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n resolve(data);\r\n });\r\n });\r\n }\r\n\r\n async editOlog(formType: FormType, formID: number, type: OlogNotificationType, disabled = false) {\r\n try {\r\n const data = await this.getOlog(formType, formID, type).toPromise();\r\n if (data) {\r\n data.disabled = disabled;\r\n const dialogRef = this.dialog.open(PartialOlogComponent, {\r\n height: \"fit-content\",\r\n width: \"80%\",\r\n data,\r\n });\r\n dialogRef.afterClosed().subscribe((isSaved) => {\r\n if (isSaved) {\r\n console.log(isSaved);\r\n }\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n}\r\n","import { AfterViewInit, Component, Injector, Input, OnChanges, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Router } from '@angular/router';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CatalogService } from 'src/app/components/catalogs/catalog-service';\r\nimport { PendingCatalog, PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n@Component({\r\n selector: 'pending-approvals-catalogs-table',\r\n templateUrl: './pending-approvals-catalogs-table.component.html',\r\n styleUrls: ['./pending-approvals-catalogs-table.component.scss']\r\n})\r\nexport class PendingApprovalsCatalogsTableComponent extends BaseComponent implements OnChanges, AfterViewInit {\r\n\r\n @Input() dataSource!: MatTableDataSource;\r\n\r\n public displayedColumns: string[] = ['name', 'statusName', 'actionName', 'createdOn', 'createdBy'];\r\n @ViewChild('sort', { static: true }) sort!: MatSort | null;\r\n\r\n route?: string;\r\n header?: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _catalogService: CatalogService,\r\n private router: Router,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n if (this.dataSource && this.sort)\r\n this.dataSource.sort = this.sort;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.ngAfterViewInit();\r\n this.setParams();\r\n }\r\n\r\n setItem(pendingCatalog: PendingCatalog) {\r\n this._catalogService.pendingCatalog = pendingCatalog;\r\n if (!this.route)\r\n this.route = '/redirect/' + pendingCatalog.name;\r\n this.router.navigate([this.route]);\r\n }\r\n\r\n setParams() {\r\n switch (this.dataSource.data?.[0]?.approvalType) {\r\n case PendingCatalogType.Accelerator:\r\n this.route = '/accelerator-catalog';\r\n this.header = 'Accelerator Catalog';\r\n break;\r\n case PendingCatalogType.Beamline:\r\n this.route = '/resources-new';\r\n this.header = 'Beamline Catalog';\r\n break;\r\n case PendingCatalogType.User:\r\n this.route = '/users';\r\n this.header = 'User Catalog';\r\n break;\r\n case PendingCatalogType.Role:\r\n this.route = '/roles';\r\n this.header = 'Role Catalog';\r\n break;\r\n case PendingCatalogType.NotificationTemplate:\r\n this.route = '/email-notification-catalog';\r\n this.header = 'Notification Templates Catalog';\r\n break;\r\n case PendingCatalogType.RSSDb:\r\n this.route = '/resources-new?tab=2';\r\n this.header = 'RSS Database';\r\n break;\r\n case PendingCatalogType.KET:\r\n this.header = 'Checklist Templates';\r\n break;\r\n case PendingCatalogType.ABSI:\r\n this.header = 'Checklist Templates';\r\n break;\r\n case PendingCatalogType.ChecklistTemplate:\r\n this.header = 'Checklist Templates';\r\n break;\r\n case PendingCatalogType.APLCategories:\r\n this.header = 'APL Categories';\r\n this.route = '/apl-categories';\r\n break;\r\n case PendingCatalogType.APLGroups:\r\n this.header = 'APL Groups';\r\n this.route = '/apl-categories';\r\n break;\r\n }\r\n }\r\n}\r\n","
    {{ header }}
    \r\n
    \r\n \r\n \r\n \r\n Name\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Status\r\n \r\n \r\n ' +\r\n element.statusByUser?.name +\r\n ''\r\n : '')\r\n \"\r\n >\r\n \r\n \r\n \r\n \r\n Action\r\n \r\n \r\n {{ element.actionName }}\r\n \r\n \r\n \r\n \r\n Date\r\n \r\n \r\n {{ element.createdOn | date : \"longDate\" }}\r\n \r\n \r\n \r\n \r\n Submitted By\r\n \r\n \r\n {{ element.createdByUser.name }}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, HostListener, OnInit, OnDestroy, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { PendingApprovalsV2Service } from '../pending-approvals-v2.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingApprovals, PendingCatalog, PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { AbsiTemplateResource } from '../../absi/absi';\r\n\r\n@Component({\r\n selector: 'pending-approvals-catalogs',\r\n templateUrl: './pending-approvals-catalogs.component.html',\r\n styleUrls: ['./pending-approvals-catalogs.component.scss']\r\n})\r\nexport class PendingApprovalsCatalogsComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n @Output() updateCatalogs = new EventEmitter();\r\n\r\n pendingApprovals$!: Observable;\r\n pendingApprovalsSubs!: Subscription;\r\n\r\n pendingCatalogType = PendingCatalogType;\r\n\r\n absiVersion?: AbsiTemplateResource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: PendingApprovalsV2Service,\r\n ) {\r\n super(injector);\r\n this.service.pendingApprovalsSubject.subscribe(data => {\r\n this.loadPendingApprovals();\r\n });\r\n }\r\n\r\n public pendingApprovals!: number;\r\n\r\n public changePendingApproval!: boolean;\r\n\r\n catalogsData: CatalogItem[] = [{ name: 'Accelerator Catalog', id: 'accCatalog' }, { name: 'Beamline Catalog', id: 'beamCatalog' }, { name: 'Users', id: 'users' }, { name: 'Roles', id: 'roles' }, { name: 'Notification Templates', id: 'notificationTemplates' }, { name: 'RSS Database', id: 'rssdb' }, { name: 'Checklist Templates', id: 'checklistTemplates' }, { name: 'APL Categories', id: 'aplCategories' }, { name: 'APL Groups', id: 'aplGroups' }];\r\n\r\n public dataSourcePendingAccelerator!: MatTableDataSource;\r\n public dataSourcePendingResource!: MatTableDataSource;\r\n public dataSourcePendingRSSDatabase!: MatTableDataSource;\r\n public dataSourcePendingUser!: MatTableDataSource;\r\n public dataSourcePendingRole!: MatTableDataSource;\r\n public dataSourcePendingNotificationTemplate!: MatTableDataSource;\r\n public dataSourcePendingTemplates!: MatTableDataSource;\r\n public dataSourcePendingAPLCategories!: MatTableDataSource;\r\n public dataSourcePendingAPLGroups!: MatTableDataSource;\r\n\r\n windowScrolled!: boolean;\r\n\r\n override ngOnDestroy(): void {\r\n this.pendingApprovalsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n this.clear();\r\n this.loadPendingApprovals();\r\n }\r\n\r\n loadPendingApprovals() {\r\n this.dataSourcePendingAccelerator = new MatTableDataSource(this.service.pendingApprovals?.pendingAccelerators);\r\n this.dataSourcePendingUser = new MatTableDataSource(this.service.pendingApprovals?.pendingUsers);\r\n this.dataSourcePendingRole = new MatTableDataSource(this.service.pendingApprovals?.pendingRoles);\r\n this.dataSourcePendingResource = new MatTableDataSource(this.service.pendingApprovals?.pendingResources);\r\n this.dataSourcePendingNotificationTemplate = new MatTableDataSource(this.service.pendingApprovals?.pendingNotificationTemplates);\r\n this.dataSourcePendingTemplates = new MatTableDataSource(this.service.pendingApprovals.pendingChecklistTemplates)\r\n this.dataSourcePendingRSSDatabase = new MatTableDataSource(this.service.pendingApprovals?.pendingRSSDb);\r\n this.dataSourcePendingAPLCategories = new MatTableDataSource(this.service.pendingApprovals.pendingAPLCategories);\r\n this.dataSourcePendingAPLGroups = new MatTableDataSource(this.service.pendingApprovals.pendingAPLGroups);\r\n\r\n this.pendingApprovals = this.service.pendingApprovals?.total ?? 0;\r\n const catalogDataMapping = [\r\n { id: 'accCatalog', dataSource: this.dataSourcePendingAccelerator },\r\n { id: 'beamCatalog', dataSource: this.dataSourcePendingResource },\r\n { id: 'rssdb', dataSource: this.dataSourcePendingRSSDatabase },\r\n { id: 'users', dataSource: this.dataSourcePendingUser },\r\n { id: 'roles', dataSource: this.dataSourcePendingRole },\r\n { id: 'notificationTemplates', dataSource: this.dataSourcePendingNotificationTemplate },\r\n { id: 'checklistTemplates', dataSource: this.dataSourcePendingTemplates },\r\n { id: 'aplCategories', dataSource: this.dataSourcePendingAPLCategories },\r\n { id: 'aplGroups', dataSource: this.dataSourcePendingAPLGroups }\r\n ];\r\n\r\n for (const mapping of catalogDataMapping) {\r\n const catalog = this.catalogsData.find(x => x.id === mapping.id);\r\n if (catalog) {\r\n catalog.qty = mapping.dataSource.data.length;\r\n }\r\n }\r\n this.updateCatalogs.emit(this.catalogsData);\r\n }\r\n\r\n clear() {\r\n this.dataSourcePendingAccelerator = new MatTableDataSource();\r\n this.dataSourcePendingResource = new MatTableDataSource();\r\n this.dataSourcePendingRSSDatabase = new MatTableDataSource();\r\n this.dataSourcePendingUser = new MatTableDataSource();\r\n this.dataSourcePendingRole = new MatTableDataSource();\r\n this.dataSourcePendingNotificationTemplate = new MatTableDataSource();\r\n this.dataSourcePendingTemplates = new MatTableDataSource();\r\n this.dataSourcePendingAPLCategories = new MatTableDataSource();\r\n this.dataSourcePendingAPLGroups = new MatTableDataSource();\r\n this.changePendingApproval = false;\r\n }\r\n\r\n @HostListener('window:scroll', [])\r\n onWindowScroll() {\r\n if (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop > 100) {\r\n this.windowScrolled = true;\r\n } else if (this.windowScrolled && window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop < 10) {\r\n this.windowScrolled = false;\r\n }\r\n this.onSectionsScroll();\r\n }\r\n\r\n onSectionsScroll() {\r\n const active = 'section-body-active';\r\n\r\n if (this.isScrolledIntoView('#accCatalog')) {\r\n this.setAllInactive();\r\n $('#acceleratorButton').addClass(active);\r\n } else {\r\n if (this.isScrolledIntoView('#beamCatalog')) {\r\n this.setAllInactive();\r\n $('#beamButton').addClass(active);\r\n } else {\r\n if (this.isScrolledIntoView('#users')) {\r\n this.setAllInactive();\r\n $('#usersButton').addClass(active);\r\n } else {\r\n if (this.isScrolledIntoView('#roles')) {\r\n this.setAllInactive();\r\n $('#rolesButton').addClass(active);\r\n } else {\r\n if (this.isScrolledIntoView('#notificationTemplates')) {\r\n this.setAllInactive();\r\n $('#notificationTemplatesButton').addClass(active);\r\n }\r\n else {\r\n if (this.isScrolledIntoView('#checklistTemplates')) {\r\n $('#checklistTemplatesButton').addClass(active);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n setAllInactive() {\r\n const active = 'section-body-active';\r\n $('#acceleratorButton').removeClass(active);\r\n $('#beamButton').removeClass(active);\r\n $('#usersButton').removeClass(active);\r\n $('#rolesButton').removeClass(active);\r\n $('#notificationTemplates').removeClass(active);\r\n }\r\n\r\n override scrollToTop(elem: any) {\r\n // var that = this;\r\n (function smoothscroll() {\r\n // $(elem)[0].scrollIntoView({ behavior: 'smooth', block: 'start' });\r\n const yOffset = -230;\r\n const element = $(elem)[0];\r\n const y = element.getBoundingClientRect().top + window.pageYOffset + yOffset;\r\n\r\n window.scrollTo({ top: y, behavior: 'smooth' });\r\n })();\r\n\r\n // setTimeout(function () {\r\n // that.sections.nativeElement.scrollTop -= 20;\r\n // }, 500);\r\n }\r\n isScrolledIntoView(elem: any) {\r\n const elemRect = $(elem)[0].getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRect.top - 30;\r\n return (elemTop >= docViewTop);\r\n }\r\n\r\n}\r\n\r\nexport class CatalogItem {\r\n name!: string;\r\n id!: string;\r\n qty?: number;\r\n}\r\n","\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n","import { AfterViewInit, Component, EventEmitter, Injector, Input, OnChanges, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Router } from '@angular/router';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Catalog } from 'src/app/common/enumerations/enumerations';\r\nimport { CatalogService } from 'src/app/components/catalogs/catalog-service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { PendingCatalog, PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n@Component({\r\n selector: 'pending-approvals-changes-table',\r\n templateUrl: './pending-approvals-changes-table.component.html',\r\n styleUrls: ['./pending-approvals-changes-table.component.scss']\r\n})\r\nexport class PendingApprovalsChangesTableComponent extends BaseComponent implements AfterViewInit, OnChanges {\r\n\r\n @Input() dataSource!: MatTableDataSource;\r\n // @Input() pendingCatalog?: PendingCatalogType;\r\n\r\n public displayedColumns: string[] = ['name', 'statusName', 'actionName', 'createdOn', 'disapprovalReason', 'remove'];\r\n @ViewChild('sort', { static: true }) sort!: MatSort | null;\r\n\r\n showRemoveAll?: boolean;\r\n // catalog?: Catalog;\r\n route?: string;\r\n header?: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _catalogService: CatalogService,\r\n private router: Router,\r\n ) {\r\n super(injector);\r\n this\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n if (this.dataSource && this.sort)\r\n this.dataSource.sort = this.sort;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.ngAfterViewInit();\r\n this.showRemoveAll = this.dataSource.data.some(x => x.status == 3 && x.pendingID && x.approvalType < 10);\r\n this.setParams();\r\n }\r\n\r\n removeAll() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = { message: 'Are you sure you want to remove All elements from the list?' };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(async (data) => {\r\n if (data) {\r\n this.dataSource.data.filter(x => x.status == 3).map(async x => await this._catalogService.RemoveRow(x?.pendingID, x.approvalType).toPromise());\r\n }\r\n });\r\n }\r\n\r\n removeRow(e: MouseEvent, pendingElement: PendingCatalog) {\r\n e.stopPropagation();\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = { message: 'Are you sure you want to remove this element from the list?' };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(async (data) => {\r\n if (data) {\r\n await this._catalogService.RemoveRow(pendingElement?.pendingID, pendingElement.approvalType).toPromise();\r\n }\r\n });\r\n }\r\n\r\n setItem(pendingCatalog: PendingCatalog) {\r\n this._catalogService.pendingCatalog = pendingCatalog;\r\n if (!this.route)\r\n this.route = '/redirect/' + pendingCatalog.name;\r\n this.router.navigate([this.route]);\r\n }\r\n\r\n setParams() {\r\n switch (this.dataSource.data?.[0]?.approvalType) {\r\n case PendingCatalogType.Accelerator:\r\n this.route = '/accelerator-catalog';\r\n this.header = 'Accelerator Catalog';\r\n break;\r\n case PendingCatalogType.Beamline:\r\n this.route = '/resources-new';\r\n this.header = 'Beamline Catalog';\r\n break;\r\n case PendingCatalogType.User:\r\n this.route = '/users';\r\n this.header = 'User Catalog';\r\n break;\r\n case PendingCatalogType.Role:\r\n this.route = '/roles';\r\n this.header = 'Role Catalog';\r\n break;\r\n case PendingCatalogType.NotificationTemplate:\r\n this.route = '/email-notification-catalog';\r\n this.header = 'Notification Templates Catalog';\r\n break;\r\n case PendingCatalogType.RSSDb:\r\n this.route = '/resources-new?tab=2';\r\n this.header = 'RSS Database';\r\n break;\r\n case PendingCatalogType.ChecklistTemplate:\r\n case PendingCatalogType.KET:\r\n case PendingCatalogType.ABSI:\r\n this.header = 'Checklist Templates';\r\n break;\r\n case PendingCatalogType.APLCategories:\r\n this.header = 'APL Categories';\r\n this.route = '/apl-categories';\r\n break;\r\n case PendingCatalogType.APLGroups:\r\n this.header = 'APL Groups';\r\n this.route = '/apl-categories';\r\n break;\r\n }\r\n }\r\n}\r\n","
    {{ header }}
    \r\n
    \r\n \r\n \r\n \r\n Name\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Status\r\n \r\n \r\n ' +\r\n element.statusByUser?.name +\r\n ''\r\n : '')\r\n \"\r\n >\r\n \r\n \r\n \r\n \r\n Action\r\n \r\n \r\n {{ element.actionName }}\r\n \r\n \r\n \r\n \r\n Date\r\n \r\n \r\n {{ element.createdOn | date : \"longDate\" }}\r\n \r\n \r\n \r\n \r\n Disapproval Reason\r\n \r\n \r\n {{ element.disapprovalReason }}\r\n \r\n \r\n \r\n \r\n \r\n visibility_off\r\n \r\n \r\n \r\n visibility_off\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, OnInit, Output, EventEmitter, OnDestroy } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { PendingApprovals, PendingCatalog, PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { CatalogItem } from '../pending-approvals-catalogs/pending-approvals-catalogs.component';\r\nimport { PendingApprovalsV2Service } from '../pending-approvals-v2.service';\r\n\r\n@Component({\r\n selector: 'pending-approvals-changes',\r\n templateUrl: './pending-approvals-changes.component.html',\r\n styleUrls: ['./pending-approvals-changes.component.scss']\r\n})\r\nexport class PendingApprovalsChangesComponent implements OnInit, OnDestroy {\r\n\r\n @Output() updateMyChanges = new EventEmitter();\r\n\r\n pendingApprovals!: PendingApprovals;\r\n pendingApprovals$!: Observable;\r\n pendingApprovalsSubs!: Subscription;\r\n\r\n pendingApprovalsTotal!: number;\r\n pendingCatalogType = PendingCatalogType;\r\n\r\n catalogsData: CatalogItem[] = [{ name: 'Accelerator Catalog', id: 'accCatalog' }, { name: 'Beamline Catalog', id: 'beamCatalog' }, { name: 'Users', id: 'users' }, { name: 'Roles', id: 'roles' }, { name: 'Notification Templates', id: 'notificationTemplates' }, { name: 'RSS Database', id: 'rssdb' }, { name: 'Checklist Templates', id: 'checklistTemplates' }, { name: 'APL Categories', id: 'aplCategories' }, { name: 'APL Groups', id: 'aplGroups' }];\r\n\r\n public dataSourcePendingAccelerator = new MatTableDataSource();\r\n public dataSourcePendingResource = new MatTableDataSource;\r\n public dataSourcePendingUser = new MatTableDataSource;\r\n public dataSourcePendingRole = new MatTableDataSource;\r\n public dataSourcePendingNotificationTemplate = new MatTableDataSource;\r\n public dataSourcePendingRSSDatabase = new MatTableDataSource;\r\n public dataSourcePendingTemplates = new MatTableDataSource;\r\n public dataSourcePendingAPLCategories!: MatTableDataSource;\r\n public dataSourcePendingAPLGroups!: MatTableDataSource;\r\n\r\n constructor(\r\n private service: PendingApprovalsV2Service,\r\n ) {\r\n this.service.pendingApprovalsSubject.subscribe(data => {\r\n this.loadMyPendingChanges();\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.pendingApprovalsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.clear();\r\n this.loadMyPendingChanges();\r\n }\r\n\r\n refresh() {\r\n this.clear();\r\n this.loadMyPendingChanges();\r\n }\r\n\r\n loadMyPendingChanges() {\r\n this.dataSourcePendingAccelerator = new MatTableDataSource(this.service.myPendingChanges?.pendingAccelerators);\r\n this.dataSourcePendingUser = new MatTableDataSource(this.service.myPendingChanges?.pendingUsers);\r\n this.dataSourcePendingRole = new MatTableDataSource(this.service.myPendingChanges?.pendingRoles);\r\n this.dataSourcePendingResource = new MatTableDataSource(this.service.myPendingChanges?.pendingResources);\r\n this.dataSourcePendingNotificationTemplate = new MatTableDataSource(this.service.myPendingChanges?.pendingNotificationTemplates);\r\n this.dataSourcePendingRSSDatabase = new MatTableDataSource(this.service.myPendingChanges?.pendingRSSDb);\r\n this.dataSourcePendingTemplates = new MatTableDataSource(this.service.myPendingChanges.pendingChecklistTemplates);\r\n this.dataSourcePendingAPLCategories = new MatTableDataSource(this.service.myPendingChanges.pendingAPLCategories);\r\n this.dataSourcePendingAPLGroups = new MatTableDataSource(this.service.myPendingChanges.pendingAPLGroups);\r\n\r\n this.pendingApprovalsTotal = this.service.myPendingChanges?.total ?? 0;\r\n const catalogDataMapping = [\r\n { id: 'accCatalog', dataSource: this.dataSourcePendingAccelerator },\r\n { id: 'beamCatalog', dataSource: this.dataSourcePendingResource },\r\n { id: 'rssdb', dataSource: this.dataSourcePendingRSSDatabase },\r\n { id: 'users', dataSource: this.dataSourcePendingUser },\r\n { id: 'roles', dataSource: this.dataSourcePendingRole },\r\n { id: 'notificationTemplates', dataSource: this.dataSourcePendingNotificationTemplate },\r\n { id: 'checklistTemplates', dataSource: this.dataSourcePendingTemplates },\r\n { id: 'aplCategories', dataSource: this.dataSourcePendingAPLCategories },\r\n { id: 'aplGroups', dataSource: this.dataSourcePendingAPLGroups }\r\n ];\r\n\r\n for (const mapping of catalogDataMapping) {\r\n const catalog = this.catalogsData.find(x => x.id === mapping.id);\r\n if (catalog) {\r\n catalog.qty = mapping.dataSource.data.length;\r\n }\r\n }\r\n this.updateMyChanges.emit(this.catalogsData);\r\n }\r\n\r\n clear() {\r\n this.dataSourcePendingAccelerator = new MatTableDataSource();\r\n this.dataSourcePendingResource = new MatTableDataSource();\r\n this.dataSourcePendingUser = new MatTableDataSource();\r\n this.dataSourcePendingRole = new MatTableDataSource();\r\n this.dataSourcePendingRSSDatabase = new MatTableDataSource();\r\n this.dataSourcePendingTemplates = new MatTableDataSource();\r\n this.dataSourcePendingAPLCategories = new MatTableDataSource();\r\n this.dataSourcePendingAPLGroups = new MatTableDataSource();\r\n }\r\n\r\n}\r\n","\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n","import { Component, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { PendingApprovalsCatalogsComponent, CatalogItem } from './pending-approvals-catalogs/pending-approvals-catalogs.component';\r\nimport { PendingApprovalsChangesComponent } from './pending-approvals-changes/pending-approvals-changes.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PendingApprovalsV2Service } from './pending-approvals-v2.service';\r\n\r\n@Component({\r\n selector: 'app-pending-approvals-v2',\r\n templateUrl: './pending-approvals-v2.component.html',\r\n styleUrls: ['./pending-approvals-v2.component.scss']\r\n})\r\nexport class PendingApprovalsV2Component extends BaseComponent implements OnInit {\r\n\r\n @ViewChild(PendingApprovalsCatalogsComponent) catalogs!: PendingApprovalsCatalogsComponent;\r\n @ViewChild(PendingApprovalsChangesComponent) myChanges!: PendingApprovalsChangesComponent;\r\n\r\n disabled!: boolean;\r\n loading = false;\r\n loadingMessage!: string;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages!: string[];\r\n headerOnTop!: boolean;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter!: any[];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n ///////////////////////\r\n\r\n // dataSourceRoles = new MatTableDataSource();\r\n dataSourceCatalogs = new MatTableDataSource();\r\n dataSourceMyChanges = new MatTableDataSource();\r\n\r\n catalogsData!: CatalogItem[];\r\n myChangesData!: CatalogItem[];\r\n\r\n tableColumns = ['name'];\r\n\r\n activeLink!: number;\r\n tabIndex!: number;\r\n\r\n roles!: Role[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private activatedRoute: ActivatedRoute,\r\n public pendingApprovals: PendingApprovalsV2Service\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.moduleTitle = 'Pending Actions';\r\n this.activatedRoute.queryParams.subscribe(params => {\r\n this.setTab(params?.['tab']);\r\n });\r\n }\r\n\r\n setTab(tabParam?: string) {\r\n this.tabIndex = tabParam && tabParam != '0' ? Number(tabParam) : (this.dataSourceCatalogs.data.length ? 1 : (this.dataSourceMyChanges.data.length ? 2 : 0));\r\n this.activeLink = this.tabIndex;\r\n }\r\n\r\n onTabChanged(e: any) {\r\n this.tabIndex = e;\r\n this.setTab(e);\r\n this.scrollToTop('sidenav-content');\r\n }\r\n\r\n catalogsUpdate(e: any) {\r\n const activeTab = this.activeLink.toString();\r\n this.catalogsData = e;\r\n this.dataSourceCatalogs = new MatTableDataSource(this.catalogsData.filter(x => x.qty));\r\n this.setTab(activeTab);\r\n }\r\n\r\n myChangesUpdate(e: any) {\r\n const activeTab = this.activeLink.toString();\r\n this.myChangesData = e;\r\n this.dataSourceMyChanges = new MatTableDataSource(this.myChangesData.filter(x => x.qty));\r\n this.setTab(activeTab);\r\n }\r\n\r\n navigateToRole(id: number) {\r\n document.getElementById('role' + id.toString())?.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n\r\n navigateToCatalog(id: string) {\r\n document.getElementById(id)?.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ moduleTitle }}\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n Pending Actions\r\n \r\n {{ e.name }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n My Changes\r\n \r\n {{ e.name }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormControl, FormGroupDirective, NgForm, ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { CommentsAndAttachmentsModule } from 'src/app/controls/comments-and-attachments/comments-and-attachments.module';\r\nimport { MatFileUploadModule } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { PendingApprovalsV2Component } from './pending-approvals-v2.component';\r\nimport { PendingApprovalsCatalogsComponent } from './pending-approvals-catalogs/pending-approvals-catalogs.component';\r\nimport { PendingApprovalsChangesComponent } from './pending-approvals-changes/pending-approvals-changes.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\nimport { PendingApprovalsChangesTableComponent } from './pending-approvals-changes/pending-approvals-changes-table/pending-approvals-changes-table.component';\r\nimport { PendingApprovalsCatalogsTableComponent } from './pending-approvals-catalogs/pending-approvals-catalogs-table/pending-approvals-catalogs-table.component';\r\n\r\nexport class TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\nconst appRoutes: Routes = [\r\n { path: 'pending-approvals', component: PendingApprovalsV2Component, canDeactivate: [RedirectGuard] },\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n PendingApprovalsV2Component,\r\n PendingApprovalsCatalogsComponent,\r\n PendingApprovalsCatalogsTableComponent,\r\n PendingApprovalsChangesComponent,\r\n PendingApprovalsChangesTableComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatToolbarModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n CommentsAndAttachmentsModule,\r\n ],\r\n\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance,\r\n },\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class PendingApprovalsV2Module { }\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { ActionPendingCatalog, Roles, StatusPendingCatalog } from 'src/app/common/enumerations/enumerations';\r\nimport { PendingApprovals, PendingCatalog, PendingCatalogType } from 'src/app/services/pending-approvals/pending-approval';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ChecklistPriv, ChecklistTemplate, ChecklistTemplateStatusEnum, TemplateType } from '../checklists/checklists';\r\nimport { ProcedureSignatureType } from '../procedure/enums/procedure-signature-type.enum';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PendingApprovalsV2Service extends BaseService {\r\n\r\n public pendingApprovalsSubject!: BehaviorSubject;\r\n\r\n pendingApprovals!: PendingApprovals;\r\n myPendingChanges!: PendingApprovals;\r\n\r\n pendingApprovals$!: Observable;\r\n pendingApprovalsSubs!: Subscription;\r\n\r\n api = '/PendingApproval';\r\n\r\n checklistTemplates?: ChecklistTemplate[];\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n templateTypes?: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector, '/PendingApproval');\r\n this.pendingApprovalsSubject = new BehaviorSubject(null);\r\n this.loadChecklistTemplates();\r\n }\r\n\r\n override currentUserUpdated(): void {\r\n this.loadChecklistTemplates();\r\n }\r\n\r\n get(): Observable {\r\n return this.http.get(this.URL);\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.pending);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.subscribe(data => {\r\n this.checklistTemplates = data;\r\n this.loadTemplateTypes();\r\n });\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.templateTypes = data;\r\n this.loadPendingApprovals();\r\n }\r\n });\r\n }\r\n\r\n loadPendingApprovals() {\r\n this.pendingApprovals$ = this.store.select(state => state.PendingApprovals.data);\r\n this.pendingApprovalsSubs = this.pendingApprovals$.subscribe(data => {\r\n if (data && this.currentUser) {\r\n const p: PendingApprovals = {\r\n pendingAccelerators: this.getMyApprovals(data.pendingAccelerators ?? []),\r\n pendingUsers: this.getMyApprovals(data.pendingUsers),\r\n pendingRoles: this.getMyApprovals(data.pendingRoles),\r\n pendingNotificationTemplates: this.getMyApprovals(data.pendingNotificationTemplates),\r\n pendingResources: this.getMyApprovals(data.pendingResources),\r\n pendingRSSDb: this.getMyApprovals(data.pendingRSSDb),\r\n pendingChecklistTemplates: this.getMyApprovals(data.pendingChecklistTemplates),\r\n pendingAPLCategories: this.getMyApprovals(data.pendingAPLCategories),\r\n pendingAPLGroups: this.getMyApprovals(data.pendingAPLGroups)\r\n };\r\n p.total =\r\n (p.pendingAccelerators?.length ?? 0) +\r\n (p.pendingUsers?.length ?? 0) +\r\n (p.pendingRoles?.length ?? 0) +\r\n (p.pendingResources?.length ?? 0) +\r\n (p.pendingRSSDb?.length ?? 0) +\r\n (p.pendingChecklistTemplates?.length ?? 0) +\r\n (p.pendingAPLCategories.length ?? 0) +\r\n (p.pendingAPLGroups.length ?? 0);\r\n this.pendingApprovals = p;\r\n\r\n const q: PendingApprovals = {\r\n pendingAccelerators: this.getMyChanges(data.pendingAccelerators),\r\n pendingUsers: this.getMyChanges(data.pendingUsers),\r\n pendingRoles: this.getMyChanges(data.pendingRoles),\r\n pendingNotificationTemplates: this.getMyChanges(data.pendingNotificationTemplates),\r\n pendingResources: this.getMyChanges(data.pendingResources),\r\n pendingRSSDb: this.getMyChanges(data.pendingRSSDb),\r\n pendingChecklistTemplates: this.getMyChanges(data.pendingChecklistTemplates),\r\n pendingAPLCategories: this.getMyChanges(data.pendingAPLCategories),\r\n pendingAPLGroups: this.getMyChanges(data.pendingAPLGroups)\r\n };\r\n q.total =\r\n (q.pendingAccelerators?.length ?? 0) +\r\n (q.pendingUsers?.length ?? 0) +\r\n (q.pendingRoles?.length ?? 0) +\r\n (q.pendingResources?.length ?? 0) +\r\n (q.pendingRSSDb?.length ?? 0) +\r\n (q.pendingChecklistTemplates?.length ?? 0) +\r\n (q.pendingAPLCategories.length ?? 0) +\r\n (q.pendingAPLGroups.length ?? 0);\r\n this.myPendingChanges = q;\r\n this.pendingApprovalsSubject.next(data);\r\n }\r\n });\r\n }\r\n\r\n private setNames(data: PendingCatalog[]) {\r\n data?.map(x => {\r\n x.actionName = ActionPendingCatalog[x.action];\r\n if (x.approvalType != PendingCatalogType.ChecklistTemplate)\r\n x.statusName = StatusPendingCatalog[x.status];\r\n });\r\n return data;\r\n }\r\n\r\n private getMyChanges(data: PendingCatalog[] = []) {\r\n return this.setNames(data?.filter(x => x.createdBy == this.currentUser?.id && x.show && (x.approvalType != PendingCatalogType.ChecklistTemplate && x.statusBy != this.currentUser.id || x.approvalType == PendingCatalogType.ChecklistTemplate)));\r\n }\r\n\r\n private getMyApprovals(data: PendingCatalog[] = []) {\r\n return this.setNames(data?.filter(x => {\r\n if (x.createdBy == this.currentUser?.id) return false;\r\n\r\n switch (x.approvalType) {\r\n case PendingCatalogType.Accelerator:\r\n return x.status == StatusPendingCatalog.Pending && (this.isSA() || this.hasPrivilege(PrivilegeEnum.AcceleratorCatalogApprove));\r\n\r\n case PendingCatalogType.Beamline:\r\n case PendingCatalogType.Role:\r\n case PendingCatalogType.User:\r\n return x.status == StatusPendingCatalog.Pending && (this.isSA() && x.pendingID || !x.pendingID && this.hasPrivilege(PrivilegeEnum.BeamlineRestrictionsApprove));\r\n\r\n case PendingCatalogType.RSSDb:\r\n return x.status == StatusPendingCatalog.Pending && (this.isSA() || this.hasPrivilege(PrivilegeEnum.RSSTestDBAuth));\r\n\r\n case PendingCatalogType.KET:\r\n return this.hasRoles([Roles.SA]);\r\n\r\n case PendingCatalogType.ABSI:\r\n return this.hasPrivilege(PrivilegeEnum.ApproveABSITemplate);\r\n\r\n case PendingCatalogType.ChecklistTemplate:\r\n return this.canApproveTemplate(x);\r\n\r\n case PendingCatalogType.APLCategories:\r\n return this.hasPrivilege(PrivilegeEnum.APLCategoryApproval);\r\n\r\n case PendingCatalogType.APLGroups:\r\n return this.hasPrivilege(PrivilegeEnum.APLGroupApproval);\r\n\r\n default:\r\n return false;\r\n }\r\n })\r\n );\r\n }\r\n\r\n canApproveTemplate(templateApproval: PendingCatalog) {\r\n const checklistTemplate = this.checklistTemplates?.find(t => t.id == templateApproval.pendingID);\r\n if (checklistTemplate) {\r\n const templateType = this.templateTypes?.find(t => t.id == checklistTemplate?.templateTypeID);\r\n checklistTemplate.templateType = templateType;\r\n\r\n switch (templateApproval?.status) {\r\n\r\n case ChecklistTemplateStatusEnum.PendingRev:\r\n if (checklistTemplate.procedure) {\r\n return checklistTemplate.procedure.procedureSignatures?.filter(s => s.signatureType == ProcedureSignatureType.Reviewer).map(s => s.userID).includes(this.currentUser?.id ?? 0);\r\n }\r\n return false;\r\n\r\n case ChecklistTemplateStatusEnum.CorrectionsPending:\r\n if (checklistTemplate.procedure) {\r\n return checklistTemplate.procedure.procedureSignatures?.filter(s => s.signatureType == ProcedureSignatureType.Preparer).map(s => s.userID).includes(this.currentUser?.id ?? 0);\r\n }\r\n return false;\r\n\r\n case ChecklistTemplateStatusEnum.PendingApr:\r\n if (checklistTemplate.procedure) {\r\n return checklistTemplate.procedure.procedureSignatures?.filter(s => s.signatureType == ProcedureSignatureType.Approver).map(s => s.userID).includes(this.currentUser?.id ?? 0);\r\n }\r\n else {\r\n return utils.intersect(checklistTemplate?.templateType?.documentType?.templateRolePermissions?.filter(p => p.checklistPrivilege == ChecklistPriv.Approve)?.map(p => p.roleID), this.currentUser?.userRole?.map(r => r.roleID));\r\n }\r\n\r\n default:\r\n return false;\r\n\r\n }\r\n }\r\n return false;\r\n }\r\n}\r\n","\r\n\r\nexport class PendingApprovalsRefresh {\r\n static readonly type = '[PendingApprovals] Refresh';\r\n}\r\n// export class PendingApprovalsCreate {\r\n// static readonly type = '[PendingApprovals] Create';\r\n// constructor(public item: PendingApprovals) { }\r\n// }\r\n// export class PendingApprovalsUpdate {\r\n// static readonly type = '[PendingApprovals] Update';\r\n// constructor(public id: number, public item: PendingApprovals) { }\r\n// }\r\n// export class PendingApprovalsDelete {\r\n// static readonly type = '[PendingApprovals] Delete';\r\n// constructor(public id: number) { }\r\n// }\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { PendingApprovalsRefresh } from './pending-approvals.action';\r\nimport { PendingApprovalsV2Service } from '../../pending-approvals-v2.service';\r\nimport { PendingApprovals } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\nexport class PendingApprovalsStateModel {\r\n data!: PendingApprovals | null;\r\n}\r\n\r\n@State({\r\n name: 'PendingApprovals',\r\n defaults: {\r\n data: null,\r\n }\r\n})\r\n@Injectable()\r\nexport class PendingApprovalsState {\r\n constructor(\r\n private service: PendingApprovalsV2Service,\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: PendingApprovalsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(PendingApprovalsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.get().subscribe(\r\n data => {\r\n patchState({ data });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as PendingApprovalsActions from './pending-approvals.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PendingApprovalsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new PendingApprovalsActions.PendingApprovalsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PENDING_CATALOGS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Get:\r\n this.store.dispatch(new PendingApprovalsActions.PendingApprovalsRefresh());\r\n }\r\n });\r\n }\r\n}\r\n","import { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\nexport class PPSTBAcceleratorLocation {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public resourceID?: number;\r\n public resource!: Resource;\r\n}\r\n\r\nexport class PPSTBAcceleratorLocationSave {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public resourceID?: number;\r\n}\r\n\r\nexport class PPSTBAcceleratorLocationHandler {\r\n static toSave(ppstbAcceleratorLocation: PPSTBAcceleratorLocation): PPSTBAcceleratorLocationSave {\r\n var save = new PPSTBAcceleratorLocationSave();\r\n\r\n save.id = ppstbAcceleratorLocation.id;\r\n save.ppstbID = ppstbAcceleratorLocation.ppstbID;\r\n save.resourceID = ppstbAcceleratorLocation.resourceID;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, OnInit, Input, Output, EventEmitter, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { PPSTBOtherFollowUp } from '../../ppstb-other-follow-up';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PPSTBFollowUpType } from 'src/app/components/schedules/models/enums';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\nclass DialogData {\r\n roleCodes!: string;\r\n title!: string;\r\n disable!: boolean;\r\n checked!: boolean;\r\n ppstbOtherFollowUps!: PPSTBOtherFollowUp[];\r\n ppstbFollowUpType!: number;\r\n details!: string;\r\n isDialog!: boolean;\r\n};\r\n\r\n@Component({\r\n selector: 'ppstb-follow-up',\r\n templateUrl: './ppstb-follow-up.component.html',\r\n styleUrls: ['./ppstb-follow-up.component.scss']\r\n})\r\nexport class PpstbFollowUpComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() form?: Form | null;\r\n @Input() roleCodes!: string;\r\n @Input() title!: string;\r\n @Input() disable!: boolean;\r\n @Input() checked?: boolean;\r\n @Input() ppstbOtherFollowUps?: PPSTBOtherFollowUp[];\r\n @Input() ppstbFollowUpType!: PPSTBFollowUpType;\r\n\r\n @Output() approve = new EventEmitter();\r\n private dialogRef: any = null;\r\n\r\n\r\n public signedOn?: Date | null;\r\n\r\n public userName?: string;\r\n public details?: string;\r\n public inputLabelTextCustom = 'Details';\r\n\r\n public ppstbOtherFollowUp?: PPSTBOtherFollowUp;\r\n\r\n public textAreaControl = new FormControl();\r\n\r\n dialogData?: DialogData;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n this.dialogRef = this.injector.get(MatDialogRef, null);\r\n this.dialogData = this.injector.get(MAT_DIALOG_DATA, null);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setDialog();\r\n this.innerWidth = window.innerWidth;\r\n this.buildForm();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n textAreaControl: this.textAreaControl\r\n });\r\n }\r\n\r\n accept() {\r\n const infoToSend = {\r\n value: this.checked,\r\n ppstbOtherFollowUp: this.ppstbOtherFollowUp,\r\n details: this.details\r\n };\r\n this.dialogRef.close(infoToSend);\r\n }\r\n\r\n checkboxChanged() {\r\n if (!this.checked)\r\n this.details = '';\r\n }\r\n\r\n textChanged(e?: string) {\r\n if (e) {\r\n this.details = e;\r\n }\r\n else {\r\n this.textAreaControl.setErrors({ required: true });\r\n this.formGroup.markAllAsTouched();\r\n }\r\n }\r\n\r\n cancel() {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n confirmation.afterClosed().toPromise().then((response: CanDeactivateResponse) => {\r\n if (response === CanDeactivateResponse.Discard) {\r\n this.dialogRef.close(null);\r\n }\r\n });\r\n }\r\n\r\n setDialog() {\r\n if (this.dialogData?.isDialog) {\r\n this.roleCodes = this.dialogData.roleCodes;\r\n this.title = this.dialogData.title;\r\n this.disable = this.dialogData.disable;\r\n this.checked = this.dialogData.checked;\r\n this.details = this.dialogData.details;\r\n this.ppstbOtherFollowUp = this.dialogData.ppstbOtherFollowUps?.find(x => x.type === this.dialogData?.ppstbFollowUpType);\r\n }\r\n }\r\n\r\n followUpDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n roleCodes: this.roleCodes,\r\n title: this.title,\r\n disable: this.disable,\r\n checked: this.checked,\r\n ppstbOtherFollowUps: this.ppstbOtherFollowUps,\r\n ppstbFollowUpType: this.ppstbFollowUpType,\r\n details: this.details,\r\n isDialog: true\r\n };\r\n dialogConfig.minWidth = '60vw';\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(PpstbFollowUpComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((infoToSend) => {\r\n if (infoToSend) {\r\n this.approve.emit(infoToSend);\r\n }\r\n });\r\n }\r\n\r\n async refresh() {\r\n this.userName = '';\r\n this.details = '';\r\n this.signedOn = null;\r\n if (this.ppstbOtherFollowUps) {\r\n this.ppstbOtherFollowUp = this.ppstbOtherFollowUps.find(x => x.type === this.ppstbFollowUpType);\r\n if (this.ppstbOtherFollowUp) {\r\n const user = this.getUser(this.ppstbOtherFollowUp.signedBy);\r\n if (user) { this.userName = user.name; }\r\n this.signedOn = this.ppstbOtherFollowUp?.signedOn;\r\n this.details = this.ppstbOtherFollowUp?.text;\r\n }\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ title }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {{ title }}\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    By:
    \r\n
    \r\n {{ userName }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date:\r\n
    \r\n
    \r\n {{\r\n signedOn | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n edit\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Save\r\n \r\n \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport moment from 'moment';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { CancelDialogComponent } from 'src/app/controls/cancel-dialog/cancel-dialog.component';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { OtherSystem } from 'src/app/controls/other-system-chips/other-system';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Form, FormHandler } from 'src/app/services/forms/form';\r\nimport { FormRestriction } from 'src/app/services/forms/form-restriction';\r\nimport { FormVersion, FormVersionHandler } from 'src/app/services/forms/form-version';\r\nimport { FormVersionService } from 'src/app/services/forms/form-version.service';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { PPSTBShutter } from '../../ppstb-shutter';\r\nimport { PPSTBAcceleratorLocation } from '../../ppstb-accelerator-location';\r\nimport { PpstbService } from '../../ppstb.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s1',\r\n templateUrl: './ppstb-main-s1.component.html',\r\n styleUrls: ['./ppstb-main-s1.component.scss']\r\n})\r\nexport class PpstbMainS1Component extends BaseComponent implements OnChanges {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled: boolean = true;\r\n @Input() showAmendment?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() formCreated = new EventEmitter
    ();\r\n @Output() formCancelled = new EventEmitter();\r\n\r\n requesterCtrl = new FormControl();\r\n descriptionCtrl = new FormControl();\r\n shuttersCtrl = new FormControl();\r\n acceleratorCtrl = new FormControl();\r\n chkTopOffCtrl = new FormControl();\r\n chkRadMonCtrl = new FormControl();\r\n otherSystemCtrl = new FormControl();\r\n chkBeamlineCtrl = new FormControl();\r\n chkAcceleratorCtrl = new FormControl();\r\n startDateCtrl = new FormControl();\r\n completionDateCtrl = new FormControl();\r\n restrictionsCtrl = new FormControl();\r\n bypassCtrl = new FormControl();\r\n conditionsCtrl = new FormControl();\r\n systemCtrl = new FormControl();\r\n testingCtrl = new FormControl();\r\n\r\n formID?: number;\r\n locationIDs?: (number | undefined)[];\r\n\r\n tmpChkBeamline?: boolean;\r\n tmpChkAccelerator?: boolean;\r\n tmpChkTopOff?: boolean;\r\n tmpRadMonOff?: boolean;\r\n tmpOtherSystems?: OtherSystem[];\r\n tmpStartDate!: Date;\r\n tmpCompletionDate!: Date;\r\n\r\n signature?: WfSignatureResource;\r\n amendmentSignature?: WfSignatureResource;\r\n canUnsubmit!: boolean;\r\n activeUsers?: User[];\r\n technicalApprovalSignatureAmendment?: WfSignatureResource;\r\n formVersion?: FormVersion;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: PpstbService,\r\n private formService: FormService,\r\n private formVersionService: FormVersionService\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n this.activeUsers = this.users.filter(x => x.status == 1);\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n requesterCtrl: this.requesterCtrl,\r\n descriptionCtrl: this.descriptionCtrl,\r\n shuttersCtrl: this.shuttersCtrl,\r\n acceleratorCtrl: this.acceleratorCtrl,\r\n chkBeamlineCtrl: this.chkBeamlineCtrl,\r\n chkAcceleratorCtrl: this.chkAcceleratorCtrl,\r\n chkTopOffCtrl: this.chkTopOffCtrl,\r\n chkRadMonCtrl: this.chkRadMonCtrl,\r\n otherSystemCtrl: this.otherSystemCtrl,\r\n startDateCtrl: this.startDateCtrl,\r\n completionDateCtrl: this.completionDateCtrl,\r\n restrictionsCtrl: this.restrictionsCtrl,\r\n bypassCtrl: this.bypassCtrl,\r\n testingCtrl: this.testingCtrl,\r\n conditionsCtrl: this.conditionsCtrl,\r\n systemCtrl: this.systemCtrl\r\n });\r\n this.formGroup.markAsPristine();\r\n this.checkEnableControls();\r\n }\r\n\r\n checkEnableControls() {\r\n this.disabled = true;\r\n this.formGroup?.disable();\r\n\r\n if (this.form) {\r\n let enable: boolean | null = false;\r\n if (!this.showAmendment)\r\n enable = this.form?.editingById == this.getCurrentUser()?.id && this.hasPrivilege(this.privilegeEnum.PPSTBNewForm) && ((this.form?.formVersion.statusID ?? 0) == this.formStatusEnum.New || this.form?.formVersion?.statusID == this.formStatusEnum.Draft);\r\n else\r\n enable = this.form?.editingById == this.getCurrentUser()?.id && this.hasPrivilege(this.privilegeEnum.PPSTBNewForm) && (this.form?.formVersion?.statusID == this.formStatusEnum.Amendment && this.hasPrivilege(this.privilegeEnum.PPSTBEditAmendment));\r\n\r\n if (enable) {\r\n this.disabled = false;\r\n this.formGroup?.enable();\r\n }\r\n }\r\n }\r\n\r\n refresh() {\r\n if (this.form) {\r\n if (this.showAmendment) {\r\n this.formVersion = utils.cloneDeep(this.form.formVersion);\r\n }\r\n else {\r\n if (this.form.formVersion.previousVersion)\r\n this.formVersion = utils.cloneDeep(this.form.formVersion.previousVersion);\r\n else\r\n this.formVersion = utils.cloneDeep(this.form.formVersion);\r\n }\r\n this.requesterCtrl.setValue(this.formVersion.requester);\r\n this.tmpChkBeamline = this.formVersion.ppstb?.beamline;\r\n this.tmpChkAccelerator = this.formVersion.ppstb?.accelerator;\r\n this.tmpChkTopOff = this.formVersion.ppstb?.topOff;\r\n this.tmpRadMonOff = this.formVersion.ppstb?.radiationMonitoringSystem;\r\n this.tmpOtherSystems = this.formVersion.ppstb?.ppstbOtherSystems.map(o => {\r\n const os: OtherSystem = { id: o.id, text: o.text };\r\n return os;\r\n });\r\n this.startDateCtrl.setValue(this.formVersion.ppstb?.permittedStartDate);\r\n this.completionDateCtrl.setValue(this.formVersion.ppstb?.estimatedCompletion);\r\n this.getLocationIDs();\r\n this.signature = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 1)?.wfSignatures?.[0];\r\n this.amendmentSignature = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 4)?.wfSignatures?.find(s => s.amendmentEnabled);\r\n this.canUnsubmit = !this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 2)?.wfSignatures?.some(s => s.signed);\r\n this.technicalApprovalSignatureAmendment = this.form.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 12)?.wfSignatures?.find(s => s.code == 'TECHNICAL-APPROVAL');\r\n }\r\n else {\r\n this.clearFields();\r\n }\r\n this.formGroup?.disable();\r\n this.formGroup?.markAsPristine();\r\n this.checkEnableControls();\r\n }\r\n\r\n clearFields() {\r\n this.tmpChkBeamline = false;\r\n this.tmpChkAccelerator = false;\r\n this.tmpChkTopOff = false;\r\n this.tmpRadMonOff = false;\r\n this.tmpOtherSystems = [];\r\n }\r\n\r\n selectedReq(e: MatAutocompleteSelectedEvent) {\r\n const value = e.option.value;\r\n if (this.formVersion) {\r\n this.formVersion.requesterID = value.id;\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n onReqChange(e: any) {\r\n const text = e.target.value as string;\r\n this.activeUsers = this.users.filter(x => x.status == 1 && x.name?.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n descriptionChanged(e: any) {\r\n if (this.formVersion?.ppstb) {\r\n this.formVersion.ppstb.justificationForBypass = e;\r\n this.descriptionCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n relatedDocumentsChanged(e: any) {\r\n if (this.formVersion?.ppstb) {\r\n this.formVersion.ppstb.relatedDocuments = e;\r\n this.setFormDirty();\r\n }\r\n }\r\n\r\n onShutterEdited(e: Resource[]) {\r\n e.map(r => {\r\n if (!this.formVersion?.ppstb?.ppstbShutters?.find(s => s.resourceID == r.id))\r\n this.formVersion?.ppstb?.ppstbShutters?.push({ id: 0, ppstbID: this.formVersion.ppstb?.id, resource: r, resourceID: r.id });\r\n });\r\n this.formVersion?.ppstb?.ppstbShutters?.map((s, i) => {\r\n if (!e.find(r => r.id == s.resourceID))\r\n this.formVersion?.ppstb?.ppstbShutters?.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n this.getLocationIDs();\r\n }\r\n\r\n onAcceleratorEdited(e: Resource[]) {\r\n e.map(r => {\r\n if (!this.formVersion?.ppstb?.ppstbAcceleratorLocations?.find(s => s.resourceID == r.id))\r\n this.formVersion?.ppstb?.ppstbAcceleratorLocations?.push({ id: 0, ppstbID: this.formVersion?.ppstb?.id, resource: r, resourceID: r.id });\r\n });\r\n this.formVersion?.ppstb?.ppstbAcceleratorLocations?.map((s, i) => {\r\n if (!e.find(r => r.id == s.resourceID))\r\n this.formVersion?.ppstb?.ppstbAcceleratorLocations?.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n this.getLocationIDs();\r\n }\r\n\r\n onOtherSystemsEdited(e: OtherSystem[]) {\r\n e.map(o => {\r\n if (!this.formVersion?.ppstb?.ppstbOtherSystems?.find(x => x.text == o.text))\r\n this.formVersion?.ppstb?.ppstbOtherSystems.push({ id: 0, text: o.text, ppstbID: this.formVersion?.ppstb.id });\r\n });\r\n this.formVersion?.ppstb?.ppstbOtherSystems.map((x, i) => {\r\n if (!e.find(o => o.text == x.text))\r\n this.formVersion?.ppstb?.ppstbOtherSystems.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n }\r\n\r\n blCheckboxChanged(e: any) {\r\n const checked = e.checked;\r\n this.otherSystemCtrl.setErrors(null);\r\n\r\n if (this.formVersion?.ppstb) {\r\n this.setFormDirty();\r\n this.formVersion.ppstb.beamline = checked;\r\n if (!checked)\r\n this.formVersion.ppstb.ppstbShutters = [];\r\n }\r\n this.getLocationIDs();\r\n }\r\n\r\n accCheckboxChanged(e: any) {\r\n const checked = e.checked;\r\n this.otherSystemCtrl.setErrors(null);\r\n\r\n if (this.formVersion?.ppstb) {\r\n this.setFormDirty();\r\n this.formVersion.ppstb.accelerator = checked;\r\n if (!checked)\r\n this.formVersion.ppstb.ppstbAcceleratorLocations = [];\r\n }\r\n this.getLocationIDs();\r\n }\r\n\r\n topCheckboxChanged(e: any) {\r\n const checked = e.checked;\r\n this.otherSystemCtrl.setErrors(null);\r\n\r\n if (this.formVersion?.ppstb) {\r\n this.setFormDirty();\r\n this.formVersion.ppstb.topOff = checked;\r\n }\r\n this.getLocationIDs();\r\n }\r\n\r\n radCheckboxChanged(e: any) {\r\n const checked = e.checked;\r\n this.otherSystemCtrl.setErrors(null);\r\n\r\n if (this.formVersion?.ppstb) {\r\n this.setFormDirty();\r\n this.formVersion.ppstb.radiationMonitoringSystem = checked;\r\n }\r\n this.getLocationIDs();\r\n }\r\n\r\n getLocationIDs() {\r\n this.locationIDs = this.formVersion?.ppstb?.ppstbShutters.map(s => s.resourceID).concat(this.formVersion.ppstb.ppstbAcceleratorLocations.map(l => l.resourceID ?? 0));\r\n }\r\n\r\n getResources(e: PPSTBShutter[] | PPSTBAcceleratorLocation[] | undefined): Resource[] {\r\n return e?.map(x => x.resource) ?? [];\r\n }\r\n\r\n restrictionsChanged(e: FormRestriction[]) {\r\n if (this.formVersion?.ppstb)\r\n this.formVersion.ppstb.ppstbRestrictions = e;\r\n this.setFormDirty();\r\n }\r\n\r\n bypassDetailsChanged(e: any) {\r\n if (this.formVersion?.ppstb)\r\n this.formVersion.ppstb.bypassDetails = e;\r\n this.bypassCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n\r\n testingRequiredChanged(e: any) {\r\n if (this.formVersion?.ppstb)\r\n this.formVersion.ppstb.testingRequiredBeforeOperation = e;\r\n this.bypassCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n\r\n conditionsAndlimitationsChanged(e: any) {\r\n if (this.formVersion?.ppstb)\r\n this.formVersion.ppstb.conditionsAndLimitations = e;\r\n this.conditionsCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n\r\n systemAndPrintChanged(e: any) {\r\n if (this.formVersion?.ppstb)\r\n this.formVersion.ppstb.systemAndPrintNumbers = e;\r\n this.systemCtrl.setValue(e);\r\n this.setFormDirty();\r\n }\r\n\r\n startDateChanged(e: any) {\r\n if (this.formVersion?.ppstb)\r\n this.formVersion.ppstb.permittedStartDate = e.value;\r\n this.setFormDirty();\r\n }\r\n\r\n completionDateChanged(e: any) {\r\n if (this.formVersion?.ppstb)\r\n this.formVersion.ppstb.estimatedCompletion = e.value;\r\n this.setFormDirty();\r\n }\r\n\r\n save(keepLoading: boolean = false) {\r\n return new Promise(async (resolve, reject) => {\r\n if (this.form && this.formVersion && !this.form?.id) {\r\n this.loading.emit(true);\r\n this.form.formVersion = this.formVersion;\r\n this.formService.create(FormHandler.toSave(this.form))?.subscribe((data: Form) => {\r\n this.setFormDirty(false);\r\n this.setOpenDocument(data.type, data.id);\r\n this.formCreated.emit(data);\r\n this.refresh();\r\n if (!keepLoading)\r\n this.alert.message('DraftSaved', [\r\n new MessagePlaceholder(\"{serialNo}\", data.sequenceNumber.number)]);\r\n this.loading.emit(keepLoading);\r\n\r\n resolve(true);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n reject(false);\r\n }\r\n );\r\n } else if (this.formVersion) {\r\n this.loading.emit(true);\r\n this.formVersionService.update(FormVersionHandler.toSave(this.formVersion)).subscribe(() => {\r\n this.loading.emit(keepLoading);\r\n this.setFormDirty(false);\r\n if (!keepLoading)\r\n this.showAmendment ? this.alert.message('amendment saved', [\r\n new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber.number)]) : this.alert.message('DraftUpdated', [\r\n new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber.number)]);\r\n resolve(true);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n reject(false);\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n async submit() {\r\n if (this.validateSubmit() && this.form) {\r\n this.loading.emit(true);\r\n if (await this.save(true)) {\r\n await this.formService.setEditing(this.form.id, false).toPromise();\r\n if (this.signature) {\r\n this.service.sign(this.form, this.signature.taskID, this.signature.approveID).then(data => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n unsubmit() {\r\n this.loading.emit(true);\r\n if (this.signature) {\r\n this.service.sign(this.form, this.signature.taskID, this.signature.unapproveID).then(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n\r\n validateSubmit(): boolean {\r\n let result = true;\r\n if (!this.formVersion?.requesterID) {\r\n this.alert.message('PPSTB_Requester_Validation');\r\n ;\r\n this.requesterCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (\r\n !this.formVersion?.ppstb?.justificationForBypass ||\r\n this.formVersion.ppstb.justificationForBypass.trim() === \"\"\r\n ) {\r\n this.alert.message('PPSTB_Justification_Validation');\r\n ;\r\n this.descriptionCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (this.formVersion?.ppstb?.beamline && !this.formVersion.ppstb.ppstbShutters.length) {\r\n this.shuttersCtrl.setErrors({ required: true });\r\n this.alert.message('EB_Please_Check_On_At_Least_One_System_Affected');\r\n ;\r\n result = false;\r\n }\r\n\r\n if (this.formVersion?.ppstb?.accelerator && !this.formVersion.ppstb.ppstbAcceleratorLocations) {\r\n this.acceleratorCtrl.setErrors({ required: true });\r\n this.alert.message('EB_Please_Check_On_At_Least_One_System_Affected');\r\n ;\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.ppstb?.ppstbOtherSystems.length &&\r\n !this.formVersion?.ppstb?.ppstbShutters.length &&\r\n !this.formVersion?.ppstb?.ppstbAcceleratorLocations.length\r\n ) {\r\n this.alert.message('PPSTB_Please_Check_At_Least_One_System_Affected');\r\n ;\r\n this.otherSystemCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.ppstb?.ppstbRestrictions.length) {\r\n this.alert.message('PPSTB_No_Mitigations_Were_Added');\r\n ;\r\n this.restrictionsCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.ppstb?.bypassDetails || this.formVersion.ppstb.bypassDetails.trim() === \"\") {\r\n this.alert.message('PPSTB_Bypass_Details_Validation');\r\n ;\r\n this.bypassCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.ppstb?.conditionsAndLimitations || this.formVersion.ppstb.conditionsAndLimitations.trim() === \"\") {\r\n this.alert.message('PPSTB_Conditions_And_Limitations_Validations');\r\n ;\r\n this.conditionsCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.ppstb?.systemAndPrintNumbers || this.formVersion.ppstb.systemAndPrintNumbers.trim() === \"\") {\r\n this.alert.message('EB_No_System_And_Print_Numbers_Were_Specified');\r\n ;\r\n this.systemCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.ppstb?.permittedStartDate) {\r\n this.alert.message('PPSTB_No_Permitted_Start_Date_Was_Specified');\r\n ;\r\n this.startDateCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.formVersion?.ppstb?.estimatedCompletion) {\r\n this.alert.message('PPSTB_Estimated_Completion_Validation');\r\n ;\r\n this.completionDateCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (this.formVersion?.ppstb?.estimatedCompletion && this.formVersion.ppstb.permittedStartDate) {\r\n if (moment(this.formVersion.ppstb.estimatedCompletion).isBefore(this.formVersion.ppstb.permittedStartDate)\r\n ) {\r\n this.alert.message('PPSTB_Estimated_Completion_Less_Than_Permitted_Start_Date');\r\n ;\r\n this.completionDateCtrl.setErrors({ invalidDate: true })\r\n result = false;\r\n }\r\n }\r\n\r\n if (!result)\r\n this.formGroup?.markAllAsTouched();\r\n\r\n return result;\r\n }\r\n\r\n async submitAmendment() {\r\n if (this.validateSubmit() && this.form && this.formVersion) {\r\n this.loading.emit(true);\r\n await this.formService.setEditing(this.form.id, false).toPromise();\r\n this.formVersionService.update(FormVersionHandler.toSave(this.formVersion)).subscribe(async (data: FormVersion) => {\r\n if (this.form && data) {\r\n this.formVersion = data;\r\n const signature = this.form.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.find(s => s.approveEnabled && !s.signed);\r\n if (signature)\r\n await this.service.sign(this.form, signature.taskID, signature.approveID).then(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n }\r\n\r\n async unsubmitAmendment() {\r\n const signature = this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.find(s => s.unapproveEnabled);\r\n if (signature) {\r\n this.loading.emit(true);\r\n await this.service.sign(this.form, signature.taskID, signature.unapproveID).then(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n\r\n cancelDraft() {\r\n const amendment = this.formVersion?.status.amendment;\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: \"600px\",\r\n data: {\r\n amendment: this.formVersion?.status.amendment,\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data?.accept) {\r\n if (amendment) {\r\n // this.alert.message(this.message_amendment_serial_no_deleted, [\r\n // new Placeholder(\"{serialNo}\", this.form_?.sequenceNumber?.number),\r\n // ]);\r\n } else {\r\n if (this.form?.sequenceNumber.number) {\r\n await this.formService.delete(this.form.sequenceNumber.number).subscribe(data => {\r\n this.alert.message('Form_SerialNo_deleted', [\r\n new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber?.number),\r\n ]);\r\n this.form = null;\r\n this.refresh();\r\n this.formCancelled.emit();\r\n });\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n const amendment = this.form?.formVersion.status.amendment;\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: \"600px\",\r\n data: {\r\n amendment: this.form?.formVersion.status.amendment,\r\n },\r\n });\r\n\r\n const signature = amendment ? this.form?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.find(s => s.cancelEnabled) : this.signature;\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data?.accept && signature) {\r\n this.service.sign(this.form, signature.taskID, signature?.cancelID, data.text).then(() => {\r\n if (!amendment) {\r\n this.alert.message('Form_SerialNo_deleted', [new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber?.number),]);\r\n }\r\n this.form = null;\r\n this.refresh();\r\n this.formCancelled.emit();\r\n }).catch(() => { this.alert.defaultError(); });\r\n }\r\n });\r\n }\r\n\r\n\r\n diffRelatedDocuments(): boolean | undefined {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.ppstb?.relatedDocuments?.sort((a, b) => utils.sort(a.relatedDocumentId, b.relatedDocumentId, true)).map((l) => {\r\n return {\r\n id: l.relatedDocumentId\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.ppstb?.relatedDocuments?.sort((a, b) => utils.sort(a.relatedDocumentId, b.relatedDocumentId, true)).map((l) => {\r\n return {\r\n id: l.relatedDocumentId\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffRelatedLinks() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.ppstb?.ppstbRelatedLinks?.sort((a, b) => utils.sort(a.id, b.id, true)).map((l) => {\r\n return {\r\n id: l.id,\r\n text: l.text,\r\n url: l.url\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.ppstb?.ppstbRelatedLinks?.sort((a, b) => utils.sort(a.id, b.id, true)).map((l) => {\r\n return {\r\n id: l.id,\r\n text: l.text,\r\n url: l.url\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffRestrictions() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.ppstb?.ppstbRestrictions?.sort((a, b) => utils.sort(a.restrictionID, b.restrictionID, true)).map((l) => {\r\n return {\r\n restrictionID: l.restrictionID,\r\n text: l.text,\r\n } as FormRestriction;\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.ppstb?.ppstbRestrictions?.sort((a, b) => utils.sort(a.restrictionID, b.restrictionID, true)).map((l) => {\r\n return {\r\n restrictionID: l.restrictionID,\r\n text: l.text,\r\n } as FormRestriction;\r\n }))?.replace(/\\s/g, \"\");\r\n this.formVersion?.ppstb?.ppstbRestrictions.map(r => {\r\n r.hilite = this.formVersion?.previousVersion?.ppstb?.ppstbRestrictions.find(p => p.restrictionID ? p.restrictionID == r.restrictionID : p.text == r.text) == null;\r\n });\r\n return current != original;\r\n }\r\n\r\n diffShutters() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.ppstb?.ppstbShutters?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.ppstb?.ppstbShutters?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffAccelerators() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.ppstb?.ppstbAcceleratorLocations?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.ppstb?.ppstbAcceleratorLocations?.sort((a, b) => utils.sort(a.resourceID, b.resourceID, true)).map((l) => {\r\n return {\r\n id: l.resourceID\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffOtherSystems() {\r\n if (!this.showAmendment) return;\r\n const current = utils.JSONstringify(\r\n this.formVersion?.ppstb?.ppstbOtherSystems?.sort((a, b) => utils.sort(a.text, b.text, true)).map((l) => {\r\n return {\r\n text: l.text,\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.formVersion?.previousVersion?.ppstb?.ppstbOtherSystems?.sort((a, b) => utils.sort(a.text, b.text, true)).map((l) => {\r\n return {\r\n text: l.text,\r\n };\r\n }))?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n
    \r\n
    Initiation
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Requester\r\n \r\n \r\n {{\r\n user.name\r\n }}\r\n \r\n {{\r\n getErrorMsg(requesterCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Beamline\r\n \r\n\r\n \r\n \r\n
    \r\n
    \r\n \r\n Accelerator\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Top-Off\r\n \r\n\r\n \r\n \r\n
    \r\n
    \r\n \r\n Radiation Monitoring Systems\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n Controls & Approvals \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n {{ getMessage(\"EB_Permitted_Start_Date\").description }}\r\n \r\n \r\n \r\n \r\n {{\r\n getErrorMsg(startDateCtrl)\r\n }}\r\n \r\n
    \r\n\r\n
    \r\n \r\n {{ getMessage(\"EB_Date_Of_Estimated_Completion\").description }}\r\n \r\n \r\n \r\n \r\n {{\r\n getErrorMsg(completionDateCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n Cancel\r\n \r\n\r\n \r\n Cancel Amendment\r\n \r\n\r\n \r\n Cancel\r\n \r\n
    \r\n\r\n
    \r\n \r\n Edit Olog\r\n \r\n \r\n Submit\r\n \r\n \r\n Submit\r\n \r\n \r\n {{\r\n form?.formVersion?.statusID == formStatusEnum.Amendment\r\n ? \"Update Amendment\"\r\n : !form?.id\r\n ? \"Save Draft\"\r\n : \"Update Draft\"\r\n }}\r\n \r\n\r\n \r\n Unsubmit\r\n \r\n\r\n \r\n Unsubmit Amendment\r\n \r\n
    \r\n\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s2',\r\n templateUrl: './ppstb-main-s2.component.html',\r\n styleUrls: ['./ppstb-main-s2.component.scss']\r\n})\r\nexport class PpstbMainS2Component {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n @Input() showAmendment!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n}\r\n","
    \r\n \r\n \r\n
    \r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s3',\r\n templateUrl: './ppstb-main-s3.component.html',\r\n styleUrls: ['./ppstb-main-s3.component.scss']\r\n})\r\nexport class PpstbMainS3Component extends BaseComponent {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Mitigation Installation & Conditions / Limitations in Place
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s4',\r\n templateUrl: './ppstb-main-s4.component.html',\r\n styleUrls: ['./ppstb-main-s4.component.scss']\r\n})\r\nexport class PpstbMainS4Component extends BaseComponent {\r\n\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Bypass Installation
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s5',\r\n templateUrl: './ppstb-main-s5.component.html',\r\n styleUrls: ['./ppstb-main-s5.component.scss']\r\n})\r\nexport class PpstbMainS5Component {\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Operation Verification
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s6',\r\n templateUrl: './ppstb-main-s6.component.html',\r\n styleUrls: ['./ppstb-main-s6.component.scss']\r\n})\r\nexport class PpstbMainS6Component {\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Bypass Removal and Verification of Operation
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s7',\r\n templateUrl: './ppstb-main-s7.component.html',\r\n styleUrls: ['./ppstb-main-s7.component.scss']\r\n})\r\nexport class PpstbMainS7Component {\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n}\r\n","\r\n
    \r\n
    \r\n
    \r\n
    Mitigation and Conditions / Limitations Removal
    \r\n
    \r\n
    \r\n\r\n\r\n
    ","import { Component, EventEmitter, Injector, Input, Output } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PPSTBFollowUpType } from 'src/app/components/schedules/models/enums';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { PPSTBOtherFollowUp } from '../../ppstb-other-follow-up';\r\nimport { FormVersionHandler, FormVersion } from 'src/app/services/forms/form-version';\r\nimport { FormVersionService } from 'src/app/services/forms/form-version.service';\r\n\r\n@Component({\r\n selector: 'ppstb-main-s8',\r\n templateUrl: './ppstb-main-s8.component.html',\r\n styleUrls: ['./ppstb-main-s8.component.scss']\r\n})\r\nexport class PpstbMainS8Component extends BaseComponent {\r\n @Input() form?: Form | null;\r\n @Input() disabled!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n ppstbFollowUpType = PPSTBFollowUpType;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: FormVersionService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async approveFollowUp(info: any, type: number) {\r\n const ppstbOtherFollowUp = info.ppstbOtherFollowUp as PPSTBOtherFollowUp;\r\n if (this.form && this.form.formVersion.ppstb) {\r\n if (!ppstbOtherFollowUp?.id) {\r\n const ppstbOtherFollowUpToSave: PPSTBOtherFollowUp = {\r\n ppstbID: this.form.formVersion.ppstb.id,\r\n type,\r\n text: info.details\r\n };\r\n\r\n this.form.formVersion.ppstb.ppstbOtherFollowUps.push(ppstbOtherFollowUpToSave);\r\n\r\n } else {\r\n const followUp = this.form?.formVersion.ppstb.ppstbOtherFollowUps.find(x => x.id === ppstbOtherFollowUp.id);\r\n if (followUp)\r\n followUp.text = info.details;\r\n }\r\n\r\n switch (type) {\r\n case PPSTBFollowUpType.RepairReplaceComponent:\r\n this.form.formVersion.ppstb.repairReplaceComponent = info.value;\r\n break;\r\n case PPSTBFollowUpType.ModifyInterlock:\r\n this.form.formVersion.ppstb.modifyInterlock = info.value;\r\n break;\r\n case PPSTBFollowUpType.Other:\r\n this.form.formVersion.ppstb.other = info.value;\r\n break;\r\n }\r\n this.save(true);\r\n }\r\n }\r\n\r\n save(init: boolean = false) {\r\n if (this.form) {\r\n this.loading.emit(true);\r\n this.service.update(FormVersionHandler.toSave(this.form.formVersion)).subscribe((data: FormVersion) => {\r\n this.loading.emit(false);\r\n },\r\n error => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n\r\n );\r\n }\r\n\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Follow Up
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { CommentsAndAttachmentsComponent } from 'src/app/controls/comments-and-attachments/comments-and-attachments.component';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { PpstbMainS1Component } from './ppstb-main-s1/ppstb-main-s1.component';\r\n\r\n@Component({\r\n selector: 'ppstb-main',\r\n templateUrl: './ppstb-main.component.html',\r\n styleUrls: ['./ppstb-main.component.scss']\r\n})\r\nexport class PpstbMainComponent extends BaseComponent implements OnChanges {\r\n @Input() form?: Form | null;\r\n @Input() showAmendment?: boolean;\r\n @Output() loading = new EventEmitter();\r\n @Output() formCreated = new EventEmitter
    ();\r\n @Output() formCancelled = new EventEmitter();\r\n\r\n @ViewChild(PpstbMainS1Component) section1!: PpstbMainS1Component;\r\n @ViewChild(CommentsAndAttachmentsComponent) comments!: CommentsAndAttachmentsComponent;\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.comments && this.form) {\r\n this.comments.currentDocument = {\r\n status: this.form.formVersion?.statusID,\r\n serialNo: this.form.sequenceNumber?.number,\r\n type: FormType.PPSTB,\r\n };\r\n this.comments?.refresh();\r\n }\r\n this.setHeights();\r\n }\r\n\r\n}\r\n","\r\n\r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n","import { PPSTBFollowUpType } from \"../schedules/models/enums\";\r\n\r\nexport class PPSTBOtherFollowUp {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public text?: string;\r\n public signedBy?: number;\r\n public signedOn?: Date;\r\n public type?: PPSTBFollowUpType;\r\n}\r\n\r\nexport class PPSTBOtherFollowUpSave {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public text?: string;\r\n public signedBy?: number;\r\n public signedOn?: Date;\r\n public type?: PPSTBFollowUpType;\r\n}\r\n\r\nexport class PPSTBOtherFollowUpHandler {\r\n static toSave(ppstbOtherFollowUp: PPSTBOtherFollowUp): PPSTBOtherFollowUpSave {\r\n const save = new PPSTBOtherFollowUp();\r\n\r\n save.id = ppstbOtherFollowUp.id;\r\n save.ppstbID = ppstbOtherFollowUp.ppstbID;\r\n save.text = ppstbOtherFollowUp.text;\r\n save.type = ppstbOtherFollowUp.type;\r\n\r\n return save;\r\n }\r\n}\r\n","export class PPSTBOtherSystem {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public text?: string;\r\n}\r\n\r\nexport class PPSTBOtherSystemSave {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public text?: string;\r\n}\r\n\r\nexport class PPSTBOtherSystemHandler {\r\n static toSave(ppstbOtherSystem: PPSTBOtherSystem): PPSTBOtherSystemSave {\r\n var save = new PPSTBOtherSystemSave();\r\n\r\n save.id = ppstbOtherSystem.id;\r\n save.ppstbID = ppstbOtherSystem.ppstbID;\r\n save.text = ppstbOtherSystem.text;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\nexport class PPSTBShutter {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public resourceID?: number;\r\n public resource!: Resource;\r\n}\r\n\r\nexport class PPSTBShutterSave {\r\n public id?: number;\r\n public ppstbID?: number;\r\n public resourceID?: number;\r\n}\r\n\r\nexport class PPSTBShutterHandler {\r\n static toSave(ppstbShutter: PPSTBShutter): PPSTBShutterSave {\r\n const save = new PPSTBShutterSave();\r\n\r\n save.id = ppstbShutter.id;\r\n save.ppstbID = ppstbShutter.ppstbID;\r\n save.resourceID = ppstbShutter.resourceID;\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, EventEmitter, Injector, Input, Output, ViewChild } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormTableComponent } from 'src/app/controls/form-table/form-table.component';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { FormsUpdate } from 'src/app/controls/form-table/store/forms.action';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { PpstbService } from '../ppstb.service';\r\n\r\n@Component({\r\n selector: 'ppstb-side',\r\n templateUrl: './ppstb-side.component.html',\r\n styleUrls: ['./ppstb-side.component.scss']\r\n})\r\nexport class PpstbSideComponent extends BaseComponent {\r\n @Input() showAllForms?: boolean;\r\n @Input() formsFilter?: string;\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild(FormTableComponent) formTable!: FormTableComponent;\r\n\r\n form?: Form | null;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private formService: FormService,\r\n private service: PpstbService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async rowSelectedEvent(form?: Form | null) {\r\n if (form?.id != this.form?.id || form?.editingBy != this.form?.editingBy || form?.retrievedBy?.id != this.currentUser?.id) {\r\n if (form) {\r\n this.loading.emit(true);\r\n form = await this.formService.getById(form.id).toPromise();\r\n this.service.currentDocument = form;\r\n if (form?.id) {\r\n this.loading.emit(false);\r\n this.form = form;\r\n form.retrievedBy = this.getCurrentUser();\r\n this.store.dispatch(new FormsUpdate(form?.id, form));\r\n this.rowSelected.emit(form);\r\n }\r\n }\r\n else {\r\n this.rowSelected.emit(form);\r\n this.loading.emit(false);\r\n }\r\n }\r\n else this.loading.emit(false);\r\n\r\n }\r\n\r\n formCreated(form: Form) {\r\n this.form = form;\r\n this.formTable.loadForms();\r\n }\r\n}\r\n","\r\n\r\n","import { Component, ElementRef, HostListener, Injector, OnChanges, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport moment from 'moment';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormType, FormStatusEnum, LoadingOrigin } from 'src/app/common/enumerations/enumerations';\r\nimport { CanComponentDeactivate } from 'src/app/common/guards/unsaved-changes.guard';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { FormsStoreAndListenersService } from 'src/app/controls/form-table/store/forms.store';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Form, FormHandler } from 'src/app/services/forms/form';\r\nimport { FormVersion } from 'src/app/services/forms/form-version';\r\nimport { FormVersionService } from 'src/app/services/forms/form-version.service';\r\nimport { SequenceNumber } from 'src/app/services/forms/sequence-number';\r\nimport { PpstbSideComponent } from './ppstb-side/ppstb-side.component';\r\nimport { PpstbMainComponent } from './ppstb-main/ppstb-main.component';\r\nimport { PpstbService } from './ppstb.service';\r\nimport { PPSTB } from './ppstb';\r\nimport { FormsUpdate } from 'src/app/controls/form-table/store/forms.action';\r\n\r\n@Component({\r\n selector: 'app-ppstb',\r\n templateUrl: './ppstb.component.html',\r\n styleUrls: ['./ppstb.component.scss']\r\n})\r\nexport class PpstbComponent extends BaseComponent implements OnChanges, CanComponentDeactivate {\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n @ViewChild(PpstbSideComponent) side!: PpstbSideComponent;\r\n @ViewChild(PpstbMainComponent) main!: PpstbMainComponent;\r\n\r\n disabled: boolean = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n form?: Form | null;\r\n forms: Form[] = [];\r\n forms$!: Observable;\r\n formsSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n showAmendmentToggle: boolean = false;\r\n showAmendment: boolean = false;\r\n //////\r\n\r\n constructor(\r\n public service: PpstbService,\r\n private formService: FormService,\r\n private formVersionService: FormVersionService,\r\n private formStore: FormsStoreAndListenersService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.formStore.initStore(FormType.PPSTB);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'Personnel Protection System Temporary Bypass';\r\n this.loadForms();\r\n }\r\n\r\n loadForms() {\r\n this.forms$ = this.store.select(state => state.Forms.data);\r\n this.formsSubs = this.forms$.subscribe(data => {\r\n if (data?.length) {\r\n this.forms = data;\r\n if (this.form) {\r\n const form = this.forms.find(f => f.id == this.form?.id);\r\n if (form) {\r\n this.form = form;\r\n this.rowSelected(this.form);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n showStatusChangeMessage(form: Form) {\r\n this.alert.message('formStateChanged',\r\n [new MessagePlaceholder(\"{serialNo}\", form.sequenceNumber.number), new MessagePlaceholder(\"{status}\", form.formVersion.status.name ?? 'New'),]);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.formsSubs?.unsubscribe();\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n async create() {\r\n if (await this.canDeactivate()) {\r\n const user = this.getCurrentUser();\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n const serialNo = await this.formService.getSerialNo(FormType.PPSTB).toPromise();\r\n if (serialNo && user) {\r\n this.form = {\r\n id: 0,\r\n type: FormType.PPSTB,\r\n sequenceNumber: new SequenceNumber,\r\n formVersion: new FormVersion,\r\n editingById: user.id,\r\n editingBy: user,\r\n createdByUser: user,\r\n createdOn: new Date(),\r\n date: new Date()\r\n } as Form;\r\n this.form.sequenceNumber.number = serialNo?.serialNo;\r\n this.form.formVersion.statusID == FormStatusEnum.New;\r\n this.form.formVersion.operatorInitiatingForm = user;\r\n this.form.formVersion.operatorInitiatingFormID = user.id ?? 0;\r\n this.form.formVersion.ppstb = new PPSTB;\r\n\r\n this.side.formTable.form = undefined;\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n this.setFormDirty();\r\n this.disabled = false;\r\n }\r\n }\r\n }\r\n\r\n formCancelled() {\r\n this.form = null;\r\n this.side.form = null;\r\n this.side.formTable.form = undefined;\r\n }\r\n\r\n async edit(value: boolean) {\r\n if (!value && await this.canDeactivate() || value)\r\n if (this.form?.id) {\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n await this.formService.setEditing(this.form.id, value).toPromise();\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n }\r\n }\r\n\r\n rowSelected(e: Form | any) {\r\n if (this.form?.id != e.id)\r\n this.scrollToTop('sidenav-content');\r\n this.form = e as Form;\r\n this.showAmendment = false;\r\n this.createdOn = moment(this.form?.createdOn).format(\"MMM-DD-YYYY\");\r\n this.setHeights();\r\n if (this.form.editingBy && this.form.formVersion.statusID == FormStatusEnum.Amendment) this.showAmendment = true;\r\n }\r\n\r\n amendmentEnabled() {\r\n return (this.form &&\r\n this.main?.section1?.amendmentSignature?.amendmentEnabled &&\r\n this.hasPrivilege(this.privilegeEnum.PPSTBRequestAmendment) &&\r\n this.form.formVersion.statusID != FormStatusEnum.Amendment &&\r\n this.form.formVersion.statusID != FormStatusEnum.RestrictionsAmendment &&\r\n !this.form.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 4)?.wfSignatures?.some(s => s.signed)) ?? false;\r\n }\r\n\r\n async duplicate() {\r\n if (await this.canDeactivate()) {\r\n let form = new Form(FormType.PPSTB);\r\n const user = this.getCurrentUser();\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n const serialNo = await this.formService.getSerialNo(FormType.PPSTB).toPromise();\r\n if (serialNo && user && this.form) {\r\n // this.sidePanel.selectedRowIndex = -1;\r\n form = {\r\n id: 0,\r\n type: FormType.PPSTB,\r\n sequenceNumber: new SequenceNumber,\r\n formVersion: new FormVersion,\r\n editingById: user.id,\r\n createdBy: user.id,\r\n createdOn: new Date(),\r\n date: new Date()\r\n } as Form;\r\n form.sequenceNumber.number = serialNo?.serialNo;\r\n form.formVersion.statusID == FormStatusEnum.Draft;\r\n form.formVersion.operatorInitiatingFormID = user.id ?? 0;\r\n form.formVersion.requesterID = this.form.formVersion.requesterID;\r\n\r\n const ppstb = utils.cloneDeep(this.form.formVersion.ppstb) as PPSTB;\r\n ppstb.ppstbAcceleratorLocations.map(x => { x.id == 0; x.ppstbID = 0; });\r\n ppstb.ppstbOtherSystems.map(x => { x.id = 0; x.ppstbID = 0; });\r\n ppstb.ppstbRelatedLinks.map(x => { x.formID = 0; x.id = 0; });\r\n ppstb.ppstbRestrictions.map(x => { x.id = 0; x.formID = 0; });\r\n ppstb.ppstbShutters.map(x => { x.ppstbID = 0; x.id = 0; });\r\n ppstb.ppstbOtherFollowUps = [];\r\n ppstb.other = false;\r\n ppstb.modifyInterlock = false;\r\n ppstb.repairReplaceComponent = false;\r\n ppstb.id = 0;\r\n\r\n form.formVersion.id = 0;\r\n form.formVersion.ppstb = ppstb;\r\n this.setFormDirty();\r\n\r\n this.formService.create(FormHandler.toSave(form))?.subscribe(\r\n (data: Form) => {\r\n this.setOpenDocument(data.type, data.id);\r\n this.form = data;\r\n this.alert.message('DraftSaved', [\r\n new MessagePlaceholder(\"{serialNo}\", data.sequenceNumber.number),\r\n ]);\r\n this.side.formCreated(this.form);\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n }\r\n );\r\n\r\n this.disabled = false;\r\n }\r\n }\r\n }\r\n\r\n requestAmendment() {\r\n if (this.form?.wfTableID) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage('request_amendment').description,\r\n icon: \"warn\",\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data && this.form) {\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n this.formVersionService.newVersion(this.form.formVersion.id).subscribe(async (formVersion: FormVersion) => {\r\n if (this.form && formVersion && this.main?.section1?.amendmentSignature) {\r\n this.form.formVersion = utils.cloneDeep(formVersion);\r\n await this.service.sign(this.form, this.main.section1.amendmentSignature.taskID, this.main.section1.amendmentSignature.amendmentID);\r\n }\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n }\r\n );\r\n }\r\n });\r\n }\r\n }\r\n\r\n editAmendment() {\r\n if (this.form?.id && this.currentUser) {\r\n this.form.editingBy = this.currentUser;\r\n this.form.editingById = this.currentUser.id;\r\n this.store.dispatch(new FormsUpdate(this.form.id, this.form));\r\n this.showAmendment = true;\r\n this.formService.setEditing(this.form.id, true).toPromise();\r\n }\r\n }\r\n\r\n changeAmendmentToggle(e: any) {\r\n this.showAmendment = e.checked;\r\n }\r\n\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n // settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n // });\r\n // settings.afterClosed().subscribe(() => { });\r\n // }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n console.log('main: ' + this.loadingMain + ' buttons: ' + this.loadingButtons + ' side: ' + this.loadingSide + ' Self: ' + this.loadingSelf);\r\n\r\n this.service.loading = this.loadingMain || this.loadingButtons || this.loadingSide || this.loadingSelf;\r\n }, 100);\r\n\r\n }\r\n\r\n loadingSide = false;\r\n loadingSelf = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {{ moduleTitle }}\r\n
    \r\n \r\n

    \r\n {{ form?.sequenceNumber?.number?.trim() }}\r\n

    \r\n \r\n {{ form.formVersion.status.name }}\r\n \r\n
    \r\n
    \r\n \r\n Operator initiating form\r\n \r\n \r\n
    \r\n
    \r\n \r\n Created Date\r\n \r\n \r\n
    \r\n \r\n \r\n Show Pending Amendment\r\n
    \r\n \r\n Modifying by: {{ form?.editingBy?.name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n\r\n \r\n Modify Form\r\n edit\r\n \r\n\r\n \r\n Modify Amendment\r\n edit\r\n \r\n\r\n \r\n Copy Form\r\n content_copy\r\n \r\n\r\n \r\n Create Amendment\r\n healing\r\n \r\n\r\n \r\n Release Form\r\n lock_open\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n 576,\r\n amendment: showAmendment\r\n }\"\r\n >\r\n \r\n
    \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormControl, FormGroupDirective, NgForm, ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { PpstbComponent } from './ppstb.component';\r\nimport { PpstbSideComponent } from './ppstb-side/ppstb-side.component';\r\nimport { PpstbMainComponent } from './ppstb-main/ppstb-main.component';\r\nimport { PpstbMainS2Component } from './ppstb-main/ppstb-main-s2/ppstb-main-s2.component';\r\nimport { PpstbMainS3Component } from './ppstb-main/ppstb-main-s3/ppstb-main-s3.component';\r\nimport { PpstbMainS4Component } from './ppstb-main/ppstb-main-s4/ppstb-main-s4.component';\r\nimport { PpstbMainS5Component } from './ppstb-main/ppstb-main-s5/ppstb-main-s5.component';\r\nimport { PpstbMainS6Component } from './ppstb-main/ppstb-main-s6/ppstb-main-s6.component';\r\nimport { PpstbMainS7Component } from './ppstb-main/ppstb-main-s7/ppstb-main-s7.component';\r\nimport { PpstbFollowUpComponent } from './ppstb-main/ppstb-follow-up/ppstb-follow-up.component';\r\nimport { PpstbMainS8Component } from './ppstb-main/ppstb-main-s8/ppstb-main-s8.component';\r\n\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n PpstbComponent,\r\n PpstbSideComponent,\r\n PpstbMainComponent,\r\n PpstbMainS2Component,\r\n PpstbMainS3Component,\r\n PpstbMainS4Component,\r\n PpstbMainS5Component,\r\n PpstbMainS6Component,\r\n PpstbMainS7Component,\r\n PpstbMainS8Component,\r\n PpstbFollowUpComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n // MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ChecklistsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class PpstbModule { }\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { FormType, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { FormService } from 'src/app/controls/form-table/form.service';\r\nimport { PartialOlogComponent } from 'src/app/controls/olog/partial-olog/partial-olog.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { WfSignature, WFConfiguration, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { NormalInputDialogComponent } from 'src/app/controls/normal-input-dialog/normal-input-dialog.component';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { KEService } from '../kenable/ke.service';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { PPSTB } from './ppstb';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PpstbService extends BaseService {\r\n public currentDocument?: Form;\r\n public form!: Form;\r\n loading!: boolean;\r\n\r\n restrictions!: Restriction[];\r\n restrictionsFiltered!: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private formService: FormService,\r\n private ologService: OLogService,\r\n private keService: KEService\r\n ) {\r\n super(injector, '/PPSTB');\r\n }\r\n\r\n loadRestrictions() {\r\n this.restrictions$ = this.store.select((state) => state.Restrictions.data);\r\n this.restrictionsSubs = this.restrictions$.subscribe((data) => {\r\n if (data?.length) {\r\n this.restrictions = data;\r\n }\r\n });\r\n }\r\n\r\n async confirmSign(form: Form | null | undefined, task: WfSignature, action?: number, reason?: string, options?: string, configuration?: WFConfiguration[]) {\r\n this.loadRestrictions();\r\n return new Promise(async (resolve) => {\r\n if (form && task && action) {\r\n this.form = form;\r\n const restrictedResourceIDs = this.restrictions.filter(x => this.form?.formVersion?.ppstb?.ppstbRestrictions?.filter(x => x.restrictionID).map(r => r.restrictionID).includes(x.id)).map(y => y.resourceID).filter((resourceID): resourceID is number => resourceID !== undefined);\r\n\r\n // Section 3 Mitigations\r\n\r\n if (configuration?.some(x => x.wfTaskLocalID == task.id && x.identificator == 102)) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage('toActiveWarning').description,\r\n icon: \"warn\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data && form?.id && task?.taskId) {\r\n const response = await this.ologService.postToOlog(FormType.PPSTB, form.id, OlogNotificationType.Activate);\r\n if (response?.ok) {\r\n await this.sign(form, task.taskId, action, reason, options);\r\n //Refresh KEs\r\n if (restrictedResourceIDs !== undefined && restrictedResourceIDs.length > 0) {\r\n this.keService.processKES(restrictedResourceIDs);\r\n }\r\n }\r\n resolve(true);\r\n }\r\n else resolve(false);\r\n });\r\n }\r\n\r\n // Section 2 OIC Approval\r\n\r\n else if (configuration?.some(x => x.wfTaskLocalID == task.id && x.identificator == 103)) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage('finish_message').description,\r\n icon: \"warn\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data && form.id && task.taskId) {\r\n const response = await this.ologService.postToOlog(FormType.PPSTB, form.id, OlogNotificationType.Closed);\r\n if (response?.ok) {\r\n await this.sign(form, task.taskId, action, reason, options);\r\n //Refresh KEs\r\n if (restrictedResourceIDs !== undefined && restrictedResourceIDs.length > 0) {\r\n this.keService.processKES(restrictedResourceIDs);\r\n }\r\n }\r\n resolve(true);\r\n }\r\n else resolve(false);\r\n });\r\n }\r\n\r\n else if (configuration?.some(x => x.wfTaskLocalID === task.id && x.identificator === 108)) {\r\n const confirm = this.dialog.open(NormalInputDialogComponent, {\r\n width: '400px',\r\n data: {\r\n label: this.getMessage('Enter_A_Reason_To_Disable').description,\r\n text: '',\r\n inputType: 'text'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(\r\n async (data: string) => {\r\n if (data && task.taskId) {\r\n await this.sign(form, task.taskId, action, data, options);\r\n }\r\n }\r\n );\r\n } else if (configuration?.some(x => x.wfTaskLocalID === task.id && x.identificator === 107)) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('toActiveWarning').description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data != null) {\r\n this.dialog.open(NormalInputDialogComponent, {\r\n width: '400px',\r\n data: {\r\n label: this.getMessage('Enter_A_Reason_To_Disable').description,\r\n text: '',\r\n inputType: 'text'\r\n }\r\n }).afterClosed().subscribe(\r\n async (data: string) => {\r\n if (data) {\r\n const response = await this.ologService.postToOlog(FormType.PPSTB, form.id, OlogNotificationType.Activate);\r\n if (response?.ok) {\r\n await this.sign(form, task.taskId, action, data);\r\n //Refresh KEs\r\n if (restrictedResourceIDs !== undefined && restrictedResourceIDs.length > 0) {\r\n this.keService.processKES(restrictedResourceIDs);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n if (form.id && task.taskId) {\r\n await this.sign(form, task.taskId, action, reason, options);\r\n resolve(true);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n async sign(form?: Form | null, taskId?: number, actionId?: number, reason?: string, options?: string, amendment?: boolean) {\r\n this.loading = true;\r\n if (form?.id && taskId && actionId) {\r\n this.form = form;\r\n const formStatus = this.form.formVersion.status;\r\n const formID = form?.id\r\n const wfTaskSignature: WFTaskSignatureResource = { taskId, actionId, reason, formID, amendment, options };\r\n const data = await this.formService.sign(wfTaskSignature).toPromise().catch(error => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n });\r\n if (data && data?.formVersion.statusID != formStatus.id) {\r\n this.alert.message('formStateChanged', [new MessagePlaceholder(\"{serialNo}\", this.form?.sequenceNumber.number), new MessagePlaceholder('{status}', data.formVersion.status.name)]);\r\n }\r\n return data;\r\n }\r\n else return undefined;\r\n }\r\n\r\n async editOlog(form?: Form | null) {\r\n if (form) {\r\n try {\r\n const data = await this.ologService.getOlog(FormType.PPSTB, form.id, OlogNotificationType.Activate).toPromise();\r\n if (data) {\r\n const dialogRef = this.dialog.open(PartialOlogComponent, {\r\n height: \"fit-content\",\r\n width: \"80%\",\r\n data,\r\n });\r\n dialogRef.afterClosed().subscribe((isSaved) => {\r\n console.log(\"The dialog was closed\");\r\n if (isSaved) {\r\n console.log(isSaved);\r\n }\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n }\r\n\r\n // async callOLogService(): Promise {\r\n // try {\r\n // const olog: OlogDataBaseObject | undefined = await this.ologService.getOlogBySN(this.form.sequenceNumber.number).toPromise();\r\n // if (olog) {\r\n\r\n // let cc: string[] = [];\r\n // // Begin special email charge\r\n // const tmpRsswaShutters = this.form.formVersion.eB2.eB2Shutters;\r\n // const shuttersIds: number[] = tmpRsswaShutters.map(x => x.resourceID);\r\n // const emailsBL = await this.resourceSummaryService.GetEmailsFromShuttersArray(shuttersIds);\r\n // Array.prototype.push.apply(cc, emailsBL);\r\n // const roleCodes: any = [];\r\n\r\n // if (roleCodes.length) {\r\n // const emailsRoles = await this.userService.getEmailsByRoles(roleCodes).toPromise();\r\n // Array.prototype.push.apply(cc, emailsRoles ?? []);\r\n // }\r\n // // End special email charge\r\n // const body: OLogFormData = JSON.parse(olog.xmlBody.replace(\"\\n\", \"\"));\r\n // const siteConfig = await this.siteConfigurationService.getById(1).toPromise();\r\n // const siteConfigEmails = siteConfig?.defaultEmails.split(\",\") ?? [];\r\n // Array.prototype.push.apply(cc, siteConfigEmails);\r\n\r\n // if (this.form.formVersion.status.amendment) {\r\n // body.subject = olog.serialNo + \" has been Amended\";\r\n // }\r\n // const OlogObject: OLogEntry = {\r\n // root: {\r\n // author: siteConfig?.ologUser,\r\n // password: siteConfig?.ologPassword,\r\n // entry: body,\r\n // },\r\n // };\r\n // Array.prototype.push.apply(cc, OlogObject.root.entry.cc ?? []); // join all the emails\r\n // cc = cc.map((item) => item.toLowerCase()); // change if it is necesary to lowercase (Specialy because Notifications don't make this)\r\n // cc = [...new Set(cc)]; // Remove duplicates\r\n // cc = cc.filter((mail) => mail !== \"\");\r\n // OlogObject.root.entry.cc = cc.map(e => { return { address: e } as EmailAddress }); // returns the uniques emails\r\n // const xmlBody = this.ologService.createXMLBody(OlogObject, this.form.sequenceNumber.number); // create the XML String from the body\r\n // const result = await this.ologService.SendOLogEntry(xmlBody, this.form.sequenceNumber.number, olog\r\n // );\r\n // return result;\r\n // }\r\n // return false;\r\n // } catch (e) {\r\n // 'OlogEntryError'\r\n // ;\r\n // return false;\r\n // }\r\n\r\n\r\n // }\r\n\r\n // async callCloseOLogService(): Promise {\r\n // try {\r\n // const olog: OlogDataBaseObject | undefined = await this.ologService.getOlogBySN(this.form.sequenceNumber.number).toPromise();\r\n // if (olog) {\r\n // let cc: string[] = [];\r\n // // Begin special email charge\r\n // const tmpRsswaShutters = this.form.formVersion.eB2.eB2Shutters;\r\n // const shuttersIds: number[] = tmpRsswaShutters.map(x => x.resourceID);\r\n // const emailsBL =\r\n // await this.resourceSummaryService.GetEmailsFromShuttersArray(\r\n // shuttersIds\r\n // );\r\n // Array.prototype.push.apply(cc, emailsBL);\r\n // const roleCodes: number[] = [];\r\n // // if (this.showAmendment ? formVersion.eB2.topOff : formVersion.previousVersion.eB2.topOff) {\r\n // // roleCodes.push(23);\r\n // // }\r\n // // if (this.showAmendment ? formVersion.eB2.radiationMonitoringSystem : formVersion.previousVersion.eB2.radiationMonitoringSystem) {\r\n // // roleCodes.push(16);\r\n // // }\r\n // if (roleCodes.length > 0) {\r\n // const emailsRoles = await this.userService.getEmailsByRoles(roleCodes).toPromise();\r\n // Array.prototype.push.apply(cc, emailsRoles ?? []);\r\n // }\r\n // // End special email charge\r\n // const body: OLogFormData = JSON.parse(olog.xmlBody.replace(\"\\n\", \"\"));\r\n // body.subject = this.form.sequenceNumber.number + \" is Closed\";\r\n // body.details = null;\r\n // body.extraSubject = null;\r\n // const siteConfig = await this.siteConfigurationService\r\n // .getById(1)\r\n // .toPromise();\r\n // const siteConfigEmails = siteConfig?.defaultEmails.split(\",\") ?? [];\r\n // Array.prototype.push.apply(cc, siteConfigEmails);\r\n // const OlogObject: OLogEntry = {\r\n // root: {\r\n // author: siteConfig?.ologUser,\r\n // password: siteConfig?.ologPassword,\r\n // entry: body,\r\n // },\r\n // };\r\n // Array.prototype.push.apply(cc, OlogObject.root.entry.cc ?? []); // join all the emails\r\n // cc = cc.map((item) => item.toLowerCase()); // change if it is necesary to lowercase (Specialy because Notifications don't make this)\r\n // cc = [...new Set(cc)]; // Remove duplicates\r\n // cc = cc.filter((mail) => mail !== \"\");\r\n // OlogObject.root.entry.cc = cc.map(e => { return { address: e } as EmailAddress }); // returns the uniques emails\r\n // const xmlBody = this.ologService.createXMLBody(OlogObject, this.form.sequenceNumber.number); // create the XML String from the body\r\n // const result = await this.ologService.SendOLogEntry(xmlBody, this.form.sequenceNumber.number, olog);\r\n // return result;\r\n // }\r\n // return false;\r\n // } catch (e) {\r\n // 'OlogEntryError'\r\n // ;\r\n // return false;\r\n // }\r\n // }\r\n}\r\n","import { PPSTBShutter, PPSTBShutterSave, PPSTBShutterHandler } from './ppstb-shutter';\r\nimport { PPSTBAcceleratorLocation, PPSTBAcceleratorLocationSave, PPSTBAcceleratorLocationHandler } from './ppstb-accelerator-location';\r\nimport { PPSTBOtherSystem, PPSTBOtherSystemSave, PPSTBOtherSystemHandler } from './ppstb-other-system';\r\nimport { PPSTBOtherFollowUp, PPSTBOtherFollowUpSave, PPSTBOtherFollowUpHandler } from './ppstb-other-follow-up';\r\nimport { RelatedDocument } from 'src/app/services/documents/documents';\r\nimport { FormRestriction, FormRestrictionSave, FormRestrictionHandler } from 'src/app/services/forms/form-restriction';\r\nimport { RelatedLinkBase, RelatedLinkBaseSave, RelatedLinkBaseHandler } from 'src/app/components/catalogs/navigation-links/link/related-link-base';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\nexport class PPSTB {\r\n public id!: number;\r\n public formVersionID!: number;\r\n public justificationForBypass: string;\r\n public systemAndPrintNumbers: string;\r\n public bypassDetails: string;\r\n public permittedStartDate: Date;\r\n public estimatedCompletion: Date;\r\n public mitigationNotRequired!: boolean;\r\n public bypassNotRequired!: boolean;\r\n public conditionsAndLimitations: string;\r\n public topOff!: boolean;\r\n public radiationMonitoringSystem!: boolean;\r\n public beamline!: boolean;\r\n public accelerator!: boolean;\r\n public repairReplaceComponent!: boolean;\r\n public modifyInterlock!: boolean;\r\n public other!: boolean;\r\n public createdBy?: number;\r\n public createdOn?: Date;\r\n public updatedBy?: number;\r\n public updatedOn?: Date;\r\n public testingRequiredBeforeOperation?: string;\r\n public ppstbShutters: PPSTBShutter[];\r\n public ppstbAcceleratorLocations: PPSTBAcceleratorLocation[];\r\n public ppstbOtherSystems: PPSTBOtherSystem[];\r\n public ppstbRestrictions: FormRestriction[];\r\n public ppstbRelatedLinks: RelatedLinkBase[];\r\n public relatedDocuments: RelatedDocument[];\r\n public ppstbOtherFollowUps: PPSTBOtherFollowUp[];\r\n public createdByUser!: User;\r\n public updatedByUser!: User;\r\n\r\n constructor() {\r\n this.justificationForBypass = '';\r\n this.systemAndPrintNumbers = '';\r\n this.bypassDetails = '';\r\n this.conditionsAndLimitations = '';\r\n this.testingRequiredBeforeOperation = '';\r\n this.permittedStartDate = new Date();\r\n this.estimatedCompletion = new Date();\r\n this.ppstbShutters = [];\r\n this.ppstbAcceleratorLocations = [];\r\n this.ppstbOtherSystems = [];\r\n this.ppstbRestrictions = [];\r\n this.ppstbRelatedLinks = [];\r\n this.relatedDocuments = [];\r\n this.ppstbOtherFollowUps = [];\r\n }\r\n}\r\n\r\nexport class PPSTBSave {\r\n public id!: number;\r\n public formVersionID!: number;\r\n public justificationForBypass!: string;\r\n public systemAndPrintNumbers!: string;\r\n public bypassDetails!: string;\r\n public permittedStartDate!: Date;\r\n public estimatedCompletion!: Date;\r\n public mitigationNotRequired!: boolean;\r\n public bypassNotRequired!: boolean;\r\n public conditionsAndLimitations!: string;\r\n public topOff!: boolean;\r\n public radiationMonitoringSystem!: boolean;\r\n public beamline!: boolean;\r\n public accelerator!: boolean;\r\n public repairReplaceComponent!: boolean;\r\n public modifyInterlock!: boolean;\r\n public other!: boolean;\r\n public testingRequiredBeforeOperation?: string;\r\n public ppstbShutters: PPSTBShutterSave[];\r\n public ppstbAcceleratorLocations: PPSTBAcceleratorLocationSave[];\r\n public ppstbOtherSystems: PPSTBOtherSystemSave[];\r\n public ppstbRestrictions: FormRestrictionSave[];\r\n public ppstbRelatedLinks: RelatedLinkBaseSave[];\r\n public relatedDocuments: RelatedDocument[];\r\n public ppstbOtherFollowUps: PPSTBOtherFollowUpSave[];\r\n\r\n constructor() {\r\n this.ppstbShutters = [];\r\n this.ppstbAcceleratorLocations = [];\r\n this.ppstbOtherSystems = [];\r\n this.ppstbRestrictions = [];\r\n this.ppstbRelatedLinks = [];\r\n this.relatedDocuments = [];\r\n this.ppstbOtherFollowUps = [];\r\n }\r\n}\r\n\r\nexport class PPSTBHandler {\r\n static toSave(ppstb: PPSTB): PPSTBSave {\r\n const save = new PPSTBSave();\r\n\r\n save.id = ppstb.id;\r\n save.formVersionID = ppstb.formVersionID;\r\n save.justificationForBypass = ppstb.justificationForBypass;\r\n save.systemAndPrintNumbers = ppstb.systemAndPrintNumbers;\r\n save.bypassDetails = ppstb.bypassDetails;\r\n save.permittedStartDate = ppstb.permittedStartDate;\r\n save.estimatedCompletion = ppstb.estimatedCompletion;\r\n save.mitigationNotRequired = ppstb.mitigationNotRequired;\r\n save.bypassNotRequired = ppstb.bypassNotRequired;\r\n save.conditionsAndLimitations = ppstb.conditionsAndLimitations;\r\n save.testingRequiredBeforeOperation = ppstb.testingRequiredBeforeOperation;\r\n save.topOff = ppstb.topOff;\r\n save.radiationMonitoringSystem = ppstb.radiationMonitoringSystem;\r\n save.beamline = ppstb.beamline;\r\n save.accelerator = ppstb.accelerator;\r\n save.repairReplaceComponent = ppstb.repairReplaceComponent;\r\n save.modifyInterlock = ppstb.modifyInterlock;\r\n save.other = ppstb.other;\r\n save.ppstbShutters = [];\r\n ppstb.ppstbShutters.map(x => save.ppstbShutters.push(PPSTBShutterHandler.toSave(x)));\r\n save.ppstbAcceleratorLocations = [];\r\n ppstb.ppstbAcceleratorLocations.map(x => save.ppstbAcceleratorLocations.push(PPSTBAcceleratorLocationHandler.toSave(x)));\r\n save.ppstbOtherSystems = [];\r\n ppstb.ppstbOtherSystems.map(x => save.ppstbOtherSystems.push(PPSTBOtherSystemHandler.toSave(x)));\r\n save.ppstbRestrictions = [];\r\n ppstb.ppstbRestrictions.map(x => save.ppstbRestrictions.push(FormRestrictionHandler.toSave(x)));\r\n save.ppstbRelatedLinks = [];\r\n ppstb.ppstbRelatedLinks.map(x => save.ppstbRelatedLinks.push(RelatedLinkBaseHandler.toSave(x)));\r\n save.relatedDocuments = [];\r\n ppstb.relatedDocuments.map(x => save.relatedDocuments.push(x));\r\n save.ppstbOtherFollowUps = [];\r\n ppstb.ppstbOtherFollowUps.map(x => save.ppstbOtherFollowUps.push(PPSTBOtherFollowUpHandler.toSave(x)));\r\n\r\n return save;\r\n }\r\n}\r\n","import { Component, ElementRef, Inject, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ProcedureCategory } from '../../models/procedure-category.model';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { messages } from 'src/environments/messages';\r\nimport { ProcedureTypeEnum } from '../../enums/procedure-type.enum';\r\nimport { ProcedureCategoryService } from '../../services/procedure-category.service';\r\n\r\nclass ProcedureCategoryForm extends ProcedureCategory {\r\n public editing?: boolean;\r\n public preName?: string;\r\n\r\n constructor() {\r\n super();\r\n this.preName = this.name;\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'procedure-category-popup',\r\n templateUrl: './procedure-category-popup.component.html',\r\n styleUrls: ['./procedure-category-popup.component.scss']\r\n})\r\nexport class ProcedureCategoryPopupComponent extends BaseComponent implements OnInit {\r\n procedureCategories$!: Observable;\r\n procedureCategories: ProcedureCategoryForm[] = [];\r\n dataSource = new MatTableDataSource();\r\n columns: string[] = ['name', 'type', 'clear', 'edit_save', 'delete'];\r\n\r\n // messages\r\n message_you_must_enter_a_category_name!: MessageBanner;\r\n message_generic_error!: MessageBanner;\r\n\r\n label_are_you_sure_you_want_to_create_the_category!: string;\r\n label_are_you_sure_you_want_to_modify_the_category!: string;\r\n label_are_you_sure_you_want_to_delete_the_category!: string;\r\n label_procedure_category!: string;\r\n label_name!: string;\r\n // messages\r\n\r\n @ViewChild('NameInput')\r\n nameInput!: ElementRef;\r\n @ViewChild('procedureTypeSelect')\r\n procedureTypeSelect!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private procedureCategoryService: ProcedureCategoryService,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: any\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.procedureCategories$ = this.store.select(state => state.ProcedureCategory.ProcedureCategories);\r\n this.procedureCategories$.subscribe((data) => {\r\n this.procedureCategories = data.sort((x1, x2) => this.utils.sort(x1.name, x2.name));\r\n this.procedureCategories.map(x => {\r\n x.editing = false;\r\n x.preName = x.name;\r\n });\r\n this.dataSource.data = this.procedureCategories;\r\n });\r\n }\r\n\r\n setLabels() {\r\n this.label_are_you_sure_you_want_to_create_the_category = this.getMessage('ALSPC_ProcedureCategory_AreYouSureYouWantToCreateTheCategory').description;\r\n this.label_are_you_sure_you_want_to_modify_the_category = this.getMessage('ALSPC_ProcedureCategory_AreYouSureYouWantToModifyTheCategory').description;\r\n this.label_are_you_sure_you_want_to_delete_the_category = this.getMessage('ALSPC_ProcedureCategory_AreYouSureYouWantToDeleteTheCategory').description;\r\n this.label_procedure_category = this.getMessage('ALSPC_ProcedureCategory_ProcedureCategory').description;\r\n this.label_name = this.getMessage('ALSPC_ProcedureCategory_Name').description;\r\n }\r\n\r\n validate(name?: string): boolean {\r\n if (!name) {\r\n this.alert.message('ALSPC_ProcedureCategory_YouMustEnterACategoryName');\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n create(name: string, procedureType: ProcedureTypeEnum) {\r\n if (!this.validate(name)) {\r\n return;\r\n }\r\n\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.label_are_you_sure_you_want_to_create_the_category\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data != null) {\r\n this.procedureCategoryService.create({ name, procedureTypeID: procedureType }).subscribe(\r\n () => {\r\n this.nameInput.nativeElement.value = '';\r\n },\r\n error => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n },\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n update(procedureCategory: ProcedureCategoryForm) {\r\n if (!this.validate(procedureCategory.name)) {\r\n return;\r\n }\r\n\r\n procedureCategory.name = procedureCategory.preName;\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.label_are_you_sure_you_want_to_modify_the_category\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data && procedureCategory.id) {\r\n this.procedureCategoryService.update(procedureCategory.id, procedureCategory).subscribe(\r\n () => {\r\n procedureCategory.editing = false;\r\n },\r\n error => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n },\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n delete(id: number) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.label_are_you_sure_you_want_to_delete_the_category\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data != null) {\r\n this.procedureCategoryService.delete(id).subscribe(\r\n () => { },\r\n error => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n },\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n startEditing(procedureCategory: ProcedureCategoryForm) {\r\n this.procedureCategories.map(x => {\r\n x.editing = false;\r\n });\r\n procedureCategory.editing = true;\r\n }\r\n\r\n discard(procedureCategory: ProcedureCategoryForm) {\r\n procedureCategory.preName = procedureCategory.name;\r\n procedureCategory.editing = false;\r\n }\r\n\r\n getProcedureTypeName(procedureCategory: ProcedureCategory) {\r\n switch (procedureCategory.procedureTypeID) {\r\n case ProcedureTypeEnum.ProcedureCenter: return 'Procedure';\r\n case ProcedureTypeEnum.RSSTest: return 'RSS Test';\r\n case ProcedureTypeEnum.EPSTest: return 'EPS Test';\r\n case ProcedureTypeEnum.KEChecklist: return 'KE Checklist';\r\n case ProcedureTypeEnum.EPSDrawings: return 'EPS Drawings';\r\n case ProcedureTypeEnum.RadSurvey: return 'Rad Survey';\r\n default: return '';\r\n }\r\n }\r\n}\r\n","
    \r\n\t
    \r\n\t\tManage Categories\r\n\t
    \r\n\t
    \r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tCategory Name\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{{e.name}}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tCategory Name\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tType\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{{getProcedureTypeName(e)}}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tType\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tProcedure\r\n\t\t\t\t\t\t\t\t\t\tKE Checklist\r\n\t\t\t\t\t\t\t\t\t\tRSS Test\r\n\t\t\t\t\t\t\t\t\t\tEPS Test\r\n\t\t\t\t\t\t\t\t\t\tEPS Drawings\r\n\t\t\t\t\t\t\t\t\t\tRad Survey\r\n\t\t\t\t\t\t\t\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t\t
    \r\n\t
    \r\n
    \r\n","import { Component, Inject, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ProcedureNote } from '../../models/procedure-note.model';\r\nimport { Procedure } from '../../models/procedure.model';\r\n\r\n@Component({\r\n selector: 'procedure-note-popup',\r\n templateUrl: './procedure-note-popup.component.html',\r\n styleUrls: ['./procedure-note-popup.component.scss']\r\n})\r\nexport class ProcedureNotePopupComponent extends BaseComponent implements OnInit {\r\n note = new ProcedureNote();\r\n\r\n label_note!: string;\r\n label_description_is_required!: string;\r\n label_cancel!: string;\r\n label_accept!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: Procedure\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setLabels();\r\n }\r\n\r\n setLabels() {\r\n this.label_note = this.getMessage('ALSPC_Note_Note').description;\r\n this.label_description_is_required = this.getMessage('ALSPC_Note_DescriptionIsRequired').description;\r\n this.label_cancel = this.getMessage('ALSPC_Note_Cancel').description;\r\n this.label_accept = this.getMessage('ALSPC_Note_Accept').description;\r\n if (!this.label_note) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 1000);\r\n }\r\n }\r\n\r\n accept() {\r\n this.note.procedureID = this.data.id;\r\n this.dialogRef.close(this.note);\r\n }\r\n\r\n validateDescription() {\r\n return this.note?.description?.trim()?.length;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Create a Note\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Inject, Injector, OnInit } from \"@angular/core\";\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from \"@angular/material/dialog\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { ResourceType } from \"src/app/common/enumerations/enumerations\";\r\nimport { FileV2Service } from \"src/app/services/file/file-v2.service\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { ProcedureTypeEnum } from \"../../enums/procedure-type.enum\";\r\nimport { ProcedureCategory } from \"../../models/procedure-category.model\";\r\nimport { ProcedureConfiguration } from \"../../models/procedure-configuration.model\";\r\nimport { ProcedureService } from \"../../services/procedure.service\";\r\nimport { Procedure } from \"../../models/procedure.model\";\r\n\r\n@Component({\r\n selector: \"procedure-popup\",\r\n templateUrl: \"./procedure-popup.component.html\",\r\n styleUrls: [\"./procedure-popup.component.scss\"],\r\n})\r\nexport class ProcedurePopupComponent extends BaseComponent implements OnInit {\r\n procedureType!: ProcedureTypeEnum;\r\n procedureCategories$!: Observable;\r\n resources$!: Observable;\r\n\r\n resourcesSubscription!: Subscription;\r\n\r\n shuttersBranchlines!: Resource[];\r\n procedureCategories!: ProcedureCategory[];\r\n procedureCategory?: ProcedureCategory;\r\n procedure!: Procedure;\r\n loading: boolean = false;\r\n processingFile = false;\r\n title!: string;\r\n procedureConfiguration$!: Observable;\r\n procedureConfiguration!: ProcedureConfiguration;\r\n path!: string;\r\n editing: boolean = false;\r\n initialFileID!: number;\r\n\r\n //messages\r\n\r\n label_complete_procedure!: string;\r\n label_edit_procedure!: string;\r\n label_new_procedure!: string;\r\n label_category!: string;\r\n label_procedure_number!: string;\r\n label_title!: string;\r\n label_revision!: string;\r\n label_review_period!: string;\r\n label_3_years!: string;\r\n label_5_years!: string;\r\n label_status!: string;\r\n label_active!: string;\r\n label_inactive!: string;\r\n label_select_pdf!: string;\r\n label_cancel!: string;\r\n label_accept!: string;\r\n label_upload_files!: string;\r\n label_appendices!: string;\r\n label_review_docs!: string;\r\n label_display_text!: string;\r\n label_url_link!: string;\r\n label_popup_new_procedure!: string;\r\n //messages\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: any,\r\n public dialogRef: MatDialogRef,\r\n private procedureService: ProcedureService,\r\n private fileV2Service: FileV2Service\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadResources();\r\n this.setLabels();\r\n if (this.data?.procedure) {\r\n this.procedure = this.utils.cloneDeep(this.data?.procedure);\r\n this.title = this.data.complete ? this.label_complete_procedure : this.label_edit_procedure;\r\n if (this.procedure && this.data.complete) {\r\n this.procedure.lastReviewed = null;\r\n }\r\n } else {\r\n this.procedure = { id: 0, procedureNumber: '', procedureFiles: [], procedureAppendices: [] };\r\n this.title = this.label_new_procedure;\r\n }\r\n\r\n this.procedureCategories$ = this.store.select((state) => state.ProcedureCategory.ProcedureCategories);\r\n this.procedureCategories$.subscribe((data) => {\r\n this.procedureCategories = data.sort((x1, x2) => this.utils.sort(x1.name, x2.name));\r\n });\r\n\r\n this.procedureConfiguration$ = this.store.select((state) => state.ProcedureConfiguration.ProcedureConfiguration);\r\n this.procedureConfiguration$.subscribe((data) => {\r\n this.procedureConfiguration = data;\r\n this.setPath();\r\n });\r\n\r\n this.editing = (this.procedure?.id ?? 0) > 0 && !this.data?.complete;\r\n this.initialFileID = this.data?.procedure?.fileID;\r\n this.setProcedureCategory();\r\n\r\n }\r\n\r\n setLabels() {\r\n this.label_complete_procedure = this.getMessage(\"ALSPC_Porcedure_CompleteProcedure\").description;\r\n this.label_edit_procedure = this.getMessage(\"ALSPC_Procedure_EditProcedure\").description;\r\n this.label_new_procedure = this.getMessage(\"ALSPC_Procedure_NewProcedure\").description;\r\n this.label_category = this.getMessage(\"ALSPC_Procedure_Category\").description;\r\n this.label_procedure_number = this.getMessage(\"ALSPC_Procedure_ProcedureNumber\").description;\r\n this.label_title = this.getMessage(\"ALSPC_Procedure_Title\").description;\r\n this.label_revision = this.getMessage(\"ALSPC_Procedure_Revision\").description;\r\n this.label_review_period = this.getMessage(\"ALSPC_Procedure_ReviewPeriod\").description;\r\n this.label_3_years = this.getMessage(\"ALSPC_Procedure_3_Years\").description;\r\n this.label_5_years = this.getMessage(\"ALSPC_Procedure_5_Years\").description;\r\n this.label_status = this.getMessage(\"ALSPC_Procedure_Status\").description;\r\n this.label_active = this.getMessage(\"ALSPC_Procedure_Active\").description;\r\n this.label_inactive = this.getMessage(\"ALSPC_Procedure_Inactive\").description;\r\n this.label_select_pdf = this.getMessage(\"ALSPC_Procedure_SelectPDF\").description;\r\n this.label_cancel = this.getMessage(\"ALSPC_Procedure_Cancel\").description;\r\n this.label_accept = this.getMessage(\"ALSPC_Procedure_Accept\").description;\r\n this.label_upload_files = this.getMessage(\"ALSPC_Procedure_UploadFiles\").description;\r\n this.label_appendices = this.getMessage(\"ALSPC_Procedure_Appendices\").description;\r\n this.label_review_docs = this.getMessage(\"ALSPC_Procedure_ReviewDocs\").description;\r\n this.label_display_text = this.getMessage(\"ALSPC_Procedure_DisplayText\").description;\r\n this.label_url_link = this.getMessage(\"ALSPC_Procedure_URLLink\").description;\r\n this.label_popup_new_procedure = this.getMessage(\"ALSPC_Update_NewProcedure\").description;\r\n\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.procedure.checklistTemplate = null;\r\n if (this.data.complete && this.procedure) {\r\n this.procedureService.complete(this.procedure.id, this.procedure).subscribe(() => this.dialogRef.close(),\r\n (error) => {\r\n if (error.status === 409 || error.status == 404) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n console.error(error);\r\n }\r\n this.loading = false;\r\n }\r\n );\r\n } else {\r\n if (this.procedure?.id) {\r\n this.procedureService\r\n .update(this.procedure.id, this.procedure).subscribe(() => this.dialogRef.close(),\r\n (error) => {\r\n if (error.status === 409 || error.status == 404) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n console.error(error);\r\n }\r\n this.loading = false;\r\n }\r\n );\r\n } else {\r\n if (this.procedure)\r\n this.procedureService.create(this.procedure).subscribe(() => this.dialogRef.close(),\r\n (error) => {\r\n if (error.status === 409 || error.status == 404) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n console.error(error);\r\n }\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n }\r\n }\r\n\r\n cancel() {\r\n var files: number[] = [];\r\n if (!this.isNew() && this.procedure) {\r\n if (this.procedure.fileID != null && this.initialFileID != this.procedure.fileID) {\r\n files.push(this.procedure.fileID);\r\n }\r\n const procedureFiles = this.procedure.procedureAppendices?.filter(x => !x.id && x.fileID).map(x => x.fileID);\r\n if (procedureFiles)\r\n files = files.concat(procedureFiles as number[]);\r\n } else {\r\n if (this.procedure && this.procedure.fileID) {\r\n files.push(this.procedure.fileID);\r\n }\r\n const procedureApendicesFiles = this.procedure?.procedureAppendices?.filter(x => x.fileID).map((x) => x.fileID);\r\n if (procedureApendicesFiles)\r\n files = files.concat(procedureApendicesFiles as number[]);\r\n }\r\n files.map((file) => {\r\n this.fileV2Service.delete(file).subscribe(\r\n () => { },\r\n (error) => console.error(error)\r\n );\r\n });\r\n this.dialogRef.close();\r\n }\r\n\r\n setPath() {\r\n if (this.procedure?.status === 1) {\r\n this.path = this.procedureConfiguration?.currentPath.replace(\"[ALSPCCategory]\", this.procedureCategories.find((x) => x.id == this.procedure?.procedureCategoryID)?.name ?? '').replace(\"[ALSPCNumber]\", this.procedure?.procedureNumber);\r\n } else {\r\n this.path = this.procedureConfiguration?.inactivePath.replace(\"[ALSPCCategory]\", this.procedureCategories.find((x) => x.id == this.procedure?.procedureCategoryID)?.name ?? '').replace(\"[ALSPCNumber]\", this.procedure?.procedureNumber ?? '');\r\n }\r\n }\r\n\r\n isThereAppendixWithFile(): boolean {\r\n return this.procedure?.procedureAppendices?.some((x) => x.fileID) ?? false;\r\n }\r\n\r\n disabledFileUpload(): boolean {\r\n return (\r\n !this.procedure?.procedureCategoryID ||\r\n !this.procedure.procedureNumber ||\r\n (this.procedure.status !== 0 && this.procedure.status !== 1)\r\n );\r\n }\r\n\r\n isNew(): boolean {\r\n return (!this.data.complete && !this.procedure?.id);\r\n }\r\n\r\n setProcedureCategory() {\r\n this.procedureCategory = this.procedureCategories.find(\r\n (x) => x.id == this.procedure?.procedureCategoryID\r\n );\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubscription = this.resources$.subscribe((data) => {\r\n if (data?.length) {\r\n this.shuttersBranchlines = data\r\n .filter(\r\n (x) =>\r\n x.type === ResourceType.Shutter ||\r\n x.type === ResourceType.Branchline\r\n )\r\n .sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n }\r\n });\r\n }\r\n\r\n setTitleInKeByResource(resourceId: number, resources: Resource[]) {\r\n if (this.procedure)\r\n this.procedure.title = resources.find((x) => x.id === resourceId)?.name;\r\n }\r\n\r\n setProcedureTitle(e: any) {\r\n if (this.procedure)\r\n this.procedure.title = e;\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ title }} \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n {{ procedureCategory.name }}\r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Location\r\n \r\n \r\n {{ resource.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n {{ label_active }}\r\n {{ label_inactive }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n None\r\n {{ label_3_years }}\r\n {{ label_5_years }}\r\n Upon Use\r\n \r\n \r\n
    \r\n
    \r\n \r\n Last Reviewed\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Days to expire\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n 0\r\n \"\r\n [(ngModel)]=\"procedure.newProcedure\"\r\n >\r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","export enum ProcedureObligationType {\r\n Recommended = 1,\r\n RequiredReadOnly = 2,\r\n RequiredFollowUp = 3,\r\n Extra = 4\r\n}\r\n","export enum ProcedureSignatureType {\r\n Preparer = 1,\r\n Reviewer = 2,\r\n Approver = 3\r\n}","export enum ProcedureTypeEnum {\r\n ProcedureCenter = 1,\r\n RSSTest = 2,\r\n EPSTest = 3,\r\n KEChecklist = 4,\r\n EPSDrawings = 5,\r\n RadSurvey = 6\r\n}\r\n","import { ProcedureType } from \"./procedure-type\";\r\n\r\n\r\nexport class ProcedureCategory {\r\n public id?: number;\r\n public procedureTypeID?: number | null;\r\n public procedureType?: ProcedureType | null;\r\n public name?: string;\r\n}\r\n","import { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\n\r\nexport class ProcedureMaster {\r\n id!: number;\r\n procedure?: Procedure;\r\n}\r\n","import { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\n\r\n\r\nexport class ProcedureNote {\r\n public id?: number;\r\n public procedureID?: number;\r\n public description?: string;\r\n public date?: Date;\r\n public userID?: number;\r\n public user?: User;\r\n}\r\n","export class ProcedureTrainingCredited{\r\n public creditDate?: Date;\r\n}\r\n","import { Role } from \"../../catalogs/roles/services/role\";\r\nimport { ProcedureMaster } from \"./procedure-master.model\";\r\nimport { ProcedureObligationType } from \"../enums/procedure-obligation-type.enum\";\r\n\r\nexport class ProcedureTraining {\r\n public id?: number;\r\n public procedureMasterID?: number;\r\n public roleID?: number;\r\n public obligationType!: ProcedureObligationType;\r\n public procedureMaster?: ProcedureMaster;\r\n public role?: Role;\r\n public userID?: number | null = null;\r\n}\r\n","import { Component, OnInit, OnChanges, SimpleChanges, Injector, AfterViewInit } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { ProcedureCategory } from 'src/app/components/procedure/models/procedure-category.model';\r\nimport { ProcedureTypeEnum } from 'src/app/components/procedure/enums/procedure-type.enum';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ProcedureTrainingRefresh } from '../store/procedure-training/procedure-training.action';\r\nimport { ProcedureConfiguration } from '../models/procedure-configuration.model';\r\nimport { ProcedureCategoryPopupComponent } from '../dialogs/procedure-category-popup/procedure-category-popup.component';\r\nimport { ProcedurePopupComponent } from '../dialogs/procedure-popup/procedure-popup.component';\r\nimport { ProcedureCategoryRefresh } from '../store/procedure-category/procedure-category.action';\r\nimport { ProcedureCreditedRefresh } from '../store/procedure-credited/procedure-credited.action';\r\nimport { ProcedureTemplateRefresh } from '../store/procedure-template/procedure-template.action';\r\nimport { ProcedureConfigurationRefresh } from '../store/procedure-configuration/procedure-configuration.action';\r\n\r\n@Component({\r\n selector: 'app-procedure-all-v2',\r\n templateUrl: './procedure-all-v2.component.html',\r\n styleUrls: ['./procedure-all-v2.component.scss']\r\n})\r\nexport class ProcedureAllV2Component extends BaseComponent implements OnInit, OnChanges, AfterViewInit {\r\n\r\n showSubMenu = false;\r\n\r\n disabled!: boolean;\r\n loading = false;\r\n loadingMessage!: string;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages!: string[];\r\n headerOnTop!: boolean;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter!: any[];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n ///////////////////////\r\n\r\n categoriesSubscription!: Subscription;\r\n categories$!: Observable;\r\n categories: ProcedureCategory[] = [];\r\n procedureCategories!: ProcedureCategory[];\r\n rssTestCategories!: ProcedureCategory[];\r\n epsTestCategories!: ProcedureCategory[];\r\n epsDrawingsCategories!: ProcedureCategory[];\r\n keChecklistCategories!: ProcedureCategory[];\r\n radSurveyCategories!: ProcedureCategory[];\r\n categoriesDS = new MatTableDataSource();\r\n categoriesColumns: string[] = ['category'];\r\n\r\n procedureConfigurationSubscription!: Subscription;\r\n procedureConfiguration$!: Observable;\r\n procedureConfiguration!: ProcedureConfiguration;\r\n\r\n showInactive = false;\r\n showArchived = false;\r\n sidenavOpened = false;\r\n today = new Date();\r\n categoryPermission = false;\r\n addNewPermission = false;\r\n procedureCategorySort = '';\r\n tabIndex = 0;\r\n\r\n\r\n prevScrollpos = window.pageYOffset;\r\n headerWidth = '';\r\n // links = this.hasPrivilege(PrivilegeEnum.PCViewRadTab) ? ['Procedure', 'RSS Test', 'EPS Test', 'EPS Drawings', 'Rad Survey'] : ['Procedure', 'RSS Test', 'EPS Test', 'EPS Drawings'];\r\n links = ['Procedure', 'RSS Test', 'EPS Test', 'EPS Drawings', 'Rad Survey'];\r\n activeLink = this.links[0];\r\n\r\n messageSubscription!: Subscription;\r\n messages$!: Observable;\r\n tabLabel!: string;\r\n\r\n label_categories!: string;\r\n label_als_procedures!: string;\r\n label_filter!: string;\r\n label_manage_categories!: string;\r\n label_show_archived!: string;\r\n label_show_inactive!: string;\r\n\r\n unsubs!: Subscription;\r\n constructor(\r\n protected override injector: Injector,\r\n private activatedRoute: ActivatedRoute,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setLabels();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setLoading(true, LoadingOrigin.Self)\r\n // this.initStore();\r\n\r\n this.categoryPermission = this.hasPrivilege(PrivilegeEnum.ALSProcedureCategory);\r\n this.addNewPermission = this.hasPrivilege(PrivilegeEnum.ALSProcedureAddNew);\r\n\r\n this.categories$ = this.store.select(state => state.ProcedureCategory.ProcedureCategories);\r\n this.categoriesSubscription = this.categories$.subscribe((data) => {\r\n this.categories = data.sort((a, b) => this.utils.compare(a.name, b.name, true));\r\n this.procedureCategories = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.ProcedureCenter);\r\n this.rssTestCategories = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.RSSTest);\r\n this.epsTestCategories = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.EPSTest);\r\n this.epsDrawingsCategories = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.EPSDrawings);\r\n this.keChecklistCategories = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.KEChecklist);\r\n this.radSurveyCategories = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.RadSurvey);\r\n this.loadQueryParams();\r\n });\r\n\r\n this.procedureConfiguration$ = this.store.select(state => state.ProcedureConfiguration.ProcedureConfiguration);\r\n this.procedureConfigurationSubscription = this.procedureConfiguration$.subscribe(data => {\r\n this.procedureConfiguration = data;\r\n });\r\n\r\n this.setLoading(false, LoadingOrigin.Self)\r\n }\r\n\r\n loadQueryParams() {\r\n this.activatedRoute.queryParams.subscribe(params => {\r\n this.setTab(params?.['tab']);\r\n });\r\n }\r\n\r\n\r\n applyFilter(e: any) {\r\n this.filter = e;\r\n }\r\n\r\n setLabels() {\r\n this.label_categories = this.getMessage('ALSPC_Update_Categories').description;\r\n this.label_als_procedures = this.getMessage('ALSPC_All_ALSProcedures').description;\r\n this.label_filter = this.getMessage('ALSPC_Update_Filter').description;\r\n this.label_manage_categories = this.getMessage('ALSPC_Update_ManageCategories').description;\r\n this.label_show_archived = this.getMessage('ALSPC_Update_ShowArchived').description;\r\n this.label_show_inactive = this.getMessage('ALSPC_Update_ShowInactive').description;\r\n if (!this.label_categories) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 1000);\r\n }\r\n }\r\n\r\n onTabChanged(e: string) {\r\n this.tabIndex = e ? this.links.indexOf(e) : 0;\r\n\r\n switch (this.tabIndex) {\r\n case 0:\r\n this.categoriesDS.data = this.procedureCategories;\r\n break;\r\n\r\n // case 1:\r\n // this.categoriesDS.data = this.keChecklistCategories;\r\n // break;\r\n\r\n case 1:\r\n this.categoriesDS.data = this.rssTestCategories;\r\n break;\r\n\r\n case 2:\r\n this.categoriesDS.data = this.epsTestCategories;\r\n break;\r\n\r\n case 3:\r\n this.categoriesDS.data = this.epsDrawingsCategories;\r\n break;\r\n\r\n case 4:\r\n this.categoriesDS.data = this.radSurveyCategories;\r\n break;\r\n }\r\n }\r\n\r\n setTab(tabParam?: string) {\r\n this.tabIndex = tabParam ? +tabParam : 0;\r\n this.setActiveLink();\r\n }\r\n\r\n setActiveLink() {\r\n this.activeLink = this.links[this.tabIndex];\r\n this.tabLabel = this.activeLink;\r\n this.onTabChanged(this.activeLink);\r\n }\r\n\r\n settings() {\r\n\r\n }\r\n\r\n\r\n navigate(id: number) {\r\n const e = document.getElementById('_' + id.toString());\r\n const c = document.getElementById('tables');\r\n document.getElementById('_' + id.toString())?.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n\r\n openCategoriesPopup() {\r\n this.dialog.open(ProcedureCategoryPopupComponent, {\r\n height: 'auto',\r\n width: '75vw',\r\n data: {},\r\n });\r\n }\r\n\r\n openProcedurePopup(procedure: Procedure) {\r\n let obj: Procedure;\r\n\r\n if (this.procedureConfiguration?.currentPath?.trim()?.length <= 0 || this.procedureConfiguration?.inactivePath?.trim()?.length <= 0 || this.procedureConfiguration?.archivedPath?.trim()?.length <= 0) {\r\n this.alert.error('You need to configure tha paths to save the files');\r\n return;\r\n }\r\n\r\n if (procedure != null) {\r\n obj = this.utils.cloneDeep(procedure);\r\n this.dialog.open(ProcedurePopupComponent, {\r\n height: 'auto',\r\n width: '75vw',\r\n maxHeight: '85vh',\r\n disableClose: true,\r\n data: {\r\n procedure: obj,\r\n procedureTab: this.tabIndex,\r\n }\r\n });\r\n }\r\n }\r\n\r\n initStore() {\r\n this.store.dispatch(\r\n new ProcedureCategoryRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureTrainingRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureCreditedRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureTemplateRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureConfigurationRefresh()\r\n );\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Self:\r\n this.loadingSelf = e as boolean;\r\n break;\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingSelf || this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingSelf = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Self = 0, Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ label_als_procedures }}\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n {{ e.name }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { distinctUntilChanged, Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ChecklistTempComponent } from 'src/app/components/checklists/checklist-temp/checklist-temp.component';\r\nimport { Checklist, ChecklistTemplate, ChecklistTemplateStatusEnum } from 'src/app/components/checklists/checklists';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { ProcedureCategory } from 'src/app/components/procedure/models/procedure-category.model';\r\nimport { ProcedureTypeEnum } from 'src/app/components/procedure/enums/procedure-type.enum';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { RelatedLinkDocumentBase } from 'src/app/common/models/related-link-document-base.model';\r\nimport { ChecklistTemplatesRefreshByDocument, ChecklistTemplatesRefreshById } from 'src/app/components/checklists/store/checklist-templates/checklist-templates.action';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\n\r\n@Component({\r\n selector: 'procedure-table',\r\n templateUrl: './procedure-table.component.html',\r\n styleUrls: ['./procedure-table.component.scss']\r\n})\r\nexport class ProcedureTableComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() procedureCategoryID?: number;\r\n @Input() filter = '';\r\n @Input() showInactive!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n columns: string[] = ['procedureNumber', 'description', 'revision'];\r\n title: string[] = ['procedureCategory'];\r\n sort!: Sort;\r\n\r\n procedureCategorySubscription!: Subscription;\r\n procedureCategory$!: Observable;\r\n procedureCategories!: ProcedureCategory[];\r\n procedureCategory?: ProcedureCategory;\r\n\r\n checklistTemplates?: ChecklistTemplate[];\r\n checklistTemplatesFiltered?: ChecklistTemplate[];\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n procedureSubscription!: Subscription;\r\n procedure$!: Observable;\r\n procedures!: Procedure[];\r\n proceduresFiltered!: Procedure[];\r\n procedureDS = new MatTableDataSource();\r\n\r\n labelNumber!: string;\r\n labelTitle!: string;\r\n labelRevision!: string;\r\n labelLocation!: string;\r\n labelBeamline = 'Beamline';\r\n labelTitleLocationGlobal!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private checklistsService: ChecklistsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loading.emit(true);\r\n this.loadData();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.procedureCategorySubscription?.unsubscribe();\r\n this.procedureSubscription?.unsubscribe();\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ('filter' in changes) {\r\n this.proceduresFiltered = this.procedures?.filter(x =>\r\n x.procedureNumber?.trim()?.toUpperCase()?.includes(this.filter?.trim().toUpperCase()) ||\r\n x.title?.trim()?.toUpperCase()?.includes(this.filter?.trim().toUpperCase()) ||\r\n x.procedureAppendices?.filter(appendix => appendix?.text?.trim()?.toUpperCase()?.includes(this.filter?.trim()?.toUpperCase())).length\r\n ).sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.procedureNumber, b.procedureNumber));\r\n this.procedureDS.data = this.proceduresFiltered;\r\n }\r\n if ('procedureCategoryID' in changes) {\r\n this.loadData();\r\n }\r\n }\r\n\r\n loadData() {\r\n if (this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RadSurvey) {\r\n this.loadChecklistTemplates();\r\n }\r\n else this.loadCategories();\r\n this.setColumnTitles();\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.store.dispatch(new ChecklistTemplatesRefreshByDocument(FormType.RADSURVEYPLAN))\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.pipe(distinctUntilChanged()).subscribe(data => {\r\n if (data?.length) {\r\n this.checklistTemplates = data;\r\n this.loadCategories();\r\n }\r\n });\r\n }\r\n\r\n loadCategories() {\r\n this.procedureCategory$ = this.store.select(state => state.ProcedureCategory.ProcedureCategories);\r\n this.procedureCategorySubscription = this.procedureCategory$.pipe(distinctUntilChanged()).subscribe(\r\n data => {\r\n this.procedureCategories = data;\r\n this.procedureCategory = this.procedureCategories.find(x => x.id == this.procedureCategoryID);\r\n if (this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RSSTest || this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.EPSTest || this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.KEChecklist) {\r\n this.sort = {\r\n active: 'description',\r\n direction: 'asc',\r\n };\r\n }\r\n this.loadProcedures();\r\n }\r\n );\r\n }\r\n\r\n loadProcedures() {\r\n this.procedure$ = this.store.select(state => state.Procedures.data);\r\n this.procedureSubscription = this.procedure$.pipe(distinctUntilChanged()).subscribe((data) => {\r\n if (data) {\r\n this.procedures = data.filter(x => x.procedureCategoryID == this.procedureCategoryID && !x.newProcedure && x.active === true);\r\n this.proceduresFiltered = this.filter ? this.procedures.filter(x => x.procedureNumber?.trim()?.toUpperCase()?.includes(this.filter?.trim()?.toUpperCase()) || x.title?.trim()?.toUpperCase()?.includes(this.filter?.trim()?.toUpperCase())) : this.procedures;\r\n if (this.procedureCategory?.procedureTypeID != ProcedureTypeEnum.RadSurvey)\r\n this.procedureDS = new MatTableDataSource(this.proceduresFiltered.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.procedureNumber, b.\r\n procedureNumber)));\r\n else this.getChecklistTemplates();\r\n this.sortData();\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n setColumnTitles() {\r\n this.labelNumber = this.getMessage('ALSPC_All_Number').description;\r\n this.labelTitle = this.getMessage('ALSPC_All_Title').description;\r\n this.labelRevision = this.getMessage('ALSPC_All_Revision').description;\r\n this.labelLocation = this.getMessage('ALSPC_All_Location').description;\r\n this.labelTitleLocationGlobal = (this.procedureCategory?.procedureTypeID !== ProcedureTypeEnum.ProcedureCenter && this.procedureCategory?.procedureTypeID !== ProcedureTypeEnum.EPSDrawings && this.procedureCategory?.procedureTypeID !== ProcedureTypeEnum.RadSurvey) ? this.labelLocation : this.labelTitle;\r\n if (this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RadSurvey) {\r\n this.labelTitleLocationGlobal = this.labelBeamline;\r\n this.columns = ['description', 'procedureNumber', 'revision', 'template'];\r\n this.getChecklistTemplates();\r\n }\r\n }\r\n\r\n getChecklistTemplates() {\r\n this.proceduresFiltered.map(p => p.checklistTemplate = this.checklistTemplates?.find(t => t.procedureMasterID == p.procedureMasterID && t.status == ChecklistTemplateStatusEnum.Active));\r\n this.procedureDS = new MatTableDataSource(this.proceduresFiltered\r\n .sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.procedureNumber, b.procedureNumber)));\r\n }\r\n\r\n sortData(sort: Sort = this.sort) {\r\n this.sort = sort;\r\n if (this.proceduresFiltered === undefined || this.proceduresFiltered === null) {\r\n return;\r\n }\r\n const data = this.proceduresFiltered.slice();\r\n if (!sort?.active || sort?.direction === '') {\r\n this.procedureDS.data = data;\r\n return;\r\n }\r\n\r\n this.procedureDS.data = data.sort((a, b) => {\r\n const isAsc = sort?.direction === 'asc';\r\n switch (sort?.active) {\r\n case 'procedureNumber': return this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.procedureNumber, b.procedureNumber);\r\n case 'description': return this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.title, b.title);\r\n default: return 0;\r\n }\r\n });\r\n }\r\n\r\n openViewModeDialog(procedure: Procedure) {\r\n if (procedure.procedureCategory?.procedureTypeID === ProcedureTypeEnum.RSSTest || procedure.procedureCategory?.procedureTypeID === ProcedureTypeEnum.EPSTest) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n procedureMasterId: procedure.procedureMasterID,\r\n procedureTypeEnum: procedure.procedureCategory.procedureTypeID\r\n };\r\n dialogConfig.minWidth = '60vw';\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(ChecklistTempComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((checklist: Checklist) => {\r\n if (checklist) {\r\n this.checklistsService.deleteChecklist(checklist.id).toPromise();\r\n }\r\n });\r\n }\r\n }\r\n\r\n sortedAppendices(procedure: Procedure): RelatedLinkDocumentBase[] {\r\n return procedure?.procedureAppendices?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.text, b.text)) ?? [];\r\n }\r\n\r\n calculateRevision(revision: number) {\r\n if (this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RSSTest || this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.EPSTest || this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RadSurvey) {\r\n return revision > 0 ? revision - 1 : 0;\r\n }\r\n return revision;\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n \r\n Location\r\n \r\n {{ e.locationFreeText }}
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{\r\n calculateRevision(e.revision)\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n Checklist Template\r\n \r\n \r\n \r\n \r\n \r\n {{ e.checklistTemplate?.serialNo }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ProcedureReportService } from '../../services/procedure-report.service';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { ProcedureReport } from '../../models/procedure-report.model';\r\nimport { DatePipe } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-procedure-reports',\r\n templateUrl: './procedure-reports.component.html',\r\n styleUrls: ['./procedure-reports.component.scss']\r\n})\r\nexport class ProcedureReportsComponent implements OnInit {\r\n\r\n dataSource = new MatTableDataSource();\r\n displayedColumns: string[] = ['name', 'number', 'title', 'revision', 'reviewed', 'status', 'obligation', 'roles', 'credrev', 'credited', 'approver', 'groupManager', 'categoryManager', 'action'];\r\n loading!: boolean;\r\n\r\n isExpanded = true;\r\n isShowing = false;\r\n links = ['Report 1', 'Report 2'];\r\n activeLink = this.links[0];\r\n tabLabel!: string;\r\n tabIndex = 0;\r\n\r\n nameCtrl = new FormControl();\r\n numberCtrl = new FormControl();\r\n titleCtrl = new FormControl();\r\n activeCtrl = new FormControl();\r\n revisionCtrl = new FormControl();\r\n creditedRevisionCtrl = new FormControl();\r\n obligationCtrl = new FormControl();\r\n rolesCtrl = new FormControl();\r\n creditedCtrl = new FormControl();\r\n lastReviewedCtrl = new FormControl();\r\n approverCtrl = new FormControl();\r\n groupManagerCtrl = new FormControl();\r\n categoryManagerCtrl = new FormControl();\r\n\r\n filterOn: boolean = false;\r\n form = new FormGroup({\r\n nameCtrl: this.nameCtrl,\r\n numberCtrl: this.numberCtrl,\r\n titleCtrl: this.titleCtrl,\r\n activeCtrl: this.activeCtrl,\r\n revisionCtrl: this.revisionCtrl,\r\n creditedRevisionCtrl: this.creditedRevisionCtrl,\r\n obligationCtrl: this.obligationCtrl,\r\n rolesCtrl: this.rolesCtrl,\r\n creditedCtrl: this.creditedCtrl,\r\n lastReviewedCtrl: this.lastReviewedCtrl,\r\n approverCtrl: this.approverCtrl,\r\n groupManagerCtrl: this.groupManagerCtrl,\r\n categoryManagerCtrl: this.categoryManagerCtrl,\r\n\r\n filterOn: new FormControl(false),\r\n });\r\n\r\n constructor(private service: ProcedureReportService) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.loading = true;\r\n this.service.read().subscribe(reports => {\r\n this.dataSource = new MatTableDataSource(reports);\r\n this.dataSource.filterPredicate = this.customFilter;\r\n this.form.valueChanges.subscribe((data: any) => {\r\n const res = {\r\n name: data.nameCtrl?.toUpperCase(),\r\n number: data.numberCtrl?.toUpperCase(),\r\n title: data.titleCtrl?.toUpperCase(),\r\n revision: data.revisionCtrl?.toUpperCase(),\r\n active: data.activeCtrl?.toUpperCase(),\r\n lastReviewed: data.lastReviewedCtrl?.toUpperCase(),\r\n credRev: data.creditedRevisionCtrl?.toUpperCase(),\r\n obligation: data.obligationCtrl,\r\n roles: data.rolesCtrl?.toUpperCase(),\r\n credited: data.creditedCtrl?.toUpperCase(),\r\n approver: data.approverCtrl?.toUpperCase(),\r\n groupManager: data.groupManagerCtrl?.toUpperCase(),\r\n categoryManager: data.categoryManagerCtrl?.toUpperCase(),\r\n filterOn: true\r\n }\r\n\r\n this.dataSource.filter = JSON.stringify(res);\r\n });\r\n this.loading = false;\r\n });\r\n this.setTab();\r\n }\r\n\r\n onTabChanged(e: any) {\r\n this.tabIndex = e ? this.links.indexOf(e) : 0;\r\n this.setActiveLink();\r\n }\r\n\r\n setTab(tabParam?: string) {\r\n this.tabIndex = tabParam ? +tabParam : 0;\r\n this.setActiveLink();\r\n }\r\n\r\n setActiveLink() {\r\n this.activeLink = this.links[this.tabIndex];\r\n this.tabLabel = this.activeLink;\r\n }\r\n\r\n filterToggle() {\r\n this.filterOn = !this.filterOn;\r\n this.form.controls.filterOn.setValue(this.filterOn);\r\n }\r\n\r\n clearFilters() {\r\n this.form.controls.nameCtrl.setValue('');\r\n this.form.controls.numberCtrl.setValue('');\r\n this.form.controls.titleCtrl.setValue('');\r\n this.form.controls.revisionCtrl.setValue('');\r\n this.form.controls.lastReviewedCtrl.setValue('');\r\n this.form.controls.creditedRevisionCtrl.setValue('');\r\n this.form.controls.activeCtrl.setValue('');\r\n this.form.controls.obligationCtrl.setValue('');\r\n this.form.controls.rolesCtrl.setValue('');\r\n this.form.controls.creditedCtrl.setValue('');\r\n this.form.controls.approverCtrl.setValue('');\r\n this.form.controls.groupManagerCtrl.setValue('');\r\n this.form.controls.categoryManagerCtrl.setValue('');\r\n }\r\n\r\n customFilter(data: ProcedureReport, filter: string) {\r\n const filterData = JSON.parse(filter);\r\n let ok: boolean = true;\r\n if (!filterData.filterOn) {\r\n return true;\r\n }\r\n if (filterData.name) {\r\n ok = ok && (data.userName).toUpperCase().includes(filterData.name);\r\n }\r\n if (filterData.number) {\r\n ok = ok && data.procedureNumber.toUpperCase().includes(filterData.number);\r\n }\r\n if (filterData.title) {\r\n ok = ok && (data.title).toUpperCase().includes(filterData.title);\r\n }\r\n if (filterData.revision) {\r\n ok = ok && (data.revision).toUpperCase().includes(filterData.revision);\r\n }\r\n if (filterData.reviewed) {\r\n ok = ok && ('' + data.lastReviewed).toUpperCase().includes(filterData.lastReviewed);\r\n }\r\n if (filterData.active) {\r\n ok = ok && ('' + data.active).toUpperCase().includes(filterData.active);\r\n }\r\n if (filterData.obligation) {\r\n ok = ok && (data.obligationType?.toString()).includes(filterData.obligation);\r\n }\r\n if (filterData.roles) {\r\n ok = ok && data.roles.toUpperCase().includes(filterData.roles);\r\n }\r\n if (filterData.credRev) {\r\n ok = ok && ('' + data.creditedRevision).toUpperCase().includes(filterData.credRev);\r\n }\r\n if (filterData.credited) {\r\n ok = ok && ('' + data.dateCredited).toUpperCase().includes(filterData.credited);\r\n }\r\n if (filterData.approver) {\r\n ok = ok && (data.approverName).toUpperCase().includes(filterData.approver);\r\n }\r\n if (filterData.groupManager) {\r\n ok = ok && (data.groupManagers).toUpperCase().includes(filterData.groupManager);\r\n }\r\n if (filterData.categoryManager) {\r\n ok = ok && (data.categoryManagers).toUpperCase().includes(filterData.categoryManager);\r\n }\r\n return ok;\r\n };\r\n\r\n formatDate(date: Date | undefined | string): string | null {\r\n const datePipe = new DatePipe('en-US');\r\n return datePipe.transform(date, 'M/d/yy');\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n
    \r\n \r\n Training Reports\r\n
    \r\n
    \r\n
    \r\n Export Table\r\n
    \r\n \r\n Excel\r\n \r\n \r\n CSV\r\n \r\n \r\n Json\r\n \r\n \r\n TXT\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n backspace\r\n \r\n \r\n \r\n\r\n \r\n \r\n User Name \r\n \r\n \r\n \r\n \r\n \r\n Procedure # \r\n \r\n \r\n \r\n \r\n Procedure Title \r\n \r\n \r\n \r\n \r\n Rev. \r\n \r\n \r\n \r\n \r\n Last Reviewed \r\n \r\n \r\n \r\n \r\n Status \r\n \r\n \r\n \r\n \r\n Obligation \r\n \r\n \r\n \r\n \r\n Role(s) \r\n \r\n \r\n \r\n \r\n Credited Rev \r\n \r\n \r\n \r\n \r\n Date Credited \r\n \r\n \r\n \r\n\r\n \r\n Approver \r\n \r\n \r\n \r\n \r\n \r\n Group Manager(s)\r\n \r\n \r\n \r\n \r\n \r\n \r\n Category Manager(s)\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ProcedureTrainingCredited } from '../../models/procedure-training-credited.model';\r\nimport { Procedure } from '../../models/procedure.model';\r\n\r\n@Component({\r\n selector: 'app-credited-date-popup',\r\n templateUrl: './credited-date-popup.component.html',\r\n styleUrls: ['./credited-date-popup.component.scss']\r\n})\r\nexport class CreditedDatePopupComponent implements OnInit {\r\n\r\n procedureTrainingCredited: ProcedureTrainingCredited = new ProcedureTrainingCredited();\r\n procedure!: Procedure;\r\n\r\n constructor(public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: {\r\n procedure: Procedure\r\n }) { }\r\n\r\n ngOnInit(): void {\r\n this.procedure = this.data.procedure;\r\n }\r\n\r\n cancel() {\r\n this.dialog.close(false);\r\n }\r\n\r\n accept() {\r\n this.dialog.close(this.procedureTrainingCredited);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Credited Date for\r\n {{ procedure.procedureNumber }}\r\n
    \r\n
    \r\n \r\n Please enter credit date\r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Confirm\r\n \r\n
    \r\n
    \r\n
    \r\n","import { COMMA, ENTER } from '@angular/cdk/keycodes';\r\nimport { Component, ElementRef, Inject, Injector, Input, OnInit, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Procedure } from '../../models/procedure.model';\r\n\r\n@Component({\r\n selector: 'app-extra-procedure-training-popup',\r\n templateUrl: './extra-procedure-training-popup.component.html',\r\n styleUrls: ['./extra-procedure-training-popup.component.scss']\r\n})\r\nexport class ExtraProcedureTrainingPopupComponent extends BaseComponent implements OnInit {\r\n\r\n procedureCtrl = new FormControl('');\r\n proceduresToCreate: string[] = [];\r\n procedureFiltered: Procedure[] = [];\r\n allProcedures: Procedure[] = [];\r\n availableProcedures: Procedure[] = [];\r\n @Input() selectedProcedures: Procedure[];\r\n\r\n @ViewChild('procedureInput') procedureInput!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n public dialogRef: MatDialogRef) {\r\n super(injector);\r\n\r\n this.selectedProcedures = data.selectedProcedures;\r\n this.allProcedures = data.allProcedures.filter((x: Procedure) => x.status == 1 && x.active) as Procedure[];\r\n this.allProcedures = this.allProcedures.sort((a, b) => a.procedureNumber < b.procedureNumber ? -1 : 1);\r\n this.setAvailable();\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n setAvailable() {\r\n this.selectedProcedures = this.selectedProcedures ?? [];\r\n this.availableProcedures = this.utils.cloneDeep(this.allProcedures).filter(p => !this.selectedProcedures.map(x => x.id).includes(p.id));\r\n this.procedureFiltered = this.availableProcedures;\r\n }\r\n\r\n add(event: MatChipInputEvent): void {\r\n const value = (event.value || '').trim();\r\n if (value) {\r\n this.proceduresToCreate.push(value);\r\n }\r\n\r\n // Clear the input value\r\n event.value = '';\r\n\r\n this.procedureCtrl.setValue(null);\r\n }\r\n\r\n remove(procedure: string): void {\r\n const index = this.proceduresToCreate.indexOf(procedure);\r\n\r\n if (index >= 0) {\r\n this.proceduresToCreate.splice(index, 1);\r\n }\r\n this.setAvailable();\r\n }\r\n\r\n selected(event: MatAutocompleteSelectedEvent): void {\r\n this.proceduresToCreate.push(event.option.viewValue);\r\n this.setAvailable();\r\n }\r\n\r\n createExtraTraining() {\r\n let procedureNameSplitted = this.proceduresToCreate[0].split(\" - \");\r\n let procedureNumber = procedureNameSplitted[0];\r\n let procedureTitle = procedureNameSplitted[1];\r\n let selectedProcedure = this.allProcedures.find(procedure => procedure?.procedureNumber.includes(procedureNumber) && procedure?.title?.includes(procedureTitle));\r\n\r\n this.dialogRef.close(selectedProcedure);\r\n }\r\n\r\n closeThisModal() {\r\n this.dialogRef.close();\r\n }\r\n\r\n applyFilter(event: any) {\r\n let filterValue = (event.target as HTMLInputElement).value.trim().toLowerCase();\r\n this.setAvailable();\r\n this.procedureFiltered = this.procedureFiltered.filter(procedure => procedure?.procedureNumber.toLowerCase().includes(filterValue) ||\r\n procedure?.title?.includes(filterValue));\r\n }\r\n}\r\n","
    \r\n
    \r\n Extra Procedure Training\r\n
    \r\n
    \r\n \r\n Procedure trainings\r\n \r\n \r\n {{ procedure }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ procedure?.procedureNumber }} - {{ procedure?.title }}\r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, ElementRef, OnInit, QueryList, ViewChild, ViewChildren, OnDestroy, Injector, ChangeDetectorRef } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { MatAccordion, MatExpansionPanel } from '@angular/material/expansion';\r\nimport { MatSidenavContainer } from '@angular/material/sidenav';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { ProcedureObligationType } from '../enums/procedure-obligation-type.enum';\r\nimport { ProcedureCredited } from '../models/procedure-credited.model';\r\nimport { ProcedureTraining } from '../models/procedure-training.model';\r\nimport { Procedure } from '../models/procedure.model';\r\nimport { ProcedureTrainingService } from '../services/procedure-training.service';\r\nimport { ExtraProcedureTrainingPopupComponent } from './extra-procedure-training-popup/extra-procedure-training-popup.component';\r\nimport { UserService } from 'src/app/components/catalogs/user-catalog/services/user.service';\r\n\r\nexport class ProcedureTrainingTableInfo {\r\n trainingsWithRoles: any[] = [];\r\n trainingsWithoutRoles: any[] = [];\r\n}\r\n\r\n@Component({\r\n selector: 'app-procedure-training-v2',\r\n templateUrl: './procedure-training-v2.component.html',\r\n styleUrls: ['./procedure-training-v2.component.scss']\r\n})\r\nexport class ProcedureTrainingV2Component extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n disabled!: boolean;\r\n loading = false;\r\n loadingMessage!: string;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages!: string[];\r\n headerOnTop!: boolean;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter!: any[];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n ///////////////////////\r\n @ViewChild(MatAccordion)\r\n accordion!: MatAccordion;\r\n @ViewChildren(MatExpansionPanel)\r\n panels!: QueryList;\r\n\r\n admin!: boolean;\r\n supervised: User[] = [];\r\n activeUsers: User[] = [];\r\n user!: User;\r\n\r\n usersFiltered!: User[];\r\n userSelected!: User | null;\r\n usersInTables!: { id: any; name: any; }[];\r\n usersColumns: string[] = ['name'];\r\n userName!: string;\r\n\r\n filterName?: string;\r\n filterValue = '';\r\n\r\n extraTrainingsPermission = false;\r\n enableUserManageTrainings = false;\r\n showTrainingsUserManages = false;\r\n showArchived = false;\r\n\r\n showAppendices = false;\r\n\r\n originalTrainings: any[] = [];\r\n trainingsToFilter: any[] = [];\r\n navId = -1;\r\n\r\n trainings: any[] = [];\r\n\r\n customCollapsedHeight = '60px';\r\n customExpandedHeight = '50px';\r\n\r\n prevScrollpos = window.pageYOffset;\r\n headerWidth = '';\r\n links = ['Procedure', 'KE Checklist', 'RSS Test', 'EPS Test', 'EPS Drawings', 'Rad Survey'];\r\n activeLink = this.links[0];\r\n\r\n @ViewChild(MatSidenavContainer)\r\n sideNav!: MatSidenavContainer;\r\n @ViewChild('content')\r\n content!: ElementRef;\r\n\r\n procedures$!: Observable;\r\n allProcedures: Procedure[] = [];\r\n\r\n procedureTraining$!: Observable;\r\n procedureTrainingSubscription!: Subscription;\r\n procedureTrainings: ProcedureTraining[] = [];\r\n\r\n procedureCredited$!: Observable;\r\n procedureCreditedSubscription!: Subscription;\r\n proceduresCredited: ProcedureCredited[] = [];\r\n\r\n messageSubscription!: Subscription;\r\n messages$!: Observable;\r\n\r\n message_general_error!: MessageBanner;\r\n\r\n label_procedure_training!: string;\r\n label_procedure_number!: string;\r\n label_procedure_title!: string;\r\n label_revision!: string;\r\n label_complete!: string;\r\n label_completed!: string;\r\n label_obligation!: string;\r\n label_users_categories!: string;\r\n label_required_read_only!: string;\r\n label_required_follow_up!: string;\r\n label_recommended!: string;\r\n label_are_you_sure_you_want_to_delete_the_procedure!: string;\r\n label_training_complete_option!: string;\r\n label_training_remove_option!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private procedureTrainingService: ProcedureTrainingService,\r\n private userService: UserService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.procedureCreditedSubscription?.unsubscribe();\r\n this.procedureTrainingSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setLoading(true, 0);\r\n // this.initStore();\r\n this.admin = this.hasPrivilege(PrivilegeEnum.ALSProcedureTrainingAdmin);\r\n\r\n this.setUsers();\r\n\r\n this.loadProcedureTrainings();\r\n this.loadProcedureCredited();\r\n\r\n this.extraTrainingsPermission = this.hasRoles([Roles.SA, Roles.PC]);;\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.procedures$.subscribe((data) => {\r\n if (data.length) {\r\n this.allProcedures = data?.filter(x => x.status == 1 && x.active).sort((a, b) => a.procedureNumber < b.procedureNumber ? -1 : 1);\r\n this.checkLoading();\r\n }\r\n });\r\n\r\n this.setLabels();\r\n }\r\n\r\n checkLoading() {\r\n this.setLoading(true, 0);\r\n this.cdRef.detectChanges();\r\n if (this.allProcedures.length && this.procedureTrainings.length && this.proceduresCredited.length) {\r\n this.format();\r\n }\r\n }\r\n\r\n setUsers() {\r\n this.userService.readSupervisedForTraining().subscribe(\r\n data => {\r\n this.supervised = data;\r\n this.enableUserManageTrainings = this.supervised.some(x => x.id != this.currentUser?.id);\r\n this.users = this.getUsers();\r\n this.usersFiltered = this.users;\r\n this.activeUsers = this.users.filter(x => x.status == 1);\r\n this.checkLoading();\r\n },\r\n error => {\r\n this.alert.defaultError();\r\n console.error(error);\r\n },\r\n );\r\n }\r\n\r\n loadProcedureTrainings() {\r\n this.procedureTraining$ = this.store.select(state => state.ProcedureTraining.data);\r\n this.procedureTrainingSubscription = this.procedureTraining$.subscribe((data: ProcedureTraining[]) => {\r\n if (data.length) {\r\n this.procedureTrainings = data;\r\n this.checkLoading();\r\n }\r\n });\r\n }\r\n\r\n loadProcedureCredited() {\r\n this.procedureCredited$ = this.store.select(state => state.ProcedureCredited.data);\r\n this.procedureCreditedSubscription = this.procedureCredited$.subscribe((data: ProcedureCredited[]) => {\r\n if (data.length) {\r\n this.proceduresCredited = data;\r\n this.checkLoading();\r\n }\r\n });\r\n }\r\n\r\n applyFilter(e: any) {\r\n this.filter = e;\r\n }\r\n\r\n filterUsers(e: any) {\r\n const value = e.target.value as string;\r\n this.usersFiltered = this.users.filter(x => x.name?.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n\r\n setLabels() {\r\n this.label_procedure_training = this.getMessage('ALSPC_ProcedureTraining_ProcedureTraining')?.description;\r\n this.label_procedure_number = this.getMessage('ALSPC_ProcedureTraining_ProcedureNumber')?.description;\r\n this.label_procedure_title = this.getMessage('ALSPC_ProcedureTraining_Title')?.description;\r\n this.label_revision = this.getMessage('ALSPC_ProcedureTraining_Revision')?.description;\r\n this.label_complete = this.getMessage('ALSPC_ProcedureTraining_Complete')?.description;\r\n this.label_completed = this.getMessage('ALSPC_ProcedureTraining_Completed')?.description;\r\n this.label_obligation = this.getMessage('ALSPC_ProcedureTraining_Obligation')?.description;\r\n this.label_users_categories = 'Category';\r\n this.label_required_read_only = this.getMessage('ALSPC_RolesCatalog_Required_Read_Only')?.description;\r\n this.label_required_follow_up = this.getMessage('ALSPC_RolesCatalog_Required_Follow_Up')?.description;\r\n this.label_recommended = this.getMessage('ALSPC_RolesCatalog_Recommended')?.description;\r\n this.label_are_you_sure_you_want_to_delete_the_procedure = this.getMessage('ALSPC_RolesCatalog_AreYouSureYouWantToDeleteTheProcedure')?.description;\r\n this.label_training_complete_option = this.getMessage('Training_Complete_Option')?.description;\r\n this.label_training_remove_option = this.getMessage('Training_Remove_Option')?.description;\r\n if (!this.label_procedure_training) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 1000);\r\n }\r\n }\r\n\r\n format() {\r\n let users: User[] = [];\r\n if (!this.currentUser) { return; }\r\n\r\n this.trainings = [];\r\n\r\n if (this.userSelected) {\r\n users.push(this.userSelected);\r\n } else {\r\n users.push(this.currentUser);\r\n if (this.showTrainingsUserManages) {\r\n users = users.concat(this.supervised.filter(x => x.id != this.currentUser?.id));\r\n }\r\n }\r\n\r\n users.sort((a, b) => this.utils.sort(a.name, b.name, true)).map(user => {\r\n const userRoles: number[] = user.userRole?.map(x => x.roleID ?? 0) ?? [];\r\n const userProceduresCredited: ProcedureCredited[] = this.proceduresCredited.filter(x => x.userID == user?.id);\r\n const userProcedureTrainings: ProcedureTraining[] = this.procedureTrainings?.filter(x => ((userRoles.includes(x.roleID ?? 0) && x.role && x.role?.trainingRole) || (!x.role && x?.userID == user?.id)) || userProceduresCredited.map(y => y?.procedureID).includes(x.procedureMaster?.procedure?.id));\r\n const userTrainings = this.getUserTrainings(userProcedureTrainings, userProceduresCredited, userRoles, user);\r\n const trainingsBeingUsed = [...userTrainings.trainingsWithRoles, ...userTrainings.trainingsWithoutRoles];\r\n\r\n if (userTrainings) {\r\n this.trainings.push({ user, trainingsWithRole: this.getTrainingsMatTableDataSource(userTrainings.trainingsWithRoles), trainingsWithoutRole: this.getTrainingsMatTableDataSource(userTrainings.trainingsWithoutRoles), trainingsBeingUsed, showAppendices: this.showAppendices });\r\n }\r\n });\r\n\r\n if (!this.userSelected) {\r\n this.originalTrainings = this.trainings;\r\n }\r\n this.trainingsToFilter = this.trainings;\r\n this.setCurrentUserTrainingsFirst();\r\n this.applyFilterTrainings();\r\n this.setLoading(false, 0);\r\n }\r\n\r\n getTrainingsMatTableDataSource(userTrainings: any): MatTableDataSource | null {\r\n if (userTrainings.length) {\r\n const userTrainingsSource = new MatTableDataSource(userTrainings);\r\n userTrainingsSource.filterPredicate = (data, filter) => {\r\n return data.procedure.procedureNumber.trim().toLowerCase().includes(filter) ||\r\n data.procedure.title.trim().toLowerCase().includes(filter);\r\n };\r\n return userTrainingsSource;\r\n }\r\n return null;\r\n }\r\n\r\n getUserTrainings(userProcedureTrainings: ProcedureTraining[], userProceduresCredited: ProcedureCredited[], userRoles: number[], user: User): ProcedureTrainingTableInfo {\r\n const procedureIds: number[] = [];\r\n const trainingsInfo = new ProcedureTrainingTableInfo();\r\n\r\n const procedureTrainings = userProcedureTrainings?.map(x => x.procedureMaster?.procedure)\r\n .filter((value, index, self) => self.indexOf(value) === index)\r\n .sort((a, b) => this.utils.sort(a?.procedureNumber, b?.procedureNumber, true));\r\n\r\n procedureTrainings.map(procedure => {\r\n if (!procedureIds.some(x => procedure?.id == x)) {\r\n let proceduresCredited = this.utils.cloneDeep(userProceduresCredited.filter(x => x.procedure?.procedureMasterID == procedure?.procedureMasterID).sort((a, b) => this.utils.sort(a.procedure?.version, b.procedure?.version, false)));\r\n\r\n const lastProcedureApproved = proceduresCredited.find(x => x.status == 1);\r\n if (lastProcedureApproved) {\r\n proceduresCredited = proceduresCredited.filter(p => p.procedureID != lastProcedureApproved.procedureID || (p.status == 1 && p.procedureID == lastProcedureApproved.procedureID));\r\n }\r\n if (procedure) {\r\n let obligationType = this.getObligationTypeText(userProcedureTrainings.filter(x => (userRoles.includes(x.roleID ?? 0) && x.role) || (!x.role && x.userID == user.id)), procedure);\r\n let trainingApplicableRoles = this.getApplicableRoles(userProcedureTrainings.filter(x => x.role?.trainingRole), procedure, userRoles);\r\n\r\n\r\n let trainingInfo = {\r\n procedure,\r\n procedureCredited: proceduresCredited[0],\r\n applicableRoles: trainingApplicableRoles,\r\n obligationType,\r\n creditedRev: lastProcedureApproved?.procedure?.revision,\r\n creditedDate: lastProcedureApproved?.dateCredited,\r\n creditedBy: lastProcedureApproved?.approver,\r\n showAppendices: this.showAppendices\r\n };\r\n\r\n if (trainingApplicableRoles.length) {\r\n trainingsInfo.trainingsWithRoles.push(trainingInfo);\r\n } else {\r\n trainingInfo.obligationType = '';\r\n trainingsInfo.trainingsWithoutRoles.push(trainingInfo);\r\n }\r\n procedureIds.push(procedure?.id);\r\n if (this.showArchived) {\r\n const userProceduresCreditedArchived = userProceduresCredited.filter(x => x.procedure?.procedureMasterID == procedure?.procedureMasterID && x.procedure?.version != procedure.version).sort((a, b) => this.utils.sort(a.procedure?.version, b.procedure?.version, false));\r\n const procedureClone: Procedure = this.utils.cloneDeep(procedure);\r\n procedureClone.status = 0;\r\n obligationType = this.getObligationTypeText(userProcedureTrainings, procedureClone);\r\n trainingApplicableRoles = this.getApplicableRoles(userProcedureTrainings, procedureClone, userRoles);\r\n\r\n userProceduresCreditedArchived.map(userProcedCredited => {\r\n if (userProcedCredited.procedure) {\r\n userProcedCredited.procedure.status = 1;\r\n procedureClone.historyProcedure = true;\r\n\r\n trainingInfo = {\r\n procedure: procedureClone,\r\n procedureCredited: userProcedCredited,\r\n applicableRoles: trainingApplicableRoles,\r\n obligationType,\r\n creditedRev: userProcedCredited.procedure.revision,\r\n creditedDate: userProcedCredited.dateCredited,\r\n creditedBy: userProcedCredited.approver,\r\n showAppendices: this.showAppendices\r\n };\r\n }\r\n\r\n if (trainingApplicableRoles) {\r\n trainingsInfo.trainingsWithRoles.push(trainingInfo);\r\n } else {\r\n trainingsInfo.trainingsWithoutRoles.push(trainingInfo);\r\n }\r\n procedureIds.push(procedure?.id);\r\n });\r\n }\r\n }\r\n\r\n }\r\n });\r\n\r\n return trainingsInfo;\r\n }\r\n\r\n getObligationTypeText(userProcedureTrainings: ProcedureTraining[], procedure: Procedure): string | null {\r\n const maxObligationType = Math.max(...userProcedureTrainings.filter(userProcedures => userProcedures.procedureMasterID === procedure.procedureMasterID).map(o => o.obligationType));\r\n let obligationType: string | null = '';\r\n\r\n switch (maxObligationType) {\r\n case ProcedureObligationType.RequiredReadOnly:\r\n obligationType = this.label_required_read_only;\r\n break;\r\n case ProcedureObligationType.RequiredFollowUp:\r\n obligationType = this.label_required_follow_up;\r\n break;\r\n case ProcedureObligationType.Recommended:\r\n obligationType = this.label_recommended;\r\n break;\r\n case ProcedureObligationType.Extra:\r\n obligationType = null;\r\n break;\r\n }\r\n return obligationType;\r\n }\r\n\r\n getApplicableRoles(userProcedureTrainings: ProcedureTraining[], procedure: Procedure, userRoles: number[]): (Role | undefined)[] {\r\n const applicableRoles = userProcedureTrainings.filter(userProcedures => userProcedures.procedureMasterID === procedure.procedureMasterID && userRoles.includes(userProcedures.roleID ?? 0)).map(o => o.role);\r\n return applicableRoles;\r\n }\r\n\r\n applyFilterTrainings(event?: any) {\r\n if (!this.userSelected && !this.showTrainingsUserManages) {\r\n this.filterName = this.currentUser?.name?.trim().toLowerCase();\r\n }\r\n if (this.userSelected) {\r\n this.filterName = this.userSelected?.name?.trim().toLowerCase();\r\n }\r\n\r\n if (this.filterName && !this.showArchived) {\r\n this.trainingsToFilter = this.originalTrainings.filter(x => x.user.name.trim().toLowerCase().includes(this.filterName));\r\n }\r\n\r\n if (event) {\r\n this.filterValue = (event.target as HTMLInputElement).value.trim().toLowerCase();\r\n }\r\n\r\n const containsName = this.originalTrainings.some(x => x.user.name.trim().toLowerCase().includes(this.filterValue)) && !this.filterName;\r\n let filterByName = containsName && this.filterValue !== '';\r\n if (this.userSelected && !filterByName) {\r\n const userFound = this.originalTrainings.some(x => x.user.name.trim().toLowerCase().includes(this.filterName));\r\n if (!userFound) {\r\n filterByName = true;\r\n }\r\n }\r\n if ((this.filterValue === this.currentUser?.name?.trim().toLowerCase() && !this.userSelected) || (this.filterName === this.currentUser?.name?.trim().toLowerCase() && !this.userSelected) || this.filterValue === this.userSelected?.name?.trim().toLowerCase()) {\r\n filterByName = true;\r\n }\r\n\r\n if (this.trainingsToFilter?.length && !this.userSelected) {\r\n this.trainings = this.trainingsToFilter;\r\n }\r\n\r\n if (filterByName && !this.userSelected) {\r\n const filter = this.filterName ? this.filterName : this.filterValue;\r\n this.trainings = this.originalTrainings.filter(x => x.user.name.trim().toLowerCase().includes(filter));\r\n }\r\n this.trainings.map(element => {\r\n if (element.trainingsWithRole) {\r\n element.trainingsWithRole.filter = filterByName && !this.filterName ? '' : this.filterValue;\r\n }\r\n if (element.trainingsWithoutRole) {\r\n element.trainingsWithoutRole.filter = filterByName && !this.filterName ? '' : this.filterValue;\r\n }\r\n });\r\n if (!this.trainingsToFilter?.length) {\r\n this.trainingsToFilter = this.trainings;\r\n }\r\n\r\n if (event) {\r\n this.openPanels();\r\n }\r\n }\r\n\r\n setCurrentUserTrainingsFirst() {\r\n if (this.originalTrainings.length > 0) {\r\n const index = this.originalTrainings.findIndex(x => x.user.name === this.currentUser?.name);\r\n if (index >= 0) {\r\n const element = this.originalTrainings[index];\r\n this.originalTrainings.splice(index, 1);\r\n this.originalTrainings.unshift(element);\r\n }\r\n }\r\n\r\n this.usersInTables = this.trainings.map((x) => {\r\n return {\r\n id: x.user.id,\r\n name: x.user.name\r\n };\r\n });\r\n }\r\n\r\n openPanels() {\r\n this.panels.map(panel => {\r\n if (!panel.expanded) {\r\n panel.open();\r\n }\r\n });\r\n }\r\n\r\n changeRolesUserManages(data: any) {\r\n this.showTrainingsUserManages = data;\r\n this.filterName = '';\r\n this.userSelected = null;\r\n this.format();\r\n }\r\n\r\n changeArchived(data: any) {\r\n this.showArchived = data;\r\n this.format();\r\n }\r\n\r\n changeAppendices(data: any) {\r\n this.showAppendices = data;\r\n this.format();\r\n }\r\n\r\n getUserSelected(isSelected: boolean, user: User) {\r\n if (isSelected) {\r\n this.userSelected = user;\r\n this.format();\r\n }\r\n }\r\n\r\n trackByIdentity(item: any) {\r\n return item.name;\r\n }\r\n\r\n addProcedurePopup(training: any) {\r\n const selectedProcedures = training.trainingsBeingUsed.map((x: any) => x.procedure);\r\n\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n allProcedures: this.allProcedures,\r\n selectedProcedures\r\n };\r\n\r\n dialogConfig.width = '30vw';\r\n const dialogRef = this.dialog.open(ExtraProcedureTrainingPopupComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((procedure: Procedure) => {\r\n if (procedure) {\r\n this.procedureTrainingService.create({\r\n procedureMasterID: procedure.procedureMasterID,\r\n roleID: 0,\r\n obligationType: ProcedureObligationType.Extra,\r\n userID: training.user.id\r\n }).subscribe();\r\n }\r\n });\r\n }\r\n\r\n deleteTraining(procedureInfo: { procedureId: number, userId: number }) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '25vw',\r\n data: {\r\n message: this.label_are_you_sure_you_want_to_delete_the_procedure,\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data) {\r\n const procedureTraining = this.procedureTrainings.find(x => x.procedureMaster?.procedure?.id == procedureInfo.procedureId && x.roleID == 0 && x.userID == procedureInfo.userId);\r\n if (procedureTraining?.id)\r\n this.procedureTrainingService.delete(procedureTraining?.id).subscribe(\r\n () => { },\r\n () => {\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: '70vw',\r\n // minWidth: '400px',\r\n // minHeight: '400px',\r\n // disableClose: true\r\n // });\r\n // settings.afterClosed().subscribe(() => {\r\n\r\n // });\r\n }\r\n\r\n\r\n navigate(id: number) {\r\n this.navId = id;\r\n document.getElementById('_' + id.toString())?.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n\r\n initStore() {\r\n // this.store.dispatch(\r\n // new ProcedureCategoryRefresh()\r\n // );\r\n // this.store.dispatch(\r\n // new ProcedureTrainingRefresh()\r\n // );\r\n // this.store.dispatch(\r\n // new ProcedureCreditedRefresh()\r\n // );\r\n // this.store.dispatch(\r\n // new ProcedureTemplateRefresh()\r\n // );\r\n // this.store.dispatch(\r\n // new ProcedureConfigurationRefresh()\r\n // );\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Self:\r\n this.loadingSelf = e as boolean;\r\n break;\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n console.log('procedure-training-v2: ' + this.loadingSelf + ' procedure-taining-table: ' + this.loadingMain + ' extra trainings: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingSelf || this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingSelf = false;\r\n loadingOrigin = LoadingOrigin;\r\n}\r\n\r\nenum LoadingOrigin {\r\n Self = 0, Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ label_procedure_training }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Show All Users of Roles I Manage\r\n \r\n Show All Training History\r\n Show Appendices\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n \r\n person_search\r\n \r\n \r\n \r\n \r\n {{ user.name }}\r\n \r\n \r\n \r\n close\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
    Users\r\n {{ e.user.name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    No Required Procedure Training Found
    \r\n
    \r\n \r\n \r\n \r\n \r\n {{ training.user?.name }}\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n
    \r\n
    Extra Training
    \r\n \r\n add_box\r\n \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, Input, SimpleChanges } from '@angular/core';\r\nimport { Procedure } from '../../../models/procedure.model';\r\nimport { RelatedLinkDocumentBase } from 'src/app/common/models/related-link-document-base.model';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'procedure-trainings-appendices',\r\n templateUrl: './procedure-trainings-appendices.component.html',\r\n styleUrls: ['./procedure-trainings-appendices.component.scss']\r\n})\r\nexport class ProcedureTrainingsAppendicesComponent {\r\n @Input() procedure?: Procedure;\r\n @Input() showAppendices?: boolean;\r\n\r\n appendices?: RelatedLinkDocumentBase[];\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.appendices = this.procedure?.procedureAppendices?.sort((a, b) => utils.sortArrayAlphabeticallyWithComplexNumbers(a.text, b.text));\r\n }\r\n}\r\n","
    \r\n","import { Component, EventEmitter, Input, OnInit, Output, OnChanges, SimpleChanges, Injector, OnDestroy } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { APLCategory } from 'src/app/components/apl/services/apl-category.model';\r\nimport { APLGroup } from 'src/app/components/apl/services/apl-group.model';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { ProcedureCredited } from '../../models/procedure-credited.model';\r\nimport { ProcedureTrainingCredited } from '../../models/procedure-training-credited.model';\r\nimport { ProcedureCreditedService } from '../../services/procedure-credited.service';\r\nimport { CreditedDatePopupComponent } from '../credited-date-popup/credited-date-popup.component';\r\nimport { Procedure } from '../../models/procedure.model';\r\n\r\n\r\n@Component({\r\n selector: 'procedure-trainings-table-component',\r\n templateUrl: './procedure-trainings-table.component.html',\r\n styleUrls: ['./procedure-trainings-table.component.scss']\r\n})\r\nexport class ProcedureTrainingsTableComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n\r\n columns: string[] = ['procedureNumber', 'title', 'currentRevision', 'revisionCredited', 'obligationType', 'dateCredited', 'creditedBy', 'applicableRoles', 'actions'];\r\n\r\n // Inputs\r\n @Input() user?: User | null;\r\n @Input() trainings: any[] = [];\r\n @Input() supervised: User[] = [];\r\n @Input() label_procedure_number = '';\r\n @Input() label_procedure_title = '';\r\n @Input() label_training_complete_option = '';\r\n @Input() label_training_remove_option = '';\r\n @Input() admin = false;\r\n @Input() completeTrainingInfo: any;\r\n @Input() extraTrainingsPermission = false;\r\n @Input() filter: any;\r\n @Input() showAppendices?: boolean;\r\n\r\n proceduresBeingCompleted: number[] = [];\r\n\r\n @Output() deleteProcedureTraining: EventEmitter<{ procedureId: number, userId: number }> = new EventEmitter<{ procedureId: number, userId: number }>();\r\n @Output() loading = new EventEmitter();\r\n\r\n aplCategories$!: Observable;\r\n aplCategories!: APLCategory[];\r\n aplCategoriesSubs!: Subscription;\r\n aplCategoryRoles: Role[] = [];\r\n\r\n aplGroups!: APLGroup[];\r\n aplGroups$!: Observable;\r\n aplGroupsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private procedureCreditedService: ProcedureCreditedService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.trainings) {\r\n this.trainings.filter = this.filter;\r\n }\r\n this.loadAPLCategories();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setLabels();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.aplGroupsSubs?.unsubscribe();\r\n this.aplCategoriesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadAPLCategories() {\r\n this.aplCategories$ = this.store.select(state => state.APLCategory.APLCategories);\r\n this.aplCategoriesSubs = this.aplCategories$.subscribe(data => {\r\n if (data?.length && this.user?.id) {\r\n this.aplCategories = data.filter(x => x.aplCategoryManagers.map(m => m.userID).includes(this.user?.id ?? 0));\r\n this.loadAPLGroups();\r\n }\r\n });\r\n }\r\n\r\n loadAPLGroups() {\r\n this.aplGroups$ = this.store.select(state => state.APLGroup.all);\r\n this.aplGroupsSubs = this.aplGroups$.subscribe(data => {\r\n this.aplGroups = data.filter(g => this.aplCategories.map(c => c.aplCategoryMasterID).includes(g.aplGroupMaster?.aplCategoryMasterID ?? 0) || g.aplGroupManagers?.map(m => m.userID).includes(this.user?.id) || g.aplProcedureTrainingCoordinators?.map(c => c.userID).includes(this.user?.id));\r\n this.aplGroups.map(g => {\r\n const roles = g.aplGroupRoles?.filter(gr => gr.role).map(gr => gr.role as Role);\r\n if (roles)\r\n this.aplCategoryRoles.push(...roles);\r\n });\r\n });\r\n }\r\n\r\n canComplete(e: any): boolean {\r\n return this.completeTrainingInfo?.user?.id == this.user?.id && e.procedureCredited?.procedure?.version != e.procedure?.version && e.procedureCredited?.status != 0 && this.proceduresBeingCompleted.indexOf(e.procedure?.id) === -1;\r\n }\r\n\r\n canApprove(e: any): boolean {\r\n return this.trainingCanBeApproved(e) && (this.utils.intersect(this.aplCategoryRoles.map(c => c.id), e.applicableRoles.map((a: any) => a.id)) || (this.admin || this.hasRoles([Roles.SA, Roles.PC])));\r\n }\r\n\r\n canCompleteAndApprove(e: any) {\r\n return this.hasRoles([Roles.PC]) && e.procedureCredited?.procedure?.version != e.procedure?.version && e.procedureCredited?.status != 0 && this.proceduresBeingCompleted.indexOf(e.procedure?.id) === -1;\r\n }\r\n\r\n canUndo(e: any): boolean {\r\n return this.completeTrainingInfo?.user?.id == this.user?.id && e.procedureCredited?.status == 0;\r\n }\r\n\r\n canDelete(e: any): boolean {\r\n return (!e.procedureCredited && this.extraTrainingsPermission) || (this.completeTrainingInfo?.user?.id == this.user?.id && !e.procedureCredited && !e.applicableRoles);\r\n }\r\n\r\n canRemoveTrainingCredit(e: any): boolean {\r\n return e.procedure.version == e.procedureCredited?.procedure?.version && (e.procedureCredited?.status == 1 && (this.canRemoveOnNormalSection(e) || this.canRemoveOnExtraSection(e)));\r\n }\r\n\r\n canRemoveOnNormalSection(e: any): boolean {\r\n return e.applicableRoles != '' && (this.user?.userRole?.some(r => r.roleID === Roles.SA || r.role?.code === 'PC' || r.role?.code === 'PTC') || this.utils.intersect(this.aplCategoryRoles.map(c => c.id), e.applicableRoles.map((a: any) => a.id)));\r\n }\r\n\r\n canRemoveOnExtraSection(e: any): boolean {\r\n return this.hasRoles([Roles.SA, Roles.PC]) && !e.applicableRoles;\r\n }\r\n\r\n trainingCanBeApproved(e: any): boolean {\r\n return this.completeTrainingInfo?.user?.id != this.user?.id && e.procedureCredited?.status == 0;\r\n }\r\n\r\n hasActions(e: any): boolean {\r\n return this.canComplete(e) || this.canApprove(e) || this.canUndo(e) || this.canDelete(e) || this.canRemoveTrainingCredit(e) || this.canCompleteAndApprove(e);\r\n }\r\n\r\n formatRoles(roles: Role[]) {\r\n return roles.map(x => x.code).join(', ');\r\n }\r\n\r\n complete(procedure: Procedure) {\r\n return new Promise((resolve, reject) => {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '45vw',\r\n data: {\r\n message: this.label_training_complete_option,\r\n changeButtonLabels: true,\r\n labelButtonCancel: 'Cancel',\r\n labelButtonAccept: 'Confirm'\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data) {\r\n this.loading.emit(true);\r\n this.proceduresBeingCompleted.push(procedure.id);\r\n this.procedureCreditedService.complete(procedure.id).subscribe(\r\n procedureCredited => {\r\n this.loading.emit(false);\r\n resolve(procedureCredited);\r\n },\r\n error => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n console.error(error);\r\n }, () => {\r\n this.removeProcedureBeingCompleted(procedure.id);\r\n }\r\n );\r\n }\r\n }\r\n );\r\n });\r\n\r\n }\r\n\r\n removeProcedureBeingCompleted(procedureID: number) {\r\n const procedureCompletedIndex = this.proceduresBeingCompleted.indexOf(procedureID);\r\n if (procedureCompletedIndex > -1) {\r\n this.proceduresBeingCompleted.splice(procedureCompletedIndex, 1);\r\n }\r\n }\r\n\r\n approve(procedureCredited: ProcedureCredited) {\r\n this.dialog.open(CreditedDatePopupComponent, {\r\n width: '25vw',\r\n data: {\r\n procedure: procedureCredited?.procedure\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data) {\r\n this.loading.emit(true);\r\n const procedureTrainingCredited = data as ProcedureTrainingCredited;\r\n if (procedureCredited.id)\r\n this.procedureCreditedService.approve(procedureCredited?.id, procedureTrainingCredited).subscribe(\r\n () => {\r\n this.loading.emit(false);\r\n },\r\n error => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n console.error(error);\r\n },\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n completeAndApprove(procedure: Procedure) {\r\n\r\n this.dialog.open(CreditedDatePopupComponent, {\r\n width: '25vw',\r\n data: {\r\n procedure: procedure\r\n }\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data) {\r\n this.loading.emit(true);\r\n this.proceduresBeingCompleted.push(procedure.id);\r\n this.procedureCreditedService.complete(procedure.id, this.completeTrainingInfo?.user?.id).subscribe(\r\n procedureCredited => {\r\n if (procedureCredited.id) {\r\n const procedureTrainingCredited = procedureCredited as ProcedureTrainingCredited;\r\n procedureTrainingCredited.creditDate = data.creditDate;\r\n this.removeProcedureBeingCompleted(procedure.id);\r\n this.procedureCreditedService.approve(procedureCredited?.id, procedureTrainingCredited).subscribe(\r\n () => {\r\n this.loading.emit(false);\r\n },\r\n error => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n console.error(error);\r\n },\r\n );\r\n }\r\n },\r\n error => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n console.error(error);\r\n }, () => {\r\n\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n // async completeAndApprove2(procedureID: number) {\r\n // const procedureCredited = await this.complete(procedureID);\r\n // this.approve(procedureCredited as ProcedureCredited);\r\n // }\r\n\r\n getInitials(e: any) {\r\n if (e.creditedBy) {\r\n return e.creditedBy?.initials;\r\n }\r\n else if (e.creditedDate &&\r\n e.creditedRev &&\r\n (e.procedureCredited?.status != 0 || e.procedure?.status != 1) &&\r\n !(\r\n e.procedure?.revision != e.procedureCredited?.procedure?.revision &&\r\n e.procedure?.status == 1\r\n )) {\r\n return 'ASCC'\r\n }\r\n\r\n }\r\n\r\n removeProcedureCredited(procedureCreditedID: number) {\r\n this.dialog\r\n .open(YesNoDialogComponent, {\r\n width: '45vw',\r\n data: {\r\n message: this.label_training_remove_option,\r\n changeButtonLabels: true,\r\n labelButtonCancel: 'Cancel',\r\n labelButtonAccept: 'Confirm',\r\n },\r\n }).afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.loading.emit(true);\r\n this.procedureCreditedService\r\n .removeProcedureCredited(procedureCreditedID)\r\n .subscribe(\r\n () => {\r\n this.loading.emit(false);\r\n },\r\n (error) => {\r\n if (error.status === 404 || error.status === 409) {\r\n this.alert.error(error.error);\r\n } else {\r\n this.alert.defaultError();\r\n }\r\n console.error(error);\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n deleteTraining(procedureId: number) {\r\n this.deleteProcedureTraining.emit({ procedureId, userId: this.completeTrainingInfo?.user?.id });\r\n }\r\n\r\n setLabels() {\r\n this.label_procedure_number = this.getMessage('ALSPC_ProcedureTraining_ProcedureNumber')?.description;\r\n this.label_procedure_title = this.getMessage('ALSPC_ProcedureTraining_Title')?.description;\r\n this.label_training_complete_option = this.getMessage('Training_Complete_Option')?.description;\r\n this.label_training_remove_option = this.getMessage('Training_Remove_Option')?.description;\r\n if (!this.label_procedure_number) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 1000);\r\n }\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Current Revision\r\n \r\n \r\n {{\r\n !e.procedure?.historyProcedure ? e.procedure?.revision : \"\"\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n Revision Credited\r\n \r\n \r\n {{ e.creditedRev }}\r\n \r\n \r\n\r\n \r\n \r\n Obligation Type\r\n \r\n \r\n {{ e?.obligationType }}\r\n \r\n \r\n\r\n \r\n \r\n Date Credited\r\n \r\n \r\n {{ e.creditedDate | date : \"shortDate\" }}\r\n \r\n \r\n\r\n \r\n \r\n Credited by\r\n \r\n \r\n \r\n {{ getInitials(e) }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n Applicable Role(s)\r\n \r\n \r\n \r\n {{ formatRoles(e.applicableRoles) }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n more_vert\r\n \r\n \r\n \r\n Complete\r\n \r\n \r\n Approve\r\n \r\n \r\n Complete and Approve\r\n \r\n \r\n Undo Completion\r\n \r\n \r\n Delete\r\n \r\n \r\n Remove Training Credit\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n","import { Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges, EventEmitter, Output, Injector } from \"@angular/core\";\r\nimport { Sort } from \"@angular/material/sort\";\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { Router } from \"@angular/router\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { ChecklistBuilderService } from \"src/app/components/checklists/checklist-builder/checklist-builder.service\";\r\nimport { TemplateType } from \"src/app/components/checklists/checklists\";\r\nimport { ScheduleType } from \"src/app/components/schedules/models/schedule-type\";\r\nimport { UserAutocompletePopupComponent, UserAutocompletePopupParameters } from \"src/app/controls/user-autocomplete-popup/user-autocomplete-popup.component\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { ProcedurePopupComponent } from \"../../dialogs/procedure-popup/procedure-popup.component\";\r\nimport { ProcedureSignatureType } from \"../../enums/procedure-signature-type.enum\";\r\nimport { ProcedureTypeEnum } from \"../../enums/procedure-type.enum\";\r\nimport { ProcedureCategory } from \"../../models/procedure-category.model\";\r\nimport { ProcedureConfiguration } from \"../../models/procedure-configuration.model\";\r\nimport { ProcedureNote } from \"../../models/procedure-note.model\";\r\nimport { ProcedureSignature } from \"../../models/procedure-signature.model\";\r\nimport { ProcedureType } from \"../../models/procedure-type\";\r\nimport { Procedure } from \"../../models/procedure.model\";\r\nimport { ProcedureService } from \"../../services/procedure.service\";\r\nimport moment from \"moment\";\r\nimport { ProcedureNotePopupComponent } from \"../../dialogs/procedure-note-popup/procedure-note-popup.component\";\r\nimport { RelatedLinkDocumentBase } from \"src/app/common/models/related-link-document-base.model\";\r\nimport { Note, NoteType } from \"src/app/services/notes/note.model\";\r\nimport { NotificationMessage } from \"src/app/components/catalogs/notifications/services/notification.models\";\r\nimport { NotificationService } from \"src/app/components/catalogs/notifications/services/notification.service\";\r\nimport { NotificationType } from \"src/app/common/enumerations/enumerations\";\r\nimport { NotificationTemplate } from \"src/app/components/catalogs/notifications/services/notification-template\";\r\nimport { NotificationComponent } from \"src/app/controls/notifications/notification.component\";\r\nimport { NotificationTemplateStoreAndListenersService } from '../../../catalogs/notifications/store/notification-template.store';\r\n\r\n@Component({\r\n selector: \"procedure-update-table\",\r\n templateUrl: \"./procedure-update-table.component.html\",\r\n styleUrls: [\"./procedure-update-table.component.scss\"],\r\n})\r\nexport class ProcedureUpdateTableComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() procedureCategoryID?: number;\r\n @Input() filter = \"\";\r\n @Input() showInactive!: boolean;\r\n @Input() showArchived!: boolean;\r\n @Input() tabIndex!: number;\r\n @Input() myProcedures!: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n procedureType?: ProcedureType | null;\r\n scheduleType?: ScheduleType;\r\n\r\n scheduleTypes!: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n procedureCategorySubscription!: Subscription;\r\n procedureCategory$!: Observable;\r\n procedureCategories!: ProcedureCategory[];\r\n procedureCategory?: ProcedureCategory;\r\n\r\n procedureSubscription!: Subscription;\r\n procedure$!: Observable;\r\n procedures!: Procedure[];\r\n proceduresFiltered!: Procedure[];\r\n procedureDS = new MatTableDataSource();\r\n\r\n procedureConfigurationSubscription!: Subscription;\r\n procedureConfiguration$!: Observable;\r\n procedureConfiguration!: ProcedureConfiguration;\r\n\r\n templateType!: TemplateType;\r\n templateTypes!: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n labelNumber!: string;\r\n labelTitle!: string;\r\n labelRevision!: string;\r\n labelStatus!: string;\r\n labelLastReviewed!: string;\r\n labelReviewPeriod!: string;\r\n labelNextDue!: string;\r\n labelGoogleDoc!: string;\r\n labelPreparers!: string;\r\n labelAddPreparer!: string;\r\n labelRemovePreparer!: string;\r\n labelApprovePreparer!: string;\r\n labelUnapprovePreparer!: string;\r\n labelReviewers!: string;\r\n labelAddReviewer!: string;\r\n labelRemoveReviewer!: string;\r\n labelApproveReviewer!: string;\r\n labelUnapproveReviewer!: string;\r\n labelApprovers!: string;\r\n labelAddApprover!: string;\r\n labelRemoveApprover!: string;\r\n labelApproveApprover!: string;\r\n labelUnapproveApprover!: string;\r\n labelNotes!: string;\r\n labelActions!: string;\r\n labelEdit!: string;\r\n labelDelete!: string;\r\n labelCreateNote!: string;\r\n labelPublish!: string;\r\n labellocation!: string;\r\n labelDraft!: string;\r\n labelGeneralError!: string;\r\n labelChecklistNotFound!: string;\r\n labelProcedureAndDocumentManagement!: string;\r\n labelTitleLocationGlobal!: string;\r\n labelGoogleDocsDraftGlobal!: string;\r\n\r\n notificationMessage?: NotificationMessage | null;\r\n notificationTemplate?: NotificationTemplate;\r\n notificationTemplates$!: Observable;\r\n notificationTemplatesSubs!: Subscription;\r\n\r\n columns: string[] = [\r\n \"procedureNumber\",\r\n \"description\",\r\n \"revision\",\r\n \"lastReviewed\",\r\n \"reviewPeriod\",\r\n \"nextDue\",\r\n \"files\",\r\n \"preparers\",\r\n \"reviewers\",\r\n \"approvers\",\r\n \"notes\",\r\n \"actions\",\r\n ];\r\n title: string[] = [\"procedureCategory\"];\r\n\r\n signatureAdmin = false;\r\n actionsPermission = false;\r\n preparer = false;\r\n reviewer = false;\r\n approver = false;\r\n today = new Date();\r\n sort!: Sort;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private procedureService: ProcedureService,\r\n private checklistBuilderService: ChecklistBuilderService,\r\n private router: Router,\r\n private notificationService: NotificationService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loading.emit(true);\r\n this.setLabels();\r\n this.loadScheduleTypes();\r\n this.loadTemplateTypes();\r\n this.loadProcedures();\r\n this.loadProcedureCategories2();\r\n this.loadProcedureConfiguration();\r\n this.loadMessages();\r\n this.loadNotificationTemplates();\r\n this.signatureAdmin = this.hasPrivilege(PrivilegeEnum.ALSProcedureSignatureAdmin);\r\n this.actionsPermission = this.hasPrivilege(PrivilegeEnum.ALSProcedureActions);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.procedureCategorySubscription.unsubscribe();\r\n this.procedureSubscription?.unsubscribe();\r\n this.procedureConfigurationSubscription?.unsubscribe();\r\n this.scheduleTypesSubs?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n this.notificationTemplatesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (\"procedureCategoryID\" in changes) {\r\n if (\r\n this.procedureCategories !== undefined &&\r\n this.procedureCategories != null &&\r\n this.procedureCategories?.length > 0\r\n ) {\r\n this.procedureCategory = this.procedureCategories.filter(\r\n (x) => x.id === this.procedureCategoryID\r\n )[0];\r\n this.labelTitleLocationGlobal =\r\n this.procedureCategory?.procedureTypeID !==\r\n ProcedureTypeEnum.ProcedureCenter &&\r\n this.procedureCategory?.procedureTypeID !==\r\n ProcedureTypeEnum.EPSDrawings &&\r\n this.procedureCategory?.procedureTypeID !==\r\n ProcedureTypeEnum.RadSurvey\r\n ? this.labellocation\r\n : this.labelTitle;\r\n this.labelGoogleDocsDraftGlobal =\r\n this.procedureCategory?.procedureTypeID ===\r\n ProcedureTypeEnum.RSSTest ||\r\n this.procedureCategory?.procedureTypeID === ProcedureTypeEnum.EPSTest\r\n ? this.labelDraft\r\n : this.labelGoogleDoc;\r\n }\r\n } else if (\"filter\" in changes) {\r\n this.loadProcedures();\r\n }\r\n this.ngOnInit();\r\n }\r\n\r\n loadNotificationTemplates() {\r\n this.notificationTemplates$ = this.store.select(state => state.NotificationTemplates.data);\r\n this.notificationTemplatesSubs = this.notificationTemplates$.subscribe(data => {\r\n if (data?.length) {\r\n this.notificationTemplate = data.find(n => n.type == NotificationType.Procedure);\r\n }\r\n });\r\n }\r\n\r\n loadProcedureCategories() {\r\n this.procedureCategory$ = this.store.select(\r\n (state) => state.ProcedureCategory.ProcedureCategories\r\n );\r\n this.procedureCategorySubscription = this.procedureCategory$.subscribe(\r\n (data) => {\r\n this.procedureCategories = data;\r\n this.procedureCategory = this.procedureCategories.find((x) => x.id === this.procedureCategoryID);\r\n this.procedureType = this.procedureCategory?.procedureType;\r\n this.scheduleType = this.scheduleTypes.find((x) => x.procedureTypeID == this.procedureType?.id);\r\n this.loadProcedures();\r\n this.setHeaders();\r\n }\r\n );\r\n }\r\n\r\n setHeaders() {\r\n if (!this.procedureCategory) {\r\n return;\r\n }\r\n if (this.procedureCategory.procedureTypeID === ProcedureTypeEnum.RSSTest) {\r\n this.columns = [\r\n \"procedureNumber\",\r\n \"scheduleType\",\r\n \"description\",\r\n \"revision\",\r\n \"lastReviewed\",\r\n \"reviewPeriod\",\r\n \"nextDue\",\r\n \"files\",\r\n \"preparers\",\r\n \"reviewers\",\r\n \"approvers\",\r\n \"notes\",\r\n \"actions\",\r\n ];\r\n }\r\n if (\r\n this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RadSurvey\r\n ) {\r\n this.columns = [\r\n \"description\",\r\n \"procedureNumber\",\r\n \"revision\",\r\n \"scheduleType\",\r\n \"lastReviewed\",\r\n \"reviewPeriod\",\r\n \"nextDue\",\r\n \"files\",\r\n \"preparers\",\r\n \"reviewers\",\r\n \"approvers\",\r\n \"notes\",\r\n \"actions\",\r\n ];\r\n }\r\n if (\r\n this.procedureCategory.procedureTypeID === ProcedureTypeEnum.RSSTest ||\r\n this.procedureCategory.procedureTypeID === ProcedureTypeEnum.EPSTest ||\r\n this.procedureCategory.procedureTypeID === ProcedureTypeEnum.KEChecklist\r\n ) {\r\n this.sort = {\r\n active: \"description\",\r\n direction: \"asc\",\r\n };\r\n this.sortData();\r\n }\r\n this.labelTitleLocationGlobal =\r\n this.procedureCategory?.procedureTypeID !==\r\n ProcedureTypeEnum.ProcedureCenter &&\r\n this.procedureCategory?.procedureTypeID !==\r\n ProcedureTypeEnum.EPSDrawings &&\r\n this.procedureCategory?.procedureTypeID !== ProcedureTypeEnum.RadSurvey\r\n ? this.labellocation\r\n : this.labelTitle;\r\n this.labelGoogleDocsDraftGlobal =\r\n this.procedureCategory?.procedureTypeID === ProcedureTypeEnum.RSSTest ||\r\n this.procedureCategory?.procedureTypeID === ProcedureTypeEnum.EPSTest\r\n ? this.labelDraft\r\n : this.labelGoogleDoc;\r\n }\r\n\r\n loadProcedureCategories2() {\r\n this.procedureCategory$ = this.store.select(\r\n (state) => state.ProcedureCategory.ProcedureCategories\r\n );\r\n this.procedureCategorySubscription = this.procedureCategory$.subscribe(\r\n (data) => {\r\n this.procedureCategory = data.find(\r\n (x) => x.id === this.procedureCategoryID\r\n );\r\n this.setPrivileges();\r\n }\r\n );\r\n }\r\n\r\n loadProcedures() {\r\n this.procedure$ = this.store.select((state) => state.Procedures.data);\r\n this.procedureSubscription = this.procedure$.subscribe((data) => {\r\n if (data == null || data?.length == 0) {\r\n return;\r\n }\r\n this.setHeaders();\r\n this.procedures = data.filter(\r\n (x) =>\r\n x.procedureCategoryID === this.procedureCategoryID &&\r\n ((this.showInactive && x.status == 0) ||\r\n (!this.showInactive && x.status == 1)) &&\r\n ((!this.showArchived && x.active) || this.showArchived)\r\n );\r\n // this.procedures.map(p=> p.procedureNotes = this.getNotes(p.procedureNotes))\r\n if (this.myProcedures) {\r\n this.procedures = this.procedures.filter((x) => x.procedureSignatures?.map((s) => s.userID).includes(this.currentUser?.id ?? 0));\r\n }\r\n this.proceduresFiltered = this.filter\r\n ? this.procedures.filter(\r\n (x) =>\r\n x.procedureNumber?.trim()?.toUpperCase()?.includes(this.filter?.trim()?.toUpperCase()) || x.title?.trim()\r\n ?.toUpperCase()?.includes(this.filter?.trim()?.toUpperCase()) || x.procedureAppendices?.some((a) =>\r\n a.text?.toLowerCase().includes(this.filter?.trim()?.toLocaleLowerCase()))) : this.procedures;\r\n this.procedureDS.data = this.proceduresFiltered.sort((a, b) =>\r\n this.utils.compare(a.procedureNumber, b.procedureNumber, true)\r\n );\r\n this.sortData();\r\n this.setPrivileges();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n setPrivileges() {\r\n if (!this.currentUser) {\r\n return;\r\n }\r\n switch (this.procedureCategory?.procedureTypeID) {\r\n case ProcedureTypeEnum.EPSTest:\r\n this.preparer = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCEPSPreparer);\r\n this.reviewer = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCEPSReviewer);\r\n this.approver = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCEPSApprover);\r\n break;\r\n\r\n case ProcedureTypeEnum.RSSTest:\r\n this.preparer = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCRSSPreparer);\r\n this.reviewer = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCRSSReviewer);\r\n this.approver = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCRSSApprover);\r\n break;\r\n\r\n case ProcedureTypeEnum.RadSurvey:\r\n this.preparer = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCRADPreparer);\r\n this.reviewer = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCRADReviewer);\r\n this.approver = this.signatureAdmin\r\n ? true\r\n : this.hasPrivilege(PrivilegeEnum.PCRADApprover);\r\n break;\r\n\r\n default:\r\n this.preparer = true;\r\n this.reviewer = true;\r\n this.approver = true;\r\n break;\r\n }\r\n }\r\n\r\n loadProcedureConfiguration() {\r\n this.procedureConfiguration$ = this.store.select(\r\n (state) => state.ProcedureConfiguration.ProcedureConfiguration\r\n );\r\n this.procedureConfigurationSubscription =\r\n this.procedureConfiguration$.subscribe((data) => {\r\n this.procedureConfiguration = data;\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(\r\n (state) => state.ScheduleTypes.data\r\n );\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe((data) => {\r\n this.scheduleTypes = data;\r\n this.loadProcedureCategories();\r\n });\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(\r\n (state) => state.TemplateTypes.data\r\n );\r\n this.templateTypesSubs = this.templateTypes$.subscribe((data) => {\r\n this.templateTypes = data?.filter(\r\n (x) =>\r\n this.scheduleType &&\r\n x.scheduleTypeID == this.scheduleType?.id &&\r\n this.scheduleType?.procedureTypeID == this.procedureType?.id\r\n );\r\n });\r\n }\r\n\r\n createSignature(procedure: Procedure, type: ProcedureSignatureType, user: User | null = this.currentUser) {\r\n const privilege = this.getPrivilege(procedure?.procedureCategory?.procedureTypeID ?? 0, type);\r\n if (this.signatureAdmin) {\r\n this.dialog\r\n .open(UserAutocompletePopupComponent, {\r\n width: \"30vw\",\r\n data: {\r\n placeholder: \"Select a user\",\r\n selectedUsers: procedure.procedureSignatures,\r\n privileges: privilege ? [privilege] : null,\r\n } as UserAutocompletePopupParameters,\r\n })\r\n .afterClosed().toPromise().then(data => {\r\n if (data) {\r\n if (procedure?.procedureSignatures?.some((x) => x.userID === data?.user?.id)) {\r\n this.alert.message(\"ALSPC_UserAlreadyInProcedure\");\r\n } else {\r\n this.procedureService.createSignature({\r\n id: 0,\r\n procedureID: procedure.id,\r\n signatureType: type,\r\n userID: data?.user?.id,\r\n }).subscribe(() => { },\r\n (error) => this.alert.error(error.error)\r\n );\r\n }\r\n }\r\n });\r\n } else {\r\n if (procedure?.procedureSignatures?.some((x) => x.userID === user?.id)) {\r\n this.alert.message(\"ALSPC_UserAlreadyInProcedure\");\r\n } else {\r\n this.procedureService.createSignature({\r\n id: 0,\r\n procedureID: procedure.id,\r\n signatureType: type,\r\n userID: user?.id ?? 0\r\n }).subscribe(() => {\r\n this.alert.success(\"Signature added!\");\r\n },\r\n (error) => this.alert.error(error.error)\r\n );\r\n }\r\n }\r\n }\r\n\r\n removeSignature(procedureSignature: ProcedureSignature) {\r\n this.procedureService.deleteSignature(procedureSignature.id).subscribe(\r\n () => {\r\n this.alert.warning(\"Signature removed!\");\r\n },\r\n (error) => this.alert.error(error.error)\r\n );\r\n }\r\n\r\n approveSignature(procedureSignature: ProcedureSignature) {\r\n if (this.currentUser?.id != procedureSignature.userID) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"ALSPC_AreYouSureApproveOtherUser\").description.replace(\"{userName}\", procedureSignature.user?.name ?? ''),\r\n icon: \"stop\",\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.approve(procedureSignature);\r\n }\r\n });\r\n } else {\r\n this.approve(procedureSignature);\r\n }\r\n }\r\n\r\n approve(procedureSignature: ProcedureSignature) {\r\n this.procedureService.approveSignature(procedureSignature.id).subscribe(\r\n () => { },\r\n (error) => this.alert.error(error.error)\r\n );\r\n }\r\n\r\n unapproveSignature(procedureSignature: ProcedureSignature) {\r\n const message =\r\n this.currentUser?.id == procedureSignature.userID\r\n ? this.getMessage(\"ALSPC_AreYouSureRemoveYourApproval\").description\r\n : this.getMessage(\"ALSPC_AreYouSureRemoveOtherApproval\").description.replace(\"{userName}\", procedureSignature.user?.name ?? '');\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message,\r\n icon: \"stop\",\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.procedureService\r\n .unapproveSignature(procedureSignature.id)\r\n .subscribe(\r\n () => { },\r\n (error) => this.alert.error(error.error)\r\n );\r\n }\r\n });\r\n }\r\n\r\n deleteNote(note: ProcedureNote) {\r\n this.dialog\r\n .open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage(\"ALSPC_AreYouSureDeleteNote\").description,\r\n },\r\n })\r\n .afterClosed()\r\n .subscribe((data) => {\r\n if (data && note.id) {\r\n this.procedureService.deleteNote(note.id).subscribe(\r\n () => { },\r\n (error) => this.alert.error(error.error)\r\n );\r\n }\r\n });\r\n }\r\n\r\n openProcedurePopup(procedure: Procedure) {\r\n let obj: Procedure | null = null;\r\n\r\n if (\r\n this.procedureConfiguration?.currentPath?.trim()?.length <= 0 ||\r\n this.procedureConfiguration?.inactivePath?.trim()?.length <= 0 ||\r\n this.procedureConfiguration?.archivedPath?.trim()?.length <= 0\r\n ) {\r\n this.alert.message(\"ALSPC_ConfigurePaths\");\r\n return;\r\n }\r\n\r\n if (procedure != null) {\r\n obj = this.utils.cloneDeep(procedure);\r\n }\r\n\r\n this.dialog.open(ProcedurePopupComponent, {\r\n height: \"auto\",\r\n width: \"75vw\",\r\n maxHeight: \"85vh\",\r\n disableClose: true,\r\n data: {\r\n procedure: obj,\r\n procedureTab: this.tabIndex,\r\n },\r\n });\r\n }\r\n\r\n delete(id: number) {\r\n this.dialog\r\n .open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage(\"ALSPC_DeleteProcedureConfirmation\")\r\n .description,\r\n },\r\n })\r\n .afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.procedureService.delete(id).toPromise().catch((error) => this.alert.error(error.error));\r\n }\r\n });\r\n }\r\n\r\n addNote(procedure: Procedure) {\r\n this.dialog\r\n .open(ProcedureNotePopupComponent, {\r\n width: \"30vw\",\r\n data: procedure,\r\n })\r\n .afterClosed()\r\n .subscribe((data: ProcedureNote) => {\r\n if (data != null) {\r\n this.procedureService.createNote(data).subscribe(\r\n () => { },\r\n (error) => this.alert.error(error.error)\r\n );\r\n }\r\n });\r\n }\r\n\r\n complete(procedure: Procedure) {\r\n const newVersion: Procedure = this.utils.cloneDeep(procedure);\r\n newVersion.fileID = null;\r\n newVersion.file = null;\r\n newVersion.newProcedure = false;\r\n newVersion.procedureAppendices = [];\r\n procedure.procedureAppendices?.map((appendix) => {\r\n newVersion.procedureAppendices?.push({\r\n id: 0,\r\n formID: 0,\r\n fileID: appendix.fileID,\r\n text: appendix.text,\r\n url: appendix.url\r\n });\r\n });\r\n\r\n this.dialog.open(ProcedurePopupComponent, {\r\n height: \"auto\",\r\n width: \"75vw\",\r\n data: {\r\n procedure: newVersion,\r\n complete: true,\r\n },\r\n });\r\n }\r\n\r\n canComplete(procedure: Procedure): boolean {\r\n if (procedure.procedureCategory?.procedureTypeID === ProcedureTypeEnum.EPSTest || procedure.procedureCategory?.procedureTypeID === ProcedureTypeEnum.RSSTest) {\r\n return false;\r\n }\r\n return (\r\n !procedure.procedureSignatures?.some((x) => !x.signedOn) &&\r\n procedure.procedureSignatures?.some((x) => x.signatureType === ProcedureSignatureType.Preparer) &&\r\n procedure.procedureSignatures.some((x) => x.signatureType === ProcedureSignatureType.Approver) && this.signatureAdmin\r\n ) ?? false;\r\n }\r\n\r\n expired(procedure: Procedure): boolean {\r\n if (!procedure.nextDue)\r\n return false;\r\n\r\n return (\r\n moment(this.today).isAfter(procedure?.nextDue) &&\r\n procedure?.active &&\r\n procedure?.status === 1\r\n ) ?? false;\r\n }\r\n\r\n openChecklist(procedure: Procedure) {\r\n if (procedure.procedureMasterID)\r\n this.procedureService.getChecklistTemplate(procedure.procedureMasterID).subscribe(\r\n (data) => {\r\n this.checklistBuilderService.setChecklistTemplate(data);\r\n this.router.navigate([]).then(() => {\r\n window.open(\r\n \"/#/checklist-builder/\" + data.documentTypeID?.toString(),\r\n \"_blank\"\r\n );\r\n });\r\n },\r\n (error) =>\r\n this.alert.error(\r\n error.status === 404\r\n ? this.labelChecklistNotFound\r\n : this.labelGeneralError\r\n )\r\n );\r\n }\r\n\r\n getPrivilege(procedureType: ProcedureTypeEnum, procedureSignatureType: ProcedureSignatureType): PrivilegeEnum | null | undefined {\r\n switch (procedureType) {\r\n case ProcedureTypeEnum.EPSTest:\r\n switch (procedureSignatureType) {\r\n case ProcedureSignatureType.Preparer:\r\n return PrivilegeEnum.PCEPSPreparer;\r\n case ProcedureSignatureType.Reviewer:\r\n return PrivilegeEnum.PCEPSReviewer;\r\n case ProcedureSignatureType.Approver:\r\n return PrivilegeEnum.PCEPSApprover;\r\n default:\r\n return null;\r\n }\r\n\r\n case ProcedureTypeEnum.RSSTest:\r\n switch (procedureSignatureType) {\r\n case ProcedureSignatureType.Preparer:\r\n return PrivilegeEnum.PCRSSPreparer;\r\n case ProcedureSignatureType.Reviewer:\r\n return PrivilegeEnum.PCRSSReviewer;\r\n case ProcedureSignatureType.Approver:\r\n return PrivilegeEnum.PCRSSApprover;\r\n default:\r\n return null;\r\n }\r\n\r\n case ProcedureTypeEnum.RadSurvey:\r\n switch (procedureSignatureType) {\r\n case ProcedureSignatureType.Preparer:\r\n return PrivilegeEnum.PCRADPreparer;\r\n case ProcedureSignatureType.Reviewer:\r\n return PrivilegeEnum.PCRADReviewer;\r\n case ProcedureSignatureType.Approver:\r\n return PrivilegeEnum.PCRADApprover;\r\n default:\r\n return null;\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n hasTemplates() {\r\n return this.templateTypes?.length > 0;\r\n }\r\n\r\n isInSignatures(procedure: Procedure): boolean {\r\n if (this.signatureAdmin)\r\n return false;\r\n\r\n return procedure?.procedureSignatures?.some((x) => x.userID === this.currentUser?.id) ?? false;\r\n }\r\n\r\n sortData(sort: Sort = this.sort) {\r\n this.sort = sort;\r\n if (!this.proceduresFiltered)\r\n return;\r\n\r\n const data = this.proceduresFiltered.slice();\r\n if (!sort?.active || sort?.direction === \"\") {\r\n this.procedureDS.data = data;\r\n return;\r\n }\r\n\r\n this.procedureDS.data = data.sort((a, b) => {\r\n const isAsc = sort?.direction === \"asc\";\r\n switch (sort?.active) {\r\n case \"procedureNumber\":\r\n return this.utils.compare(a.procedureNumber, b.procedureNumber, isAsc);\r\n case \"description\":\r\n return this.utils.compare(a.title, b.title, isAsc);\r\n case \"lastReviewed\":\r\n return this.utils.compare(a.lastReviewed, b.lastReviewed, isAsc);\r\n case \"reviewPeriod\":\r\n return this.utils.compare(a.reviewPeriod, b.reviewPeriod, isAsc);\r\n case \"nextDue\":\r\n return this.utils.compare(a.nextDue, b.nextDue, isAsc);\r\n default:\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n sortedAppendices(procedure: Procedure): RelatedLinkDocumentBase[] {\r\n return procedure?.procedureAppendices?.sort((a, b) =>\r\n this.utils.compare(a.text, b.text, true)\r\n ) ?? [];\r\n }\r\n\r\n setLabels() {\r\n this.labelNumber = this.getMessage(\"ALSPC_Update_Number\")?.description;\r\n this.labelTitle = this.getMessage(\"ALSPC_Update_Title\")?.description;\r\n this.labelRevision = (this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.EPSTest || this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RSSTest || this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RadSurvey) ? 'Next Revision' :\r\n this.getMessage(\"ALSPC_Update_Revision\")?.description;\r\n this.labelStatus = this.getMessage(\"ALSPC_Update_Status\")?.description;\r\n this.labelLastReviewed = this.getMessage(\"ALSPC_Update_LastReviewed\")?.description;\r\n this.labelReviewPeriod = this.getMessage(\"ALSPC_Update_ReviewPeriod\")?.description;\r\n this.labelNextDue = this.getMessage(\"ALSPC_Update_NextDue\")?.description;\r\n this.labelGoogleDoc = this.getMessage(\"ALSPC_Update_GoogleDoc\")?.description;\r\n this.labelPreparers = this.getMessage(\"ALSPC_Update_Preparers\")?.description;\r\n this.labelAddPreparer = this.getMessage(\"ALSPC_Update_AddPreparer\")?.description;\r\n this.labelRemovePreparer = this.getMessage(\"ALSPC_Update_RemovePreparer\")?.description;\r\n this.labelApprovePreparer = this.getMessage(\"ALSPC_Update_ApprovePreparer\")?.description;\r\n this.labelUnapprovePreparer = this.getMessage(\"ALSPC_Update_UnapprovePreparer\")?.description;\r\n this.labelReviewers = this.getMessage(\"ALSPC_Update_Reviewers\")?.description;\r\n this.labelAddReviewer = this.getMessage(\"ALSPC_Update_AddReviewer\")?.description;\r\n this.labelRemoveReviewer = this.getMessage(\"ALSPC_Update_RemoveReviewer\")?.description;\r\n this.labelApproveReviewer = this.getMessage(\"ALSPC_Update_ApproveReviewer\")?.description;\r\n this.labelUnapproveReviewer = this.getMessage(\"ALSPC_Update_UnapproveReviewer\")?.description;\r\n this.labelApprovers = this.getMessage(\"ALSPC_Update_Approvers\")?.description;\r\n this.labelAddApprover = this.getMessage(\"ALSPC_Update_AddApprover\")?.description;\r\n this.labelRemoveApprover = this.getMessage(\"ALSPC_Update_RemoveApprover\")?.description;\r\n this.labelApproveApprover = this.getMessage(\"ALSPC_Update_ApproveApprover\")?.description;\r\n this.labelUnapproveApprover = this.getMessage(\"ALSPC_Update_UnapproveApprover\")?.description;\r\n this.labelNotes = this.getMessage(\"ALSPC_Update_Notes\")?.description;\r\n this.labelActions = this.getMessage(\"ALSPC_Update_Actions\")?.description;\r\n this.labelEdit = this.getMessage(\"ALSPC_Update_Edit\")?.description;\r\n this.labelDelete = this.getMessage(\"ALSPC_Update_Delete\")?.description;\r\n this.labelCreateNote = this.getMessage(\"ALSPC_Update_CreateNote\")?.description;\r\n this.labelPublish = this.getMessage(\"ALSPC_Update_Publish\")?.description;\r\n this.labellocation = this.getMessage(\"ALSPC_Update_Location\")?.description;\r\n this.labelDraft = this.getMessage(\"ALSPC_Update_Draft\")?.description;\r\n this.labelGeneralError = this.getMessage(\"defaultErrorMessage\")?.description;\r\n this.labelChecklistNotFound = this.getMessage(\"ALSPC_Update_ChecklistNotFound\")?.description;\r\n\r\n this.labelProcedureAndDocumentManagement = this.getMessage(\"ALSPC_Update_ProcedureAndDocumentManagement\"\r\n )?.description;\r\n this.labelTitleLocationGlobal = this.procedureCategory?.procedureTypeID !== ProcedureTypeEnum.ProcedureCenter &&\r\n this.procedureCategory?.procedureTypeID !== ProcedureTypeEnum.EPSDrawings &&\r\n this.procedureCategory?.procedureTypeID !== ProcedureTypeEnum.RadSurvey\r\n ? this.labellocation : this.labelTitle;\r\n this.labelGoogleDocsDraftGlobal = this.procedureCategory?.procedureTypeID ===\r\n ProcedureTypeEnum.RSSTest || this.procedureCategory?.procedureTypeID === ProcedureTypeEnum.EPSTest\r\n ? this.labelDraft : this.labelGoogleDoc;\r\n if (\r\n this.procedureCategory?.procedureTypeID == ProcedureTypeEnum.RadSurvey\r\n ) {\r\n this.labelTitleLocationGlobal = \"Beamline\";\r\n }\r\n\r\n if (!this.labelNumber) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 1000);\r\n }\r\n }\r\n\r\n getSignatures(e: Procedure, type: number) {\r\n return e.procedureSignatures?.filter((x) => x.signatureType == type);\r\n }\r\n\r\n getNotes(pnotes?: ProcedureNote[] | null) {\r\n const notes: Note[] = [];\r\n pnotes?.map(n => {\r\n notes.push({ id: n.id ?? 0, user: n.user, description: n.description, date: n.date, type: NoteType.Normal });\r\n });\r\n return notes;\r\n }\r\n\r\n\r\n notify(e: Procedure, toAll: boolean) {\r\n const toAddresses = e.procedureSignatures?.filter(s => toAll ? true : !s.signedOn).map(s => `(${s.user?.name}) ${s.user?.emailAddress}`);\r\n const messageBody = this.notificationTemplate?.messageBody\r\n .replaceAll('{procedureNo}', e.procedureNumber)\r\n .replaceAll('{category}', e.procedureCategory?.name ?? '')\r\n .replaceAll('{type}', e.procedureCategory?.procedureType?.name ?? '')\r\n .replaceAll('{title}', e.title ?? '');\r\n\r\n this.notificationMessage = {\r\n serialNo: e.procedureNumber,\r\n notificationId: 0,\r\n documentId: e.id,\r\n toAddresses: toAddresses?.join(', '),\r\n messageSubject: this.notificationTemplate?.messageSubject,\r\n messageBody,\r\n messageAdditionalText: '',\r\n signature: this.notificationTemplate?.signature,\r\n } as NotificationMessage;\r\n const dialogRef = this.dialog.open(NotificationComponent, {\r\n height: \"fit-content\",\r\n width: \"80%\",\r\n data: {\r\n message: this.notificationMessage,\r\n templateID: 24,\r\n emailAddresses: toAddresses,\r\n readOnly: false,\r\n send: true\r\n },\r\n });\r\n\r\n dialogRef\r\n .afterClosed()\r\n .toPromise()\r\n .then(data => {\r\n\r\n });\r\n }\r\n}\r\n","
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n Schedule Type\r\n \r\n \r\n {{\r\n e.scheduleType\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n Location\r\n \r\n \r\n {{ e.locationFreeText }}
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{ e.revision }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{\r\n e.status == 1 ? \"Active\" : \"Inactive\"\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{\r\n e.lastReviewed | date : \"shortDate\"\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{\r\n e.reviewPeriod == 1\r\n ? \"3 years\"\r\n : e.reviewPeriod == 2\r\n ? \"5 years\"\r\n : e.reviewPeriod == 3\r\n ? \"Upon Use\"\r\n : \"\"\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{\r\n e.nextDue == null || e.nextDue == undefined\r\n ? \"--\"\r\n : (e.nextDue | date : \"shortDate\")\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ file.text }}\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n person_add\r\n \r\n
    \r\n \r\n \r\n {{ signature?.user?.initials }}\r\n {{\r\n signature?.signedOn | date : \"shortDate\"\r\n }}\r\n \r\n cancel\r\n \r\n \r\n check_circle\r\n \r\n \r\n cancel\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n {{ signature?.user?.initials }}\r\n \r\n {{\r\n signature?.signedOn | date : \"shortDate\"\r\n }}\r\n \r\n \r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n person_add\r\n \r\n
    \r\n \r\n \r\n {{ signature?.user?.initials }}\r\n {{\r\n signature?.signedOn | date : \"shortDate\"\r\n }}\r\n \r\n cancel\r\n \r\n \r\n check_circle\r\n \r\n \r\n cancel\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n {{ signature?.user?.initials }}\r\n \r\n {{\r\n signature?.signedOn | date : \"shortDate\"\r\n }}\r\n \r\n \r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n person_add\r\n \r\n
    \r\n \r\n \r\n {{ signature?.user?.initials }}\r\n {{\r\n signature?.signedOn | date : \"shortDate\"\r\n }}\r\n \r\n cancel\r\n \r\n \r\n check_circle\r\n \r\n \r\n cancel\r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n {{ signature?.user?.initials }}\r\n \r\n {{\r\n signature?.signedOn | date : \"shortDate\"\r\n }}\r\n \r\n \r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n more_vert\r\n \r\n \r\n \r\n edit\r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n \r\n done_outline\r\n \r\n \r\n
    \r\n \r\n emailNotify\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, ElementRef, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenavContainer } from '@angular/material/sidenav';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ProcedureCategoryPopupComponent } from '../dialogs/procedure-category-popup/procedure-category-popup.component';\r\nimport { ProcedurePopupComponent } from '../dialogs/procedure-popup/procedure-popup.component';\r\nimport { ProcedureTypeEnum } from '../enums/procedure-type.enum';\r\nimport { ProcedureCategory } from '../models/procedure-category.model';\r\nimport { ProcedureConfiguration } from '../models/procedure-configuration.model';\r\nimport { Procedure } from '../models/procedure.model';\r\nimport { ProcedureCategoryRefresh } from '../store/procedure-category/procedure-category.action';\r\nimport { ProcedureConfigurationRefresh } from '../store/procedure-configuration/procedure-configuration.action';\r\nimport { ProcedureCreditedRefresh } from '../store/procedure-credited/procedure-credited.action';\r\nimport { ProcedureTemplateRefresh } from '../store/procedure-template/procedure-template.action';\r\nimport { ProcedureTrainingRefresh } from '../store/procedure-training/procedure-training.action';\r\n\r\n@Component({\r\n selector: 'app-procedure-update-v2',\r\n templateUrl: './procedure-update-v2.component.html',\r\n styleUrls: ['./procedure-update-v2.component.scss']\r\n})\r\nexport class ProcedureUpdateV2Component extends BaseComponent implements OnInit {\r\n\r\n disabled!: boolean;\r\n loading = false;\r\n loadingMessage!: string;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages!: string[];\r\n headerOnTop!: boolean;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter!: any[];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n ///////////////////////\r\n\r\n categoriesSubscription!: Subscription;\r\n categories$!: Observable;\r\n categories: ProcedureCategory[] = [];\r\n categoriesDS = new MatTableDataSource();\r\n categoriesColumns: string[] = ['category'];\r\n\r\n procedureConfigurationSubscription!: Subscription;\r\n procedureConfiguration$!: Observable;\r\n procedureConfiguration!: ProcedureConfiguration;\r\n\r\n showInactive = false;\r\n showArchived = false;\r\n showMyProcedures = false;\r\n sidenavOpened = false;\r\n today = new Date();\r\n categoryPermission = false;\r\n addNewPermission = false;\r\n procedureCategorySort = '';\r\n tabIndex = 0;\r\n\r\n\r\n prevScrollpos = window.pageYOffset;\r\n headerWidth = '';\r\n links = this.hasPrivilege(PrivilegeEnum.PCViewRadTab) ? ['Procedure', 'RSS Test', 'EPS Test', 'EPS Drawings', 'Rad Survey'] : ['Procedure', 'RSS Test', 'EPS Test', 'EPS Drawings'];\r\n activeLink = this.links[0];\r\n\r\n @ViewChild(MatSidenavContainer)\r\n sideNav!: MatSidenavContainer;\r\n @ViewChild('content')\r\n content!: ElementRef;\r\n\r\n tabLabel!: string;\r\n\r\n label_categories!: string;\r\n label_procedure_management!: string;\r\n label_filter!: string;\r\n label_manage_categories!: string;\r\n label_show_archived!: string;\r\n label_show_inactive!: string;\r\n label_show_myprocedures!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private activatedRoute: ActivatedRoute,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setLoading(true, LoadingOrigin.Self);\r\n // this.initStore();\r\n this.setLabels();\r\n this.categoryPermission = this.hasPrivilege(PrivilegeEnum.ALSProcedureCategory);\r\n this.addNewPermission = this.hasPrivilege(PrivilegeEnum.ALSProcedureAddNew);\r\n\r\n this.categories$ = this.store.select(state => state.ProcedureCategory.ProcedureCategories);\r\n this.categoriesSubscription = this.categories$.subscribe((data) => {\r\n this.categories = data.sort((a, b) => this.utils.compare(a.name, b.name, true));\r\n this.onTabChanged(null);\r\n });\r\n\r\n this.procedureConfiguration$ = this.store.select(state => state.ProcedureConfiguration.ProcedureConfiguration);\r\n this.procedureConfigurationSubscription = this.procedureConfiguration$.subscribe(data => {\r\n this.procedureConfiguration = data;\r\n });\r\n\r\n this.activatedRoute.queryParams.subscribe(params => {\r\n this.setTab(params?.['tab']);\r\n });\r\n this.setLoading(false, LoadingOrigin.Self);\r\n }\r\n\r\n applyFilter(e: any) {\r\n this.filter = e;\r\n }\r\n\r\n setLabels() {\r\n this.label_categories = this.getMessage('ALSPC_Update_Categories')?.description;\r\n this.label_procedure_management = this.getMessage('ALSPC_Update_ProcedureManagement')?.description;\r\n this.label_filter = this.getMessage('ALSPC_Update_Filter')?.description;\r\n this.label_manage_categories = this.getMessage('ALSPC_Update_ManageCategories')?.description;\r\n this.label_show_archived = this.getMessage('ALSPC_Update_ShowArchived')?.description;\r\n this.label_show_inactive = this.getMessage('ALSPC_Update_ShowInactive')?.description;\r\n this.label_show_myprocedures = 'My Procedures';\r\n if (!this.label_categories) {\r\n setTimeout(() => {\r\n this.setLabels();\r\n }, 1000);\r\n }\r\n }\r\n\r\n onTabChanged(e: any) {\r\n this.tabIndex = e ? this.links.indexOf(e) : 0;\r\n switch (this.tabIndex) {\r\n case 0:\r\n this.categoriesDS.data = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.ProcedureCenter);\r\n break;\r\n\r\n // case 1:\r\n // this.categoriesDS.data = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.KEChecklist);\r\n // break;\r\n\r\n case 1:\r\n this.categoriesDS.data = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.RSSTest);\r\n break;\r\n\r\n case 2:\r\n this.categoriesDS.data = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.EPSTest);\r\n break;\r\n\r\n case 3:\r\n this.categoriesDS.data = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.EPSDrawings);\r\n break;\r\n\r\n case 4:\r\n this.categoriesDS.data = this.categories.filter(x => x.procedureTypeID === ProcedureTypeEnum.RadSurvey);\r\n break;\r\n }\r\n }\r\n\r\n setTab(tabParam?: string) {\r\n this.tabIndex = tabParam ? Number(tabParam) : 0;\r\n this.setActiveLink();\r\n }\r\n\r\n setActiveLink() {\r\n this.activeLink = this.links[this.tabIndex];\r\n this.tabLabel = this.activeLink;\r\n }\r\n\r\n settings() {\r\n\r\n }\r\n\r\n\r\n navigate(id: number) {\r\n document.getElementById('_' + id.toString())?.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n\r\n openCategoriesPopup() {\r\n this.dialog.open(ProcedureCategoryPopupComponent, {\r\n height: 'auto',\r\n width: '75vw',\r\n data: {},\r\n });\r\n }\r\n\r\n openProcedurePopup(procedure: Procedure | null) {\r\n let obj: Procedure | null = null;\r\n\r\n if (this.procedureConfiguration?.currentPath?.trim()?.length <= 0 || this.procedureConfiguration?.inactivePath?.trim()?.length <= 0 || this.procedureConfiguration?.archivedPath?.trim()?.length <= 0) {\r\n this.alert.error('You need to configure tha paths to save the files');\r\n return;\r\n }\r\n\r\n if (procedure) {\r\n obj = this.utils.cloneDeep(procedure);\r\n }\r\n\r\n this.dialog.open(ProcedurePopupComponent, {\r\n height: 'auto',\r\n width: '75vw',\r\n maxHeight: '85vh',\r\n disableClose: true,\r\n data: {\r\n procedure: obj,\r\n procedureTab: this.tabIndex,\r\n }\r\n });\r\n\r\n }\r\n\r\n initStore() {\r\n this.store.dispatch(\r\n new ProcedureCategoryRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureTrainingRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureCreditedRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureTemplateRefresh()\r\n );\r\n this.store.dispatch(\r\n new ProcedureConfigurationRefresh()\r\n );\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Self:\r\n this.loadingSelf = e as boolean;\r\n break;\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingSelf || this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingSelf = false;\r\n loadingOrigin = LoadingOrigin;\r\n}\r\n\r\nenum LoadingOrigin {\r\n Self = 0, Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n menu\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ label_procedure_management }}\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n {{ e.name }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Create New Procedure\r\n add_box\r\n \r\n \r\n Manage Categories\r\n settings\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatFileUploadModule } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { ScheduleModule } from '../schedules/schedule.module';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { NgxsReduxDevtoolsPluginModule } from '@ngxs/devtools-plugin';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ProcedureTrainingService } from 'src/app/components/procedure/services/procedure-training.service';\r\nimport { ProcedureService } from 'src/app/components/procedure/services/procedure.service';\r\nimport { ProcedureAllV2Component } from './procedure-all-v2/procedure-all-v2.component';\r\nimport { ProcedureTableComponent } from './procedure-all-v2/procedure-table/procedure-table.component';\r\nimport { ProcedureReportsComponent } from './procedure-reports/procedure-reports/procedure-reports.component';\r\nimport { MatTableExporterModule } from 'mat-table-exporter';\r\nimport { ProcedurePopupComponent } from './dialogs/procedure-popup/procedure-popup.component';\r\nimport { ProcedureCategoryPopupComponent } from './dialogs/procedure-category-popup/procedure-category-popup.component';\r\nimport { ProcedureUpdateV2Component } from './procedure-update-v2/procedure-update-v2.component';\r\nimport { ProcedureNotePopupComponent } from './dialogs/procedure-note-popup/procedure-note-popup.component';\r\nimport { ProcedureUpdateTableComponent } from './procedure-update-v2/procedure-update-table/procedure-update-table.component';\r\nimport { ExtraProcedureTrainingPopupComponent } from './procedure-training-v2/extra-procedure-training-popup/extra-procedure-training-popup.component';\r\nimport { ProcedureTrainingV2Component } from './procedure-training-v2/procedure-training-v2.component';\r\nimport { ProcedureTrainingsTableComponent } from './procedure-training-v2/procedure-trainings-table/procedure-trainings-table.component';\r\nimport { CreditedDatePopupComponent } from './procedure-training-v2/credited-date-popup/credited-date-popup.component';\r\nimport { ProcedureTrainingsAppendicesComponent } from './procedure-training-v2/procedure-trainings-table/procedure-trainings-appendices/procedure-trainings-appendices.component';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\n\r\nconst appRoutes: Routes = [\r\n { path: 'procedure-update', component: ProcedureUpdateV2Component, canDeactivate: [RedirectGuard] },\r\n { path: 'procedure-all', component: ProcedureAllV2Component, canDeactivate: [RedirectGuard] },\r\n { path: 'procedure-training', component: ProcedureTrainingV2Component, canDeactivate: [RedirectGuard] },\r\n // { path: 'procedure-template', component: ProcedureTemplateComponent },\r\n { path: 'procedure-report', component: ProcedureReportsComponent, canDeactivate: [RedirectGuard] },\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n ProcedureCategoryPopupComponent,\r\n ProcedurePopupComponent,\r\n ProcedureNotePopupComponent,\r\n // ProcedureTemplateComponent,\r\n ProcedureUpdateTableComponent,\r\n ProcedureTableComponent,\r\n ProcedureTrainingsTableComponent,\r\n ExtraProcedureTrainingPopupComponent,\r\n CreditedDatePopupComponent,\r\n ProcedureUpdateV2Component,\r\n ProcedureAllV2Component,\r\n ProcedureTrainingV2Component,\r\n // ProcedureTrainingComponent,\r\n ProcedureReportsComponent,\r\n ProcedureTrainingsAppendicesComponent\r\n ],\r\n\r\n imports: [\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n ScheduleModule,\r\n MatSidenavModule,\r\n SharedModule,\r\n MatToolbarModule,\r\n MatTableExporterModule,\r\n CommonModule,\r\n MatOptionModule,\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules\r\n }\r\n ),\r\n FormsModule,\r\n NgxsReduxDevtoolsPluginModule.forRoot(),\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n // ProcedureListener,\r\n // ProcedureCategoryService,\r\n ProcedureService,\r\n ProcedureTrainingService,\r\n // ProcedureCreditedService,\r\n // ProcedureTemplateService,\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class ProcedureModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ProcedureCategory } from '../models/procedure-category.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureCategoryService {\r\n private url: string = environment.urls.baseApiUrl + \"/ProcedureCategory\";\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n public create(obj: ProcedureCategory): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n public read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n public update(id: number, obj: ProcedureCategory): Observable {\r\n return this.http.put(this.url + \"/\" + id.toString(), obj);\r\n }\r\n\r\n public delete(id: number): Observable {\r\n return this.http.delete(this.url + \"/\" + id.toString());\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ProcedureConfiguration } from '../models/procedure-configuration.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureConfigurationService {\r\n private url: string = environment.urls.baseApiUrl + '/ProcedureConfiguration';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n public read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n public update(id: number, configuration: ProcedureConfiguration): Observable {\r\n return this.http.put(this.url + '/' + id.toString(), configuration);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ProcedureCredited } from '../models/procedure-credited.model';\r\nimport { ProcedureTrainingCredited } from '../models/procedure-training-credited.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureCreditedService {\r\n private url: string = environment.urls.baseApiUrl + '/ProcedureCredited';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n complete(procedureID: number, userID: number = 0): Observable {\r\n return this.http.post(this.url + '/Complete/' + procedureID.toString() + '/' + userID.toString(), null);\r\n }\r\n\r\n approve(procedureCreditedID: number, procedureTrainingCredited: ProcedureTrainingCredited): Observable {\r\n return this.http.put(this.url + '/Approve/' + procedureCreditedID.toString(), procedureTrainingCredited);\r\n }\r\n\r\n // Undo completion || removes training credit letting the complete option available\r\n removeProcedureCredited(procedureCreditedID: number): Observable {\r\n return this.http.delete(this.url + '/RemoveProcedureCredited/' + procedureCreditedID.toString());\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ProcedureReport } from '../models/procedure-report.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureReportService {\r\n private url: string = environment.urls.baseApiUrl + '/ProcedureCredited';\r\n\r\n constructor(\r\n private http: HttpClient) { }\r\n\r\n public read(): Observable {\r\n return this.http.get(this.url + '/ProcedureReport');\r\n }\r\n\r\n public readByUserID(userID: number): Observable {\r\n return this.http.get(this.url + '/ProcedureReport/' + userID);\r\n }\r\n\r\n}\r\n","import { HttpClient } from \"@angular/common/http\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { Observable } from \"rxjs\";\r\nimport { environment } from \"src/environments/environment\";\r\nimport { ProcedureTemplateMaster } from \"../models/procedure-template-master.model\";\r\nimport { ProcedureTemplate } from \"../models/procedure-template.model\";\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureTemplateService {\r\n private url: string = environment.urls.baseApiUrl + '/ProcedureTemplate';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n createProcedureTemplateMaster(procedureTemplateMaster: ProcedureTemplateMaster): Observable {\r\n return this.http.post(this.url + '/Master', procedureTemplateMaster);\r\n }\r\n\r\n readProcedureTemplateMaster(): Observable {\r\n return this.http.get(this.url + '/Master');\r\n }\r\n\r\n updateProcedureTemplateMaster(id: number, procedureTemplateMaster: ProcedureTemplateMaster): Observable {\r\n return this.http.put(this.url + '/Master/' + id.toString(), procedureTemplateMaster);\r\n }\r\n\r\n deleteProcedureTemplateMaster(id: number): Observable {\r\n return this.http.delete(this.url + '/Master/' + id.toString());\r\n }\r\n\r\n createProcedureTemplate(procedureTemplate: ProcedureTemplate): Observable {\r\n return this.http.post(this.url, procedureTemplate);\r\n }\r\n\r\n updateProcedureTemplate(id: number, procedureTemplate: ProcedureTemplate): Observable {\r\n return this.http.put(this.url + '/' + id.toString(), procedureTemplate);\r\n }\r\n\r\n deleteProcedureTemplate(id: number): Observable {\r\n return this.http.delete(this.url + '/' + id.toString());\r\n }\r\n}\r\n","import { HttpClient } from \"@angular/common/http\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { Observable } from \"rxjs\";\r\nimport { environment } from \"src/environments/environment\";\r\nimport { ProcedureTraining } from \"../models/procedure-training.model\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureTrainingService {\r\n private url: string = environment.urls.baseApiUrl + \"/ProcedureTraining\";\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n create(procedureTraining: ProcedureTraining): Observable {\r\n return this.http.post(this.url, procedureTraining);\r\n }\r\n\r\n createFromTemplate(roleID: number, templateID: number): Observable {\r\n return this.http.post(this.url + '/FromTemplate?roleID=' + roleID.toString() + '&templateID=' + templateID.toString(), null);\r\n }\r\n\r\n read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n update(id: number, procedureTraining: ProcedureTraining): Observable {\r\n return this.http.put(this.url + \"/\" + id.toString(), procedureTraining);\r\n }\r\n\r\n delete(id: number): Observable {\r\n return this.http.delete(this.url + '/' + id.toString());\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ProcedureType } from '../models/procedure-type';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureTypeService {\r\n private url: string = environment.urls.baseApiUrl + '/ProcedureTypes';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n public create(obj: ProcedureType): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n public read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n public update(id: number, obj: ProcedureType): Observable {\r\n return this.http.put(this.url + '/' + id.toString(), obj);\r\n }\r\n\r\n public delete(id: number): Observable {\r\n return this.http.delete(this.url + '/' + id.toString());\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Checklist, ChecklistTemplate } from 'src/app/components/checklists/checklists';\r\nimport { environment } from 'src/environments/environment';\r\nimport { PrivilegeEnum } from '../../../services/role-privilege/privilege-enum';\r\nimport { ProcedureNote } from '../models/procedure-note.model';\r\nimport { ProcedureSignatureType } from '../enums/procedure-signature-type.enum';\r\nimport { ProcedureSignature } from '../models/procedure-signature.model';\r\nimport { ProcedureTypeEnum } from '../enums/procedure-type.enum';\r\nimport { Procedure } from '../models/procedure.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureService {\r\n private url: string = environment.urls.baseApiUrl + '/Procedure';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n public read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n public readByType(type: number): Observable {\r\n return this.http.get(this.url + '/ByProcedureType/' + type);\r\n }\r\n\r\n public create(procedure: Procedure): Observable {\r\n return this.http.post(this.url, procedure);\r\n }\r\n\r\n public update(id: number, procedure: Procedure): Observable {\r\n return this.http.put(this.url + '/' + id.toString(), procedure);\r\n }\r\n\r\n public delete(id: number): Observable {\r\n return this.http.delete(this.url + '/' + id.toString());\r\n }\r\n\r\n public createSignature(procedureSignature: ProcedureSignature): Observable {\r\n return this.http.post(this.url + '/Signature', procedureSignature);\r\n }\r\n\r\n public deleteSignature(id: number): Observable {\r\n return this.http.delete(this.url + '/Signature/' + id.toString());\r\n }\r\n\r\n public approveSignature(id: number): Observable {\r\n return this.http.put(this.url + '/Signature/Approve/' + id.toString(), null);\r\n }\r\n\r\n public unapproveSignature(id: number): Observable {\r\n return this.http.put(this.url + '/Signature/Unapprove/' + id.toString(), null);\r\n }\r\n\r\n public createNote(note: ProcedureNote): Observable {\r\n return this.http.post(this.url + '/Note', note);\r\n }\r\n\r\n public deleteNote(id: number): Observable {\r\n return this.http.delete(this.url + '/Note/' + id.toString());\r\n }\r\n\r\n public complete(id: number, procedure: Procedure): Observable {\r\n return this.http.post(this.url + '/Complete/' + id.toString(), procedure);\r\n }\r\n\r\n // public signatures(userId: number): Observable {\r\n // return this.http.get(this.url + '/signatures/' + userId);\r\n // }\r\n\r\n public getChecklist(procedureMasterID: number): Observable {\r\n return this.http.get(this.url + '/checklist/' + procedureMasterID.toString());\r\n }\r\n\r\n public getChecklistTemplate(procedureMasterID: number, status?: number): Observable {\r\n return this.http.get(this.url + '/checklistTemplate/' + procedureMasterID.toString() + (status !== undefined && status !== null ? '?status=' + status?.toString() : ''));\r\n }\r\n\r\n public getPrivilege(procedureType?: ProcedureTypeEnum, procedureSignatureType?: ProcedureSignatureType): PrivilegeEnum | null {\r\n switch (procedureType) {\r\n case ProcedureTypeEnum.EPSTest:\r\n switch (procedureSignatureType) {\r\n case ProcedureSignatureType.Preparer: return PrivilegeEnum.PCEPSPreparer;\r\n case ProcedureSignatureType.Reviewer: return PrivilegeEnum.PCEPSReviewer;\r\n case ProcedureSignatureType.Approver: return PrivilegeEnum.PCEPSApprover;\r\n default: return null;\r\n }\r\n\r\n case ProcedureTypeEnum.RSSTest:\r\n switch (procedureSignatureType) {\r\n case ProcedureSignatureType.Preparer: return PrivilegeEnum.PCRSSPreparer;\r\n case ProcedureSignatureType.Reviewer: return PrivilegeEnum.PCRSSReviewer;\r\n case ProcedureSignatureType.Approver: return PrivilegeEnum.PCRSSApprover;\r\n default: return null;\r\n }\r\n\r\n case ProcedureTypeEnum.RadSurvey:\r\n switch (procedureSignatureType) {\r\n case ProcedureSignatureType.Preparer: return PrivilegeEnum.PCRADPreparer;\r\n case ProcedureSignatureType.Reviewer: return PrivilegeEnum.PCRADReviewer;\r\n case ProcedureSignatureType.Approver: return PrivilegeEnum.PCRADApprover;\r\n default: return null;\r\n }\r\n }\r\n return null;\r\n }\r\n}\r\n","import { ProcedureCategory } from \"../../models/procedure-category.model\";\r\n\r\nexport class ProcedureCategoryRefresh {\r\n static readonly type = \"[ProcedureCategory] Refresh\";\r\n}\r\n\r\nexport class ProcedureCategoryCreate {\r\n static readonly type = \"[ProcedureCategory] Create\";\r\n\r\n constructor(public item: ProcedureCategory) { }\r\n}\r\n\r\nexport class ProcedureCategoryUpdate {\r\n static readonly type = \"[ProcedureCategory] Update\";\r\n\r\n constructor(public id: number, public item: ProcedureCategory) { }\r\n}\r\n\r\nexport class ProcedureCategoryDelete {\r\n static readonly type = \"[ProcedureCategory] Delete\";\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { State, Selector, Action, StateContext } from '@ngxs/store';\r\nimport { Injectable } from '@angular/core';\r\nimport { ProcedureCategoryRefresh, ProcedureCategoryCreate, ProcedureCategoryUpdate, ProcedureCategoryDelete } from './procedure-category.action';\r\nimport { ProcedureCategory } from '../../models/procedure-category.model';\r\nimport { ProcedureCategoryService } from '../../services/procedure-category.service';\r\n\r\nexport class ProcedureCategoryStateModel {\r\n ProcedureCategories: ProcedureCategory[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ProcedureCategory',\r\n defaults: {\r\n ProcedureCategories: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ProcedureCategoryState {\r\n constructor(\r\n private procedureCategoryService: ProcedureCategoryService\r\n ) { }\r\n\r\n @Action(ProcedureCategoryRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.procedureCategoryService.read().subscribe(\r\n data => patchState({ ProcedureCategories: data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Selector()\r\n static read(state: ProcedureCategoryStateModel) {\r\n return state.ProcedureCategories;\r\n }\r\n\r\n @Action(ProcedureCategoryCreate)\r\n create({ getState, patchState }: StateContext, { item }: ProcedureCategoryCreate) {\r\n const state = getState();\r\n\r\n patchState({\r\n ProcedureCategories: [...state.ProcedureCategories, item]\r\n });\r\n }\r\n\r\n @Action(ProcedureCategoryUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ProcedureCategoryUpdate) {\r\n const state = getState();\r\n const index = state.ProcedureCategories.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.ProcedureCategories.splice(index, 1);\r\n patchState({\r\n ProcedureCategories: [...state.ProcedureCategories, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ProcedureCategoryDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ProcedureCategoryDelete) {\r\n patchState({\r\n ProcedureCategories: getState().ProcedureCategories.filter(x => x.id != id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n\r\nimport * as ProcedureCategoryActions from './procedure-category.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureCategoryStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ProcedureCategoryActions.ProcedureCategoryRefresh());\r\n }\r\n\r\n initListeners() {\r\n // ABSI\r\n this.signalRService.hubConnection?.on(Channels.PROCEDURECATEGORY, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ProcedureCategoryActions.ProcedureCategoryCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ProcedureCategoryActions.ProcedureCategoryUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ProcedureCategoryActions.ProcedureCategoryDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ProcedureCategoryActions.ProcedureCategoryRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { ProcedureConfiguration } from \"../../models/procedure-configuration.model\";\r\n\r\nexport class ProcedureConfigurationRefresh {\r\n static readonly type = '[ProcedureConfiguration] Refresh';\r\n}\r\n\r\nexport class ProcedureConfigurationUpdate {\r\n static readonly type = '[ProcedureConfiguration] Update';\r\n\r\n constructor(public item: ProcedureConfiguration) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ProcedureConfigurationRefresh, ProcedureConfigurationUpdate } from './procedure-configuration.action';\r\nimport { ProcedureConfiguration } from '../../models/procedure-configuration.model';\r\nimport { ProcedureConfigurationService } from '../../services/procedure-configuration.service';\r\n\r\nexport class ProcedureConfigurationStateModel {\r\n ProcedureConfiguration!: ProcedureConfiguration | null;\r\n}\r\n\r\n@State({\r\n name: 'ProcedureConfiguration',\r\n defaults: {\r\n ProcedureConfiguration: null\r\n }\r\n})\r\n@Injectable()\r\nexport class ProcedureConfigurationState {\r\n constructor(\r\n private procedureConfigurationService: ProcedureConfigurationService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ProcedureConfigurationStateModel) {\r\n return state.ProcedureConfiguration;\r\n }\r\n\r\n @Action(ProcedureConfigurationRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.procedureConfigurationService.read().subscribe(\r\n data => patchState({ ProcedureConfiguration: data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ProcedureConfigurationUpdate)\r\n update({ patchState }: StateContext, { item }: ProcedureConfigurationUpdate) {\r\n patchState({\r\n ProcedureConfiguration: item\r\n });\r\n }\r\n}\r\n","import { ProcedureCredited } from \"../../models/procedure-credited.model\";\r\n\r\nexport class ProcedureCreditedRefresh {\r\n static readonly type = \"[ProcedureCredited] Refresh\";\r\n}\r\n\r\nexport class ProcedureCreditedCreate {\r\n static readonly type = \"[ProcedureCredited] Create\";\r\n\r\n constructor(public item: ProcedureCredited) { }\r\n}\r\n\r\nexport class ProcedureCreditedUpdate {\r\n static readonly type = \"[ProcedureCredited] Update\";\r\n\r\n constructor(public id: number, public item: ProcedureCredited) { }\r\n}\r\n\r\nexport class ProcedureCreditedDelete {\r\n static readonly type = \"[ProcedureCredited] Delete\";\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ProcedureCreditedCreate, ProcedureCreditedDelete, ProcedureCreditedRefresh, ProcedureCreditedUpdate } from './procedure-credited.action';\r\nimport { ProcedureCreditedService } from '../../services/procedure-credited.service';\r\nimport { ProcedureCredited } from '../../models/procedure-credited.model';\r\n\r\nexport class ProcedureCreditedStateModel {\r\n data: ProcedureCredited[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ProcedureCredited',\r\n defaults: {\r\n data: [],\r\n },\r\n})\r\n@Injectable()\r\nexport class ProcedureCreditedState {\r\n constructor(\r\n private procedureCreditedService: ProcedureCreditedService,\r\n ) {\r\n }\r\n\r\n @Selector()\r\n static read(state: ProcedureCreditedStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ProcedureCreditedRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.procedureCreditedService.read().subscribe(\r\n data => patchState({ data: data }),\r\n error => console.error(error),\r\n );\r\n }\r\n\r\n @Action(ProcedureCreditedCreate)\r\n create({ getState, patchState }: StateContext, { item }: ProcedureCreditedCreate) {\r\n patchState({\r\n data: [...getState().data, item],\r\n });\r\n }\r\n\r\n @Action(ProcedureCreditedUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ProcedureCreditedUpdate) {\r\n const index = getState().data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n getState().data.splice(index, 1);\r\n patchState({\r\n data: [...getState().data, item],\r\n });\r\n }\r\n }\r\n\r\n @Action(ProcedureCreditedDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ProcedureCreditedDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id),\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n\r\nimport * as ProcedureCreditedActions from './procedure-credited.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\nimport { Subscription } from 'rxjs';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { MissingTrainingRefresh } from '../procedure-missing-training/procedure-missing-training.action';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureCreditedStoreAndListenersService {\r\n currentUser?: User | null;\r\n subscription!: Subscription;\r\n constructor(private store: Store, private signalRService: SignalRService, private ass: AppStateService) { }\r\n initStore() {\r\n this.store.dispatch(new ProcedureCreditedActions.ProcedureCreditedRefresh());\r\n this.subscription = this.ass.AppState.subscribe(appState => {\r\n this.currentUser = appState.currentUser;\r\n });\r\n }\r\n\r\n initListeners() {\r\n // ABSI\r\n this.signalRService.hubConnection?.on(Channels.PROCEDURECREDITED, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ProcedureCreditedActions.ProcedureCreditedCreate(data.obj));\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ProcedureCreditedActions.ProcedureCreditedUpdate(data.id, data.obj));\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ProcedureCreditedActions.ProcedureCreditedDelete(data.id));\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ProcedureCreditedActions.ProcedureCreditedRefresh());\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n }\r\n });\r\n\r\n }\r\n}\r\n","export class MissingTrainingRefresh {\r\n static readonly type = \"[MissingTraining] Refresh\";\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Action, State, StateContext } from \"@ngxs/store\";\r\nimport { MissingTrainingRefresh } from \"./procedure-missing-training.action\";\r\nimport { ProcedureReportService } from \"../../services/procedure-report.service\";\r\n\r\nexport class MissingTrainingStateModel {\r\n data: number = 0;\r\n}\r\n\r\n@State({\r\n name: \"MissingTraining\",\r\n defaults: {\r\n data: 0\r\n }\r\n})\r\n@Injectable()\r\nexport class MissingTrainingState {\r\n\r\n constructor(private service: ProcedureReportService) { }\r\n\r\n @Action(MissingTrainingRefresh)\r\n refresh({ patchState }: StateContext, { id }: MissingTrainingRefresh) {\r\n if (id) {\r\n this.service.readByUserID(id).subscribe(data => {\r\n const mt = data.filter(d => d.active && d.revision != d.creditedRevision).length;\r\n patchState({ data: mt });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n else patchState({ data: 0 });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n\r\nimport * as MissingTrainingActions from './procedure-missing-training.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\nimport { Subscription } from 'rxjs';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MissingTrainingStoreAndListenersService {\r\n\r\n currentUser?: User | null;\r\n subscription!: Subscription;\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService,\r\n private ass: AppStateService\r\n ) {\r\n this.subscription = this.ass.AppState.subscribe(appState => {\r\n this.currentUser = appState.currentUser;\r\n this.store.dispatch(new MissingTrainingActions.MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n });\r\n }\r\n\r\n initStore() {\r\n this.store.dispatch(new MissingTrainingActions.MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.MISSINGTRAINING, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Get:\r\n this.store.dispatch(new MissingTrainingActions.MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { ProcedureTemplateMaster } from \"../../models/procedure-template-master.model\";\r\n\r\nexport class ProcedureTemplateRefresh {\r\n static readonly type = '[ProcedureTemplate] Refresh';\r\n}\r\n\r\nexport class ProcedureTemplateCreate {\r\n static readonly type = '[ProcedureTemplate] Create';\r\n\r\n constructor(public item: ProcedureTemplateMaster) { }\r\n}\r\n\r\nexport class ProcedureTemplateUpdate {\r\n static readonly type = '[ProcedureTemplate] Update';\r\n\r\n constructor(public id: number, public item: ProcedureTemplateMaster) { }\r\n}\r\n\r\nexport class ProcedureTemplateDelete {\r\n static readonly type = '[ProcedureTemplate] Delete';\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Action, Selector, State, StateContext } from \"@ngxs/store\";\r\nimport { ProcedureTemplateCreate, ProcedureTemplateDelete, ProcedureTemplateRefresh, ProcedureTemplateUpdate } from \"./procedure-template.action\";\r\nimport { ProcedureTemplate } from \"../../models/procedure-template.model\";\r\nimport { ProcedureTemplateService } from \"../../services/procedure-template.service\";\r\n\r\nexport class ProcedureTemplateStateModel {\r\n ProcedureTemplates: ProcedureTemplate[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ProcedureTemplate',\r\n defaults: {\r\n ProcedureTemplates: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class ProcedureTemplateState {\r\n constructor(\r\n private procedureTemplateService: ProcedureTemplateService,\r\n ) { }\r\n\r\n @Action(ProcedureTemplateRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.procedureTemplateService.readProcedureTemplateMaster().subscribe(\r\n data => patchState({ ProcedureTemplates: data }),\r\n error => console.error(error),\r\n );\r\n }\r\n\r\n @Selector()\r\n static read(state: ProcedureTemplateStateModel) {\r\n return state.ProcedureTemplates;\r\n }\r\n\r\n @Action(ProcedureTemplateCreate)\r\n create({ getState, patchState }: StateContext, { item }: ProcedureTemplateCreate) {\r\n patchState({\r\n ProcedureTemplates: [...getState().ProcedureTemplates, item],\r\n });\r\n }\r\n\r\n @Action(ProcedureTemplateUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ProcedureTemplateUpdate) {\r\n const index = getState().ProcedureTemplates.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n getState().ProcedureTemplates.splice(index, 1);\r\n patchState({\r\n ProcedureTemplates: [...getState().ProcedureTemplates, item],\r\n });\r\n }\r\n }\r\n\r\n @Action(ProcedureTemplateDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ProcedureTemplateDelete) {\r\n patchState({\r\n ProcedureTemplates: getState().ProcedureTemplates.filter(x => x.id != id),\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n\r\nimport * as ProcedureTemplateActions from './procedure-template.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureTemplateStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ProcedureTemplateActions.ProcedureTemplateRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PROCEDURETEMPLATE, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ProcedureTemplateActions.ProcedureTemplateCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ProcedureTemplateActions.ProcedureTemplateUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ProcedureTemplateActions.ProcedureTemplateDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ProcedureTemplateActions.ProcedureTemplateRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { ProcedureTraining } from \"src/app/components/procedure/models/procedure-training.model\";\r\n\r\nexport class ProcedureTrainingRefresh {\r\n static readonly type = \"[ProcedureTraining] Refresh\";\r\n}\r\n\r\nexport class ProcedureTrainingCreate {\r\n static readonly type = \"[ProcedureTraining] Create\";\r\n\r\n constructor(public item: ProcedureTraining) { }\r\n}\r\n\r\nexport class ProcedureTrainingUpdate {\r\n static readonly type = \"[ProcedureTraining] Update\";\r\n\r\n constructor(public id: number, public item: ProcedureTraining) { }\r\n}\r\n\r\nexport class ProcedureTrainingDelete {\r\n static readonly type = \"[ProcedureTraining] Delete\";\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Action, State, StateContext } from \"@ngxs/store\";\r\nimport { ProcedureTrainingService } from \"src/app/components/procedure/services/procedure-training.service\";\r\nimport { ProcedureTrainingCreate, ProcedureTrainingDelete, ProcedureTrainingRefresh, ProcedureTrainingUpdate } from \"./procedure-training.action\";\r\nimport { ProcedureTraining } from \"../../models/procedure-training.model\";\r\n\r\nexport class ProcedureTrainingStateModel {\r\n data: ProcedureTraining[] = [];\r\n}\r\n\r\n@State({\r\n name: \"ProcedureTraining\",\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ProcedureTrainingState {\r\n constructor(\r\n private procedureTrainingService: ProcedureTrainingService\r\n ) { }\r\n\r\n @Action(ProcedureTrainingRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.procedureTrainingService.read().subscribe(\r\n data => patchState({ data: data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ProcedureTrainingCreate)\r\n create({ getState, patchState }: StateContext, { item }: ProcedureTrainingCreate) {\r\n patchState({ data: [...getState().data, item] });\r\n }\r\n\r\n @Action(ProcedureTrainingUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ProcedureTrainingUpdate) {\r\n const index = getState().data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n getState().data.splice(index, 1);\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ProcedureTrainingDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ProcedureTrainingDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n })\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n\r\nimport * as ProcedureTrainingActions from './procedure-training.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\nimport { MissingTrainingRefresh } from '../procedure-missing-training/procedure-missing-training.action';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { Subscription } from 'rxjs';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureTrainingStoreAndListenersService {\r\n currentUser?: User | null;\r\n subscription!: Subscription;\r\n\r\n constructor(private store: Store, private signalRService: SignalRService, private ass: AppStateService) { }\r\n initStore() {\r\n this.store.dispatch(new ProcedureTrainingActions.ProcedureTrainingRefresh());\r\n this.subscription = this.ass.AppState.subscribe(appState => {\r\n this.currentUser = appState.currentUser;\r\n });\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PROCEDURETRAINING, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ProcedureTrainingActions.ProcedureTrainingCreate(data.obj));\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ProcedureTrainingActions.ProcedureTrainingUpdate(data.id, data.obj));\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ProcedureTrainingActions.ProcedureTrainingDelete(data.id));\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ProcedureTrainingActions.ProcedureTrainingRefresh());\r\n this.store.dispatch(new MissingTrainingRefresh(this.currentUser?.id ?? 0));\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { ProcedureType } from \"../../models/procedure-type\";\r\n\r\nexport class ProcedureTypeRefresh {\r\n static readonly type = '[ProcedureType] Refresh';\r\n}\r\nexport class ProcedureTypeCreate {\r\n static readonly type = '[ProcedureType] Create';\r\n constructor(public item: ProcedureType) { }\r\n}\r\nexport class ProcedureTypeUpdate {\r\n static readonly type = '[ProcedureType] Update';\r\n constructor(public id: number, public item: ProcedureType) { }\r\n}\r\nexport class ProcedureTypeDelete {\r\n static readonly type = '[ProcedureType] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ProcedureTypeCreate, ProcedureTypeDelete, ProcedureTypeRefresh, ProcedureTypeUpdate } from './procedure-types.action';\r\nimport { ProcedureType } from '../../models/procedure-type';\r\nimport { ProcedureTypeService } from '../../services/procedure-type.service';\r\n\r\nexport class ProcedureTypeStateModel {\r\n data: ProcedureType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ProcedureType',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class ProcedureTypeState {\r\n constructor(\r\n private service: ProcedureTypeService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ProcedureTypeStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ProcedureTypeRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.read().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ProcedureTypeCreate)\r\n create({ getState, patchState }: StateContext, { item }: ProcedureTypeCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ProcedureTypeUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ProcedureTypeUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ProcedureTypeDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ProcedureTypeDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ProcedureTypeActions from './procedure-types.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureTypeStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ProcedureTypeActions.ProcedureTypeRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.ALLABSIS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ProcedureTypeActions.ProcedureTypeCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ProcedureTypeActions.ProcedureTypeUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ProcedureTypeActions.ProcedureTypeDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ProcedureTypeActions.ProcedureTypeRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\n\r\nexport class ProcedureRefresh {\r\n static readonly type = '[Procedure] Refresh';\r\n}\r\n\r\nexport class ProcedureRefreshByType {\r\n static readonly type = '[Procedure] RefreshByType';\r\n constructor(public type: number) { }\r\n}\r\n\r\nexport class ProcedureCreate {\r\n static readonly type = '[Procedure] Create';\r\n\r\n constructor(public item: Procedure) { }\r\n}\r\n\r\nexport class ProcedureUpdate {\r\n static readonly type = '[Procedure] Update';\r\n\r\n constructor(public id: number, public item: Procedure) { }\r\n}\r\n\r\nexport class ProcedureDelete {\r\n static readonly type = '[Procedure] Delete';\r\n\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class ProcedureSet {\r\n static readonly type = '[Procedure] Set';\r\n\r\n constructor(public items: Procedure[]) { }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Action, Selector, State, StateContext } from \"@ngxs/store\";\r\nimport { ProcedureCreate, ProcedureDelete, ProcedureRefresh, ProcedureUpdate, ProcedureSet, ProcedureRefreshByType } from \"./procedure.action\";\r\nimport { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\nimport { ProcedureService } from \"src/app/components/procedure/services/procedure.service\";\r\n\r\nexport class ProcedureStateModel {\r\n data: Procedure[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Procedures',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class ProcedureState {\r\n constructor(\r\n private procedureService: ProcedureService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ProcedureStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ProcedureRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.procedureService.read().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ProcedureRefreshByType)\r\n refreshByType({ patchState }: StateContext, { type }: ProcedureRefreshByType) {\r\n this.procedureService.readByType(type).subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ProcedureCreate)\r\n create({ getState, patchState }: StateContext, { item }: ProcedureCreate) {\r\n if (getState().data != undefined && getState().data != null) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ProcedureUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ProcedureUpdate) {\r\n if (getState().data != undefined && getState().data != null) {\r\n const index = getState().data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n getState().data.splice(index, 1);\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n }\r\n }\r\n\r\n @Action(ProcedureDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ProcedureDelete) {\r\n if (getState().data != undefined && getState().data != null) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n }\r\n\r\n @Action(ProcedureSet)\r\n set({ patchState }: StateContext, { items }: ProcedureSet) {\r\n patchState({\r\n data: items,\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n\r\nimport * as ProcedureActions from './procedure.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProcedureStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ProcedureActions.ProcedureRefresh());\r\n }\r\n\r\n initListeners() {\r\n // ABSI\r\n this.signalRService.hubConnection?.on(Channels.PROCEDURE, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ProcedureActions.ProcedureCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ProcedureActions.ProcedureUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ProcedureActions.ProcedureDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ProcedureActions.ProcedureRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, ElementRef, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Router } from '@angular/router';\r\nimport { utils } from '../../../modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'app-redirect-dialog',\r\n templateUrl: './redirect-dialog.component.html',\r\n styleUrls: ['./redirect-dialog.component.scss']\r\n})\r\nexport class RedirectDialogComponent implements OnInit {\r\n\r\n private closeTimeout: any; // To store the timeout reference\r\n private mouseHasEntered: boolean = false; // Track if mouse has entered at least once\r\n private mouseInDialog: boolean = false; // Track if mouse is currently inside the dialog\r\n\r\n constructor(\r\n private router: Router,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private elementRef: ElementRef\r\n ) { }\r\n\r\n ngOnDestroy() {\r\n // Clean up the event listeners to avoid memory leaks\r\n this.elementRef.nativeElement.removeEventListener('mouseleave', this.onMouseLeave.bind(this));\r\n this.elementRef.nativeElement.removeEventListener('mouseenter', this.onMouseEnter.bind(this));\r\n }\r\n\r\n ngOnInit(): void {\r\n // Add event listeners for 'mouseleave' and 'mouseenter' events\r\n this.elementRef.nativeElement.addEventListener('mouseleave', this.onMouseLeave.bind(this));\r\n this.elementRef.nativeElement.addEventListener('mouseenter', this.onMouseEnter.bind(this));\r\n }\r\n\r\n // Triggered when the mouse enters the dialog\r\n onMouseEnter() {\r\n this.mouseInDialog = true; // Mouse is inside the dialog\r\n this.mouseHasEntered = true; // Mark that the mouse has entered at least once\r\n clearTimeout(this.closeTimeout); // Cancel any closing action if mouse re-enters\r\n }\r\n\r\n // Triggered when the mouse leaves the dialog\r\n onMouseLeave() {\r\n if (!this.mouseHasEntered) {\r\n return; // Exit if the mouse hasn't been over the dialog yet\r\n }\r\n\r\n this.mouseInDialog = false; // Set the flag to false\r\n\r\n // Add a delay before closing the dialog (e.g., 1 second)\r\n this.closeTimeout = setTimeout(() => {\r\n if (!this.mouseInDialog) { // Only close if the mouse hasn't re-entered\r\n this.dialogRef.close(); // Close the dialog\r\n }\r\n }, 1000); // Delay in milliseconds (1 second)\r\n }\r\n\r\n openSameTab() {\r\n // Logic for opening the same tab (e.g., using Router)\r\n this.router.navigate([utils.replaceAll(this.data.targetUrl, '%20', ' ')]);\r\n this.dialogRef.close(true);\r\n }\r\n\r\n openNewTab() {\r\n // Logic for opening in a new tab\r\n window.open('#/' + this.data.targetUrl, '_blank');\r\n setTimeout(() => {\r\n this.dialogRef.close(false);\r\n }, 1000);\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(false);\r\n }\r\n}\r\n","
    How would you like to proceed?
    \r\n\r\n\r\n \r\n \r\n Open in Same Tab\r\n system_update_alt\r\n \r\n \r\n Open in New Tab\r\n open_in_new\r\n \r\n \r\n\r\n","import { Component, OnInit, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Observable } from 'rxjs';\r\nimport { ReviewBoardType } from 'src/app/components/reviews/reviews.models';\r\nimport { RedirectService } from './redirect.service';\r\nimport { Document } from 'src/app/services/documents/documents';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Store } from '@ngxs/store';\r\n@Component({\r\n selector: 'app-redirect',\r\n templateUrl: './redirect.component.html',\r\n styleUrls: ['./redirect.component.scss']\r\n})\r\nexport class RedirectComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n documents!: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n\r\n loading!: boolean;\r\n reviewBoardTypes?: ReviewBoardType[];\r\n isReview?: boolean;\r\n\r\n serialNo?: string;\r\n serial: any;\r\n notFoundText: string = '';\r\n message!: string;\r\n documentType?: number;\r\n\r\n constructor(\r\n private _route: ActivatedRoute,\r\n private service: RedirectService,\r\n private store: Store,\r\n ) {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.documentsSubs?.unsubscribe();\r\n }\r\n\r\n\r\n loadDocuments() {\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data.length) {\r\n this.documents = data;\r\n if (this.serialNo)\r\n setTimeout(() => {\r\n this.redirectTo();\r\n }, 1000);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loading = true;\r\n this.serialNo = this._route.snapshot.paramMap.get('serialNo')!;\r\n const id = this._route.snapshot.paramMap.get('id');\r\n if (id) localStorage.setItem('redirectID', id);\r\n else localStorage.removeItem('redirectID');\r\n if (this.serialNo)\r\n this.message = 'Redirecting to ' + this.serialNo;\r\n this.notFoundText = '';\r\n this.loadDocuments();\r\n }\r\n\r\n redirectTo() {\r\n if (this.documents?.length) {\r\n const document = this.documents.find(x => x.serialNo?.toLowerCase() == this.serialNo?.toLowerCase() || x.serialNo?.toLowerCase() == this.serialNo?.toLowerCase().split(' ')[0]);\r\n if (document) {\r\n this.service.openDocument(document);\r\n }\r\n else {\r\n this.notFoundText = `${this.serialNo} Not Found!`;\r\n this.loading = false;\r\n }\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.loadDocuments();\r\n }, 1000);\r\n }\r\n }\r\n}\r\n","
    \r\n \r\n search_off
    {{\r\n notFoundText\r\n }}\r\n
    \r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { Document, DocumentCategory, DocumentType } from 'src/app/services/documents/documents';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { ReviewCycle } from '../reviews/reviews.models';\r\nimport { DocumentsRefresh } from 'src/app/services/documents/store/documents.action';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { RedirectDialogComponent } from './redirect-dialog/redirect-dialog.component';\r\nimport { ReviewsRefresh } from '../reviews/store/reviews/reviews.action';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RedirectService {\r\n\r\n document?: Document | null;\r\n documents?: Document[];\r\n documentsFiltered?: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n\r\n documentTypes?: DocumentType[];\r\n documentTypesFiltered?: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n reviewCycles?: ReviewCycle[];\r\n reviewCycles$!: Observable;\r\n reviewCyclesSubs!: Subscription;\r\n openDocuments: OpenDocument[] = [];\r\n\r\n previousUrl: string | null = null;\r\n currentUrl: string | null = null;\r\n\r\n mouseX?: string;\r\n mouseY?: string;\r\n\r\n constructor(\r\n private store: Store,\r\n private router: Router,\r\n private dialog: MatDialog\r\n ) {\r\n\r\n }\r\n\r\n openDialog() {\r\n const dialogRef = this.dialog.open(RedirectDialogComponent, { width: '300px', height: '300px' });\r\n dialogRef.afterClosed();\r\n }\r\n\r\n async openDocument(document: Document) {\r\n if (document) {\r\n this.document = document;\r\n let route = '';\r\n this.loadDocumentTypes();\r\n\r\n switch (document.category) {\r\n case DocumentCategory.Form:\r\n document.documentType = this.documentTypes?.find(t => t.id == document.type);\r\n route = document.documentType?.code?.toLowerCase().trim() ?? '';\r\n break;\r\n\r\n case DocumentCategory.Checklist:\r\n const documentType = this.documentTypes?.find(t => t.type == document.type);\r\n if (documentType) {\r\n route = 'checklist-exec/' + documentType?.id;\r\n }\r\n break;\r\n\r\n case DocumentCategory.Review:\r\n // Wait for the asynchronous getReviewRoute() to complete\r\n route = await this.getReviewRoute(document.serialNo);\r\n break;\r\n\r\n case DocumentCategory.ChecklistTemplate:\r\n document.documentType = this.documentTypes?.find(t => t.id == document.type);\r\n if (document.documentType && document.formID) {\r\n localStorage.setItem('checklistTemplateID', document.formID.toString());\r\n route = 'checklist-builder/' + document.documentType.id;\r\n }\r\n break;\r\n\r\n case DocumentCategory.ABSITemplate:\r\n route = 'absi-builder';\r\n break;\r\n\r\n case DocumentCategory.KETemplate:\r\n route = 'resources-new/1';\r\n break;\r\n\r\n }\r\n\r\n // Navigate only after determining the route\r\n this.router.navigate([route]);\r\n }\r\n }\r\n\r\n\r\n getReviewRoute(serialNo?: string): Promise {\r\n return new Promise((resolve) => {\r\n this.reviewCycles$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewCyclesSubs = this.reviewCycles$.subscribe(data => {\r\n if (data?.length) {\r\n this.reviewCycles = data;\r\n const reviewCycle = this.reviewCycles.find(c => c.serialNo == serialNo);\r\n if (reviewCycle?.reviewBoard) {\r\n resolve(`reviews/${reviewCycle.reviewBoard.type}`);\r\n } else {\r\n const review = reviewCycle?.reviews?.[0];\r\n const boardType = review?.reviewCycle?.reviewBoard?.type;\r\n if (boardType) {\r\n resolve(`reviews/${boardType}`);\r\n } else {\r\n resolve('');\r\n }\r\n }\r\n } else {\r\n setTimeout(() => {\r\n resolve(this.getReviewRoute(serialNo)); // Retry\r\n }, 500);\r\n }\r\n });\r\n });\r\n }\r\n\r\n\r\n loadDocuments() {\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data?.length) {\r\n this.documents = data;\r\n }\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.documentTypes = data;\r\n }\r\n });\r\n }\r\n\r\n async getDocument(\r\n type: FormType,\r\n retries: number = 0,\r\n maxRetries: number = 3\r\n ): Promise {\r\n if (\r\n this.document?.type == type ||\r\n (this.document?.category == DocumentCategory.Checklist &&\r\n this.document.type == this.documentTypes?.find(t => t.id == type)?.type)\r\n ) {\r\n return this.document;\r\n } else {\r\n const openDocument = this.openDocuments.find(o => o.type == type);\r\n if (openDocument?.id) {\r\n this.loadDocuments();\r\n this.loadDocumentTypes();\r\n const document = this.findDocument(openDocument.id, openDocument.type);\r\n if (document) return document;\r\n\r\n if (retries < maxRetries) {\r\n this.store.dispatch(new DocumentsRefresh());\r\n await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second\r\n return this.getDocument(type, retries + 1, maxRetries); // Increment retry counter\r\n } else {\r\n console.error(`Failed to retrieve document after ${maxRetries} attempts.`);\r\n return null; // Abort after maxRetries\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n\r\n findDocument(id: number, type: number) {\r\n const document = this.documents?.find(d => d.formID == id &&\r\n (d.type == type ||\r\n d.category == DocumentCategory.Checklist && d.type == this.documentTypes?.find(t => t.id == type)?.type)\r\n );\r\n return document;\r\n }\r\n}\r\n\r\ninterface OpenDocument {\r\n id?: number;\r\n type: FormType;\r\n}\r\n","import { Component, Inject, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ReviewActionItemType, ReviewActionItem } from '../../reviews.models';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\n\r\n@Component({\r\n selector: 'reviews-action-item-types',\r\n templateUrl: './reviews-action-item-types.component.html',\r\n styleUrls: ['./reviews-action-item-types.component.scss']\r\n})\r\nexport class ReviewsActionItemTypesComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n reviewActionItemType!: ReviewActionItemType | null;\r\n reviewActionItemTypes!: ReviewActionItemType[];\r\n reviewActionItemTypes$!: Observable;\r\n reviewActionItemTypesSubs!: Subscription;\r\n\r\n reviewActionItems!: ReviewActionItem[];\r\n reviewActionItems$!: Observable;\r\n reviewActionItemsSubs!: Subscription;\r\n\r\n reviewActionItemTypeNameCtrl = new FormControl();\r\n reviewActionItemTypeDescriptionCtrl = new FormControl();\r\n reviewActionItemTypeCodeCtrl = new FormControl();\r\n\r\n isStopper!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private service: ReviewsService\r\n ) {\r\n super(injector);\r\n this.buildForm();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewActionItemsSubs?.unsubscribe();\r\n this.reviewActionItemTypesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.reviewActionItems$ = this.store.select(state => state.ReviewActionItems.data);\r\n this.reviewActionItemsSubs = this.reviewActionItems$.subscribe(data => {\r\n this.reviewActionItems = data;\r\n this.filterReviewActionItems();\r\n });\r\n\r\n this.reviewActionItemTypes$ = this.store.select(state => state.ReviewActionItemTypes.data);\r\n this.reviewActionItemTypesSubs = this.reviewActionItemTypes$.subscribe(data => {\r\n this.reviewActionItemTypes = data.sort((a, b) => a.order - b.order);\r\n this.filterReviewActionItems();\r\n });\r\n }\r\n\r\n filterReviewActionItems() {\r\n if (this.reviewActionItems && this.reviewActionItemTypes) {\r\n this.reviewActionItemTypes.map(r => {\r\n r.reviewActionItems = this.reviewActionItems.filter(x => x.reviewActionItemTypeID == r.id);\r\n });\r\n }\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = new FormGroup({\r\n reviewActionItemTypeNameCtrl: this.reviewActionItemTypeNameCtrl,\r\n reviewActionItemTypeDescriptionCtrl: this.reviewActionItemTypeDescriptionCtrl,\r\n reviewActionItemTypeCodeCtrl: this.reviewActionItemTypeCodeCtrl,\r\n });\r\n this.reviewActionItemTypeNameCtrl.setValue(null);\r\n this.reviewActionItemTypeDescriptionCtrl.setValue(null);\r\n this.reviewActionItemTypeCodeCtrl.setValue(null);\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.reviewActionItemTypes, event.previousIndex, event.currentIndex);\r\n this.renumberArray();\r\n }\r\n }\r\n\r\n renumberArray() {\r\n let order = 1;\r\n this.reviewActionItemTypes?.map(reviewActionItemType => {\r\n if (reviewActionItemType.order != order) {\r\n reviewActionItemType.order = order;\r\n this.service.updateReviewActionItemType(reviewActionItemType).subscribe(data => {\r\n });\r\n }\r\n order++;\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n add() {\r\n this.buildForm();\r\n this.reviewActionItemType = {\r\n id: 0,\r\n order: 999\r\n } as ReviewActionItemType;\r\n }\r\n\r\n edit(reviewActionItemType: ReviewActionItemType) {\r\n this.reviewActionItemType = reviewActionItemType;\r\n this.reviewActionItemTypeNameCtrl.setValue(this.reviewActionItemType.name);\r\n this.reviewActionItemTypeDescriptionCtrl.setValue(this.reviewActionItemType.description);\r\n this.reviewActionItemTypeCodeCtrl.setValue(this.reviewActionItemType.code);\r\n this.isStopper = this.reviewActionItemType.isStopper;\r\n }\r\n\r\n save() {\r\n if (this.reviewActionItemType) {\r\n this.reviewActionItemType.name = this.reviewActionItemTypeNameCtrl.value;\r\n this.reviewActionItemType.description = this.reviewActionItemTypeDescriptionCtrl.value;\r\n this.reviewActionItemType.code = this.reviewActionItemTypeCodeCtrl.value;\r\n this.reviewActionItemType.isStopper = this.isStopper;\r\n\r\n if (this.reviewActionItemType.id === 0) {\r\n this.service.createReviewActionItemType(this.reviewActionItemType).toPromise().then(data => {\r\n this.afterSave();\r\n });\r\n }\r\n else {\r\n this.service.updateReviewActionItemType(this.reviewActionItemType).toPromise().then(data => {\r\n this.afterSave();\r\n });\r\n }\r\n }\r\n }\r\n\r\n afterSave() {\r\n this.renumberArray();\r\n this.reviewActionItemType = null;\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Action Item Categories')]);\r\n this.dialogRef.close();\r\n }\r\n\r\n delete(reviewActionItemType: ReviewActionItemType) {\r\n this.service.deleteReviewActionItemType(reviewActionItemType.id).toPromise().then(() => {\r\n this.renumberArray();\r\n this.reviewActionItemType = null;\r\n });\r\n }\r\n\r\n cancel() {\r\n this.reviewActionItemType = null;\r\n }\r\n\r\n formValid() {\r\n return !utils.isNullValue(this.reviewActionItemTypeNameCtrl.value) && !utils.isNullValue(this.reviewActionItemTypeDescriptionCtrl.value) && !utils.isNullValue(this.reviewActionItemTypeCodeCtrl.value);\r\n }\r\n\r\n isStopperChanged(e: any) {\r\n this.isStopper = e.checked;\r\n this.formGroup.markAsDirty();\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Action Item Categories\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n drag_handle\r\n
    \r\n \r\n {{ reviewActionItemType.order }}. {{ reviewActionItemType.name }}\r\n
    \r\n
    \r\n \r\n \r\n delete_outline\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Name\r\n \r\n \r\n
    \r\n
    \r\n \r\n Description\r\n \r\n \r\n
    \r\n
    \r\n \r\n Acronym\r\n \r\n \r\n
    \r\n
    \r\n Reviews should be stopped if active actions for this category.\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n\r\n","import { Component, OnInit, Input, ViewChild, AfterViewInit } from '@angular/core';\r\nimport { CommentsAndAttachmentsComponent } from 'src/app/controls/comments-and-attachments/comments-and-attachments.component';\r\nimport { ReviewActionItem, Review } from '../../reviews.models';\r\n\r\n@Component({\r\n selector: 'reviews-action-items-comments',\r\n templateUrl: './reviews-action-items-comments.component.html',\r\n styleUrls: ['./reviews-action-items-comments.component.scss']\r\n})\r\nexport class ReviewsActionItemsCommentsComponent implements OnInit, AfterViewInit {\r\n\r\n @Input() reviewActionItem!: ReviewActionItem;\r\n @Input() disabled!: boolean;\r\n\r\n @ViewChild(CommentsAndAttachmentsComponent) commentsAndAttachments!: CommentsAndAttachmentsComponent;\r\n review!: Review;\r\n serialNo!: string;\r\n constructor() { }\r\n\r\n ngAfterViewInit(): void {\r\n this.loadComments();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.review = this.reviewActionItem.review as Review;\r\n this.serialNo = this.review.reviewCycle.serialNo + '-' + this.review.code + '-' + this.review.reviewType.code + '-' + this.review.id + '-AI-' + this.reviewActionItem.id;\r\n }\r\n\r\n loadComments() {\r\n this.commentsAndAttachments?.loadComments();\r\n }\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ReviewActionItem } from '../../../reviews.models';\r\nimport { ReviewsService } from '../../../reviews.service';\r\n\r\n@Component({\r\n selector: 'reviews-action-items-complete',\r\n templateUrl: './reviews-action-items-complete.component.html',\r\n styleUrls: ['./reviews-action-items-complete.component.scss']\r\n})\r\nexport class ReviewsActionItemsCompleteComponent implements OnInit {\r\n\r\n reviewActionItem: ReviewActionItem;\r\n completeComment?: string;\r\n hasError = true;\r\n isLoading!: boolean;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private service: ReviewsService,\r\n ) {\r\n this.reviewActionItem = data.reviewActionItem;\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n async complete() {\r\n this.isLoading = true;\r\n this.reviewActionItem.closingComments = this.completeComment;\r\n this.reviewActionItem.status = 0;\r\n const reviewActionItem = utils.Serialize(this.reviewActionItem);\r\n await this.service.updateReviewActionItem(reviewActionItem).toPromise().then(data => {\r\n this.dialogRef.close(data);\r\n });\r\n this.isLoading = false;\r\n }\r\n\r\n commentChanged(e: any) {\r\n this.completeComment = e;\r\n this.hasError = e == null;\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Complete Action Item\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Complete\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Inject, OnInit, OnDestroy, Injector, Input } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Review, ReviewActionItem, ReviewActionItemType } from '../../reviews.models';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { FormGroup, FormControl, Validators, AbstractControl } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ReviewsActionItemsCompleteComponent } from './reviews-action-items-complete/reviews-action-items-complete.component';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\n\r\n@Component({\r\n selector: 'app-reviews-action-items-details',\r\n templateUrl: './reviews-action-items-details.component.html',\r\n styleUrls: ['./reviews-action-items-details.component.scss']\r\n})\r\nexport class ReviewsActionItemsDetailsComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n @Input() review?: Review;\r\n @Input() checklist?: Checklist;\r\n\r\n reviewActionItem: ReviewActionItem;\r\n\r\n reviews!: Review[];\r\n reviewsFiltered!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n reviewActionItemTypes!: ReviewActionItemType[];\r\n reviewActionItemTypesFiltered!: ReviewActionItemType[];\r\n reviewActionItemTypes$!: Observable;\r\n reviewActionItemTypesSubs!: Subscription;\r\n\r\n canComplete!: boolean;\r\n usersFiltered!: User[];\r\n\r\n disabled: boolean;\r\n isLoading!: boolean;\r\n privilege = PrivilegeEnum;\r\n canAddRemove!: boolean;\r\n\r\n actionItemTypeCtrl = new FormControl();\r\n actionItemNameCtrl = new FormControl();\r\n actionItemStartDateCtrl = new FormControl();\r\n actionItemEndDateCtrl = new FormControl();\r\n actionItemResponsibleCtrl = new FormControl();\r\n actionItemClosedByCtrl = new FormControl();\r\n actionItemClosedDateCtrl = new FormControl();\r\n\r\n wfTaskLocal: WfTaskLocalResource;\r\n serialNo?: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private service: ReviewsService,\r\n\r\n ) {\r\n super(injector);\r\n this.reviewActionItem = data.reviewActionItem;\r\n this.wfTaskLocal = data.wfTaskLocal;\r\n this.disabled = this.reviewActionItem.status == 0;\r\n this.checklist = data.checklist;\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewActionItemTypesSubs?.unsubscribe();\r\n this.reviewsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n async ngOnInit(): Promise {\r\n this.buildForm();\r\n this.loadReviews();\r\n this.loadReviewActionItemTypes();\r\n this.usersFiltered = this.getUsers();\r\n const review = this.reviews?.find(r => r.id == this.reviewActionItem.reviewID);\r\n if (review)\r\n this.reviewActionItem.review = review;\r\n setTimeout(() => {\r\n this.actionItemNameCtrl.setValue(this.reviewActionItem.name);\r\n this.actionItemTypeCtrl?.setValue(this.reviewActionItem.reviewActionItemType);\r\n this.actionItemResponsibleCtrl.setValue(this.reviewActionItem.responsible);\r\n this.actionItemStartDateCtrl.setValue(this.reviewActionItem.startDate);\r\n this.actionItemEndDateCtrl.setValue(this.getEndDate(this.reviewActionItem.endDate));\r\n this.actionItemClosedByCtrl.setValue(this.reviewActionItem.closedBy?.name);\r\n this.actionItemClosedDateCtrl.setValue(this.reviewActionItem.closedOn);\r\n }, 500);\r\n\r\n this.canComplete = await this.service.checkPrivilege(PrivilegeEnum.CompleteActionItems, this.reviewActionItem.review?.reviewCycle.reviewBoard.reviewBoardType, this.reviewActionItem.review?.reviewStatus) || this.reviewActionItem.responsible?.id == this.getCurrentUser()?.id;\r\n this.canAddRemove = this.service.checkPrivilege(PrivilegeEnum.AddRemoveActionItems, this.reviewActionItem.review?.reviewCycle.reviewBoard.reviewBoardType, this.reviewActionItem.review?.reviewStatus);\r\n if (!this.canAddRemove) {\r\n this.formGroup.disable();\r\n }\r\n\r\n this.serialNo = this.reviewActionItem?.review?.reviewCycle?.serialNo;\r\n if (!this.serialNo && this.checklist) this.serialNo = this.checklist.serialNo;\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n if (data.length) {\r\n this.reviews = data;\r\n }\r\n });\r\n }\r\n\r\n sendEmail() {\r\n this.service.sendemailNotification(this.utils.Serialize(this.reviewActionItem)).toPromise().catch(error => {\r\n this.alert.error('There was an error sending Email Notification');\r\n console.log(error);\r\n });\r\n }\r\n\r\n changeCatl() {\r\n this.formGroup.markAsDirty();\r\n if (this.reviewActionItem.isCATL) {\r\n this.alert.warning('Email Notification will be sent after clicking on Save button');\r\n }\r\n }\r\n\r\n getEndDate(endDate?: Date) {\r\n return endDate && endDate.toString() != '0001-01-01T00:00:00' ? endDate : null;\r\n }\r\n\r\n loadReviewActionItemTypes() {\r\n this.reviewActionItemTypes$ = this.store.select(state => state.ReviewActionItemTypes.data);\r\n this.reviewActionItemTypesSubs = this.reviewActionItemTypes$.subscribe(data => {\r\n this.reviewActionItemTypes = data;\r\n this.reviewActionItemTypesFiltered = data;\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n actionItemTypeCtrl: this.actionItemTypeCtrl,\r\n actionItemNameCtrl: this.actionItemNameCtrl,\r\n actionItemStartDateCtrl: this.actionItemStartDateCtrl,\r\n actionItemEndDateCtrl: this.actionItemEndDateCtrl,\r\n actionItemResponsibleCtrl: this.actionItemResponsibleCtrl,\r\n actionItemClosedByCtrl: this.actionItemClosedByCtrl,\r\n actionItemClosedDateCtrl: this.actionItemClosedDateCtrl\r\n });\r\n if (!this.reviewActionItem.status && this.reviewActionItem.id)\r\n this.formGroup.disable();\r\n }\r\n\r\n getActionTitle() {\r\n if (this.reviewActionItem.status == 0)\r\n return 'Completed';\r\n return !this.reviewActionItem?.id ? 'Create' : 'Modify';\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n cancel() {\r\n this.close();\r\n }\r\n\r\n formValid() {\r\n return !this.utils.isNullValue(this.actionItemTypeCtrl?.value) && !this.utils.isNullValue(this.actionItemNameCtrl.value) && !this.utils.isNullValue(this.reviewActionItem.description) && !this.utils.isNullValue(this.actionItemStartDateCtrl.value);\r\n }\r\n\r\n async save() {\r\n this.formGroup.disable();\r\n this.isLoading = true;\r\n this.reviewActionItem.name = this.actionItemNameCtrl.value;\r\n this.reviewActionItem.wfTaskLocalID = this.wfTaskLocal?.id;\r\n this.reviewActionItem.reviewActionItemTypeID = this.actionItemTypeCtrl?.value.id;\r\n if (!this.reviewActionItem.id) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Is a CATL Item?',\r\n icon: 'question'\r\n }\r\n });\r\n\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data) {\r\n this.reviewActionItem.isCATL = data;\r\n }\r\n await this.service.createReviewActionItem(this.utils.Serialize(this.reviewActionItem)).toPromise().then(data => {\r\n if (data) {\r\n data.review = this.reviewActionItem.review;\r\n data.reviewActionItemType = this.actionItemTypeCtrl?.value;\r\n this.dialogRef.close();\r\n }\r\n });\r\n this.isLoading = false;\r\n this.formGroup.enable();\r\n });\r\n }\r\n else {\r\n this.service.updateReviewActionItem(this.utils.Serialize(this.reviewActionItem)).toPromise().then(data => {\r\n if (data) {\r\n data.review = this.reviewActionItem.review;\r\n this.dialogRef.close();\r\n }\r\n });\r\n this.isLoading = false;\r\n this.formGroup.enable();\r\n }\r\n }\r\n\r\n changedActionItemType(e: any) {\r\n const val = e.target.value as string;\r\n this.reviewActionItemTypesFiltered = this.reviewActionItemTypes.filter(x => x.name?.toLowerCase().includes(val.toLowerCase()));\r\n // if (this.reviewActionItemTypesFiltered.length == 0) {\r\n // this.actionItemTypeCtrl?.setValue(null);\r\n // }\r\n // if (this.reviewActionItemTypesFiltered.length == 1 || e.type == 'blur') {\r\n // this.actionItemTypeCtrl?.setValue(this.reviewActionItemTypesFiltered[0]);\r\n // }\r\n }\r\n\r\n changedActionItemResponsible(e: any) {\r\n const val = e.target.value as string;\r\n this.usersFiltered = this.getUsers().filter(x => x.name?.toLowerCase().includes(val.toLowerCase()));\r\n }\r\n\r\n selectedActionItemType(e: any) {\r\n const reviewActionItemType = e.option.value as ReviewActionItemType;\r\n this.reviewActionItem.reviewActionItemTypeID = reviewActionItemType.id;\r\n }\r\n\r\n selectedActionItemResponsible(e: any) {\r\n const user = e.option.value as User;\r\n this.reviewActionItem.responsibleID = user.id;\r\n }\r\n\r\n changedDescription(e: any) {\r\n this.reviewActionItem.description = e;\r\n this.formGroup.markAsDirty();\r\n }\r\n\r\n changedStartDate(e: any) {\r\n this.reviewActionItem.startDate = e.value;\r\n }\r\n\r\n changedEndDate(e: any) {\r\n this.reviewActionItem.endDate = e.value;\r\n }\r\n\r\n validateForm() {\r\n return !this.utils.isNullValue(this.actionItemNameCtrl.value) && this.utils.isNullValue(this.actionItemTypeCtrl?.value);\r\n }\r\n\r\n canBeCompleted() {\r\n return this.canComplete && this.reviewActionItem?.id != 0 && this.reviewActionItem.status;\r\n }\r\n\r\n openActionComplete() {\r\n const dialog = this.dialog.open(ReviewsActionItemsCompleteComponent, {\r\n width: '70%',\r\n minWidth: '500px',\r\n maxHeight: '80%',\r\n data: {\r\n reviewActionItem: this.reviewActionItem\r\n },\r\n disableClose: true,\r\n autoFocus: false\r\n });\r\n dialog.afterClosed().subscribe(data => {\r\n if (data && data.status == 0) {\r\n this.dialogRef.close();\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n close\r\n \r\n
    {{ getActionTitle() }} Action Item
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Topic\r\n \r\n \r\n
    \r\n
    \r\n \r\n Action Item Category\r\n \r\n \r\n \r\n {{ actionItemType.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Responsible\r\n \r\n \r\n \r\n {{ user.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Start Date\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n End Date\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Completed By\r\n \r\n \r\n
    \r\n
    \r\n \r\n Completion Date\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n Is this a CATL Item?\r\n \r\n email\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Complete Action Item\r\n \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Input, OnDestroy, Output, EventEmitter, ViewChild, Injector } from '@angular/core';\r\nimport { ReviewsActionItemTypesComponent } from './reviews-action-item-types/reviews-action-item-types.component';\r\nimport { ReviewsActionItemsDetailsComponent } from './reviews-action-items-details/reviews-action-items-details.component';\r\nimport { ReviewActionItem, Review, ReviewActionItemType } from '../reviews.models';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Router } from '@angular/router';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { Checklist } from '../../checklists/checklists';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { ReviewActionItemsRefresh } from '../store/review-action-items/review-action-items.action';\r\nimport { ReviewsRefreshById } from '../store/reviews/reviews.action';\r\nimport { ReviewsService } from '../reviews.service';\r\n\r\n@Component({\r\n selector: 'reviews-action-items',\r\n templateUrl: './reviews-action-items.component.html',\r\n styleUrls: ['./reviews-action-items.component.scss']\r\n})\r\nexport class ReviewsActionItemsComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n @Input() review?: Review;\r\n @Input() canDelete?: boolean;\r\n\r\n actionItemTypes!: ReviewActionItemType[];\r\n actionItemTypesFiltered!: ReviewActionItemType[];\r\n actionItemTypes$!: Observable;\r\n actionItemTypesSubs!: Subscription;\r\n\r\n checklists!: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n actionItems!: ReviewActionItem[];\r\n actionItems$!: Observable;\r\n actionItemsSubs!: Subscription;\r\n\r\n public displayedColumns!: string[];\r\n public dataSources: any[] = [];\r\n\r\n selectedRowIndex!: number;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private router: Router,\r\n private reviewsService: ReviewsService\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.actionItemTypesSubs?.unsubscribe();\r\n this.checklistsSubs?.unsubscribe();\r\n this.actionItemsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.displayedColumns = this.canDelete ? ['status', 'topic', 'responsible', 'startDate', 'endDate', 'taskNo', 'action'] : ['status', 'topic', 'responsible', 'startDate', 'endDate', 'taskNo'];\r\n this.loadActionItems();\r\n this.loadActionItemTypes();\r\n this.loadChecklists();\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n this.checklists = data;\r\n });\r\n }\r\n\r\n loadActionItemTypes() {\r\n this.actionItemTypes$ = this.store.select(state => state.ReviewActionItemTypes.data);\r\n this.actionItemTypesSubs = this.actionItemTypes$.subscribe(data => {\r\n this.actionItemTypes = data?.sort((a, b) => a.order - b.order);\r\n this.filterActionItemTypes();\r\n });\r\n }\r\n\r\n loadActionItems() {\r\n // this.actionItems = this.review.reviewActionItems;\r\n this.actionItems$ = this.store.select(state => state.ReviewActionItems.data);\r\n this.actionItemsSubs = this.actionItems$.subscribe(data => {\r\n this.actionItems = data?.filter(x => x.reviewID == this.review?.id);\r\n this.filterActionItemTypes();\r\n });\r\n }\r\n\r\n filterActionItemTypes() {\r\n this.actionItemTypesFiltered = this.actionItemTypes?.filter(x => this.actionItems?.map(a => a.reviewActionItemTypeID).includes(x.id));\r\n this.dataSources = [];\r\n this.actionItemTypesFiltered?.map(actionItemType => {\r\n const dataSource = new MatTableDataSource(this.actionItems.filter(x => x.reviewActionItemTypeID == actionItemType.id).sort((a, b) => this.utils.sort(a.startDate, b.startDate, true)));\r\n this.dataSources.push(dataSource);\r\n });\r\n }\r\n\r\n manageCategories() {\r\n const dialog = this.dialog.open(ReviewsActionItemTypesComponent, {\r\n width: '40%',\r\n minWidth: '400px',\r\n data: {\r\n\r\n },\r\n disableClose: true,\r\n autoFocus: false\r\n });\r\n dialog.afterClosed().subscribe(data => {\r\n\r\n });\r\n }\r\n\r\n addActionItem() {\r\n const reviewActionItem = {\r\n id: 0,\r\n review: this.review,\r\n reviewID: this.review?.id,\r\n description: null,\r\n name: null,\r\n status: 1\r\n } as ReviewActionItem;\r\n this.openActionItemDetail(reviewActionItem);\r\n }\r\n\r\n getClass(e: ReviewActionItem) {\r\n if (e.status == 0)\r\n return 'gray';\r\n if (e.reviewActionItemType?.isStopper)\r\n return 'red';\r\n return '';\r\n }\r\n\r\n rowClicked(row: ReviewActionItem) {\r\n this.openActionItemDetail(row);\r\n }\r\n\r\n openActionItemDetail(reviewActionItem: ReviewActionItem) {\r\n const dialog = this.dialog.open(ReviewsActionItemsDetailsComponent, {\r\n width: '80%',\r\n minWidth: '500px',\r\n maxHeight: '80%',\r\n data: {\r\n reviewActionItem,\r\n wfTaskLocal: reviewActionItem.wfTaskLocal\r\n },\r\n disableClose: true,\r\n autoFocus: false\r\n });\r\n dialog.afterClosed().subscribe(data => {\r\n });\r\n }\r\n\r\n getEndDate(endDate: Date) {\r\n return endDate != null && endDate.toString() != '0001-01-01T00:00:00' ? endDate : null;\r\n }\r\n\r\n getTaskName(task: WfTaskLocalResource) {\r\n if (task) {\r\n return task.wfStepLocal?.wfSectionLocal.name + ' > ' + task.wfStepLocal?.name + ' > ' + task.name + (task.name3 ? ' ' + task.name3 : '');\r\n }\r\n return '';\r\n }\r\n\r\n linkToTask(e: any, task: WfTaskLocalResource) {\r\n e.stopPropagation();\r\n const checklist = this.checklists.find(x => x.id == this.review?.checklistID);\r\n if (checklist)\r\n this.openChecklist(checklist, task);\r\n }\r\n\r\n openChecklist(checklist: Checklist, task: WfTaskLocalResource) {\r\n const newRelativeUrl = this.router.createUrlTree(['/checklist-exec/200'], { queryParams: { id: checklist.id, task: task.id } });\r\n const baseUrl = window.location.href.replace(this.router.url, '');\r\n window.open(baseUrl + newRelativeUrl, '_blank');\r\n }\r\n\r\n deleteActionItem(reviewActionItem: ReviewActionItem) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage(\"ReviewDeleteActionItem\").description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(res => {\r\n if (res) {\r\n this.reviewsService.deleteReviewActionItem(reviewActionItem.id).toPromise().then(() => {\r\n this.alert.message('ReviewActionItem_Deleted');\r\n if (this.review)\r\n this.store.dispatch(new ReviewsRefreshById(this.review.id));\r\n this.store.dispatch(new ReviewActionItemsRefresh());\r\n this.loadActionItems();\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n });\r\n }\r\n\r\n}\r\n","\r\n
    \r\n
    {{ actionItemType.name }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n archive \r\n \r\n front_hand\r\n \r\n event\r\n \r\n \r\n\r\n \r\n \r\n Topic\r\n \r\n {{ element.name }}\r\n \r\n\r\n \r\n \r\n Responsible\r\n \r\n \r\n {{ element.responsible?.name }}\r\n \r\n \r\n\r\n \r\n \r\n Start Date\r\n \r\n \r\n {{ element.startDate | date }}\r\n \r\n \r\n\r\n \r\n \r\n End Date\r\n \r\n \r\n {{ getEndDate(element.endDate) | date }}\r\n \r\n \r\n\r\n \r\n \r\n Task No.\r\n \r\n \r\n \r\n {{ getTaskName(element.wfTaskLocal) }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n Action\r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Input, OnInit, Injector, } from \"@angular/core\";\r\nimport { MatDialogConfig } from \"@angular/material/dialog\";\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { Review, ReviewDocumentCategory, ReviewDocuments, } from \"../../reviews.models\";\r\nimport { ReviewsService } from \"../../reviews.service\";\r\nimport { ReviewAttachmentTypesComponent } from \"../review-attachment-types/review-attachment-types.component\";\r\nimport { ReviewAttachmentComponent } from \"../review-attachment/review-attachment.component\";\r\nimport { ReviewLinksComponent } from \"../review-links/review-links.component\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport FileV2 from \"src/app/services/file/file-v2.model\";\r\nimport { FileV2Service } from \"src/app/services/file/file-v2.service\";\r\nimport { Roles } from \"src/app/common/enumerations/enumerations\";\r\n\r\n@Component({\r\n selector: \"review-attachment-documents\",\r\n templateUrl: \"./review-attachment-documents.component.html\",\r\n styleUrls: [\"./review-attachment-documents.component.scss\"],\r\n})\r\nexport class ReviewAttachmentDocumentsComponent extends BaseComponent implements OnInit {\r\n @Input() review?: Review;\r\n @Input() canDelete!: boolean;\r\n\r\n public displayedColumns!: string[];\r\n public showTable = false;\r\n public enableCategoriesButton = false;\r\n public dataSources: any[] = [];\r\n path!: string;\r\n fileToUpload!: File;\r\n fileIdServer!: number;\r\n uploadingFiles = false;\r\n loading = false;\r\n reviewDocuments!: ReviewDocuments[];\r\n reviewDocumentsFiltered!: ReviewDocuments[];\r\n selectedRowIndex!: number;\r\n reviewattachmentCategories: ReviewDocumentCategory[] = [];\r\n reviewattachmentCategoriesFiltered: ReviewDocumentCategory[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _service: ReviewsService,\r\n private file2Service: FileV2Service\r\n ) {\r\n super(injector);\r\n this.loading = true;\r\n }\r\n\r\n\r\n ngOnInit(): void {\r\n this.displayedColumns = this.canDelete\r\n ? [\"name\", \"attachmentUser\", \"attachmentDate\", \"type\", \"actions\"]\r\n : [\"name\", \"attachmentUser\", \"attachmentDate\", \"type\"];\r\n this.enableCategoriesButton = this.hasRoles([Roles.BRC]);\r\n this.loadReviewDocuments();\r\n this.loading = false;\r\n }\r\n\r\n async loadReviewDocuments() {\r\n await this.ObtainAttachmentCategories();\r\n if (this.review)\r\n await this._service.getReviewDocumentsByReview(this.review.id).toPromise().then((result) => {\r\n if (!(result?.length)) {\r\n result = [];\r\n this.showTable = false;\r\n } else {\r\n this.showTable = true;\r\n }\r\n\r\n this.reviewattachmentCategoriesFiltered = [];\r\n this.dataSources = [];\r\n this.reviewDocuments = result;\r\n if (this.reviewDocuments.length > 0) {\r\n const uniqueAttachmentCategories = [\r\n ...new Set(this.reviewDocuments.map((doc) => doc.reviewCategoryID)),\r\n ];\r\n uniqueAttachmentCategories.sort((a, b) => this.utils.sort(a, b));\r\n\r\n uniqueAttachmentCategories.map((idCategory) => {\r\n const searchReviewDocumentCategory =\r\n this.reviewattachmentCategories.filter(\r\n (x) => x.id == idCategory\r\n )[0];\r\n this.reviewattachmentCategoriesFiltered.push(\r\n searchReviewDocumentCategory\r\n );\r\n });\r\n }\r\n if (this.reviewattachmentCategoriesFiltered.length) {\r\n this.reviewattachmentCategoriesFiltered?.map((attachmentCategoryType) => {\r\n const dataSourceCategory = new MatTableDataSource();\r\n dataSourceCategory.data = this.reviewDocuments.filter((x) => x.reviewCategoryID == attachmentCategoryType.id).sort((a, b) => this.utils.sort(a.name, b.name, true));\r\n if (dataSourceCategory)\r\n this.dataSources.push(dataSourceCategory);\r\n }\r\n );\r\n }\r\n });\r\n }\r\n\r\n async ObtainAttachmentCategories() {\r\n await this._service.getReviewDocumentCategories().toPromise().then((result) => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.reviewattachmentCategories = result;\r\n });\r\n }\r\n\r\n addReviewDocument() {\r\n const dataDialog = this.review;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = dataDialog;\r\n dialogConfig.width = \"420px\";\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(ReviewAttachmentComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((data) => {\r\n if (data && this.review) {\r\n this.loading = true;\r\n this.uploadDocuments(data, this.review);\r\n }\r\n });\r\n }\r\n\r\n addLinkDocument() {\r\n const dataDialog = this.review;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = dataDialog;\r\n dialogConfig.minWidth = \"35vw\";\r\n dialogConfig.width = \"400px\";\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(ReviewLinksComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then((data: ReviewDocuments) => {\r\n if (data && this.review) {\r\n this.loading = true;\r\n this.uploadsLinks(data, this.review);\r\n }\r\n });\r\n }\r\n\r\n public async SearchFile(rowFile: ReviewDocuments) {\r\n if (rowFile.type == null || rowFile.type == 1) {\r\n if (rowFile.fileID?.toString() != \"\") {\r\n if (rowFile) {\r\n const link = document.createElement(\"a\");\r\n link.setAttribute(\"target\", \"_blank\");\r\n link.setAttribute(\"href\", rowFile.url ?? '');\r\n link.setAttribute(\"download\", rowFile.name ?? '');\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n } else {\r\n console.log(\r\n \"Error: Could not get file information (SearchFile function in review-attachment-documents component)\"\r\n );\r\n }\r\n }\r\n } else {\r\n if (rowFile != null) {\r\n const link = document.createElement(\"a\");\r\n link.setAttribute(\"target\", \"_blank\");\r\n link.setAttribute(\"href\", rowFile.url ?? '');\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n } else {\r\n console.log(\r\n \"Error: Could not get link information (SearchFile function in review-attachment-documents component)\"\r\n );\r\n }\r\n }\r\n }\r\n\r\n manageCategories() {\r\n const dataDialog = this.review;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = dataDialog;\r\n dialogConfig.minWidth = \"35vw\";\r\n dialogConfig.maxHeight = \"85%\";\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(\r\n ReviewAttachmentTypesComponent,\r\n dialogConfig\r\n );\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data != undefined) {\r\n this.loading = true;\r\n }\r\n });\r\n }\r\n\r\n deleteReviewDocument(element: any) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"BRC_Question_Delete_File\").description,\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm\r\n .afterClosed()\r\n .toPromise()\r\n .then(\r\n async (data) => {\r\n if (data != null) {\r\n this.loading = true;\r\n if (element.type == null || element.type == 1) {\r\n await this.deleteCommentFileServer(element.fileID, element.id);\r\n } else {\r\n await this.deleteLinkFile(element.id);\r\n }\r\n }\r\n },\r\n (error) => { }\r\n )\r\n .finally(() => {\r\n this.loadReviewDocuments();\r\n this.loading = false;\r\n });\r\n }\r\n\r\n async deleteCommentFileServer(fileId: number, documentId: number) {\r\n await this.file2Service.delete(fileId).toPromise().then((async) => {\r\n console.log(fileId.toString());\r\n this.deleteCommentFile(documentId);\r\n this.alert.success(this.getMessage(\"BRC_Confirmation_Deleted_File\").description);\r\n },\r\n (error) => {\r\n this.alert.error(\"Error !! The attached file could not be removed!!\");\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n async deleteLinkFile(documentId: number) {\r\n const promise = new Promise(async (resolve, reject) => {\r\n this.deleteCommentFile(documentId);\r\n this.alert.success(this.getMessage(\"BRC_Confirmation_Deleted_File\").description);\r\n resolve(true);\r\n })\r\n .catch(() => {\r\n this.alert.error(\"Error !! The attached link could not be removed!!\");\r\n console.error(\"Error !! The attached link could not be removed!!\");\r\n })\r\n .finally(() => { });\r\n return promise;\r\n }\r\n\r\n async deleteCommentFile(fileId: number) {\r\n await this._service.deleteReviewDocument(fileId).toPromise().then(() => {\r\n console.log(fileId.toString());\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n obtainIcon(fileExtension: string): string {\r\n const pathIcon: string =\r\n \"../../assets/icons/files/\" +\r\n fileExtension.replace(\".\", \"\").toLocaleLowerCase() +\r\n \".png\";\r\n return pathIcon;\r\n }\r\n\r\n uploadsLinks(attachedLink: ReviewDocuments, reviewActual: Review) {\r\n const promise = new Promise(async (resolve, reject) => {\r\n const attachedReviewDocuments: ReviewDocuments[] = [];\r\n attachedReviewDocuments.push(attachedLink);\r\n await this._service.createReviewDocuments(attachedReviewDocuments).toPromise().then((result) => {\r\n if (result) {\r\n const filesAdded: number = result;\r\n this.alert.success(this.getMessage(\"BRC_Confirmation_Attached_File\").description);\r\n this.loadReviewDocuments();\r\n }\r\n });\r\n resolve(attachedReviewDocuments);\r\n }).finally(() => {\r\n this.loading = false;\r\n });\r\n return promise;\r\n }\r\n\r\n uploadDocuments(files: any[], reviewActual: Review) {\r\n const promise = new Promise(async (resolve, reject) => {\r\n const attachedReviewDocuments: ReviewDocuments[] = [];\r\n let fileAdded: FileV2 = new FileV2();\r\n const size = 0;\r\n this.setPath(\"Review\", reviewActual.name ?? '');\r\n\r\n for (let i = 0; i < files.length; i++) {\r\n this.fileToUpload = files[i];\r\n const categoryId: number = files[i].CategoryId;\r\n\r\n // Save the file in the file server and obtain the id of the record of FileV2 table\r\n await this.getIdFileServer(this.fileToUpload).then((res) => {\r\n this.fileIdServer = res;\r\n });\r\n\r\n await this.ObtainFile(this.fileIdServer).then((res) => {\r\n fileAdded = res;\r\n });\r\n\r\n const attachedDocument: ReviewDocuments = {\r\n name: this.fileToUpload.name,\r\n fileID: this.fileIdServer,\r\n reviewID: this.review?.id,\r\n reviewCategoryID: categoryId,\r\n code: fileAdded.extension,\r\n url: fileAdded.url,\r\n id: 0,\r\n description: \"Document of \" + reviewActual.name,\r\n type: 1,\r\n status: 1,\r\n size:\r\n this.utils.numberWithCommas(Math.round(this.fileToUpload.size / 1024)) +\r\n \" Kb\",\r\n } as ReviewDocuments;\r\n\r\n attachedReviewDocuments.push(attachedDocument);\r\n }\r\n\r\n await this._service\r\n .createReviewDocuments(attachedReviewDocuments)\r\n .toPromise()\r\n .then((result) => {\r\n if (result) {\r\n const filesAdded: number = result;\r\n this.alert.success(this.getMessage(\"BRC_Confirmation_Attached_File\").description);\r\n this.loadReviewDocuments();\r\n }\r\n });\r\n resolve(attachedReviewDocuments);\r\n }).finally(() => {\r\n this.loading = false;\r\n });\r\n return promise;\r\n }\r\n\r\n setPath(folderName: string, holderName: string) {\r\n this.path = \"/\" + folderName + \"/\" + holderName + \"/Files/\";\r\n }\r\n\r\n async getIdFileServer(file: File) {\r\n const promise = new Promise(async (resolve) => {\r\n const form = new FormData();\r\n let idFileServer: number = 0;\r\n\r\n form.append(\"file\", file);\r\n form.append(\"path\", this.path + file.name);\r\n\r\n await this.file2Service.createFiles(form).toPromise().then((file: FileV2) => {\r\n idFileServer = file.id;\r\n this.fileIdServer = file.id;\r\n },\r\n (error) => {\r\n idFileServer = 0;\r\n this.fileIdServer = 0;\r\n console.error(error);\r\n }\r\n );\r\n resolve(idFileServer);\r\n });\r\n return promise;\r\n }\r\n\r\n async ObtainFile(fileId: number) {\r\n const promise = new Promise(async (resolve) => {\r\n let fileSearched: FileV2 | undefined = undefined;\r\n\r\n await this.file2Service.obtainFile(fileId).toPromise().then((file: FileV2) => {\r\n fileSearched = file;\r\n },\r\n (error) => {\r\n fileSearched = undefined;\r\n console.error(error);\r\n }\r\n );\r\n if (fileSearched)\r\n resolve(fileSearched);\r\n });\r\n return promise;\r\n }\r\n}\r\n","\r\n\r\n\t
    \r\n\t\t
    {{ reviewattachmentCategories.name }}
    \r\n\t
    \r\n\t
    \r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tDoc / Link\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ element.name }}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{{ element.name }}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tUploaded By\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ element.createdByName }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tAttachment Date\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ element.createdOn | date }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tType\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ element.type == 2 ? \"Link\" : \"File\" }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tActions\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tdelete\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t
    \r\n\t
    \r\n\r\n","import { Component, EventEmitter, Inject, Input, OnInit, Output } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ReviewDocumentCategory } from '../../../reviews.models';\r\nimport { ReviewsService } from '../../../reviews.service';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\n\r\n@Component({\r\n selector: 'app-review-attachment-type-details',\r\n templateUrl: './review-attachment-type-details.component.html',\r\n styleUrls: ['./review-attachment-type-details.component.scss']\r\n})\r\nexport class ReviewAttachmentTypeDetailsComponent implements OnInit {\r\n @Input() currentReviewDocumentCategory!: ReviewDocumentCategory;\r\n\r\n public modifying!: boolean;\r\n public selected!: boolean;\r\n public adding: boolean = false;\r\n public disabledStatus!: boolean;\r\n public statusList: any = [{ name: \"Active\", id: 1 }, { name: \"Inactive\", id: 0 }];\r\n public showCancelButton!: boolean;\r\n public isModifiying!: boolean;\r\n public modifyAvailable: boolean = false;\r\n public disabledTimer!: boolean;\r\n listReviewCategories: ReviewDocumentCategory[] = [];\r\n private valid!: boolean;\r\n oldName: string = \"\";\r\n oldDescription: string = \"\";\r\n oldStaus?: number = undefined;\r\n private errorMsg: string[] = [];\r\n\r\n constructor(\r\n private _alert: AlertService,\r\n private _service: ReviewsService,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: ReviewDocumentCategory) { }\r\n\r\n ngOnInit(): void {\r\n if (this.currentReviewDocumentCategory == undefined) {\r\n this.currentReviewDocumentCategory = { name: \"\", description: \"\", status: 0 } as ReviewDocumentCategory;\r\n }\r\n this.obtainReviewCategories();\r\n if (this.data) {\r\n this.getDetails(this.data);\r\n }\r\n }\r\n\r\n async obtainReviewCategories() {\r\n await this._service.getReviewDocumentCategories().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.listReviewCategories = result;\r\n });\r\n }\r\n\r\n async saveReviewDocumentCategory() {\r\n var reviewDocCategory = this.createReviewDocumentCategory();\r\n if (await this.isValid()) {\r\n if (!this.currentReviewDocumentCategory?.id) {\r\n var reviewDocumentCategorySearch = this.listReviewCategories.filter(cat => cat.name?.trim() == this.currentReviewDocumentCategory?.name?.trim()).length;\r\n if (reviewDocumentCategorySearch == 0) {\r\n await this._service.createReviewDocumentCategory(reviewDocCategory).toPromise().then(result => {\r\n if (this.currentReviewDocumentCategory && result)\r\n this.currentReviewDocumentCategory.id = result.id;\r\n }).finally(() => {\r\n this.dialogRef.close(\"Create\");\r\n });\r\n }\r\n else {\r\n this._alert.warning(\"Warning !! There is already a category with the name entered!!\");\r\n }\r\n } else {\r\n reviewDocCategory.id = this.currentReviewDocumentCategory.id;\r\n this._service.updateReviewDocumentCategory(reviewDocCategory).toPromise().then(result => {\r\n }).finally(() => {\r\n this.dialogRef.close(\"Update\");\r\n });\r\n }\r\n }\r\n }\r\n\r\n async isValid() {\r\n this.valid = true;\r\n if (!this.currentReviewDocumentCategory?.name) {\r\n this.errorMsg.push(\"Field Name should not be blank!\");\r\n this.valid = false;\r\n }\r\n if (!this.currentReviewDocumentCategory?.description) {\r\n this.errorMsg.push(\"Field Description should not be blank!\");\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n createReviewDocumentCategory(): ReviewDocumentCategory {\r\n var reviewDocumentCategory: ReviewDocumentCategory = {\r\n name: this.currentReviewDocumentCategory?.name,\r\n description: this.currentReviewDocumentCategory?.description,\r\n status: this.currentReviewDocumentCategory?.status,\r\n id: 0,\r\n type: undefined,\r\n code: \"\"\r\n }\r\n return reviewDocumentCategory;\r\n }\r\n\r\n getDetails(data: ReviewDocumentCategory) {\r\n this.clear();\r\n if (this.currentReviewDocumentCategory)\r\n if (!data.id) {\r\n this.currentReviewDocumentCategory.description = data.description;\r\n this.currentReviewDocumentCategory.name = data.name;\r\n this.currentReviewDocumentCategory.status = data.status;\r\n this.showCancelButton = true;\r\n this.adding = true;\r\n this.modifying = false;\r\n this.disabledStatus = false;\r\n this.selected = false;\r\n }\r\n else {\r\n this.selected = true;\r\n this.modifying = true;\r\n this.adding = false\r\n this.disabledStatus = false;\r\n this.oldName = data.name ?? '';\r\n this.oldDescription = data.description ?? '';\r\n this.oldStaus = data.status;\r\n this.currentReviewDocumentCategory.id = data.id;\r\n this.currentReviewDocumentCategory.description = data.description;\r\n this.currentReviewDocumentCategory.name = data.name;\r\n this.currentReviewDocumentCategory.status = data.status;\r\n this.showCancelButton = true;\r\n }\r\n }\r\n\r\n clear() {\r\n this.currentReviewDocumentCategory = { name: \"\", description: \"\", status: 0 } as ReviewDocumentCategory;\r\n this.adding = false;\r\n this.selected = false;\r\n this.modifying = false;\r\n this.isModifiying = false;\r\n this.disabledStatus = false;\r\n this.showCancelButton = false;\r\n this.disabledTimer = false;\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Documents Category Details\r\n \r\n
    \r\n\r\n
    \r\n \r\n Name\r\n \r\n \r\n \r\n Description\r\n \r\n \r\n \r\n Status\r\n \r\n \r\n {{ RCstatus.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n\r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Inject, Injector, OnInit, Output } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatDialog, MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ReviewAttachmentTypeDetailsComponent } from './review-attachment-type-details/review-attachment-type-details.component';\r\nimport { Review, ReviewDocumentCategory } from '../../reviews.models';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-review-attachment-types',\r\n templateUrl: './review-attachment-types.component.html',\r\n styleUrls: ['./review-attachment-types.component.scss']\r\n})\r\nexport class ReviewAttachmentTypesComponent extends BaseComponent implements OnInit {\r\n\r\n public valueFilter: string = '';\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n public showInactive?: boolean;\r\n public loading = false;\r\n public reviewCategories!: ReviewDocumentCategory[];\r\n public displayedColumns: string[] = ['name', 'description', 'status', 'actions'];\r\n public createAvailable!: boolean;\r\n public selectedRowIndex = -1;\r\n public pending: boolean = false;\r\n\r\n constructor(protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: Review,\r\n private _service: ReviewsService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.clear();\r\n this.loadReviewCategories();\r\n this.createAvailable = true;\r\n }\r\n\r\n applyFilter(filterValue: string) {\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n if (this.dataSource.paginator) {\r\n this.dataSource.paginator.firstPage();\r\n }\r\n }\r\n\r\n clear() {\r\n this.showInactive = true;\r\n this.selectedRowIndex = 0;\r\n this.dataSource = new MatTableDataSource();\r\n }\r\n\r\n async loadReviewCategories(event?: any) {\r\n this.loading = true;\r\n this.valueFilter = '';\r\n await this._service.getReviewDocumentCategories().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.reviewCategories = result;\r\n if (!this.showInactive) {\r\n this.dataSource = new MatTableDataSource(result.filter(x => x.status == 1));\r\n } else {\r\n this.dataSource = new MatTableDataSource(result);\r\n }\r\n }).finally(() => this.loading = false);\r\n }\r\n\r\n refreshReviewCategories(event?: any) {\r\n this.loadReviewCategories();\r\n this.selectedRowIndex = -1;\r\n }\r\n\r\n showReviewCategoriesInactive() {\r\n this.refreshReviewCategories();\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const data = this.reviewCategories;\r\n var sortedData: ReviewDocumentCategory[];\r\n if (!sort.active || sort.direction === '') {\r\n sortedData = data;\r\n return;\r\n }\r\n sortedData = data.sort((a, b) => {\r\n const isDesc = sort.direction === 'desc';\r\n switch (sort.active) {\r\n case 'name': return compare(a.name, b.name, isDesc);\r\n case 'description': return compare(a.description, b.description, isDesc);\r\n case 'status': return compare(a.status, b.status, isDesc);\r\n default: return 0;\r\n }\r\n });\r\n this.dataSource = new MatTableDataSource(sortedData);\r\n }\r\n\r\n getColor(reviewDocumentCategory: ReviewDocumentCategory): string {\r\n if (reviewDocumentCategory.status == 0)\r\n return \"#D8D8D8\";\r\n else\r\n return \"#000000\";\r\n }\r\n\r\n getPosition(row: any): number {\r\n var i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n highlight(row: any) {\r\n if (!this.pending) {\r\n this.selectedRowIndex = row.id;\r\n }\r\n }\r\n\r\n createReviewDocumentCategory() {\r\n this.selectedRowIndex = 0;\r\n let reviewDocumentCategoryNew: ReviewDocumentCategory = {} as ReviewDocumentCategory;\r\n reviewDocumentCategoryNew.id = 0;\r\n reviewDocumentCategoryNew.description = \"\";\r\n reviewDocumentCategoryNew.code = \"\";\r\n reviewDocumentCategoryNew.status = 1;\r\n reviewDocumentCategoryNew.name = \"\";\r\n reviewDocumentCategoryNew.type = 0;\r\n this.openDetailsReviewDocumentCategory(reviewDocumentCategoryNew);\r\n }\r\n\r\n openDetailsReviewDocumentCategory(reviewDocumentCategoryNew: ReviewDocumentCategory) {\r\n let dataDialog = reviewDocumentCategoryNew;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = dataDialog;\r\n dialogConfig.minWidth = '35vw';\r\n dialogConfig.maxHeight = '85%';\r\n dialogConfig.disableClose = true;\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ReviewAttachmentTypeDetailsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data != undefined) {\r\n this.loading = true;\r\n this.refreshReviewCategories(data);\r\n if (data == \"Create\")\r\n this.alert.success(this.getMessage('BRC_Confirmation_Created_BRC_File_Category').description);\r\n else if (data == \"Update\")\r\n this.alert.success(this.getMessage('BRC_Confirmation_Updated_BRC_File_Category').description);\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n async deleteReviewDocumentCategory(element: ReviewDocumentCategory) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('BRC_Question_Delete_File_Category').description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data != null) {\r\n this.loading = true;\r\n await this._service.getReviewDocumentsByCategory(element.id).toPromise().then(async result => {\r\n if (result?.length == 0) {\r\n await this._service.deleteReviewDocumentCategory(element.id).toPromise().then(result => {\r\n this.alert.success(this.getMessage('BRC_Confirmation_Deleted_File_Category').description);\r\n }).catch(() => {\r\n this.alert.error(\"Error: The beamline review attachments category was not deleted.\");\r\n });\r\n }\r\n else {\r\n this.alert.error(this.getMessage('BRC_Message_File_Category_InUse').description);\r\n }\r\n });\r\n }\r\n }, error => {\r\n }).finally(() => {\r\n this.loading = false;\r\n this.refreshReviewCategories(true);\r\n });\r\n }\r\n\r\n EditReviewDocumentCategory(element: ReviewDocumentCategory) {\r\n this.openDetailsReviewDocumentCategory(element);\r\n }\r\n}\r\n\r\nfunction compare(a?: number | string | null, b?: number | string | null, isAsc?: boolean) {\r\n if (a && b)\r\n return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\r\n return 0;\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n Documents Categories\r\n
    \r\n
    \r\n Show Inactive\r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n Category\r\n \r\n \r\n {{ element.name }}\r\n \r\n \r\n \r\n \r\n Description\r\n \r\n \r\n {{ element.description }}\r\n \r\n \r\n \r\n Status \r\n \r\n {{ element.status == 1 ? \"Active\" : \"Inactive\" }}\r\n \r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Inject, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Review, ReviewDocumentCategory } from '../../reviews.models';\r\nimport { ReviewsService } from '../../reviews.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-review-attachment',\r\n templateUrl: './review-attachment.component.html',\r\n styleUrls: ['./review-attachment.component.scss']\r\n})\r\n\r\nexport class ReviewAttachmentComponent implements OnInit {\r\n @Output() barProgressStatus = new EventEmitter();\r\n\r\n @ViewChild(\"fileDropRef\", { static: false }) fileDropEl!: ElementRef;\r\n\r\n files: any[] = [];\r\n public typeSelected!: number;\r\n public menuListCategories!: ReviewDocumentCategory[];\r\n public reviewParameter!: Review;\r\n path!: string;\r\n fileToUpload!: File;\r\n selectedFiles!: FileList;\r\n attachedFiles!: File[];\r\n\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: Review, private _service: ReviewsService) { }\r\n\r\n ngOnInit(): void {\r\n this.loadReviewCategories();\r\n if (this.data) {\r\n this.reviewParameter = this.data;\r\n }\r\n }\r\n\r\n loadReviewCategories() {\r\n this._service.getReviewDocumentCategories().toPromise().then(result => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.menuListCategories = result.filter(x => x.status == 1);\r\n if (this.menuListCategories.length > 0) { this.typeSelected = this.menuListCategories[0].id }\r\n });\r\n }\r\n\r\n /**\r\n * on file drop handler\r\n */\r\n onFileDropped(event: any) {\r\n this.prepareFilesList(event);\r\n }\r\n\r\n /**\r\n * handle file from browsing\r\n */\r\n fileBrowseHandler(e: any) {\r\n const files = e.target.files;\r\n if (this.typeSelected && files)\r\n this.prepareFilesList2(files);\r\n }\r\n\r\n /**\r\n * Delete file from files list\r\n * @param index (File index)\r\n */\r\n deleteFile(index: number) {\r\n if (this.files[index].progress < 100) {\r\n console.log(\"Upload in progress.\");\r\n return;\r\n }\r\n this.files.splice(index, 1);\r\n this.attachedFiles = this.files;\r\n }\r\n\r\n /**\r\n * Convert Files list to normal array list\r\n * @param files (Files List)\r\n */\r\n prepareFilesList(files: Array) {\r\n for (const item of files) {\r\n item.progress = 0;\r\n this.files.push(item);\r\n }\r\n this.fileDropEl.nativeElement.value = \"\";\r\n this.uploadFilesSimulator(0);\r\n }\r\n\r\n prepareFilesList2(files: Array) {\r\n for (const item of files) {\r\n let existNameFile = this.files.filter(fileAdded => fileAdded.name.toUpperCase().trim() == item.name.toUpperCase().trim()).length;\r\n if (existNameFile == 0) {\r\n item.progress = 0;\r\n item.CategoryId = this.typeSelected;\r\n this.files.push(item);\r\n }\r\n }\r\n this.attachedFiles = this.files;\r\n this.fileDropEl.nativeElement.value = \"\";\r\n this.uploadFilesSimulator(0);\r\n }\r\n\r\n getFileExtension(fileName: string): string | undefined {\r\n const parts = fileName.split('.');\r\n if (parts.length > 1) {\r\n return parts[parts.length - 1];\r\n }\r\n return undefined;\r\n }\r\n\r\n /**\r\n * format bytes\r\n * @param bytes (File size in bytes)\r\n * @param decimals (Decimals point)\r\n */\r\n formatBytes(bytes: any, decimals = 2) {\r\n if (bytes === 0) {\r\n return \"0 Bytes\";\r\n }\r\n const k = 1024;\r\n const dm = decimals <= 0 ? 0 : decimals;\r\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\r\n const i = Math.floor(Math.log(bytes) / Math.log(k));\r\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\r\n }\r\n\r\n /**\r\n * Simulate the upload process\r\n */\r\n uploadFilesSimulator(index: number) {\r\n setTimeout(() => {\r\n if (index === this.files.length) {\r\n return;\r\n } else {\r\n const progressInterval = setInterval(() => {\r\n if (this.files[index].progress === 100) {\r\n clearInterval(progressInterval);\r\n this.uploadFilesSimulator(index + 1);\r\n } else {\r\n this.files[index].progress += 5;\r\n }\r\n }, 200);\r\n }\r\n }, 500);\r\n }\r\n\r\n SaveFiles() {\r\n this.dialogRef.close(this.files);\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n setPath(folderName: string, holderName: string) {\r\n this.path = \"/\" + folderName + \"/\" + holderName + \"/\";\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Attach Review Document\r\n
    \r\n\r\n
    \r\n \r\n Category\r\n \r\n {{ itemList.name }}\r\n \r\n \r\n \r\n
    \r\n \r\n \"\"\r\n

    Drag and drop file here

    \r\n

    or

    \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n

    \r\n {{ file?.name }}\r\n

    \r\n

    \r\n {{ formatBytes(file?.size) }}\r\n

    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Inject, Injector, OnInit } from \"@angular/core\";\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from \"@angular/material/dialog\";\r\nimport { ReviewsService } from \"../../reviews.service\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { Review, ReviewDocumentCategory, ReviewDocuments } from \"../../reviews.models\";\r\n\r\n@Component({\r\n selector: \"review-links\",\r\n templateUrl: \"./review-links.component.html\",\r\n styleUrls: [\"./review-links.component.scss\"],\r\n})\r\nexport class ReviewLinksComponent extends BaseComponent implements OnInit {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: Review,\r\n private _service: ReviewsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n public hyperlink!: string;\r\n public webAddress!: string;\r\n public typeSelected!: number;\r\n public menuListCategories!: ReviewDocumentCategory[];\r\n public reviewParameter!: Review;\r\n public urlRegex = new RegExp(\r\n /^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$/\r\n );\r\n files: any[] = [];\r\n reviewLink!: ReviewDocuments;\r\n\r\n ngOnInit(): void {\r\n this.loadReviewCategories();\r\n if (this.data) {\r\n this.reviewParameter = this.data;\r\n }\r\n }\r\n\r\n async loadReviewCategories() {\r\n await this._service\r\n .getReviewDocumentCategories()\r\n .toPromise()\r\n .then((result) => {\r\n if (!(result?.length)) {\r\n result = [];\r\n }\r\n this.menuListCategories = result.filter((x) => x.status == 1);\r\n if (this.menuListCategories.length > 0) {\r\n this.typeSelected = this.menuListCategories[0].id;\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n SaveFiles() {\r\n this.reviewLink = {} as ReviewDocuments;\r\n\r\n if (this.isValid()) {\r\n if (\r\n this.webAddress != null &&\r\n this.webAddress.substr(0, 4).toUpperCase() !== \"HTTP\"\r\n ) {\r\n this.webAddress = \"HTTPS://\" + this.webAddress;\r\n }\r\n let attachedLink: ReviewDocuments = {\r\n name: this.hyperlink.trim(),\r\n fileID: undefined,\r\n reviewID: this.reviewParameter.id,\r\n reviewCategoryID: this.typeSelected,\r\n code: \"url\",\r\n url: this.webAddress.trim(),\r\n id: 0,\r\n description: \"Document of \" + this.reviewParameter.name,\r\n type: 2,\r\n status: 1,\r\n size: \"0 Kb\",\r\n } as ReviewDocuments;\r\n\r\n this.reviewLink = attachedLink;\r\n this.dialogRef.close(this.reviewLink);\r\n }\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n isValid() {\r\n if (this.utils.IsNullOrWhiteSpace(this.hyperlink)) {\r\n this.alert.message(\"linkDialog_Hyperlink_Required\");\r\n return false;\r\n }\r\n if (this.utils.IsNullOrWhiteSpace(this.webAddress)) {\r\n this.alert.message(\"linkDialog_WebAddress_Required\");\r\n return false;\r\n }\r\n if (this.webAddress) {\r\n if (!this.urlRegex.test(this.webAddress)) {\r\n this.alert.message(\"linkDialog_WebAddress_NotValid\");\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n}\r\n","
    \r\n
    \r\n Attach Review Link\r\n
    \r\n\r\n
    \r\n \r\n Select a category\r\n \r\n {{ itemList.name }}\r\n \r\n \r\n \r\n \r\n Hyperlink Text\r\n \r\n \r\n \r\n URL\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Input, OnInit, OnDestroy, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Review, ReviewBoard, ReviewCycle, ReviewRequestStatus, ReviewTypesEnum } from '../../reviews.models';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { ReviewCycleStatus } from 'src/app/common/enumerations/enumerations';\r\nimport { ReviewRequestComponent } from '../../reviews-requests/review-request/review-request.component';\r\n\r\n@Component({\r\n selector: 'reviews-boards-cycles',\r\n templateUrl: './reviews-boards-cycles.component.html',\r\n styleUrls: ['./reviews-boards-cycles.component.scss']\r\n})\r\nexport class ReviewsBoardsCyclesComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() reviewBoard?: ReviewBoard;\r\n @Input() reviewBoardFromIndex?: ReviewBoard;\r\n @Input() showOnlyActive?: boolean;\r\n @Output() selectedReview = new EventEmitter();\r\n\r\n reviewCycles!: ReviewCycle[];\r\n reviewCycles$!: Observable;\r\n reviewCyclesSubs!: Subscription;\r\n\r\n statuses: ReviewRequestStatus[] = [\r\n { status: ReviewCycleStatus.Pending, name: 'Pending', icon: 'new_releases', color: 'yellow', selected: true },\r\n { status: ReviewCycleStatus.Approved, name: 'Approved', icon: 'check_circle', color: 'green', selected: true },\r\n { status: ReviewCycleStatus.Rejected, name: 'Rejected', icon: 'report', color: 'red' },\r\n { status: ReviewCycleStatus.Archived, name: 'Archived', icon: 'archive', color: 'gray' },\r\n ];\r\n\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.reviewCycles$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewCyclesSubs = this.reviewCycles$.subscribe(data => {\r\n data.map(d => d.reviewRequestStatus = this.statuses.find(s => s.status == d.status));\r\n if (data && this.reviewBoard) {\r\n this.reviewCycles = data?.filter(x => x.reviewBoardID == this.reviewBoard?.id).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, true));\r\n // let reviewCyclesFull = data?.filter(x => x.reviewBoardID == this.reviewBoard?.id && x.type == ReviewTypesEnum.FULL).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n // if (!reviewCyclesFull) reviewCyclesFull = [];\r\n // const reviewCyclesModf = data?.filter(x => x.reviewBoardID == this.reviewBoard?.id && x.type == ReviewTypesEnum.MODF).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n // this.reviewCycles = reviewCyclesFull.concat(reviewCyclesModf);\r\n if (this.showOnlyActive) this.reviewCycles = this.reviewCycles.filter(x => x.status != ReviewCycleStatus.Archived && x.status != ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Rejected);\r\n }\r\n else if (data && this.reviewBoardFromIndex) {\r\n this.reviewCycles = data?.filter(x => this.reviewBoardFromIndex?.reviewCycles?.map(c => c.id).includes(x.id)).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, true));\r\n // let reviewCyclesFull = data?.filter(x => this.reviewBoardFromIndex?.reviewCycles?.map(c => c.id).includes(x.id) && x.type == ReviewTypesEnum.FULL).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n // if (!reviewCyclesFull) reviewCyclesFull = [];\r\n // const reviewCyclesModf = data?.filter(x => this.reviewBoardFromIndex?.reviewCycles?.map(c => c.id).includes(x.id) && x.type == ReviewTypesEnum.MODF).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n // this.reviewCycles = reviewCyclesFull.concat(reviewCyclesModf);\r\n if (this.showOnlyActive) this.reviewCycles = this.reviewCycles.filter(x => x.status != ReviewCycleStatus.Archived && x.status != ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Rejected);\r\n }\r\n });\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewCyclesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n label(reviewCycle: ReviewCycle) {\r\n if (this.reviewBoard)\r\n return reviewCycle.type == ReviewTypesEnum.MODF ? this.reviewBoard.resource?.name?.substr(0, 1) + 'MR' : null;\r\n else if (this.reviewBoardFromIndex)\r\n return reviewCycle.type == ReviewTypesEnum.MODF ? this.reviewBoardFromIndex.resource?.name?.substr(0, 1) + 'MR' : null;\r\n return '';\r\n }\r\n\r\n reviewSelected(review: Review) {\r\n this.selectedReview.emit(review);\r\n }\r\n\r\n requestColor(r: ReviewCycle) {\r\n return r.reviewRequestStatus?.color\r\n }\r\n\r\n requestIcon(r: ReviewCycle) {\r\n return r.reviewRequestStatus?.icon\r\n }\r\n\r\n requestTip(r: ReviewCycle) {\r\n return r.reviewRequestStatus?.name\r\n }\r\n\r\n openReviewRequest(r: ReviewCycle) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n reviewCycle: r,\r\n isEvaluate: true\r\n };\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ReviewRequestComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise();\r\n }\r\n}\r\n","\r\n \r\n
    \r\n {{ reviewCycle.name }}\r\n {{\r\n reviewCycle.reviewRequestStatus?.icon\r\n }}\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Inject, OnInit, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Review, ReviewBoard, ReviewType, ReviewTypesEnum, ReviewCycle, ReviewBoardType } from '../../reviews.models';\r\nimport { FormControl } from '@angular/forms';\r\nimport { ChecklistTemplatesStoreAndListenersService } from 'src/app/components/checklists/store/checklist-templates/checklist-templates.store';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormType, ReviewCycleStatus } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistTemplate, TemplateType } from 'src/app/components/checklists/checklists';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport moment from 'moment';\r\n@Component({\r\n selector: 'reviews-boards-review-create',\r\n templateUrl: './reviews-boards-review-create.component.html',\r\n styleUrls: ['./reviews-boards-review-create.component.scss']\r\n})\r\nexport class ReviewsBoardsReviewCreateComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n review: Review;\r\n reviewBoard: ReviewBoard;\r\n\r\n reviewTypeCtrl = new FormControl();\r\n reviewType!: ReviewType;\r\n reviewTypes!: ReviewType[];\r\n reviewTypesFiltered!: ReviewType[];\r\n reviewTypes$!: Observable;\r\n reviewTypesSubs!: Subscription;\r\n\r\n reviewBoardTypes!: ReviewBoardType[];\r\n reviewBoardTypesFiltered!: ReviewBoardType[];\r\n reviewBoardTypes$!: Observable;\r\n reviewBoardTypesSubs!: Subscription;\r\n\r\n checklistTemplateCtrl = new FormControl();\r\n checklistTemplates$!: Observable;\r\n checklistTemplates!: ChecklistTemplate[];\r\n checklistTemplatesFiltered!: ChecklistTemplate[];\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n templateTypes!: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n reviewRequestCtrl = new FormControl();\r\n reviewRequests$!: Observable;\r\n reviewRequests!: ReviewCycle[];\r\n reviewRequestsFiltered!: ReviewCycle[];\r\n reviewRequest!: ReviewCycle;\r\n reviewRequestsSubs!: Subscription;\r\n\r\n reviewDateTimeCtrl = new FormControl();\r\n isFullReview!: boolean;\r\n\r\n defaultTime!: any[];\r\n options = [{ id: 1, name: 'Full Review', checked: true }, { id: 2, name: 'Modification Review', checked: false }];\r\n reviewTypeEnum?: ReviewTypesEnum | null = ReviewTypesEnum.FULL;\r\n\r\n title!: string;\r\n disabled!: boolean;\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n public service: ReviewsService,\r\n private checklistTemplatesStore: ChecklistTemplatesStoreAndListenersService,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n super(injector);\r\n this.reviewBoard = data.reviewBoard;\r\n this.review = data.review;\r\n this.checklistTemplatesStore.initStore(FormType.RCP);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.templateTypesSubs?.unsubscribe();\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n const now = moment();\r\n this.defaultTime = [now.add(1, 'hour').format('HH'), '00', '00'];\r\n this.title = this.review ? `Edit Review ${this.reviewBoard.name}` : `Create Review ${this.reviewBoard.name}`;\r\n this.loadReviewBoardTypes();\r\n this.loadReviewTypes();\r\n this.loadReviewRequests();\r\n this.loadChecklistTemplates();\r\n }\r\n\r\n loadReviewBoardTypes() {\r\n this.reviewBoardTypes$ = this.store.select(state => state.ReviewBoardTypes.data);\r\n this.reviewBoardTypesSubs = this.reviewBoardTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.reviewBoardTypes = data;\r\n if (this.reviewBoard) {\r\n this.reviewBoard.reviewBoardType = this.reviewBoardTypes.find(t => t.id == this.reviewBoard.reviewBoardTypeID);\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadReviewTypes() {\r\n this.reviewTypes$ = this.store.select(state => state.ReviewTypes.data);\r\n this.reviewTypesSubs = this.reviewTypes$.subscribe(data => {\r\n if (data.length) {\r\n this.reviewTypes = data;\r\n this.reviewTypesFiltered = this.reviewTypes.filter(t => t.reviewBoardTypeID == this.reviewBoard.reviewBoardTypeID && t.status == 1);\r\n }\r\n });\r\n }\r\n\r\n filterReviewTypes() {\r\n return this.reviewTypesFiltered.filter(x => x.type === this.reviewTypeEnum);\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.subscribe(data => {\r\n this.checklistTemplates = data;\r\n });\r\n }\r\n\r\n loadReviewRequests() {\r\n this.reviewRequests$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewRequestsSubs = this.reviewRequests$.subscribe(data => {\r\n this.reviewRequests = data.filter(x => (!x.resourceID || x.resourceID === this.reviewBoard.resourceID) && x.status !== ReviewCycleStatus.Rejected && x.status !== ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Archived);\r\n // this.reviewRequests = data.filter(x => !x.resourceID && x.status !== ReviewCycleStatus.Rejected && x.status !== ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Archived);\r\n this.reviewRequestsFiltered = this.reviewRequests.sort((a, b) => a.id - b.id);\r\n });\r\n }\r\n\r\n filterChecklistTemplates() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.checklistTemplatesFiltered = [];\r\n this.templateTypesSubs = this.templateTypes$.subscribe(data => {\r\n const templateType = data.find(x => x.id === this.reviewType.templateTypeID);\r\n this.checklistTemplatesFiltered = this.checklistTemplates.filter(x => x.templateTypeID == templateType?.id && x.status == 1);\r\n if (this.checklistTemplatesFiltered?.length === 1) {\r\n this.checklistTemplateCtrl.setValue(this.checklistTemplatesFiltered[0]);\r\n }\r\n else {\r\n this.checklistTemplateCtrl.setValue(null);\r\n }\r\n });\r\n }\r\n\r\n displaySerialNo(template: any): string {\r\n return template && template.serialNo ? template.serialNo : '';\r\n }\r\n\r\n\r\n close() {\r\n this.dialogRef.close(this.data);\r\n this.service.loading = false;\r\n }\r\n\r\n selectedReviewRequest(e: any) {\r\n this.reviewRequest = e.option.value;\r\n if (this.reviewRequest.reviews && this.reviewRequest.reviews.length > 0) {\r\n this.reviewTypeEnum = this.reviewRequest.reviews[0].type;\r\n }\r\n else {\r\n this.reviewTypeEnum = ReviewTypesEnum.FULL;\r\n }\r\n this.isFullReview = this.reviewTypeEnum === ReviewTypesEnum.FULL;\r\n }\r\n\r\n // optionDisabled() {\r\n // return this.reviewRequest?.reviews?.length > 0;\r\n // }\r\n\r\n changedReviewRequest(e: any) {\r\n this.reviewRequestsFiltered = this.reviewRequests.filter(x => x.name?.toLowerCase().includes(e.currentTarget.value.toLowerCase()));\r\n }\r\n\r\n radioChanged(optionSelected: number) {\r\n this.isFullReview = optionSelected === ReviewTypesEnum.FULL;\r\n }\r\n\r\n selectedReviewType(e: any) {\r\n this.reviewType = e.option.value;\r\n this.filterChecklistTemplates();\r\n }\r\n\r\n dateChanged(e: any) {\r\n this.reviewDateTimeCtrl.setValue(e);\r\n }\r\n\r\n cancel() {\r\n this.close();\r\n }\r\n\r\n accept() {\r\n this.service.loading = true;\r\n const reviewRequest = this.utils.Serialize(this.reviewRequest);\r\n reviewRequest.reviewBoardID = this.reviewBoard.id;\r\n reviewRequest.resourceID = this.reviewBoard.resourceID;\r\n reviewRequest.type = this.isFullReview ? ReviewTypesEnum.FULL : ReviewTypesEnum.MODF;\r\n reviewRequest.code = (ReviewTypesEnum[this.isFullReview ? ReviewTypesEnum.FULL : ReviewTypesEnum.MODF]) + ' ' + this.reviewType.code + ' ' + this.reviewBoard.resource?.name;\r\n reviewRequest.reviews = [];\r\n const status = this.reviewBoard.reviewBoardType?.reviewStatuses?.find(x => x.code?.toUpperCase() == 'DRAFT')?.id;\r\n if (status) {\r\n this.service.updateReviewCycle(reviewRequest).toPromise().then(reviewRequestUpdated => {\r\n if (reviewRequestUpdated) {\r\n this.reviewRequest = reviewRequestUpdated;\r\n const review = {\r\n id: 0,\r\n name: this.reviewType.name + ' for ' + this.reviewBoard.resource?.name,\r\n description: (this.isFullReview ? 'Full' : 'Modification') + ' ' + this.reviewType.name + ' for ' + this.reviewBoard.resource?.name,\r\n reviewTypeID: this.reviewType.id,\r\n reviewCycleID: this.reviewRequest.id,\r\n checklistTemplateID: this.checklistTemplateCtrl.value?.id,\r\n reviewDate: this.reviewDateTimeCtrl.value,\r\n status,\r\n reviewStatusID: status,\r\n type: this.isFullReview ? ReviewTypesEnum.FULL : ReviewTypesEnum.MODF,\r\n code: ReviewTypesEnum[this.isFullReview ? ReviewTypesEnum.FULL : ReviewTypesEnum.MODF]\r\n } as Review;\r\n this.service.createReview(review).toPromise().then(reviewCreated => {\r\n if (reviewCreated)\r\n this.review = reviewCreated;\r\n this.review.reviewActionItems = [];\r\n this.alert.message('ReviewCreated', [{ placeholder: '{name}', value: reviewCreated?.name }]);\r\n this.close();\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n this.alert.error('There is no Status defined as DRAFT for this Review Type. Please check Status settings.');\r\n this.service.loading = false;\r\n }\r\n }\r\n\r\n formValid() {\r\n return this.reviewRequest != null && this.reviewType != null && this.reviewDateTimeCtrl.value != null;\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ title }}
    \r\n
    \r\n \r\n close\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Review Request\r\n \r\n \r\n \r\n
    \r\n
    {{ reviewRequest.name }}
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n {{ option.name }}\r\n \r\n \r\n
    \r\n
    \r\n \r\n Review Type\r\n \r\n \r\n \r\n ({{ reviewType.code }}) {{ reviewType.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Checklist Template\r\n \r\n \r\n \r\n {{ checklistTemplate.serialNo }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { ReviewBoard, ReviewBoardType } from '../../../reviews.models';\r\n\r\n@Component({\r\n selector: 'app-reviews-boards-add-resource',\r\n templateUrl: './reviews-boards-add-resource.component.html',\r\n styleUrls: ['./reviews-boards-add-resource.component.scss']\r\n})\r\nexport class ReviewsBoardsAddResourceComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n resourceName?: string | null;\r\n resourceDesc?: string | null;\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n resource!: Resource;\r\n\r\n reviewBoards!: ReviewBoard[];\r\n reviewBoards$!: Observable;\r\n reviewBoardsSubs!: Subscription;\r\n\r\n title!: string;\r\n loading!: boolean;\r\n\r\n addFromExisting!: boolean;\r\n\r\n public get resourceNameCtrl(): AbstractControl | null { return this.formGroup.get('resourceNameCtrl'); }\r\n public get resourceDescCtrl(): AbstractControl | null { return this.formGroup.get('resourceDescCtrl'); }\r\n public get resourceCtrl(): AbstractControl | null { return this.formGroup.get('resourceCtrl'); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n reviewBoardType: ReviewBoardType,\r\n resource: Resource,\r\n title: string\r\n },\r\n private _resources: ResourcesService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewBoardsSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n this.loadReviewBoards();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n resourceNameCtrl: [{ value: '' }, [Validators.required]],\r\n resourceDescCtrl: [{ value: '' }, [Validators.required]],\r\n resourceCtrl: [{ value: '' }, [Validators.required]],\r\n });\r\n if (this.inputData.resource) {\r\n this.resourceName = this.inputData.resource.name;\r\n this.resourceDesc = this.inputData.resource.description;\r\n this.resourceNameCtrl?.setValue(this.resourceName);\r\n this.resourceDescCtrl?.setValue(this.resourceDesc);\r\n this.resourceCtrl?.setValue(this.inputData.resource);\r\n }\r\n }\r\n\r\n toggleChanged(e: any) {\r\n this.addFromExisting = e.checked;\r\n }\r\n\r\n loadReviewBoards() {\r\n this.reviewBoards$ = this.store.select(state => state.ReviewBoards.data);\r\n this.reviewBoardsSubs = this.reviewBoards$.subscribe(data => {\r\n if (data.length) {\r\n this.reviewBoards = data.filter(b => b.reviewBoardTypeID == this.inputData.reviewBoardType.id);\r\n this.loadResources();\r\n }\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n\r\n if (this.inputData.reviewBoardType?.id == 1)\r\n this.resources = data.filter(x => x.type == this.resourceTypeEnum.Beamline || x.type == this.resourceTypeEnum.Branchline || x.type == ResourceType.ReviewProcessResource);\r\n else {\r\n this.resources = data.filter(x => x.type == this.inputData.reviewBoardType.resourceTypeID || x.type == ResourceType.ReviewProcessResource);\r\n }\r\n\r\n // this.resources = data.filter(x => x.type == this.inputData.reviewBoardType.resourceTypeID || x.type == ResourceType.ReviewProcessResource);\r\n this.resourcesFiltered = this.resources.filter(x => !this.reviewBoards.map(b => b.resource?.id).includes(x.id));\r\n });\r\n }\r\n\r\n isRepeated(control: AbstractControl | null) {\r\n const repeated = this.resources.find(x => x.name?.toLowerCase() == control?.value.toLowerCase());\r\n if (repeated) {\r\n this.resourceNameCtrl?.setErrors({ repeated: true });\r\n return { repeated: true };\r\n }\r\n return null;\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n submit() {\r\n if (!this.resource || this.inputData.resource) {\r\n const resource = {\r\n id: this.inputData.resource?.id,\r\n name: this.resourceName,\r\n description: this.resourceDesc,\r\n status: 1,\r\n type: ResourceType.ReviewProcessResource,\r\n code: 'RCP'\r\n } as Resource;\r\n this._resources.saveResource(resource).toPromise().then(res => {\r\n this.dialogRef.close(res);\r\n });\r\n }\r\n else {\r\n this.dialogRef.close(this.resource);\r\n }\r\n }\r\n\r\n selectedResource(e: any) {\r\n this.resource = e.option.value;\r\n this.resourceDesc = this.resource.description;\r\n }\r\n\r\n formValid() {\r\n if (this.addFromExisting) {\r\n return this.resource && this.resourceDesc;\r\n }\r\n else {\r\n return this.resourceName && this.resourceDesc;\r\n }\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n

    {{ inputData.title }}

    \r\n
    \r\n
    \r\n
    \r\n Add from existing Locations\r\n\r\n \r\n Location Name\r\n \r\n {{\r\n getErrorMsg(resourceNameCtrl)\r\n }}\r\n \r\n\r\n \r\n {{\r\n resource ? \"Location\" : \"Select Location\"\r\n }}\r\n \r\n \r\n \r\n {{ resource.name }}\r\n \r\n \r\n \r\n\r\n \r\n Description\r\n \r\n {{\r\n getErrorMsg(resourceNameCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport moment from 'moment';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-review-actions-request-extension',\r\n templateUrl: './review-actions-request-extension.component.html',\r\n styleUrls: ['./review-actions-request-extension.component.scss']\r\n})\r\nexport class ReviewActionsRequestExtensionComponent implements OnInit {\r\n\r\n dateTimeCtrl = new FormControl();\r\n defaultTime!: any[];\r\n minDate!: moment.Moment;\r\n\r\n constructor(\r\n private dialogRef: MatDialogRef\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n const now = moment();\r\n this.defaultTime = [now.add(1, 'hour').format('HH'), '00', '00'];\r\n this.minDate = now;\r\n }\r\n\r\n check_disabled() {\r\n return this.dateTimeCtrl.value?.format() == null || this.dateTimeCtrl.errors;\r\n }\r\n\r\n request() {\r\n this.dialogRef.close(this.dateTimeCtrl.value.format());\r\n }\r\n\r\n}\r\n","
    Request date extension for
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n Request Extension\r\n \r\n \r\n
    \r\n","import { Review, ReviewTypesEnum, SaveReview, ReviewStatusAction, ReviewActionItem, ReviewType, ReviewStatus } from 'src/app/components/reviews/reviews.models';\r\nimport { ReviewStatusEnum } from './../../../reviews.models';\r\nimport { Component, Input, OnInit, ViewChild, Output, EventEmitter, OnDestroy, AfterViewInit, Injector } from '@angular/core';\r\nimport { ReviewsBoardsReviewsDetailsTemplateComponent } from './reviews-details-template/reviews-details-template.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormControl } from '@angular/forms';\r\nimport { SafeHtml } from '@angular/platform-browser';\r\nimport { Router } from '@angular/router';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { StatusType, FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistBuilderService } from 'src/app/components/checklists/checklist-builder/checklist-builder.service';\r\nimport { Checklist, ChecklistTemplate } from 'src/app/components/checklists/checklists';\r\nimport { CancelDialogComponent } from 'src/app/controls/cancel-dialog/cancel-dialog.component';\r\nimport { CommentsAndAttachmentsComponent } from 'src/app/controls/comments-and-attachments/comments-and-attachments.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { CommentResource } from 'src/app/controls/comments-and-attachments/services/comment';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ReviewsService } from '../../../reviews.service';\r\nimport { ReviewCyclesRefresh } from '../../../store/review-cycles/review-cycles.action';\r\nimport { ReviewsBoardsReviewsMembersComponent } from './reviews-boards-reviews-members/reviews-members.component';\r\nimport { ReviewsActionItemsComponent } from '../../../reviews-action-items/reviews-action-items.component';\r\nimport { ReviewAttachmentDocumentsComponent } from '../../../reviews-attachments-documents/review-attachment-documents/review-attachment-documents.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\n@Component({\r\n selector: 'reviews-boards-reviews-details',\r\n templateUrl: './reviews-boards-reviews-details.component.html',\r\n styleUrls: ['./reviews-boards-reviews-details.component.scss']\r\n})\r\nexport class ReviewsBoardsReviewsDetailsComponent extends BaseComponent implements OnInit, OnDestroy, AfterViewInit {\r\n\r\n @Input() review?: Review;\r\n @Output() reviewUpdated = new EventEmitter();\r\n\r\n @ViewChild(CommentsAndAttachmentsComponent) commentsAndAttachments!: CommentsAndAttachmentsComponent;\r\n @ViewChild(ReviewsBoardsReviewsDetailsTemplateComponent) reviewDetailsTemplate!: ReviewsBoardsReviewsDetailsTemplateComponent;\r\n @ViewChild(ReviewsActionItemsComponent) reviewActionItems!: ReviewsActionItemsComponent;\r\n @ViewChild(ReviewsBoardsReviewsMembersComponent) reviewMembers?: ReviewsBoardsReviewsMembersComponent;\r\n @ViewChild(ReviewAttachmentDocumentsComponent) reviewAttachments!: ReviewAttachmentDocumentsComponent;\r\n\r\n disabled = false;\r\n step = 0;\r\n\r\n reviewTypes!: ReviewType[];\r\n reviewTypes$!: Observable;\r\n reviewTypesSubs!: Subscription;\r\n\r\n comments!: CommentResource[];\r\n commentsTextSanitized!: SafeHtml;\r\n serialNo!: string;\r\n\r\n isTemplateEditing!: boolean;\r\n\r\n privilege = PrivilegeEnum;\r\n dateEditing!: boolean;\r\n\r\n reviews$!: Observable;\r\n reviews!: Review[];\r\n reviewsSubs!: Subscription;\r\n\r\n actionItems!: ReviewActionItem[];\r\n actionItems$!: Observable;\r\n actionItemsSubs!: Subscription;\r\n\r\n reviewTypesEnum = ReviewTypesEnum;\r\n reviewDateTimeCtrl = new FormControl();\r\n reviewStatusEnum = ReviewStatusEnum;\r\n statusType = StatusType;\r\n\r\n reviewStatuses!: ReviewStatus[];\r\n reviewStatusesFiltered!: ReviewStatus[];\r\n reviewStatuses$!: Observable;\r\n reviewStatusesSubs!: Subscription;\r\n\r\n hasStopper!: boolean;\r\n\r\n title?: string;\r\n\r\n checklists?: Checklist[];\r\n checklistsFiltered?: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: ReviewsService,\r\n private checklistBuilderService: ChecklistBuilderService,\r\n private router: Router,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.loadComments();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewsSubs?.unsubscribe();\r\n this.actionItemsSubs?.unsubscribe();\r\n this.reviewTypesSubs?.unsubscribe();\r\n this.reviewStatusesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.title = this.review?.name ?? '';\r\n this.loadActionItems();\r\n this.loadReviews();\r\n this.loadReviewTypes();\r\n this.loadReviewStatuses();\r\n this.loadChecklists();\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklists = data;\r\n if (this.review?.checklistID) {\r\n const checklist = data.find(c => c.id == this.review?.checklistID);\r\n if (checklist) {\r\n if (this.review.checklist.checklistStatusID != checklist.checklistStatusID) {\r\n this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', checklist.serialNo), new MessagePlaceholder('{status}', checklist.checklistStatus?.name)]);\r\n }\r\n this.review.checklist = checklist;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n checkPrivilege(privilege: PrivilegeEnum) {\r\n return this.service.checkPrivilege(privilege, this.review?.reviewType?.reviewBoardType, this.review?.reviewStatus) && (this.review?.reviewStatusID != ReviewStatusEnum.Completed && this.review?.reviewStatusID != ReviewStatusEnum.Canceled);\r\n }\r\n\r\n checkActionsRoles() {\r\n const actionRoles: number[] = [];\r\n this.review?.reviewStatus?.reviewStatusActions?.map(a => {\r\n a.reviewActionRoles.map(r => {\r\n actionRoles.push(r.roleID);\r\n });\r\n });\r\n const userRoles = this.currentUser?.userRole?.map(x => x.roleID);\r\n return this.utils.intersect(actionRoles, userRoles);\r\n }\r\n\r\n loadActionItems() {\r\n this.actionItems$ = this.store.select(state => state.ReviewActionItems.data);\r\n this.actionItemsSubs = this.actionItems$.subscribe(data => {\r\n this.actionItems = data;\r\n if (this.review) {\r\n this.review.reviewActionItems = this.actionItems.filter(x => x.reviewID == this.review?.id && x.status == 1);\r\n }\r\n });\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n this.reviews = data;\r\n if (this.review) {\r\n this.review.reviewCycle.createdByUser = this.users.find(u => u.id == this.review?.reviewCycle.createdBy);\r\n this.review = this.reviews.find(x => x.id == this.review?.id);\r\n this.loadActionItems();\r\n this.loadComments();\r\n this.loadReviewStatuses();\r\n this.hasStopper = this.review?.reviewActionItems.some(x => x.reviewActionItemType?.isStopper) ?? false;\r\n }\r\n });\r\n }\r\n\r\n loadReviewTypes() {\r\n this.reviewTypes$ = this.store.select(state => state.ReviewTypes.data);\r\n this.reviewTypesSubs = this.reviewTypes$.subscribe(data => {\r\n this.reviewTypes = data;\r\n });\r\n }\r\n\r\n loadReviewStatuses() {\r\n this.reviewStatuses$ = this.store.select(state => state.ReviewStatus.data);\r\n this.reviewStatusesSubs = this.reviewStatuses$.subscribe(data => {\r\n if (data?.length) {\r\n this.reviewStatuses = data;\r\n if (this.review) this.getActions();\r\n }\r\n });\r\n }\r\n\r\n getActions() {\r\n this.review?.reviewStatus.reviewStatusActions.map(a => {\r\n a.reviewStatus = this.reviewStatuses.find(s => s.id == a.reviewStatusID);\r\n a.nextReviewStatus = this.reviewStatuses.find(s => s.id == a.nextReviewStatusID);\r\n });\r\n }\r\n\r\n loadComments() {\r\n this.serialNo = this.review?.reviewCycle.serialNo + '-' + this.review?.code + '-' + this.review?.reviewType?.code + '-' + this.review?.id;\r\n this.commentsAndAttachments?.refresh();\r\n }\r\n\r\n label() {\r\n return this.review?.reviewCycle.type == ReviewTypesEnum.MODF ? this.review.reviewCycle.reviewBoard.resource?.name?.substr(0, 1) + 'MR' : null;\r\n }\r\n\r\n openChecklistTemplate(e: any, checklistTemplate: ChecklistTemplate) {\r\n e.stopPropagation();\r\n this.checklistBuilderService.currentTemplateType = checklistTemplate.templateType;\r\n this.checklistBuilderService.setChecklistTemplate(checklistTemplate);\r\n const newRelativeUrl = this.router.createUrlTree(['/checklist-builder/200'], { queryParams: { id: checklistTemplate.id } });\r\n const baseUrl = window.location.href.replace(this.router.url, '');\r\n window.open(baseUrl + newRelativeUrl, '_blank');\r\n return false;\r\n }\r\n\r\n executeAction(actionId: number, review: Review | undefined, status: ReviewStatusEnum) {\r\n this.service.loading = true;\r\n const reviewStatusAction = this.review?.reviewStatus.reviewStatusActions.find(x => x.id == actionId);\r\n if (reviewStatusAction?.code && review) {\r\n switch (reviewStatusAction.code) {\r\n case '@request':\r\n // this.requestExtension(review, status);\r\n break;\r\n case '@grant':\r\n // this.grantRejectExtension(review, status, true);\r\n break;\r\n case '@reject':\r\n // this.grantRejectExtension(review, status, false);\r\n break;\r\n }\r\n }\r\n else {\r\n if (review)\r\n if (status != ReviewStatusEnum.Canceled) {\r\n this.setStatus(review, status);\r\n }\r\n else {\r\n this.cancelReview(review);\r\n }\r\n }\r\n }\r\n\r\n setStatus(review: Review, status: ReviewStatusEnum) {\r\n this.service.loading = true;\r\n const statusToChange = this.reviewStatuses.find(x => x.id == status);\r\n if (statusToChange) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('ReviewStatusChangeConfirmation').description.replace('{status}', statusToChange.name ?? ''),\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.updateReview(review, status);\r\n }\r\n else {\r\n this.service.loading = false;\r\n }\r\n });\r\n }\r\n }\r\n\r\n async updateReview(review: Review, status: ReviewStatusEnum) {\r\n const saveReview: SaveReview = this.utils.Serialize(review);\r\n saveReview.reviewStatusID = status;\r\n await this.service.updateReview(saveReview).toPromise().then(data => {\r\n this.review = data;\r\n this.service.loading = false;\r\n if (status != this.review?.reviewStatusID)\r\n this.alert.message('ReviewStatusChanged', [{ placeholder: '{status}', value: this.review?.reviewStatus.name }]);\r\n this.reviewUpdated.emit(this.review);\r\n if (this.review?.reviewStatus.type == StatusType.Closed && this.review.reviewType.nextReviewTypeID) {\r\n this.alert.message('ReviewCompleted', [{ placeholder: '{name}', value: this.review.name }]);\r\n this.createNextReview();\r\n }\r\n });\r\n }\r\n\r\n cancelReview(review: Review) {\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: '600px',\r\n data: {\r\n }\r\n });\r\n confirm.afterClosed().subscribe(async data => {\r\n if (data?.accept) {\r\n this.service.loading = true;\r\n if (review.reviewStatusID == ReviewStatusEnum.Draft) {\r\n await this.service.deleteReview(review.id).toPromise().then(() => {\r\n this.alert.message('ReviewCanceled');\r\n this.reviewUpdated.emit(null);\r\n this.service.loading = false;\r\n });\r\n }\r\n else {\r\n review.comments = data.text;\r\n await this.updateReview(review, ReviewStatusEnum.Canceled).then(() => {\r\n this.service.loading = false;\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n createNextReview() {\r\n const reviewType = this.reviewTypes.find(x => x.id == this.review?.reviewType.nextReviewTypeID);\r\n const reviewBoard = this.review?.reviewCycle.reviewBoard;\r\n const review = {\r\n id: 0,\r\n name: reviewType?.name + ' for ' + reviewBoard?.resource?.name,\r\n description: (this.review?.code == ReviewTypesEnum[ReviewTypesEnum.FULL] ? 'Full' : 'Modification') + ' ' + reviewType?.name + ' for ' + reviewBoard?.resource?.name,\r\n reviewTypeID: reviewType?.id,\r\n reviewCycleID: this.review?.reviewCycleID,\r\n checklistTemplateID: null,\r\n reviewDate: new Date(),\r\n status: FormStatusEnum.Draft,\r\n type: this.review?.code == ReviewTypesEnum[ReviewTypesEnum.FULL] ? ReviewTypesEnum.FULL : ReviewTypesEnum.MODF,\r\n code: ReviewTypesEnum[this.review?.code == ReviewTypesEnum[ReviewTypesEnum.FULL] ? ReviewTypesEnum.FULL : ReviewTypesEnum.MODF],\r\n previousReviewID: this.review?.id\r\n };\r\n this.service.createReview(review).toPromise().then(reviewCreated => {\r\n this.alert.message('ReviewCreatedAutomatically', [{ placeholder: '{name}', value: reviewCreated?.name }]);\r\n });\r\n }\r\n\r\n checkButtonsPriv(action: ReviewStatusAction) {\r\n return this.hasRoles(action?.reviewActionRoles?.map(x => x.roleID));\r\n }\r\n\r\n createChecklist() {\r\n this.reviewDetailsTemplate.isChecklistEditing = false;\r\n this.reviewDetailsTemplate.createChecklist();\r\n }\r\n\r\n selectChecklist() {\r\n this.reviewDetailsTemplate.isChecklistEditing = true;\r\n }\r\n\r\n changeDate(review?: Review) {\r\n this.dateEditing = true;\r\n this.reviewDateTimeCtrl.setValue(review?.reviewDate);\r\n }\r\n\r\n dateChanged() {\r\n return this.review?.reviewDate == this.reviewDateTimeCtrl.value;\r\n }\r\n\r\n saveDate() {\r\n this.service.loading = true;\r\n if (this.review)\r\n this.review.reviewDate = this.reviewDateTimeCtrl.value;\r\n this.dateEditing = false;\r\n const review = this.utils.Serialize(this.review);\r\n if (review)\r\n this.service.updateReview(review).toPromise().then(data => {\r\n this.review = data;\r\n this.store.dispatch(new ReviewCyclesRefresh());\r\n this.alert.message('ReviewDateUpdated');\r\n this.service.loading = false;\r\n });\r\n this.service.loading = false;\r\n }\r\n\r\n getActionButtonColor(action: any, disabled: boolean) {\r\n if (!disabled) {\r\n return action.color + '-background';\r\n }\r\n return '';\r\n }\r\n\r\n copyEmails(review?: Review) {\r\n //filter out guests\r\n const emails = review?.reviewAttendanceRosters.filter(r => r.roleID != -1).map(r => r.user?.emailAddress).join(\", \");\r\n navigator.clipboard.writeText(emails ?? \"\").then(() => {\r\n alert(\"Emails copied to clipboard!\");\r\n }).catch(err => {\r\n console.error(\"Could not copy text: \", err);\r\n });\r\n }\r\n\r\n rosterCheck(review?: Review) {\r\n return review?.reviewAttendanceRosters?.some(r => r.roleID != -1);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    General Information
    \r\n
    \r\n
    \r\n
    \r\n {{ label() }} {{ review?.reviewType?.code }} -\r\n {{ review?.reviewCycle?.reviewBoard?.resource?.name }}\r\n {{\r\n review?.reviewCycle?.name + \"/\" + review?.id\r\n }}\r\n\r\n \r\n {{ review?.reviewStatus?.name }}\r\n \r\n
    \r\n
    \r\n
    \r\n info\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Review Request:
    \r\n
    \r\n {{ review?.reviewCycle?.name }}\r\n
    \r\n
    Description:
    \r\n
    \r\n \r\n
    \r\n
    Requested by:
    \r\n
    \r\n {{\r\n review?.reviewCycle?.createdByUser?.name\r\n }}\r\n on\r\n {{\r\n review?.reviewCycle?.createdOn | date\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Review Type:
    \r\n
    \r\n {{ label() }} {{ review?.reviewType?.name }} ({{\r\n review?.reviewType?.code\r\n }})\r\n
    \r\n
    \r\n
    \r\n
    \r\n {{\r\n review?.reviewCycle?.reviewBoard?.reviewBoardType?.resourceType\r\n ?.name\r\n }}:\r\n
    \r\n
    \r\n {{\r\n review?.reviewCycle?.resource?.name\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    Review Date:
    \r\n
    \r\n {{ review?.reviewDate | date }} \r\n \r\n edit\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n save\r\n \r\n \r\n cancel\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n {{ action.name }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Member Roster
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n \r\n Copy Roster Emails\r\n \r\n
    \r\n\r\n
    \r\n account_circle\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n Add Member\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    BRC Chair Comments
    \r\n
    \r\n
    \r\n
    \r\n 3p\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Documents
    \r\n
    \r\n
    \r\n
    \r\n folder\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n Attach Documents\r\n \r\n
    \r\n
    \r\n \r\n Add Link\r\n \r\n
    \r\n
    \r\n \r\n Manage Categories\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Action Items
    \r\n
    \r\n
    \r\n
    \r\n fact_check\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n \r\n Create Action Item\r\n \r\n
    \r\n
    \r\n \r\n Manage Categories\r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Checklist Template
    \r\n
    \r\n
    \r\n
    \r\n dns\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Generate Checklist\r\n \r\n \r\n Select Checklist\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n\r\n","import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { ReviewAttendanceSave, ReviewAttendanceCategory } from '../../../../../../../reviews.models';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'load-saved-roster-left',\r\n templateUrl: './load-saved-roster-left.component.html',\r\n styleUrls: ['./load-saved-roster-left.component.scss']\r\n})\r\nexport class LoadSavedRosterLeftComponent implements OnInit, OnChanges {\r\n\r\n @Input() reviewAttendanceSave?: ReviewAttendanceSave | null;\r\n\r\n reviewCategories?: ReviewAttendanceCategory[];\r\n public displayedColumns: string[] = ['role', 'member'];\r\n constructor() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.reviewCategories = [];\r\n this.reviewAttendanceSave?.reviewAttendanceSavedList?.map(x => {\r\n if (!this.reviewCategories?.map(c => c.id).includes(x.categoryID)) {\r\n if (x.category)\r\n this.reviewCategories?.push(x.category);\r\n }\r\n });\r\n this.reviewCategories = this.reviewCategories.sort((a, b) => utils.sort(a.order, b.order));\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n getReviewMembersByCategory(reviewCategory: ReviewAttendanceCategory) {\r\n return this.reviewAttendanceSave?.reviewAttendanceSavedList.filter(x => x.categoryID == reviewCategory?.id) ?? [];\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n {{reviewCategory.name}}\r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n Role \r\n \r\n {{element.role?.name}}\r\n \r\n \r\n\r\n \r\n Member \r\n \r\n {{element.user?.name}}\r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { Component, OnInit, OnDestroy, Inject, ViewChild } from '@angular/core';\r\nimport { Review, ReviewAttendanceSave } from '../../../../../../reviews.models';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Store } from '@ngxs/store';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ReviewsService } from 'src/app/components/reviews/reviews.service';\r\nimport { ReviewsBoardsReviewsMembersComponent } from '../../reviews-members.component';\r\nimport { LoadSavedRosterRightComponent } from '../load-saved/right/load-saved-roster-right.component';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\n\r\n@Component({\r\n selector: 'app-review-members-load-saved-roster',\r\n templateUrl: './load-saved-roster.component.html',\r\n styleUrls: ['./load-saved-roster.component.scss']\r\n})\r\nexport class ReviewMembersLoadSavedRosterComponent implements OnInit, OnDestroy {\r\n\r\n review: Review;\r\n reviewAttendanceSave: ReviewAttendanceSave[];\r\n reviewMembersComponent: ReviewsBoardsReviewsMembersComponent;\r\n\r\n reviewAttendanceSaved!: ReviewAttendanceSave[];\r\n reviewAttendanceSavedFiltered!: ReviewAttendanceSave[];\r\n reviewAttendanceSaved$!: Observable;\r\n reviewAttendanceSavedSubs!: Subscription;\r\n reviewAttendanceSavedSelected?: ReviewAttendanceSave | null;\r\n\r\n disabled: boolean = true;\r\n membersToAddCount = 0;\r\n\r\n replace: boolean = false;\r\n\r\n @ViewChild(LoadSavedRosterRightComponent)\r\n right!: LoadSavedRosterRightComponent;\r\n\r\n public form!: FormGroup;\r\n public listCtrl = new FormControl();\r\n\r\n constructor(\r\n private store: Store,\r\n public dialog: MatDialogRef,\r\n private service: ReviewsService,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.review = data.review;\r\n this.reviewAttendanceSave = data.reviewAttendanceSave;\r\n this.reviewMembersComponent = data.reviewMembersComponent;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.reviewAttendanceSavedSubs.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.reviewAttendanceSaved$ = this.store.select(state => state.ReviewAttendanceSaved.data);\r\n this.reviewAttendanceSavedSubs = this.reviewAttendanceSaved$.subscribe(data => {\r\n this.reviewAttendanceSaved = data.filter(x => !this.reviewAttendanceSave?.map(r => r.id).includes(x.id));\r\n this.reviewAttendanceSavedFiltered = this.reviewAttendanceSaved;\r\n if (this.reviewAttendanceSavedSelected) {\r\n this.reviewAttendanceSavedSelected = this.reviewAttendanceSavedFiltered.find(x => x.id == this.reviewAttendanceSavedSelected?.id);\r\n this.listCtrl.setValue(this.reviewAttendanceSavedSelected);\r\n }\r\n });\r\n }\r\n\r\n changedList(e: any) {\r\n const val = e.target.value;\r\n this.reviewAttendanceSavedFiltered = this.reviewAttendanceSaved.filter(x => x.name?.toLowerCase().includes(val.toLowerCase()));\r\n this.reviewAttendanceSavedSelected = this.reviewAttendanceSavedFiltered.length > 0 ? this.reviewAttendanceSavedFiltered[0] : null;\r\n if (!val) {\r\n this.reviewAttendanceSavedSelected = null;\r\n }\r\n }\r\n\r\n selectList() {\r\n this.listCtrl.setValue(this.reviewAttendanceSavedSelected);\r\n }\r\n\r\n selectedList(e: any) {\r\n this.reviewAttendanceSavedSelected = e.option.value;\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n edit() {\r\n if (this.reviewAttendanceSavedSelected)\r\n this.reviewMembersComponent.editSavedRoster(this.reviewAttendanceSavedSelected);\r\n }\r\n\r\n delete() {\r\n if (this.reviewAttendanceSavedSelected)\r\n this.reviewMembersComponent.deleteSavedRoster(this.reviewAttendanceSavedSelected);\r\n }\r\n\r\n cancel() {\r\n this.dialog.close();\r\n }\r\n\r\n load() {\r\n if (this.reviewAttendanceSavedSelected)\r\n this.reviewAttendanceSavedSelected.replace = this.replace;\r\n this.dialog.close(this.reviewAttendanceSavedSelected);\r\n }\r\n\r\n membersToAdd(e: any) {\r\n this.membersToAddCount = e;\r\n this.disabled = this.membersToAddCount == 0;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Select Saved Roster\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Combine Rosters  \r\n \r\n Replace Roster\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Saved Roster\r\n \r\n \r\n \r\n {{ elem.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Current Roster
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Load Roster Members into Review\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, Output, EventEmitter } from '@angular/core';\r\nimport { Review, ReviewAttendanceCategory, ReviewAttendanceSave, ReviewAttendanceRoster } from '../../../../../../../reviews.models';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'load-saved-roster-right',\r\n templateUrl: './load-saved-roster-right.component.html',\r\n styleUrls: ['./load-saved-roster-right.component.scss']\r\n})\r\nexport class LoadSavedRosterRightComponent implements OnInit, OnChanges {\r\n\r\n @Input() review?: Review | null;\r\n @Input() reviewAttendanceSave?: ReviewAttendanceSave | null;\r\n @Input() replace?: boolean | null;\r\n @Output() membersToAddChanged = new EventEmitter();\r\n\r\n reviewCategories!: ReviewAttendanceCategory[];\r\n reviewAttendanceNew!: ReviewAttendanceRoster[];\r\n\r\n public displayedColumns: string[] = ['role', 'member'];\r\n constructor() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.reviewCategories = [];\r\n this.reviewAttendanceNew = [];\r\n this.review?.reviewAttendanceRosters?.map(x => {\r\n this.reviewAttendanceNew.push(x);\r\n });\r\n this.reviewAttendanceSave?.reviewAttendanceSavedList.map(x => {\r\n const found = this.reviewAttendanceNew.find(n => n.userID == x.userID && n.categoryID == x.categoryID && n.roleID == x.roleID);\r\n //Add new users\r\n if (!found) {\r\n const reviewAttendanceRoster = {\r\n user: x.user,\r\n userID: x.userID,\r\n role: x.role,\r\n roleID: x.roleID,\r\n category: x.category,\r\n categoryID: x.categoryID,\r\n id: 0\r\n } as ReviewAttendanceRoster;\r\n this.reviewAttendanceNew.push(reviewAttendanceRoster);\r\n }\r\n });\r\n\r\n if (this.reviewAttendanceSave) {\r\n this.reviewAttendanceNew.map(x => {\r\n const found = this.reviewAttendanceSave?.reviewAttendanceSavedList.find(n => n.userID == x.userID && n.categoryID == x.categoryID && n.roleID == x.roleID);\r\n //Remove users not on saved list if Replace is toggled on\r\n if (!found && x.id > 0 && this.replace) {\r\n x.id = -x.id;\r\n }\r\n //If Combine is toggled, set ids postive again\r\n else if (!found && x.id < 0 && !this.replace) {\r\n x.id = Math.abs(x.id);\r\n }\r\n });\r\n }\r\n\r\n this.reviewAttendanceNew.map(x => {\r\n if (!this.reviewCategories.map(c => c.id).includes(x.categoryID)) {\r\n if (x.category)\r\n this.reviewCategories.push(x.category);\r\n }\r\n });\r\n this.reviewCategories = this.reviewCategories.sort((a, b) => utils.sort(a.order, b.order));\r\n this.membersToAddChanged.emit(this.reviewAttendanceNew.filter(x => x.id <= 0).length);\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n getReviewMembersByCategory(reviewCategory: ReviewAttendanceCategory) {\r\n return this.reviewAttendanceNew.filter(x => x.categoryID == reviewCategory.id);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n {{ reviewCategory.name }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Role \r\n \r\n login\r\n logout\r\n {{ element.role?.name }}\r\n \r\n \r\n\r\n \r\n Member \r\n \r\n {{ element.user?.name }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, Inject, Injector, OnDestroy, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ReviewAttendanceCategory } from 'src/app/components/reviews/reviews.models';\r\nimport { ReviewsService } from 'src/app/components/reviews/reviews.service';\r\nimport { ReviewAttendanceCategoriesRefresh } from 'src/app/components/reviews/store/review-attendance-category/review-attendance-category.action';\r\n\r\n@Component({\r\n selector: 'app-review-attendance-categories',\r\n templateUrl: './review-attendance-categories.component.html',\r\n styleUrls: ['./review-attendance-categories.component.scss']\r\n})\r\nexport class ReviewAttendanceCategoriesComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n public reviewCategories$!: Observable;\r\n public reviewCategories!: ReviewAttendanceCategory[];\r\n public reviewCategory!: ReviewAttendanceCategory | null;\r\n public reviewCategorySubscription!: Subscription;\r\n\r\n reviewCategoryNameCtrl = new FormControl();\r\n reviewCategoryDescriptionCtrl = new FormControl();\r\n reviewCategoryCodeCtrl = new FormControl();\r\n form!: FormGroup;\r\n\r\n public category!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n dialogTitle: string,\r\n },\r\n private service: ReviewsService\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n reviewCategoryNameCtrl: this.reviewCategoryNameCtrl,\r\n reviewCategoryDescriptionCtrl: this.reviewCategoryDescriptionCtrl,\r\n reviewCategoryCodeCtrl: this.reviewCategoryCodeCtrl,\r\n });\r\n this.reviewCategoryNameCtrl.setValue(null);\r\n this.reviewCategoryDescriptionCtrl.setValue(null);\r\n this.reviewCategoryCodeCtrl.setValue(null);\r\n }\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n this.getReviewCategories();\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewCategorySubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n getReviewCategories() {\r\n this.reviewCategories$ = this.store.select(state => state.ReviewAttendanceCategories.data);\r\n this.reviewCategorySubscription = this.reviewCategories$.subscribe(reviewCategories => {\r\n this.reviewCategories = reviewCategories.sort((a, b) => this.utils.sort(a.order, b.order));\r\n this.renumberArray();\r\n });\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.reviewCategories, event.previousIndex, event.currentIndex);\r\n this.renumberArray();\r\n }\r\n }\r\n\r\n renumberArray() {\r\n let order = 1;\r\n this.reviewCategories?.map(reviewCategory => {\r\n if (reviewCategory.id == -1) {\r\n reviewCategory.order = 999;\r\n }\r\n else {\r\n if (reviewCategory.order != order) {\r\n reviewCategory.order = order;\r\n this.service.updateReviewAttendanceCategory(reviewCategory).subscribe(() => {\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n });\r\n }\r\n order++;\r\n }\r\n });\r\n this.reviewCategories = this.reviewCategories.sort((a, b) => this.utils.sort(a.order, b.order));\r\n }\r\n\r\n edit(reviewAttendanceCategory: ReviewAttendanceCategory) {\r\n this.buildForm();\r\n this.reviewCategory = reviewAttendanceCategory;\r\n this.reviewCategoryNameCtrl.setValue(this.reviewCategory.name);\r\n this.reviewCategoryDescriptionCtrl.setValue(this.reviewCategory.description);\r\n this.reviewCategoryCodeCtrl.setValue(this.reviewCategory.code);\r\n }\r\n\r\n add() {\r\n this.buildForm();\r\n this.reviewCategory = {\r\n id: 0,\r\n order: 999\r\n } as ReviewAttendanceCategory;\r\n }\r\n\r\n formValid() {\r\n return !this.utils.isNullValue(this.reviewCategoryNameCtrl.value) && !this.utils.isNullValue(this.reviewCategoryDescriptionCtrl.value) && !this.utils.isNullValue(this.reviewCategoryCodeCtrl.value);\r\n }\r\n\r\n cancel() {\r\n this.reviewCategory = null;\r\n }\r\n\r\n save() {\r\n if (this.reviewCategory) {\r\n this.reviewCategory.name = this.reviewCategoryNameCtrl.value;\r\n this.reviewCategory.description = this.reviewCategoryDescriptionCtrl.value;\r\n this.reviewCategory.code = this.reviewCategoryCodeCtrl.value;\r\n\r\n if (this.reviewCategory.id === 0) {\r\n this.service.createReviewAttendanceCategory(this.reviewCategory).toPromise().then(() => {\r\n this.reviewCategory = null;\r\n });\r\n }\r\n else {\r\n this.service.updateReviewAttendanceCategory(this.reviewCategory).toPromise().then(() => {\r\n this.reviewCategory = null;\r\n });\r\n }\r\n }\r\n }\r\n\r\n afterSave() {\r\n this.renumberArray();\r\n this.reviewCategory = null;\r\n }\r\n\r\n delete(reviewCategory: ReviewAttendanceCategory) {\r\n this.service.deleteReviewAttendanceCategory(reviewCategory.id).toPromise().then(() => {\r\n this.reviewCategory = null;\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n Attendance Categories\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n drag_handle\r\n
    \r\n
    \r\n {{ reviewCategory.order }}. {{ reviewCategory.name }}\r\n
    \r\n
    \r\n = 0\"\r\n >\r\n edit\r\n \r\n = 0\r\n \"\r\n (click)=\"delete(reviewCategory)\"\r\n >\r\n delete_outline\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Name\r\n \r\n \r\n
    \r\n
    \r\n \r\n Description\r\n \r\n \r\n
    \r\n
    \r\n \r\n Acronym\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n
    \r\n
    \r\n \r\n Add Category\r\n add\r\n \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n save Save\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Inject, OnDestroy, OnInit } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ReviewAttendanceSave } from 'src/app/components/reviews/reviews.models';\r\n\r\n@Component({\r\n selector: 'app-review-attendance-save',\r\n templateUrl: './review-attendance-save.component.html',\r\n styleUrls: ['./review-attendance-save.component.scss']\r\n})\r\nexport class ReviewAttendanceSaveComponent implements OnInit, OnDestroy {\r\n\r\n reviewAttendanceSave!: ReviewAttendanceSave;\r\n reviewAttendanceSaved!: ReviewAttendanceSave[];\r\n reviewAttendanceSavedFiltered!: ReviewAttendanceSave[];\r\n reviewAttendanceSaved$!: Observable;\r\n reviewAttendanceSavedSubs!: Subscription;\r\n\r\n rosterCtrl = new FormControl();\r\n\r\n constructor(\r\n private store: Store,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: {\r\n message: string,\r\n },\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.reviewAttendanceSavedSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadReviewAttendanceSaved();\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n changedRoster(e: any) {\r\n const value: string = e.target.value;\r\n this.reviewAttendanceSavedFiltered = this.reviewAttendanceSaved.filter(x => x.name?.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n\r\n loadReviewAttendanceSaved() {\r\n this.reviewAttendanceSaved$ = this.store.select(state => state.ReviewAttendanceSaved.data);\r\n this.reviewAttendanceSavedSubs = this.reviewAttendanceSaved$.subscribe(data => {\r\n if (data.length) {\r\n this.reviewAttendanceSaved = data;\r\n this.reviewAttendanceSavedFiltered = data;\r\n }\r\n });\r\n }\r\n\r\n selectedReviewAttendanceSave(e: any) {\r\n this.reviewAttendanceSave = e.option.value;\r\n }\r\n\r\n save() {\r\n this.dialogRef.close(this.rosterCtrl.value);\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n disabledSave() {\r\n return !this.rosterCtrl.value;\r\n }\r\n}\r\n","
    \r\n
    \r\n Save Roster\r\n
    \r\n
    \r\n \r\n Roster Name\r\n \r\n \r\n \r\n {{ roster.name }}\r\n \r\n \r\n Select a Roster from the list or Enter a new Name\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n
    \r\n","import { HttpErrorResponse } from '@angular/common/http';\r\nimport { Component, Inject, Injector, OnDestroy, OnInit, ViewChild, ElementRef } from '@angular/core';\r\nimport { AbstractControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { Review, ReviewAttendanceCategory, ReviewAttendanceRoster } from 'src/app/components/reviews/reviews.models';\r\nimport { ReviewsService } from 'src/app/components/reviews/reviews.service';\r\nimport { ReviewAttendanceCategoriesRefresh } from 'src/app/components/reviews/store/review-attendance-category/review-attendance-category.action';\r\nimport { CanDeactivateResponse } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog-response';\r\nimport { PendingChangesDialogComponent } from 'src/app/controls/pending-changes-dialog/pending-changes-dialog.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'app-review-members',\r\n templateUrl: './review-members.component.html',\r\n styleUrls: ['./review-members.component.scss']\r\n})\r\nexport class ReviewMembersComponent extends BaseComponent implements OnInit, OnDestroy {\r\n @ViewChild('input') input: ElementRef | undefined;\r\n\r\n public roles$!: Observable;\r\n\r\n public roleSubscription!: Subscription;\r\n\r\n public roles!: Role[];\r\n\r\n public reviewMemberGroup!: FormGroup;\r\n public get reviewRoleCtrl(): AbstractControl | null { return this.reviewMemberGroup.get('reviewRoleCtrl'); }\r\n public get reviewUserCtrl(): AbstractControl | null { return this.reviewMemberGroup.get('reviewUserCtrl'); }\r\n public get reviewCategoryCtrl(): AbstractControl | null { return this.reviewMemberGroup.get('reviewCategoryCtrl'); }\r\n\r\n public guestGroup!: FormGroup;\r\n public get guestCtrl(): AbstractControl | null { return this.guestGroup.get('guestCtrl'); }\r\n\r\n public guestMemberGroup!: FormGroup;\r\n public get guestMemberNameCtrl(): AbstractControl | null { return this.guestMemberGroup.get('guestMemberNameCtrl'); }\r\n public get guestMemberCategoryCtrl(): AbstractControl | null { return this.guestMemberGroup.get('guestMemberCategoryCtrl'); }\r\n\r\n addGuest: boolean = false;\r\n guestName!: string;\r\n guestCategory: string = 'Guest';\r\n reviewCategory: string = 'Attendance'\r\n isLoading!: boolean;\r\n filteredUsers?: User[];\r\n filteredUserOptions?: User[];\r\n filteredRoles?: Role[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public inputData: {\r\n review: Review,\r\n reviewMember: ReviewAttendanceRoster,\r\n reviewCategories: ReviewAttendanceCategory[],\r\n dialogTitle: string\r\n },\r\n private reviewsService: ReviewsService,\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.getRoles();\r\n this.inputData.reviewMember.reviewID = this.inputData.review.id;\r\n this.initializeForm();\r\n this.getFilteredUsers();\r\n this.getValues();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.roleSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n trackUserByFn(index: number, user: any): any {\r\n return user.id;\r\n }\r\n\r\n getValues() {\r\n this.guestGroup.get('guestCtrl')?.setValue(false);\r\n //Load saved values if editing\r\n if (this.inputData.reviewMember.id) {\r\n this.reviewMemberGroup.get('reviewUserCtrl')?.disable();\r\n this.guestGroup.get('guestCtrl')?.disable();\r\n\r\n this.filteredUsers = this.users;\r\n this.filteredRoles = [];\r\n this.users.find(u => u.id === this.inputData.reviewMember.userID)?.userRole?.map(ur => {\r\n if (ur.role)\r\n this.filteredRoles?.push(ur.role);\r\n });\r\n\r\n this.reviewMemberGroup.get('reviewUserCtrl')?.setValue(this.inputData.reviewMember.userID);\r\n this.reviewMemberGroup.get('reviewRoleCtrl')?.setValue(this.inputData.reviewMember.roleID);\r\n this.reviewMemberGroup.get('reviewCategoryCtrl')?.setValue(this.inputData.reviewMember.category?.name);\r\n }\r\n //Set default category if creating new\r\n else {\r\n this.reviewMemberGroup.get('reviewCategoryCtrl')?.setValue('Attendance');\r\n }\r\n }\r\n\r\n filterUserList() {\r\n //Filter user options based on input as long as the user hasn't been selected yet\r\n const userCtrlValue = this.reviewMemberGroup.get('reviewUserCtrl')?.value;\r\n const roleCtrlValue = this.reviewMemberGroup.get('reviewRoleCtrl')?.value;\r\n const userValueIsEmpty = Object.keys(userCtrlValue).length !== 0;\r\n const roleValueIsEmpty = Object.keys(roleCtrlValue).length !== 0;\r\n if (userValueIsEmpty || (!userValueIsEmpty && this.input?.nativeElement.value != this.users.find(u => u.id === userCtrlValue)?.name)) {\r\n const filterValue = this.input?.nativeElement.value.toLowerCase() ?? '';\r\n this.filteredUserOptions = this.filteredUsers?.filter(u => u.name?.toLowerCase().includes(filterValue));\r\n }\r\n //If a user and role has been selected, show all users with that role\r\n else if (!userValueIsEmpty && !roleValueIsEmpty) {\r\n this.filteredUserOptions = this.filteredUsers;\r\n }\r\n }\r\n\r\n displayUserName = (userId: number) => {\r\n const user = this.filteredUsers?.find(u => u.id === userId);\r\n return user?.name ?? '';\r\n }\r\n\r\n onUserSelected(userId: number): void {\r\n this.reviewMemberGroup.get('reviewUserCtrl')?.setValue(userId);\r\n this.input!.nativeElement.value = \"\";\r\n this.getRolesByUserId(userId);\r\n }\r\n\r\n add() {\r\n //If form is valid and not a guest:\r\n if (this.reviewMemberGroup.valid && !this.addGuest) {\r\n //If editing an existing user:\r\n if (this.inputData.reviewMember.id) {\r\n const updatedAttendanceRoster: ReviewAttendanceRoster = {\r\n id: this.inputData.reviewMember.id,\r\n userID: this.reviewMemberGroup.get('reviewUserCtrl')?.value,\r\n roleID: this.reviewMemberGroup.get('reviewRoleCtrl')?.value > 0 ? this.reviewMemberGroup.get('reviewRoleCtrl')?.value : -1,\r\n attended: this.inputData.reviewMember.attended,\r\n categoryID: this.inputData.reviewCategories.find(category => category.name === this.reviewMemberGroup.get('reviewCategoryCtrl')?.value)?.id ?? -2,\r\n reviewID: this.inputData.reviewMember.reviewID\r\n }\r\n this.reviewsService.updateReviewAttendanceRoster(updatedAttendanceRoster).toPromise().then(() => {\r\n this.alert.message('ReviewMember_Updated');\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n this.dialogRef.close(this.inputData.reviewMember);\r\n }).catch((error: HttpErrorResponse) => {\r\n if (error.status === 409) {\r\n const member = this.users.find(x => x.id === this.inputData.reviewMember.userID);\r\n const role = this.roles.find(x => x.id === this.inputData.reviewMember.roleID);\r\n const category = this.inputData.reviewCategories.find(x => x.id === this.inputData.reviewMember.categoryID);\r\n this.alert.message(error.error, [new MessagePlaceholder('{reviewMember}', member?.name), new MessagePlaceholder('{reviewRole}', role?.name), new MessagePlaceholder('{reviewMemberCategory}', category?.name)]);\r\n } else {\r\n this.alert.message('genericError');\r\n this.dialogRef.close(this.inputData.reviewMember);\r\n }\r\n });\r\n }\r\n //If adding a new user:\r\n else {\r\n const newAttendanceRoster: ReviewAttendanceRoster = {\r\n id: 0,\r\n userID: this.reviewMemberGroup.get('reviewUserCtrl')?.value,\r\n //If no role is defined set the role to guest\r\n roleID: this.reviewMemberGroup.get('reviewRoleCtrl')?.value > 0 ? this.reviewMemberGroup.get('reviewRoleCtrl')?.value : -1,\r\n attended: true,\r\n categoryID: -2,\r\n reviewID: this.inputData.reviewMember.reviewID\r\n }\r\n this.reviewsService.createReviewAttendanceRoster(newAttendanceRoster).toPromise().then(() => {\r\n this.alert.message('ReviewMember_Added');\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n this.dialogRef.close(this.inputData.reviewMember);\r\n }).catch((error: HttpErrorResponse) => {\r\n if (error.status === 409) {\r\n const member = this.users.find(x => x.id === this.inputData.reviewMember.userID);\r\n const role = this.roles.find(x => x.id === this.inputData.reviewMember.roleID);\r\n const category = this.inputData.reviewCategories.find(x => x.id === this.inputData.reviewMember.categoryID);\r\n this.alert.message(error.error, [new MessagePlaceholder('{reviewMember}', member?.name), new MessagePlaceholder('{reviewRole}', role?.name), new MessagePlaceholder('{reviewMemberCategory}', category?.name)]);\r\n } else {\r\n this.alert.message('genericError');\r\n this.dialogRef.close(this.inputData.reviewMember);\r\n }\r\n });\r\n }\r\n }\r\n //If form is valid and guest is selected\r\n else if (this.guestMemberGroup.valid && this.addGuest) {\r\n //If editing an existing guest (Not in use at the moment)\r\n if (this.inputData.reviewMember.id) {\r\n const updatedGuestRoster: ReviewAttendanceRoster = {\r\n id: this.inputData.reviewMember.id,\r\n userID: this.inputData.reviewMember.userID,\r\n name: this.inputData.reviewMember.name,\r\n attended: true,\r\n roleID: this.inputData.reviewMember.roleID,\r\n reviewID: this.inputData.reviewMember.reviewID,\r\n categoryID: this.inputData.reviewMember.categoryID\r\n }\r\n this.reviewsService.updateReviewAttendanceRoster(updatedGuestRoster).toPromise().then((data) => {\r\n this.alert.message('ReviewMember_Updated');\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n //If adding a new guest\r\n else {\r\n const newGuestRoster: ReviewAttendanceRoster = {\r\n id: 0,\r\n userID: 0,\r\n name: this.utils.nameToCamelCase(this.guestMemberGroup.get('guestMemberNameCtrl')?.value ?? ''),\r\n attended: true,\r\n roleID: -1,\r\n reviewID: this.inputData.review.id,\r\n categoryID: -1\r\n }\r\n this.reviewsService.createGuestAttendanceRoster(newGuestRoster).toPromise().then((data) => {\r\n this.alert.message('ReviewMember_Added');\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n this.dialogRef.close(data);\r\n });\r\n }\r\n }\r\n }\r\n\r\n addGuestChange(e: any) {\r\n this.addGuest = e.checked;\r\n this.guestGroup.get('guestCtrl')?.setValue(this.addGuest);\r\n this.clear();\r\n }\r\n\r\n close() {\r\n if (this.reviewMemberGroup.dirty) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n height: 'fit-content',\r\n width: '40%',\r\n data: {}\r\n });\r\n confirmation.afterClosed().toPromise().then((response: CanDeactivateResponse) => {\r\n if (response === CanDeactivateResponse.Discard) {\r\n this.dialogRef.close(null);\r\n }\r\n });\r\n } else {\r\n this.dialogRef.close(null);\r\n }\r\n }\r\n\r\n getRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.roleSubscription = this.roles$.subscribe(roles => {\r\n this.roles = this.utils.cloneDeep(roles);\r\n this.filteredRoles = this.roles;\r\n });\r\n }\r\n\r\n getUsersByRoleId(roleId: number) {\r\n //Todo -- there is a problem here: if you select a role, then a user, the role list should be filtered based on the selected user but instead it is the full role list\r\n //Filter users if role is selected first or if editing and the role is changed\r\n if (!this.inputData.reviewMember.userID || this.input?.nativeElement.value) {\r\n this.users = [];\r\n // this.getRoles();\r\n this.roles.find(role => role.id === roleId)?.userRole?.map(userRole => {\r\n if (userRole.user)\r\n this.users.push(userRole.user);\r\n });\r\n this.getFilteredUsers();\r\n }\r\n else if (this.inputData.reviewMember.roleID && this.inputData.reviewMember.roleID != roleId) {\r\n this.users = [];\r\n this.roles.find(role => role.id === roleId)?.userRole?.map(userRole => {\r\n if (userRole.user)\r\n this.users.push(userRole.user);\r\n });\r\n this.getFilteredUsers();\r\n }\r\n }\r\n\r\n getRolesByUserId(userId: number) {\r\n //Filter roles if user is selected first\r\n if (!this.inputData.reviewMember.roleID) {\r\n this.filteredRoles = [];\r\n this.loadUsers();\r\n this.users.find(u => u.id === userId)?.userRole?.map(ur => {\r\n if (ur.role)\r\n this.filteredRoles?.push(ur.role);\r\n });\r\n }\r\n }\r\n\r\n getFilteredUsers() {\r\n //Remove inactive users\r\n //If a user is already selected and that user's role is being edited, don't remove that user from the list\r\n //If a user has been added already, mark that user as selected (disable it)\r\n this.filteredUsers = this.users.map(user => ({\r\n ...user,\r\n isSelected: this.inputData.review.reviewAttendanceRosters.some(\r\n r => r.userID === user.id && r.userID !== this.inputData.reviewMember.userID\r\n )\r\n })).filter(user => user.status === 1);\r\n this.filteredUserOptions = this.filteredUsers;\r\n }\r\n\r\n clear() {\r\n //Clear is only available when creating new, not when editing\r\n this.reviewMemberGroup.reset();\r\n this.guestMemberGroup.reset();\r\n\r\n //If creating new user\r\n if (!this.addGuest) {\r\n this.reviewMemberGroup.get('reviewCategoryCtrl')?.setValue('Attendance');\r\n this.loadUsers();\r\n this.getFilteredUsers();\r\n this.getRoles();\r\n }\r\n //If creating new guest\r\n else {\r\n this.guestMemberGroup.get('guestMemberCategoryCtrl')?.setValue('Guest');\r\n }\r\n }\r\n\r\n initializeForm() {\r\n //Initialize Groups\r\n this.reviewMemberGroup = this.formBuilder.group({\r\n reviewUserCtrl: [{ value: '' }, Validators.required],\r\n reviewRoleCtrl: [{ value: '' }],\r\n reviewCategoryCtrl: [{ value: 'Attendance', disabled: true }, Validators.required],\r\n });\r\n\r\n this.guestGroup = this.formBuilder.group({\r\n guestCtrl: [{ value: this.addGuest }]\r\n });\r\n\r\n this.guestMemberGroup = this.formBuilder.group({\r\n guestMemberNameCtrl: [{ value: '' }, Validators.required],\r\n guestMemberCategoryCtrl: [{ value: 'Guest', disabled: true }, Validators.required]\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n {{ inputData.dialogTitle }}\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n Add guest member\r\n
    \r\n
    \r\n \r\n Clear\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Member\r\n \r\n \r\n {{ user.name }}\r\n \r\n {{\r\n getErrorMsg(reviewUserCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Role\r\n \r\n \r\n {{ role.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Category\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Member name\r\n \r\n {{ getErrorMsg(guestMemberNameCtrl) }}\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Category\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n 0) && !guestMemberGroup.touched)\r\n \"\r\n mat-flat-button\r\n class=\"accept-btn\"\r\n color=\"primary\"\r\n (click)=\"add()\"\r\n >\r\n Add\r\n \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n
    \r\n","import { ReviewAttendanceRoster, ReviewAttendanceSaveListSave } from \"./../../../../../../reviews.models\";\r\nimport { Component, Inject, OnDestroy, OnInit } from \"@angular/core\";\r\nimport { FormGroup, FormControl } from \"@angular/forms\";\r\nimport { ReviewAttendanceCategory, ReviewAttendanceSave, ReviewAttendanceSaveList, ReviewAttendanceSaveSave, } from \"../../../../../../reviews.models\";\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from \"@angular/material/dialog\";\r\nimport { ReviewsService } from \"src/app/components/reviews/reviews.service\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { Role } from \"src/app/components/catalogs/roles/services/role\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { TouchedErrorStateMatcher } from \"src/app/components/pending-approvals-v2/pending-approvals-v2.module\";\r\n\r\n@Component({\r\n selector: \"app-review-attendance-saved-edit\",\r\n templateUrl: \"./saved-edit.component.html\",\r\n styleUrls: [\"./saved-edit.component.scss\"],\r\n})\r\nexport class ReviewAttendanceSavedEditComponent implements OnInit, OnDestroy {\r\n reviewAttendanceSave!: ReviewAttendanceSave;\r\n reviewAttendanceSaved!: ReviewAttendanceSave[];\r\n reviewAttendanceSavedFiltered!: ReviewAttendanceSave[];\r\n reviewAttendanceSaved$!: Observable;\r\n reviewAttendanceSavedSubs!: Subscription;\r\n\r\n reviewAttendanceCategory?: ReviewAttendanceCategory | null;\r\n reviewAttendanceCategories!: ReviewAttendanceCategory[];\r\n reviewAttendanceCategoriesFiltered!: ReviewAttendanceCategory[];\r\n reviewAttendanceCategoriesToAdd!: ReviewAttendanceCategory[];\r\n reviewAttendanceCategories$!: Observable;\r\n reviewAttendanceCategoriesSubs!: Subscription;\r\n\r\n form!: FormGroup;\r\n categoryCtrl = new FormControl();\r\n memberCtrl = new FormControl();\r\n rosterCtrl = new FormControl();\r\n roleCtrl = new FormControl();\r\n\r\n addingMember!: number;\r\n addingCategory!: boolean;\r\n\r\n user?: User | null;\r\n users!: User[];\r\n usersFiltered!: User[];\r\n users$!: Observable;\r\n usersSubs!: Subscription;\r\n\r\n role?: Role | null;\r\n roles!: Role[];\r\n rolesFiltered!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n memberDeleted!: boolean;\r\n\r\n constructor(\r\n private store: Store,\r\n public dialog: MatDialogRef,\r\n private service: ReviewsService,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n if (data.reviewAttendanceSave != null) {\r\n this.reviewAttendanceSave = utils.cloneDeep(data.reviewAttendanceSave);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.usersSubs?.unsubscribe();\r\n this.reviewAttendanceCategoriesSubs?.unsubscribe();\r\n this.reviewAttendanceSavedSubs?.unsubscribe();\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadRoles();\r\n this.loadUsers();\r\n this.buildForm();\r\n this.loadReviewAttendanceSaved();\r\n this.loadReviewAttendanceCategories();\r\n this.rosterCtrl.setValue(this.reviewAttendanceSave);\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n categoryCtrl: this.categoryCtrl,\r\n rosterCtrl: this.rosterCtrl,\r\n memberCtrl: this.memberCtrl,\r\n roleCtrl: this.roleCtrl,\r\n });\r\n }\r\n\r\n loadReviewAttendanceSaved() {\r\n this.reviewAttendanceSaved$ = this.store.select(\r\n (state) => state.ReviewAttendanceSaved.data\r\n );\r\n this.reviewAttendanceSavedSubs = this.reviewAttendanceSaved$.subscribe(\r\n (data) => {\r\n if (data?.length) {\r\n this.reviewAttendanceSaved = data.sort((a, b) =>\r\n utils.sort(a.name, b.name, true)\r\n );\r\n this.reviewAttendanceSavedFiltered = data;\r\n }\r\n }\r\n );\r\n }\r\n\r\n changedRoster(e: any) {\r\n const value: string = e.target.value;\r\n this.reviewAttendanceSavedFiltered = this.reviewAttendanceSaved.filter(\r\n (x) => x.name?.toLowerCase().includes(value.toLowerCase())\r\n );\r\n }\r\n\r\n selectedReviewAttendanceSave(e: any) {\r\n this.reviewAttendanceSave = e.option.value;\r\n this.reviewAttendanceSave.reviewAttendanceSavedList.map(a => {\r\n if (!a.role) {\r\n a.role = this.roles.find(r => r.id == a.roleID);\r\n if (!a.role) a.role = { id: a.roleID, name: 'Guest' } as Role;\r\n };\r\n });\r\n this.loadReviewAttendanceCategories();\r\n }\r\n\r\n loadUsers() {\r\n this.users$ = this.store.select((state) => state.Users.data);\r\n this.usersSubs = this.users$.subscribe((data) => {\r\n this.users = data.filter((u) => u.status == 1);\r\n });\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select((state) => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe((data) => {\r\n if (data.length) {\r\n this.roles = data;\r\n this.rolesFiltered = data;\r\n }\r\n });\r\n }\r\n\r\n save() {\r\n const reviewAttendanceSave: ReviewAttendanceSaveSave =\r\n this.reviewAttendanceSave;\r\n reviewAttendanceSave.name =\r\n typeof this.rosterCtrl.value == \"string\"\r\n ? this.rosterCtrl.value\r\n : this.reviewAttendanceSave.name;\r\n const reviewAttendanceSaveListNew: ReviewAttendanceSaveListSave[] = [];\r\n this.reviewAttendanceSave.reviewAttendanceSavedList.map((x) => {\r\n const reviewAttendanceSaveListItem: ReviewAttendanceSaveListSave = {\r\n id: x.id,\r\n name: x.user?.name,\r\n userID: x.userID,\r\n categoryID: x.categoryID,\r\n roleID: x.roleID,\r\n reviewAttendanceSaveID: x.reviewAttendanceSaveID,\r\n };\r\n reviewAttendanceSaveListNew.push(reviewAttendanceSaveListItem);\r\n });\r\n reviewAttendanceSave.reviewAttendanceSavedList =\r\n reviewAttendanceSaveListNew;\r\n this.service\r\n .updateReviewAttendanceSaved(reviewAttendanceSave)\r\n .toPromise()\r\n .then((data) => {\r\n this.dialog.close();\r\n });\r\n this.memberDeleted = false;\r\n }\r\n\r\n loadReviewAttendanceCategories() {\r\n this.reviewAttendanceCategories$ = this.store.select(\r\n (state) => state.ReviewAttendanceCategories.data\r\n );\r\n this.reviewAttendanceCategoriesSubs = this.reviewAttendanceCategories$.subscribe((data) => {\r\n if (data.length) {\r\n this.reviewAttendanceCategories = data;\r\n this.loadCategories();\r\n }\r\n });\r\n }\r\n\r\n loadCategories() {\r\n this.reviewAttendanceCategoriesFiltered = [];\r\n this.reviewAttendanceSave?.reviewAttendanceSavedList?.map(x => {\r\n x.user = this.users.find((u) => u.id == x.userID);\r\n x.category = this.reviewAttendanceCategories.find(\r\n (c) => c.id == x.categoryID\r\n );\r\n if (!this.reviewAttendanceCategoriesFiltered.map((c) => c.id).includes(x.categoryID)) {\r\n if (x.category)\r\n this.reviewAttendanceCategoriesFiltered.push(x.category);\r\n }\r\n this.reviewAttendanceCategoriesToAdd = this.reviewAttendanceCategories.filter((x) => !this.reviewAttendanceCategoriesFiltered.map((c) => c.id).includes(x.id));\r\n });\r\n }\r\n\r\n getRoster(c: ReviewAttendanceCategory) {\r\n return this.reviewAttendanceSave?.reviewAttendanceSavedList?.filter(\r\n (x) => x.categoryID == c.id\r\n );\r\n }\r\n\r\n cancel() {\r\n this.dialog.close();\r\n }\r\n\r\n addCategory() {\r\n this.addingCategory = true;\r\n const newCategory = {\r\n id: 0,\r\n reviewAttendanceRosters: [],\r\n preName: '',\r\n editing: false\r\n } as ReviewAttendanceCategory;\r\n this.reviewAttendanceCategoriesFiltered.push(newCategory);\r\n const element = $(\".cat-container\");\r\n element.animate(\r\n {\r\n scrollTop: element.prop(\"scrollHeight\"),\r\n },\r\n 500\r\n );\r\n }\r\n\r\n cancelAddCategory() {\r\n this.reviewAttendanceCategoriesFiltered =\r\n this.reviewAttendanceCategoriesFiltered.filter((x) => x.id != 0);\r\n this.addingCategory = false;\r\n this.reviewAttendanceCategory = null;\r\n this.categoryCtrl.setValue(null);\r\n }\r\n\r\n selectedCategory(e: any) {\r\n const value = e.option.value as ReviewAttendanceCategory;\r\n this.reviewAttendanceCategory = value;\r\n const index = this.reviewAttendanceCategoriesFiltered.findIndex(\r\n (x) => x.id == 0\r\n );\r\n this.reviewAttendanceCategoriesFiltered.splice(index, 1);\r\n this.reviewAttendanceCategoriesFiltered.push(this.reviewAttendanceCategory);\r\n this.setAdding(this.reviewAttendanceCategory);\r\n }\r\n\r\n deleteCategory(category: ReviewAttendanceCategory) {\r\n this.reviewAttendanceCategory = null;\r\n }\r\n\r\n setAdding(c: ReviewAttendanceCategory) {\r\n this.addingMember = c.id;\r\n this.usersFiltered = this.users.filter((u) => !this.reviewAttendanceSave.reviewAttendanceSavedList.map((a) => a.userID).includes(u.id ?? 0)\r\n );\r\n this.user = null;\r\n this.memberCtrl.setValue(null);\r\n this.role = null;\r\n this.roleCtrl.setValue(null);\r\n const element = $(\".cat-container\");\r\n element.animate(\r\n {\r\n scrollTop: element.prop(\"scrollHeight\"),\r\n },\r\n 500\r\n );\r\n }\r\n\r\n changedMember(e: any, c: ReviewAttendanceCategory) {\r\n const value: string = e.target.value;\r\n this.setAdding(c);\r\n this.usersFiltered = this.usersFiltered.filter((u) => u.name?.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n\r\n changedRole(e: any) {\r\n const value: string = e.target.value;\r\n this.rolesFiltered = this.roles.filter((r) => r.name?.toLowerCase().includes(value.toLowerCase()) ||\r\n r.code?.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n\r\n selectedRole(e: any, c: ReviewAttendanceCategory) {\r\n this.role = e;\r\n this.usersFiltered = this.users.filter((u) => !this.reviewAttendanceSave.reviewAttendanceSavedList.map((a) => a.userID).includes(u.id ?? 0) &&\r\n u.userRole?.map((r) => r.roleID).includes(this.role?.id)\r\n );\r\n this.user = null;\r\n this.memberCtrl.setValue(null);\r\n }\r\n\r\n selectedMember(e: any, c: ReviewAttendanceCategory) {\r\n this.user = e.option.value;\r\n const member: ReviewAttendanceSaveList = {\r\n id: 0,\r\n name: this.user?.name,\r\n userID: this.user?.id ?? 0,\r\n user: this.user,\r\n roleID: this.role?.id ?? 0,\r\n role: this.role,\r\n reviewAttendanceSaveID: this.reviewAttendanceSave.id,\r\n reviewAttendanceSave: this.reviewAttendanceSave,\r\n categoryID: c.id,\r\n category: c,\r\n };\r\n this.reviewAttendanceSave.reviewAttendanceSavedList.push(member);\r\n this.addingMember = 0;\r\n this.form.markAsDirty();\r\n if (this.addingCategory) {\r\n const roster = {\r\n id: 0,\r\n status: 1,\r\n userID: this.user?.id,\r\n user: this.user,\r\n roleID: this.role?.id,\r\n role: this.role,\r\n categoryID: this.reviewAttendanceCategory?.id,\r\n } as ReviewAttendanceRoster;\r\n const r = this.reviewAttendanceCategoriesFiltered?.find((x) => x.id == this.reviewAttendanceCategory?.id)?.reviewAttendanceRosters;\r\n if (r)\r\n r.push(roster);\r\n }\r\n }\r\n\r\n cancelAddMember() {\r\n this.addingMember = 0;\r\n this.addingCategory = false;\r\n this.reviewAttendanceCategory = null;\r\n this.categoryCtrl.setValue(null);\r\n if (this.reviewAttendanceCategory) {\r\n const index = this.reviewAttendanceCategoriesFiltered.findIndex(\r\n (x) => x.id == this.reviewAttendanceCategory?.id\r\n );\r\n if (index >= 0) {\r\n this.reviewAttendanceCategoriesFiltered.splice(index, 1);\r\n }\r\n }\r\n }\r\n\r\n displayObject(u: any) {\r\n return u ? u.name : null;\r\n }\r\n\r\n deleteMember(r: ReviewAttendanceSaveList) {\r\n const i1 = this.reviewAttendanceSave.reviewAttendanceSavedList.findIndex(\r\n (a) => a.id == r.id\r\n );\r\n this.reviewAttendanceSave.reviewAttendanceSavedList.splice(i1, 1);\r\n const rosters = this.reviewAttendanceCategoriesFiltered?.find((x) => x.id == r.categoryID)?.reviewAttendanceRosters;\r\n if (rosters) {\r\n const i2 = rosters.findIndex((x) => x.userID == r.userID && x.roleID == r.roleID && x.categoryID == r.categoryID);\r\n rosters.splice(i2, 1);\r\n if (!rosters.length) {\r\n const i3 = this.reviewAttendanceCategoriesFiltered.findIndex(\r\n (x) => x.id == r.categoryID\r\n );\r\n this.reviewAttendanceCategoriesFiltered.splice(i3, 1);\r\n }\r\n this.memberDeleted = true;\r\n }\r\n }\r\n\r\n changed() {\r\n return (\r\n (this.role && this.user) ||\r\n (this.reviewAttendanceSave &&\r\n typeof this.rosterCtrl.value == \"string\" &&\r\n this.rosterCtrl.value != this.reviewAttendanceSave?.name) ||\r\n this.memberDeleted\r\n );\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n Rosters\r\n
    \r\n
    \r\n \r\n Roster\r\n \r\n \r\n \r\n {{ roster.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    Category
    \r\n \r\n add_box\r\n \r\n
    \r\n
    \r\n
    Members
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    {{ category.name }}
    \r\n \r\n Select Category\r\n \r\n \r\n \r\n {{ category.name }}\r\n \r\n \r\n \r\n close\r\n \r\n \r\n \r\n add_box\r\n \r\n \r\n delete\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Member\r\n \r\n \r\n
    \r\n
    \r\n \r\n delete\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n New Member\r\n \r\n \r\n \r\n {{ user.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n\r\n","import { Component, Input, OnInit, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Review, ReviewAttendanceCategory, ReviewAttendanceRoster, ReviewStatusEnum } from 'src/app/components/reviews/reviews.models';\r\nimport { ReviewsService } from 'src/app/components/reviews/reviews.service';\r\nimport { ReviewAttendanceCategoriesRefresh } from 'src/app/components/reviews/store/review-attendance-category/review-attendance-category.action';\r\nimport { ReviewAttendanceCategoriesComponent } from './dialogs/review-attendance-categories/review-attendance-categories.component';\r\nimport { ReviewMembersComponent } from './dialogs/review-members/review-members.component';\r\nimport { ReviewAttendanceSaveComponent } from './dialogs/review-attendance-save/review-attendance-save.component';\r\nimport { ReviewAttendanceSave, ReviewAttendanceSaveList } from '../../../../reviews.models';\r\n\r\nimport { ReviewsRefreshById } from 'src/app/components/reviews/store/reviews/reviews.action';\r\nimport { ReviewAttendanceSavedEditComponent } from './review-attendance-saved/saved-edit/saved-edit.component';\r\nimport { ReviewMembersLoadSavedRosterComponent } from './dialogs/load-saved/load-saved-roster.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { ReviewAttendanceRosterDelete } from 'src/app/components/reviews/store/review-attendance-roster/review-attendance-roster.action';\r\n\r\n@Component({\r\n selector: 'app-reviews-boards-reviews-members',\r\n templateUrl: './reviews-members.component.html',\r\n styleUrls: ['./reviews-members.component.scss']\r\n})\r\nexport class ReviewsBoardsReviewsMembersComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() review?: Review;\r\n @Input() canDelete!: boolean;\r\n @Input() canRegister?: boolean;\r\n\r\n public reviewCategories$!: Observable;\r\n\r\n public reviewCategorySubscription!: Subscription;\r\n public userSubscription!: Subscription;\r\n\r\n public reviewCategories!: ReviewAttendanceCategory[];\r\n public reviewCategoriesToShow!: ReviewAttendanceCategory[];\r\n\r\n public reviewAttendanceSaved!: ReviewAttendanceSave[];\r\n public similarReviewAttendanceSaved!: ReviewAttendanceSave[];\r\n public reviewAttendanceSaved$!: Observable;\r\n public reviewAttendanceSavedSubs!: Subscription;\r\n\r\n public displayedColumnsMembers!: string[];\r\n public dataSourceMembersMap: { [categoryId: number]: MatTableDataSource } = {};\r\n\r\n reviews!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n public similarRoster!: ReviewAttendanceSave;\r\n\r\n reviewStatusEnum = ReviewStatusEnum;\r\n\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewsSubs?.unsubscribe();\r\n this.userSubscription?.unsubscribe();\r\n this.reviewCategorySubscription?.unsubscribe();\r\n this.reviewAttendanceSavedSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.setColumns();\r\n }\r\n\r\n setColumns() {\r\n this.displayedColumnsMembers = this.canDelete && this.review?.reviewStatusID != this.reviewStatusEnum.Completed && this.review?.reviewStatusID != this.reviewStatusEnum.Canceled ? ['member', 'role', 'attendance', 'options'] : ['member', 'role', 'attendance'];\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.getReviews();\r\n this.getReviewCategories();\r\n this.getSavedLists();\r\n this.service.loading = false;\r\n this.setColumns();\r\n }\r\n\r\n getReviewMembersByCategory(reviewCategory: ReviewAttendanceCategory): MatTableDataSource {\r\n const filteredData = this.review?.reviewAttendanceRosters.filter(\r\n (x) => x.categoryID === reviewCategory.id\r\n );\r\n return new MatTableDataSource(filteredData);\r\n }\r\n\r\n getAttendance() {\r\n setTimeout(() => {\r\n this.reviewCategoriesToShow = [];\r\n this.review?.reviewAttendanceRosters?.map(r => {\r\n if (!this.reviewCategoriesToShow.map(c => c.id).includes(r.categoryID)) {\r\n const reviewCategory = this.reviewCategories.find(x => x.id == r.categoryID);\r\n if (reviewCategory)\r\n this.reviewCategoriesToShow.push(reviewCategory);\r\n }\r\n });\r\n this.reviewCategoriesToShow = this.reviewCategoriesToShow.sort((a, b) => this.utils.sort(a.order, b.order));\r\n\r\n // Initialize the data source for each category after categories are loaded\r\n this.reviewCategoriesToShow.forEach((category) => {\r\n const dataSource = this.getReviewMembersByCategory(category);\r\n this.dataSourceMembersMap[category.id] = dataSource;\r\n\r\n // Set default sorting for each category\r\n this.setDefaultSort(dataSource, 'member', 'asc');\r\n });\r\n\r\n this.compareSavedList();\r\n }, 100);\r\n }\r\n\r\n getReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n if (data.length) {\r\n this.reviews = data;\r\n if (this.review) {\r\n this.review = this.reviews.find(x => x.id == this.review?.id);\r\n this.getReviewCategories();\r\n this.getSavedLists();\r\n this.setColumns();\r\n }\r\n }\r\n });\r\n }\r\n\r\n getSavedLists() {\r\n this.reviewAttendanceSaved$ = this.store.select(state => state.ReviewAttendanceSaved.data);\r\n this.reviewAttendanceSavedSubs = this.reviewAttendanceSaved$.subscribe(data => {\r\n this.reviewAttendanceSaved = data;\r\n this.compareSavedList();\r\n });\r\n }\r\n\r\n getReviewCategories() {\r\n this.reviewCategories$ = this.store.select(state => state.ReviewAttendanceCategories.data);\r\n this.reviewCategorySubscription = this.reviewCategories$.subscribe(data => {\r\n this.reviewCategories = data.sort((a, b) => this.utils.sort(a.order, b.order));\r\n this.getAttendance();\r\n });\r\n }\r\n\r\n // getReviewMembersByCategory(reviewCategory: ReviewAttendanceCategory): MatTableDataSource {\r\n // const dataSourceMembers = new MatTableDataSource(this.review?.reviewAttendanceRosters.filter(x => x.categoryID == reviewCategory.id));\r\n // return dataSourceMembers;\r\n // }\r\n\r\n reviewMembersDialog() {\r\n this.service.loading = true;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n review: this.review,\r\n reviewMember: {} as ReviewAttendanceRoster,\r\n reviewCategories: this.reviewCategories,\r\n dialogTitle: 'Add Member',\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.width = '400px';\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(ReviewMembersComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (!data) this.service.loading = false;\r\n if (this.review)\r\n this.store.dispatch(new ReviewsRefreshById(this.review.id));\r\n });\r\n }\r\n\r\n reviewAttendanceCategoryDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n dialogTitle: 'Review Categories',\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n dialogConfig.width = '400px';\r\n const cats = this.dialog.open(ReviewAttendanceCategoriesComponent, dialogConfig);\r\n cats.afterClosed().toPromise().then(() => {\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n });\r\n }\r\n\r\n addFromSavedDialog() {\r\n this.service.loading = true;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n review: this.review,\r\n reviewAttendanceSave: this.similarReviewAttendanceSaved,\r\n reviewMembersComponent: this\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n dialogConfig.width = '800px';\r\n dialogConfig.minHeight = '400px';\r\n const dialogRef = this.dialog.open(ReviewMembersLoadSavedRosterComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data: ReviewAttendanceSave) => {\r\n if (data) {\r\n this.loadRoster(data);\r\n }\r\n else this.service.loading = false;\r\n });\r\n }\r\n\r\n async deleteRosters() {\r\n this.review?.reviewAttendanceRosters.map(async r => {\r\n await this.service.deleteReviewAttendanceRoster(r.id).toPromise().then(() => {\r\n });\r\n });\r\n }\r\n\r\n loadRoster(data: ReviewAttendanceSave) {\r\n const list = data.reviewAttendanceSavedList;\r\n const replace = data.replace;\r\n let countAdd = 0;\r\n let countDel = 0;\r\n list.map(l => {\r\n const found = this.review?.reviewAttendanceRosters.find(x => x.userID == l.userID && x.categoryID == l.categoryID && x.roleID == l.roleID);\r\n if (!found) {\r\n countAdd += 1;\r\n const reviewAttendanceRoster = {\r\n id: 0,\r\n reviewID: this.review?.id,\r\n userID: l.userID,\r\n categoryID: l.categoryID,\r\n roleID: l.roleID\r\n } as ReviewAttendanceRoster;\r\n this.service.createReviewAttendanceRoster(reviewAttendanceRoster).toPromise().then(res => {\r\n if (this.review)\r\n this.store.dispatch(new ReviewsRefreshById(this.review.id));\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n this.getReviewCategories();\r\n });\r\n }\r\n });\r\n this.review?.reviewAttendanceRosters.map((l, i) => {\r\n const found = list.find(x => x.userID == l.userID && x.categoryID == l.categoryID && x.roleID == l.roleID);\r\n if (!found && replace) {\r\n countDel += 1;\r\n this.service.deleteReviewAttendanceRoster(-l.id).toPromise().then(() => {\r\n if (this.review) {\r\n this.review.reviewAttendanceRosters.splice(i, 1);\r\n this.store.dispatch(new ReviewAttendanceRosterDelete(-l.id));\r\n this.store.dispatch(new ReviewsRefreshById(this.review.id));\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n this.getReviewCategories();\r\n }\r\n });\r\n }\r\n });\r\n this.alert.info(countAdd + ' members added and ' + countDel + ' removed from Roster');\r\n }\r\n\r\n setAttendance(isAttended: boolean, reviewAttendanceRoster: ReviewAttendanceRoster) {\r\n reviewAttendanceRoster.attended = isAttended;\r\n this.service.updateReviewAttendanceRoster(reviewAttendanceRoster).toPromise().then((reviewAttendanceRosterUpdated) => {\r\n }).catch(() => {\r\n this.alert.message('genericError');\r\n });\r\n }\r\n\r\n editReviewMember(reviewAttendanceRoster: ReviewAttendanceRoster) {\r\n this.service.loading = true;\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n review: this.review,\r\n reviewMember: reviewAttendanceRoster,\r\n reviewCategories: this.reviewCategories,\r\n dialogTitle: 'Edit Member',\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.width = '400px';\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(ReviewMembersComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (!data) this.service.loading = false;\r\n if (this.review)\r\n this.store.dispatch(new ReviewsRefreshById(this.review.id));\r\n });\r\n }\r\n\r\n deleteReviewMember(reviewAttendanceRoster: ReviewAttendanceRoster) {\r\n this.service.loading = true;\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage(\"ALSPC_RolesCatalog_AreYouSureYouWantToDeleteTheUser\").description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(res => {\r\n if (res) {\r\n try {\r\n this.service.deleteReviewAttendanceRoster(reviewAttendanceRoster.id).toPromise();\r\n this.alert.message('ReviewMember_Deleted');\r\n if (this.review)\r\n this.store.dispatch(new ReviewsRefreshById(this.review.id));\r\n this.store.dispatch(new ReviewAttendanceCategoriesRefresh());\r\n this.getReviewCategories();\r\n } catch (error) {\r\n this.alert.defaultError();\r\n }\r\n }\r\n else this.service.loading = false;\r\n });\r\n }\r\n\r\n setDefaultSort(dataSource: MatTableDataSource, active: string, direction: string) {\r\n // Simulate a default sort using the sortData method\r\n // const defaultSort: Sort = { active, direction };\r\n const dataToSort = this.utils.cloneDeep(dataSource.data);\r\n\r\n dataSource.data = dataToSort.sort((a, b) => {\r\n const isAsc = direction === 'asc';\r\n switch (active) {\r\n case 'role':\r\n return this.utils.sort(a.role?.name ?? '', b.role?.name ?? '', isAsc);\r\n case 'member':\r\n return this.utils.sort(a.user?.name ?? '', b.user?.name ?? '', isAsc);\r\n case 'attendance':\r\n return this.utils.sort(a.attended ?? false, b.attended ?? false, isAsc);\r\n default:\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n sortData(sort: Sort, category: ReviewAttendanceCategory) {\r\n const dataSourceMembers = this.dataSourceMembersMap[category.id];\r\n const dataToSort = this.utils.cloneDeep(dataSourceMembers.data);\r\n\r\n if (!sort.active || sort.direction === '') {\r\n dataSourceMembers.data = dataToSort; // Reset to unsorted data\r\n return;\r\n }\r\n\r\n dataSourceMembers.data = dataToSort.sort((a, b) => {\r\n const isAsc = sort.direction === 'asc';\r\n switch (sort.active) {\r\n case 'role':\r\n return this.utils.sort(a.role?.name ?? '', b.role?.name ?? '', isAsc);\r\n case 'member':\r\n return this.utils.sort(a.user?.name ?? '', b.user?.name ?? '', isAsc);\r\n case 'attendance':\r\n return this.utils.sort(a.attended ?? false, b.attended ?? false, isAsc);\r\n default:\r\n return 0;\r\n }\r\n });\r\n }\r\n // sortData(sort: Sort) {\r\n // const dataToSort = this.utils.cloneDeep(dataSourceMembers.data);\r\n // if (!sort.active || sort.direction === '') {\r\n // dataSourceMembers.data = dataToSort;\r\n // return;\r\n // }\r\n\r\n // const sortedData = dataToSort.sort((a, b) => {\r\n // const isAsc = sort.direction === 'asc';\r\n // switch (sort.active) {\r\n // case 'role': return this.utils.sort(a.role?.name, b.role?.name, isAsc);\r\n // case 'member': return this.utils.sort(a.user?.name, b.user?.name, isAsc);\r\n // case 'attendance': return this.utils.sort(a.attended, b.attended, isAsc);\r\n // default: return 0;\r\n // }\r\n // });\r\n // dataSourceMembers.data = sortedData;\r\n // console.log(dataToSort);\r\n // }\r\n\r\n saveRoster() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: this.getMessage('ReviewAttendanceSaveMessage').description\r\n };\r\n dialogConfig.width = '500px';\r\n const dialogRef = this.dialog.open(ReviewAttendanceSaveComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(data => {\r\n if (data) {\r\n if (typeof (data) == 'string') {\r\n const reviewAttendanceSave = {\r\n id: 0,\r\n name: data,\r\n reviewAttendanceSavedList: this.getReviewAttendanceSaveList()\r\n } as ReviewAttendanceSave;\r\n this.service.createReviewAttendanceSaved(reviewAttendanceSave).toPromise().then(res => {\r\n this.alert.message('ReviewAttendanceSavedMsg', [{ placeholder: '{ListName}', value: res?.name }]);\r\n });\r\n }\r\n else {\r\n const reviewAttendanceSave = data as ReviewAttendanceSave;\r\n const dialogCfg = new MatDialogConfig();\r\n dialogCfg.data = {\r\n message: 'Are you sure you want to replace ' + reviewAttendanceSave.name + ' with the current List of memebers?',\r\n icon: 'question',\r\n value: true\r\n }\r\n const dialogYesNo = this.dialog.open(YesNoDialogComponent, dialogCfg);\r\n dialogYesNo.afterClosed().toPromise().then(yes => {\r\n if (yes) {\r\n reviewAttendanceSave.reviewAttendanceSavedList = this.getReviewAttendanceSaveList();\r\n this.service.updateReviewAttendanceSaved(reviewAttendanceSave).toPromise().then(res => {\r\n this.alert.message('ReviewAttendanceSavedMsg', [{ placeholder: '{ListName}', value: res?.name }]);\r\n });\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n getReviewAttendanceSaveList() {\r\n const reviewAttendanceSaveList: any[] = [];\r\n this.review?.reviewAttendanceRosters?.map(r => {\r\n const reviewAttendanceMemberToSave = {\r\n name: r.user?.name,\r\n description: r.user?.roleCodes,\r\n userID: r.userID,\r\n categoryID: r.categoryID,\r\n roleID: r.roleID\r\n } as ReviewAttendanceSaveList;\r\n reviewAttendanceSaveList.push(reviewAttendanceMemberToSave);\r\n });\r\n return reviewAttendanceSaveList;\r\n }\r\n\r\n compareSavedList() {\r\n this.similarReviewAttendanceSaved = [];\r\n this.getReviewAttendanceSaveList();\r\n this.reviewAttendanceSaved?.map(s => {\r\n let match = true;\r\n this.review?.reviewAttendanceRosters?.map(c => {\r\n const found = s.reviewAttendanceSavedList.find(x => x.categoryID == c.categoryID && x.roleID == c.roleID && x.userID == c.userID);\r\n if (!found) {\r\n match = false;\r\n }\r\n });\r\n if (match) {\r\n s.reviewAttendanceSavedList?.map(d => {\r\n const found = this.review?.reviewAttendanceRosters?.find(x => x.categoryID == d.categoryID && x.roleID == d.roleID && x.userID == d.userID);\r\n if (!found) {\r\n match = false;\r\n }\r\n });\r\n if (match) {\r\n this.similarReviewAttendanceSaved.push(s);\r\n }\r\n }\r\n });\r\n this.similarRoster = this.similarReviewAttendanceSaved[0];\r\n }\r\n\r\n editSavedRoster(list?: ReviewAttendanceSave) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n reviewAttendanceSave: list\r\n };\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n dialogConfig.width = '800px';\r\n this.dialog.open(ReviewAttendanceSavedEditComponent, dialogConfig);\r\n }\r\n\r\n deleteSavedRoster(list: ReviewAttendanceSave) {\r\n const message = this.getMessage('ReviewAttendanceSavedDeleteMsg');\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: message?.description.replace('{ListName}', '' + list.name + ''),\r\n icon: 'question',\r\n changeButtonLabels: true,\r\n labelButtonCancel: 'No',\r\n labelButtonAccept: 'Yes'\r\n };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(async res => {\r\n if (res) {\r\n this.service.deleteReviewAttendanceSaved(list.id).toPromise().then(() => {\r\n });\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n {{ reviewCategory.name }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Member\r\n \r\n \r\n {{ element.user?.name }}\r\n \r\n \r\n\r\n \r\n \r\n Role\r\n \r\n \r\n {{ element.role?.name }}\r\n \r\n \r\n\r\n \r\n \r\n Attendance\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Action\r\n \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy, Injector, EventEmitter, Output, } from \"@angular/core\";\r\nimport { Checklist, ChecklistTemplate, ChecklistTemplateStatus, TemplateType } from \"src/app/components/checklists/checklists\";\r\nimport { Router } from \"@angular/router\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { FormControl } from \"@angular/forms\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { FormStatusEnum, FormType } from \"src/app/common/enumerations/enumerations\";\r\nimport { ChecklistBuilderService } from \"src/app/components/checklists/checklist-builder/checklist-builder.service\";\r\nimport { ChecklistsService } from \"src/app/components/checklists/checklists.service\";\r\nimport { ChecklistTemplatesRefreshByDocument } from \"src/app/components/checklists/store/checklist-templates/checklist-templates.action\";\r\nimport { ChecklistsCreate } from \"src/app/components/checklists/store/checklists/checklists.action\";\r\nimport { Review, SaveReview } from \"src/app/components/reviews/reviews.models\";\r\nimport { ReviewsService } from \"src/app/components/reviews/reviews.service\";\r\nimport { ReviewBoardsUpdate } from \"src/app/components/reviews/store/review-boards/review-boards.action\";\r\nimport { ReviewsUpdate } from \"src/app/components/reviews/store/reviews/reviews.action\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\n\r\n@Component({\r\n selector: \"reviews-boards-reviews-details-template\",\r\n templateUrl: \"./reviews-details-template.component.html\",\r\n styleUrls: [\"./reviews-details-template.component.scss\"],\r\n})\r\nexport class ReviewsBoardsReviewsDetailsTemplateComponent extends BaseComponent\r\n implements OnInit, OnChanges, OnDestroy {\r\n @Input() review?: Review;\r\n @Output() isLoading = new EventEmitter();\r\n\r\n isTemplateEditing!: boolean;\r\n isChecklistEditing!: boolean;\r\n checklistTemplateCtrl = new FormControl();\r\n checklistCtrl = new FormControl();\r\n\r\n templateTypes$!: Observable;\r\n templateTypes!: TemplateType[];\r\n templateTypesSubs!: Subscription;\r\n\r\n checklistTemplate!: ChecklistTemplate;\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n checklistTemplates!: ChecklistTemplate[];\r\n checklistTemplatesFiltered!: ChecklistTemplate[];\r\n templateStatuses!: ChecklistTemplateStatus[];\r\n templateStatus?: ChecklistTemplateStatus;\r\n\r\n checklists$!: Observable;\r\n checklists!: Checklist[];\r\n checklistsSubs!: Subscription;\r\n checklistsFiltered?: Checklist[];\r\n\r\n reviews$!: Observable;\r\n reviews!: Review[];\r\n reviewsSubs!: Subscription;\r\n\r\n privilege = PrivilegeEnum;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n private _builder: ChecklistBuilderService,\r\n private _checklist: ChecklistsService,\r\n private router: Router\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.templateTypesSubs?.unsubscribe();\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n this.checklistsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.review?.reviewType?.templateType?.documentTypeID)\r\n this.store.dispatch(new ChecklistTemplatesRefreshByDocument(this.review?.reviewType?.templateType?.documentTypeID));\r\n this.loadReviews();\r\n this.loadChecklistTemplates();\r\n this.loadChecklists();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadStatuses();\r\n }\r\n\r\n checkPrivilege(privilege: PrivilegeEnum) {\r\n return this.service.checkPrivilege(privilege, this.review?.reviewType.reviewBoardType, this.review?.reviewStatus\r\n );\r\n }\r\n\r\n edit() {\r\n this.isTemplateEditing = true;\r\n }\r\n\r\n save() {\r\n this.isLoading.emit(true);\r\n const saveReview: SaveReview = this.utils.Serialize(this.review) as SaveReview;\r\n saveReview.checklistTemplateID = this.checklistTemplateCtrl.value\r\n ? this.checklistTemplateCtrl.value.id\r\n : null;\r\n this.service\r\n .updateReview(saveReview)\r\n .toPromise()\r\n .then((data) => {\r\n this.review = data;\r\n this.templateStatus = this.templateStatuses?.find(\r\n (x) => x.statusEnum == this.review?.checklistTemplate?.status\r\n );\r\n if (this.review) {\r\n this.store.dispatch(new ReviewsUpdate(this.review.id, this.review));\r\n this.store.dispatch(\r\n new ReviewBoardsUpdate(\r\n this.review.reviewCycle.reviewBoardID,\r\n this.review.reviewCycle.reviewBoard\r\n )\r\n );\r\n }\r\n this.isTemplateEditing = false;\r\n this.isLoading.emit(false);\r\n });\r\n }\r\n\r\n cancel() {\r\n this.isTemplateEditing = false;\r\n }\r\n\r\n async loadStatuses() {\r\n if (this._builder.checklistTemplateStatuses.length == 0) {\r\n await this._builder.getStatuses().toPromise().then((data) => {\r\n if (data)\r\n this.templateStatuses = data.sort((a, b) => a.order - b.order);\r\n this._builder.checklistTemplateStatuses = this.templateStatuses;\r\n this.templateStatus = this.templateStatuses?.find((x) => x.statusEnum == this.review?.checklistTemplate?.status);\r\n });\r\n } else {\r\n this.templateStatuses = this._builder.checklistTemplateStatuses;\r\n this.templateStatus = this.templateStatuses?.find(\r\n (x) => x.statusEnum == this.review?.checklistTemplate?.status\r\n );\r\n }\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n this.reviews = data;\r\n });\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.subscribe(data => {\r\n if (data.length) {\r\n this.checklistTemplates = data.filter(x => x.templateTypeID == this.review?.reviewType.templateTypeID && x.status === 1 && (x.resourceID == this.review?.reviewCycle.reviewBoard.resourceID || !x.resourceID));\r\n this.checklistTemplatesFiltered = this.checklistTemplates;\r\n if (this.checklistTemplatesFiltered?.length == 1) {\r\n this.checklistTemplateCtrl.setValue(\r\n this.checklistTemplatesFiltered[0]\r\n );\r\n } else {\r\n this.checklistTemplateCtrl.setValue(null);\r\n }\r\n }\r\n });\r\n }\r\n\r\n displaySerialNo(template: any): string {\r\n return template && template.serialNo ? template.serialNo : '';\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data?.length) {\r\n this.checklists = data;\r\n const filtered = this.checklists.filter(x => x.checklistTemplate?.templateTypeID == this.review?.reviewType.templateTypeID).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n filtered.map(c => c.review = this.reviews.find(r => r.checklistID == c.id));\r\n // this.checklistsFiltered = filtered.filter(f => !f.review);\r\n // Checklist options must be of the correct template type and either have no associated review or be associated with the selected reviewCycle\r\n this.checklistsFiltered = filtered.filter(f => f.review?.reviewCycleID == this.review?.reviewCycleID || !f.review);\r\n }\r\n });\r\n }\r\n\r\n getStatusClass(css?: string) {\r\n return css + \"-background\";\r\n }\r\n\r\n //called from reviews-boards-reviews-details\r\n createChecklist() {\r\n this.isLoading.emit(true);\r\n const checklist = {\r\n id: 0,\r\n resourceID: this.review?.checklistTemplate.resourceID,\r\n checklistTemplateID: this.review?.checklistTemplateID,\r\n status: FormStatusEnum.Draft,\r\n } as Checklist;\r\n this._checklist.post(checklist).toPromise().then(data => {\r\n if (data) {\r\n const checklist = data as Checklist;\r\n this.alert.success(this.getMessage(\"NewChecklistCreated\").description.replace(\"{serialNo}\", checklist.serialNo ?? ''));\r\n this.store.dispatch(new ChecklistsCreate(data));\r\n const review = this.utils.Serialize(this.review);\r\n if (review) {\r\n review.checklistID = checklist.id;\r\n this.service.updateReview(review).toPromise().then((reviewUpdated) => {\r\n this.review = reviewUpdated;\r\n if (this.review)\r\n this.store.dispatch(new ReviewsUpdate(this.review.id, this.review));\r\n });\r\n }\r\n this.isLoading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n editChecklist() {\r\n this.isChecklistEditing = true;\r\n }\r\n\r\n deleteChecklist() {\r\n //unlink existing checklist\r\n this.isLoading.emit(true);\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage(\"ReviewChecklistDeleted\").description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(async res => {\r\n if (res) {\r\n const review = this.utils.Serialize(this.review) as SaveReview;\r\n if (review) {\r\n review.checklistID = null;\r\n await this.service\r\n .updateReview(review)\r\n .toPromise()\r\n .then((reviewUpdated) => {\r\n this.review = reviewUpdated;\r\n if (this.review)\r\n this.store.dispatch(new ReviewsUpdate(this.review.id, this.review));\r\n });\r\n }\r\n this.isLoading.emit(false);\r\n }\r\n else this.isLoading.emit(false);\r\n });\r\n }\r\n\r\n async saveChecklist() {\r\n //save new checklist\r\n this.isLoading.emit(true);\r\n this.isChecklistEditing = false;\r\n const review = this.utils.Serialize(this.review);\r\n if (review) {\r\n review.checklistID = this.checklistCtrl.value.id;\r\n this.service.updateReview(review).toPromise().then((reviewUpdated) => {\r\n if (reviewUpdated) {\r\n this.review = reviewUpdated;\r\n this.store.dispatch(new ReviewsUpdate(this.review.id, this.review));\r\n }\r\n });\r\n }\r\n this.isLoading.emit(false);\r\n }\r\n\r\n cancelChecklist() {\r\n this.isChecklistEditing = false;\r\n }\r\n\r\n openChecklistTemplate(e: any, checklistTemplate?: ChecklistTemplate) {\r\n e.stopPropagation();\r\n if (checklistTemplate) {\r\n this._builder.currentTemplateType = null;\r\n const newRelativeUrl = '/checklist-builder/200';\r\n localStorage.setItem('checklistTemplateID', checklistTemplate.id.toString());\r\n this.router.navigate([newRelativeUrl]);\r\n }\r\n }\r\n\r\n openChecklist(e: any, checklist?: Checklist) {\r\n e.stopPropagation();\r\n if (checklist) {\r\n // this._checklist.currentDocument = null;\r\n const newRelativeUrl = '/checklist-exec/200';\r\n this.setOpenDocument(FormType.RCP, checklist.id);\r\n this.router.navigate([newRelativeUrl]);\r\n }\r\n }\r\n\r\n checkStatus() {\r\n return (this.review?.checklistTemplate?.status != 1)\r\n }\r\n\r\n}\r\n","
    \r\n
    Checklist Template:
    \r\n
    \r\n
    \r\n {{ review?.checklistTemplate?.serialNo }}\r\n {{\r\n templateStatus?.name\r\n }}\r\n
    \r\n
    \r\n \r\n \r\n Checklist Template\r\n \r\n \r\n \r\n {{ checklistTemplate.serialNo }}\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n edit\r\n \r\n \r\n \r\n save\r\n \r\n \r\n cancel\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    Checklist:
    \r\n
    \r\n
    \r\n {{ review?.checklist?.name }}\r\n {{ review?.checklist?.checklistStatus?.name }}\r\n
    \r\n\r\n
    \r\n \r\n \r\n Checklists\r\n \r\n \r\n \r\n {{ checklist.name }}\r\n {{ checklist.checklistStatus?.name }}\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n save\r\n \r\n \r\n cancel\r\n \r\n \r\n
    \r\n
    \r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, Output, EventEmitter, OnDestroy, Injector } from '@angular/core';\r\nimport { Review, ReviewType, ReviewCycle, ReviewTypesEnum, ReviewActionItem } from '../../reviews.models';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewsUpdate } from '../../store/reviews/reviews.action';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'reviews-boards-reviews',\r\n templateUrl: './reviews-boards-reviews.component.html',\r\n styleUrls: ['./reviews-boards-reviews.component.scss']\r\n})\r\nexport class ReviewsBoardsReviewsComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() reviewCycle!: ReviewCycle;\r\n @Output() selectedReview = new EventEmitter();\r\n reviewTypes!: ReviewType[];\r\n\r\n reviews!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n actionItems!: ReviewActionItem[];\r\n actionItems$!: Observable;\r\n actionItemsSubs!: Subscription;\r\n\r\n reviewCycles!: ReviewCycle[];\r\n reviewCycles$!: Observable;\r\n reviewCyclesSubs!: Subscription;\r\n\r\n reviewTypesEnum = ReviewTypesEnum;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.ngOnInit();\r\n }\r\n\r\n ngOnInit(): void {\r\n // this.loadReviewCycles();\r\n this.loadReviews();\r\n this.loadActionItems();\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n if (data.length) {\r\n this.reviews = data.filter(x => x.reviewCycleID == this.reviewCycle.id).sort((a, b) => this.utils.sort(a.reviewDate, b.reviewDate, true));\r\n }\r\n this.reviewTypes = [];\r\n this.reviews?.filter(r => !r.reviewCycle).map(r => r.reviewCycle = this.reviewCycle);\r\n\r\n // this.reviews?.map(x => x.reviewType).sort((a, b) => a.order - b.order).map(r => {\r\n // if (!this.reviewTypes.map(x => x.id).includes(r.id)) {\r\n // this.reviewTypes.push(r);\r\n // }\r\n // });\r\n this.reviews?.map(x => x.reviewType).map(r => {\r\n if (!this.reviewTypes.map(x => x.id).includes(r.id)) {\r\n this.reviewTypes.push(r);\r\n }\r\n });\r\n\r\n });\r\n }\r\n\r\n loadActionItems() {\r\n this.actionItems$ = this.store.select(state => state.ReviewActionItems.data);\r\n this.actionItemsSubs = this.actionItems$.subscribe(data => {\r\n this.actionItems = data;\r\n });\r\n }\r\n\r\n getReviews(reviewType: ReviewType) {\r\n return this.reviews?.filter(x => x.reviewTypeID == reviewType?.id);\r\n }\r\n\r\n getReviewDetails(review?: Review) {\r\n setTimeout(async () => {\r\n if (review) review = await this.service.getReviewById(review.id).toPromise();\r\n if (review) this.store.dispatch(new ReviewsUpdate(review.id, review));\r\n this.selectedReview.emit(review);\r\n this.scrollToTop('sidenav-content');\r\n }, 100);\r\n }\r\n\r\n getClass(color?: string) {\r\n return color + '-background';\r\n }\r\n\r\n getActionItems(review: Review, isStopper: boolean) {\r\n let result = 0;\r\n review.reviewActionItems = this.actionItems.filter(a => a.reviewID == review.id);\r\n if (isStopper) {\r\n result = review.reviewActionItems?.filter(x => x.reviewActionItemType?.isStopper && x.status == 1).length;\r\n }\r\n else {\r\n result = review.reviewActionItems?.filter(x => !x.reviewActionItemType?.isStopper && x.status == 1).length;\r\n }\r\n if (result == null) {\r\n result = 0;\r\n }\r\n return result;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n \r\n \r\n {{ reviewType.name }} ({{ reviewType.code }})\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {{ review.reviewDate | date }}\r\n
    \r\n \r\n {{\r\n getActionItems(review, false)\r\n }}\r\n
    \r\n \r\n {{ getActionItems(review, true) }}\r\n
    \r\n
    \r\n
    \r\n {{ review.reviewStatus.name }}\r\n
    \r\n
    \r\n \r\n \r\n \r\n\r\n","import { Component, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, ViewChild, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { ReviewBoardType, ReviewBoard, Review, ReviewType, ReviewCycle } from '../reviews.models';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { ReviewsBoardsReviewCreateComponent } from './reviews-boards-review-create/reviews-boards-review-create.component';\r\nimport { ReviewsBoardsAddResourceComponent } from './reviews-boards-reviews/reviews-boards-add-resource/reviews-boards-add-resource.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Resource, ResourceRelation, ShutterResource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ReviewsService } from '../reviews.service';\r\nimport { ResourceType, ReviewCycleStatus } from 'src/app/common/enumerations/enumerations';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { ResourcesService } from '../../catalogs/beamline-catalog/resource/resources.service';\r\nimport { KEService } from '../../kenable/ke.service';\r\n\r\nconst ELEMENT_DATA: any[] = [];\r\n\r\n@Component({\r\n selector: 'reviews-boards',\r\n templateUrl: './reviews-boards.component.html',\r\n styleUrls: ['./reviews-boards.component.scss']\r\n})\r\nexport class ReviewsBoardsComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() reviewBoardType?: ReviewBoardType;\r\n @Input() resourcesFiltered!: Resource[];\r\n @Input() showOnlyActive!: boolean;\r\n\r\n @Output() selectedReview = new EventEmitter();\r\n @Output() setLoading = new EventEmitter();\r\n\r\n @Input() review?: Review | null;\r\n reviewBoards?: ReviewBoard[];\r\n reviewBoards$!: Observable;\r\n reviewBoardsSubs!: Subscription;\r\n\r\n reviews!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n resourceRelation?: ResourceRelation;\r\n resourceRelations?: ResourceRelation[];\r\n resourceRelationsFiltered?: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n reviewCycles!: ReviewCycle[];\r\n reviewCyclesFiltered!: ReviewCycle[];\r\n reviewCycles$!: Observable;\r\n reviewCyclesSubs!: Subscription;\r\n\r\n resourceCtrl = new FormControl();\r\n branchCtrl = new FormControl();\r\n resource!: Resource | null;\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n shutter?: ShutterResource | null;\r\n branchline?: Resource | null;\r\n allShutters: ShutterResource[] = [];\r\n allBranchlines: Resource[] = [];\r\n filteredShutters: ShutterResource[] = [];\r\n filteredBranchlines: Resource[] = [];\r\n branchlines?: Resource[] | null;\r\n showbranch!: boolean;\r\n\r\n reviewRequests$!: Observable;\r\n reviewRequests!: ReviewCycle[];\r\n draftRequestsCount: number = 0;\r\n draftRequests!: ReviewCycle[];\r\n reviewRequestsFiltered!: ReviewCycle[];\r\n reviewRequest!: ReviewCycle;\r\n reviewRequestsSubs!: Subscription;\r\n moreInfo!: string;\r\n\r\n reviewTypes?: ReviewType[];\r\n createReady!: boolean;\r\n\r\n privilege = PrivilegeEnum;\r\n\r\n @ViewChild(MatPaginator)\r\n paginator!: MatPaginator;\r\n\r\n displayedColumns: string[] = ['Location'];\r\n columnDefs: any[] = [];\r\n data: any[] = ELEMENT_DATA;\r\n\r\n selectedRowIndex!: number;\r\n checked!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: ReviewsService,\r\n private resourcesService: ResourcesService,\r\n private keService: KEService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewBoardsSubs?.unsubscribe();\r\n this.reviewsSubs?.unsubscribe();\r\n this.reviewCyclesSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.service.Init();\r\n this.loadResourceRelations();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n if (this.redirect.document?.category == 3 && this.redirect.document.serialNo) {\r\n const element = document.getElementById(this.redirect.document.serialNo);\r\n this.redirect.document = null;\r\n const container = document.querySelector('.sidenav-content');\r\n if (element && container) {\r\n // Get the height of the container\r\n const containerHeight = container.clientHeight;\r\n\r\n // Get the position of the element relative to the container\r\n const elementRect = element.getBoundingClientRect();\r\n const elementTopRelativeToContainer = elementRect.top - container.getBoundingClientRect().top;\r\n\r\n // Calculate the scroll amount to center the element in the container\r\n const scrollAmount = elementTopRelativeToContainer - (containerHeight / 2) + (elementRect.height / 2);\r\n\r\n // Scroll the container by the calculated scroll amount\r\n container.scrollTop += scrollAmount;\r\n // element.scrollIntoView({ behavior: 'smooth' });\r\n }\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.reviewTypes = this.reviewBoardType?.reviewTypes?.sort((a, b) => a.order - b.order);\r\n // this.reviewBoards = this.reviewBoardType?.reviewBoards?.filter(x => x.reviewBoardTypeID == this.reviewBoardType?.id && this.resourcesFiltered?.map(r => r.id).includes(x.resourceID)).sort((a, b) => this.utils.sort(a.resource?.name?.toLowerCase(), b.resource?.name?.toLowerCase(), true));\r\n this.loadReviewBoards();\r\n this.setLoadingBar(true);\r\n this.loadReviewCycles();\r\n this.loadReviewRequests();\r\n }\r\n\r\n loadReviewRequests() {\r\n this.reviewRequests$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewRequestsSubs = this.reviewRequests$.subscribe(data => {\r\n this.reviewRequests = data.filter(x => !x.resourceID && x.status !== ReviewCycleStatus.Rejected && x.status !== ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Archived);\r\n this.draftRequests = data.filter(x => x.status == ReviewCycleStatus.Pending);\r\n this.draftRequestsCount = this.draftRequests.length;\r\n this.moreInfo = this.addMoreInfo();\r\n });\r\n }\r\n\r\n addMoreInfo(): string {\r\n let moreInfo = this.draftRequests.map(x => x.name).join(\", \");\r\n return moreInfo;\r\n }\r\n\r\n loadReviewCycles() {\r\n this.reviewCycles$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewCyclesSubs = this.reviewCycles$.subscribe(data => {\r\n if (data.length) {\r\n this.reviewCycles = data.filter(c => c.reviewBoard?.reviewBoardTypeID == this.reviewBoardType?.id || !c.reviewBoard);\r\n }\r\n this.loadReviewBoards();\r\n });\r\n }\r\n\r\n loadReviewBoards() {\r\n this.reviewBoards$ = this.store.select(state => state.ReviewBoards.data);\r\n this.reviewBoardsSubs = this.reviewBoards$.subscribe(data => {\r\n if (data?.length && this.resourcesFiltered) {\r\n this.reviewBoards = data.filter(x => x.reviewBoardTypeID == this.reviewBoardType?.id && this.resourcesFiltered?.map(r => r.id).includes(x.resourceID)).sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resource?.name, b.resource?.name, 'asc', true));\r\n if (this.showOnlyActive && this.resourcesFiltered.length != 1) {\r\n this.reviewBoards = this.reviewBoards.filter(reviewBoard => reviewBoard.reviewCycles?.some(reviewCycle => (reviewCycle.status != ReviewCycleStatus.Archived)));\r\n }\r\n this.reviewBoards.map(b => b.reviewCycles = this.reviewCycles?.filter(c => c.resourceID == b.resourceID));\r\n this.loadReviews();\r\n this.loadResources();\r\n }\r\n });\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n this.reviews = data;\r\n this.reviewBoards?.map(b => {\r\n b.reviewCycles?.map(c => {\r\n c.reviews = this.reviews.filter(r => r.reviewCycleID == c.id);\r\n });\r\n });\r\n this.setLoadingBar(false);\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length != 0) {\r\n //If BRC board, show branchlines in addition to beamlines and custom locations\r\n if (this.reviewBoardType?.id == 1)\r\n this.resources = data.filter((x) => x.type == this.resourceTypeEnum.Beamline || x.type == this.resourceTypeEnum.Branchline || x.type == ResourceType.ReviewProcessResource)\r\n .sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n else {\r\n this.resources = data.filter((x) => x.type == this.reviewBoardType?.resourceTypeID || x.type == ResourceType.ReviewProcessResource)\r\n .sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n }\r\n // this.resourcesFiltered = this.resources;\r\n this.reviewBoards?.filter(x => x.resource?.reviewRestrictedResourceID).map(x => {\r\n if (x.resource)\r\n x.resource.reviewRestrictedResource = data.find(y => y.id == x.resource?.reviewRestrictedResourceID);\r\n });\r\n this.setLoadingBar(false);\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data?.length) {\r\n this.resourceRelations = data;\r\n }\r\n });\r\n }\r\n\r\n create(reviewBoard: ReviewBoard) {\r\n const dialog = this.dialog.open(ReviewsBoardsReviewCreateComponent, {\r\n width: '30%',\r\n minWidth: '400px',\r\n data: {\r\n reviewBoard\r\n },\r\n disableClose: true,\r\n autoFocus: false\r\n });\r\n dialog.afterClosed().toPromise();\r\n }\r\n\r\n hasReviews(reviews: Review[], reviewType: ReviewType) {\r\n return reviews.filter(x => x.reviewTypeID == reviewType.id).length != 0;\r\n }\r\n\r\n reviewSelected(review: Review) {\r\n this.review = review;\r\n this.selectedReview.emit(review);\r\n }\r\n\r\n reviewUpdated(review: Review | null) {\r\n this.review = review;\r\n this.selectedReview.emit(review);\r\n }\r\n\r\n setLoadingBar(val: boolean) {\r\n this.setLoading.emit(val);\r\n }\r\n\r\n checkPrivilege(privilege: PrivilegeEnum) {\r\n return this.service.checkPrivilege(privilege, this.reviewBoardType);\r\n }\r\n\r\n edit(resource?: Resource) {\r\n const dialog = this.dialog.open(ReviewsBoardsAddResourceComponent, {\r\n width: '30%',\r\n minWidth: '400px',\r\n disableClose: true,\r\n autoFocus: false,\r\n data: {\r\n reviewBoardType: this.reviewBoardType,\r\n resource,\r\n title: 'Edit Location'\r\n }\r\n });\r\n dialog.afterClosed().toPromise().then((data: Resource) => {\r\n const index = this.resourcesFiltered.findIndex(r => r.id == data.id);\r\n if (index >= 0)\r\n this.resourcesFiltered[index] = data;\r\n const reviewBoard = this.reviewBoards?.find(b => b.resourceID == data.id);\r\n if (reviewBoard) reviewBoard.resource = data;\r\n });\r\n }\r\n\r\n delete(resource?: Resource) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Are you sure you want to Delete this Location?',\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n const reviewBoardID = this.reviewBoards?.find(x => x.resourceID == resource?.id)?.id;\r\n if (reviewBoardID)\r\n this.service.deleteReviewBoard(reviewBoardID).toPromise();\r\n }\r\n });\r\n }\r\n\r\n pendingRequests(reviewBoard: ReviewBoard, created: boolean) {\r\n let result = 0;\r\n if (reviewBoard.reviewCycles) {\r\n if (created) {\r\n result = reviewBoard.reviewCycles.filter(x => x.reviews.length > 0 && x.status !== ReviewCycleStatus.Rejected && x.status !== ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Archived).length;\r\n }\r\n else {\r\n result = reviewBoard.reviewCycles.filter(x => x.reviews.length == 0 && x.status !== ReviewCycleStatus.Rejected && x.status !== ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Archived).length;\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n pendingCustom() {\r\n let result = 0;\r\n result = this.reviewRequests.length;\r\n return result;\r\n }\r\n\r\n showLabel() {\r\n //get width of locDiv\r\n const locDiv = $(\"#locDiv\").width();\r\n return locDiv ? +locDiv > 190 : false;\r\n }\r\n\r\n shutterExists(reviewBoard: ReviewBoard) {\r\n if (this.resourceRelations?.find(x => x.childResourceID == reviewBoard.resourceID && (x.parentResourceType == this.resourceTypeEnum.Shutter))?.parentResourceID) {\r\n return true;\r\n }\r\n else if (this.resources?.find(x => x.id == reviewBoard.resourceID)?.type == this.resourceTypeEnum.Branchline) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n sliderChanged(e: any, reviewBoard: ReviewBoard) {\r\n if (reviewBoard.resource) {\r\n reviewBoard.resource.keRestricted = e.checked;\r\n if (reviewBoard.resource.keRestricted) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('BRC_KE_Restrict')?.description.replace('{location}', reviewBoard?.resource?.name ?? '')\r\n }\r\n });\r\n confirm.afterClosed().subscribe(async data => {\r\n if (data) {\r\n if (reviewBoard.resource) {\r\n this.setLoadingBar(true);\r\n if (reviewBoard.resource.type == this.resourceTypeEnum.Beamline) {\r\n reviewBoard.resource.reviewRestrictedResourceID = this.resourceRelations?.find(x => x.childResourceID == reviewBoard.resourceID && x.parentResourceType == this.resourceTypeEnum.Shutter)?.parentResourceID;\r\n reviewBoard.resource.reviewRestrictedResource = this.resources.find(x => x.id == reviewBoard.resource?.reviewRestrictedResourceID);\r\n }\r\n else if (reviewBoard.resource.type == this.resourceTypeEnum.Branchline) {\r\n reviewBoard.resource.reviewRestrictedResourceID = reviewBoard.resourceID;\r\n reviewBoard.resource.reviewRestrictedResource = this.resources.find(x => x.id == reviewBoard.resource?.reviewRestrictedResourceID);\r\n }\r\n await this.resourcesService.saveResource(reviewBoard.resource).toPromise();\r\n if (reviewBoard.resource.reviewRestrictedResourceID)\r\n await this.keService.processKES([reviewBoard.resource.reviewRestrictedResourceID]);\r\n this.setLoadingBar(false);\r\n }\r\n }\r\n else {\r\n if (reviewBoard.resource) {\r\n reviewBoard.resource.keRestricted = !reviewBoard.resource.keRestricted;\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('BRC_KE_Unrestrict')?.description.replace('{location}', reviewBoard?.resource?.name ?? '')\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(async data => {\r\n if (data) {\r\n if (reviewBoard.resource) {\r\n this.setLoadingBar(true);\r\n if (reviewBoard.resource.reviewRestrictedResourceID)\r\n await this.keService.processKES([reviewBoard.resource.reviewRestrictedResourceID]);\r\n reviewBoard.resource.reviewRestrictedResourceID = 0;\r\n await this.resourcesService.saveResource(reviewBoard.resource).toPromise();\r\n this.setLoadingBar(false);\r\n }\r\n }\r\n else {\r\n if (reviewBoard.resource) reviewBoard.resource.keRestricted = !reviewBoard.resource.keRestricted;\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n changedResource(e: any) {\r\n const val = e.target.value as string;\r\n this.resourcesFiltered = this.resources.filter((x) => x.name?.toLowerCase().includes(val.toLowerCase()));\r\n this.resource = null;\r\n }\r\n\r\n selectedResource(e: any) {\r\n this.resource = e.option.value;\r\n if (this.resource)\r\n this.resourcesFiltered = [this.resource];\r\n }\r\n\r\n clearFilter() {\r\n this.resource = null;\r\n this.resourceCtrl.setValue(this.resource);\r\n this.resourcesFiltered = this.resources;\r\n }\r\n\r\n clearShutter() {\r\n this.shutter = null;\r\n this.filteredShutters = this.allShutters;\r\n this.showbranch = false;\r\n this.clearBranch();\r\n }\r\n\r\n clearBranch() {\r\n this.branchline = null;\r\n this.branchCtrl.setValue(this.branchline);\r\n this.filteredBranchlines = this.allBranchlines;\r\n }\r\n\r\n onLocChange(e: any) {\r\n if (!e.code?.includes('Arrow')) {\r\n this.filteredShutters = this.allShutters.filter(loc => loc.name.toLowerCase().includes(e.target.value.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n selectedLoc(event: MatAutocompleteSelectedEvent, reviewBoard: ReviewBoard) {\r\n this.shutter = event.option.value;\r\n if (this.shutter) {\r\n this.filteredShutters = [this.shutter];\r\n this.showbranch = true;\r\n }\r\n }\r\n\r\n selectedBranch(e: any) {\r\n this.branchline = e.option.value;\r\n if (this.branchline)\r\n this.filteredBranchlines = [this.branchline];\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n {{ reviewBoard.resource?.name }}
    \r\n {{ reviewBoard.resource?.description }}\r\n
    \r\n
    \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n
    \r\n
    \r\n \r\n \r\n add_box\r\n Create Review\r\n \r\n \r\n add_box\r\n \r\n
    \r\n \r\n {{ pendingRequests(reviewBoard, true) }}\r\n \r\n \r\n {{ pendingRequests(reviewBoard, false) }}\r\n \r\n \r\n {{ pendingCustom() }}\r\n \r\n
    \r\n
    \r\n\r\n \r\n \r\n Restrict Key Enable\r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n {{ branchline.name }}\r\n \r\n \r\n search\r\n close\r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n\r\n \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ReviewCycle } from '../../reviews.models';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { TooltipComponent } from '@angular/material/tooltip';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ReviewCycleStatus } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'review-index-table',\r\n templateUrl: './review-index-table.component.html',\r\n styleUrls: ['./review-index-table.component.scss']\r\n})\r\nexport class ReviewIndexTableComponent extends BaseComponent implements OnInit {\r\n\r\n @Input() reviewBoardTypeID!: number;\r\n @Input() visible!: boolean;\r\n @Input() showNotArchived!: boolean;\r\n @Output() reviewCycleSelected = new EventEmitter();\r\n\r\n filter!: string;\r\n selectedRowIndex!: number;\r\n\r\n dataSource!: MatTableDataSource;\r\n public displayedColumns: string[] = [\r\n 'serialNo',\r\n 'locationNames',\r\n 'date',\r\n ];\r\n\r\n reviewCycle?: ReviewCycle;\r\n reviewCycles!: ReviewCycle[];\r\n reviewCyclesFiltered!: ReviewCycle[];\r\n reviewCycles$!: Observable;\r\n reviewCyclesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewCyclesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // if (this.service.currentDocument) { this.service.loading = true; }\r\n this.loadReviewCycles();\r\n }\r\n\r\n ngOnInit() {\r\n try {\r\n Object.defineProperty(TooltipComponent.prototype, 'message', {\r\n set(v: any) {\r\n const el = document.querySelectorAll('.mat-tooltip');\r\n if (el)\r\n el[el.length - 1].innerHTML = v;\r\n },\r\n });\r\n }\r\n catch { }\r\n }\r\n\r\n loadReviewCycles() {\r\n this.reviewCycles$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewCyclesSubs = this.reviewCycles$.subscribe(data => {\r\n if (data.length) {\r\n this.reviewCycles = data.filter(c => c.reviewBoard?.reviewBoardTypeID == this.reviewBoardTypeID).sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n if (this.showNotArchived) {\r\n this.reviewCycles = this.reviewCycles.filter(reviewCycle => reviewCycle.status != ReviewCycleStatus.Archived)\r\n }\r\n this.dataSource = new MatTableDataSource(this.reviewCycles);\r\n // if (this.service.currentDocument) {\r\n // this.reviewCycle = this.reviewCycles.find(r => r.serialNo == this.service.currentDocument?.serialNo);\r\n // this.service.currentDocument = null;\r\n // this.rowClicked(this.reviewCycle);\r\n // }\r\n }\r\n });\r\n }\r\n\r\n rowClicked(row?: ReviewCycle) {\r\n this.reviewCycle = row;\r\n this.reviewCycleSelected.emit(row);\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex((r) => {\r\n return r.id === row.id;\r\n });\r\n return i;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n \r\n \r\n Serial No.\r\n \r\n \r\n edit\r\n \r\n \r\n\r\n \r\n \r\n Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Date\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { Review, ReviewBoard, ReviewCycle } from '../reviews.models';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'reviews-index',\r\n templateUrl: './reviews-index.component.html',\r\n styleUrls: ['./reviews-index.component.scss']\r\n})\r\nexport class ReviewsIndexComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() reviewBoardTypeID!: number;\r\n @Input() visible!: boolean;\r\n @Input() reviewCycle?: ReviewCycle;\r\n @Output() reviewSelected = new EventEmitter();\r\n\r\n reviewCycles!: ReviewCycle[];\r\n reviewCyclesFiltered!: ReviewCycle[];\r\n reviewCycles$!: Observable;\r\n reviewCyclesSubs!: Subscription;\r\n\r\n reviewBoard?: ReviewBoard;\r\n reviewBoards!: ReviewBoard[];\r\n reviewBoardsFiltered!: ReviewBoard[];\r\n reviewBoards$!: Observable;\r\n reviewBoardsSubs!: Subscription;\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewBoardsSubs?.unsubscribe();\r\n this.reviewCyclesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes?: SimpleChanges): void {\r\n this.loadReviewCycles();\r\n this.loadReviewBoards();\r\n }\r\n\r\n ngOnInit() {\r\n this.ngOnChanges();\r\n }\r\n\r\n loadReviewBoards() {\r\n this.reviewBoards$ = this.store.select(state => state.ReviewBoards.data);\r\n this.reviewBoardsSubs = this.reviewBoards$.subscribe(data => {\r\n if (data.length) {\r\n this.reviewBoards = data.filter(b => b.reviewBoardTypeID == this.reviewBoardTypeID);\r\n this.reviewBoard = this.reviewBoards.find(b => b.id == this.reviewCycle?.reviewBoardID);\r\n if (this.reviewBoard)\r\n this.reviewBoard.reviewCycles = this.reviewCycles?.filter(c => c.id == this.reviewCycle?.id);\r\n }\r\n });\r\n }\r\n\r\n loadReviewCycles() {\r\n this.reviewCycles$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewCyclesSubs = this.reviewCycles$.subscribe(data => {\r\n if (data.length)\r\n this.reviewCycles = data.filter(c => c.id == this.reviewCycle?.id);\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n{{\r\n reviewCycle?.serialNo\r\n}}\r\n","import { Component, Inject, Injector, OnInit } from \"@angular/core\";\r\nimport { AbstractControl, FormBuilder, FormControl, FormGroup, Validators, } from \"@angular/forms\";\r\nimport { MatDialog, MatDialogRef, MAT_DIALOG_DATA, } from \"@angular/material/dialog\";\r\nimport moment from \"moment\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { ReviewCycleStatus, ResourceType, StatusType } from \"src/app/common/enumerations/enumerations\";\r\nimport { PendingChangesDialogComponent } from \"src/app/controls/pending-changes-dialog/pending-changes-dialog.component\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { ReviewCycle } from \"../../reviews.models\";\r\nimport { ReviewsService } from \"../../reviews.service\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { CanDeactivateResponse } from \"src/app/controls/pending-changes-dialog/pending-changes-dialog-response\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\n\r\n@Component({\r\n selector: \"app-review-request\",\r\n templateUrl: \"./review-request.component.html\",\r\n styleUrls: [\"./review-request.component.scss\"],\r\n})\r\nexport class ReviewRequestComponent extends BaseComponent implements OnInit {\r\n reviewCycle!: ReviewCycle;\r\n reviewCycleStatus = ReviewCycleStatus;\r\n\r\n static key = \"ReviewRequestComponent\";\r\n\r\n public hasError!: boolean;\r\n\r\n resource!: Resource | null;\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n resourcesFiltered!: Resource[];\r\n todaysDate!: Date;\r\n loading!: boolean;\r\n\r\n reviewRequestForm!: FormGroup;\r\n customLocationText?: string | null;\r\n public get resourceCtrl(): AbstractControl | null {\r\n return this.reviewRequestForm.get(\"resourceCtrl\");\r\n }\r\n public get dateCtrl(): AbstractControl | null {\r\n return this.reviewRequestForm.get(\"dateCtrl\");\r\n }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public inputData: {\r\n reviewCycle: ReviewCycle;\r\n isEvaluate: boolean;\r\n },\r\n private reviewsService: ReviewsService,\r\n ) {\r\n super(injector);\r\n\r\n this.reviewsService.Init();\r\n }\r\n\r\n ngOnInit() {\r\n // if (!this.reviewsService.checkPrivilege(PrivilegeEnum.CreateReviewRequest)) {\r\n // this.alert.message(\"NoEnoughPrivileges\");\r\n // this.dialogRef.close();\r\n // }\r\n this.initializeForm();\r\n if (!this.inputData) {\r\n this.inputData = { reviewCycle: {} as ReviewCycle, isEvaluate: false };\r\n } else {\r\n this.reviewCycle = this.inputData.reviewCycle;\r\n this.dateCtrl?.setValue(this.reviewCycle.proposedTimeline);\r\n this.disableForm();\r\n }\r\n this.todaysDate = new Date();\r\n this.loadResources();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data?.length !== 0) {\r\n this.resources = data\r\n .filter(\r\n (x) =>\r\n x.type === ResourceType.Accelerator ||\r\n x.type === ResourceType.Beamline ||\r\n x.type === ResourceType.ReviewProcessResource ||\r\n x.type === ResourceType.Branchline\r\n )\r\n .sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n\r\n this.resourcesFiltered = this.resources;\r\n\r\n // Check if the reviewCycle.resourceID is null\r\n if (!this.reviewCycle?.resourceID) {\r\n this.customLocationText = this.reviewCycle?.location; // Set the custom location text\r\n this.resourceCtrl?.setValue(this.customLocationText);\r\n } else {\r\n this.resourceCtrl?.setValue(\r\n this.resources.find((x) => x.id === this.reviewCycle?.resourceID)\r\n );\r\n }\r\n }\r\n });\r\n }\r\n\r\n override displayObject(e: any) {\r\n return e ? e.name ? e.name : e : null;\r\n }\r\n\r\n changedResource(e: any): void {\r\n // Find the selected resource in the existing options\r\n const value = e.target.value;\r\n this.resourcesFiltered = this.resources.filter(\r\n (resource) => resource.name?.toLowerCase().includes(value.toLowerCase())\r\n );\r\n\r\n const selectedResource = this.resourcesFiltered.find(\r\n (resource) => resource.name?.toLowerCase() === value.toLowerCase()\r\n );\r\n\r\n if (selectedResource) {\r\n this.resource = selectedResource;\r\n this.customLocationText = \"\";\r\n this.inputData.reviewCycle.location = this.resource.name;\r\n this.inputData.reviewCycle.resourceID = this.resource.id;\r\n } else {\r\n this.resource = null; // Clear the selected resource\r\n this.customLocationText = value; // Set the custom location text\r\n this.inputData.reviewCycle.location = value;\r\n this.inputData.reviewCycle.resourceID = null;\r\n }\r\n }\r\n\r\n selectedResource(e: any) {\r\n this.resource = e.option.value;\r\n this.inputData.reviewCycle.location = this.resource?.name;\r\n this.inputData.reviewCycle.resourceID = this.resource?.id;\r\n }\r\n\r\n\r\n formValid() {\r\n const estimatedInitOn = moment(this.dateCtrl?.value);\r\n const dateWithTime = moment(new Date());\r\n const dateWithoutTime = dateWithTime.startOf(\"day\");\r\n if (\r\n !estimatedInitOn.isValid() ||\r\n estimatedInitOn.isBefore(dateWithoutTime) ||\r\n this.dateCtrl?.status == \"INVALID\"\r\n ) {\r\n this.dateCtrl?.setErrors({ invalidDate: true });\r\n this.dateCtrl?.markAsTouched();\r\n } else {\r\n this.dateCtrl?.setErrors(null);\r\n }\r\n if (\r\n this.resource == null &&\r\n (this.customLocationText == null || this.customLocationText.length == 0)\r\n ) {\r\n this.resourceCtrl?.setErrors({ invalidResource: true });\r\n } else {\r\n this.resourceCtrl?.setErrors(null);\r\n }\r\n return this.reviewRequestForm.valid;\r\n }\r\n\r\n submit() {\r\n if (\r\n this.reviewRequestForm.valid &&\r\n this.inputData.reviewCycle.description\r\n ) {\r\n this.disableForm();\r\n if (this.inputData.reviewCycle.id) {\r\n this.reviewsService.updateReviewCycle(this.inputData.reviewCycle).toPromise().then((reviewCycleCreated) => {\r\n if (reviewCycleCreated) {\r\n this.inputData.reviewCycle = reviewCycleCreated;\r\n this.reviewsService.sendReviewCycleEmail(reviewCycleCreated).toPromise();\r\n this.dialogRef.close();\r\n }\r\n });\r\n }\r\n else {\r\n this.reviewsService.createReviewCycle(this.inputData.reviewCycle).toPromise().then((reviewCycleCreated) => {\r\n if (reviewCycleCreated) {\r\n this.inputData.reviewCycle = reviewCycleCreated;\r\n this.reviewsService.sendReviewCycleEmail(reviewCycleCreated).toPromise();\r\n this.dialogRef.close();\r\n }\r\n });\r\n }\r\n } else {\r\n this.hasError = true;\r\n }\r\n }\r\n\r\n acceptAndReject(isAccepted: boolean) {\r\n if (this.inputData.reviewCycle.id) {\r\n this.inputData.reviewCycle.status = isAccepted\r\n ? ReviewCycleStatus.Approved\r\n : ReviewCycleStatus.Rejected;\r\n this.reviewsService\r\n .updateReviewCycle(this.inputData.reviewCycle)\r\n .toPromise()\r\n .then((reviewCycleUpdated) => {\r\n this.dialogRef.close();\r\n });\r\n }\r\n }\r\n\r\n edit() {\r\n this.reviewRequestForm.enable();\r\n this.inputData.isEvaluate = false;\r\n if (this.reviewCycle.resource) this.resource = this.reviewCycle.resource;\r\n }\r\n\r\n sendToPending() {\r\n if (this.inputData.reviewCycle.id) {\r\n this.inputData.reviewCycle.status = ReviewCycleStatus.Pending;\r\n this.reviewsService\r\n .updateReviewCycle(this.inputData.reviewCycle)\r\n .toPromise()\r\n .then((reviewCycleUpdated) => {\r\n this.dialogRef.close();\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n if (this.reviewRequestForm.dirty) {\r\n const confirmation = this.dialog.open(PendingChangesDialogComponent, {\r\n width: \"40%\",\r\n data: {},\r\n });\r\n confirmation.afterClosed().toPromise().then((response: CanDeactivateResponse) => {\r\n if (response === CanDeactivateResponse.Discard) {\r\n this.dialogRef.close();\r\n }\r\n });\r\n } else {\r\n this.dialogRef.close();\r\n }\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n descriptionChanged(description: string) {\r\n this.inputData.reviewCycle.description = description;\r\n }\r\n\r\n initializeForm() {\r\n this.reviewRequestForm = this.formBuilder.group({\r\n resourceCtrl: [\r\n { value: \"\" },\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n dateCtrl: [\r\n { value: \"\" },\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n });\r\n }\r\n\r\n disableForm() {\r\n this.reviewRequestForm.disable();\r\n }\r\n\r\n // getErrorMsg(control: AbstractControl): string {\r\n // if (control.hasError(\"required\")) {\r\n // return \"You must enter a value\";\r\n // }\r\n // return null;\r\n // }\r\n\r\n archive() {\r\n if (this.inputData.reviewCycle.reviews.some(r => r.reviewStatus.type != StatusType.Canceled && r.reviewStatus.type != StatusType.Closed)) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage(\"ArchiveCycle\").description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(res => {\r\n if (res) this.archiveCycle();\r\n });\r\n }\r\n else this.archiveCycle();\r\n }\r\n\r\n archiveCycle() {\r\n if (this.inputData.reviewCycle.id) {\r\n this.loading = true;\r\n this.inputData.reviewCycle.status = ReviewCycleStatus.Archived;\r\n this.reviewsService\r\n .updateReviewCycle(this.inputData.reviewCycle)\r\n .toPromise()\r\n .then(() => {\r\n this.dialogRef.close();\r\n this.loading = false;\r\n });\r\n }\r\n }\r\n\r\n reActivate() {\r\n if (this.inputData.reviewCycle.id) {\r\n this.loading = true;\r\n this.inputData.reviewCycle.status = ReviewCycleStatus.Approved;\r\n this.reviewsService\r\n .updateReviewCycle(this.inputData.reviewCycle)\r\n .toPromise()\r\n .then((reviewCycleUpdated) => {\r\n this.dialogRef.close();\r\n this.loading = false;\r\n });\r\n }\r\n }\r\n\r\n changedDate(e: any) {\r\n this.inputData.reviewCycle.proposedTimeline = e.value;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n close\r\n \r\n\r\n
    Review Request
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n Location \r\n \r\n \r\n \r\n {{ resource.name }}\r\n \r\n \r\n \r\n You must enter a value\r\n \r\n \r\n
    \r\n
    \r\n \r\n Proposed Review Date\r\n \r\n \r\n \r\n \r\n You must enter a valid date\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Serial Number\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Submit\r\n \r\n
    \r\n \r\n \r\n Reject Request thumb_down_alt\r\n \r\n \r\n Accept Request check_circle_outline\r\n \r\n\r\n \r\n Edit edit\r\n \r\n\r\n \r\n Send back to Pending Requests history\r\n \r\n \r\n Archive Request archive\r\n \r\n \r\n Re-Activate Request archive\r\n \r\n
    \r\n
    \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ReviewCycle, ReviewRequestStatus } from '../../reviews.models';\r\nimport { MatDialog, MatDialogConfig } from '@angular/material/dialog';\r\nimport { Sort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Store } from '@ngxs/store';\r\nimport { ReviewRequestComponent } from '../review-request/review-request.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ReviewCyclesRefresh } from '../../store/review-cycles/review-cycles.action';\r\n\r\n@Component({\r\n selector: 'reviews-requests-table',\r\n templateUrl: './reviews-requests-table.component.html',\r\n styleUrls: ['./reviews-requests-table.component.scss']\r\n})\r\nexport class ReviewsRequestsTableComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() statuses!: ReviewRequestStatus[];\r\n @Output() loading = new EventEmitter();\r\n\r\n public reviewCycles$!: Observable;\r\n public reviewCycleSubscription!: Subscription;\r\n public reviewCycles!: ReviewCycle[];\r\n\r\n public displayedColumns: string[] = ['serialNo', 'location', 'proposedTimeline', 'requestBy', 'requestOn', 'reviews'];\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n\r\n constructor(protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n this.store.dispatch(new ReviewCyclesRefresh());\r\n }\r\n\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewCycleSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadReviewCycles();\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadReviewCycles(): void {\r\n this.loading.emit(true);\r\n let isFirstTime = false;\r\n this.reviewCycles$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewCycleSubscription = this.reviewCycles$.subscribe(reviewCycles => {\r\n this.reviewCycles = reviewCycles.sort((a, b) => this.utils.sort(a.serialNo, b.serialNo, false));\r\n this.reviewCycles.map(x => x.reviewRequestStatus = this.statuses.find(s => s.status == x.status));\r\n this.filterReviewCycles();\r\n if (isFirstTime || reviewCycles?.length) { this.loading.emit(false); }\r\n isFirstTime = true;\r\n });\r\n }\r\n\r\n filterReviewCycles() {\r\n if (this.reviewCycles?.length) {\r\n this.dataSource = new MatTableDataSource(this.reviewCycles.filter(x => this.statuses.filter(s => s.selected).map(s => s.status).includes(x.status ?? 0)));\r\n }\r\n }\r\n\r\n sortData(sort: Sort) {\r\n const dataToSort = this.utils.cloneDeep(this.dataSource.data);\r\n if (!sort.active || sort.direction === '') {\r\n this.dataSource.data = dataToSort;\r\n return;\r\n }\r\n this.dataSource.data = dataToSort.sort((a, b) => {\r\n const isAsc = sort.direction === 'asc';\r\n switch (sort.active) {\r\n case 'serialNo': return this.utils.sort(a.serialNo, b.serialNo, isAsc);\r\n case 'description': return this.utils.sort(a.description, b.description, isAsc);\r\n case 'location': return this.utils.sort(a.location, b.location, isAsc);\r\n case 'proposedTimeline': return this.utils.sort(a.proposedTimeline, b.proposedTimeline, isAsc);\r\n default: return 0;\r\n }\r\n });\r\n }\r\n\r\n reviewRequestDialog(reviewRequest: ReviewCycle) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n reviewCycle: reviewRequest,\r\n isEvaluate: true\r\n };\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ReviewRequestComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise();\r\n }\r\n\r\n}\r\n","
    \r\n \r\n \r\n \r\n Serial No.\r\n \r\n \r\n {{ element.serialNo }}\r\n \r\n \r\n\r\n \r\n \r\n Location\r\n \r\n \r\n {{ element.location }}\r\n \r\n \r\n\r\n \r\n \r\n Proposed Review Date\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Requested By\r\n \r\n \r\n {{ element.createdByUser?.name }}\r\n \r\n \r\n\r\n \r\n \r\n Requested On\r\n \r\n \r\n {{ element.createdOn | date : \"mediumDate\" }}\r\n \r\n \r\n\r\n \r\n \r\n Reviews\r\n \r\n \r\n \r\n {{ review.reviewDate | date }} - {{ review.reviewStatus.name }}\r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n","import { MatDialogConfig } from '@angular/material/dialog';\r\nimport { ReviewRequestComponent } from './review-request/review-request.component';\r\nimport { ReviewsRequestsTableComponent } from './reviews-requests-table/reviews-requests-table.component';\r\nimport { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ReviewCycleStatus } from 'src/app/common/enumerations/enumerations';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ReviewPermissionsRefresh } from '../store/review-permissions/review-permissions.action';\r\n\r\n@Component({\r\n selector: 'reviews-requests',\r\n templateUrl: './reviews-requests.component.html',\r\n styleUrls: ['./reviews-requests.component.scss']\r\n})\r\nexport class ReviewsRequestsComponent extends BaseComponent implements OnInit {\r\n\r\n\r\n createRequestPrivilege!: boolean;\r\n loading!: boolean;\r\n\r\n statuses: ReviewRequestStatus[] = [\r\n { status: ReviewCycleStatus.Pending, name: 'Pending', icon: 'new_releases', color: 'yellow', selected: true },\r\n { status: ReviewCycleStatus.Approved, name: 'Approved', icon: 'check_circle', color: 'green', selected: true },\r\n { status: ReviewCycleStatus.Rejected, name: 'Rejected', icon: 'report', color: 'red' },\r\n { status: ReviewCycleStatus.Archived, name: 'Archived', icon: 'archive', color: 'gray' },\r\n ];\r\n\r\n @ViewChild(ReviewsRequestsTableComponent)\r\n table!: ReviewsRequestsTableComponent;\r\n\r\n ngOnInit(): void {\r\n this.store.dispatch(new ReviewPermissionsRefresh());\r\n this.createRequestPrivilege = this.hasPrivilege(PrivilegeEnum.CreateReviewRequest);\r\n }\r\n\r\n filterChanged(status: ReviewRequestStatus) {\r\n const s = this.statuses.find(x => x.status == status.status);\r\n if (s)\r\n s.selected = !s.selected;\r\n this.table.loadReviewCycles();\r\n }\r\n\r\n reviewRequestDialog() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.autoFocus = false;\r\n const dialogRef = this.dialog.open(ReviewRequestComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise();\r\n }\r\n\r\n}\r\n\r\nexport class ReviewRequestStatus {\r\n status!: ReviewCycleStatus;\r\n name!: string;\r\n icon!: string;\r\n color!: string;\r\n selected?: boolean;\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Review Requests\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n New Request\r\n add_box\r\n \r\n \r\n \r\n
    \r\n \r\n Filter\r\n filter_alt\r\n \r\n \r\n \r\n {{ status.icon }}\r\n {{ status.name }}\r\n \r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n
    \r\n","import { ResourceType } from '../../../catalogs/beamline-catalog/resource/resources';\r\nimport { Component, OnInit, OnDestroy, EventEmitter, Output, ViewChild, ElementRef, Input, Injector } from '@angular/core';\r\nimport { ReviewBoardType } from '../../reviews.models';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'reviews-settings-board-types',\r\n templateUrl: './reviews-settings-board-types.component.html',\r\n styleUrls: ['./reviews-settings-board-types.component.scss']\r\n})\r\nexport class ReviewsSettingsBoardTypesComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n reviewBoardTypes!: ReviewBoardType[];\r\n reviewBoardTypes$!: Observable;\r\n reviewBoardTypesSubs!: Subscription;\r\n reviewBoardTypesFiltered!: ReviewBoardType[];\r\n\r\n resourceTypes!: ResourceType[];\r\n resourceTypes$!: Observable;\r\n resourceTypesSubs!: Subscription;\r\n resourceTypesFiltered!: ResourceType[];\r\n resouceType!: ResourceType;\r\n\r\n boardTypeCtrl = new FormControl();\r\n boardTypeNameCtrl = new FormControl();\r\n boardTypeDescriptionCtrl = new FormControl();\r\n boardTypeCodeCtrl = new FormControl();\r\n resourceTypeCtrl = new FormControl();\r\n crToggleCtrl = new FormControl();\r\n\r\n crToggle?: boolean;\r\n disabled!: boolean;\r\n isModifying = false;\r\n\r\n @Input() reviewBoardType?: ReviewBoardType | null;\r\n @Output() reviewBoardTypeSelected = new EventEmitter();\r\n\r\n @ViewChild('boardTypeNameCtrlElement')\r\n boardTypeNameCtrlElement!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewBoardTypesSubs?.unsubscribe();\r\n this.resourceTypesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n this.reviewBoardTypes$ = this.store.select(state => state.ReviewBoardTypes.data);\r\n this.reviewBoardTypesSubs = this.reviewBoardTypes$.subscribe(data => {\r\n this.reviewBoardTypes = this.utils.cloneDeep(data);\r\n if (!this.reviewBoardTypes.map(x => x.id).includes(0)) {\r\n this.reviewBoardTypes.push({ name: '[Add New]', id: 0 } as ReviewBoardType);\r\n }\r\n this.reviewBoardTypesFiltered = this.reviewBoardTypes;\r\n if (this.reviewBoardType) {\r\n this.reviewBoardType = this.reviewBoardTypes.find(x => x.id == this.reviewBoardType?.id);\r\n this.boardTypeCtrl.setValue(this.reviewBoardType);\r\n this.crToggle = this.reviewBoardType?.allowCustomResources;\r\n this.crToggleCtrl.disable();\r\n this.showDetails(this.reviewBoardType);\r\n this.reviewBoardTypeSelected.emit(this.reviewBoardType);\r\n }\r\n });\r\n this.resourceTypes$ = this.store.select(state => state.ResourceTypes.data);\r\n this.resourceTypesSubs = this.resourceTypes$.subscribe(data => {\r\n this.resourceTypes = data;\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = new FormGroup({\r\n boardTypeNameCtrl: this.boardTypeNameCtrl,\r\n boardTypeDescriptionCtrl: this.boardTypeDescriptionCtrl,\r\n boardTypeCodeCtrl: this.boardTypeCodeCtrl,\r\n resourceTypeCtrl: this.resourceTypeCtrl,\r\n crToggleCtrl: this.crToggleCtrl\r\n });\r\n this.formGroup.reset();\r\n this.formGroup.disable();\r\n }\r\n\r\n changedBoardType(e: any) {\r\n this.reviewBoardTypesFiltered = this.reviewBoardTypes?.filter(x => x.name?.toLowerCase().includes(e.target.value.toLowerCase()));\r\n }\r\n\r\n getFormattedResourceTypes(): string {\r\n const text = this.resourceTypes.filter(x => x.id == this.resourceTypeEnum.Beamline || x.id == this.resourceTypeEnum.Branchline).map(resource => resource.name).slice(0, 2).join(', ');\r\n return text;\r\n }\r\n\r\n selectedBoardType(e: any) {\r\n this.reviewBoardType = e.option.value;\r\n this.boardTypeNameCtrl.setValue(this.reviewBoardType?.id ? this.reviewBoardType?.name : null);\r\n\r\n if (this.reviewBoardType?.id) {\r\n this.showDetails(this.reviewBoardType);\r\n this.reviewBoardTypeSelected.emit(this.reviewBoardType);\r\n }\r\n else {\r\n this.reviewBoardTypeSelected.emit(this.reviewBoardType);\r\n this.formGroup.enable();\r\n this.boardTypeCtrl.disable();\r\n this.boardTypeCtrl.setValue(null);\r\n this.boardTypeNameCtrlElement.nativeElement.focus();\r\n this.showDetails(null);\r\n }\r\n }\r\n\r\n showDetails(reviewBoardType?: ReviewBoardType | null) {\r\n this.boardTypeNameCtrl.setValue(reviewBoardType?.name);\r\n this.boardTypeDescriptionCtrl.setValue(reviewBoardType?.description);\r\n this.boardTypeCodeCtrl.setValue(reviewBoardType?.code);\r\n this.resourceTypeCtrl.setValue(reviewBoardType?.resourceType);\r\n this.reviewBoardType = reviewBoardType;\r\n }\r\n\r\n changedResourceType(e: any) {\r\n this.resourceTypesFiltered = this.resourceTypes?.filter(x => x.name?.toLowerCase().includes(e.target.value.toLowerCase()));\r\n }\r\n\r\n modify() {\r\n this.isModifying = true;\r\n this.formGroup.enable();\r\n this.boardTypeCtrl.disable();\r\n }\r\n\r\n cancel() {\r\n this.isModifying = false;\r\n this.reviewBoardType = null;\r\n this.buildForm();\r\n this.boardTypeCtrl.enable();\r\n this.boardTypeCtrl.setValue(null);\r\n this.reviewBoardTypeSelected.emit(null);\r\n }\r\n\r\n formValid() {\r\n return !this.utils.isNullValue(this.boardTypeNameCtrl.value) && !this.utils.isNullValue(this.boardTypeDescriptionCtrl.value) && !this.utils.isNullValue(this.boardTypeCodeCtrl.value) && !this.utils.isNullValue(this.resourceTypeCtrl.value?.id);\r\n }\r\n\r\n save() {\r\n if (this.reviewBoardType) {\r\n this.disabled = true;\r\n this.reviewBoardType.name = this.boardTypeNameCtrl.value;\r\n this.reviewBoardType.description = this.boardTypeDescriptionCtrl.value;\r\n this.reviewBoardType.code = this.boardTypeCodeCtrl.value;\r\n this.reviewBoardType.resourceTypeID = this.resourceTypeCtrl.value.id;\r\n this.reviewBoardType.allowCustomResources = this.crToggle ?? false;\r\n if (!this.reviewBoardType.id) {\r\n this.service.createReviewBoardType(this.reviewBoardType).toPromise().then(data => {\r\n this.reviewBoardType = data;\r\n this.alert.message('ReviewBoardTypeCreated');\r\n this.disabled = false;\r\n this.formGroup.disable();\r\n this.boardTypeCtrl.enable();\r\n });\r\n }\r\n else {\r\n this.service.updateReviewBoardType(this.reviewBoardType).toPromise().then(data => {\r\n this.reviewBoardType = data;\r\n this.alert.message('ReviewBoardTypeUpdated');\r\n this.disabled = false;\r\n this.isModifying = false;\r\n this.formGroup.disable();\r\n this.boardTypeCtrl.enable();\r\n });\r\n }\r\n }\r\n }\r\n\r\n delete() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('ReviewBoardTypeDeleteConfirmation').description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data && this.reviewBoardType?.id) {\r\n this.service.deleteReviewBoardType(this.reviewBoardType.id).toPromise().then(() => {\r\n this.reviewBoardType = null;\r\n this.alert.message('ReviewBoardTypeDeleted');\r\n this.disabled = false;\r\n this.formGroup.disable();\r\n this.boardTypeCtrl.enable();\r\n this.boardTypeCtrl.setValue(null);\r\n this.buildForm();\r\n });\r\n }\r\n });\r\n }\r\n\r\n crToggleChanged(e: any) {\r\n if (this.reviewBoardType)\r\n this.reviewBoardType.allowCustomResources = e.value;\r\n this.formGroup.markAsDirty();\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n Board Type\r\n \r\n \r\n \r\n {{\r\n boardType.name\r\n }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Name\r\n \r\n \r\n
    \r\n
    \r\n \r\n Description\r\n \r\n \r\n
    \r\n
    \r\n \r\n Acronym\r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n Resource Type\r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n Resource Type\r\n \r\n \r\n \r\n {{ resourceType.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n Allow Create New Locations\r\n
    \r\n
    \r\n \r\n Delete\r\n \r\n \r\n Cancel\r\n \r\n \r\n save Save\r\n \r\n \r\n edit Modify\r\n \r\n
    \r\n
    \r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy, Injector } from '@angular/core';\r\nimport { ReviewBoardType } from '../../reviews.models';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MenuItem } from 'src/app/components/head-page/head-menu/head-menu.models';\r\nimport { HeadMenuService } from 'src/app/components/head-page/head-menu/head-menu.service';\r\nimport { MenuItemRefresh } from 'src/app/components/head-page/store/menu-item.action';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'reviews-settings-menu',\r\n templateUrl: './reviews-settings-menu.component.html',\r\n styleUrls: ['./reviews-settings-menu.component.scss']\r\n})\r\nexport class ReviewsSettingsMenuComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input()\r\n reviewBoardType!: ReviewBoardType | null;\r\n\r\n menuItems!: MenuItem[];\r\n menuItems$!: Observable;\r\n menuItemSubs!: Subscription;\r\n menuItem?: MenuItem;\r\n\r\n menuMessage!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private menu: HeadMenuService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.menuItemSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadMenuItems();\r\n }\r\n\r\n loadMenuItems() {\r\n this.menuItems$ = this.store.select(state => state.MenuItem.data);\r\n this.menuItemSubs = this.menuItems$.subscribe(data => {\r\n this.menuItems = data;\r\n this.showButton();\r\n this.getMenuMessage();\r\n });\r\n }\r\n\r\n getMenuMessage() {\r\n if (!this.menuItem) {\r\n this.menuMessage = this.getMessage('CreateReviewMenuItem').description.replace('{reviewBoardTypeName}', '' + this.reviewBoardType?.name + '');\r\n }\r\n else {\r\n this.menuMessage = this.getMessage('RemoveReviewMenuItem').description.replace('{reviewBoardTypeName}', '' + this.reviewBoardType?.name + '');\r\n }\r\n return this.menuMessage;\r\n }\r\n\r\n showButton() {\r\n if (this.menuItems.length) {\r\n this.menuItem = this.menuItems.find(x => x.route == 'reviews/' + this.reviewBoardType?.id);\r\n }\r\n return this.menuItem != null;\r\n }\r\n\r\n add() {\r\n const menuItem = {\r\n id: 0,\r\n route: 'reviews/' + this.reviewBoardType?.id,\r\n name: this.reviewBoardType?.name,\r\n description: this.reviewBoardType?.description,\r\n code: this.reviewBoardType?.code,\r\n type: 1,\r\n order: 99,\r\n status: 1,\r\n menuValidation: 0,\r\n parentMenuItemID: 9,\r\n } as MenuItem;\r\n this.menu.createMenu(menuItem).toPromise().then(data => {\r\n this.store.dispatch(new MenuItemRefresh());\r\n this.alert.message('ReviewMenuItemCreated', [{ placeholder: '{reviewBoardTypeName}', value: this.reviewBoardType?.name }]);\r\n });\r\n }\r\n\r\n del() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('ReviewMenuItemDeleteConfirmation').description.replace('{reviewBoardTypeName}', this.reviewBoardType?.name ?? ''),\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(() => {\r\n if (this.menuItem?.id)\r\n this.menu.deleteMenu(this.menuItem.id).toPromise().then(() => {\r\n this.store.dispatch(new MenuItemRefresh());\r\n this.alert.message('ReviewMenuItemRemoved', [{ placeholder: '{reviewBoardTypeName}', value: this.reviewBoardType?.name }]);\r\n });\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n \r\n \r\n \r\n delete_outline Remove\r\n \r\n
    \r\n","import { Component, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Store } from '@ngxs/store';\r\nimport { COMMA, ENTER } from '@angular/cdk/keycodes';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { Observable } from 'rxjs';\r\nimport { RolePrivilegeService } from 'src/app/services/role-privilege/role-privilege.service';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { ReviewPermission } from '../../../reviews.models';\r\nimport { ReviewPermissionsRefresh } from '../../../store/review-permissions/review-permissions.action';\r\n\r\n@Component({\r\n selector: 'reviews-settings-permissions-roles',\r\n templateUrl: './reviews-settings-permissions-roles.component.html',\r\n styleUrls: ['./reviews-settings-permissions-roles.component.scss']\r\n})\r\nexport class ReviewsSettingsPermissionsRolesComponent implements OnInit, OnDestroy {\r\n\r\n @Input() reviewPermission!: ReviewPermission;\r\n\r\n separatorKeysCodes: number[] = [ENTER, COMMA];\r\n\r\n roles!: Role[];\r\n rolesFiltered!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n roleCtrl = new FormControl();\r\n\r\n formGroup!: FormGroup;\r\n\r\n reviewPermissions$!: Observable;\r\n reviewPermissionsSubs!: Subscription;\r\n\r\n rolePermissions!: Role[];\r\n roleTemp: any;\r\n\r\n constructor(\r\n private store: Store,\r\n private service: RolePrivilegeService\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n this.reviewPermissionsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n this.loadRoles();\r\n this.loadReviewPermissions();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = new FormGroup({\r\n roleCtrl: this.roleCtrl\r\n });\r\n }\r\n\r\n loadReviewPermissions() {\r\n this.reviewPermissions$ = this.store.select(state => state.ReviewPermissions.data);\r\n this.reviewPermissionsSubs = this.reviewPermissions$.subscribe(data => {\r\n const reviewPermission = data.find(x => x.id == this.reviewPermission.id);\r\n if (reviewPermission)\r\n this.reviewPermission = reviewPermission;\r\n this.reviewPermission.rolePrivileges.map(p => {\r\n p.role = this.roles.find(r => r.id == p.roleID) as Role;\r\n })\r\n this.rolePermissions = this.reviewPermission.rolePrivileges.filter(x => x.type == this.reviewPermission.reviewBoardTypeID).map(x => x.role) ?? [];\r\n this.filterRoles();\r\n });\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n this.filterRoles();\r\n });\r\n }\r\n\r\n filterRoles() {\r\n this.rolesFiltered = this.roles?.filter(x => !this.rolePermissions?.map(r => r.id).includes(x.id));\r\n }\r\n\r\n roleChanged(e: string) {\r\n this.filterRoles();\r\n this.rolesFiltered = this.rolesFiltered.filter(x => x.name?.toLowerCase().includes(e.toLowerCase()) || x.code?.toLowerCase().includes(e.toLowerCase()));\r\n }\r\n\r\n selectedRole(role: Role) {\r\n if (this.reviewPermission.rolePrivileges == null) { this.reviewPermission.rolePrivileges = []; }\r\n const rolePrivilege = {\r\n id: 0,\r\n roleID: role.id,\r\n privilege: this.reviewPermission.privilege,\r\n type: this.reviewPermission.reviewBoardTypeID\r\n } as RolePrivilege;\r\n // this.rolePermissions.push(role);\r\n this.service.createRolePrivilege(rolePrivilege).toPromise().then(data => {\r\n this.store.dispatch(new ReviewPermissionsRefresh());\r\n });\r\n }\r\n\r\n clearInputValue(event: MatChipInputEvent) {\r\n const input = event.input;\r\n if (input) {\r\n input.value = '';\r\n }\r\n }\r\n\r\n removeRole(role: Role) {\r\n // const index = this.rolePermissions.findIndex(x => x.id == role.id);\r\n // this.rolePermissions.splice(index, 1);\r\n const rolePrivilege = this.reviewPermission.rolePrivileges.find(x => x.roleID == role.id);\r\n if (rolePrivilege?.id)\r\n this.service.deleteRolePrivilege(rolePrivilege.id).toPromise().then(() => {\r\n this.store.dispatch(new ReviewPermissionsRefresh());\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n
    \r\n
    \r\n","import { COMMA, ENTER } from '@angular/cdk/keycodes';\r\nimport { Component, Input, OnInit, OnDestroy } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { ReviewPermission, ReviewStatusPermission, ReviewStatus, ReviewBoardType } from '../../../reviews.models';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { ReviewsService } from '../../../reviews.service';\r\nimport { ReviewPermissionsRefresh } from '../../../store/review-permissions/review-permissions.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'reviews-settings-permissions-status',\r\n templateUrl: './reviews-settings-permissions-status.component.html',\r\n styleUrls: ['./reviews-settings-permissions-status.component.scss']\r\n})\r\nexport class ReviewsSettingsPermissionsStatusComponent implements OnInit, OnDestroy {\r\n\r\n @Input() reviewPermission?: ReviewPermission;\r\n @Input()\r\n reviewBoardType!: ReviewBoardType;\r\n\r\n separatorKeysCodes: number[] = [ENTER, COMMA];\r\n\r\n formGroup!: FormGroup;\r\n statusCtrl = new FormControl();\r\n\r\n statusPermissions?: ReviewStatusPermission[];\r\n\r\n reviewPermissions$!: Observable;\r\n reviewPermissionsSubs!: Subscription;\r\n\r\n reviewStatuses!: ReviewStatus[];\r\n reviewStatusesFiltered!: ReviewStatus[];\r\n reviewStatuses$!: Observable;\r\n reviewStatusesSubs!: Subscription;\r\n\r\n statusTemp: any;\r\n\r\n constructor(\r\n private store: Store,\r\n private service: ReviewsService\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.reviewStatusesSubs?.unsubscribe();\r\n this.reviewPermissionsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n this.loadReviewPermissions();\r\n this.loadStatuses();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = new FormGroup({\r\n statusCtrl: this.statusCtrl\r\n });\r\n }\r\n\r\n loadReviewPermissions() {\r\n this.reviewPermissions$ = this.store.select(state => state.ReviewPermissions.data);\r\n this.reviewPermissionsSubs = this.reviewPermissions$.subscribe(data => {\r\n this.reviewPermission = data.find(x => x.id == this.reviewPermission?.id);\r\n this.statusPermissions = this.reviewPermission?.reviewStatusPermissions;\r\n this.filterStatuses();\r\n });\r\n }\r\n\r\n loadStatuses() {\r\n this.reviewStatuses$ = this.store.select(state => state.ReviewStatus.data);\r\n this.reviewStatusesSubs = this.reviewStatuses$.subscribe(data => {\r\n this.reviewStatuses = data.filter(x => x.reviewBoardTypeID == this.reviewBoardType.id);\r\n this.filterStatuses();\r\n });\r\n }\r\n\r\n filterStatuses() {\r\n this.reviewStatusesFiltered = this.reviewStatuses?.filter(x => !this.statusPermissions?.map(s => s.reviewStatusID).includes(x.id));\r\n }\r\n\r\n statusChanged(e: any) {\r\n const text = e.target.value;\r\n this.filterStatuses();\r\n this.reviewStatusesFiltered = this.reviewStatusesFiltered.filter(x => x.name?.toLowerCase().includes(text.toLowerCase()) || x.code?.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n selectedStatus(event: MatAutocompleteSelectedEvent) {\r\n if (this.reviewPermission && !this.reviewPermission?.reviewStatusPermissions) { this.reviewPermission.reviewStatusPermissions = []; }\r\n const status: ReviewStatus = event.option.value;\r\n const statusPermission = {\r\n id: 0,\r\n name: status.name,\r\n reviewStatus: status,\r\n privilege: this.reviewPermission?.privilege,\r\n reviewStatusID: status.id,\r\n reviewPermissionID: this.reviewPermission?.id\r\n } as ReviewStatusPermission;\r\n this.statusPermissions?.push(statusPermission);\r\n this.service.createReviewStatusPermission(utils.Serialize(statusPermission)).toPromise().then(() => {\r\n this.store.dispatch(new ReviewPermissionsRefresh());\r\n });\r\n }\r\n\r\n clearInputValue(event: MatChipInputEvent) {\r\n const input = event.input;\r\n if (input) {\r\n input.value = '';\r\n }\r\n }\r\n\r\n getClass(statusPermission: ReviewStatusPermission) {\r\n return statusPermission.reviewStatus?.color + '-background';\r\n }\r\n\r\n removeStatus(statusPermission: ReviewStatusPermission) {\r\n const index = this.statusPermissions?.findIndex(x => x.id == statusPermission.id) ?? -1;\r\n if (index >= 0)\r\n this.statusPermissions?.splice(index, 1);\r\n this.service.deleteReviewStatusPermission(statusPermission.id).toPromise().then(() => {\r\n this.store.dispatch(new ReviewPermissionsRefresh());\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n Statuses\r\n \r\n \r\n {{ status.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ status.name }}\r\n \r\n \r\n You must choose at least one Status\r\n \r\n
    \r\n
    \r\n","import { Component, Input, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { ReviewBoardType, ReviewPermission } from '../../reviews.models';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\n@Component({\r\n selector: 'reviews-settings-permissions',\r\n templateUrl: './reviews-settings-permissions.component.html',\r\n styleUrls: ['./reviews-settings-permissions.component.scss']\r\n})\r\nexport class ReviewsSettingsPermissionsComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() reviewBoardType!: ReviewBoardType;\r\n\r\n reviewPermissions!: ReviewPermission[];\r\n reviewPermissions$!: Observable;\r\n reviewPermissionsSubs!: Subscription;\r\n\r\n constructor(\r\n private store: Store\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadReviewPermissions();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.reviewPermissionsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadReviewPermissions();\r\n }\r\n\r\n loadReviewPermissions() {\r\n this.reviewPermissions$ = this.store.select(state => state.ReviewPermissions.data);\r\n this.reviewPermissionsSubs = this.reviewPermissions$.subscribe(data => {\r\n this.reviewPermissions = data.filter(x => x.reviewBoardTypeID == this.reviewBoardType.id);\r\n });\r\n }\r\n\r\n}\r\n","\r\n \r\n {{ reviewPermission.name }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n","import { Component, Inject, OnInit, OnDestroy } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ReviewsSettingsComponent } from '../../reviews-settings.component';\r\nimport { ReviewBoardType, ReviewType, ReviewTypesEnum } from '../../../reviews.models';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { TemplateType } from '../../../../checklists/checklists';\r\nimport { Observable } from 'rxjs';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Store } from '@ngxs/store';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'reviews-settings-review-types-details',\r\n templateUrl: './reviews-settings-review-types-details.component.html',\r\n styleUrls: ['./reviews-settings-review-types-details.component.scss']\r\n})\r\nexport class ReviewsSettingsReviewTypesDetailsComponent implements OnInit, OnDestroy {\r\n\r\n reviewBoardType: ReviewBoardType;\r\n reviewType: ReviewType;\r\n\r\n reviewTypeNameCtrl = new FormControl();\r\n reviewTypeDescriptionCtrl = new FormControl();\r\n reviewTypeCodeCtrl = new FormControl();\r\n templateTypeCtrl = new FormControl();\r\n reviewTypeCtrl = new FormControl();\r\n reviewTypeLifeSpanCtrl = new FormControl();\r\n reviewTypeEnum: ReviewTypesEnum;\r\n\r\n templateTypes!: TemplateType[];\r\n templateTypesFiltered!: TemplateType[];\r\n templateTypes$!: Observable;\r\n templateTypesSubs!: Subscription;\r\n\r\n reviewTypes!: ReviewType[];\r\n reviewTypesFiltered!: ReviewType[];\r\n reviewTypes$!: Observable;\r\n reviewTypesSubs!: Subscription;\r\n\r\n form!: FormGroup;\r\n title: string;\r\n disabled!: boolean;\r\n\r\n hasNextReview!: boolean;\r\n isActive?: boolean;\r\n\r\n constructor(\r\n private store: Store,\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.reviewBoardType = data.reviewBoardType;\r\n this.title = data.title;\r\n this.reviewType = data.reviewType;\r\n this.reviewTypeEnum = data.reviewTypeEnum;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.reviewTypesSubs?.unsubscribe();\r\n this.templateTypesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n if (!this.reviewType) {\r\n this.reviewType = { id: 0, reviewBoardTypeID: this.reviewBoardType.id, status: 1, type: this.reviewTypeEnum } as ReviewType;\r\n }\r\n this.loadTemplateTypes();\r\n this.loadReviewTypes();\r\n this.reviewTypeNameCtrl.setValue(this.reviewType?.name);\r\n this.reviewTypeDescriptionCtrl.setValue(this.reviewType?.description);\r\n this.reviewTypeCodeCtrl.setValue(this.reviewType?.code);\r\n this.reviewTypeCtrl.setValue(this.reviewTypesFiltered.find(x => x.id === this.reviewType.nextReviewTypeID));\r\n this.hasNextReview = this.reviewTypesFiltered.find(x => x.id === this.reviewType.nextReviewTypeID) != null;\r\n this.reviewTypeLifeSpanCtrl.setValue(this.reviewType?.lifeSpan);\r\n this.isActive = this.reviewType.status == 1;\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypes$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypesSubs = this.templateTypes$.subscribe(data => {\r\n this.templateTypes = data.filter(x => x.documentTypeID === 200);\r\n this.templateTypesFiltered = this.templateTypes;\r\n this.templateTypeCtrl.setValue(this.templateTypes.find(t => t.id === this.reviewType?.templateTypeID));\r\n });\r\n }\r\n\r\n loadReviewTypes() {\r\n this.reviewTypes$ = this.store.select(state => state.ReviewTypes.data);\r\n this.reviewTypesSubs = this.reviewTypes$.subscribe(data => {\r\n this.reviewTypes = data.filter(x => x.id !== this.reviewType.id);\r\n this.reviewTypesFiltered = this.reviewTypes;\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n reviewTypeNameCtrl: this.reviewTypeNameCtrl,\r\n reviewTypeDescriptionCtrl: this.reviewTypeDescriptionCtrl,\r\n reviewTypeCodeCtrl: this.reviewTypeCodeCtrl,\r\n templateTypeCtrl: this.templateTypeCtrl,\r\n reviewTypeCtrl: this.reviewTypeCtrl,\r\n reviewTypeLifeSpanCtrl: this.reviewTypeLifeSpanCtrl\r\n });\r\n }\r\n\r\n changedTemplateType(e: any) {\r\n this.templateTypesFiltered = this.templateTypes.filter(x => x.name?.toLowerCase().includes(e.target.value) || x.code?.toLowerCase().includes(e.target.value));\r\n if (this.templateTypesFiltered.length == 0) { e.target.value = null; }\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n changeStatus(e: any) {\r\n this.reviewType.status = e.checked ? 1 : 0;\r\n this.form.markAsDirty();\r\n }\r\n\r\n save() {\r\n this.reviewType.name = this.reviewTypeNameCtrl.value;\r\n this.reviewType.description = this.reviewTypeDescriptionCtrl.value;\r\n this.reviewType.code = this.reviewTypeCodeCtrl.value;\r\n this.reviewType.type = this.reviewTypeEnum;\r\n this.reviewType.nextReviewTypeID = this.reviewTypeCtrl.value?.id;\r\n this.reviewType.lifeSpan = this.reviewTypeLifeSpanCtrl.value;\r\n this.reviewType.templateTypeID = this.templateTypeCtrl.value ? this.templateTypeCtrl.value.id : null;\r\n this.data.reviewType = this.reviewType;\r\n this.dialog.close(this.data);\r\n }\r\n\r\n cancel() {\r\n this.form.reset();\r\n this.dialog.close();\r\n }\r\n\r\n formValid() {\r\n return !utils.isNullValue(this.reviewTypeNameCtrl.value) && !utils.isNullValue(this.reviewTypeDescriptionCtrl.value) && !utils.isNullValue(this.reviewTypeCodeCtrl.value) && (this.reviewTypeLifeSpanCtrl.value == null || this.reviewTypeLifeSpanCtrl.value == '' || parseInt(this.reviewTypeLifeSpanCtrl.value, 10));\r\n }\r\n\r\n hasNextReviewChanged(e: any) {\r\n if (!e.checked) {\r\n this.reviewType.nextReviewTypeID = 0;\r\n this.reviewTypeCtrl.setValue(null);\r\n }\r\n this.form.markAsDirty();\r\n }\r\n\r\n\r\n changedReviewType(e: any) {\r\n const value = e.target.value;\r\n this.reviewTypesFiltered = this.reviewTypes.filter(x => x.name?.toLowerCase().includes(value.toLowerCase()) || x.code?.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ title }}\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Name\r\n \r\n \r\n
    \r\n
    \r\n \r\n Description\r\n \r\n \r\n
    \r\n
    \r\n \r\n Acronym\r\n \r\n \r\n
    \r\n
    \r\n \r\n Template Type\r\n \r\n \r\n \r\n ({{ templateType.code }}) {{ templateType.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n Autocreate Next Review on Complete\r\n \r\n
    \r\n
    \r\n \r\n Next Review Type\r\n \r\n \r\n \r\n ({{ reviewType.name }}) ({{ reviewType.code }})\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Life Span (Weeks)\r\n \r\n \r\n Number of Weeks before Review Expiration, leave this field blank for\r\n NO Expiration date.\r\n \r\n \r\n
    \r\n
    \r\n Active\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, OnDestroy, OnChanges, SimpleChanges, Input, Injector } from '@angular/core';\r\nimport { ReviewType, ReviewBoardType, ReviewTypesEnum, Review } from '../../reviews.models';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewBoardTypesRefresh } from '../../store/review-board-types/review-board-types.action';\r\nimport { ReviewsRefresh } from '../../store/reviews/reviews.action';\r\nimport { ReviewsSettingsReviewTypesDetailsComponent } from './reviews-settings-review-types-details/reviews-settings-review-types-details.component';\r\nimport { USER_OPTIONS } from '@ngxs/logger-plugin/src/logger.module';\r\nimport { ReviewTypesRefresh } from '../../store/review-types/review-types.action';\r\n\r\n@Component({\r\n selector: 'reviews-settings-review-types',\r\n templateUrl: './reviews-settings-review-types.component.html',\r\n styleUrls: ['./reviews-settings-review-types.component.scss']\r\n})\r\nexport class ReviewsSettingsReviewTypesComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input()\r\n reviewBoardType!: ReviewBoardType;\r\n\r\n reviewTypes!: ReviewType[];\r\n reviewTypes$!: Observable;\r\n reviewTypesSubs!: Subscription;\r\n\r\n reviewTypesEnum = ReviewTypesEnum;\r\n reviewTypeEnum: ReviewTypesEnum = ReviewTypesEnum.FULL;\r\n\r\n reviews?: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n options = [{ id: 1, name: 'Full Review Types', checked: true }, { id: 2, name: 'Modification Review Types', checked: false }];\r\n optionSelectedId = 1;\r\n\r\n showInactive?: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewTypesSubs?.unsubscribe();\r\n this.reviewsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadReviews();\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(data => {\r\n if (data?.length) {\r\n this.reviews = data;\r\n this.loadReviewTypes();\r\n }\r\n });\r\n }\r\n\r\n loadReviewTypes() {\r\n this.reviewTypes$ = this.store.select(state => state.ReviewTypes.data);\r\n this.reviewTypesSubs = this.reviewTypes$.subscribe(data => {\r\n if (data.length) {\r\n this.reviewTypes = data.filter(x => x.type == this.reviewTypeEnum && x.reviewBoardTypeID == this.reviewBoardType.id && (this.showInactive || !this.showInactive && x.status == 1)).sort((a, b) => a.order - b.order);\r\n this.reviewTypes.map(t => {\r\n t.reviews = this.reviews?.filter(r => r.reviewTypeID == t.id);\r\n })\r\n this.renumberArray();\r\n }\r\n });\r\n }\r\n\r\n changeInactive(e: any) {\r\n this.loadReviewTypes();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.reviewTypeEnum = this.reviewTypesEnum.FULL;\r\n }\r\n\r\n edit(reviewType: ReviewType) {\r\n const confirm = this.dialog.open(ReviewsSettingsReviewTypesDetailsComponent, {\r\n width: '400px',\r\n data: {\r\n title: 'Modify Review Type',\r\n reviewBoardType: this.reviewBoardType,\r\n reviewType,\r\n reviewTypeEnum: this.reviewTypeEnum,\r\n disableClose: true,\r\n autoFocus: false\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.service.updateReviewType(this.utils.Serialize(data.reviewType)).toPromise().then(() => {\r\n this.alert.message('ReviewTypeUpdated');\r\n this.store.dispatch(new ReviewBoardTypesRefresh());\r\n this.store.dispatch(new ReviewTypesRefresh());\r\n this.store.dispatch(new ReviewsRefresh());\r\n });\r\n }\r\n });\r\n }\r\n\r\n delete(reviewType: ReviewType) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('ReviewTypeDeleteConfirmation').description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data && reviewType.id) {\r\n this.service.deleteReviewType(reviewType.id).toPromise().then(() => {\r\n this.alert.message('ReviewTypeDeleted');\r\n this.store.dispatch(new ReviewBoardTypesRefresh());\r\n this.store.dispatch(new ReviewTypesRefresh());\r\n });\r\n }\r\n });\r\n }\r\n\r\n add() {\r\n const confirm = this.dialog.open(ReviewsSettingsReviewTypesDetailsComponent, {\r\n width: '400px',\r\n data: {\r\n title: 'Add Review Type',\r\n reviewBoardType: this.reviewBoardType,\r\n reviewTypeEnum: this.reviewTypeEnum,\r\n disableClose: true,\r\n autoFocus: false\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.service.createReviewType(data.reviewType).toPromise().then(() => {\r\n this.alert.message('ReviewTypeCreated');\r\n this.store.dispatch(new ReviewBoardTypesRefresh());\r\n this.store.dispatch(new ReviewTypesRefresh());\r\n });\r\n }\r\n });\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.reviewTypes, event.previousIndex, event.currentIndex);\r\n this.renumberArray(true);\r\n }\r\n }\r\n\r\n renumberArray(update?: boolean) {\r\n let order = 1;\r\n this.reviewTypes?.map(reviewType => {\r\n if (reviewType.order != order) {\r\n reviewType.order = order;\r\n if (update)\r\n this.service.updateReviewTypeOrder(reviewType).toPromise();\r\n }\r\n order++;\r\n });\r\n if (update) {\r\n this.store.dispatch(new ReviewBoardTypesRefresh());\r\n this.store.dispatch(new ReviewTypesRefresh());\r\n }\r\n }\r\n\r\n radioChanged(e: any) {\r\n this.reviewTypeEnum = e;\r\n this.loadReviewTypes();\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n \r\n {{ option.name }}\r\n \r\n \r\n
    \r\n
    \r\n Show Inactive Types\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n drag_handle\r\n
    \r\n \r\n {{ reviewType.order }}. {{ reviewType.name }} ({{ reviewType.code }})\r\n
    \r\n
    \r\n \r\n 0\"\r\n color=\"warn\"\r\n >\r\n delete_outline\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { COMMA, ENTER } from '@angular/cdk/keycodes';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { ReviewStatusAction, ReviewStatus, ReviewActionRole } from 'src/app/components/reviews/reviews.models';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\n\r\n@Component({\r\n selector: 'app-reviews-settings-statuses-actions-details',\r\n templateUrl: './statuses-actions-details.component.html',\r\n styleUrls: ['./statuses-actions-details.component.scss']\r\n})\r\nexport class ReviewsSettingsStatusesActionsDetailsComponent implements OnInit {\r\n\r\n reviewStatusAction: ReviewStatusAction;\r\n reviewStatuses: ReviewStatus[];\r\n reviewStatusesFiltered: ReviewStatus[];\r\n\r\n title: string;\r\n\r\n roles!: Role[];\r\n rolesFiltered!: Role[];\r\n roleCtrl = new FormControl();\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n codeCtrl = new FormControl();\r\n nameCtrl = new FormControl();\r\n nextStatusCtrl = new FormControl();\r\n form!: FormGroup;\r\n separatorKeysCodes: number[] = [ENTER, COMMA];\r\n externalActions = [{ name: 'Request Extension', code: '@request' }, { name: 'Grant Extension', code: '@grant' }, { name: 'Deny Extension', code: '@reject' }]\r\n\r\n constructor(\r\n private store: Store,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.reviewStatusAction = data.reviewStatusAction;\r\n this.reviewStatuses = data.reviewStatuses;\r\n this.reviewStatusesFiltered = this.reviewStatuses;\r\n this.title = data.title;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n this.loadRoles();\r\n this.nameCtrl.setValue(this.reviewStatusAction.name);\r\n this.codeCtrl.setValue(this.reviewStatusAction.code);\r\n this.nextStatusCtrl.setValue(this.reviewStatusesFiltered.find(x => x.id == this.reviewStatusAction.nextReviewStatusID));\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n nameCtrl: this.nameCtrl,\r\n nextStatusCtrl: this.nextStatusCtrl,\r\n codeCtrl: this.codeCtrl,\r\n roleCtrl: this.roleCtrl\r\n });\r\n }\r\n\r\n save() {\r\n this.reviewStatusAction.name = this.nameCtrl.value;\r\n this.reviewStatusAction.code = this.codeCtrl.value;\r\n this.reviewStatusAction.nextReviewStatusID = this.nextStatusCtrl.value?.id;\r\n this.dialogRef.close(this.reviewStatusAction);\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n changedNextStatus(e: any) {\r\n const val = e.target.value as string;\r\n this.reviewStatusesFiltered = this.reviewStatuses.filter(x => x.name?.toLowerCase().includes(val.toLowerCase()));\r\n }\r\n\r\n selectedNextStatus(e: any) {\r\n this.reviewStatusAction.nextReviewStatusID = e.option.value.id;\r\n }\r\n\r\n selectedColor(e: any) {\r\n this.reviewStatusAction.color = e;\r\n this.form.markAsDirty();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data.length) {\r\n this.roles = data;\r\n this.rolesFiltered = data.filter(x => !this.reviewStatusAction?.reviewActionRoles?.map(r => r.roleID).includes(x.id));\r\n }\r\n });\r\n }\r\n\r\n getActionRoles(reviewActionRoles: ReviewActionRole[]) {\r\n this.loadRoles();\r\n const roles: Role[] = [];\r\n reviewActionRoles?.map(r => {\r\n const role = this.roles.find(x => x.id == r.roleID);\r\n if (role)\r\n roles.push(role);\r\n });\r\n return roles;\r\n }\r\n\r\n removeRole(role: any) {\r\n const index = this.reviewStatusAction.reviewActionRoles.indexOf(role);\r\n this.reviewStatusAction.reviewActionRoles.splice(index, 1);\r\n }\r\n\r\n rolesChanged(e: any) {\r\n const val = e.target.value;\r\n this.rolesFiltered = this.roles?.filter(x => x.name?.toLowerCase().includes(val.toLowerCase()) || x.code?.toLowerCase().includes(val.toLowerCase()));\r\n }\r\n\r\n clearInputValue(e: any) {\r\n const input = e.input;\r\n if (input) {\r\n input.value = '';\r\n }\r\n }\r\n\r\n selectedRole(role: Role) {\r\n if (!this.reviewStatusAction.reviewActionRoles) { this.reviewStatusAction.reviewActionRoles = []; }\r\n const reviewActionRole = {\r\n id: 0,\r\n role,\r\n roleID: role.id,\r\n reviewStatusActionID: this.reviewStatusAction.id\r\n } as ReviewActionRole;\r\n this.reviewStatusAction.reviewActionRoles.push(reviewActionRole);\r\n this.rolesFiltered = this.roles.filter(x => !this.reviewStatusAction?.reviewActionRoles?.map(r => r.roleID).includes(x.id));\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ title }}\r\n
    \r\n\r\n
    \r\n \r\n Button Label\r\n \r\n \r\n \r\n \r\n Next Status\r\n \r\n \r\n \r\n {{ status.name }}\r\n \r\n \r\n \r\n \r\n Internal Action\r\n \r\n Internal code execution tag. \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { ReviewStatusRefresh } from '../../../../store/review-status/review-status.action';\r\nimport { Component, Input, OnInit, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { ReviewsService } from '../../../../reviews.service';\r\nimport { ReviewBoardsRefresh } from '../../../../store/review-boards/review-boards.action';\r\nimport { ReviewBoardTypesRefresh } from '../../../../store/review-board-types/review-board-types.action';\r\nimport { ReviewsRefresh } from '../../../../store/reviews/reviews.action';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { ReviewsSettingsStatusesActionsDetailsComponent } from './statuses-actions-details/statuses-actions-details.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ReviewStatus, ReviewStatusAction } from 'src/app/components/reviews/reviews.models';\r\n\r\n\r\n@Component({\r\n selector: 'reviews-settings-statuses-actions',\r\n templateUrl: './statuses-actions.component.html',\r\n styleUrls: ['./statuses-actions.component.scss']\r\n})\r\nexport class ReviewsSettingsStatusesActionsComponent extends BaseComponent implements OnInit {\r\n\r\n @Input() reviewStatus?: ReviewStatus;\r\n @Input() reviewStatuses!: ReviewStatus[];\r\n @Output() changed = new EventEmitter();\r\n\r\n reviewStatusActions!: ReviewStatusAction[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.reviewStatusActions = this.reviewStatus?.reviewStatusActions ?? [];\r\n }\r\n\r\n getClass(color: string | null) {\r\n return color + '-background';\r\n }\r\n\r\n delete(reviewStatusAction: ReviewStatusAction) {\r\n this.service.deleteReviewStatusAction(reviewStatusAction.id).toPromise().then(() => {\r\n const index = this.reviewStatusActions.findIndex(x => x.id == reviewStatusAction.id);\r\n this.reviewStatusActions.splice(index, 1);\r\n this.changed.emit(this.reviewStatusActions);\r\n this.refreshStore();\r\n });\r\n }\r\n\r\n add() {\r\n const reviewStatusAction = {\r\n id: 0,\r\n name: null,\r\n description: null,\r\n color: null,\r\n reviewStatusID: this.reviewStatus?.id,\r\n nextReviewStatusID: 0,\r\n code: null,\r\n status: 1,\r\n type: 1\r\n } as ReviewStatusAction;\r\n const confirm =\r\n this.dialog.open(ReviewsSettingsStatusesActionsDetailsComponent, {\r\n width: '500px',\r\n data: {\r\n title: 'Add Status Action',\r\n reviewStatusAction,\r\n reviewStatuses: this.reviewStatuses,\r\n disableClose: true,\r\n autoFocus: false\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then((res: ReviewStatusAction) => {\r\n if (res) {\r\n this.save(res);\r\n }\r\n });\r\n }\r\n\r\n edit(reviewStatusAction: ReviewStatusAction) {\r\n const confirm =\r\n this.dialog.open(ReviewsSettingsStatusesActionsDetailsComponent, {\r\n width: '500px',\r\n data: {\r\n title: 'Modify Status Action',\r\n reviewStatusAction,\r\n reviewStatuses: this.reviewStatuses,\r\n disableClose: true,\r\n autoFocus: false\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then((res: ReviewStatusAction) => {\r\n if (res) {\r\n this.save(res);\r\n }\r\n });\r\n }\r\n\r\n refreshStore() {\r\n this.store.dispatch(new ReviewsRefresh());\r\n this.store.dispatch(new ReviewStatusRefresh());\r\n this.store.dispatch(new ReviewBoardsRefresh());\r\n this.store.dispatch(new ReviewBoardTypesRefresh());\r\n }\r\n\r\n save(reviewStatusAction: ReviewStatusAction) {\r\n if (!this.reviewStatusActions) {\r\n this.reviewStatusActions = [];\r\n }\r\n const index = this.reviewStatusActions.findIndex(x => x.id == reviewStatusAction.id || x.name == reviewStatusAction.name);\r\n if (reviewStatusAction.id || index >= 0) {\r\n this.reviewStatusActions[index] = reviewStatusAction;\r\n }\r\n else {\r\n if (!this.reviewStatusActions) { this.reviewStatusActions = []; }\r\n this.reviewStatusActions.push(reviewStatusAction);\r\n }\r\n this.changed.emit(this.reviewStatusActions);\r\n }\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n
    \r\n \r\n {{ reviewStatusAction.name }}\r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n addAdd\r\n \r\n
    \r\n\r\n","import { Component, Inject, OnInit, OnDestroy } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ReviewBoardType, ReviewStatus, ReviewStatusAction } from '../../../reviews.models';\r\nimport { ReviewsSettingsComponent } from '../../reviews-settings.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { StatusType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'reviews-settings-statuses-details',\r\n templateUrl: './reviews-settings-statuses-details.component.html',\r\n styleUrls: ['./reviews-settings-statuses-details.component.scss']\r\n})\r\nexport class ReviewsSettingsStatusesDetailsComponent implements OnInit, OnDestroy {\r\n\r\n\r\n reviewBoardType: ReviewBoardType;\r\n reviewStatus?: ReviewStatus;\r\n reviewStatuses$!: Observable;\r\n reviewStatuses: ReviewStatus[];\r\n reviewStatusesSubs!: Subscription;\r\n\r\n reviewStatusNameCtrl = new FormControl();\r\n reviewStatusDescriptionCtrl = new FormControl();\r\n reviewStatusCodeCtrl = new FormControl();\r\n reviewStatusTypeCtrl = new FormControl();\r\n\r\n isActive!: boolean;\r\n isCompleted!: boolean;\r\n\r\n form!: FormGroup;\r\n title: string;\r\n disabled!: boolean;\r\n\r\n statusTypes = utils.getENUM(StatusType);\r\n\r\n constructor(\r\n private store: Store,\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.reviewBoardType = data.reviewBoardType;\r\n this.title = data.title;\r\n this.reviewStatus = data.reviewStatus;\r\n this.reviewStatuses = data.reviewStatuses;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.reviewStatusesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n this.reviewStatusNameCtrl.setValue(this.reviewStatus?.name);\r\n this.reviewStatusDescriptionCtrl.setValue(this.reviewStatus?.description);\r\n this.reviewStatusCodeCtrl.setValue(this.reviewStatus?.code);\r\n this.reviewStatusTypeCtrl.setValue(this.statusTypes.find(x => x.value == this.reviewStatus?.type));\r\n this.reviewStatuses$ = this.store.select(state => state.ReviewStatus.data);\r\n this.reviewStatusesSubs = this.reviewStatuses$.subscribe(data => {\r\n this.reviewStatuses = data.filter(x => x.reviewBoardTypeID == this.reviewBoardType.id);\r\n this.reviewStatus = this.reviewStatuses.find(x => x.id == this.reviewStatus?.id);\r\n if (!this.reviewStatus) {\r\n this.reviewStatus = { id: 0, status: 1, type: 1, reviewBoardTypeID: this.reviewBoardType.id } as ReviewStatus;\r\n }\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n reviewStatusNameCtrl: this.reviewStatusNameCtrl,\r\n reviewStatusDescriptionCtrl: this.reviewStatusDescriptionCtrl,\r\n reviewStatusCodeCtrl: this.reviewStatusCodeCtrl,\r\n reviewStatusTypeCtrl: this.reviewStatusTypeCtrl\r\n });\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n save() {\r\n if (this.reviewStatus) {\r\n this.reviewStatus.name = this.reviewStatusNameCtrl.value;\r\n this.reviewStatus.description = this.reviewStatusDescriptionCtrl.value;\r\n this.reviewStatus.code = this.reviewStatusCodeCtrl.value;\r\n this.reviewStatus.code = this.reviewStatus.code?.toUpperCase();\r\n this.reviewStatus.reviewBoardTypeID = this.reviewBoardType.id ?? 0;\r\n this.reviewStatus.type = this.reviewStatusTypeCtrl.value?.value;\r\n this.data.reviewStatus = this.reviewStatus;\r\n this.dialog.close(this.data);\r\n }\r\n }\r\n\r\n cancel() {\r\n this.form.reset();\r\n this.dialog.close();\r\n }\r\n\r\n formValid() {\r\n return !utils.isNullValue(this.reviewStatusNameCtrl.value) && !utils.isNullValue(this.reviewStatusDescriptionCtrl.value) && !utils.isNullValue(this.reviewStatusCodeCtrl.value) && !utils.isNullValue(this.reviewStatus?.color);\r\n }\r\n\r\n selectedColor(e: any) {\r\n if (this.reviewStatus)\r\n this.reviewStatus.color = e;\r\n this.form.markAsDirty();\r\n }\r\n\r\n actionsChanged(reviewStatusActions: ReviewStatusAction[]) {\r\n if (this.reviewStatus) {\r\n this.form.markAsDirty();\r\n this.reviewStatus.reviewStatusActions = reviewStatusActions;\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n {{ title }}\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Name\r\n \r\n \r\n
    \r\n
    \r\n \r\n Description\r\n \r\n \r\n
    \r\n
    \r\n \r\n Acronym\r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Status Type\r\n \r\n \r\n {{ statusType.key }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Action Buttons
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, OnInit, SimpleChanges, OnChanges, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ReviewBoardType, ReviewStatus } from '../../reviews.models';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewBoardTypesRefresh } from '../../store/review-board-types/review-board-types.action';\r\nimport { ReviewsSettingsStatusesDetailsComponent } from './reviews-settings-statuses-details/reviews-settings-statuses-details.component';\r\nimport { ReviewStatusDelete, ReviewStatusUpdate, ReviewStatusCreate } from '../../store/review-status/review-status.action';\r\nimport { ReviewBoardsRefresh } from '../../store/review-boards/review-boards.action';\r\nimport { ReviewsRefresh } from '../../store/reviews/reviews.action';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { StatusType } from 'src/app/common/enumerations/enumerations';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'reviews-settings-statuses',\r\n templateUrl: './reviews-settings-statuses.component.html',\r\n styleUrls: ['./reviews-settings-statuses.component.scss']\r\n})\r\nexport class ReviewsSettingsStatusesComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() reviewBoardType!: ReviewBoardType;\r\n\r\n reviewStatuses!: ReviewStatus[];\r\n reviewStatuses$!: Observable;\r\n reviewStatusesSubs!: Subscription;\r\n\r\n statusType = StatusType;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ReviewsService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.reviewStatusesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.reviewStatuses = this.reviewBoardType?.reviewStatuses?.sort((a, b) => a.order - b.order);\r\n this.reviewStatuses$ = this.store.select(state => state.ReviewStatus.data);\r\n this.reviewStatusesSubs = this.reviewStatuses$.subscribe(data => {\r\n this.reviewStatuses = data.filter(x => x.reviewBoardTypeID == this.reviewBoardType.id)?.sort((a, b) => a.order - b.order);\r\n });\r\n this.renumberArray();\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n edit(reviewStatus: ReviewStatus) {\r\n const confirm = this.dialog.open(ReviewsSettingsStatusesDetailsComponent, {\r\n width: '800px',\r\n data: {\r\n title: 'Modify Status',\r\n reviewBoardType: this.reviewBoardType,\r\n reviewStatus,\r\n reviewStatuses: this.reviewStatuses,\r\n disableClose: true,\r\n autoFocus: false\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.service.updateReviewStatus(data.reviewStatus).toPromise().then(data => {\r\n if (data?.id)\r\n this.store.dispatch(new ReviewStatusUpdate(data.id, data));\r\n this.alert.message('ReviewStatusUpdated');\r\n this.refresh();\r\n });\r\n }\r\n });\r\n }\r\n\r\n delete(reviewStatus: ReviewStatus) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('ReviewStatusDeleteConfirmation').description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data && reviewStatus.id) {\r\n this.service.deleteReviewStatus(reviewStatus.id).toPromise().then(() => {\r\n if (reviewStatus.id)\r\n this.store.dispatch(new ReviewStatusDelete(reviewStatus.id));\r\n this.store.dispatch(new ReviewBoardsRefresh());\r\n this.alert.message('ReviewStatusDeleted');\r\n this.refresh();\r\n });\r\n }\r\n });\r\n }\r\n\r\n add() {\r\n const reviewStatus = {\r\n id: 0,\r\n reviewStatusActions: []\r\n };\r\n const confirm = this.dialog.open(ReviewsSettingsStatusesDetailsComponent, {\r\n width: '800px',\r\n data: {\r\n title: 'Add Status',\r\n reviewBoardType: this.reviewBoardType,\r\n reviewStatus,\r\n reviewStatuses: this.reviewStatuses,\r\n disableClose: true,\r\n autoFocus: false\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.service.createReviewStatus(data.reviewStatus).toPromise().then(data => {\r\n if (data)\r\n this.store.dispatch(new ReviewStatusCreate(data));\r\n this.alert.message('ReviewStatusCreated');\r\n this.refresh();\r\n });\r\n }\r\n });\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n if (event?.previousIndex !== event?.currentIndex) {\r\n moveItemInArray(this.reviewStatuses, event.previousIndex, event.currentIndex);\r\n this.renumberArray();\r\n }\r\n }\r\n\r\n renumberArray() {\r\n let order = 1;\r\n this.reviewStatuses?.map(async reviewStatus => {\r\n if (reviewStatus.order != order) {\r\n reviewStatus.order = order;\r\n await this.service.updateReviewStatusOrder(reviewStatus).toPromise();\r\n }\r\n order++;\r\n });\r\n }\r\n\r\n getClass(color: string) {\r\n return color + '-background';\r\n }\r\n\r\n refresh(refreshReviews: boolean = true) {\r\n if (refreshReviews) {\r\n this.store.dispatch(new ReviewsRefresh());\r\n }\r\n this.store.dispatch(new ReviewBoardsRefresh());\r\n this.store.dispatch(new ReviewBoardTypesRefresh());\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n
    \r\n drag_handle\r\n
    \r\n
    \r\n {{ reviewStatus.order }}. {{ reviewStatus.name }}\r\n {{\r\n reviewStatus.code\r\n }}\r\n fiber_manual_record\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ReviewBoardType } from '../reviews.models';\r\nimport { Store } from '@ngxs/store';\r\nimport { ReviewTypesRefresh } from '../store/review-types/review-types.action';\r\n\r\n@Component({\r\n selector: 'reviews-settings',\r\n templateUrl: './reviews-settings.component.html',\r\n styleUrls: ['./reviews-settings.component.scss']\r\n})\r\nexport class ReviewsSettingsComponent implements OnInit {\r\n\r\n reviewBoardType: ReviewBoardType | null;\r\n disabled?: boolean;\r\n\r\n constructor(\r\n private store: Store,\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n this.reviewBoardType = data.reviewBoardType;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.store.dispatch(new ReviewTypesRefresh());\r\n }\r\n\r\n close() {\r\n this.dialog.close(this.data);\r\n }\r\n\r\n reviewBoardTypeSelected(reviewBoardType: ReviewBoardType | null) {\r\n this.reviewBoardType = reviewBoardType;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Settings\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, OnChanges, SimpleChanges, OnDestroy, Injector, ViewChild } from \"@angular/core\";\r\nimport { ReviewBoardType, Review, ReviewTypesEnum, ReviewBoard, ReviewCycle, } from \"./reviews.models\";\r\nimport { ReviewsService } from \"./reviews.service\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { FormControl } from \"@angular/forms\";\r\nimport { ActivatedRoute } from \"@angular/router\";\r\nimport { Subscription, Observable } from \"rxjs\";\r\nimport { ResourceType, ReviewCycleStatus } from \"src/app/common/enumerations/enumerations\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { ReviewCyclesStoreAndListenersService } from \"./store/review-cycles/review-cycles.store\";\r\nimport { ReviewPermissionsRefresh } from \"./store/review-permissions/review-permissions.action\";\r\nimport { ReviewPermissionsStoreAndListenersService } from \"./store/review-permissions/review-permissions.store\";\r\nimport { ReviewBoardTypesStoreAndListenersService } from \"./store/review-board-types/review-board-types.store\";\r\nimport { ReviewTypesStoreAndListenersService } from \"./store/review-types/review-types.store\";\r\nimport { ReviewBoardsStoreAndListenersService } from \"./store/review-boards/review-boards.store\";\r\nimport { ReviewStatusStoreAndListenersService } from \"./store/review-status/review-status.store\";\r\nimport { ReviewAttendanceCategoriesStoreAndListenersService } from \"./store/review-attendance-category/review-attendance-category.store\";\r\nimport { ReviewActionItemTypesStoreAndListenersService } from \"./store/review-action-item-types/review-action-item-types.store\";\r\nimport { ReviewActionItemsStoreAndListenersService } from \"./store/review-action-items/review-action-items.store\";\r\nimport { ReviewsStoreAndListenersService } from \"./store/reviews/reviews.store\";\r\nimport { ReviewAttendanceSaveStoreAndListenersService } from \"./store/review-attendance-save/review-attendance-save.store\";\r\nimport { ReviewsSettingsComponent } from \"./reviews-settings/reviews-settings.component\";\r\nimport { ReviewsBoardsAddResourceComponent } from \"./reviews-boards/reviews-boards-reviews/reviews-boards-add-resource/reviews-boards-add-resource.component\";\r\nimport { ReviewsUpdate } from \"./store/reviews/reviews.action\";\r\nimport { MatSidenavContent } from \"@angular/material/sidenav\";\r\n\r\n@Component({\r\n selector: \"reviews\",\r\n templateUrl: \"./reviews.component.html\",\r\n styleUrls: [\"./reviews.component.scss\"],\r\n})\r\nexport class ReviewsComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @ViewChild('sidenavContent') sidenavContent!: MatSidenavContent;\r\n\r\n isCreating!: boolean;\r\n showNotArchived: boolean = false;\r\n\r\n reviewBoardTypeId!: number;\r\n routeSubs!: Subscription;\r\n\r\n reviewBoardTypes!: ReviewBoardType[];\r\n reviewBoardTypes$!: Observable;\r\n reviewBoardTypesSubs!: Subscription;\r\n reviewBoardType?: ReviewBoardType;\r\n\r\n reviewRequests$!: Observable;\r\n reviewRequests!: ReviewCycle[];\r\n draftRequestsCount: number = 0;\r\n draftRequests!: ReviewCycle[];\r\n reviewRequestsFiltered!: ReviewCycle[];\r\n reviewRequest!: ReviewCycle;\r\n reviewRequestsSubs!: Subscription;\r\n moreInfo!: string;\r\n\r\n resourceCtrl = new FormControl();\r\n resource!: Resource | null;\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n resourcesFiltered!: Resource[];\r\n showOnlyActive = false;\r\n review?: Review | null;\r\n\r\n privilege = PrivilegeEnum;\r\n\r\n reviews!: Review[];\r\n reviews$!: Observable;\r\n reviewsSubs!: Subscription;\r\n\r\n reviewCycle!: ReviewCycle;\r\n\r\n addCustomResourcePrivilege!: boolean;\r\n\r\n // @ViewChild(ReviewsBoardsComponent) reviewBoards: ReviewsBoardsComponent;\r\n // @ViewChild(ReviewsIndexComponent) reviewIndex: ReviewsIndexComponent;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private route: ActivatedRoute,\r\n public service: ReviewsService,\r\n private reviewBoardTypesStore: ReviewBoardTypesStoreAndListenersService,\r\n private reviewTypesStore: ReviewTypesStoreAndListenersService,\r\n private reviewBoardsStore: ReviewBoardsStoreAndListenersService,\r\n private reviewStatusStore: ReviewStatusStoreAndListenersService,\r\n private reviewAttendanceCategoriesStore: ReviewAttendanceCategoriesStoreAndListenersService,\r\n private reviewActionItemTypesStore: ReviewActionItemTypesStoreAndListenersService,\r\n private reviewActionItemsStore: ReviewActionItemsStoreAndListenersService,\r\n private reviewsStore: ReviewsStoreAndListenersService,\r\n private reviewPermissionsStore: ReviewPermissionsStoreAndListenersService,\r\n private reviewAttendanceSaveStore: ReviewAttendanceSaveStoreAndListenersService,\r\n private reviewCyclesStore: ReviewCyclesStoreAndListenersService,\r\n ) {\r\n super(injector);\r\n\r\n reviewBoardTypesStore.initListeners();\r\n reviewBoardTypesStore.initStore();\r\n reviewBoardsStore.initListeners();\r\n reviewBoardsStore.initStore();\r\n reviewStatusStore.initStore();\r\n reviewStatusStore.initListeners();\r\n reviewAttendanceCategoriesStore.initListeners();\r\n reviewAttendanceCategoriesStore.initStore();\r\n reviewPermissionsStore.initListeners();\r\n reviewPermissionsStore.initStore();\r\n reviewsStore.initListeners();\r\n reviewsStore.initStore();\r\n reviewTypesStore.initListeners();\r\n reviewTypesStore.initStore();\r\n reviewActionItemTypesStore.initListeners();\r\n reviewActionItemTypesStore.initStore();\r\n reviewActionItemsStore.initListeners();\r\n reviewActionItemsStore.initStore();\r\n reviewAttendanceSaveStore.initListeners();\r\n reviewAttendanceSaveStore.initStore();\r\n reviewCyclesStore.initListeners();\r\n reviewCyclesStore.initStore();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.routeSubs?.unsubscribe();\r\n this.reviewBoardTypesSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n this.reviewsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.store.dispatch(new ReviewPermissionsRefresh());\r\n this.ngOnChanges()\r\n this.service.Init();\r\n }\r\n\r\n ngOnChanges(changes?: SimpleChanges): void {\r\n if (this.service.index) { this.isExpanded = true; }\r\n this.routeSubs = this.route.params.subscribe((params) => {\r\n if (this.reviewBoardTypeId != +params[\"type\"]) {\r\n this.reviewBoardTypeId = +params[\"type\"];\r\n this.setLoadingBar(true);\r\n this.loadReviewBoardTypes();\r\n this.loadReviewRequests();\r\n }\r\n });\r\n }\r\n\r\n allowSettings() {\r\n return this.service.checkPrivilege(PrivilegeEnum.ChangeSettings);\r\n }\r\n\r\n loadReviewBoardTypes() {\r\n this.reviewBoardTypes$ = this.store.select(\r\n (state) => state.ReviewBoardTypes.data\r\n );\r\n this.reviewBoardTypesSubs = this.reviewBoardTypes$.subscribe((data) => {\r\n this.reviewBoardTypes = data;\r\n if (this.reviewBoardTypes) {\r\n this.loadReviews();\r\n this.reviewBoardType = this.reviewBoardTypes.find((x) => x.id == this.reviewBoardTypeId);\r\n this.loadResources();\r\n this.showAddButton();\r\n }\r\n });\r\n }\r\n\r\n loadReviewRequests() {\r\n this.reviewRequests$ = this.store.select(state => state.ReviewCycles.data);\r\n this.reviewRequestsSubs = this.reviewRequests$.subscribe(data => {\r\n this.reviewRequests = data.filter(x => !x.resourceID && x.status !== ReviewCycleStatus.Rejected && x.status !== ReviewCycleStatus.Pending && x.status != ReviewCycleStatus.Archived);\r\n this.draftRequests = data.filter(x => x.status == ReviewCycleStatus.Pending);\r\n this.draftRequestsCount = this.draftRequests.length;\r\n this.moreInfo = this.addMoreInfo();\r\n });\r\n }\r\n\r\n addMoreInfo(): string {\r\n let moreInfo = this.draftRequests.map(x => x.name).join(\", \");\r\n return moreInfo;\r\n }\r\n\r\n loadReviews() {\r\n this.reviews$ = this.store.select(state => state.Reviews.data);\r\n this.reviewsSubs = this.reviews$.subscribe(async data => {\r\n if (data.length) {\r\n this.reviews = data.filter(r => r.reviewCycle?.reviewBoard?.reviewBoardTypeID == this.reviewBoardTypeId);\r\n const openDocument = await this.redirect.getDocument(this.formTypeEnum.REVIEW);\r\n const reviewCycleID = openDocument?.formID;\r\n const reviewID = localStorage.getItem('redirectID');\r\n if (reviewCycleID && reviewID) {\r\n let review = this.reviews.find(r => r.id == +reviewID);\r\n if (review) review = await this.service.getReviewById(review.id).toPromise();\r\n if (review) {\r\n this.review = review;\r\n this.store.dispatch(new ReviewsUpdate(review.id, review));\r\n }\r\n localStorage.removeItem('redirectID');\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data?.length != 0) {\r\n //If BRC board, resources should include branchlines\r\n if (this.reviewBoardType?.id == 1)\r\n this.resources = data.filter(x => x.type == this.resourceTypeEnum.Beamline || x.type == this.resourceTypeEnum.Branchline || x.type == ResourceType.ReviewProcessResource);\r\n else {\r\n this.resources = data\r\n .filter((x) => x.type == this.reviewBoardType?.resourceTypeID || x.type == ResourceType.ReviewProcessResource)\r\n .sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n }\r\n this.resourcesFiltered = this.resources.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n this.setLoadingBar(false);\r\n }\r\n });\r\n }\r\n\r\n settings() {\r\n const settings = this.dialog.open(ReviewsSettingsComponent, {\r\n width: \"70%\",\r\n minWidth: \"850px\",\r\n maxHeight: '80vh',\r\n data: {\r\n reviewBoardType: this.reviewBoardType,\r\n },\r\n disableClose: true,\r\n autoFocus: false,\r\n });\r\n settings.afterClosed().subscribe((data) => { });\r\n }\r\n\r\n reviewSelected(review?: Review | null) {\r\n if (review) {\r\n this.review = review;\r\n this.service.index = false;\r\n }\r\n }\r\n\r\n changedResource(e: any) {\r\n const val = e.target.value as string;\r\n this.resourcesFiltered = this.resources.filter((x) => x.name?.toLowerCase().includes(val.toLowerCase())\r\n );\r\n this.resource = null;\r\n }\r\n\r\n selectedResource(e: any) {\r\n this.resource = e.option.value;\r\n if (this.resource)\r\n this.resourcesFiltered = [this.resource];\r\n }\r\n\r\n reviewCycleSelected(e: any) {\r\n this.reviewCycle = e;\r\n }\r\n\r\n gotoBoard() {\r\n this.review = null;\r\n this.service.index = false;\r\n this.isExpanded = false;\r\n\r\n this.sidenavContent.scrollTo({ top: 0, behavior: 'smooth' });\r\n }\r\n\r\n gotoIndex() {\r\n this.review = null;\r\n this.service.index = true;\r\n this.isExpanded = true;\r\n }\r\n\r\n label() {\r\n return this.review?.reviewCycle?.type == ReviewTypesEnum.MODF\r\n ? this.review?.reviewCycle.reviewBoard.resource?.name?.substr(0, 1) + \"MR\"\r\n : null;\r\n }\r\n\r\n setLoadingBar(val: boolean) {\r\n setTimeout(() => {\r\n this.service.loading = val;\r\n }, 100);\r\n }\r\n\r\n showOnlyActiveChanged(e: any) {\r\n this.showOnlyActive = e.checked;\r\n }\r\n\r\n showNotArchivedChanged(e: any) {\r\n this.showNotArchived = e.checked;\r\n }\r\n\r\n async showAddButton() {\r\n this.addCustomResourcePrivilege = await this.service.checkPrivilege(\r\n PrivilegeEnum.CreateCustomResources,\r\n this.reviewBoardType\r\n );\r\n return !this.review &&\r\n this.reviewBoardType?.allowCustomResources &&\r\n this.addCustomResourcePrivilege;\r\n }\r\n\r\n clearFilter() {\r\n this.resource = null;\r\n this.resourceCtrl.setValue(this.resource);\r\n this.resourcesFiltered = this.resources;\r\n }\r\n\r\n openAddDialog() {\r\n const dialog = this.dialog.open(ReviewsBoardsAddResourceComponent, {\r\n width: \"30%\",\r\n minWidth: \"400px\",\r\n disableClose: true,\r\n autoFocus: false,\r\n data: {\r\n reviewBoardType: this.reviewBoardType,\r\n title: \"Add Location\",\r\n },\r\n });\r\n dialog.afterClosed().subscribe((resource: Resource) => {\r\n if (resource) {\r\n this.setLoadingBar(true);\r\n const reviewBoard: ReviewBoard = {\r\n id: 0,\r\n name: resource.name ?? '',\r\n description: resource.description ?? '',\r\n type: this.reviewBoardType?.id,\r\n code: this.reviewBoardType?.code,\r\n status: 1,\r\n resourceID: resource.id,\r\n reviewBoardTypeID: this.reviewBoardType?.id ?? 0,\r\n };\r\n this.service.createReviewBoard(reviewBoard).toPromise();\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    {{ reviewBoardType?.name }}

    \r\n
    \r\n
    \r\n

    \r\n {{ label() }} {{ review.reviewType.name }} for\r\n {{ review.reviewCycle.reviewBoard.resource?.name }}\r\n

    \r\n
    \r\n \r\n \r\n {{ reviewBoardType?.resourceType?.name }}\r\n \r\n \r\n \r\n {{ resource.name }}\r\n \r\n \r\n search\r\n close\r\n \r\n {{ resource.description }}\r\n \r\n \r\n
    \r\n \r\n 1\" title=\"{{ moreInfo }}\"\r\n >Note: There are {{ draftRequestsCount }} pending requests\r\n Note: There is {{ draftRequestsCount }} pending request\r\n
    \r\n \r\n Show Active Boards only\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Index View\r\n list_alt\r\n \r\n
    \r\n \r\n Board View\r\n grid_view\r\n \r\n Show Active Boards only\r\n
    \r\n \r\n New Location\r\n add_box\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n Settings\r\n settings\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n\r\n","import { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { TemplateType, ChecklistTemplate, Checklist } from '../checklists/checklists';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { ReviewCycleStatus } from 'src/app/common/enumerations/enumerations';\r\nimport { RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { Resource, ResourceType } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\ninterface ReviewsModelBase {\r\n id: number;\r\n name?: string | null;\r\n description?: string | null;\r\n status?: number;\r\n type?: number | null;\r\n code?: string | null;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date | null;\r\n updatedBy?: number | null;\r\n}\r\n\r\nexport interface ReviewDocumentCategory extends ReviewsModelBase {\r\n}\r\n\r\nexport interface ReviewDocuments extends ReviewsModelBase {\r\n reviewID?: number;\r\n reviewCategoryID?: number;\r\n fileID?: number;\r\n url?: string;\r\n fileIcon?: string;\r\n createdByName?: string;\r\n}\r\n\r\nexport interface ReviewBoardType extends ReviewsModelBase {\r\n resourceTypeID: number;\r\n resourceType: ResourceType;\r\n reviewBoards: ReviewBoard[];\r\n reviewTypes: ReviewType[];\r\n reviewStatuses: ReviewStatus[];\r\n allowCustomResources: boolean;\r\n}\r\n\r\nexport interface ReviewType extends ReviewsModelBase {\r\n order: number;\r\n reviewBoardTypeID: number;\r\n reviewBoardType: ReviewBoardType;\r\n templateTypeID?: number;\r\n templateType: TemplateType;\r\n nextReviewTypeID?: number;\r\n nextReviewType?: ReviewType;\r\n lifeSpan?: number;\r\n\r\n //\r\n reviews?: Review[];\r\n}\r\n\r\nexport interface ReviewStatus extends ReviewsModelBase {\r\n order: number;\r\n color: string;\r\n reviews: Review[];\r\n reviewBoardTypeID: number;\r\n reviewBoardType: ReviewBoardType;\r\n reviewStatusActions: ReviewStatusAction[];\r\n}\r\n\r\nexport interface ReviewStatusAction extends ReviewsModelBase {\r\n reviewStatusID: number;\r\n reviewStatus?: ReviewStatus;\r\n color: string | null;\r\n nextReviewStatusID: number;\r\n nextReviewStatus?: ReviewStatus;\r\n reviewActionRoles: ReviewActionRole[];\r\n}\r\n\r\nexport interface ReviewActionRole extends ReviewsModelBase {\r\n reviewStatusActionID: number;\r\n reviewStatusAction: ReviewStatusAction;\r\n roleID: number;\r\n role: Role;\r\n}\r\n\r\nexport interface ReviewBoard extends ReviewsModelBase {\r\n resourceID: number;\r\n resource?: Resource;\r\n reviewBoardTypeID: number;\r\n reviewBoardType?: ReviewBoardType;\r\n reviewCycles?: ReviewCycle[];\r\n}\r\n\r\nexport interface ReviewCycle extends ReviewsModelBase {\r\n location?: string | null;\r\n proposedTimeline: string;\r\n reviewBoardID: number;\r\n reviewBoard: ReviewBoard;\r\n resourceID?: number | null;\r\n resource?: Resource;\r\n reviews: Review[];\r\n serialNo: string;\r\n createdByUser?: User;\r\n reviewRequestStatus?: ReviewRequestStatus;\r\n}\r\n\r\nexport interface Review extends ReviewsModelBase {\r\n reviewCycleID: number;\r\n reviewCycle: ReviewCycle;\r\n reviewTypeID: number;\r\n reviewType: ReviewType;\r\n reviewDate: Date;\r\n reviewStatusID: number;\r\n reviewStatus: ReviewStatus;\r\n checklistTemplateID?: number;\r\n checklistTemplate: ChecklistTemplate;\r\n checklistID?: number;\r\n checklist: Checklist;\r\n reviewActionItems: ReviewActionItem[];\r\n previousReviewID?: number;\r\n previousReview?: Review;\r\n reviewAttendanceRosters: ReviewAttendanceRoster[];\r\n reviewExtensions?: ReviewExtension[];\r\n comments?: string;\r\n}\r\n\r\nexport interface SaveReview extends ReviewsModelBase {\r\n reviewCycleID?: number;\r\n reviewTypeID?: number;\r\n reviewDate?: Date;\r\n reviewStatusID?: number;\r\n checklistTemplateID?: number | null;\r\n checklistID?: number | null;\r\n comments?: string;\r\n}\r\n\r\nexport interface ReviewActionItem extends ReviewsModelBase {\r\n reviewID: number;\r\n review: Review;\r\n responsibleID?: number;\r\n responsible?: User;\r\n reviewActionItemTypeID?: number;\r\n reviewActionItemType?: ReviewActionItemType;\r\n startDate?: Date;\r\n endDate?: Date;\r\n wfTaskLocalID?: number | null;\r\n wfTaskLocal?: WfTaskLocalResource;\r\n closingComments?: string;\r\n closedByID?: number | null;\r\n closedOn?: Date | null;\r\n closedBy?: User;\r\n isCATL?: boolean;\r\n emailSent?: boolean;\r\n}\r\n\r\nexport interface ReviewActionItemType extends ReviewsModelBase {\r\n order: number;\r\n isStopper: boolean;\r\n reviewActionItems: ReviewActionItem[];\r\n}\r\n\r\nexport interface ReviewAttendanceRoster extends ReviewsModelBase {\r\n reviewID: number;\r\n userID: number;\r\n roleID: number;\r\n categoryID: number;\r\n attended?: boolean;\r\n accepted?: boolean;\r\n acceptedBy?: number;\r\n acceptedOn?: Date;\r\n review?: Review;\r\n user?: User;\r\n acceptedByUser?: User;\r\n role?: Role;\r\n category?: ReviewAttendanceCategory;\r\n}\r\n\r\nexport interface ReviewAttendanceCategory extends ReviewsModelBase {\r\n reviewAttendanceRosters?: ReviewAttendanceRoster[];\r\n preName: string;\r\n editing: boolean;\r\n order?: number;\r\n}\r\n\r\nexport interface ReviewSatisfactionCheck extends ReviewsModelBase {\r\n checklistID: number;\r\n checklist: Checklist;\r\n wfTaskLocalID: number;\r\n wfTaskLocal: WfTaskLocalResource;\r\n preCheck?: Satisfaction | null;\r\n preCheckByID?: number | null;\r\n preCheckBy?: User;\r\n preCheckOn?: Date | null;\r\n satisfaction?: Satisfaction | null;\r\n satisfactionCheckByID?: number | null;\r\n satisfactionCheckBy?: User | null;\r\n satisfactionCheckOn?: Date | null;\r\n comments?: string;\r\n}\r\n\r\nexport interface ReviewPermission extends ReviewsModelBase {\r\n privilege: PrivilegeEnum;\r\n reviewBoardTypeID: number;\r\n reviewBoardType: ReviewBoardType;\r\n hasStatusPermissions: boolean;\r\n rolePrivileges: RolePrivilege[];\r\n reviewStatusPermissions: ReviewStatusPermission[];\r\n}\r\n\r\nexport interface ReviewStatusPermission extends ReviewsModelBase {\r\n privilege: PrivilegeEnum;\r\n reviewStatusID: number;\r\n reviewPermissionID: number;\r\n reviewStatus?: ReviewStatus;\r\n reviewPermission?: ReviewPermission;\r\n}\r\n\r\nexport interface ReviewAttendanceSave extends ReviewsModelBase {\r\n reviewAttendanceSavedList: ReviewAttendanceSaveList[];\r\n replace: boolean;\r\n}\r\n\r\nexport interface ReviewAttendanceSaveSave extends ReviewsModelBase {\r\n reviewAttendanceSavedList: ReviewAttendanceSaveListSave[];\r\n}\r\n\r\nexport interface ReviewAttendanceSaveListSave extends ReviewsModelBase {\r\n reviewAttendanceSaveID: number;\r\n userID: number;\r\n roleID: number;\r\n categoryID: number;\r\n}\r\n\r\nexport interface ReviewAttendanceSaveList extends ReviewsModelBase {\r\n reviewAttendanceSaveID: number;\r\n userID: number;\r\n roleID: number;\r\n categoryID: number;\r\n user?: User | null;\r\n role?: Role | null;\r\n category?: ReviewAttendanceCategory;\r\n reviewAttendanceSave: ReviewAttendanceSave;\r\n}\r\n\r\nexport interface ReviewExtension extends ReviewsModelBase {\r\n reviewID: number;\r\n review: Review;\r\n extensionRequested: Date;\r\n extensionRequestedByID: number;\r\n extensionRequestedBy: User;\r\n extensionGranted?: Date;\r\n extensionGrantedByID?: number;\r\n extensionGrantedBy?: User;\r\n extensionRejected?: Date;\r\n extensionRejectedByID?: number;\r\n extensionRejectedBy?: User;\r\n comments?: string;\r\n}\r\n\r\nexport class ReviewRequestStatus {\r\n status!: ReviewCycleStatus;\r\n name!: string;\r\n icon!: string;\r\n color!: string;\r\n selected?: boolean;\r\n}\r\n\r\nexport enum ReviewTypesEnum {\r\n FULL = 1,\r\n MODF = 2\r\n}\r\n\r\nexport enum Satisfaction {\r\n Unsatisfied = -1,\r\n Indeterminate = 0,\r\n Satisfied = 1\r\n}\r\n\r\nexport enum ReviewStatusEnum {\r\n Draft = 1,\r\n InProgress = 2,\r\n Completed = 3,\r\n Canceled = 4,\r\n Expired = 5,\r\n Pending = 6\r\n}\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule, PreloadAllModules, Routes } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ReviewsActionItemsDetailsComponent } from './reviews-action-items/reviews-action-items-details/reviews-action-items-details.component';\r\nimport { ReviewsActionItemsCommentsComponent } from './reviews-action-items/reviews-action-items-comments/reviews-action-items-comments.component';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { ReviewsActionItemsCompleteComponent } from './reviews-action-items/reviews-action-items-details/reviews-action-items-complete/reviews-action-items-complete.component';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ReviewRequestComponent } from './reviews-requests/review-request/review-request.component';\r\nimport { ReviewsRequestsTableComponent } from './reviews-requests/reviews-requests-table/reviews-requests-table.component';\r\nimport { ReviewsRequestsComponent } from './reviews-requests/reviews-requests.component';\r\nimport { ReviewsComponent } from './reviews.component';\r\nimport { ReviewsSettingsComponent } from './reviews-settings/reviews-settings.component';\r\nimport { ReviewsSettingsBoardTypesComponent } from './reviews-settings/reviews-settings-board-types/reviews-settings-board-types.component';\r\nimport { ReviewsSettingsMenuComponent } from './reviews-settings/reviews-settings-menu/reviews-settings-menu.component';\r\nimport { ReviewsSettingsReviewTypesComponent } from './reviews-settings/reviews-settings-review-types/reviews-settings-review-types.component';\r\nimport { ReviewsSettingsReviewTypesDetailsComponent } from './reviews-settings/reviews-settings-review-types/reviews-settings-review-types-details/reviews-settings-review-types-details.component';\r\nimport { ReviewsSettingsStatusesComponent } from './reviews-settings/reviews-settings-statuses/reviews-settings-statuses.component';\r\nimport { ReviewsSettingsStatusesDetailsComponent } from './reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-details.component';\r\nimport { ReviewsSettingsStatusesActionsComponent } from './reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-actions/statuses-actions.component';\r\nimport { ReviewsSettingsStatusesActionsDetailsComponent } from './reviews-settings/reviews-settings-statuses/reviews-settings-statuses-details/reviews-settings-statuses-actions/statuses-actions-details/statuses-actions-details.component';\r\nimport { ReviewsIndexComponent } from './reviews-index/reviews-index.component';\r\nimport { ReviewsBoardsCyclesComponent } from './reviews-boards/reviews-boards-cycles/reviews-boards-cycles.component';\r\nimport { ReviewsBoardsComponent } from './reviews-boards/reviews-boards.component';\r\nimport { ReviewsBoardsReviewsComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews.component';\r\nimport { ReviewsActionItemsComponent } from './reviews-action-items/reviews-action-items.component';\r\nimport { ReviewAttachmentDocumentsComponent } from './reviews-attachments-documents/review-attachment-documents/review-attachment-documents.component';\r\nimport { ReviewsBoardsReviewsDetailsComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-details.component';\r\nimport { NGX_MAT_DATE_FORMATS, NgxMatDateFormats } from '@angular-material-components/datetime-picker';\r\nimport { ReviewsBoardsReviewCreateComponent } from './reviews-boards/reviews-boards-review-create/reviews-boards-review-create.component';\r\nimport { ReviewsBoardsReviewsDetailsTemplateComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-details-template/reviews-details-template.component';\r\nimport { ReviewsBoardsReviewsMembersComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/reviews-members.component';\r\nimport { ReviewAttendanceSavedEditComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/review-attendance-saved/saved-edit/saved-edit.component';\r\nimport { ReviewMembersComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-members/review-members.component';\r\nimport { ReviewAttendanceSaveComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-attendance-save/review-attendance-save.component';\r\nimport { ReviewAttendanceCategoriesComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/review-attendance-categories/review-attendance-categories.component';\r\nimport { LoadSavedRosterRightComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/right/load-saved-roster-right.component';\r\nimport { ReviewMembersLoadSavedRosterComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/load-saved-roster.component';\r\nimport { ReviewActionsRequestExtensionComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/review-actions/review-actions-request-extension/review-actions-request-extension.component';\r\nimport { ReviewsBoardsAddResourceComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-add-resource/reviews-boards-add-resource.component';\r\nimport { ReviewLinksComponent } from './reviews-attachments-documents/review-links/review-links.component';\r\nimport { ReviewAttachmentComponent } from './reviews-attachments-documents/review-attachment/review-attachment.component';\r\nimport { ReviewAttachmentTypesComponent } from './reviews-attachments-documents/review-attachment-types/review-attachment-types.component';\r\nimport { ReviewAttachmentTypeDetailsComponent } from './reviews-attachments-documents/review-attachment-types/review-attachment-type-details/review-attachment-type-details.component';\r\nimport { ReviewsActionItemTypesComponent } from './reviews-action-items/reviews-action-item-types/reviews-action-item-types.component';\r\nimport { ReviewsService } from './reviews.service';\r\nimport { ReviewIndexTableComponent } from './reviews-index/review-index-table/review-index-table.component';\r\nimport { ReviewsSettingsPermissionsStatusComponent } from './reviews-settings/reviews-settings-permissions/reviews-settings-permissions-status/reviews-settings-permissions-status.component';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { ReviewsSettingsPermissionsComponent } from './reviews-settings/reviews-settings-permissions/reviews-settings-permissions.component';\r\nimport { ReviewsSettingsPermissionsRolesComponent } from './reviews-settings/reviews-settings-permissions/reviews-settings-permissions-roles/reviews-settings-permissions-roles.component';\r\nimport { LoadSavedRosterLeftComponent } from './reviews-boards/reviews-boards-reviews/reviews-boards-reviews-details/reviews-boards-reviews-members/dialogs/load-saved/left/load-saved-roster-left.component';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\n\r\nconst CUSTOM_DATE_FORMATS: NgxMatDateFormats = {\r\n parse: {\r\n dateInput: 'l, LTS'\r\n },\r\n display: {\r\n dateInput: 'l, LTS',\r\n monthYearLabel: 'MMM YYYY',\r\n dateA11yLabel: 'LL',\r\n monthYearA11yLabel: 'MMMM YYYY'\r\n }\r\n};\r\n\r\nconst appRoutes: Routes = [\r\n { path: 'review-requests', component: ReviewsRequestsComponent, canDeactivate: [RedirectGuard] },\r\n { path: 'reviews/:type', component: ReviewsComponent, canDeactivate: [RedirectGuard] },\r\n // {\r\n // path: 'checklist-exec/:type',\r\n // component: ChecklistExecComponent\r\n // },\r\n // { path: 'rss-test-view-mode', component: ChecklistTempComponent }\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n ReviewsComponent,\r\n\r\n ReviewsIndexComponent,\r\n ReviewIndexTableComponent,\r\n\r\n ReviewAttachmentComponent,\r\n ReviewAttachmentDocumentsComponent,\r\n ReviewAttachmentTypesComponent,\r\n ReviewLinksComponent,\r\n ReviewAttachmentTypeDetailsComponent,\r\n\r\n ReviewsBoardsComponent,\r\n ReviewsBoardsCyclesComponent,\r\n ReviewsBoardsReviewsComponent,\r\n ReviewsBoardsReviewCreateComponent,\r\n ReviewsBoardsReviewsDetailsComponent,\r\n ReviewsBoardsReviewsDetailsTemplateComponent,\r\n ReviewsBoardsReviewsMembersComponent,\r\n ReviewsBoardsAddResourceComponent,\r\n\r\n ReviewsSettingsComponent,\r\n ReviewsSettingsBoardTypesComponent,\r\n ReviewsSettingsMenuComponent,\r\n ReviewsSettingsReviewTypesComponent,\r\n ReviewsSettingsReviewTypesDetailsComponent,\r\n ReviewsSettingsStatusesComponent,\r\n ReviewsSettingsStatusesDetailsComponent,\r\n ReviewsSettingsStatusesActionsComponent,\r\n ReviewsSettingsStatusesActionsDetailsComponent,\r\n ReviewsSettingsPermissionsComponent,\r\n ReviewsSettingsPermissionsStatusComponent,\r\n ReviewsSettingsPermissionsRolesComponent,\r\n\r\n ReviewRequestComponent,\r\n ReviewsRequestsComponent,\r\n ReviewsRequestsTableComponent,\r\n\r\n ReviewsActionItemsComponent,\r\n ReviewsActionItemsDetailsComponent,\r\n ReviewsActionItemsCompleteComponent,\r\n ReviewsActionItemsCommentsComponent,\r\n ReviewsActionItemTypesComponent,\r\n\r\n ReviewActionsRequestExtensionComponent,\r\n\r\n ReviewMembersComponent,\r\n ReviewAttendanceSaveComponent,\r\n ReviewAttendanceSavedEditComponent,\r\n ReviewAttendanceCategoriesComponent,\r\n ReviewMembersLoadSavedRosterComponent,\r\n LoadSavedRosterRightComponent,\r\n LoadSavedRosterLeftComponent\r\n\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n // MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n DatePipe,\r\n MatToolbarModule,\r\n // SavingModule,\r\n QuillModule.forRoot(),\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules,\r\n }\r\n ),\r\n SharedModule,\r\n ChecklistsModule,\r\n ChecklistComponentsModule,\r\n ],\r\n providers: [\r\n ReviewsService,\r\n { provide: NGX_MAT_DATE_FORMATS, useValue: CUSTOM_DATE_FORMATS }\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class ReviewsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable, OnInit, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Review, ReviewActionItem, ReviewActionItemType, ReviewAttendanceCategory, ReviewAttendanceRoster, ReviewBoard, ReviewBoardType, ReviewCycle, ReviewDocumentCategory, ReviewDocuments, ReviewPermission, ReviewSatisfactionCheck, ReviewStatus, ReviewStatusAction, ReviewStatusPermission, ReviewType, SaveReview, ReviewAttendanceSave, ReviewExtension, ReviewAttendanceSaveSave } from './reviews.models';\r\nimport { Store } from '@ngxs/store';\r\nimport { Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { AppStateService } from 'src/app/store/app-state-service';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { Document } from 'src/app/services/documents/documents';\r\nimport { initial } from 'lodash';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewsService extends BaseService {\r\n\r\n ApiBoardTypes = '/ReviewBoardTypes';\r\n ApiBoards = '/ReviewBoards';\r\n ApiReviews = '/Reviews';\r\n ApiReviewTypes = '/ReviewTypes';\r\n ApiReviewStatuses = '/ReviewStatuses';\r\n ApiReviewStatusActions = '/ReviewStatusActions';\r\n ApiReviewCycles = environment.urls.baseApiUrl + '/ReviewCycles/';\r\n ApiReviewAttendanceCategories = environment.urls.baseApiUrl + '/ReviewAttendanceCategories/';\r\n ApiReviewAttendanceRosters = environment.urls.baseApiUrl + '/ReviewAttendanceRosters/';\r\n ApiReviewActionItemTypes = '/ReviewActionItemTypes';\r\n ApiReviewActionItems = '/ReviewActionItems';\r\n ApiReviewSatisfactionChecks = '/ReviewSatisfactionChecks';\r\n ApiReviewPermissions = '/ReviewPermissions';\r\n ApiReviewStatusPermissions = '/ReviewStatusPermissions';\r\n ApiReviewExtensions = '/ReviewExtensions';\r\n ApiReviewDocumentCategory = '/ReviewDocumentCategory';\r\n ApiReviewDocuments = '/ReviewDocuments';\r\n ApiReviewAttendanceSave = environment.urls.baseApiUrl + '/ReviewAttendanceSave/';\r\n\r\n\r\n reviewPermissions!: ReviewPermission[];\r\n reviewPermissions$!: Observable;\r\n reviewPermissionsSubs!: Subscription;\r\n\r\n rolePrivileges!: RolePrivilege[];\r\n rolePrivileges$!: Observable;\r\n rolePrivilegesSubs!: Subscription;\r\n\r\n appStateSubs!: Subscription;\r\n loading!: boolean;\r\n index!: boolean;\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector, 'reviews')\r\n }\r\n\r\n Init() {\r\n if (!this.reviewPermissions && !this.rolePrivileges) {\r\n this.reviewPermissions$ = this.store.select(state => state.ReviewPermissions.data);\r\n this.reviewPermissionsSubs = this.reviewPermissions$.subscribe(data => {\r\n this.reviewPermissions = data ?? [];\r\n });\r\n this.rolePrivileges$ = this.store.select(state => state.RolePrivileges.data);\r\n this.rolePrivilegesSubs = this.rolePrivileges$.subscribe(data => {\r\n this.rolePrivileges = data ?? [];\r\n });\r\n }\r\n }\r\n\r\n\r\n //#region ReviewBoardTypes\r\n getReviewBoardTypes(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiBoardTypes);\r\n }\r\n\r\n getReviewBoardTypeById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiBoardTypes + '/' + id);\r\n }\r\n\r\n createReviewBoardType(reviewBoardType: ReviewBoardType): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiBoardTypes, reviewBoardType);\r\n }\r\n\r\n updateReviewBoardType(reviewBoardType: ReviewBoardType) {\r\n return this.http.put(this.BASE_URL + this.ApiBoardTypes + '/' + reviewBoardType.id, reviewBoardType);\r\n }\r\n\r\n deleteReviewBoardType(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiBoardTypes + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewTypes\r\n getReviewTypes(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewTypes);\r\n }\r\n\r\n getReviewTypeById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewTypes + '/' + id);\r\n }\r\n\r\n createReviewType(reviewType: ReviewType): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewTypes, reviewType);\r\n }\r\n\r\n updateReviewType(reviewType: ReviewType) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewTypes + '/' + reviewType.id, reviewType);\r\n }\r\n\r\n updateReviewTypeOrder(reviewType: ReviewType) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewTypes + '/Order/' + reviewType.id, reviewType);\r\n }\r\n\r\n deleteReviewType(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewTypes + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewBoards\r\n getReviewBoards(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiBoards);\r\n }\r\n\r\n getReviewBoardById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiBoards + '/' + id);\r\n }\r\n\r\n createReviewBoard(reviewBoard: ReviewBoard): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiBoards, reviewBoard);\r\n }\r\n\r\n updateReviewBoard(reviewBoard: ReviewBoard) {\r\n return this.http.put(this.BASE_URL + this.ApiBoards + '/' + reviewBoard.id, reviewBoard);\r\n }\r\n\r\n deleteReviewBoard(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiBoards + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region Reviews\r\n getReviews(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviews);\r\n }\r\n\r\n getReviewById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviews + '/' + id);\r\n }\r\n\r\n createReview(review: SaveReview): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviews, review);\r\n }\r\n\r\n updateReview(review: SaveReview) {\r\n return this.http.put(this.BASE_URL + this.ApiReviews + '/' + review.id, review);\r\n }\r\n\r\n deleteReview(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviews + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewStatuses\r\n getReviewStatuses(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewStatuses);\r\n }\r\n\r\n getReviewStatusById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewStatuses + '/' + id);\r\n }\r\n\r\n createReviewStatus(reviewstatus: ReviewStatus): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewStatuses, reviewstatus);\r\n }\r\n\r\n updateReviewStatus(reviewstatus: ReviewStatus) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewStatuses + '/' + reviewstatus.id, reviewstatus);\r\n }\r\n\r\n deleteReviewStatus(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewStatuses + '/' + id);\r\n }\r\n\r\n updateReviewStatusOrder(reviewStatus: ReviewStatus) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewStatuses + '/Order/' + reviewStatus.id, reviewStatus);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewStatusActions\r\n getReviewStatusActions(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewStatusActions);\r\n }\r\n\r\n getReviewStatusActionById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewStatusActions + '/' + id);\r\n }\r\n\r\n createReviewStatusAction(reviewStatusAction: ReviewStatusAction): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewStatusActions, reviewStatusAction);\r\n }\r\n\r\n updateReviewStatusAction(reviewStatusAction: ReviewStatusAction) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewStatusActions + '/' + reviewStatusAction.id, reviewStatusAction);\r\n }\r\n\r\n deleteReviewStatusAction(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewStatusActions + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewCycle\r\n getReviewCycles(): Observable {\r\n return this.http.get(this.ApiReviewCycles);\r\n }\r\n\r\n getReviewCycleById(id: number): Observable {\r\n return this.http.get(this.ApiReviewCycles + id);\r\n }\r\n\r\n createReviewCycle(reviewCycle: ReviewCycle): Observable {\r\n return this.http.post(this.ApiReviewCycles, reviewCycle);\r\n }\r\n\r\n sendReviewCycleEmail(reviewCycle: ReviewCycle) {\r\n const isTest = document.location.host !== 'ascc.als.lbl.gov';\r\n return this.http.post(this.ApiReviewCycles + 'Email/' + isTest, reviewCycle);\r\n }\r\n\r\n updateReviewCycle(reviewCycle: ReviewCycle): Observable {\r\n return this.http.put(this.ApiReviewCycles + reviewCycle.id, reviewCycle);\r\n }\r\n\r\n deleteReviewCycle(id: number) {\r\n return this.http.delete(this.ApiReviewCycles + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewAttendanceRoster\r\n getReviewAttendanceRosters(): Observable {\r\n return this.http.get(this.ApiReviewAttendanceRosters);\r\n }\r\n\r\n getReviewAttendanceRosterById(id: number): Observable {\r\n return this.http.get(this.ApiReviewAttendanceRosters + id);\r\n }\r\n\r\n createReviewAttendanceRoster(reviewAttendanceRoster: ReviewAttendanceRoster): Observable {\r\n return this.http.post(this.ApiReviewAttendanceRosters, reviewAttendanceRoster);\r\n }\r\n\r\n createGuestAttendanceRoster(reviewAttendanceRoster: ReviewAttendanceRoster): Observable {\r\n return this.http.post(this.ApiReviewAttendanceRosters + 'Guest', reviewAttendanceRoster);\r\n }\r\n\r\n // updateGuestAttendanceRoster(reviewAttendanceRoster: ReviewAttendanceRoster): Observable {\r\n // return this.http.post(this.ApiReviewAttendanceRosters + 'UpdateGuest', reviewAttendanceRoster);\r\n // }\r\n\r\n updateReviewAttendanceRoster(reviewAttendanceRoster: ReviewAttendanceRoster): Observable {\r\n return this.http.put(this.ApiReviewAttendanceRosters + reviewAttendanceRoster.id, reviewAttendanceRoster);\r\n }\r\n\r\n deleteReviewAttendanceRoster(id: number) {\r\n return this.http.delete(this.ApiReviewAttendanceRosters + id);\r\n }\r\n\r\n saveReviewAttendanceRoster(reviewAttendanceSave: ReviewAttendanceSave) {\r\n return this.http.post(this.ApiReviewAttendanceRosters + 'SaveList', reviewAttendanceSave);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewAttendanceSave\r\n getReviewAttendanceSaved(): Observable {\r\n return this.http.get(this.ApiReviewAttendanceSave);\r\n }\r\n\r\n getReviewAttendanceSavedById(id: number): Observable {\r\n return this.http.get(this.ApiReviewAttendanceSave + id);\r\n }\r\n\r\n createReviewAttendanceSaved(reviewAttendanceSave: ReviewAttendanceSave): Observable {\r\n return this.http.post(this.ApiReviewAttendanceSave, reviewAttendanceSave);\r\n }\r\n\r\n updateReviewAttendanceSaved(reviewAttendanceSave: ReviewAttendanceSaveSave): Observable {\r\n return this.http.put(this.ApiReviewAttendanceSave + reviewAttendanceSave.id, reviewAttendanceSave);\r\n }\r\n\r\n deleteReviewAttendanceSaved(id: number) {\r\n return this.http.delete(this.ApiReviewAttendanceSave + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewAttendanceCategory\r\n getReviewAttendanceCategories(): Observable {\r\n return this.http.get(this.ApiReviewAttendanceCategories);\r\n }\r\n\r\n getReviewAttendanceCategoryById(id: number): Observable {\r\n return this.http.get(this.ApiReviewAttendanceCategories + id);\r\n }\r\n\r\n createReviewAttendanceCategory(reviewAttendanceSave: ReviewAttendanceCategory): Observable {\r\n return this.http.post(this.ApiReviewAttendanceCategories, reviewAttendanceSave);\r\n }\r\n\r\n updateReviewAttendanceCategory(reviewAttendanceSave: ReviewAttendanceCategory): Observable {\r\n return this.http.put(this.ApiReviewAttendanceCategories + reviewAttendanceSave.id, reviewAttendanceSave);\r\n }\r\n\r\n deleteReviewAttendanceCategory(id: number) {\r\n return this.http.delete(this.ApiReviewAttendanceCategories + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewActionItemTypes\r\n getReviewActionItemTypes(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewActionItemTypes);\r\n }\r\n\r\n getReviewActionItemTypeById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewActionItemTypes + '/' + id);\r\n }\r\n\r\n createReviewActionItemType(reviewActionItemType: ReviewActionItemType): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewActionItemTypes, reviewActionItemType);\r\n }\r\n\r\n updateReviewActionItemType(reviewActionItemType: ReviewActionItemType) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewActionItemTypes + '/' + reviewActionItemType.id, reviewActionItemType);\r\n }\r\n\r\n deleteReviewActionItemType(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewActionItemTypes + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewActionItems\r\n getReviewActionItems(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewActionItems);\r\n }\r\n\r\n getReviewActionItemById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewActionItems + '/' + id);\r\n }\r\n\r\n createReviewActionItem(reviewActionItem: ReviewActionItem): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewActionItems, reviewActionItem);\r\n }\r\n\r\n updateReviewActionItem(reviewActionItem: ReviewActionItem) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewActionItems + '/' + reviewActionItem.id, reviewActionItem);\r\n }\r\n\r\n deleteReviewActionItem(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewActionItems + '/' + id);\r\n }\r\n\r\n sendemailNotification(reviewActionItem: ReviewActionItem) {\r\n return this.http.patch(this.BASE_URL + this.ApiReviewActionItems + '/sendEmail/', reviewActionItem);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewSatisfactionChecks\r\n getReviewSatisfactionChecks(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewSatisfactionChecks);\r\n }\r\n\r\n getReviewSatisfactionCheckById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewSatisfactionChecks + '/' + id);\r\n }\r\n\r\n createReviewSatisfactionCheck(reviewActionItemType: ReviewSatisfactionCheck): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewSatisfactionChecks, reviewActionItemType);\r\n }\r\n\r\n updateReviewSatisfactionCheck(reviewActionItemType: ReviewSatisfactionCheck) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewSatisfactionChecks + '/' + reviewActionItemType.id, reviewActionItemType);\r\n }\r\n\r\n deleteReviewSatisfactionCheck(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewSatisfactionChecks + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewPermissions\r\n getReviewPermissions(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewPermissions);\r\n }\r\n\r\n getReviewPermissionById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewPermissions + '/' + id);\r\n }\r\n\r\n createReviewPermission(reviewPermission: ReviewPermission): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewPermissions, reviewPermission);\r\n }\r\n\r\n updateReviewPermission(reviewPermission: ReviewPermission) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewPermissions + '/' + reviewPermission.id, reviewPermission);\r\n }\r\n\r\n deleteReviewPermission(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewPermissions + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewStatusPermissions\r\n getReviewStatusPermissions(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewStatusPermissions);\r\n }\r\n\r\n getReviewStatusPermissionById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewStatusPermissions + '/' + id);\r\n }\r\n\r\n createReviewStatusPermission(reviewActionItemType: ReviewStatusPermission): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewStatusPermissions, reviewActionItemType);\r\n }\r\n\r\n updateReviewStatusPermission(reviewActionItemType: ReviewStatusPermission) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewStatusPermissions + '/' + reviewActionItemType.id, reviewActionItemType);\r\n }\r\n\r\n deleteReviewStatusPermission(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewStatusPermissions + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region ReviewExtensions\r\n getReviewExtensions(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewExtensions);\r\n }\r\n\r\n getReviewExtensionById(id: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewExtensions + '/' + id);\r\n }\r\n\r\n createReviewExtension(reviewExtension: ReviewExtension): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewExtensions, reviewExtension);\r\n }\r\n\r\n updateReviewExtension(reviewExtension: ReviewExtension) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewExtensions + '/' + reviewExtension.id, reviewExtension);\r\n }\r\n\r\n deleteReviewExtension(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewExtensions + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region.ReviewDocumentCategory\r\n getReviewDocumentCategories(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewDocumentCategory);\r\n }\r\n\r\n createReviewDocumentCategory(reviewDocumentCategory: ReviewDocumentCategory): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewDocumentCategory, reviewDocumentCategory);\r\n }\r\n\r\n updateReviewDocumentCategory(reviewDocumentCategory: ReviewDocumentCategory) {\r\n return this.http.put(this.BASE_URL + this.ApiReviewDocumentCategory + '/' + reviewDocumentCategory.id, reviewDocumentCategory);\r\n }\r\n\r\n deleteReviewDocumentCategory(reviewCategoryId: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewDocumentCategory + '/' + reviewCategoryId);\r\n }\r\n //#endregion\r\n\r\n //#region.ReviewDocuments\r\n getReviewDocuments(): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewDocuments);\r\n }\r\n\r\n getReviewDocumentsByCategory(categoryId: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewDocuments + '/' + categoryId);\r\n }\r\n\r\n getReviewDocumentsByReview(idReview: number): Observable {\r\n return this.http.get(this.BASE_URL + this.ApiReviewDocuments + '/Review/' + idReview);\r\n }\r\n\r\n createReviewDocuments(reviewDocuments: ReviewDocuments[]): Observable {\r\n return this.http.post(this.BASE_URL + this.ApiReviewDocuments + '/Documents', reviewDocuments);\r\n }\r\n\r\n deleteReviewDocument(id: number) {\r\n return this.http.delete(this.BASE_URL + this.ApiReviewDocuments + '/' + id);\r\n }\r\n //#endregion\r\n\r\n //#region General Methods\r\n\r\n checkPrivilege(privilege: PrivilegeEnum, reviewBoardType: ReviewBoardType | null = null, reviewStatus: ReviewStatus | null = null) {\r\n this.Init();\r\n if (!this.currentUser) { return false; }\r\n if (this.currentUser?.userRole?.map(r => r.roleID).includes(Roles.SA) && privilege == PrivilegeEnum.ChangeSettings) {\r\n return true;\r\n }\r\n if (!reviewBoardType) {\r\n const rolePrivileges = this.rolePrivileges?.filter(x => x.privilege == privilege);\r\n return utils.intersect(rolePrivileges.map(r => r.roleID), this.currentUser.userRole?.map(u => u.roleID));\r\n }\r\n\r\n if (reviewBoardType && !reviewStatus) {\r\n const reviewPermissions = this.reviewPermissions.filter(x => x.privilege == privilege && x.reviewBoardTypeID == reviewBoardType.id);\r\n const rolePrivileges = reviewPermissions?.length ? reviewPermissions.map(p => p.rolePrivileges)?.reduce((acc, arr) => [...acc, ...arr]) : [];\r\n return utils.intersect(rolePrivileges.map(p => p.roleID), this.currentUser.userRole?.map(u => u.roleID));\r\n }\r\n\r\n if (reviewBoardType && reviewStatus) {\r\n const reviewPermissions = this.reviewPermissions.filter(x => x.privilege == privilege && x.reviewBoardTypeID == reviewBoardType.id && (x.reviewStatusPermissions.some(s => s.reviewStatusID == reviewStatus.id) && x.hasStatusPermissions || !x.hasStatusPermissions));\r\n const rolePrivileges = reviewPermissions?.length ? reviewPermissions.map(p => p.rolePrivileges)?.reduce((acc, arr) => [...acc, ...arr]) : [];\r\n return utils.intersect(rolePrivileges.map(p => p.roleID), this.currentUser.userRole?.map(u => u.roleID));\r\n }\r\n return false;\r\n }\r\n //#endregion\r\n}\r\n","import { ReviewActionItemType } from '../../reviews.models';\r\n\r\nexport class ReviewActionItemTypesRefresh {\r\n static readonly type = '[ReviewActionItemTypes] Refresh';\r\n}\r\n\r\nexport class ReviewActionItemTypesCreate {\r\n static readonly type = '[ReviewActionItemTypes] Create';\r\n\r\n constructor(public item: ReviewActionItemType) { }\r\n}\r\n\r\nexport class ReviewActionItemTypesUpdate {\r\n static readonly type = '[ReviewActionItemTypes] Update';\r\n\r\n constructor(public id: number, public item: ReviewActionItemType) { }\r\n}\r\n\r\nexport class ReviewActionItemTypesDelete {\r\n static readonly type = '[ReviewActionItemTypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewActionItemTypesCreate, ReviewActionItemTypesDelete, ReviewActionItemTypesRefresh, ReviewActionItemTypesUpdate } from './review-action-item-types.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewActionItemType } from '../../reviews.models';\r\n\r\nexport class ReviewActionItemTypesStateModel {\r\n data: ReviewActionItemType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewActionItemTypes',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewActionItemTypesState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewActionItemTypesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewActionItemTypesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewActionItemTypes().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewActionItemTypesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewActionItemTypesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewActionItemTypesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewActionItemTypesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewActionItemTypesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewActionItemTypesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewActionItemTypesActions from '../review-action-item-types/review-action-item-types.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewActionItemTypesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewActionItemTypesActions.ReviewActionItemTypesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_ACTION_ITEM_TYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewActionItemTypesActions.ReviewActionItemTypesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewActionItemTypesActions.ReviewActionItemTypesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewActionItemTypesActions.ReviewActionItemTypesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewActionItemTypesActions.ReviewActionItemTypesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewActionItem } from '../../reviews.models';\r\n\r\nexport class ReviewActionItemsRefresh {\r\n static readonly type = '[ReviewActionItems] Refresh';\r\n}\r\n\r\nexport class ReviewActionItemsCreate {\r\n static readonly type = '[ReviewActionItems] Create';\r\n\r\n constructor(public item: ReviewActionItem) { }\r\n}\r\n\r\nexport class ReviewActionItemsUpdate {\r\n static readonly type = '[ReviewActionItems] Update';\r\n\r\n constructor(public id: number, public item: ReviewActionItem) { }\r\n}\r\n\r\nexport class ReviewActionItemsDelete {\r\n static readonly type = '[ReviewActionItems] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewActionItemsCreate, ReviewActionItemsDelete, ReviewActionItemsRefresh, ReviewActionItemsUpdate } from './review-action-items.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewActionItem } from '../../reviews.models';\r\n\r\nexport class ReviewActionItemsStateModel {\r\n data: ReviewActionItem[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewActionItems',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewActionItemsState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewActionItemsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewActionItemsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewActionItems().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewActionItemsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewActionItemsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewActionItemsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewActionItemsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewActionItemsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewActionItemsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewActionItemsActions from '../review-action-items/review-action-items.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewActionItemsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewActionItemsActions.ReviewActionItemsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_ACTION_ITEMS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewActionItemsActions.ReviewActionItemsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewActionItemsActions.ReviewActionItemsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewActionItemsActions.ReviewActionItemsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewActionItemsActions.ReviewActionItemsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewAttendanceCategory } from '../../reviews.models';\r\n\r\nexport class ReviewAttendanceCategoriesRefresh {\r\n static readonly type = '[ReviewAttendanceCategories] Refresh';\r\n}\r\n\r\nexport class ReviewAttendanceCategoriesCreate {\r\n static readonly type = '[ReviewAttendanceCategories] Create';\r\n\r\n constructor(public item: ReviewAttendanceCategory) { }\r\n}\r\n\r\nexport class ReviewAttendanceCategoriesUpdate {\r\n static readonly type = '[ReviewAttendanceCategories] Update';\r\n\r\n constructor(public id: number, public item: ReviewAttendanceCategory) { }\r\n}\r\n\r\nexport class ReviewAttendanceCategoriesDelete {\r\n static readonly type = '[ReviewAttendanceCategories] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewAttendanceCategoriesCreate, ReviewAttendanceCategoriesDelete, ReviewAttendanceCategoriesRefresh, ReviewAttendanceCategoriesUpdate } from './review-attendance-category.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewAttendanceCategory } from '../../reviews.models';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class ReviewAttendanceCategoriesStateModel {\r\n data: ReviewAttendanceCategory[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewAttendanceCategories',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewAttendanceCategoriesState {\r\n constructor(\r\n private reviewsService: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewAttendanceCategoriesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewAttendanceCategoriesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.reviewsService.getReviewAttendanceCategories().toPromise().then(data => {\r\n patchState({ data: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(ReviewAttendanceCategoriesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewAttendanceCategoriesCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewAttendanceCategoriesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewAttendanceCategoriesUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.data);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(ReviewAttendanceCategoriesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewAttendanceCategoriesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewAttendanceCategories from '../review-attendance-category/review-attendance-category.action';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewAttendanceCategoriesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewAttendanceCategories.ReviewAttendanceCategoriesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_ATTENDANCE_CATEGORY, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewAttendanceCategories.ReviewAttendanceCategoriesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewAttendanceCategories.ReviewAttendanceCategoriesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewAttendanceCategories.ReviewAttendanceCategoriesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewAttendanceCategories.ReviewAttendanceCategoriesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewAttendanceRoster } from '../../reviews.models';\r\n\r\nexport class ReviewAttendanceRosterRefresh {\r\n static readonly type = '[ReviewAttendanceRoster] Refresh';\r\n}\r\n\r\nexport class ReviewAttendanceRosterCreate {\r\n static readonly type = '[ReviewAttendanceRoster] Create';\r\n\r\n constructor(public item: ReviewAttendanceRoster) { }\r\n}\r\n\r\nexport class ReviewAttendanceRosterUpdate {\r\n static readonly type = '[ReviewAttendanceRoster] Update';\r\n\r\n constructor(public id: number, public item: ReviewAttendanceRoster) { }\r\n}\r\n\r\nexport class ReviewAttendanceRosterDelete {\r\n static readonly type = '[ReviewAttendanceRoster] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewAttendanceRosterCreate, ReviewAttendanceRosterDelete, ReviewAttendanceRosterRefresh, ReviewAttendanceRosterUpdate } from './review-attendance-roster.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewAttendanceRoster } from '../../reviews.models';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class ReviewAttendanceRosterStateModel {\r\n reviewAttendanceRosters: ReviewAttendanceRoster[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewAttendanceRosters',\r\n defaults: {\r\n reviewAttendanceRosters: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewAttendanceRosterState {\r\n constructor(\r\n private reviewsService: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewAttendanceRosterStateModel) {\r\n return state.reviewAttendanceRosters;\r\n }\r\n\r\n @Action(ReviewAttendanceRosterRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.reviewsService.getReviewAttendanceRosters().toPromise().then(data => {\r\n patchState({ reviewAttendanceRosters: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(ReviewAttendanceRosterCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewAttendanceRosterCreate) {\r\n patchState({\r\n reviewAttendanceRosters: [...getState().reviewAttendanceRosters, item]\r\n });\r\n }\r\n\r\n @Action(ReviewAttendanceRosterUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewAttendanceRosterUpdate) {\r\n const state = getState();\r\n const index = state.reviewAttendanceRosters.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.reviewAttendanceRosters);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ reviewAttendanceRosters: currentState });\r\n }\r\n }\r\n\r\n @Action(ReviewAttendanceRosterDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewAttendanceRosterDelete) {\r\n patchState({\r\n reviewAttendanceRosters: getState().reviewAttendanceRosters.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { ReviewAttendanceSave } from '../../reviews.models';\r\n\r\nexport class ReviewAttendanceSaveRefresh {\r\n static readonly type = '[ReviewAttendanceSave] Refresh';\r\n}\r\n\r\nexport class ReviewAttendanceSaveCreate {\r\n static readonly type = '[ReviewAttendanceSave] Create';\r\n\r\n constructor(public item: ReviewAttendanceSave) { }\r\n}\r\n\r\nexport class ReviewAttendanceSaveUpdate {\r\n static readonly type = '[ReviewAttendanceSave] Update';\r\n\r\n constructor(public id: number, public item: ReviewAttendanceSave) { }\r\n}\r\n\r\nexport class ReviewAttendanceSaveDelete {\r\n static readonly type = '[ReviewAttendanceSave] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewAttendanceSaveCreate, ReviewAttendanceSaveDelete, ReviewAttendanceSaveRefresh, ReviewAttendanceSaveUpdate } from './review-attendance-save.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewAttendanceSave } from '../../reviews.models';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class ReviewAttendanceSaveStateModel {\r\n data: ReviewAttendanceSave[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewAttendanceSaved',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewAttendanceSaveState {\r\n constructor(\r\n private reviewsService: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewAttendanceSaveStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewAttendanceSaveRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.reviewsService.getReviewAttendanceSaved().toPromise().then(data => {\r\n patchState({ data: utils.cloneDeep(data?.sort((a, b) => utils.sort(a.name, b.name))) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(ReviewAttendanceSaveCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewAttendanceSaveCreate) {\r\n const state = getState();\r\n const currentState = utils.cloneDeep(state.data);\r\n const index = currentState.findIndex(x => x.id === item.id);\r\n if (index >= 0) {\r\n currentState.splice(index, 1);\r\n }\r\n currentState.push(item);\r\n currentState.sort((a, b) => utils.sort(a.name, b.name));\r\n patchState({\r\n data: currentState\r\n });\r\n }\r\n\r\n @Action(ReviewAttendanceSaveUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewAttendanceSaveUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.data);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(ReviewAttendanceSaveDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewAttendanceSaveDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewAttendanceSaveActions from '../review-attendance-save/review-attendance-save.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewAttendanceSaveStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new ReviewAttendanceSaveActions.ReviewAttendanceSaveRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_ATTENDANCE_SAVE, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewAttendanceSaveActions.ReviewAttendanceSaveCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewAttendanceSaveActions.ReviewAttendanceSaveUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewAttendanceSaveActions.ReviewAttendanceSaveDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewAttendanceSaveActions.ReviewAttendanceSaveRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewBoardType } from '../../reviews.models';\r\n\r\nexport class ReviewBoardTypesRefresh {\r\n static readonly type = '[ReviewBoardTypes] Refresh';\r\n}\r\n\r\nexport class ReviewBoardTypesCreate {\r\n static readonly type = '[ReviewBoardTypes] Create';\r\n\r\n constructor(public item: ReviewBoardType) { }\r\n}\r\n\r\nexport class ReviewBoardTypesUpdate {\r\n static readonly type = '[ReviewBoardTypes] Update';\r\n\r\n constructor(public id: number, public item: ReviewBoardType) { }\r\n}\r\n\r\nexport class ReviewBoardTypesDelete {\r\n static readonly type = '[ReviewBoardTypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewBoardTypesCreate, ReviewBoardTypesDelete, ReviewBoardTypesRefresh, ReviewBoardTypesUpdate } from './review-board-types.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewBoardType } from '../../reviews.models';\r\n\r\nexport class ReviewBoardTypesStateModel {\r\n data: ReviewBoardType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewBoardTypes',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewBoardTypesState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewBoardTypesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewBoardTypesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewBoardTypes().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewBoardTypesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewBoardTypesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewBoardTypesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewBoardTypesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewBoardTypesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewBoardTypesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewBoardTypesActions from '../../store/review-board-types/review-board-types.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewBoardTypesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewBoardTypesActions.ReviewBoardTypesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_BOARD_TYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewBoardTypesActions.ReviewBoardTypesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewBoardTypesActions.ReviewBoardTypesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewBoardTypesActions.ReviewBoardTypesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewBoardTypesActions.ReviewBoardTypesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewBoard } from \"../../reviews.models\";\r\n\r\nexport class ReviewBoardsRefresh {\r\n static readonly type = '[ReviewBoards] Refresh';\r\n}\r\n\r\nexport class ReviewBoardsCreate {\r\n static readonly type = '[ReviewBoards] Create';\r\n\r\n constructor(public item: ReviewBoard) { }\r\n}\r\n\r\nexport class ReviewBoardsUpdate {\r\n static readonly type = '[ReviewBoards] Update';\r\n\r\n constructor(public id: number, public item: ReviewBoard) { }\r\n}\r\n\r\nexport class ReviewBoardsDelete {\r\n static readonly type = '[ReviewBoards] Delete';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class ReviewBoardsRefreshByID {\r\n static readonly type = '[ReviewBoards] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewBoardsCreate, ReviewBoardsDelete, ReviewBoardsRefresh, ReviewBoardsRefreshByID, ReviewBoardsUpdate } from './review-boards.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewBoard } from '../../reviews.models';\r\nimport { A } from '@angular/cdk/keycodes';\r\n\r\nexport class ReviewBoardsStateModel {\r\n data: ReviewBoard[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewBoards',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewBoardsState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewBoardsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewBoardsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewBoards().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewBoardsRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: ReviewBoardsRefreshByID) {\r\n this._service.getReviewBoardById(id).toPromise().then(data => {\r\n if (data) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(data.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, data]\r\n });\r\n }\r\n });\r\n }\r\n\r\n @Action(ReviewBoardsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewBoardsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewBoardsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewBoardsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewBoardsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewBoardsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewBoardsActions from './review-boards.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewBoardsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewBoardsActions.ReviewBoardsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_BOARDS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewBoardsActions.ReviewBoardsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewBoardsActions.ReviewBoardsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewBoardsActions.ReviewBoardsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new ReviewBoardsActions.ReviewBoardsRefreshByID(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewBoardsActions.ReviewBoardsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewCycle } from '../../reviews.models';\r\n\r\nexport class ReviewCyclesRefresh {\r\n static readonly type = '[ReviewCycles] Refresh';\r\n}\r\n\r\nexport class ReviewsCyclesRefreshById {\r\n static readonly type = '[ReviewCycles] RefreshById';\r\n constructor(public id: number) { }\r\n}\r\nexport class ReviewCyclesCreate {\r\n static readonly type = '[ReviewCycles] Create';\r\n\r\n constructor(public item: ReviewCycle) { }\r\n}\r\n\r\nexport class ReviewCyclesUpdate {\r\n static readonly type = '[ReviewCycles] Update';\r\n\r\n constructor(public id: number, public item: ReviewCycle) { }\r\n}\r\n\r\nexport class ReviewCyclesDelete {\r\n static readonly type = '[ReviewCycles] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewCyclesCreate, ReviewCyclesDelete, ReviewCyclesRefresh, ReviewCyclesUpdate, ReviewsCyclesRefreshById } from './review-cycles.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewCycle } from '../../reviews.models';\r\n\r\nexport class ReviewCyclesStateModel {\r\n data: ReviewCycle[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewCycles',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewCyclesState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewCyclesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewCyclesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewCycles().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewsCyclesRefreshById)\r\n refreshById({ getState, patchState }: StateContext, { id }: ReviewsCyclesRefreshById) {\r\n this._service.getReviewCycleById(id).subscribe(item => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewCyclesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewCyclesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewCyclesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewCyclesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewCyclesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewCyclesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewCyclesActions from './review-cycles.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewCyclesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewCyclesActions.ReviewCyclesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_CYCLES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewCyclesActions.ReviewCyclesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewCyclesActions.ReviewCyclesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewCyclesActions.ReviewCyclesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewCyclesActions.ReviewCyclesRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new ReviewCyclesActions.ReviewsCyclesRefreshById(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewPermission } from \"../../reviews.models\";\r\n\r\nexport class ReviewPermissionsRefresh {\r\n static readonly type = '[ReviewPermissions] Refresh';\r\n}\r\n\r\nexport class ReviewPermissionsCreate {\r\n static readonly type = '[ReviewPermissions] Create';\r\n\r\n constructor(public item: ReviewPermission) { }\r\n}\r\n\r\nexport class ReviewPermissionsUpdate {\r\n static readonly type = '[ReviewPermissions] Update';\r\n\r\n constructor(public id: number, public item: ReviewPermission) { }\r\n}\r\n\r\nexport class ReviewPermissionsDelete {\r\n static readonly type = '[ReviewPermissions] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewPermissionsCreate, ReviewPermissionsDelete, ReviewPermissionsRefresh, ReviewPermissionsUpdate } from './review-permissions.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewPermission } from '../../reviews.models';\r\n\r\nexport class ReviewPermissionsStateModel {\r\n data: ReviewPermission[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewPermissions',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewPermissionsState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewPermissionsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewPermissionsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewPermissions().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewPermissionsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewPermissionsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewPermissionsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewPermissionsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewPermissionsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewPermissionsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewPermissionsActions from './review-permissions.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewPermissionsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewPermissionsActions.ReviewPermissionsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_PERMISSIONS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewPermissionsActions.ReviewPermissionsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewPermissionsActions.ReviewPermissionsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewPermissionsActions.ReviewPermissionsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewPermissionsActions.ReviewPermissionsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewSatisfactionCheck } from '../../reviews.models';\r\n\r\nexport class ReviewSatisfactionChecksRefresh {\r\n static readonly type = '[ReviewSatisfactionChecks] Refresh';\r\n}\r\n\r\nexport class ReviewSatisfactionChecksCreate {\r\n static readonly type = '[ReviewSatisfactionChecks] Create';\r\n\r\n constructor(public item: ReviewSatisfactionCheck) { }\r\n}\r\n\r\nexport class ReviewSatisfactionChecksUpdate {\r\n static readonly type = '[ReviewSatisfactionChecks] Update';\r\n\r\n constructor(public id: number, public item: ReviewSatisfactionCheck) { }\r\n}\r\n\r\nexport class ReviewSatisfactionChecksDelete {\r\n static readonly type = '[ReviewSatisfactionChecks] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewSatisfactionChecksCreate, ReviewSatisfactionChecksDelete, ReviewSatisfactionChecksRefresh, ReviewSatisfactionChecksUpdate } from './review-satisfaction-checks.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewSatisfactionCheck } from '../../reviews.models';\r\n\r\nexport class ReviewSatisfactionChecksStateModel {\r\n data!: ReviewSatisfactionCheck[];\r\n}\r\n\r\n@State({\r\n name: 'ReviewSatisfactionChecks',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewSatisfactionChecksState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewSatisfactionChecksStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewSatisfactionChecksRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewSatisfactionChecks().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewSatisfactionChecksCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewSatisfactionChecksCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewSatisfactionChecksUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewSatisfactionChecksUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewSatisfactionChecksDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewSatisfactionChecksDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewSatisfactionChecksActions from '../review-satisfaction-checks/review-satisfaction-checks.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewSatisfactionChecksStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewSatisfactionChecksActions.ReviewSatisfactionChecksRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_SATISFACTION_CHECKS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewSatisfactionChecksActions.ReviewSatisfactionChecksCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewSatisfactionChecksActions.ReviewSatisfactionChecksUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewSatisfactionChecksActions.ReviewSatisfactionChecksDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewSatisfactionChecksActions.ReviewSatisfactionChecksRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewStatus } from \"../../reviews.models\";\r\n\r\nexport class ReviewStatusRefresh {\r\n static readonly type = '[ReviewStatus] Refresh';\r\n}\r\n\r\nexport class ReviewStatusCreate {\r\n static readonly type = '[ReviewStatus] Create';\r\n\r\n constructor(public item: ReviewStatus) { }\r\n}\r\n\r\nexport class ReviewStatusUpdate {\r\n static readonly type = '[ReviewStatus] Update';\r\n\r\n constructor(public id: number, public item: ReviewStatus) { }\r\n}\r\n\r\nexport class ReviewStatusDelete {\r\n static readonly type = '[ReviewStatus] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewStatus } from '../../reviews.models';\r\nimport { ReviewStatusRefresh, ReviewStatusCreate, ReviewStatusUpdate, ReviewStatusDelete } from './review-status.action';\r\n\r\nexport class ReviewStatusStateModel {\r\n data: ReviewStatus[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewStatus',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewStatusState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewStatusStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewStatusRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewStatuses().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewStatusCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewStatusCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewStatusUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewStatusUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewStatusDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewStatusDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewStatusActions from './review-status.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewStatusStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewStatusActions.ReviewStatusRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_STATUS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewStatusActions.ReviewStatusCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewStatusActions.ReviewStatusUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewStatusActions.ReviewStatusDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewStatusActions.ReviewStatusRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ReviewType } from '../../reviews.models';\r\n\r\nexport class ReviewTypesRefresh {\r\n static readonly type = '[ReviewTypes] Refresh';\r\n}\r\n\r\nexport class ReviewTypesCreate {\r\n static readonly type = '[ReviewTypes] Create';\r\n\r\n constructor(public item: ReviewType) { }\r\n}\r\n\r\nexport class ReviewTypesUpdate {\r\n static readonly type = '[ReviewTypes] Update';\r\n\r\n constructor(public id: number, public item: ReviewType) { }\r\n}\r\n\r\nexport class ReviewTypesDelete {\r\n static readonly type = '[ReviewTypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewTypesCreate, ReviewTypesDelete, ReviewTypesRefresh, ReviewTypesUpdate } from './review-types.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { ReviewType } from '../../reviews.models';\r\n\r\nexport class ReviewTypesStateModel {\r\n data: ReviewType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ReviewTypes',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewTypesState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewTypesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewTypesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviewTypes().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewTypesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewTypesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewTypesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewTypesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewTypesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewTypesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewTypesActions from '../review-types/review-types.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewTypesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewTypesActions.ReviewTypesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEW_TYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewTypesActions.ReviewTypesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewTypesActions.ReviewTypesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewTypesActions.ReviewTypesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewTypesActions.ReviewTypesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Review } from \"../../reviews.models\";\r\n\r\nexport class ReviewsRefresh {\r\n static readonly type = '[Reviews] Refresh';\r\n}\r\n\r\nexport class ReviewsRefreshById {\r\n static readonly type = '[Reviews] RefreshById';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class ReviewsCreate {\r\n static readonly type = '[Reviews] Create';\r\n\r\n constructor(public item: Review) { }\r\n}\r\n\r\nexport class ReviewsUpdate {\r\n static readonly type = '[Reviews] Update';\r\n\r\n constructor(public id: number, public item: Review) { }\r\n}\r\n\r\nexport class ReviewsDelete {\r\n static readonly type = '[Reviews] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ReviewsCreate, ReviewsDelete, ReviewsRefresh, ReviewsRefreshById, ReviewsUpdate } from './reviews.action';\r\nimport { ReviewsService } from '../../reviews.service';\r\nimport { Review } from '../../reviews.models';\r\n\r\nexport class ReviewsStateModel {\r\n data: Review[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Reviews',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ReviewsState {\r\n constructor(\r\n private _service: ReviewsService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ReviewsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ReviewsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getReviews().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewsRefreshById)\r\n refreshById({ getState, patchState }: StateContext, { id }: ReviewsRefreshById) {\r\n this._service.getReviewById(id).subscribe(item => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ReviewsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ReviewsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ReviewsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ReviewsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ReviewsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ReviewsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ReviewsActions from './reviews.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReviewsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ReviewsActions.ReviewsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.REVIEWS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ReviewsActions.ReviewsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ReviewsActions.ReviewsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ReviewsActions.ReviewsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ReviewsActions.ReviewsRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new ReviewsActions.ReviewsRefreshById(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { RSSWAResource } from '../../rsswa';\r\nimport { Checklist, ChecklistExecStatus } from 'src/app/components/checklists/checklists';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { RSSFunctionalTest } from '../../rss-functional-test';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'rss-functional-test-list',\r\n templateUrl: './rss-functional-test-list.component.html',\r\n styleUrls: ['./rss-functional-test-list.component.scss']\r\n})\r\nexport class RssFunctionalTestListComponent implements OnChanges {\r\n\r\n @Input() rsswa?: RSSWAResource | null;\r\n @Input() showAmendment?: boolean;\r\n\r\n hasChecklists?: boolean;\r\n formStatusEnum = FormStatusEnum;\r\n rssFunctionalTests?: RSSFunctionalTest[];\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (!this.showAmendment)\r\n this.rssFunctionalTests = this.rsswa?.rssFunctionalTests;\r\n else this.rssFunctionalTests = this.rsswa?.rsswaAmendment?.rssFunctionalTests;\r\n\r\n this.rssFunctionalTests?.map(ft => {\r\n if (ft.checklist) {\r\n ft.checklist.name = ft.name;\r\n this.hasChecklists = true;\r\n }\r\n else if (ft.checklistTemplate)\r\n ft.checklist = { name: ft.checklistTemplate.name, checklistTemplate: ft.checklistTemplate, checklistStatus: { cssClass: 'gray' } as ChecklistExecStatus } as Checklist;\r\n });\r\n }\r\n\r\n checkDifferences() {\r\n if (this.showAmendment) {\r\n return !utils.isEquivalent(this.rsswa?.rssFunctionalTests?.map(t => t.checklistTemplateID) ?? [], this.rsswa?.rsswaAmendment?.rssFunctionalTests?.map(t => t.checklistTemplateID) ?? []);\r\n }\r\n return false;\r\n }\r\n\r\n}","
    \r\n
    \r\n
    RSS Functional Tests
    \r\n Tests will be available on form Activation\r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n","import { Component, Inject, Injector, OnDestroy, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ChecklistBuilderService } from 'src/app/components/checklists/checklist-builder/checklist-builder.service';\r\nimport { ChecklistTempComponent } from 'src/app/components/checklists/checklist-temp/checklist-temp.component';\r\nimport { TemplateType, ChecklistTemplate, TemplateRolePermission, Checklist } from 'src/app/components/checklists/checklists';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { ScheduleStatusEnum } from 'src/app/components/schedules/models/enums';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { RSSFunctionalTestService } from 'src/app/services/rss-functional-test/rss-functional-test.service';\r\nimport { WFSectionLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { RSSFunctionalTest } from '../../rss-functional-test';\r\nimport { RSSWAResource } from '../../rsswa';\r\nimport { BaseComponent } from '../../../../common/base/base.component';\r\nimport { ResourceAutocompleteComponent } from 'src/app/controls/resources/resource-autocomplete/resource-autocomplete.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { ChecklistBuilderDuplicateComponent } from 'src/app/components/checklists/checklist-builder/checklist-builder-duplicate/checklist-builder-duplicate.component';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { TasksUpdateAll } from 'src/app/components/checklists/store/tasks/task.action';\r\nimport { StepError } from 'src/app/components/checklists/checklist-builder/checklist-builder.component';\r\nimport { ChecklistBuilderSectionsComponent } from 'src/app/components/checklists/checklist-builder/checklist-builder-sections/checklist-builder-sections.component';\r\nimport { TemplateTypesRefresh } from 'src/app/components/checklists/store/template-types/template-types.action';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistTemplatesRefreshById } from 'src/app/components/checklists/store/checklist-templates/checklist-templates.action';\r\n\r\nexport class ChecklistBuilderPopupParameters {\r\n public rsswa!: RSSWAResource;\r\n public amendment?: boolean;\r\n public rssFunctionalTest?: RSSFunctionalTest;\r\n}\r\n\r\n@Component({\r\n selector: 'rss-functional-test-popup',\r\n templateUrl: './rss-functional-test-popup.component.html',\r\n styleUrls: ['./rss-functional-test-popup.component.scss']\r\n})\r\nexport class RSSFunctionalTestPopupComponent extends BaseComponent implements OnInit, OnDestroy {\r\n documentType$!: Observable;\r\n documentTypeSubscription!: Subscription;\r\n rssTestDocumentType!: DocumentType;\r\n rssFunctionalTestDocumentType!: DocumentType;\r\n\r\n checklistTemplate?: ChecklistTemplate;\r\n checklistTemplates$!: Observable;\r\n checklistTemplatesSubs!: Subscription;\r\n\r\n templateType?: TemplateType;\r\n templateType$!: Observable;\r\n templateTypeSubscription!: Subscription;\r\n templateTypes!: TemplateType[];\r\n\r\n schedule$!: Observable;\r\n scheduleSubscription!: Subscription;\r\n schedules!: Schedule[];\r\n\r\n rssTestTemplates: ChecklistTemplate[] = [];\r\n rssFunctionalTestTemplates: ChecklistTemplate[] = [];\r\n rssTestTemplatesDS = new MatTableDataSource();\r\n rssFunctionalTestTemplatesDS = new MatTableDataSource();\r\n checklistTemplateColumns: string[] = ['version', 'resource', 'type', 'duplicate'];\r\n\r\n loadingRSSTestTemplates = false;\r\n loadingRSSFunctionalTestTemplates = false;\r\n loadingShutters = false;\r\n loading = false;\r\n name!: string;\r\n sections?: WFSectionLocalResource[];\r\n\r\n rssFunctionalTest!: RSSFunctionalTest;\r\n resource?: Resource;\r\n resources: Resource[] = [];\r\n rssTestRolePermissions!: TemplateRolePermission[];\r\n rssFunctionalTestRolePermissions!: TemplateRolePermission[];\r\n\r\n nameCtrl = new FormControl();\r\n\r\n errorMessages?: StepError[];\r\n @ViewChild(ChecklistBuilderSectionsComponent) sectionsComponent!: ChecklistBuilderSectionsComponent;\r\n\r\n @ViewChild(ResourceAutocompleteComponent) resourceAutocomplete!: ResourceAutocompleteComponent;\r\n createFrom = '1';\r\n\r\n constructor(\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: ChecklistBuilderPopupParameters,\r\n public dialogRef: MatDialogRef,\r\n private checklistBuilderService: ChecklistBuilderService,\r\n private checklistService: ChecklistsService,\r\n private rssFunctionalTestService: RSSFunctionalTestService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n if (data.rssFunctionalTest) {\r\n this.rssFunctionalTest = data.rssFunctionalTest;\r\n this.checklistTemplate = this.rssFunctionalTest.checklistTemplate;\r\n }\r\n this.store.dispatch(new TemplateTypesRefresh());\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadingRSSTestTemplates = true;\r\n this.loadingRSSFunctionalTestTemplates = true;\r\n this.loadingShutters = true;\r\n this.loading = true;\r\n\r\n this.loadDocumentTypes();\r\n\r\n this.loadingShutters = false;\r\n this.loading = !(!this.loadingShutters && !this.loadingRSSTestTemplates && !this.loadingRSSFunctionalTestTemplates);\r\n\r\n this.getChecklistTemplates();\r\n this.loadChecklistTemplates();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.templateTypeSubscription?.unsubscribe();\r\n this.checklistTemplatesSubs?.unsubscribe();\r\n\r\n if (!this.rssFunctionalTest && this.checklistTemplate) {\r\n this.checklistBuilderService.deleteChecklistTemplate(this.checklistTemplate, 'RSS Functional Test not saved').subscribe();\r\n }\r\n }\r\n\r\n getChecklistTemplates() {\r\n this.checklistBuilderService.getChecklistTemplatesByDocumentTypeID(FormType.RSSTEST).subscribe(\r\n data => {\r\n this.rssTestTemplates.push(...data.filter(x => x.code == 'ACTIVE'));\r\n this.rssFunctionalTestTemplates.push(...data.filter(x => x.code == 'TEMP'));\r\n this.rssTestTemplatesDS.data = this.rssTestTemplates;\r\n this.rssFunctionalTestTemplatesDS.data = this.rssFunctionalTestTemplates;\r\n },\r\n error => this.alert.error(error.error),\r\n () => {\r\n this.loadingRSSTestTemplates = false;\r\n this.loading = !(!this.loadingShutters && !this.loadingRSSTestTemplates && !this.loadingRSSFunctionalTestTemplates);\r\n },\r\n );\r\n\r\n this.checklistBuilderService.getChecklistTemplatesByDocumentTypeID(FormType.RSSFT).subscribe(\r\n data => {\r\n this.rssFunctionalTestTemplates.push(...data.filter(x => x.code == 'ACTIVE' || x.code == 'TEMP'));\r\n this.rssTestTemplatesDS.data = this.rssTestTemplates;\r\n this.rssFunctionalTestTemplatesDS.data = this.rssFunctionalTestTemplates;\r\n },\r\n error => this.alert.error(error.error),\r\n () => {\r\n this.loadingRSSFunctionalTestTemplates = false;\r\n this.loading = !(!this.loadingShutters && !this.loadingRSSTestTemplates && !this.loadingRSSFunctionalTestTemplates);\r\n },\r\n );\r\n\r\n this.checklistBuilderService.getTemplateRolePermissionsByDocumentTypeID(FormType.RSSTEST).subscribe(\r\n data => this.rssTestRolePermissions = data.filter(x => x.templateTypeID === 0),\r\n error => this.alert.error(error.error),\r\n );\r\n\r\n this.checklistBuilderService.getTemplateRolePermissionsByDocumentTypeID(FormType.RSSFT).subscribe(\r\n data => {\r\n this.rssFunctionalTestRolePermissions = data.filter(x => x.templateTypeID === 0);\r\n this.checklistBuilderService.documentRolePermissions = this.rssFunctionalTestRolePermissions;\r\n },\r\n error => this.alert.error(error.error),\r\n );\r\n }\r\n\r\n loadChecklistTemplates() {\r\n this.checklistTemplates$ = this.store.select(state => state.ChecklistTemplates.data);\r\n this.checklistTemplatesSubs = this.checklistTemplates$.subscribe(data => {\r\n if (data?.length && this.checklistTemplate) {\r\n const checklistTemplate = data.find(t => t.id == this.checklistTemplate?.id);\r\n if (checklistTemplate) {\r\n this.checklistTemplate = checklistTemplate;\r\n this.setValues();\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentType$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypeSubscription = this.documentType$.subscribe(documentTypes => {\r\n if (documentTypes) {\r\n this.rssTestDocumentType = documentTypes?.filter(x => x.id == FormType.RSSTEST)[0];\r\n this.rssFunctionalTestDocumentType = documentTypes?.filter(x => x.id == FormType.RSSFT)[0];\r\n this.loadTemplateTypes();\r\n }\r\n });\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateType$ = this.store.select(state => state.TemplateTypes.data);\r\n this.templateTypeSubscription = this.templateType$.subscribe(templateTypes => {\r\n if (templateTypes) {\r\n this.templateTypes = templateTypes?.filter(x => x.status == 1 && x.documentTypeID == FormType.RSSFT);\r\n this.loadSchedules();\r\n }\r\n\r\n });\r\n }\r\n\r\n loadSchedules() {\r\n this.resources = [];\r\n this.schedule$ = this.store.select(state => state.Schedules.data);\r\n this.scheduleSubscription = this.schedule$.subscribe(schedules => {\r\n this.schedules = schedules.filter(x => x.typeId == 5 && (x.statusId == ScheduleStatusEnum.new || x.statusId == ScheduleStatusEnum.extensionGranted || x.statusId == ScheduleStatusEnum.refuseExtension || x.statusId == ScheduleStatusEnum.requestExtension));\r\n\r\n this.schedules.map(schedule => {\r\n schedule.name = schedule.scheduleResources.map(val => {\r\n const names = [];\r\n if (!val.resourceId && !val.resourceString?.includes('(EC')) {\r\n names.push(val.resourceString);\r\n } else {\r\n if (val.resource) {\r\n names.push(val.resource.name);\r\n }\r\n }\r\n return names;\r\n }).join('');\r\n schedule.description = schedule.scheduleResources.map(val => {\r\n const descs = [];\r\n if (!val.resourceId && !val.resourceString?.includes('(EC')) {\r\n descs.push(val.resourceString);\r\n } else {\r\n if (val.resource) {\r\n descs.push(val.resource.description);\r\n }\r\n }\r\n return descs;\r\n }).join('');\r\n\r\n const res = schedule.scheduleResources.filter(x => x.resource).map(x => x.resource);\r\n res.map(r => {\r\n if (r)\r\n this.resources.push(r);\r\n });\r\n });\r\n this.resources.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n if (this.checklistTemplate) this.setValues();\r\n });\r\n }\r\n\r\n createTemplate() {\r\n const checklistTemplate = this.checklistBuilderService.getNewChecklistTemplate(this.rssFunctionalTestDocumentType, this.templateType, null, this.resource, null, '');\r\n checklistTemplate.status = -1;\r\n checklistTemplate.name = this.name;\r\n\r\n this.loading = true;\r\n this.checklistBuilderService.createChecklistTemplate(checklistTemplate).subscribe(\r\n data => {\r\n this.checklistTemplate = data;\r\n this.setValues();\r\n },\r\n error => this.alert.error(error.error),\r\n () => this.loading = false,\r\n );\r\n }\r\n\r\n checkEnableCreate() {\r\n var enable = true;\r\n if (!this.name) {\r\n enable = false;\r\n }\r\n\r\n if (!this.templateType) {\r\n enable = false;\r\n }\r\n\r\n if (this.templateType?.resourceTypeID && !this.resource?.id) {\r\n enable = false;\r\n }\r\n return !enable;\r\n }\r\n\r\n duplicate(checklistTemplate: ChecklistTemplate) {\r\n switch (checklistTemplate.documentTypeID) {\r\n case FormType.RSSTEST:\r\n this.duplicateRSSTest(checklistTemplate);\r\n break;\r\n\r\n case FormType.RSSFT:\r\n this.duplicateRSSFunctionalTest(checklistTemplate);\r\n break;\r\n }\r\n }\r\n\r\n duplicateRSSTest(checklistTemplate: ChecklistTemplate) {\r\n const schedule = this.schedules.filter(x => x?.scheduleResources?.filter(x => x?.resourceId == this.resource?.id).length > 0)[0];\r\n const schedules = this.schedules;\r\n this.dialog.open(ChecklistBuilderDuplicateComponent, {\r\n data: {\r\n templateType: checklistTemplate?.templateType,\r\n documentType: this.rssTestDocumentType,\r\n templateVersion: checklistTemplate,\r\n resource: checklistTemplate?.resource,\r\n schedule,\r\n schedules,\r\n documentRolePermissions: this.rssTestRolePermissions,\r\n temp: true,\r\n documentTypeID: FormType.RSSFT\r\n },\r\n disableClose: true,\r\n autoFocus: false,\r\n width: '60vw'\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data?.duplicatedVersion) {\r\n this.checklistTemplate = data.duplicatedVersion;\r\n this.store.dispatch(new ChecklistTemplatesRefreshById(this.checklistTemplate!.id));\r\n }\r\n }\r\n );\r\n }\r\n\r\n duplicateRSSFunctionalTest(checklistTemplate: ChecklistTemplate) {\r\n this.dialog.open(ChecklistBuilderDuplicateComponent, {\r\n data: {\r\n templateType: checklistTemplate?.templateType,\r\n documentType: this.rssFunctionalTestDocumentType,\r\n templateVersion: checklistTemplate,\r\n resource: checklistTemplate?.resource,\r\n resources: this.resources,\r\n documentRolePermissions: this.rssFunctionalTestRolePermissions,\r\n temp: true,\r\n documentTypeID: FormType.RSSFT\r\n },\r\n disableClose: true,\r\n autoFocus: false,\r\n width: '60vw'\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data?.duplicatedVersion) {\r\n this.checklistTemplate = data.duplicatedVersion;\r\n this.store.dispatch(new ChecklistTemplatesRefreshById(this.checklistTemplate!.id));\r\n }\r\n }\r\n );\r\n }\r\n\r\n createRSSFunctionalTest() {\r\n if (!this.rssFunctionalTest) {\r\n this.loading = true;\r\n const rssFunctionalTest: RSSFunctionalTest = {\r\n name: this.name,\r\n rsswaID: this.data.rsswa.id,\r\n checklistTemplateID: this.checklistTemplate?.id ?? 0,\r\n };\r\n\r\n this.rssFunctionalTestService.create(rssFunctionalTest, this.data.amendment).subscribe(\r\n data => {\r\n this.rssFunctionalTest = data;\r\n this.setFormDirty(false);\r\n this.dialogRef.close(data);\r\n },\r\n error => {\r\n this.alert.error(error.error);\r\n this.loading = false;\r\n },\r\n () => this.loading = false,\r\n );\r\n }\r\n else this.dialogRef.close();\r\n }\r\n\r\n openViewMode(checklistTemplate: ChecklistTemplate) {\r\n this.dialog.open(ChecklistTempComponent, {\r\n minWidth: '60vw',\r\n disableClose: true,\r\n data: {\r\n checklistTemplate,\r\n }\r\n })\r\n .afterClosed().toPromise().then((checklist: Checklist) => {\r\n if (checklist) {\r\n this.checklistService.deleteChecklist(checklist.id).toPromise();\r\n }\r\n });\r\n }\r\n\r\n setValues() {\r\n this.loading = true;\r\n setTimeout(() => {\r\n if (this.checklistTemplate) {\r\n this.checklistBuilderService.getchecklistTemplateById(this.checklistTemplate.id).toPromise().then(data => {\r\n this.checklistTemplate = data;\r\n this.storeTasks();\r\n this.getErrors();\r\n this.name = (this.checklistTemplate?.name != '' ? this.checklistTemplate?.name : this.rssFunctionalTest?.name) ?? '';\r\n this.templateType = this.templateTypes?.find(t => t.id == this.checklistTemplate?.templateTypeID);\r\n this.resource = this.resources.find(r => r.id == this.checklistTemplate?.resourceID);\r\n this.cdRef.detectChanges();\r\n if (this.resource) {\r\n const selection = { option: { value: this.resource } } as MatAutocompleteSelectedEvent;\r\n this.resourceAutocomplete?.select(selection);\r\n }\r\n if (this.checklistTemplate?.resourceID) {\r\n if (this.checklistTemplate.resourceID <= 0) {\r\n this.checklistTemplate.resourceID = null;\r\n }\r\n }\r\n this.checklistBuilderService.setChecklistTemplate(this.checklistTemplate);\r\n this.sections = this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals?.sort((a, b) => this.utils.sort(a.order, b.order));\r\n this.loading = false;\r\n });\r\n }\r\n }, 300);\r\n }\r\n\r\n storeTasks() {\r\n const wfTaskLocals =\r\n this.checklistTemplate?.wfTable?.wfTableLocal?.wfSectionLocals?.flatMap(\r\n (s) => s.wfStepLocals?.flatMap((z) => z.wfTaskLocals ?? []) ?? []\r\n ) ?? [];\r\n\r\n this.store.dispatch(new TasksUpdateAll(wfTaskLocals));\r\n }\r\n\r\n getErrors() {\r\n setTimeout(() => {\r\n this.errorMessages = [];\r\n this.sectionsComponent?.sectionComponents.filter(s => !s.section.logID).map((s) => {\r\n s.stepsComponent?.stepComponents.filter(z => !z.step.logID).map((x) => {\r\n if (x.statusError) {\r\n const statusErrorMessage =\r\n 'Wrong status Settings on Step: ' +\r\n s.section.number +\r\n ' ' +\r\n s.section.name +\r\n ', Step: ' +\r\n (x.step.name ? x.step.name : 'Unnamed Step');\r\n this.errorMessages?.push({\r\n stepId: x.step.id,\r\n text: statusErrorMessage,\r\n });\r\n }\r\n if (!x.enabledOn || x.enabledOn.length == 0) {\r\n this.errorMessages?.push({\r\n stepId: x.step.id,\r\n text:\r\n 'No Status Set on Step: ' +\r\n s.section.number +\r\n ' ' +\r\n s.section.name +\r\n ', Step: ' +\r\n (x.step.name ? x.step.name : 'Unnamed Step'),\r\n });\r\n }\r\n x.tasksComponent?.taskComponents.filter(t => !t.task.logID).map((t) => {\r\n if (t.hasErrors()) {\r\n const errorMessage =\r\n t.errorMessage +\r\n ' in Section: ' +\r\n s.section.number +\r\n ' ' +\r\n s.section.name +\r\n ', Step: ' +\r\n x.step.name +\r\n ', Task: ' +\r\n t.task.name;\r\n this.errorMessages?.push({\r\n stepId: x.step.id,\r\n taskId: t.task.id,\r\n text: errorMessage,\r\n });\r\n }\r\n });\r\n });\r\n });\r\n }, 1000);\r\n }\r\n\r\n async cancel() {\r\n if (this.rssFunctionalTest || (await this.canDeactivate())) {\r\n this.dialogRef.close();\r\n }\r\n }\r\n\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ checklistTemplate ? \"Edit\" : \"Create\" }} RSS Functional Test\r\n Template\r\n
    \r\n\r\n
    \r\n from:\r\n \r\n Scratch\r\n Existing RSS Functional Test Template\r\n Existing RSS Test Template\r\n \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Name\r\n \r\n Name cannot be empty!\r\n \r\n
    \r\n
    \r\n \r\n Type\r\n \r\n \r\n {{ templateType.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n Create\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
    \r\n Version\r\n \r\n {{ e.serialNo }}\r\n \r\n Resource\r\n \r\n {{ e.resource?.name }}\r\n \r\n Type\r\n \r\n {{ e.templateType?.name }}\r\n \r\n \r\n content_copy\r\n \r\n \r\n visibility\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
    \r\n Version\r\n \r\n {{ e.serialNo }}\r\n \r\n Resource\r\n \r\n {{ e.resource?.name }}\r\n \r\n Type\r\n \r\n {{ e.templateType?.name }}\r\n \r\n \r\n content_copy\r\n \r\n \r\n visibility\r\n \r\n
    \r\n
    \r\n Click on content_copy button\r\n to Create!\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n 0) && !isFormDirty()\r\n \"\r\n (click)=\"createRSSFunctionalTest()\"\r\n >\r\n Save\r\n \r\n
    \r\n
    \r\n Changes in Template are Saved Automatically\r\n
    \r\n
    \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { RSSFunctionalTest } from '../../../rss-functional-test';\r\nimport { RSSFunctionalTestService } from 'src/app/services/rss-functional-test/rss-functional-test.service';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { ChecklistTempComponent } from 'src/app/components/checklists/checklist-temp/checklist-temp.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { RSSWAResource } from '../../../rsswa';\r\n\r\n@Component({\r\n selector: 'rss-functional-test-chips',\r\n templateUrl: './rss-functional-test-chips.component.html',\r\n styleUrls: ['./rss-functional-test-chips.component.scss']\r\n})\r\nexport class RssFunctionalTestChipsComponent extends BaseComponent implements OnInit {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() rsswa?: RSSWAResource | null;\r\n\r\n @Input() rssFunctionalTests?: RSSFunctionalTest[];\r\n @Input() showAmendment: boolean = false;\r\n @Input() control!: FormControl;\r\n\r\n @Output() edit = new EventEmitter();\r\n @Output() remove = new EventEmitter();\r\n @Output() error = new EventEmitter();\r\n\r\n loading: boolean = false;\r\n editPrivilege: boolean | null = false;\r\n deletePrivilege: boolean | null = false;\r\n\r\n constructor(\r\n private rssFunctionalTestService: RSSFunctionalTestService,\r\n private checklistService: ChecklistsService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.editPrivilege = this.hasPrivilege(PrivilegeEnum.RSSFunctionalTestEdit);\r\n this.deletePrivilege = this.hasPrivilege(PrivilegeEnum.RSSFunctionalTestDelete);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.control.disable();\r\n // if (!this.disabled)\r\n // this.control.enable();\r\n }\r\n\r\n removeRSSFunctionalTest(rssFunctionalTest: RSSFunctionalTest) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: 'Are you sure you want to delete the RSS functional test?',\r\n icon: 'warn'\r\n },\r\n }).afterClosed().subscribe(\r\n data => {\r\n if (data && rssFunctionalTest?.id) {\r\n this.loading = true;\r\n this.rssFunctionalTestService.delete(rssFunctionalTest.id, this.showAmendment).subscribe(\r\n () => {\r\n this.alert.success(\"The RSS functional test was deleted\");\r\n this.remove.emit(rssFunctionalTest.id);\r\n },\r\n error => this.error.emit(error.error),\r\n () => this.loading = false,\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n editRSSFunctionalTest(rssFunctionalTest: RSSFunctionalTest) {\r\n this.edit.emit(rssFunctionalTest);\r\n }\r\n\r\n openViewMode(rssFunctionalTest: RSSFunctionalTest) {\r\n this.dialog.open(ChecklistTempComponent, {\r\n minWidth: '60vw',\r\n disableClose: true,\r\n data: {\r\n checklistTemplate: rssFunctionalTest.checklistTemplate,\r\n }\r\n })\r\n .afterClosed().toPromise().then((checklist: Checklist) => {\r\n if (checklist) {\r\n this.checklistService.deleteChecklist(checklist.id).toPromise();\r\n }\r\n });\r\n }\r\n\r\n checkDifferences() {\r\n if (this.showAmendment) {\r\n return !this.utils.isEquivalent(this.rsswa?.rssFunctionalTests ?? [], this.rssFunctionalTests ?? []);\r\n }\r\n return false;\r\n }\r\n\r\n}\r\n","\r\n {{ placeholder }}\r\n \r\n \r\n ' +\r\n (rssFunctionalTest.createdOn | date : 'medium')\r\n \"\r\n matTooltipClass=\"tooltip-yellow tooltip-wide\"\r\n (click)=\"openViewMode(rssFunctionalTest)\"\r\n >{{ rssFunctionalTest.name }}\r\n create\r\n cancel\r\n \r\n \r\n \r\n {{ getErrorMsg(control) }} \r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter, ViewChild, ElementRef, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';\r\n// import { RSSWAAcceleratorLocation } from 'src/app/_interface/RSSWA/RSSWAAcceleratorLocation';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { FormControl } from '@angular/forms';\r\n// import { Resource } from 'src/app/_interface/Resources.models';\r\n// import { ResourcesService } from 'src/app/Services/resources.service';\r\nimport { Store } from '@ngxs/store';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { RSSWAAcceleratorLocation } from '../../../rsswa-accelerator-location';\r\n\r\n@Component({\r\n selector: 'rsswa-accelerator-location-chips',\r\n templateUrl: './rsswa-accelerator-location-chips.component.html',\r\n styleUrls: ['./rsswa-accelerator-location-chips.component.scss']\r\n})\r\nexport class RsswaAcceleratorLocationChipsComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() rsswaId?: number;\r\n @Input() locations?: RSSWAAcceleratorLocation[];\r\n @Input() exceptions!: Resource[][];\r\n @Input() hilite!: boolean | null;\r\n\r\n @Output() onError = new EventEmitter();\r\n @Output() onEdit = new EventEmitter();\r\n\r\n @ViewChild('locationAutocomplete') locationAutocomplete?: MatAutocomplete;\r\n @ViewChild('locationInput') locationInput?: ElementRef;\r\n\r\n\r\n constructor(\r\n public resourceService: ResourcesService,\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n\r\n }\r\n\r\n select(event: MatAutocompleteSelectedEvent) {\r\n var location: Resource = event.option.value;\r\n if (!this.locations) this.locations = [];\r\n this.locations?.push({\r\n rsswaID: this.rsswaId,\r\n resourceID: location.id,\r\n resource: location\r\n });\r\n this.clear();\r\n this.onEdit.emit(this.locations);\r\n }\r\n\r\n remove(rsswaAcceleratorLocation: RSSWAAcceleratorLocation) {\r\n const index = this.locations?.indexOf(rsswaAcceleratorLocation) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.locations?.splice(index, 1);\r\n this.clear();\r\n this.onEdit.emit(this.locations);\r\n }\r\n }\r\n\r\n clear() {\r\n if (this.locationInput != null) this.locationInput.nativeElement.value = '';\r\n if (this.control != null) this.control.setValue(null);\r\n }\r\n\r\n}\r\n","\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { FormControl } from '@angular/forms';\r\nimport { RSSWAOtherSystem } from 'src/app/controls/other-system-chips/other-system';\r\n\r\n@Component({\r\n selector: 'rsswa-other-system-chips',\r\n templateUrl: './rsswa-other-system-chips.component.html',\r\n styleUrls: ['./rsswa-other-system-chips.component.scss']\r\n})\r\nexport class RsswaOtherSystemChipsComponent implements OnInit {\r\n @Input() placeholder?: string;\r\n @Input() disabled?: boolean;\r\n @Input() control!: FormControl;\r\n @Input() rsswaId?: number;\r\n @Input() rsswaOtherSystems?: RSSWAOtherSystem[];\r\n\r\n @Output() onEdit = new EventEmitter();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n add(event: MatChipInputEvent) {\r\n const input = event.input;\r\n const value = event.value;\r\n\r\n if (input) {\r\n input.value = '';\r\n }\r\n\r\n if (!this.rsswaOtherSystems) this.rsswaOtherSystems = [];\r\n if (value.trim() != '') {\r\n this.rsswaOtherSystems?.push({\r\n rsswaID: this.rsswaId,\r\n text: value\r\n });\r\n this.onEdit.emit(this.rsswaOtherSystems);\r\n }\r\n }\r\n\r\n remove(rsswaOtherSystem: RSSWAOtherSystem) {\r\n const index = this.rsswaOtherSystems?.indexOf(rsswaOtherSystem) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.rsswaOtherSystems?.splice(index, 1);\r\n this.onEdit.emit(this.rsswaOtherSystems);\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ rsswaOtherSystem.text }}\r\n cancel\r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, OnInit, OnChanges, Input, Output, EventEmitter, ViewChild, ElementRef, SimpleChanges } from '@angular/core';\r\nimport { AbstractControl, FormGroup } from '@angular/forms';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { RSSWAPerformingWorkUser } from '../../../rsswa-performing-work-user';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'rsswa-performing-work-user-chips',\r\n templateUrl: './rsswa-performing-work-user-chips.component.html',\r\n styleUrls: ['./rsswa-performing-work-user-chips.component.scss']\r\n})\r\nexport class RsswaPerformingWorkUserChipsComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() rsswaId!: number;\r\n @Input() selectedRsswaPerformingWorkUsers?: RSSWAPerformingWorkUser[];\r\n @Input() errorMessage!: string | null;\r\n @Input() hilite!: boolean | null;\r\n\r\n @Output() error = new EventEmitter();\r\n @Output() edit = new EventEmitter();\r\n\r\n @ViewChild(\"userAutocomplete\") userAutocomplete?: MatAutocomplete;\r\n @ViewChild(\"userInput\") userInput?: ElementRef;\r\n\r\n allUsers?: User[];\r\n availableUsers?: User[];\r\n filteredUsers?: User[];\r\n\r\n public get chipInputCtrl(): AbstractControl | null { return this.formGroup?.get(\"chipInputCtrl\"); }\r\n\r\n ngOnInit(): void {\r\n this.allUsers = [];\r\n this.availableUsers = [];\r\n this.filteredUsers = [];\r\n this.allUsers = this.getUsers();\r\n this.availableUsers = utils.cloneDeep(this.allUsers);\r\n this.filteredUsers = utils.cloneDeep(this.allUsers);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (\"selectedRsswaPerformingWorkUsers\" in changes) {\r\n this.setAvailableUsers();\r\n this.clear();\r\n }\r\n this.buildForm();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n chipInputCtrl: [{ value: null }],\r\n });\r\n if (this.disabled) this.formGroup.disable(); else this.formGroup.enable();\r\n }\r\n\r\n select(event: MatAutocompleteSelectedEvent) {\r\n var user: User = event.option.value;\r\n if (user?.id)\r\n this.selectedRsswaPerformingWorkUsers?.push({\r\n rsswaID: this.rsswaId,\r\n userID: user.id,\r\n user: user\r\n });\r\n this.setAvailableUsers();\r\n this.clear();\r\n this.edit.emit();\r\n }\r\n\r\n remove(rsswaPerformingWorkUser: RSSWAPerformingWorkUser) {\r\n const index = this.selectedRsswaPerformingWorkUsers?.indexOf(rsswaPerformingWorkUser) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.selectedRsswaPerformingWorkUsers?.splice(index, 1);\r\n this.setAvailableUsers();\r\n this.clear();\r\n this.edit.emit();\r\n }\r\n }\r\n\r\n clear() {\r\n if (this.userInput != null) this.userInput.nativeElement.value = \"\";\r\n if (this.chipInputCtrl) this.chipInputCtrl.setValue(null);\r\n }\r\n\r\n setAvailableUsers() {\r\n this.availableUsers = [];\r\n this.allUsers = this.getUsers();\r\n if (this.selectedRsswaPerformingWorkUsers == null) this.selectedRsswaPerformingWorkUsers = [];\r\n this.availableUsers = utils.cloneDeep(this.allUsers);\r\n this.selectedRsswaPerformingWorkUsers.map(x => {\r\n const index = this.availableUsers?.map(y => y.id).indexOf(x.userID) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.availableUsers?.splice(index, 1);\r\n }\r\n });\r\n this.filteredUsers = utils.cloneDeep(this.availableUsers);\r\n }\r\n\r\n onUserInputKeyup(e: any) {\r\n const text = e.target.value;\r\n const code = e.code;\r\n if (!code?.includes(\"Arrow\")) {\r\n this.filteredUsers = this.availableUsers?.filter(x => x.name?.trim().toLowerCase().includes(text.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{\r\n rsswaPerformingWorkUser == null\r\n ? \"\"\r\n : rsswaPerformingWorkUser.user?.name\r\n }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ user == null ? \"\" : user.name }}\r\n \r\n \r\n {{ errorMessage }}\r\n \r\n \r\n
    \r\n","import { Component, OnInit, Input, Output, EventEmitter, ViewChild, ElementRef, OnChanges, SimpleChanges } from '@angular/core';\r\n// import { RSSWAShutter } from 'src/app/_interface/RSSWA/RSSWAShutter';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { FormControl } from '@angular/forms';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { RSSWAShutter } from '../../../rsswa-shutter';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\n// import { ResourcesService } from 'src/app/Services/resources.service';\r\n// import { Resource, ShutterResource } from 'src/app/_interface/Resources.models';\r\n\r\n@Component({\r\n selector: 'rsswa-shutter-chips',\r\n templateUrl: './rsswa-shutter-chips.component.html',\r\n styleUrls: ['./rsswa-shutter-chips.component.scss']\r\n})\r\nexport class RsswaShutterChipsComponent implements OnInit, OnChanges {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() rsswaId?: number;\r\n @Input() selectedRsswaShutters?: RSSWAShutter[];\r\n @Input() hilite!: boolean | null;\r\n\r\n @Output() onError = new EventEmitter();\r\n @Output() onEdit = new EventEmitter();\r\n\r\n @ViewChild('shutterAutocomplete') shutterAutocomplete?: MatAutocomplete;\r\n @ViewChild('shutterInput') shutterInput?: ElementRef;\r\n\r\n resources?: Resource[];\r\n availableResources?: Resource[];\r\n filteredResources?: Resource[];\r\n\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n constructor(\r\n private store: Store\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.resources = [];\r\n this.availableResources = [];\r\n this.filteredResources = [];\r\n this.loadResources();\r\n // this.resourceService.getResourcesByType(7).subscribe(\r\n // (data : Resource[]) => {\r\n // data.map(x => {\r\n // this.allResources.push(x);\r\n // this.availableResources.push(x);\r\n // this.filteredResources.push(x);\r\n // });\r\n // },\r\n // error => {\r\n // this.onError.emit(error.error);\r\n // }\r\n // );\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if ('selectedRsswaShutters' in changes) {\r\n this.setAvailableResources();\r\n this.clear();\r\n }\r\n if (this.disabled)\r\n this.control.disable();\r\n else\r\n this.control.enable();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length) {\r\n this.resources = data.filter(r => r.type == ResourceType.Shutter).sort((a, b) => utils.sort(a.name, b.name, true));\r\n this.availableResources = utils.cloneDeep(this.resources);\r\n this.filteredResources = utils.cloneDeep(this.resources);\r\n }\r\n });\r\n }\r\n\r\n selected(event: MatAutocompleteSelectedEvent) {\r\n var shutter: Resource = event.option.value;\r\n this.selectedRsswaShutters?.push({\r\n rsswaID: this.rsswaId,\r\n resourceID: shutter.id,\r\n resource: shutter\r\n });\r\n this.setAvailableResources();\r\n this.clear();\r\n this.onEdit.emit(this.selectedRsswaShutters);\r\n }\r\n\r\n remove(rsswaShutter: RSSWAShutter) {\r\n const index = this.selectedRsswaShutters?.indexOf(rsswaShutter) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.selectedRsswaShutters?.splice(index, 1);\r\n this.setAvailableResources();\r\n this.clear();\r\n this.onEdit.emit(this.selectedRsswaShutters);\r\n }\r\n }\r\n\r\n clear() {\r\n if (this.shutterInput != null) this.shutterInput.nativeElement.value = '';\r\n if (this.control != null) this.control.setValue(null);\r\n }\r\n\r\n setAvailableResources() {\r\n this.availableResources = [];\r\n // if (!this.resources) this.resources = []\r\n if (this.selectedRsswaShutters == null) this.selectedRsswaShutters = [];\r\n this.availableResources = utils.cloneDeep(this.resources);\r\n // this.resources?.map(x => this.availableResources?.push(x));\r\n this.selectedRsswaShutters.map(x => {\r\n if (x.resource) {\r\n const index = this.availableResources?.map(a => a.id).indexOf(x.resource.id) ?? -1;\r\n if (index >= 0) {\r\n this.availableResources?.splice(index, 1);\r\n }\r\n }\r\n });\r\n this.filteredResources = [];\r\n this.availableResources?.map(x => this.filteredResources?.push(x));\r\n }\r\n\r\n onShutterInputKeyup(e: any) {\r\n const code = e.code;\r\n const text = e.target.value;\r\n if (!code?.includes(\"Arrow\")) {\r\n this.filteredResources = this.availableResources?.filter(x => x.name?.trim().toLowerCase().includes(text.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ rsswaShutter.resource == null ? \"\" : rsswaShutter.resource.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ resource == null ? \"\" : resource.name }}\r\n \r\n \r\n \r\n
    \r\n","import { Component, Injector, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { LogToShowResource } from 'src/app/services/logs/log-to-show-resource';\r\nimport { SignResource } from 'src/app/services/logs/signs';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { WorkPerformer } from 'src/app/services/work-performer/work-performer';\r\nimport { WorkerVerification } from 'src/app/services/worker-verification/worker-verification';\r\nimport { RSSWAResource } from '../../rsswa';\r\nimport { RSSWAAcceleratorLocation } from '../../rsswa-accelerator-location';\r\nimport { RSSWAShutter } from '../../rsswa-shutter';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { RelatedDocument } from 'src/app/services/documents/documents';\r\n\r\n@Component({\r\n selector: 'rsswa-log',\r\n templateUrl: './rsswa-log.component.html',\r\n styleUrls: ['./rsswa-log.component.scss']\r\n})\r\nexport class RsswaLogComponent extends BaseComponent implements OnChanges {\r\n @Input() rsswa?: RSSWAResource | null;\r\n\r\n workerVerifications?: WorkerVerification[];\r\n workerVerifications$!: Observable;\r\n workerVerificationsSubs!: Subscription;\r\n\r\n generalLogs: LogToShowResource = {};\r\n show = false;\r\n signLogs?: SignResource[] = [];\r\n amendmentsLogs: SignResource[] = [];\r\n loading = false;\r\n hasOriginal = false;\r\n originalBody!: RSSWAResource;\r\n amendmentsList: number[] = [];\r\n // MatPaginator Inputs\r\n length = 100;\r\n pageSize = 5;\r\n pageSizeOptions: number[] = [5, 10, 25];\r\n\r\n constructor(\r\n private wfService: WorkFlowService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadWorkerVerifications();\r\n }\r\n\r\n loadWorkerVerifications() {\r\n this.workerVerifications$ = this.store.select(state => state.WorkerVerification.data);\r\n this.workerVerificationsSubs = this.workerVerifications$.subscribe(data => {\r\n this.workerVerifications = data.filter(x => x.form == this.rsswa?.type && x.formID == this.rsswa?.id);\r\n this.refresh();\r\n });\r\n }\r\n\r\n refresh() {\r\n if (this.rsswa && this.rsswa.status !== FormStatusEnum.Canceled) {\r\n this.loading = true;\r\n this.wfService.getLogsBySn(this.rsswa.serialNo).subscribe(async response => {\r\n this.generalLogs = response;\r\n this.show = false;\r\n if (this.generalLogs !== null && this.generalLogs !== undefined && this.generalLogs.type === 2) {\r\n this.show = true;\r\n }\r\n this.fillLogs();\r\n for (const wv of this.workerVerifications ?? []) {\r\n const WorkerVerificationSignature: SignResource = {\r\n name: 'Worker Verification',\r\n signedBy: wv.user?.name,\r\n signedOn: wv.date,\r\n amendmentId: 0,\r\n };\r\n this.generalLogs.signs?.push(WorkerVerificationSignature);\r\n }\r\n this.generalLogs.signs = this.generalLogs.signs?.sort((a, b) => utils.sort(a.signedOn, b.signedOn));\r\n this.signLogs = this.generalLogs.signs?.filter(s => s.amendmentId === 0);\r\n });\r\n } else {\r\n this.show = false;\r\n }\r\n }\r\n\r\n fillLogs() {\r\n if (this.generalLogs.originalBody) {\r\n this.generalLogs.originalBodyRSSWA = JSON.parse(this.generalLogs.originalBody) as RSSWAResource;\r\n this.generalLogs.originalBodyRSSWA.createdByName = this.getUser(this.generalLogs.originalBodyRSSWA.createdBy)?.name;\r\n this.generalLogs.originalBodyRSSWA.requesterName = this.getUser(this.generalLogs.originalBodyRSSWA.requesterId)?.name;\r\n this.originalBody = this.generalLogs.originalBodyRSSWA as RSSWAResource;\r\n this.hasOriginal = true;\r\n }\r\n this.fillUpdates();\r\n }\r\n\r\n fillUpdates() {\r\n if (this.generalLogs?.originalBodyRSSWA?.wfTableID) {\r\n // #REGION SET AMENDMENTSLIST\r\n let wfSignatures = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 9)?.wfSignatures;\r\n wfSignatures = wfSignatures?.filter(s => s.taskID !== 0);\r\n this.amendmentsList = this.getAmendmentList(wfSignatures);\r\n // #END REGION SET AMENDMENTSLIST\r\n if (this.generalLogs.updates && this.generalLogs.updates.length > 0) {\r\n this.generalLogs.updates.map(update => {\r\n if (update.oldBody) {\r\n update.oldBodyRSSWA = JSON.parse(update.oldBody);\r\n if (update.oldBodyRSSWA) {\r\n update.oldBodyRSSWA.createdByName = this.getUser(update.oldBodyRSSWA.createdBy)?.name;\r\n update.oldBodyRSSWA.requesterName = this.getUser(update.oldBodyRSSWA.requesterId)?.name;\r\n }\r\n }\r\n });\r\n }\r\n }\r\n this.loading = false;\r\n }\r\n\r\n findIndex(amendmentId?: number): number {\r\n if (amendmentId !== null && amendmentId !== 0) {\r\n let fakeAmendmentId = this.amendmentsList.findIndex(amid => amid === amendmentId);\r\n if (fakeAmendmentId !== -1) {\r\n fakeAmendmentId += 1;\r\n return fakeAmendmentId;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n return amendmentId;\r\n }\r\n\r\n getAmendmentList(wfSignatures?: any[]): number[] {\r\n let olderAmendmentId = -1;\r\n let res: number[] = [];\r\n for (const t of wfSignatures ?? []) {\r\n if (t.amendmentID !== olderAmendmentId) {\r\n olderAmendmentId = t.amendmentID;\r\n res.push(olderAmendmentId);\r\n }\r\n }\r\n res = [...new Set(res)].sort((a, b) => a - b);\r\n return res;\r\n }\r\n\r\n setPageSizeOptions(setPageSizeOptionsInput: string) {\r\n this.pageSizeOptions = setPageSizeOptionsInput.split(',').map(str => +str);\r\n }\r\n\r\n mapLocations(Locations: any[]) {\r\n return Locations.map(({ name }) => name).join(', ');\r\n }\r\n\r\n mapWorkPerformers(workPerformers?: WorkPerformer[]) {\r\n return workPerformers?.map(({ name }) => name).join(', ');\r\n }\r\n\r\n maprelatedDocument(RelatedDocuments?: RelatedDocument[]) {\r\n return RelatedDocuments?.map(({ relatedDocumentSerialNo }) => relatedDocumentSerialNo).join(', ');\r\n }\r\n\r\n mapSystemsAffected(originalBody?: RSSWAResource) {\r\n const TopOff = originalBody?.topOff;\r\n const RadiationMonitoringSystem = originalBody?.radiationMonitoringSystem;\r\n const Beamline = originalBody?.beamLine;\r\n const Accelerator = originalBody?.accelerator;\r\n let res = TopOff ? 'Top-Off, ' : '';\r\n if (RadiationMonitoringSystem) {\r\n res += 'Radiation Monitoring System, ';\r\n }\r\n if (Beamline) {\r\n res += 'Beamline, ';\r\n }\r\n if (Accelerator) {\r\n res += 'Accelerator, ';\r\n }\r\n const rsswaOtherSystems = originalBody?.rsswaOtherSystems?.map(({ text }) => text).join(', ') + ', ';\r\n res += rsswaOtherSystems;\r\n if (res.length > 3) {\r\n res = res.substr(0, res.length - 2);\r\n }\r\n return res;\r\n }\r\n\r\n mapRSSWAShutters(rsswaShutters?: RSSWAShutter[]): string {\r\n let res = '';\r\n if (rsswaShutters)\r\n for (const rsswaShutter of rsswaShutters) {\r\n res += (rsswaShutter.resource === null ? '' : rsswaShutter.resource?.name) + ', ';\r\n }\r\n if (res.length > 3) {\r\n res = res.substr(0, res.length - 2);\r\n }\r\n return res;\r\n }\r\n\r\n mapRSSWAAcceleratorLocations(Locations?: RSSWAAcceleratorLocation[]) {\r\n let res = '';\r\n if (Locations)\r\n for (const location of Locations) {\r\n res += (location.resource === null ? '' : location.resource?.name) + ', ';\r\n }\r\n if (res.length > 3) {\r\n res = res.substr(0, res.length - 2);\r\n }\r\n return res;\r\n }\r\n\r\n getRSSWALogHeadText(amendmentId?: number): string {\r\n const fakeAmendmentId = this.findIndex(amendmentId);\r\n const res = fakeAmendmentId === 1 ? 'Initial Values' : 'Amendment ' + (fakeAmendmentId !== 0 ? (fakeAmendmentId - 1).toString() : 'Cancelled');\r\n return res;\r\n }\r\n\r\n getRSSWALogFooterText(amendmentId?: number): string {\r\n const res = 'Amendment ' + this.findIndex(amendmentId);\r\n return res;\r\n }\r\n}\r\n","
    History Log
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n {{\r\n signature.signedOn | date : \"medium\"\r\n }}\r\n arrow_right_alt\r\n\r\n \r\n {{ signature.name }} by\r\n {{ signature.signedBy }} \r\n comment\r\n \r\n {{ signature.reason }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Initial Values \r\n \r\n
    \r\n
    \r\n \r\n
    1. Description of Work
    \r\n \r\n
    \r\n Creation Date: \r\n {{ originalBody.createdOn }}\r\n
    \r\n
    \r\n \r\n
    \r\n Operator initiating form: \r\n {{ originalBody.createdByName }}\r\n
    \r\n
    \r\n \r\n
    \r\n Requester: \r\n {{ originalBody.requesterName }}\r\n
    \r\n
    \r\n \r\n
    \r\n Related Documents: \r\n \r\n Empty\r\n \r\n \r\n {{ maprelatedDocument(originalBody.relatedDocuments) }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Estimated Start Date: \r\n {{ originalBody.startOn | date : \"medium\" }}\r\n
    \r\n
    \r\n \r\n
    \r\n Estimated End Date: \r\n {{ originalBody.completeOn | date : \"medium\" }}\r\n
    \r\n
    \r\n \r\n
    \r\n Group(s) / Person(s) Performing Work:\r\n \r\n \r\n Empty\r\n \r\n \r\n {{ mapWorkPerformers(originalBody.workPerformers) }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Systems Affected: \r\n \r\n Empty\r\n \r\n \r\n {{ mapSystemsAffected(originalBody) }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Locations: \r\n \r\n Empty\r\n \r\n \r\n {{\r\n mapRSSWAAcceleratorLocations(\r\n originalBody.rsswaAcceleratorLocations\r\n )\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n RSSWA Shutters: \r\n \r\n Empty\r\n \r\n \r\n {{ mapRSSWAShutters(originalBody.rsswaShutters) }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n RSS PLC Set Pt / Parameter Access\r\n
    \r\n
    \r\n \r\n
    \r\n RSS Software / Firmware Download\r\n
    \r\n
    \r\n \r\n
    \r\n ETI Access / TOMBIS Modification / TOMBIS Removal of\r\n Components\r\n
    \r\n
    \r\n \r\n
    \r\n TOMBIS PLC Set Pt / Parameter Access\r\n
    \r\n
    \r\n \r\n
    \r\n TOMBIS Software / Firmware Download\r\n
    \r\n
    \r\n \r\n
    \r\n TOP OFF Interlock set Point and/or Interlock threshold\r\n modification\r\n
    \r\n
    \r\n \r\n
    \r\n Description of work: \r\n {{ originalBody.description }}\r\n
    \r\n
    \r\n
    2. Work Controls
    \r\n \r\n
    \r\n Operational Restriction: \r\n {{ item.text }}\r\n {{\r\n item.restriction.restrictionLanguage\r\n }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n Amendment\r\n {{\r\n findIndex(update?.amendmentId) != 0\r\n ? findIndex(update?.amendmentId)\r\n : \"Cancelled\"\r\n }}\r\n created on {{ update?.amendmentDate | date : \"medium\" }}\r\n \r\n \r\n
    \r\n
    \r\n {{ getRSSWALogHeadText(update.amendmentId) }}\r\n
    \r\n
    \r\n
    \r\n \r\n
    1. Description of Work
    \r\n \r\n
    \r\n Creation Date: \r\n {{ update?.oldBodyRSSWA?.createdOn }}\r\n
    \r\n
    \r\n \r\n
    \r\n Operator initiating form: \r\n {{ update?.oldBodyRSSWA?.createdByName }}\r\n
    \r\n
    \r\n \r\n
    \r\n Requester: \r\n {{ update?.oldBodyRSSWA?.requesterName }}\r\n
    \r\n
    \r\n \r\n
    \r\n Related Documents: \r\n \r\n Empty\r\n \r\n \r\n {{\r\n maprelatedDocument(\r\n update?.oldBodyRSSWA?.relatedDocuments\r\n )\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Estimated Start Date: \r\n {{ update?.oldBodyRSSWA?.startOn | date : \"medium\" }}\r\n
    \r\n
    \r\n \r\n
    \r\n Estimated End Date: \r\n {{ update?.oldBodyRSSWA?.completeOn | date : \"medium\" }}\r\n
    \r\n
    \r\n \r\n
    \r\n Group(s) / Person(s) Performing Work:\r\n \r\n \r\n Empty\r\n \r\n \r\n {{\r\n mapWorkPerformers(\r\n update?.oldBodyRSSWA?.workPerformers\r\n )\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Systems Affected: \r\n \r\n Empty\r\n \r\n \r\n {{ mapSystemsAffected(update?.oldBodyRSSWA) }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Locations: \r\n \r\n Empty\r\n \r\n \r\n {{\r\n mapRSSWAAcceleratorLocations(\r\n update?.oldBodyRSSWA?.rsswaAcceleratorLocations\r\n )\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n RSSWA Shutters: \r\n \r\n Empty\r\n \r\n \r\n {{\r\n mapRSSWAShutters(update?.oldBodyRSSWA?.rsswaShutters)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n RSS PLC Set Pt / Parameter Access\r\n
    \r\n
    \r\n \r\n
    \r\n RSS Software / Firmware Download\r\n
    \r\n
    \r\n \r\n
    \r\n ETI Access / TOMBIS Modification / TOMBIS Removal of\r\n Components\r\n
    \r\n
    \r\n \r\n
    \r\n TOMBIS PLC Set Pt / Parameter Access\r\n
    \r\n
    \r\n \r\n
    \r\n TOMBIS Software / Firmware Download\r\n
    \r\n
    \r\n \r\n
    \r\n TOP OFF Interlock set Point and/or Interlock threshold\r\n modification\r\n
    \r\n \r\n \r\n
    \r\n Description of work: \r\n {{ update?.oldBodyRSSWA?.description }}\r\n
    \r\n
    \r\n
    2. Work Controls
    \r\n \r\n
    \r\n Operational Restriction: \r\n {{ item.text }}\r\n {{\r\n item.restriction.restrictionLanguage\r\n }}\r\n
    \r\n \r\n \r\n
    \r\n RSSWA Functional Test\r\n
    \r\n
    \r\n \r\n
    \r\n Testing Required Before Operation (Full Test,\r\n Functional Test):\r\n \r\n {{\r\n update?.oldBodyRSSWA?.provisionalTestingRequired\r\n }}\r\n
    \r\n
    \r\n \r\n
    \r\n Related Documents and Links: \r\n \r\n {{\r\n item.text\r\n }}\r\n {{ item.text }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n {{\r\n getRSSWALogFooterText(update.amendmentId)\r\n }}\r\n
    \r\n \r\n \r\n \r\n Added \r\n \r\n \r\n \r\n
    \r\n {{ addedField.name }}\r\n : {{ addedField.change }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Deleted \r\n \r\n \r\n \r\n
    \r\n {{ deletedField.name }}\r\n : {{ deletedField.change }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Modified \r\n \r\n \r\n \r\n
    \r\n {{ modifiedField.name }}: \r\n {{ modifiedField.change }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    Signatures
    \r\n
    \r\n \r\n {{ signature.name }} by {{ signature.signedBy }} on\r\n {{ signature.signedOn | date : \"medium\" }}\r\n \r\n i + 1\"\r\n >\r\n
    \r\n
    \r\n
    \r\n
    Signatures
    \r\n
    There are not signatures
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n","import { Component, Output, EventEmitter, OnInit, AfterViewInit, OnDestroy, Injector, Input, SimpleChanges } from '@angular/core';\r\nimport { RSSWAResource } from '../rsswa';\r\nimport { RsswaService } from '../rsswa.service';\r\nimport { Router } from '@angular/router';\r\nimport { Subscription } from 'rxjs';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { WfSignatureResource, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'rsswa-main-panel',\r\n templateUrl: './rsswa-main-panel.component.html',\r\n styleUrls: ['./rsswa-main-panel.component.scss']\r\n})\r\n/* rsswa-main-panel component*/\r\nexport class RsswaMainPanelComponent extends BaseComponent implements OnInit {\r\n @Input() rsswa?: RSSWAResource | null;\r\n @Input() showAmendment?: boolean;\r\n @Input() testingCompleteSigned? = false;\r\n\r\n @Output() loading = new EventEmitter();\r\n @Output() requestRefresh = new EventEmitter();\r\n @Output() unselectTable = new EventEmitter();\r\n @Output() displayDocument = new EventEmitter();\r\n @Output() newDocument = new EventEmitter();\r\n @Output() toggleSidePanel = new EventEmitter();\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n isSa = false;\r\n showEditButton: boolean = false;\r\n windowScrolled: boolean = false;\r\n tmpSerialNo!: string;\r\n serialNo!: string;\r\n tmpStatus = '';\r\n amendment = false;\r\n viewAmendment = false;\r\n editAmendment = false;\r\n startNewClicked = false;\r\n currentDocument: any = null;\r\n maxHeight: string | null = null;\r\n contentWidth: any;\r\n prevScrollpos = window.pageYOffset;\r\n\r\n tmpWfTableId: number | null = null;\r\n amendmentSignature: WfSignatureResource = new WfSignatureResource();\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n IsCopyTaskVisible = false;\r\n // Clock timer real-time\r\n subEditing!: Subscription;\r\n\r\n constructor(\r\n public rsswaService: RsswaService,\r\n public rolePrivilegeService: TokenInfoService,\r\n public router: Router,\r\n private wfs: WorkFlowService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.responsiveFunction();\r\n }\r\n\r\n\r\n responsiveFunction() {\r\n this.innerWidth = window.innerWidth;\r\n this.innerHeight = window.innerHeight;\r\n this.maxHeight = (this.innerHeight - 320) + 'px';\r\n }\r\n\r\n changedEvent(e: RSSWAResource | null) {\r\n this.rsswa = e;\r\n this.changed.emit(this.rsswa);\r\n }\r\n\r\n setLoading(val: boolean) {\r\n this.loading.emit(val);\r\n }\r\n\r\n}\r\n","\r\n\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n\r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { RSSWAResource } from '../../../rsswa';\r\nimport { RsswaService } from '../../../rsswa.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ChecklistBuilderPopupParameters, RSSFunctionalTestPopupComponent } from '../../rss-functional-test-popup/rss-functional-test-popup.component';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatCheckboxChange } from '@angular/material/checkbox';\r\nimport { RSSFunctionalTest } from '../../../rss-functional-test';\r\nimport { E } from '@angular/cdk/keycodes';\r\n\r\n@Component({\r\n selector: 'rsswa-section1-functional-tests',\r\n templateUrl: './rsswa-section1-functional-tests.component.html',\r\n styleUrls: ['./rsswa-section1-functional-tests.component.scss']\r\n})\r\nexport class RsswaSection1FunctionalTestsComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() rsswa?: RSSWAResource | null;\r\n @Input() disabled: boolean = true;\r\n @Input() showAmendment?: boolean;\r\n\r\n @Input() chkFuncTestCtrl!: FormControl;\r\n @Output() chkFuncTestCtrlChange = new EventEmitter();\r\n\r\n @Input() functionalTestCtrl!: FormControl;\r\n @Output() functionalTestCtrlChange = new EventEmitter();\r\n\r\n @Input() provisionalTestingRequiredCtrl!: FormControl;\r\n @Output() provisionalTestingRequiredCtrlChange = new EventEmitter();\r\n\r\n @Output() testCreated = new EventEmitter();\r\n\r\n rssFunctionalTests?: RSSFunctionalTest[];\r\n\r\n rssFunctionalTestCreatePrivilege?: boolean | null = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: RsswaService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (!this.showAmendment)\r\n this.rssFunctionalTests = this.rsswa?.rssFunctionalTests;\r\n else this.rssFunctionalTests = this.rsswa?.rsswaAmendment?.rssFunctionalTests;\r\n this.enableControls();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.rssFunctionalTestCreatePrivilege = this.hasPrivilege(PrivilegeEnum.RSSFunctionalTestCreate);\r\n }\r\n\r\n enableControls() {\r\n this.chkFuncTestCtrl.disable();\r\n this.functionalTestCtrl.disable();\r\n this.provisionalTestingRequiredCtrl.disable();\r\n\r\n if (!this.disabled) {\r\n this.chkFuncTestCtrl.enable();\r\n this.functionalTestCtrl.enable();\r\n this.provisionalTestingRequiredCtrl.enable();\r\n }\r\n }\r\n\r\n confirmRSSFunctionalTest(e: MatCheckboxChange) {\r\n if (e.checked) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: 'You will need to add at least one RSS functional test, do you want to continue?',\r\n },\r\n }).afterClosed().subscribe(data => {\r\n this.chkFuncTestCtrl.setValue(data);\r\n });\r\n }\r\n else this.chkFuncTestCtrl.setValue(false);\r\n }\r\n\r\n createRSSFunctionalTest() {\r\n this.dialog.open(RSSFunctionalTestPopupComponent, {\r\n width: '80vw',\r\n disableClose: true,\r\n autoFocus: false,\r\n data: {\r\n rsswa: this.rsswa,\r\n amendment: this.service.showAmendment,\r\n } as ChecklistBuilderPopupParameters,\r\n }).afterClosed().toPromise().then(result => {\r\n if (result && this.rsswa) {\r\n if (!this.showAmendment)\r\n this.rsswa.rssFunctionalTests?.push(result);\r\n else this.rsswa.rsswaAmendment?.rssFunctionalTests?.push(result);\r\n this.testCreated.emit();\r\n }\r\n });\r\n }\r\n\r\n edit(test: RSSFunctionalTest) {\r\n this.dialog.open(RSSFunctionalTestPopupComponent, {\r\n width: '80vw',\r\n data: {\r\n rsswa: this.rsswa,\r\n amendment: this.service.showAmendment,\r\n rssFunctionalTest: test\r\n } as ChecklistBuilderPopupParameters,\r\n }).afterClosed().toPromise();\r\n }\r\n\r\n showAlert(e: any) {\r\n this.alert.error(e);\r\n }\r\n\r\n\r\n\r\n remove(id: number) {\r\n let index = -1;\r\n if (!this.showAmendment) {\r\n index = this.rsswa?.rssFunctionalTests?.findIndex(t => t.id == id) as number;\r\n if (index >= 0)\r\n this.rsswa?.rssFunctionalTests?.splice(index, 1);\r\n }\r\n else {\r\n index = this.rsswa?.rsswaAmendment?.rssFunctionalTests?.findIndex(t => t.id == id) as number;\r\n if (index >= 0)\r\n this.rsswa?.rsswaAmendment?.rssFunctionalTests?.splice(index, 1);\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    Functional Tests
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Enable Functional Tests\r\n \r\n\r\n 0 &&\r\n (rsswa?.status == 1 || rsswa?.status == 6)\r\n \"\r\n [disabled]=\"!rssFunctionalTestCreatePrivilege || disabled\"\r\n (click)=\"createRSSFunctionalTest()\"\r\n >\r\n Create\r\n \r\n
    \r\n Form needs to be saved to allow Functional Tests to be created!\r\n Please click on Save as Draft button first.\r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Injector, Input, OnDestroy, OnInit, Output, ViewChild } from \"@angular/core\";\r\nimport { FormGroup, FormControl } from \"@angular/forms\";\r\nimport { MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from \"@angular/material/autocomplete\";\r\nimport { MatChipInputEvent } from \"@angular/material/chips\";\r\nimport { Router } from \"@angular/router\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { FormStatusEnum, ResourceType, AffectedSystemType, FormType, OlogNotificationType } from \"src/app/common/enumerations/enumerations\";\r\nimport { CancelDialogComponent } from \"src/app/controls/cancel-dialog/cancel-dialog.component\";\r\nimport { PartialOlogComponent } from \"src/app/controls/olog/partial-olog/partial-olog.component\";\r\nimport { RelatedDocument } from \"src/app/services/documents/documents\";\r\nimport { FormRestriction } from \"src/app/services/forms/form-restriction\";\r\nimport { RelatedLinkBase } from \"src/app/components/catalogs/navigation-links/link/related-link-base\";\r\nimport { OLogService } from \"src/app/components/olog/olog.service\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { ResourcesService } from \"src/app/components/catalogs/beamline-catalog/resource/resources.service\";\r\nimport { RestrictionService } from \"src/app/controls/restrictions/services/restriction.service\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { WfTaskLocalResource, WfTaskResource, WFConfiguration, WfSignatureResource, WFTaskSignatureResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { WorkFlowService } from \"src/app/services/work-flow/work-flow.service\";\r\nimport { WorkPerformer, WorkPerformerGroup } from \"src/app/services/work-performer/work-performer\";\r\nimport { RSSWAResource, AffectedSystem, SaveRSSWAResource, } from \"../../rsswa\";\r\nimport { RSSWAAcceleratorLocation, SaveRSSWAAcceleratorLocation } from \"../../rsswa-accelerator-location\";\r\nimport { RSSWAOtherSystem } from \"../../../../controls/other-system-chips/other-system\";\r\nimport { RSSWAPerformingWorkUser } from \"../../rsswa-performing-work-user\";\r\nimport { RSSWAShutter, SaveRSSWAShutter } from \"../../rsswa-shutter\";\r\nimport { RsswaService } from \"../../rsswa.service\";\r\nimport { RestrictionAvailableAutocompleteComponent } from \"src/app/controls/restrictions/restriction-available-autocomplete/restriction-available-autocomplete.component\";\r\nimport { FormRestrictionTableComponent } from \"src/app/controls/restrictions/form-restriction-table/form-restriction-table.component\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { MessagePlaceholder } from \"src/app/common/models/placeholder\";\r\nimport moment from \"moment\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { MessageTypeEnum } from \"src/app/components/messages/services/message-banner.enums\";\r\nimport { WorkPerformerService } from \"src/app/services/work-performer/work-performers.service\";\r\n\r\n\r\n@Component({\r\n selector: 'rsswa-section1',\r\n templateUrl: './rsswa-section1.component.html',\r\n styleUrls: ['./rsswa-section1.component.scss']\r\n})\r\n\r\nexport class RsswaSection1Component extends BaseComponent implements OnInit, OnDestroy {\r\n @Input() rsswa?: RSSWAResource | null;\r\n @Input() showAmendment?: boolean;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n serialNo?: string;\r\n perLoading = false;\r\n\r\n saveButtonText?: string;\r\n\r\n showSubmit?: boolean = false;\r\n\r\n disabled = true;\r\n\r\n // #Form Controls\r\n\r\n requesterCtrl = new FormControl();\r\n documentCtrl = new FormControl();\r\n estInitCtrl = new FormControl();\r\n estEndCtrl = new FormControl();\r\n performerCtrl = new FormControl();\r\n chkTopOffCtrl = new FormControl();\r\n chkRadMonitorCtrl = new FormControl();\r\n chkBeamlineCtrl = new FormControl();\r\n chkAcceleratorCtrl = new FormControl();\r\n chkETIAccessCtrl = new FormControl();\r\n chkTPLSetCtrl = new FormControl();\r\n chkTSoftwareCtrl = new FormControl();\r\n chkTopOffInterlockCtrl = new FormControl();\r\n chkRSSPLCSetCtrl = new FormControl();\r\n chkRSSSoftwareCtrl = new FormControl();\r\n\r\n descriptionCtrl = new FormControl();\r\n rsswaShuttersControl = new FormControl();\r\n rsswaAcceleratorLocationsControl = new FormControl();\r\n rsswaOtherSystemsControl = new FormControl();\r\n restrictionsControl = new FormControl();\r\n\r\n chkFuncTestCtrl = new FormControl();\r\n functionalTestCtrl = new FormControl();\r\n provisionalTestingRequiredCtrl = new FormControl();\r\n\r\n //#region Fields\r\n\r\n tmpDate?: Date;\r\n tmpSysAffectedBL? = false;\r\n tmpSysAffectedAcc? = false;\r\n tmpSysAffectedTombis? = false;\r\n tmpChkRepair? = false;\r\n tmpDescription?: string;\r\n tmpOtherSystems? = false;\r\n tmpRsswaShutters?: RSSWAShutter[] = [];\r\n tmpRsswaAcceleratorLocations?: RSSWAAcceleratorLocation[] = [];\r\n tmpRsswaOtherSystems?: RSSWAOtherSystem[] = [];\r\n tmpRsswaRestrictions?: FormRestriction[] = [];\r\n\r\n\r\n tmpRsswaRelatedLinks?: RelatedLinkBase[] = [];\r\n //\r\n tmpWfTableId?: number | null = null;\r\n\r\n workFlow?: WfTaskLocalResource[];\r\n workFlowPending?: WfTaskResource[];\r\n\r\n wfConfiguration?: WFConfiguration;\r\n wfSignatures?: WfSignatureResource[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n // #Tables\r\n\r\n affectedSystems?: AffectedSystem[];\r\n\r\n filteredRequesters: User[] = [];\r\n\r\n allWorkPerformers?: WorkPerformer[];\r\n filteredWorkPerformers?: WorkPerformer[];\r\n filteredPerformerGroups?: WorkPerformerGroup[];\r\n workPerformers?: WorkPerformer[];\r\n\r\n rsswaPrivilege?: boolean | null = false;\r\n\r\n showCancelForm = false;\r\n showCancelDraft = false;\r\n cancelSignature?: WfSignatureResource;\r\n showUnSubmit = false;\r\n unSubmitSignature?: WfSignatureResource;\r\n\r\n systemsAffectedError = false;\r\n\r\n sr02areasrrf?: Resource;\r\n topOff!: Resource;\r\n accelerators: Resource[] = [];\r\n\r\n // #Mat Chip Variables\r\n selectable = true;\r\n removable = true;\r\n addOnBlur = true;\r\n tmpResourceIds!: number[];\r\n\r\n @ViewChild('performerInput') performerInput?: ElementRef;\r\n\r\n @ViewChild('autoDoc') matAutocompleteDoc?: MatAutocomplete;\r\n @ViewChild('autoPer') matAutocompletePer?: MatAutocomplete;\r\n\r\n @ViewChild(MatAutocompleteTrigger) documentInput?: MatAutocompleteTrigger;\r\n @ViewChild(MatAutocompleteTrigger) requesterInput?: MatAutocompleteTrigger;\r\n @ViewChild(RestrictionAvailableAutocompleteComponent) restrictionAvailableAutocomplete?: RestrictionAvailableAutocompleteComponent;\r\n @ViewChild(FormRestrictionTableComponent) formRestrictionTable?: FormRestrictionTableComponent;\r\n newDoc?: RelatedDocument;\r\n\r\n popclass = 'pop-description-hidden';\r\n\r\n newPer?: WorkPerformer;\r\n\r\n /////\r\n rsswas?: RSSWAResource[];\r\n rsswasFiltered?: RSSWAResource[];\r\n rsswas$!: Observable;\r\n rsswasSubs!: Subscription;\r\n\r\n resources?: Resource[];\r\n resourcesFiltered?: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n documents: RelatedDocument[] = [];\r\n\r\n signToUnsubmitAmendment: any;\r\n\r\n constructor(\r\n public service: RsswaService,\r\n private _performers: WorkPerformerService,\r\n public router: Router,\r\n public _wf: WorkFlowService,\r\n public _restriction: RestrictionService,\r\n public _resource: ResourcesService,\r\n public ologService: OLogService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n //#region INIT\r\n\r\n ngOnInit() {\r\n this.rsswaPrivilege = this.hasPrivilege(PrivilegeEnum.RSSWA);\r\n this.loadRSSWAs();\r\n this.loadResources();\r\n this.buildForm();\r\n this.loadUsers();\r\n this.loadAllWorkPerformers();\r\n }\r\n\r\n ngOnChanges(): void {\r\n this.loadRSSWAs();\r\n this.refresh();\r\n this.filteredRequesters = this.getUsers().filter(u => u.status == 1);\r\n }\r\n\r\n loadRSSWAs() {\r\n this.rsswas$ = this.store.select(state => state.RSSWA.data);\r\n this.rsswasSubs = this.rsswas$.subscribe(data => {\r\n if (data?.length) {\r\n this.rsswas = data;\r\n if (this.rsswa?.id) {\r\n const rsswa = this.rsswas.find(r => r.id == this.rsswa?.id);\r\n if (rsswa) {\r\n this.rsswa = rsswa;\r\n } else {\r\n this.rsswa = null;\r\n };\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length) {\r\n this.resources = data;\r\n this.accelerators = this.resources.filter(r => r.type == ResourceType.Accelerator);\r\n this.sr02areasrrf = this.resources.find(r => r.code == 'SR10Area(BTS)');\r\n const topOff = this.resources.find(r => r.code == 'TopOff');\r\n if (topOff)\r\n this.topOff = topOff;\r\n this.fillResources();\r\n }\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = new FormGroup({\r\n requesterCtrl: this.requesterCtrl,\r\n documentCtrl: this.documentCtrl,\r\n estInitCtrl: this.estInitCtrl,\r\n estEndCtrl: this.estEndCtrl,\r\n performerCtrl: this.performerCtrl,\r\n chkTopOffCtrl: this.chkTopOffCtrl,\r\n chkRadMonitorCtrl: this.chkRadMonitorCtrl,\r\n chkBeamlineCtrl: this.chkBeamlineCtrl,\r\n chkAcceleratorCtrl: this.chkAcceleratorCtrl,\r\n chkETIAccessCtrl: this.chkETIAccessCtrl,\r\n chkTPLSetCtrl: this.chkTPLSetCtrl,\r\n chkTSoftwareCtrl: this.chkTSoftwareCtrl,\r\n chkTopOffInterlockCtrl: this.chkTopOffInterlockCtrl,\r\n chkRSSPLCSetCtrl: this.chkRSSPLCSetCtrl,\r\n chkRSSSoftwareCtrl: this.chkRSSSoftwareCtrl,\r\n descriptionCtrl: this.descriptionCtrl,\r\n chkFuncTestCtrl: this.chkFuncTestCtrl,\r\n restrictionsControl: this.restrictionsControl,\r\n rsswaOtherSystemsControl: this.rsswaOtherSystemsControl,\r\n rsswaShuttersControl: this.rsswaShuttersControl,\r\n rsswaAcceleratorLocationsControl: this.rsswaAcceleratorLocationsControl,\r\n functionalTestCtrl: this.functionalTestCtrl,\r\n provisionalTestingRequiredCtrl: this.provisionalTestingRequiredCtrl\r\n });\r\n this.formGroup.markAsPristine();\r\n // this.formGroup.statusChanges.subscribe(() => {\r\n // this.setFormDirty(this.formGroup.dirty || !this.formGroup.pristine);\r\n // });\r\n\r\n this.checkEnableControls();\r\n this.systemDesign();\r\n this.systemsAffectedError = false;\r\n }\r\n\r\n checkEnableControls() {\r\n this.disabled = true;\r\n this.formGroup.disable();\r\n this.estInitCtrl?.disable();\r\n this.performerCtrl.disable();\r\n let enable: boolean | null = false;\r\n if (!this.service.showAmendment)\r\n enable = this.rsswa?.editingById == this.getCurrentUser()?.id && this.hasPrivilege(this.privilegeEnum.RSSWA) && (this.rsswa?.status == this.formStatusEnum.New || this.rsswa?.status == this.formStatusEnum.Draft);\r\n else\r\n enable = this.rsswa?.editingById == this.getCurrentUser()?.id && this.hasPrivilege(this.privilegeEnum.RSSWA) && (this.rsswa?.status == this.formStatusEnum.Amendment && this.hasPrivilege(this.privilegeEnum.EditRSSWAAmendment));\r\n\r\n if (enable) {\r\n this.disabled = false;\r\n this.formGroup.enable();\r\n this.estInitCtrl?.enable();\r\n this.performerCtrl.enable();\r\n }\r\n }\r\n\r\n clear() {\r\n this.rsswa = null;\r\n this.setFormDirty(false);\r\n this.loading.emit(false);\r\n this.formGroup?.reset();\r\n if (!this.getCurrentUser()) {\r\n 'user_not_logged'\r\n ;\r\n return;\r\n }\r\n this.tmpDate = new Date();\r\n\r\n this.workPerformers = [];\r\n this.documents = [];\r\n this.affectedSystems = [];\r\n this.tmpRsswaShutters = [];\r\n this.tmpRsswaAcceleratorLocations = [];\r\n this.tmpRsswaOtherSystems = [];\r\n this.tmpRsswaRestrictions = [];\r\n this.tmpRsswaRelatedLinks = [];\r\n // this.tmpRsswaPerformingWorkUser = [];\r\n this.restrictionAvailableAutocomplete?.reset();\r\n this.estInitCtrl.setValue(null);\r\n this.estEndCtrl.setValue(null);\r\n\r\n this.chkTopOffCtrl.setValue(false);\r\n this.chkRadMonitorCtrl.setValue(false);\r\n this.chkBeamlineCtrl.setValue(false);\r\n this.chkAcceleratorCtrl.setValue(false);\r\n this.tmpOtherSystems = false;\r\n this.tmpSysAffectedAcc = false;\r\n this.tmpSysAffectedBL = false;\r\n this.tmpSysAffectedTombis = false;\r\n this.chkFuncTestCtrl.setValue(false);\r\n\r\n this.chkETIAccessCtrl.setValue(false);\r\n this.tmpChkRepair = false;\r\n this.chkRSSPLCSetCtrl.setValue(false);\r\n this.chkRSSSoftwareCtrl.setValue(false);\r\n this.chkTPLSetCtrl.setValue(false);\r\n this.chkTSoftwareCtrl.setValue(false);\r\n this.chkTopOffInterlockCtrl.setValue(false);\r\n this.tmpDescription = '';\r\n\r\n $('#chkRSSPLCSetCtrl').addClass('check-disabled');\r\n $('#chkRSSSoftwareCtrl').addClass('check-disabled');\r\n $('#chkETIAccessCtrl').addClass('check-disabled');\r\n $('#chkTPLSetCtrl').addClass('check-disabled');\r\n $('#chkTSoftwareCtrl').addClass('check-disabled');\r\n $('#chkTopOffInterlockCtrl').addClass('check-disabled');\r\n\r\n this.buildForm();\r\n\r\n this.chkETIAccessCtrl.disable();\r\n this.chkTPLSetCtrl.disable();\r\n this.chkTSoftwareCtrl.disable();\r\n this.chkTopOffInterlockCtrl.disable();\r\n this.chkRSSPLCSetCtrl.disable();\r\n this.chkRSSSoftwareCtrl.disable();\r\n this.showSubmit = false;\r\n\r\n this.systemsAffectedError = false;\r\n\r\n this.checkEnableControls();\r\n this.setButtonLabels();\r\n\r\n this.showCancelForm = false;\r\n\r\n }\r\n\r\n setButtonLabels() {\r\n this.saveButtonText = this.rsswa?.status == FormStatusEnum.New ? 'Save as Draft' : (this.service.showAmendment ? 'Update Amendment' : 'Update Draft');\r\n }\r\n\r\n //#endregion\r\n\r\n //#region CREATE\r\n create() {\r\n this.clear();\r\n this.disabled = false;\r\n this.formGroup.enable();\r\n this.requesterCtrl.enable();\r\n\r\n setTimeout(() => {\r\n this.requesterInput?.openPanel();\r\n }, 1500);\r\n\r\n }\r\n\r\n addEvent() {\r\n if (moment(this.estEndCtrl.value).isBefore(this.estInitCtrl.value)) {\r\n this.estEndCtrl.setValue(this.estInitCtrl.value);\r\n }\r\n }\r\n //#endregion\r\n\r\n refresh() {\r\n this.loading.emit(true);\r\n this.systemsAffectedError = false;\r\n if (this.rsswa) {\r\n if (this.rsswa?.disapprovalReason && this.rsswa?.status !== FormStatusEnum.WorkApprovals) {\r\n this.alert.message('HassDisapprovalReason', [new MessagePlaceholder('{DisapprovalReason}', this.rsswa.disapprovalReason)], MessageTypeEnum.Warning, 'Disaproval Warning', 5);\r\n }\r\n\r\n this.tmpDescription = this.service.showAmendment ? this.rsswa.rsswaAmendment?.description : this.rsswa.description;\r\n this.tmpDate = this.service.showAmendment ? this.rsswa.rsswaAmendment?.createdOn : this.rsswa.createdOn;\r\n this.requesterCtrl.setValue(this.filteredRequesters.find(u => u.id == (this.service.showAmendment ? this.rsswa?.rsswaAmendment?.requesterId : this.rsswa?.requesterId)));\r\n\r\n this.documents = this.getDocuments();\r\n this.estInitCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.startOn : this.rsswa.startOn);\r\n this.estEndCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.completeOn : this.rsswa.completeOn);\r\n this.chkTopOffCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.topOff : this.rsswa.topOff);\r\n this.chkRadMonitorCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.radiationMonitoringSystem : this.rsswa.radiationMonitoringSystem);\r\n this.chkBeamlineCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.beamLine : this.rsswa.beamLine);\r\n this.chkAcceleratorCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.accelerator : this.rsswa.accelerator);\r\n this.tmpRsswaShutters = this.service.showAmendment ? this.rsswa.rsswaAmendment?.rsswaShutters : this.rsswa.rsswaShutters;\r\n this.tmpRsswaAcceleratorLocations = this.service.showAmendment ? this.rsswa.rsswaAmendment?.rsswaAcceleratorLocations : this.rsswa.rsswaAcceleratorLocations;\r\n this.tmpRsswaOtherSystems = this.service.showAmendment ? this.rsswa.rsswaAmendment?.rsswaOtherSystems : this.rsswa.rsswaOtherSystems;\r\n this.tmpRsswaRestrictions = this.service.showAmendment ? this.rsswa.rsswaAmendment?.rsswaRestrictions : this.rsswa.rsswaRestrictions;\r\n this.chkETIAccessCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.etiAccess : this.rsswa.etiAccess);\r\n this.chkTPLSetCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.tombisplcSet : this.rsswa.tombisplcSet);\r\n this.chkTSoftwareCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.tombisSoftware : this.rsswa.tombisSoftware);\r\n this.tmpChkRepair = this.service.showAmendment ? this.rsswa.rsswaAmendment?.repairRequired : this.rsswa.repairRequired;\r\n this.chkRSSPLCSetCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.rssplcSet : this.rsswa.rssplcSet);\r\n this.chkRSSSoftwareCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.rssSoftware : this.rsswa.rssSoftware);\r\n this.chkTopOffInterlockCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.topOffInterlockSetPoint : this.rsswa.topOffInterlockSetPoint);\r\n this.tmpWfTableId = this.service.showAmendment ? this.rsswa.rsswaAmendment?.wfTableID : this.rsswa.wfTableID;\r\n this.chkFuncTestCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.functionalTest : this.rsswa.functionalTest);\r\n this.provisionalTestingRequiredCtrl.setValue(this.service.showAmendment ? this.rsswa.rsswaAmendment?.provisionalTestingRequired : this.rsswa.provisionalTestingRequired);\r\n this.tmpRsswaRelatedLinks = this.service.showAmendment ? this.rsswa.rsswaAmendment?.rsswaRelatedLinks : this.rsswa.rsswaRelatedLinks;\r\n\r\n this.workPerformers = this.getWorkPerformers();\r\n this.getSystemsAffected(this.rsswa.affectedSystems ?? []);\r\n this.fillResources();\r\n\r\n this.setButtonLabels();\r\n\r\n this.showSubmit = false;\r\n if (this.rsswa.wfTable) {\r\n const section = this.service.showAmendment ? 9 : 1;\r\n this.verifyActions(section);\r\n }\r\n\r\n this.systemDesign();\r\n this.buildForm();\r\n this.loading.emit(false);\r\n } else {\r\n this.clear();\r\n }\r\n\r\n // this.refreshLog.emit();\r\n }\r\n\r\n\r\n getSystemsAffected(as: AffectedSystem[]) {\r\n this.tmpSysAffectedBL = false;\r\n this.tmpSysAffectedAcc = false;\r\n this.tmpSysAffectedTombis = false;\r\n this.affectedSystems = as;\r\n\r\n as.map(a => {\r\n switch (a.type) {\r\n case AffectedSystemType.BLSystem:\r\n this.tmpSysAffectedBL = true;\r\n break;\r\n case AffectedSystemType.AccSystem:\r\n this.tmpSysAffectedAcc = true;\r\n break;\r\n case AffectedSystemType.TOMBISSystem:\r\n this.tmpSysAffectedTombis = true;\r\n break;\r\n }\r\n });\r\n\r\n }\r\n\r\n //#endregion\r\n\r\n //#region SAVE\r\n\r\n saveForm(status: number) {\r\n const rsswaShutters: SaveRSSWAShutter[] = [];\r\n const rsswaAcceleratorLocations: SaveRSSWAAcceleratorLocation[] = [];\r\n const rsswaRestrictions: FormRestriction[] = [];\r\n const rsswaRelatedLinks: RelatedLinkBase[] = [];\r\n const rsswaPerformingWorkUsers: RSSWAPerformingWorkUser[] = [];\r\n\r\n this.tmpRsswaShutters?.map(x => {\r\n rsswaShutters.push({\r\n id: x.id,\r\n rsswaID: x.rsswaID,\r\n resourceID: x.resourceID,\r\n });\r\n });\r\n this.tmpRsswaAcceleratorLocations?.map(x => {\r\n rsswaAcceleratorLocations.push({\r\n id: x.id,\r\n rsswaID: x.rsswaID,\r\n resourceID: x.resourceID\r\n });\r\n });\r\n this.tmpRsswaRestrictions?.map(x => {\r\n rsswaRestrictions.push({\r\n id: x.id,\r\n formID: x.formID,\r\n restrictionID: x.restrictionID,\r\n text: x.text\r\n });\r\n });\r\n this.tmpRsswaRelatedLinks?.map(x => {\r\n rsswaRelatedLinks.push({\r\n id: x.id,\r\n formID: x.formID,\r\n text: x.text,\r\n url: x.url\r\n });\r\n });\r\n\r\n const rsswaResource: SaveRSSWAResource = {\r\n id: this.rsswa ? this.rsswa.id : 0,\r\n name: this.rsswa?.serialNo,\r\n description: this.tmpDescription,\r\n status: status === FormStatusEnum.WorkApprovals ? FormStatusEnum.Draft : status,\r\n type: FormType.RSSWA,\r\n code: 'RSSWA',\r\n serialNo: this.rsswa?.serialNo,\r\n requesterId: this.requesterCtrl.value?.id,\r\n startOn: this.estInitCtrl.value,\r\n completeOn: this.estEndCtrl.value,\r\n beamlineRSS: this.tmpSysAffectedBL,\r\n acceleratorRSS: this.tmpSysAffectedAcc,\r\n tombis: this.tmpSysAffectedTombis,\r\n affectedSystems: [],\r\n etiAccess: this.chkETIAccessCtrl.value,\r\n tombisPLCSet: this.chkTPLSetCtrl.value,\r\n tombisSoftware: this.chkTSoftwareCtrl.value,\r\n topOffInterlockSetPoint: this.chkTopOffInterlockCtrl.value,\r\n repairRequired: this.tmpChkRepair,\r\n rssPLCSet: this.chkRSSPLCSetCtrl.value,\r\n rssSoftware: this.chkRSSSoftwareCtrl.value,\r\n workPerformers: this.workPerformers,\r\n relatedDocuments: this.documents,\r\n topOff: this.chkTopOffCtrl.value,\r\n radiationMonitoringSystem: this.chkRadMonitorCtrl.value,\r\n beamLine: this.chkBeamlineCtrl.value,\r\n accelerator: this.chkAcceleratorCtrl.value,\r\n rsswaShutters,\r\n rsswaAcceleratorLocations,\r\n rsswaOtherSystems: this.tmpRsswaOtherSystems ?? [],\r\n rsswaRestrictions,\r\n functionalTest: this.chkFuncTestCtrl.value,\r\n rsswaRelatedLinks,\r\n rsswaPerformingWorkUsers,\r\n provisionalTestingRequired: this.provisionalTestingRequiredCtrl.value,\r\n editingById: this.getCurrentUser()?.id\r\n };\r\n if (rsswaResource.id === 0) {\r\n if (this.isValid(status)) {\r\n this.loading.emit(true);\r\n rsswaResource.serialNo = this.serialNo;\r\n this.setFormDirty(false);\r\n this.service.create(rsswaResource).subscribe(data => {\r\n this.rsswa = data as RSSWAResource;\r\n this.setOpenDocument(FormType.RSSWA, this.rsswa.id);\r\n this.alert.message('DraftSaved', [new MessagePlaceholder('{serialNo}', rsswaResource.serialNo)]);\r\n this.loading.emit(false);\r\n this.setFormDirty(false);\r\n },\r\n error => {\r\n this.alert.defaultError();\r\n console.log(error);\r\n this.loading.emit(false);\r\n });\r\n }\r\n } else {\r\n if (this.isValid(status)) {\r\n this.loading.emit(true);\r\n this.setFormDirty(false);\r\n this.service.update(rsswaResource).toPromise().then(data => {\r\n this.rsswa = data as RSSWAResource;\r\n if (status === 2) {\r\n if (this.wfSignatures)\r\n this.sign(this.wfSignatures[0].taskID, this.wfSignatures[0].approveID);\r\n } else {\r\n this.alert.message(status === 1 ? 'DraftUpdated' : 'Submitted', [new MessagePlaceholder('{serialNo}', data?.serialNo)]);\r\n }\r\n this.setOpenDocument(FormType.RSSWA, this.rsswa.id);\r\n this.setFormDirty(false);\r\n },\r\n error => {\r\n this.alert.defaultError();\r\n console.log(error);\r\n this.loading.emit(false);\r\n }\r\n );\r\n } else {\r\n this.loading.emit(false);\r\n }\r\n }\r\n }\r\n\r\n isValid(option: number) {\r\n let result = true;\r\n if (moment(this.estInitCtrl.value).isBefore(moment(new Date('2020/01/01')).add(-1, \"day\"))) {\r\n this.alert.message('invalidStartDate');\r\n this.estInitCtrl?.setErrors({ invalidDate: true });\r\n this.alert.message('invalidStartDate');\r\n result = false;\r\n }\r\n\r\n if (moment(this.estEndCtrl.value).isBefore(this.estInitCtrl.value)) {\r\n this.alert.message('invalidEndDate');\r\n this.estEndCtrl.setErrors({ invalidDate: true });\r\n result = false;\r\n }\r\n\r\n if (option === 2) {\r\n if (!this.workPerformers?.length) {\r\n this.alert.message('Select at least one work performer group or one work performer user');\r\n this.performerCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n if (!this.chkTopOffCtrl.value && !this.chkRadMonitorCtrl.value && !this.chkBeamlineCtrl.value && !this.chkAcceleratorCtrl.value && !this.tmpRsswaOtherSystems?.length) {\r\n this.systemsAffectedError = true;\r\n this.alert.message('pleaseCheckOnAtLeastOneSystemAffected');\r\n result = false;\r\n }\r\n\r\n if (!this.requesterCtrl.value) {\r\n this.alert.message('invalidRequester');\r\n this.requesterCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n\r\n if (!this.tmpDescription) {\r\n this.descriptionCtrl.setErrors({ required: true });\r\n this.alert.message('invalidDescription');\r\n result = false;\r\n }\r\n\r\n if (!this.tmpRsswaRestrictions?.length) {\r\n this.restrictionsControl.setErrors({ required: true });\r\n this.alert.message('No Standard Restrictions were added');\r\n result = false;\r\n }\r\n\r\n if (this.chkBeamlineCtrl.value && !this.tmpRsswaShutters?.length) {\r\n this.alert.message('If beamline checkbox is marked, you must add at least 1 shutter');\r\n this.rsswaShuttersControl.setErrors({ required: true });\r\n this.systemsAffectedError = true;\r\n result = false;\r\n }\r\n else this.rsswaShuttersControl.setErrors(null);\r\n\r\n if (this.chkAcceleratorCtrl.value && !this.tmpRsswaAcceleratorLocations?.length) {\r\n this.alert.message('If accelerator checkbox is marked, you must add at least 1 location');\r\n this.rsswaAcceleratorLocationsControl.setErrors({ required: true });\r\n this.systemsAffectedError = true;\r\n result = false;\r\n }\r\n else this.rsswaAcceleratorLocationsControl.setErrors(null);\r\n\r\n if (this.chkFuncTestCtrl.value && (this.service.showAmendment ? !this.rsswa?.rsswaAmendment?.rssFunctionalTests?.length : !this.rsswa?.rssFunctionalTests?.length)) {\r\n this.alert.error('If functional test checkbox is marked, you must add at least 1 rss functional test');\r\n this.functionalTestCtrl.setErrors({ required: true });\r\n result = false;\r\n }\r\n else this.functionalTestCtrl.setErrors(null);\r\n\r\n }\r\n if (!result) this.formGroup.markAllAsTouched();\r\n return result;\r\n }\r\n\r\n //#endregion\r\n\r\n //#region Requester Control\r\n onReqChange(code?: string) {\r\n if (!code?.includes(\"Arrow\")) {\r\n this.filteredRequesters = this.getUsers();\r\n const filter1 = this.filteredRequesters.filter(r =>\r\n r.name?.toLowerCase().includes(this.requesterCtrl.value.toLowerCase()));\r\n\r\n this.filteredRequesters = filter1;\r\n }\r\n }\r\n\r\n clickReq() {\r\n this.requesterInput?.openPanel();\r\n }\r\n\r\n selectedReq(e: any): void {\r\n // this.tmpRequesterName = e.option.value;\r\n // this.tmpRequester = this.getUsers()?.find(u => u.name == this.tmpRequesterName)?.id;\r\n }\r\n\r\n onClosedReq() {\r\n // let found = false;\r\n // this.filteredRequesters.map(r => {\r\n // if (r.name === this.tmpRequesterName) {\r\n // found = true;\r\n // }\r\n // });\r\n }\r\n\r\n\r\n clickDoc() {\r\n this.documentInput?.openPanel();\r\n }\r\n\r\n\r\n getDocuments(): RelatedDocument[] {\r\n let relatedDocs: RelatedDocument[] = [];\r\n\r\n if (this.rsswa) {\r\n if (!this.service.showAmendment)\r\n this.rsswa.relatedDocuments?.map(element => {\r\n relatedDocs.push(element);\r\n });\r\n else {\r\n this.rsswa.rsswaAmendment?.relatedDocuments?.map(element => {\r\n relatedDocs.push(element);\r\n })\r\n }\r\n }\r\n relatedDocs = relatedDocs.filter((item, index, self) => index === self.findIndex((t) => (t.relatedDocumentSerialNo === item.relatedDocumentSerialNo))).sort((a, b) => {\r\n if ((a.relatedDocumentTypeId ?? 0) < (b.relatedDocumentTypeId ?? 0)) return -1\r\n else if ((a.relatedDocumentTypeId ?? 0) > (b.relatedDocumentTypeId ?? 0)) return 1\r\n else return utils.sort(a.relatedDocumentSerialNo, b.relatedDocumentSerialNo)\r\n });\r\n\r\n return relatedDocs;\r\n }\r\n\r\n addDoc(event: MatChipInputEvent): void {\r\n // Add location only when MatAutocomplete is not open\r\n // To make sure this does not conflict with OptionSelected Event\r\n\r\n if (!this.matAutocompleteDoc?.isOpen) {\r\n const input = event.input;\r\n\r\n // Reset the input value\r\n if (input) {\r\n input.value = '';\r\n }\r\n\r\n this.documentCtrl.setValue(null);\r\n }\r\n }\r\n\r\n removeDoc(document: RelatedDocument): void {\r\n const index = this.documents.indexOf(document);\r\n\r\n if (index >= 0) {\r\n this.documents.splice(index, 1);\r\n }\r\n this.setFormDirty();\r\n }\r\n\r\n selectedDoc(event: MatAutocompleteSelectedEvent): void {\r\n\r\n if (this.documents === null) { this.documents = []; }\r\n const selDoc = event.option.value;\r\n\r\n this.newDoc = {\r\n originalDocumentId: this.rsswa != undefined ? this.rsswa.id : 0,\r\n originalDocumentTypeId: FormType.RSSWA,\r\n relatedDocumentId: selDoc.id,\r\n relatedDocumentSerialNo: selDoc.name,\r\n relatedDocumentTypeId: selDoc.type\r\n };\r\n\r\n if (!this.documents.includes(this.newDoc)) {\r\n this.documents.push(this.newDoc);\r\n // this.documentInput.nativeElement.value = '';\r\n this.documentCtrl.setValue(null);\r\n }\r\n // this.hideDescription();\r\n }\r\n\r\n\r\n //#region Custom Work Performers component functions:\r\n\r\n loadAllWorkPerformers() {\r\n this.perLoading = true;\r\n this._performers.Read().subscribe(data => {\r\n this.allWorkPerformers = data;\r\n this.filterWorkPerformers();\r\n this.perLoading = false;\r\n });\r\n }\r\n\r\n onPerChange(code?: string) {\r\n if (!code?.includes(\"Arrow\")) {\r\n this.filterWorkPerformers();\r\n const filter = this.filteredWorkPerformers?.filter(w =>\r\n w.name.toLowerCase().includes(this.performerCtrl.value.toLowerCase()) ||\r\n w.code?.toLowerCase().includes(this.performerCtrl.value.toLowerCase()));\r\n\r\n this.filteredWorkPerformers = filter;\r\n this.createWorkPerformerGroups();\r\n }\r\n }\r\n\r\n\r\n filterWorkPerformers() {\r\n this.filteredWorkPerformers = [];\r\n\r\n this.allWorkPerformers?.map(w => {\r\n let found = false;\r\n if (this.workPerformers) {\r\n for (const d of this.workPerformers) {\r\n found = d.id === w.id;\r\n if (found) {\r\n break;\r\n }\r\n }\r\n }\r\n if (!found) {\r\n this.filteredWorkPerformers?.push(w);\r\n }\r\n });\r\n this.createWorkPerformerGroups();\r\n }\r\n\r\n createWorkPerformerGroups() {\r\n const groups: WorkPerformer[] = this.filteredWorkPerformers?.filter(w => w.type === 1) ?? [];\r\n const persons: WorkPerformer[] = this.filteredWorkPerformers?.filter(w => w.type === 2) ?? [];\r\n\r\n const workGroupGroups: WorkPerformerGroup = { name: 'Groups', workPerformers: groups };\r\n const workGroupPersons: WorkPerformerGroup = { name: 'Persons', workPerformers: persons };\r\n\r\n this.filteredPerformerGroups = [];\r\n if (groups.length > 0) {\r\n groups.sort((a, b) => {\r\n if (a.name < b.name) { return -1; }\r\n if (a.name > b.name) { return 1; }\r\n return 0;\r\n });\r\n this.filteredPerformerGroups.push(workGroupGroups);\r\n }\r\n if (persons.length > 0) {\r\n persons.sort((a, b) => {\r\n if (a.name < b.name) { return -1; }\r\n if (a.name > b.name) { return 1; }\r\n return 0;\r\n });\r\n this.filteredPerformerGroups.push(workGroupPersons);\r\n }\r\n }\r\n\r\n getWorkPerformers(): WorkPerformer[] {\r\n const workPerformers: WorkPerformer[] = [];\r\n\r\n if (this.rsswa) {\r\n if (!this.service.showAmendment)\r\n this.rsswa.workPerformers?.map(element => {\r\n workPerformers.push(element);\r\n });\r\n else\r\n this.rsswa?.rsswaAmendment?.workPerformers?.map(element => {\r\n workPerformers.push(element);\r\n });\r\n }\r\n return workPerformers;\r\n }\r\n\r\n addPer(event: MatChipInputEvent): void {\r\n // Add location only when MatAutocomplete is not open\r\n // To make sure this does not conflict with OptionSelected Event\r\n\r\n if (!this.matAutocompletePer?.isOpen) {\r\n const input = event.input;\r\n const value = event.value;\r\n\r\n // Reset the input value\r\n if (input) {\r\n input.value = '';\r\n }\r\n\r\n if (value != '') {\r\n const newPer: WorkPerformer = {\r\n id: 0,\r\n name: value,\r\n type: 1,\r\n rsswaId: this.rsswa?.id,\r\n roleId: 0,\r\n description: null,\r\n status: 1,\r\n code: null,\r\n persons: null\r\n };\r\n this.workPerformers?.push(newPer);\r\n }\r\n\r\n this.performerCtrl.setValue(null);\r\n this.filterWorkPerformers();\r\n }\r\n }\r\n\r\n removePer(wp: WorkPerformer): void {\r\n const index = this.workPerformers?.indexOf(wp) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.workPerformers?.splice(index, 1);\r\n }\r\n this.filterWorkPerformers();\r\n }\r\n\r\n selectedPer(event: MatAutocompleteSelectedEvent): void {\r\n if (!this.workPerformers) { this.workPerformers = []; }\r\n const selPer = event.option.value;\r\n\r\n this.newPer = selPer;\r\n if (this.newPer) {\r\n this.newPer.id = 0;\r\n this.newPer.rsswaId = this.rsswa ? this.rsswa.id : 0;\r\n\r\n if (!this.workPerformers?.includes(this.newPer)) {\r\n this.workPerformers?.push(this.newPer);\r\n if (this.performerInput)\r\n this.performerInput.nativeElement.value = '';\r\n this.performerCtrl.setValue(null);\r\n }\r\n }\r\n }\r\n\r\n //#endregion\r\n\r\n //#region Checkboxes\r\n\r\n systemDesign() {\r\n if (this.chkAcceleratorCtrl.value || this.chkBeamlineCtrl.value) {\r\n $('#chkRSSPLCSetCtrl').removeClass('check-disabled');\r\n $('#chkRSSSoftwareCtrl').removeClass('check-disabled');\r\n if (!this.disabled) {\r\n this.chkRSSPLCSetCtrl.enable();\r\n this.chkRSSSoftwareCtrl.enable();\r\n }\r\n } else {\r\n $('#chkRSSPLCSetCtrl').addClass('check-disabled');\r\n $('#chkRSSSoftwareCtrl').addClass('check-disabled');\r\n this.chkRSSPLCSetCtrl.disable();\r\n this.chkRSSSoftwareCtrl.disable();\r\n }\r\n\r\n if (this.chkTopOffCtrl.value) {\r\n $('#chkETIAccessCtrl').removeClass('check-disabled');\r\n $('#chkTPLSetCtrl').removeClass('check-disabled');\r\n $('#chkTSoftwareCtrl').removeClass('check-disabled');\r\n $('#chkTopOffInterlockCtrl').removeClass('check-disabled');\r\n if (!this.disabled) {\r\n this.chkETIAccessCtrl.enable();\r\n this.chkTPLSetCtrl.enable();\r\n this.chkTSoftwareCtrl.enable();\r\n this.chkTopOffInterlockCtrl.enable();\r\n }\r\n } else {\r\n $('#chkETIAccessCtrl').addClass('check-disabled');\r\n $('#chkTPLSetCtrl').addClass('check-disabled');\r\n $('#chkTSoftwareCtrl').addClass('check-disabled');\r\n $('#chkTopOffInterlockCtrl').addClass('check-disabled');\r\n this.chkETIAccessCtrl.disable();\r\n this.chkTPLSetCtrl.disable();\r\n this.chkTSoftwareCtrl.disable();\r\n this.chkTopOffInterlockCtrl.disable();\r\n }\r\n }\r\n\r\n systemChanged() {\r\n\r\n if (this.chkAcceleratorCtrl.value || this.chkBeamlineCtrl.value) {\r\n $('#chkRSSPLCSetCtrl').removeClass('check-disabled');\r\n $('#chkRSSSoftwareCtrl').removeClass('check-disabled');\r\n if (!this.disabled) {\r\n this.chkRSSPLCSetCtrl.enable();\r\n this.chkRSSSoftwareCtrl.enable();\r\n }\r\n } else {\r\n $('#chkRSSPLCSetCtrl').addClass('check-disabled');\r\n $('#chkRSSSoftwareCtrl').addClass('check-disabled');\r\n this.chkRSSPLCSetCtrl.disable();\r\n this.chkRSSSoftwareCtrl.disable();\r\n this.chkRSSPLCSetCtrl.setValue(false);\r\n this.chkRSSSoftwareCtrl.setValue(false);\r\n }\r\n\r\n if (this.chkTopOffCtrl.value) {\r\n $('#chkETIAccessCtrl').removeClass('check-disabled');\r\n $('#chkTPLSetCtrl').removeClass('check-disabled');\r\n $('#chkTSoftwareCtrl').removeClass('check-disabled');\r\n $('#chkTopOffInterlockCtrl').removeClass('check-disabled');\r\n if (!this.disabled) {\r\n this.chkETIAccessCtrl.enable();\r\n this.chkTPLSetCtrl.enable();\r\n this.chkTSoftwareCtrl.enable();\r\n this.chkTopOffInterlockCtrl.enable();\r\n }\r\n } else {\r\n $('#chkETIAccessCtrl').addClass('check-disabled');\r\n $('#chkTPLSetCtrl').addClass('check-disabled');\r\n $('#chkTSoftwareCtrl').addClass('check-disabled');\r\n $('#chkTopOffInterlockCtrl').addClass('check-disabled');\r\n this.chkETIAccessCtrl.disable();\r\n this.chkTPLSetCtrl.disable();\r\n this.chkTSoftwareCtrl.disable();\r\n this.chkTopOffInterlockCtrl.disable();\r\n this.chkETIAccessCtrl.setValue(false);\r\n this.chkTPLSetCtrl.setValue(false);\r\n this.chkTSoftwareCtrl.setValue(false);\r\n this.chkTopOffInterlockCtrl.setValue(false);\r\n }\r\n\r\n if (!this.chkBeamlineCtrl.value) {\r\n this.tmpRsswaShutters = [];\r\n }\r\n\r\n if (!this.chkAcceleratorCtrl.value) {\r\n this.tmpRsswaAcceleratorLocations = [];\r\n }\r\n\r\n this.fillResources();\r\n }\r\n\r\n\r\n cancelDraft() {\r\n const serialNo = this.rsswa?.serialNo;\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: '600px',\r\n data: { message: this.getMessage('CancelFormDialogTitle') }\r\n });\r\n\r\n confirm.afterClosed().subscribe(\r\n async data => {\r\n if (data?.accept && this.rsswa) {\r\n this.setFormDirty(false);\r\n await this.service.delete(this.rsswa.id).toPromise();\r\n await this.service.deleteSerialNo(serialNo ?? '').toPromise();\r\n this.alert.warning(serialNo + ' was Cancelled !');\r\n this.clear();\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: '600px',\r\n data: {\r\n amendment: (this.rsswa?.status === 6 || this.rsswa?.status === 7 || this.rsswa?.status === 9)\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(\r\n async data => {\r\n if (data?.accept) {\r\n this.loading.emit(true);\r\n this.wfTaskSignature.taskId = this.cancelSignature?.taskID;\r\n this.wfTaskSignature.actionId = this.cancelSignature?.cancelID;\r\n this.wfTaskSignature.reason = data.text;\r\n\r\n await this._wf.sign(this.wfTaskSignature).toPromise().catch(error => this.alert.error(error));\r\n this.loading.emit(false);\r\n this.setFormDirty(false);\r\n this.service.showAmendment = false;\r\n }\r\n }\r\n );\r\n }\r\n\r\n // Workflow\r\n\r\n sign(taskId: number, actionId: number) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this._wf.sign(this.wfTaskSignature).toPromise().then(() => {\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n async editOlog() {\r\n if (this.rsswa?.id) {\r\n try {\r\n const data = await this.ologService.getOlog(FormType.RSSWA, this.rsswa.id, OlogNotificationType.Activate).toPromise();\r\n if (data) {\r\n const dialogRef = this.dialog.open(PartialOlogComponent, {\r\n height: \"fit-content\",\r\n width: \"80%\",\r\n data,\r\n });\r\n dialogRef.afterClosed().subscribe((isSaved) => {\r\n console.log(\"The dialog was closed\");\r\n if (isSaved) {\r\n console.log(isSaved);\r\n }\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n }\r\n\r\n submit_amendment() {\r\n this.loading.emit(true);\r\n const rsswaShutters: SaveRSSWAShutter[] = [];\r\n const rsswaAcceleratorLocations: SaveRSSWAAcceleratorLocation[] = [];\r\n const rsswaRestrictions: FormRestriction[] = [];\r\n const rsswaRelatedLinks: RelatedLinkBase[] = [];\r\n const rsswaPerformingWorkUsers: RSSWAPerformingWorkUser[] = [];\r\n\r\n if (!this.wfSignatures?.filter(x => !x.signed).length) {\r\n this.alert.error('You can\\'t submit the amendment');\r\n return;\r\n }\r\n\r\n const taskID = this.wfSignatures.filter(x => !x.signed)[0].taskID;\r\n const actionID = this.wfSignatures.filter(x => !x.signed)[0].approveID;\r\n\r\n this.tmpRsswaShutters?.map(x => {\r\n rsswaShutters.push({\r\n id: x.id,\r\n rsswaID: x.rsswaID,\r\n resourceID: x.resourceID\r\n });\r\n });\r\n this.tmpRsswaAcceleratorLocations?.map(x => {\r\n rsswaAcceleratorLocations.push({\r\n id: x.id,\r\n rsswaID: x.rsswaID,\r\n resourceID: x.resourceID\r\n });\r\n });\r\n this.tmpRsswaRestrictions?.map(x => {\r\n rsswaRestrictions.push({\r\n id: x.id,\r\n formID: x.formID,\r\n restrictionID: x.restrictionID,\r\n text: x.text\r\n });\r\n });\r\n this.tmpRsswaRelatedLinks?.map(x => {\r\n rsswaRelatedLinks.push({\r\n id: x.id,\r\n formID: x.formID,\r\n text: x.text,\r\n url: x.url\r\n });\r\n });\r\n\r\n const saveRsswaSection1Resource: SaveRSSWAResource = {\r\n id: this.rsswa?.id,\r\n name: this.rsswa?.serialNo,\r\n description: this.tmpDescription,\r\n status: this.rsswa?.status,\r\n type: FormType.RSSWA,\r\n code: 'RSSWA',\r\n serialNo: this.rsswa?.serialNo,\r\n requesterId: this.requesterCtrl?.value?.id,\r\n startOn: this.estInitCtrl.value,\r\n completeOn: this.estEndCtrl.value,\r\n beamlineRSS: this.tmpSysAffectedBL,\r\n acceleratorRSS: this.tmpSysAffectedAcc,\r\n tombis: this.tmpSysAffectedTombis,\r\n affectedSystems: [],\r\n etiAccess: this.chkETIAccessCtrl.value,\r\n tombisPLCSet: this.chkTPLSetCtrl.value,\r\n tombisSoftware: this.chkTSoftwareCtrl.value,\r\n repairRequired: this.tmpChkRepair,\r\n rssPLCSet: this.chkRSSPLCSetCtrl.value,\r\n rssSoftware: this.chkRSSSoftwareCtrl.value,\r\n topOffInterlockSetPoint: this.chkTopOffInterlockCtrl.value,\r\n workPerformers: this.workPerformers,\r\n relatedDocuments: this.documents,\r\n topOff: this.chkTopOffCtrl.value,\r\n radiationMonitoringSystem: this.chkRadMonitorCtrl.value,\r\n beamLine: this.chkBeamlineCtrl.value,\r\n accelerator: this.chkAcceleratorCtrl.value,\r\n rsswaShutters,\r\n rsswaAcceleratorLocations,\r\n rsswaOtherSystems: this.tmpRsswaOtherSystems,\r\n rsswaRestrictions,\r\n functionalTest: this.chkFuncTestCtrl.value,\r\n provisionalTestingRequired: this.provisionalTestingRequiredCtrl.value,\r\n rsswaRelatedLinks,\r\n rsswaPerformingWorkUsers\r\n };\r\n if (this.isValid(2)) {\r\n this.setFormDirty(false);\r\n this.service.update(saveRsswaSection1Resource).toPromise().then(() => {\r\n this.setFormDirty(false);\r\n this.wfTaskSignature.taskId = taskID;\r\n this.wfTaskSignature.actionId = actionID;\r\n this._wf.sign(this.wfTaskSignature).toPromise().then(() => {\r\n this.loading.emit(false);\r\n },\r\n () => {\r\n this.loading.emit(false);\r\n this.alert.defaultError();\r\n });\r\n },\r\n () => {\r\n this.loading.emit(false);\r\n this.alert.defaultError();\r\n });\r\n } else {\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n verifyActions(section: number) {\r\n this.showCancelDraft = false;\r\n this.showCancelForm = false;\r\n this.showSubmit = false;\r\n this.showUnSubmit = false;\r\n\r\n if (this.rsswa?.wfTableID) {\r\n const signatures = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.map(s => s.wfSignatures)?.flatMap(a => a || []);\r\n\r\n this.showCancelDraft = this.hasPrivilege(this.privilegeEnum.RSSWACancel) &&\r\n (((this.rsswa.status == this.formStatusEnum.New || this.rsswa.status == this.formStatusEnum.Draft) && this.rsswa.editingById == this.getCurrentUser()?.id) || (this.rsswa.status == this.formStatusEnum.WorkApprovals && !signatures?.some(s => s.sectionNumber == 3 && s.signed)));\r\n\r\n this.cancelSignature = signatures?.find(s => s.sectionNumber == section && s.cancelID);\r\n if (this.cancelSignature && !this.showCancelDraft) {\r\n this.showCancelForm = this.hasRoles(this.cancelSignature.roles) && this.hasPrivilege(section == 1 ? this.privilegeEnum.RSSWACancel : this.privilegeEnum.RSSWACancelAmendment) && (section == 1 && (this.rsswa.status == this.formStatusEnum.WorkApprovals || this.rsswa.status == this.formStatusEnum.PendingActivation) || section == 9 && this.rsswa.status == this.formStatusEnum.Amendment);\r\n } else {\r\n this.showCancelForm = false;\r\n }\r\n\r\n const submitSignature = signatures?.find(s => s.sectionNumber == section);\r\n this.wfSignatures = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == section)?.wfSignatures;\r\n this.showSubmit = submitSignature?.approveEnabled && section === 1 && !submitSignature.signed;\r\n\r\n this.unSubmitSignature = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 3)?.wfSignatures?.find(s => s.disapproveEnabled);\r\n this.showUnSubmit = submitSignature?.signedBy?.id == this.getCurrentUser()?.id && (this.unSubmitSignature?.disapproveEnabled ?? false) && !signatures?.some(s => s.sectionNumber == 3 && s.signed);\r\n }\r\n }\r\n\r\n async disapprove() {\r\n if (this.unSubmitSignature) {\r\n const unsubmitTask: WFTaskSignatureResource = {\r\n taskId: this.unSubmitSignature?.taskID,\r\n actionId: this.unSubmitSignature?.disapproveID\r\n }\r\n this.loading.emit(true);\r\n await this._wf.sign(unsubmitTask).toPromise();\r\n }\r\n }\r\n\r\n fillResources() {\r\n this.tmpResourceIds = [];\r\n this.tmpResourceIds = this.tmpResourceIds.concat(this.tmpRsswaShutters?.map(x => x.resourceID) ?? []);\r\n this.tmpResourceIds = this.tmpResourceIds.concat(this.tmpRsswaAcceleratorLocations?.map(x => x.resourceID) ?? []);\r\n if (this.chkRadMonitorCtrl.value && this.sr02areasrrf)\r\n this.tmpResourceIds.push(this.sr02areasrrf.id);\r\n if (this.chkTopOffCtrl.value && this.topOff) {\r\n this.tmpResourceIds.push(this.topOff.id);\r\n }\r\n if (this.tmpRsswaOtherSystems?.length)\r\n this.tmpResourceIds = this.tmpResourceIds.concat(this.accelerators.map(x => x.id));\r\n const r = this.tmpRsswaRestrictions?.filter(x => x.restrictionID)?.map(x => x.restriction) ?? [];\r\n this.restrictionAvailableAutocomplete?.refresh(this.tmpResourceIds, r);\r\n\r\n }\r\n\r\n restrictionsChanged(e: FormRestriction[]) {\r\n this.tmpRsswaRestrictions = e;\r\n this.setFormDirty();\r\n this.fillResources();\r\n }\r\n\r\n getResources(e: RSSWAShutter[] | RSSWAAcceleratorLocation[] | undefined): Resource[] {\r\n return e?.map(x => x.resource) ?? [];\r\n }\r\n\r\n onRsswaShuttersEdited(e: Resource[]) {\r\n if (!this.tmpRsswaShutters) this.tmpRsswaShutters = [];\r\n e.map(r => {\r\n if (!this.tmpRsswaShutters?.find(s => s.resourceID == r.id))\r\n this.tmpRsswaShutters?.push({ id: 0, rsswaID: this.rsswa?.id, resource: r, resourceID: r.id });\r\n });\r\n this.tmpRsswaShutters?.map((s, i) => {\r\n if (!e.find(r => r.id == s.resourceID))\r\n this.tmpRsswaShutters?.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n this.fillResources();\r\n }\r\n\r\n onRsswaAcceleratorLocationsEdited(e: Resource[]) {\r\n if (!this.tmpRsswaAcceleratorLocations) this.tmpRsswaAcceleratorLocations = [];\r\n e.map(r => {\r\n if (!this.tmpRsswaAcceleratorLocations?.find(s => s.resourceID == r.id))\r\n this.tmpRsswaAcceleratorLocations?.push({ id: 0, rsswaID: this.rsswa?.id, resource: r, resourceID: r.id });\r\n });\r\n this.tmpRsswaAcceleratorLocations?.map((s, i) => {\r\n if (!e.find(r => r.id == s.resourceID))\r\n this.tmpRsswaAcceleratorLocations?.splice(i, 1);\r\n });\r\n this.setFormDirty();\r\n this.fillResources();\r\n }\r\n\r\n onRsswaOtherSystemsEdited(e: any) {\r\n this.tmpRsswaOtherSystems = e;\r\n this.setFormDirty();\r\n this.fillResources();\r\n }\r\n\r\n\r\n onRelatedLinksEdited(e: any) {\r\n this.tmpRsswaRelatedLinks = e;\r\n this.setFormDirty();\r\n }\r\n\r\n descriptionChanged(e: any) {\r\n this.tmpDescription = e;\r\n this.setFormDirty();\r\n }\r\n\r\n provisionalTestingRequiredChanged(text: string) {\r\n this.provisionalTestingRequiredCtrl.setValue(text);\r\n if (this.rsswa) {\r\n if (!this.showAmendment) {\r\n this.rsswa.provisionalTestingRequired = text;\r\n }\r\n else if (this.rsswa.rsswaAmendment)\r\n this.rsswa.rsswaAmendment.provisionalTestingRequired = text;\r\n }\r\n this.setFormDirty();\r\n }\r\n\r\n\r\n\r\n showAlert(e: any) {\r\n this.alert.error(e);\r\n }\r\n\r\n setUnsubmit() {\r\n\r\n }\r\n\r\n diffRelatedDocuments() {\r\n if (this.rsswa && this.service.showAmendment) {\r\n const r1 = this.rsswa?.relatedDocuments?.map(r => r.relatedDocumentSerialNo).sort((a, b) => utils.sort(a, b));\r\n const r2 = this.documents?.map(r => r.relatedDocumentSerialNo).sort((a, b) => utils.sort(a, b));\r\n return utils.JSONstringify(r1) != utils.JSONstringify(r2);\r\n }\r\n return false;\r\n }\r\n\r\n diffWorkPerformers() {\r\n if (this.rsswa && this.service.showAmendment) {\r\n const r1 = this.rsswa?.workPerformers?.map(r => r.roleId).sort((a, b) => utils.sort(a, b));\r\n const r2 = this.workPerformers?.map(r => r.roleId).sort((a, b) => utils.sort(a, b));\r\n return utils.JSONstringify(r1) != utils.JSONstringify(r2);\r\n }\r\n return false;\r\n }\r\n\r\n diffShutters() {\r\n if (this.rsswa && this.service.showAmendment) {\r\n const r1 = this.rsswa?.rsswaShutters?.map(r => r.resourceID).sort((a, b) => utils.sort(a, b));\r\n const r2 = this.tmpRsswaShutters?.map(r => r.resourceID).sort((a, b) => utils.sort(a, b));\r\n return utils.JSONstringify(r1) != utils.JSONstringify(r2);\r\n }\r\n return false;\r\n }\r\n\r\n diffAccelerators() {\r\n if (this.rsswa && this.service.showAmendment) {\r\n const r1 = this.rsswa?.rsswaAcceleratorLocations?.map(r => r.resourceID).sort((a, b) => utils.sort(a, b));\r\n const r2 = this.tmpRsswaAcceleratorLocations?.map(r => r.resourceID).sort((a, b) => utils.sort(a, b));\r\n return utils.JSONstringify(r1) != utils.JSONstringify(r2);\r\n }\r\n return false;\r\n }\r\n\r\n diffOtherSystems() {\r\n if (this.rsswa && this.service.showAmendment) {\r\n const r1 = this.rsswa?.rsswaOtherSystems?.map(r => r.text).sort((a, b) => utils.sort(a, b));\r\n const r2 = this.tmpRsswaOtherSystems?.map(r => r.text).sort((a, b) => utils.sort(a, b));\r\n return utils.JSONstringify(r1) != utils.JSONstringify(r2);\r\n }\r\n return false;\r\n }\r\n\r\n diffRelatedLinks() {\r\n if (this.rsswa && this.service.showAmendment) {\r\n const r1 = this.rsswa?.rsswaRelatedLinks?.map(r => { return { t: r.text, u: r.url }; }).sort((a, b) => utils.sort(a.t, b.t));\r\n const r2 = this.tmpRsswaRelatedLinks?.map(r => { return { t: r.text, u: r.url }; }).sort((a, b) => utils.sort(a.t, b.t));\r\n return utils.JSONstringify(r1) != utils.JSONstringify(r2);\r\n }\r\n return false;\r\n }\r\n\r\n diffRestrictions() {\r\n if (this.rsswa && this.service.showAmendment) {\r\n const r1 = this.rsswa?.rsswaRestrictions?.map(r => r.restrictionID).sort((a, b) => utils.sort(a, b));\r\n const r2 = this.tmpRsswaRestrictions?.map(r => r.restrictionID).sort((a, b) => utils.sort(a, b));\r\n this.tmpRsswaRestrictions?.map(r => {\r\n r.hilite = !r1?.find(s => s == r.restrictionID);\r\n });\r\n return utils.JSONstringify(r1) != utils.JSONstringify(r2);\r\n }\r\n return false;\r\n }\r\n\r\n getRoleCodes(user: User): string | undefined {\r\n return user.userRole?.map(r => r.role?.code).join('/');\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    Description of Work
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Estimate Start Date\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(estInitCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n Estimate Completion Date\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(estEndCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n Requester\r\n \r\n \r\n \r\n
    \r\n {{ user.name }}\r\n \r\n
    \r\n \r\n \r\n {{\r\n getErrorMsg(requesterCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n Group(s) Performing Work\r\n \r\n \r\n {{ performer.name + \" (\" + performer.code + \")\" }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ performer.name + \" (\" + performer.code + \")\" }}\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(performerCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n Systems Affected\r\n
    \r\n
    \r\n Beamline\r\n \r\n \r\n
    \r\n
    \r\n Accelerator\r\n \r\n
    \r\n
    \r\n Top-off\r\n \r\n \r\n
    \r\n
    \r\n Radiation Monitoring System\r\n
    \r\n
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n RSS PLC Set Pt / Parameter Access\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n RSS Software / Firmware Download\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n ETI Access / TOMBIS Modification / TOMBIS Removal of Components\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n TOMBIS PLC Set Pt / Parameter Access\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n TOMBIS Software / Firmware Download\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n TOP OFF Interlock set Point and/or Interlock threshold modification\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Work Controls
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n\r\n
    \r\n \r\n Cancel\r\n \r\n \r\n {{ service.showAmendment ? \"Cancel Amendment\" : \"Cancel\" }}\r\n \r\n
    \r\n
    \r\n \r\n Edit Olog\r\n \r\n\r\n \r\n {{ saveButtonText }}\r\n \r\n\r\n \r\n Unsubmit\r\n \r\n\r\n \r\n Unsubmit Amendment\r\n \r\n \r\n Submit\r\n \r\n \r\n Submit\r\n \r\n
    \r\n\r\n","import { Component, OnDestroy, Input, Injector, OnChanges, SimpleChanges, Output, EventEmitter } from '@angular/core';\r\nimport { RSSWAResource } from '../../rsswa';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { RSSFunctionalTestService } from 'src/app/services/rss-functional-test/rss-functional-test.service';\r\nimport { WFConfiguration, WfSignatureResource, WfSignature, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\n\r\n@Component({\r\n selector: 'rsswa-section3',\r\n templateUrl: './rsswa-section3.component.html',\r\n styleUrls: ['./rsswa-section3.component.scss']\r\n})\r\nexport class RsswaSection3Component extends BaseComponent implements OnDestroy, OnChanges {\r\n @Output() loading = new EventEmitter();\r\n @Input() rsswa?: RSSWAResource | null;\r\n amendments!: any[];\r\n\r\n wfSignatures!: WfSignatureResource[];\r\n signatures!: WfSignature[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n approvals!: number;\r\n disabled!: boolean;\r\n // Form\r\n\r\n constructor(\r\n private _wf: WorkFlowService,\r\n private rssFunctionalTestService: RSSFunctionalTestService,\r\n private ologService: OLogService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n clear() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n this.rsswa = null;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n let data10: WfSignatureResource[];\r\n let configuration: WFConfiguration[] | undefined;\r\n\r\n if (this.rsswa?.id) {\r\n this.loading.emit(true);\r\n this.disabled = this.rsswa?.status != FormStatusEnum.WorkApprovals && this.rsswa?.status != FormStatusEnum.AmendmentSign;\r\n\r\n\r\n data10 = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 10)?.wfSignatures?.filter(s => s.amendmentID) ?? [];\r\n this._wf.readConfiguration(3, this.rsswa.wfTableID ?? 0).toPromise().then(data => {\r\n configuration = data;\r\n const leftTasks = configuration?.filter(x => x.identificator == 21);\r\n const rightTasks = configuration?.filter(x => x.identificator == 20);\r\n\r\n this.wfSignatures = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 3)?.wfSignatures?.filter(s => !s.amendmentID) ?? [];\r\n this.wfSignatures = this.wfSignatures.concat(data10);\r\n this.approvals = this.wfSignatures.filter(x => x.enabled).length;\r\n this.signatures = [];\r\n this.wfSignatures.sort((o1, o2) => {\r\n if ((o1.amendmentID == null ? 0 : o1.amendmentID) > (o2.amendmentID == null ? 0 : o2.amendmentID)) { return 1; }\r\n if ((o1.amendmentID == null ? 0 : o1.amendmentID) < (o2.amendmentID == null ? 0 : o2.amendmentID)) { return -1; }\r\n return 0;\r\n });\r\n let amendmentNumber = 0;\r\n let lastAmendmentID = 0;\r\n this.wfSignatures.map(signature => {\r\n if ((signature.amendmentID ?? 0) > 0 && signature.amendmentID != lastAmendmentID) {\r\n amendmentNumber++;\r\n lastAmendmentID = signature.amendmentID;\r\n }\r\n signature.amendmentNumber = amendmentNumber;\r\n\r\n let previousSigned = false;\r\n\r\n if (leftTasks?.some(x => x.wfTaskLocalID === signature.id)) {\r\n previousSigned = this.findSignature(rightTasks, signature.amendmentID) ?? false;\r\n } else if (rightTasks?.some(x => x.wfTaskLocalID === signature.id)) {\r\n previousSigned = this.findSignature(leftTasks, signature.amendmentID) ?? false;\r\n }\r\n\r\n if (signature.amendmentNumber && signature.requesterSignature && !signature.signed && this.rsswa?.rsswaAmendment?.id) {\r\n const lastAmendmentID = this.wfSignatures.map(x => x.amendmentID).sort((a, b) => utils.sort(a, b, false))[0];\r\n if (signature.amendmentID == lastAmendmentID) {\r\n signature.users = [this.getUser(this.rsswa?.rsswaAmendment?.requesterId) ?? {}];\r\n signature.approveEnabled = this.currentUser?.id == this.rsswa?.rsswaAmendment?.requesterId;\r\n }\r\n }\r\n\r\n const taskEnabled = (signature.approveEnabled || signature.disapproveEnabled || signature.unapproveEnabled) && signature.status == this.rsswa?.status;\r\n\r\n\r\n const s: WfSignature = {\r\n id: signature.id,\r\n approveId: signature.approveID,\r\n unapproveId: signature.unapproveID,\r\n disapproveId: signature.disapproveID,\r\n amendmentId: signature.amendmentID,\r\n name: signature.titleBefore,\r\n roles: signature.roles.map(r => r.id),\r\n roleCodes: signature.roles.map(r => r.code).join('/'),\r\n userNames: signature.users.map(user => user.name).join('/'),\r\n disabled: this.disabled || previousSigned || !taskEnabled,\r\n approvedBy: signature.signedBy,\r\n approved: signature.signed,\r\n approvedOn: signature.signedOn,\r\n approve: signature.approveEnabled,\r\n unapprove: signature.unapproveEnabled,\r\n disapprove: signature.disapproveEnabled,\r\n amendment: signature.amendmentEnabled,\r\n required: signature.required,\r\n taskId: signature.taskID,\r\n value: signature.value,\r\n cancelID: signature.cancelID,\r\n cancel: signature.cancelEnabled,\r\n enabled: signature.enabled,\r\n amendmentNumber: signature.amendmentNumber ?? 0\r\n };\r\n if (!this.signatures.some(x => x.taskId === s.taskId)) {\r\n this.signatures.push(s);\r\n }\r\n });\r\n this.amendments = [];\r\n this.signatures.map(s => {\r\n if (!this.amendments.includes(s.amendmentNumber)) {\r\n this.amendments.push(s.amendmentNumber);\r\n }\r\n });\r\n this.loading.emit(false);\r\n\r\n });\r\n\r\n }\r\n }\r\n\r\n findSignature(tasks: WFConfiguration[] | undefined, amendmentId: number) {\r\n return tasks?.some(task => this.wfSignatures.some(x => x.id === task.wfTaskLocalID && x.amendmentID === amendmentId && x.signedBy?.id === this.getCurrentUser()?.id));\r\n };\r\n\r\n getSignaturesByAmendment(a: any) {\r\n return this.signatures.filter(s => s.amendmentNumber == a);\r\n }\r\n\r\n getLastAmendment() {\r\n const last = this.signatures.filter(x => x.amendmentNumber).map(x => x.amendmentNumber).sort((a, b) => utils.sort(a, b, false));\r\n return last ? last[0] : 0;\r\n }\r\n\r\n async approve(taskId?: number, actionId?: number) {\r\n let rsswa = this.rsswa;\r\n const isAmendment = rsswa?.rsswaAmendment != null;\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n let ok = true;\r\n if (rsswa?.id && taskId && isAmendment) {\r\n const amendmentID = this.signatures.find(s => s.taskId == taskId)?.amendmentId;\r\n const isFirstSignature = this.signatures.filter(s => s.amendmentId == amendmentID).findIndex(s => s.taskId == taskId) == 0;\r\n console.log(this.signatures);\r\n let toActive = this.checkToActiveStatus(rsswa, taskId);\r\n if (toActive && !isFirstSignature) {\r\n ok = await this.showAproveToActiveMessage();\r\n if (ok) {\r\n const response = await this.ologService.postToOlog(this.formTypeEnum.RSSWA, this.rsswa?.id ?? 0, isAmendment ? OlogNotificationType.Amended : OlogNotificationType.Activate, this.amendments[this.amendments.length - 1]);\r\n ok = response?.ok ?? false;\r\n\r\n if (this.rsswa?.id)\r\n await this.rssFunctionalTestService.activate(this.rsswa?.id).toPromise();\r\n }\r\n }\r\n }\r\n if (ok) {\r\n this.loading.emit(true);\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n else {\r\n this.refresh();\r\n }\r\n }\r\n\r\n async unapprove(taskId?: number, actionId?: number) {\r\n this.loading.emit(true);\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n\r\n async disapprove(taskID?: number, actionID?: number, data?: any) {\r\n this.loading.emit(true);\r\n this.wfTaskSignature.taskId = taskID;\r\n this.wfTaskSignature.actionId = actionID;\r\n this.wfTaskSignature.reason = data?.text;\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n\r\n signCount(): number {\r\n if (!this.wfSignatures)\r\n return 0;\r\n return this.wfSignatures.filter(signature => signature.enabled && signature.signed).length;\r\n }\r\n\r\n checkToActiveStatus(rsswa: RSSWAResource, taskId: number) {\r\n const amendmentNo = this.amendments[this.amendments.length - 1] as number;\r\n const signatures3 = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 10)?.wfSignatures?.filter(s => s.taskID != taskId && s.amendmentNumber == amendmentNo && s.enabled && (s.requesterSignature && !s.users.map(u => u.id).includes(this.currentUser?.id)));\r\n const signatures4 = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.filter(s => s.enabled && s.amendmentNumber == amendmentNo);\r\n return !signatures3?.length && !signatures4?.length;\r\n }\r\n\r\n}\r\n","
    \r\n
    Review & Authorization
    \r\n 0 && a == getLastAmendment(),\r\n 'border-amd-old': a > 0 && a != getLastAmendment()\r\n }\"\r\n >\r\n 0\"\r\n >Amendment {{ a }}\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n\r\n","import { Component, ViewChildren, QueryList, OnDestroy, Injector, Input, OnChanges, SimpleChanges, Output, EventEmitter } from '@angular/core';\r\nimport { RSSWAResource } from '../../rsswa';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { DataButtonSignature } from 'src/app/common/models/data-button-signature';\r\nimport { ButtonSignatureComponent } from 'src/app/controls/checklist-components/button-signature/button-signature.component';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { RSSFunctionalTestService } from 'src/app/services/rss-functional-test/rss-functional-test.service';\r\nimport { WFConfiguration, WfSignature, WfSignatureResource, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { KEService } from 'src/app/components/kenable/ke.service';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'rsswa-section4',\r\n templateUrl: './rsswa-section4.component.html',\r\n styleUrls: ['./rsswa-section4.component.scss']\r\n})\r\nexport class RsswaSection4Component extends BaseComponent implements OnDestroy, OnChanges {\r\n\r\n @Input() rsswa?: RSSWAResource | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n // Workflow\r\n @ViewChildren('btnSign')\r\n signatureComponents!: QueryList;\r\n wfConfiguration!: WFConfiguration;\r\n Signatures!: WfSignature[];\r\n wfSignatures?: WfSignatureResource[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n disabled!: boolean;\r\n\r\n // section!: number;\r\n amendments: any[] = [];\r\n previousSigned = false;\r\n\r\n restrictions!: Restriction[];\r\n restrictionsFiltered!: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n //\r\n\r\n\r\n // Form\r\n public form!: FormGroup;\r\n\r\n constructor(\r\n private _wf: WorkFlowService,\r\n private ologService: OLogService,\r\n private rssFunctionalTestService: RSSFunctionalTestService,\r\n protected override injector: Injector,\r\n private keService: KEService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n // this.canApprove = !this.Signatures.some(s => s.approvedBy?.id == this.currentUser?.id);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadRestrictions();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.restrictionsSubs?.unsubscribe();\r\n }\r\n\r\n loadRestrictions() {\r\n this.restrictions$ = this.store.select((state) => state.Restrictions.data);\r\n this.restrictionsSubs = this.restrictions$.subscribe((data) => {\r\n if (data?.length) {\r\n this.restrictions = data;\r\n }\r\n });\r\n }\r\n\r\n async refresh() {\r\n let configuration: WFConfiguration[] | undefined;\r\n let data11: WfSignatureResource[];\r\n\r\n if (this.rsswa?.id && this.rsswa.wfTable) {\r\n this.loading.emit(true);\r\n\r\n this.disabled = this.rsswa?.status != FormStatusEnum.Active && this.rsswa?.status != FormStatusEnum.PendingActivation && this.rsswa?.status != FormStatusEnum.WorkCompleted && this.rsswa?.status != FormStatusEnum.AmendmentSign;\r\n\r\n if (this.rsswa?.wfTable)\r\n configuration = await this._wf.readConfiguration(3, this.rsswa.wfTable.id).toPromise();\r\n data11 = this.rsswa.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 11)?.wfSignatures?.filter(s => s.amendmentID) ?? [];\r\n this.wfSignatures = this.rsswa.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 4)?.wfSignatures;\r\n this.wfSignatures = this.wfSignatures?.concat(data11);\r\n\r\n this.Signatures = [];\r\n let index = 0;\r\n\r\n this.wfSignatures = this.wfSignatures?.sort((o1, o2) => {\r\n if ((o1.amendmentID ?? 0) > (o2.amendmentID ?? 0)) { return 1; }\r\n if ((o1.amendmentID ?? 0) < (o2.amendmentID ?? 0)) { return -1; }\r\n return 0;\r\n });\r\n\r\n let amendmentNumber = 0;\r\n let lastAmendmentID = 0;\r\n this.wfSignatures?.map(signature => {\r\n if ((signature.amendmentID ?? 0) > 0 && signature.amendmentID != lastAmendmentID) {\r\n amendmentNumber++;\r\n lastAmendmentID = signature.amendmentID;\r\n }\r\n signature.amendmentNumber = amendmentNumber;\r\n\r\n this.previousSigned = this.wfSignatures?.some(s => s.amendmentID == signature.amendmentID && s.signedBy?.id == this.currentUser?.id && signature.id != s.id) ?? false;\r\n\r\n const taskEnabled = (signature.approveEnabled || signature.unapproveEnabled) && signature.status == this.rsswa?.status;\r\n\r\n const s: WfSignature = {\r\n id: signature.id,\r\n approveId: signature.approveID,\r\n unapproveId: signature.unapproveID,\r\n disapproveId: signature.disapproveID,\r\n amendmentId: signature.amendmentID,\r\n name: signature.titleBefore,\r\n roles: signature.roles.map(r => r.id),\r\n roleCodes: signature.roles.map(r => r.code).join('/'),\r\n disabled: this.disabled || !taskEnabled,\r\n approvedBy: signature.signedBy,\r\n approved: signature.signed,\r\n approvedOn: signature.signedOn,\r\n approve: signature.approveEnabled && !this.previousSigned,\r\n unapprove: signature.unapproveEnabled,\r\n disapprove: signature.disapproveEnabled && !this.previousSigned,\r\n amendment: signature.amendmentEnabled,\r\n required: signature.required,\r\n taskId: signature.taskID,\r\n value: signature.value,\r\n cancelID: signature.cancelID,\r\n cancel: signature.cancelEnabled,\r\n enabled: signature.enabled,\r\n amendmentNumber: signature.amendmentNumber\r\n };\r\n\r\n if (index < 2) {\r\n if (this.rsswa?.status != FormStatusEnum.PendingActivation && this.rsswa?.status != FormStatusEnum.AmendmentSign) {\r\n signature.disabled = true;\r\n }\r\n }\r\n\r\n index++;\r\n if (!this.Signatures.some(x => x.taskId == s.taskId)) {\r\n this.Signatures.push(s);\r\n }\r\n this.signatureComponents.map(s => { s.refresh(); });\r\n });\r\n this.amendments = [];\r\n this.Signatures.map(s => {\r\n if (!this.amendments.includes(s.amendmentNumber ?? 0)) {\r\n this.amendments.push(s.amendmentNumber ?? 0);\r\n }\r\n });\r\n\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n getSignaturesByAmendment(a: any) {\r\n return this.Signatures.filter(s => (s.amendmentNumber ?? 0) == (a ?? 0));\r\n }\r\n\r\n getLastAmendment() {\r\n const last = this.Signatures.filter(x => x.amendmentNumber).map(x => x.amendmentNumber).sort((a, b) => (a ?? 0) - (b ?? 0)).reverse();\r\n return last ? last[0] : 0;\r\n }\r\n\r\n async approve(taskId?: number, actionId?: number) {\r\n this.loading.emit(true);\r\n let ok = true;\r\n let signatures = this.wfSignatures?.filter(s => s.taskID != taskId);\r\n if (!signatures?.filter(x => !x.signed).length && this.rsswa?.id) {\r\n ok = await this.showAproveToActiveMessage();\r\n\r\n if (ok && this.rsswa?.id) {\r\n const response = await this.ologService.postToOlog(this.formTypeEnum.RSSWA, this.rsswa?.id, this.rsswa?.status === FormStatusEnum.PendingActivation ? OlogNotificationType.Activate : OlogNotificationType.Amended, this.amendments[this.amendments.length - 1]);\r\n ok = response?.ok ?? false;\r\n }\r\n if (this.rsswa?.id)\r\n await this.rssFunctionalTestService.activate(this.rsswa?.id).toPromise();\r\n }\r\n if (ok) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n\r\n\r\n //Refresh KEs\r\n const restrictedResourceIDs = this.restrictions.filter(x => this.rsswa?.rsswaRestrictions?.filter(x => x.restrictionID).map(r => r.restrictionID).includes(x.id)).map(y => y.resourceID).filter((resourceID): resourceID is number => resourceID !== undefined);\r\n if (restrictedResourceIDs !== undefined && restrictedResourceIDs.length > 0) {\r\n this.keService.processKES(restrictedResourceIDs);\r\n }\r\n }\r\n else { this.refresh(); }\r\n this.loading.emit(false);\r\n }\r\n\r\n async unapprove(taskId?: number, actionId?: number) {\r\n this.loading.emit(true);\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n\r\n async disapprove(taskID?: number, actionID?: number, data?: DataButtonSignature) {\r\n this.loading.emit(true);\r\n this.wfTaskSignature.taskId = taskID;\r\n this.wfTaskSignature.actionId = actionID;\r\n this.wfTaskSignature.reason = data?.text;\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n\r\n}\r\n","
    \r\n
    Controls / Mitigation Installation
    \r\n 0 && a == getLastAmendment(),\r\n 'border-amd-old': a > 0 && a != getLastAmendment()\r\n }\"\r\n >\r\n 0\"\r\n >Amendment {{ a }}\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n\r\n","import { Component, ViewChildren, QueryList, OnDestroy, Input, Injector, OnChanges, SimpleChanges, Output, EventEmitter } from '@angular/core';\r\nimport { RSSWAResource, SaveRSSWASection5Resource } from '../../rsswa';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { DataButtonSignature } from 'src/app/common/models/data-button-signature';\r\nimport { ButtonSignatureComponent } from 'src/app/controls/checklist-components/button-signature/button-signature.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { WfTaskLocalResource, WfTaskResource, WfSignature, WfSignatureResource, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\n\r\n@Component({\r\n selector: 'rsswa-section5',\r\n templateUrl: './rsswa-section5.component.html',\r\n styleUrls: ['./rsswa-section5.component.scss']\r\n})\r\nexport class RsswaSection5Component extends BaseComponent implements OnDestroy, OnChanges {\r\n\r\n @Input() rsswa?: RSSWAResource | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n rsswaS5!: SaveRSSWASection5Resource;\r\n\r\n serialNo!: string;\r\n status!: string;\r\n\r\n // Workflow\r\n @ViewChildren('btnSign')\r\n signatureComponents!: QueryList;\r\n workFlow!: WfTaskLocalResource[];\r\n workFlowPending!: WfTaskResource[];\r\n signatures!: WfSignature[];\r\n wfSignatures!: WfSignatureResource[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n wfSignCount!: number;\r\n approvals!: number;\r\n disabled!: boolean;\r\n\r\n // Form\r\n public form!: FormGroup;\r\n\r\n constructor(\r\n private _wf: WorkFlowService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({});\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n clear() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n this.buildForm();\r\n this.form.reset();\r\n this.form.disable();\r\n }\r\n\r\n refresh() {\r\n this.disabled = this.rsswa?.status !== FormStatusEnum.Active;\r\n\r\n if (this.rsswa) {\r\n this.wfSignCount = 0;\r\n this.wfSignatures = this.rsswa.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 5)?.wfSignatures ?? [];\r\n\r\n this.approvals = this.wfSignatures.length;\r\n this.signatures = [];\r\n this.wfSignatures.map(t => {\r\n\r\n const taskEnabled = (t.approveEnabled || t.unapproveEnabled) && this.rssFunctionalTestsFinished() && t.status == this.rsswa?.status;\r\n\r\n const signature: WfSignature = {\r\n id: t.id,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n roles: t.roles.map(r => r.id),\r\n roleCodes: t.roles.map(r => r.code).join('/'),\r\n disabled: this.disabled || !taskEnabled,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveEnabled,\r\n unapprove: t.unapproveEnabled,\r\n disapprove: t.disapproveEnabled,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n cancelID: t.cancelID,\r\n cancel: t.cancelEnabled,\r\n enabled: t.enabled\r\n };\r\n this.wfSignCount = this.signCount();\r\n if (this.signatures.filter(x => x.id === signature.id).length <= 0) {\r\n this.signatures.push(signature);\r\n }\r\n });\r\n }\r\n }\r\n\r\n async approve(taskId?: number, actionId?: number) {\r\n let status = this.rsswa?.status;\r\n if (this.signCount() + 1 === this.approvals) { // Active => WorkComplete\r\n status = FormStatusEnum.WorkCompleted;\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('toWorkCompleteWarning')?.description,\r\n icon: 'warn'\r\n }\r\n });\r\n\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this.loading.emit(true);\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n else {\r\n this.refresh();\r\n }\r\n });\r\n }\r\n else {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this.loading.emit(true);\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n }\r\n\r\n async unapprove(taskId?: number, actionId?: number) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this.loading.emit(true);\r\n await this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n\r\n disapprove(taskID?: number, actionID?: number, data?: DataButtonSignature) {\r\n this.wfTaskSignature.taskId = taskID;\r\n this.wfTaskSignature.actionId = actionID;\r\n this.wfTaskSignature.reason = data?.text;\r\n this.loading.emit(true);\r\n this._wf.sign(this.wfTaskSignature).toPromise();\r\n }\r\n\r\n signCount() {\r\n let count = 0;\r\n if (this.wfSignatures) {\r\n this.wfSignatures.map(t => {\r\n if (t.signedBy != null) { count++; }\r\n });\r\n }\r\n return count;\r\n }\r\n\r\n rssFunctionalTestsFinished(): boolean {\r\n return !this.rsswa?.rssFunctionalTests?.some(x => x.checklist?.checklistStatus?.formStatusID != FormStatusEnum.Closed);\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Close-out & Return to Service
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n\r\n","import { Component, OnInit, Input, Injector, OnChanges, SimpleChanges, EventEmitter, Output } from '@angular/core';\r\nimport { RsswaService } from '../../rsswa.service';\r\nimport { RSSWAResource, SaveRSSWAStatusResource } from '../../rsswa';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormStatusEnum, FormType, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { WfTaskLocalResource, WfTaskResource, WfSignature, WfSignatureResource, WFTaskSignatureResource, SaveTaskResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\n\r\n@Component({\r\n selector: 'rsswa-section6',\r\n templateUrl: './rsswa-section6.component.html',\r\n styleUrls: ['./rsswa-section6.component.scss']\r\n})\r\nexport class RsswaSection6Component extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() rsswa?: RSSWAResource | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n public disabled!: boolean;\r\n public questionDisabled!: boolean;\r\n\r\n // Workflow\r\n workFlow!: WfTaskLocalResource[];\r\n workFlowPending!: WfTaskResource[];\r\n signatures!: WfSignature[];\r\n wfSignatures!: WfSignatureResource[];\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n wfSignCount!: number;\r\n\r\n wfFinish = new WfSignature;\r\n approvals?: number;\r\n reqApprovals!: boolean;\r\n\r\n // Form\r\n public form!: FormGroup;\r\n\r\n constructor(\r\n private _rsswa: RsswaService,\r\n public _wf: WorkFlowService,\r\n private ologService: OLogService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n public refresh() {\r\n this.wfSignCount = 0;\r\n if (this.rsswa?.wfTable) {\r\n this.wfSignatures = this.rsswa.wfTable.wfTableLocal?.wfSectionLocals.find(s => s.number == 6)?.wfSignatures ?? [];\r\n this.signatures = [];\r\n this.approvals = this.wfSignatures.length;\r\n this.reqApprovals = this.wfSignatures.some(t => t.value && t.approveEnabled && !t.wfTaskLocal.wfActionLocals?.some(x => x.name == 'Close'));\r\n this.setDisabled();\r\n this.wfSignatures.map(t => {\r\n const taskEnabled = (t.approveEnabled || t.unapproveEnabled) && this.rsswa?.status != FormStatusEnum.Canceled && this.rsswa?.status != FormStatusEnum.Closed;\r\n if (!t.wfTaskLocal.wfActionLocals?.some(x => x.name == 'Close')) {\r\n let signature: WfSignature = {\r\n id: t.id,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n question: t.question,\r\n roles: t.roles.map(r => r.id),\r\n roleCodes: t.roles.map(r => r.code).join('/'),\r\n disabled: this.disabled || !taskEnabled,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveEnabled && t.value,\r\n unapprove: t.unapproveEnabled && t.value,\r\n disapprove: t.disapproveEnabled,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value\r\n };\r\n this.wfSignCount = this.signCount();\r\n this.signatures.push(signature);\r\n }\r\n else {\r\n this.wfFinish = {\r\n id: t.id,\r\n approveId: t.approveID,\r\n name: t.titleBefore,\r\n roles: t.roles.map(r => r.id),\r\n roleCodes: t.roles.map(r => r.code).join('/'),\r\n disabled: this.disabled || this.reqApprovals,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n required: t.required,\r\n question: t.question,\r\n value: t.value,\r\n taskId: t.taskID,\r\n approve: true,\r\n unapprove: false,\r\n amendment: false\r\n };\r\n }\r\n });\r\n }\r\n }\r\n\r\n setDisabled() {\r\n this.disabled = this.rsswa?.status != FormStatusEnum.WorkCompleted;\r\n this.questionDisabled = this.rsswa?.status == FormStatusEnum.Closed || this.rsswa?.status == FormStatusEnum.Canceled || !this.getCurrentUser();\r\n }\r\n\r\n\r\n answered(taskId: any, e: any) {\r\n let saveTask: SaveTaskResource = {\r\n id: taskId,\r\n value: e\r\n };\r\n\r\n this.saveTask(saveTask);\r\n }\r\n\r\n saveTask(saveTask: SaveTaskResource) {\r\n this.loading.emit(true);\r\n this._wf.save(saveTask).subscribe(() => {\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n approve(taskId?: number, actionId?: number) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this.loading.emit(true);\r\n this._wf.sign(this.wfTaskSignature).subscribe(() => {\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n async close(taskId?: number, actionId?: number) {\r\n if (!this.rsswa?.id) return;\r\n const response = await this.ologService.postToOlog(FormType.RSSWA, this.rsswa?.id, OlogNotificationType.Closed);\r\n if (response?.ok) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this.loading.emit(true);\r\n this._wf.sign(this.wfTaskSignature).subscribe(() => {\r\n if (this.rsswa) {\r\n const status: SaveRSSWAStatusResource = {\r\n id: this.rsswa.id,\r\n status: FormStatusEnum.Closed\r\n };\r\n this._rsswa.putStatus(status).subscribe(\r\n () => {\r\n this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', this.rsswa?.serialNo), new MessagePlaceholder('{status}', 'Closed')]);\r\n },\r\n error => {\r\n console.error(error);\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n }\r\n\r\n unapprove(taskId?: number, actionId?: number) {\r\n this.wfTaskSignature.taskId = taskId;\r\n this.wfTaskSignature.actionId = actionId;\r\n this.loading.emit(true);\r\n this._wf.sign(this.wfTaskSignature).subscribe(() => {\r\n this.loading.emit(false);\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n saveStatus(status: SaveRSSWAStatusResource) {\r\n this._rsswa.putStatus(status).toPromise();\r\n }\r\n\r\n signCount() {\r\n return this.wfSignatures.filter(t => !t.signed).length - 1;\r\n }\r\n}\r\n","
    \r\n
    Notification & Follow-up
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n","import { Component, ViewChild, ViewChildren, ViewContainerRef, QueryList, Output, EventEmitter, HostListener, OnInit, AfterViewInit, OnDestroy, Injector, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { RSSWAResource } from '../rsswa';\r\nimport { RsswaService } from '../rsswa.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormType, FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { RSSWAUpdate } from '../store/rsswa.action';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'rsswa-side-panel',\r\n templateUrl: './rsswa-side-panel.component.html',\r\n styleUrls: ['./rsswa-side-panel.component.scss']\r\n})\r\nexport class RsswaSidePanelComponent extends BaseComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {\r\n\r\n public displayedColumns: string[] = ['serialNo', 'affectedSystemsNames', 'statusName'];\r\n public dataSource = new MatTableDataSource();\r\n\r\n filter?: string | null;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n @ViewChild(MatPaginator) paginator!: MatPaginator;\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows!: QueryList;\r\n\r\n public serialNo!: string;\r\n public selectedRowIndex = -1;\r\n public showClosed = false;\r\n\r\n public allowNew!: boolean | null;\r\n public disabled = false;\r\n\r\n maxHeight!: string;\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n @Output() newDocument = new EventEmitter();\r\n @Output() requestClear = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n rsswa?: RSSWAResource;\r\n rsswas?: RSSWAResource[];\r\n rsswasFiltered?: RSSWAResource[];\r\n rsswas$!: Observable;\r\n rsswasSubs!: Subscription;\r\n\r\n constructor(\r\n private service: RsswaService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n async ngOnInit() {\r\n this.loadRSSWAs();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngAfterViewInit() {\r\n }\r\n\r\n loadRSSWAs() {\r\n this.loading.emit(true);\r\n this.rsswas$ = this.store.select(state => state.RSSWA.data);\r\n this.rsswasSubs = this.rsswas$.subscribe(async data => {\r\n if (data?.length) {\r\n this.rsswas = data;\r\n this.rsswa = this.rsswas.find(r => r.id == this.rsswa?.id);\r\n const openDocument = await this.checkOpenDocument(FormType.RSSWA, data);\r\n if (openDocument) {\r\n if (openDocument.closed)\r\n this.showClosed = openDocument.closed;\r\n if (this.rsswa?.id == openDocument.document.id)\r\n openDocument.document = this.rsswa;\r\n await this.getValues(openDocument.document, this.rsswa?.retrievedBy != this.currentUser?.id);\r\n }\r\n else this.loading.emit(false);\r\n this.rsswasFiltered = data.filter(r => !this.showClosed ? (r?.status != FormStatusEnum.Closed && r?.status != FormStatusEnum.Canceled) : true).sort((a, b) => utils.sort(a.serialNo, b.serialNo, false));\r\n this.dataSource = new MatTableDataSource(this.rsswasFiltered);\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n });\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: any) {\r\n this.innerWidth = event.target.innerWidth;\r\n this.innerHeight = event.target.innerHeight;\r\n if (this.innerHeight > 500) {\r\n this.maxHeight = (this.innerHeight - 130) + 'px';\r\n } else { this.maxHeight = (this.innerHeight * 2) + 'px'; }\r\n }\r\n\r\n async getValues(row?: RSSWAResource, refresh: boolean = true) {\r\n const user = this.getCurrentUser();\r\n if (await this.canDeactivate())\r\n if (!this.disabled && row) {\r\n this.disabled = true;\r\n this.loading.emit(true);\r\n this.selectedRowIndex = row?.id;\r\n this.setOpenDocument(FormType.RSSWA, row.id);\r\n if (!row?.wfTable || row.retrievedBy != user?.id) {\r\n row = (await this.service.getById(row.id).toPromise()) as RSSWAResource;\r\n if (row) {\r\n row.retrievedBy = user?.id;\r\n this.rsswa = row;\r\n if (refresh) this.store.dispatch(new RSSWAUpdate(row.id, row));\r\n }\r\n }\r\n\r\n this.rowSelected.emit(row);\r\n this.showElement(row);\r\n setTimeout(() => {\r\n this.disabled = false;\r\n this.loading.emit(false);\r\n }, 1000);\r\n }\r\n }\r\n\r\n //#region FILTERS\r\n\r\n applyFilter(e: any) {\r\n const filterValue = e;\r\n this.filter = filterValue;\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n\r\n if (this.dataSource.paginator) {\r\n this.dataSource.paginator.firstPage();\r\n }\r\n }\r\n\r\n\r\n //#region TableScroll\r\n showElement(rsswa?: RSSWAResource) {\r\n this.setHeights();\r\n const indexstr = this.dataSource.data?.findIndex(r => r.id == rsswa?.id).toString();\r\n const row = this.rows.find(row => row.element.nativeElement.getAttribute('position') === indexstr);\r\n if (row) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > 7)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n return;\r\n }\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n //#endregion\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Show Closed/Canceled RSSWA\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n No.\r\n \r\n \r\n edit\r\n \r\n \r\n\r\n \r\n \r\n Affected System(s)\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { Component, ViewChild, Injector, OnInit } from '@angular/core';\r\nimport { RsswaSidePanelComponent } from './rsswa-side-panel/rsswa-side-panel.component';\r\nimport { RSSWAResource } from './rsswa';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { RsswaService } from './rsswa.service';\r\nimport { FormStatusEnum, FormType, LoadingOrigin, Roles } from 'src/app/common/enumerations/enumerations';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { WFSectionLocalResource, WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { CanComponentDeactivate } from 'src/app/common/guards/unsaved-changes.guard';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { WFTableResource } from '../workflow/workflow';\r\nimport { User } from '../catalogs/user-catalog/services/user';\r\nimport { flatMap } from 'lodash';\r\n\r\n@Component({\r\n selector: 'rsswa',\r\n templateUrl: './rsswa.component.html',\r\n styleUrls: ['./rsswa.component.scss']\r\n})\r\n\r\nexport class RsswaComponent extends BaseComponent implements OnInit, CanComponentDeactivate {\r\n\r\n loading?: boolean;\r\n\r\n rsswa?: RSSWAResource | null;\r\n rsswas?: RSSWAResource[];\r\n rsswasFiltered?: RSSWAResource[];\r\n rsswas$!: Observable;\r\n rsswasSubs!: Subscription;\r\n\r\n canCreateAmendment!: boolean | null;\r\n wfAmendmentSignature?: WfSignatureResource;\r\n showAmendmentToggle = false;\r\n testingCompleteSigned? = false;\r\n\r\n @ViewChild(RsswaSidePanelComponent) public sidePanel!: RsswaSidePanelComponent;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public service: RsswaService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadRSSWAs();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n loadRSSWAs() {\r\n this.rsswas$ = this.store.select(state => state.RSSWA.data);\r\n this.rsswasSubs = this.rsswas$.subscribe(data => {\r\n if (data?.length) {\r\n this.rsswas = data;\r\n if (this.rsswa?.serialNo) {\r\n const status = this.rsswa?.status;\r\n const rsswa = this.rsswas.find(r => r.serialNo == this.rsswa?.serialNo);\r\n if (rsswa) {\r\n this.rsswa = rsswa;\r\n this.sidePanel.selectedRowIndex = this.rsswa.id;\r\n this.checkPrivileges();\r\n if (this.rsswa.status != status) this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', this.rsswa?.serialNo), new MessagePlaceholder('{status}', this.rsswa.statusName)], undefined, 'Form Status Changed');\r\n } else {\r\n this.rsswa = null;\r\n this.sidePanel.selectedRowIndex = -1;\r\n };\r\n }\r\n }\r\n });\r\n }\r\n\r\n checkPrivileges() {\r\n const signatures = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.map(s => s.wfSignatures)?.flatMap(a => a || []);\r\n this.wfAmendmentSignature = this.rsswa?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 9)?.wfSignatures?.[0];\r\n this.canCreateAmendment = this.rsswa?.status == FormStatusEnum.Active && this.hasPrivilege(this.privilegeEnum.RequestRSSWAAmendment) && this.wfAmendmentSignature != null;\r\n this.showAmendmentToggle = this.rsswa?.status === FormStatusEnum.Amendment || this.rsswa?.status === FormStatusEnum.AmendmentSign;\r\n this.testingCompleteSigned = signatures?.find(s => s.code == 'TESTING_COMPLETE')?.signed;\r\n this.setHeights();\r\n }\r\n\r\n async create() {\r\n if (await this.canDeactivate())\r\n if (this.sidePanel) {\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n const serialNo = await this.service.getSerialNo().toPromise()\r\n this.sidePanel.selectedRowIndex = -1;\r\n this.rsswa = {\r\n id: 0,\r\n type: FormType.RSSWA,\r\n serialNo: serialNo?.serialNo,\r\n status: FormStatusEnum.New,\r\n statusName: 'New',\r\n createdBy: this.getCurrentUser()?.id,\r\n createdByName: this.getCurrentUser()?.name,\r\n createdOn: new Date(),\r\n formStatus: { name: 'New', color: 'yellow' },\r\n editingBy: this.getCurrentUser(),\r\n editingById: this.getCurrentUser()?.id,\r\n startOn: new Date(),\r\n completeOn: new Date()\r\n } as RSSWAResource;\r\n this.rsswa = (await this.service.create(this.rsswa).toPromise()) as RSSWAResource;\r\n this.sidePanel.selectedRowIndex = this.rsswa.id;\r\n this.showAmendmentToggle = false;\r\n this.service.showAmendment = false;\r\n this.setOpenDocument(FormType.RSSWA, this.rsswa.id);\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n this.setFormDirty();\r\n this.setOpenDocument(FormType.RSSWA, this.rsswa.id);\r\n }\r\n }\r\n\r\n async edit(value: boolean) {\r\n if (value) {\r\n this.changeEditing(value);\r\n }\r\n else if (!value && await this.canDeactivate()) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage(\"SCF_Release_confirmation\")\r\n ?.description, icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async data => {\r\n if (data) {\r\n this.changeEditing(value);\r\n }\r\n });\r\n }\r\n }\r\n\r\n changeEditing(value: boolean) {\r\n if (this.rsswa?.id) {\r\n this.setLoading(true, this.loadingOrigin.Main);\r\n this.service.setEditing(this.rsswa?.id, value).toPromise();\r\n this.setLoading(false, this.loadingOrigin.Main);\r\n if (this.rsswa?.status == this.formStatusEnum.Amendment)\r\n this.service.showAmendment = value;\r\n }\r\n }\r\n\r\n requestAmendment() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('request_amendment')?.description,\r\n icon: 'warn'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(async data => {\r\n if (data && this.rsswa) {\r\n this.setLoading(true, 3)\r\n await this.service.requestAmendment(this.rsswa.id).toPromise();\r\n this.service.showAmendment = true;\r\n setTimeout(() => {\r\n this.rowSelected(this.rsswa);\r\n }, 1000);\r\n }\r\n });\r\n }\r\n\r\n showAmendmentChange(e: any) {\r\n this.service.showAmendment = e.checked;\r\n }\r\n\r\n changedEvent(e: RSSWAResource | null) {\r\n this.rsswa = e;\r\n }\r\n\r\n rowSelected(e: any) {\r\n if (e.id != this.rsswa?.id) this.scrollToTop('sidenav-content');\r\n this.rsswa = e;\r\n this.service.showAmendment = (this.rsswa?.status == FormStatusEnum.Amendment || this.rsswa?.status == FormStatusEnum.AmendmentSign) && this.rsswa?.editingById == this.getCurrentUser()?.id;\r\n this.loadRSSWAs();\r\n }\r\n\r\n duplicate() {\r\n const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '20em',\r\n data: {\r\n message: 'Are you sure you want to copy this form?',\r\n icon: 'warn',\r\n val: false\r\n }\r\n });\r\n removeRef.afterClosed().subscribe(result => {\r\n if (result && this.rsswa) {\r\n this.setLoading(true, this.loadingOrigin.Self);\r\n this.service.copyRSSWA(this.rsswa.id, false).subscribe(data => {\r\n this.rsswa = data;\r\n this.setOpenDocument(FormType.RSSWA, this.rsswa.id);\r\n this.sidePanel.loadRSSWAs();\r\n this.sidePanel.selectedRowIndex = this.rsswa.id;\r\n this.showAmendmentToggle = false;\r\n this.service.showAmendment = false;\r\n this.setLoading(false, this.loadingOrigin.Self);\r\n this.setOpenDocument(FormType.RSSWA, this.rsswa.id);\r\n });\r\n }\r\n });\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 1000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Self:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 1);\r\n }\r\n\r\n loadingSide!: boolean;\r\n loadingButtons!: boolean;\r\n loadingMain!: boolean;\r\n loadingOrigin = LoadingOrigin;\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n RSSWA Forms\r\n
    \r\n \r\n

    \r\n {{ rsswa?.serialNo }}\r\n

    \r\n \r\n {{ rsswa.formStatus?.name }}\r\n \r\n
    \r\n
    \r\n \r\n Operator initiating form\r\n \r\n \r\n
    \r\n
    \r\n \r\n Created Date\r\n \r\n \r\n
    \r\n \r\n
    \r\n Show Pending Amendment\r\n \r\n
    \r\n
    \r\n Modifying by: {{\r\n rsswa?.editingBy?.name\r\n }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n Modify Form\r\n edit\r\n \r\n\r\n \r\n Create Amendment\r\n healing\r\n \r\n\r\n \r\n Modify Amendment\r\n edit\r\n \r\n\r\n \r\n Copy Form\r\n content_copy\r\n \r\n \r\n Release Form\r\n lock_open\r\n \r\n \r\n \r\n \r\n
    \r\n 576,\r\n amendment: service.showAmendment\r\n }\"\r\n >\r\n \r\n
    \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule, FormControl, FormGroupDirective, NgForm } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { RsswaComponent } from './rsswa.component';\r\nimport { RsswaSidePanelComponent } from './rsswa-side-panel/rsswa-side-panel.component';\r\nimport { RsswaMainPanelComponent } from './rsswa-main-panel/rsswa-main-panel.component';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { RsswaSection1Component } from './rsswa-main-panel/rsswa-section1/rsswa-section1.component';\r\nimport { RsswaShutterChipsComponent } from './rsswa-main-panel/rsswa-chips/rsswa-shutter-chips/rsswa-shutter-chips.component';\r\nimport { RsswaPerformingWorkUserChipsComponent } from './rsswa-main-panel/rsswa-chips/rsswa-performing-work-user-chips/rsswa-performing-work-user-chips.component';\r\nimport { RsswaAcceleratorLocationChipsComponent } from './rsswa-main-panel/rsswa-chips/rsswa-accelerator-location-chips/rsswa-accelerator-location-chips.component';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { RssFunctionalTestChipsComponent } from './rsswa-main-panel/rsswa-chips/rss-functional-test-chips/rss-functional-test-chips.component';\r\nimport { RsswaSection3Component } from './rsswa-main-panel/rsswa-section3/rsswa-section3.component';\r\nimport { RsswaSection4Component } from './rsswa-main-panel/rsswa-section4/rsswa-section4.component';\r\nimport { RsswaSection5Component } from './rsswa-main-panel/rsswa-section5/rsswa-section5.component';\r\nimport { RsswaSection6Component } from './rsswa-main-panel/rsswa-section6/rsswa-section6.component';\r\nimport { RsswaLogComponent } from './rsswa-main-panel/rsswa-log/rsswa-log.component';\r\nimport { RSSFunctionalTestPopupComponent } from './rsswa-main-panel/rss-functional-test-popup/rss-functional-test-popup.component';\r\nimport { RsswaOtherSystemChipsComponent } from './rsswa-main-panel/rsswa-chips/rsswa-other-system-chips/rsswa-other-system-chips.component';\r\nimport { RsswaSection1FunctionalTestsComponent } from './rsswa-main-panel/rsswa-section1/rsswa-section1-functional-tests/rsswa-section1-functional-tests.component';\r\nimport { RssFunctionalTestListComponent } from './rsswa-main-panel/rss-functional-test-list/rss-functional-test-list.component';\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n RsswaComponent,\r\n RsswaSidePanelComponent,\r\n RsswaMainPanelComponent,\r\n RsswaSection1Component,\r\n RsswaSection3Component,\r\n RsswaSection4Component,\r\n RsswaSection5Component,\r\n RsswaSection6Component,\r\n RsswaLogComponent,\r\n // Other\r\n RsswaShutterChipsComponent,\r\n RsswaPerformingWorkUserChipsComponent,\r\n RsswaAcceleratorLocationChipsComponent,\r\n RsswaOtherSystemChipsComponent,\r\n RssFunctionalTestChipsComponent,\r\n RSSFunctionalTestPopupComponent,\r\n RsswaSection1FunctionalTestsComponent,\r\n RssFunctionalTestListComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ChecklistsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class RsswaModule { }\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RSSWAResource, SaveRSSWAResource, SaveRSSWAStatusResource } from './rsswa';\r\nimport { RefreshFormStatus } from 'src/app/services/forms/refresh-form-status';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RsswaService extends BaseService {\r\n showAmendment: boolean = false;\r\n\r\n SerialNumber = '/SerialNumbers/' + FormType.RSSWA;\r\n Api = '/rsswa';\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector, '/RSSWA');\r\n }\r\n\r\n getSerialNo(): Observable {\r\n const httpresult1 = this.http.get(this.BASE_URL + this.SerialNumber);\r\n return httpresult1;\r\n }\r\n\r\n deleteSerialNo(serialNo?: string) {\r\n return this.http.delete(this.BASE_URL + this.Api + '/SerialNo/' + serialNo);\r\n }\r\n\r\n getOpen(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/Open');\r\n return httpresult;\r\n }\r\n\r\n getBySerialNo(sn: string): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/SerialNo/' + sn);\r\n return httpresult;\r\n }\r\n\r\n getStatus(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/GetStatus/' + id);\r\n return httpresult;\r\n }\r\n\r\n putStatus(saveRsswaResource: SaveRSSWAStatusResource) {\r\n return this.http.put(this.BASE_URL + this.Api + '/Status/' + saveRsswaResource.id, saveRsswaResource);\r\n }\r\n\r\n requestAmendment(id: number): Observable {\r\n return this.http.put(this.BASE_URL + this.Api + '/RequestAmendment/' + id.toString(), null);\r\n }\r\n\r\n // finishAmendment(id: number): Observable {\r\n // return this.http.put(this.BASE_URL + this.Api + '/FinishAmendment/' + id.toString(), null);\r\n // }\r\n\r\n setEditing(id: number, value?: boolean): Observable {\r\n const URL = this.BASE_URL + this.Api + '/SetEditing/' + id;\r\n const httpresult2 = this.http.put(URL, { Value: value });\r\n return httpresult2;\r\n }\r\n\r\n copyRSSWA(id: number, isAmendment: boolean): Observable {\r\n return this.http.post(this.BASE_URL + this.Api + '/copy/' + id + '/' + isAmendment, null);\r\n }\r\n\r\n isRequester(rsswa?: RSSWAResource | null) {\r\n return this.currentUser && (rsswa?.requesterId == this.currentUser?.id || utils.getAllRequesters(rsswa?.wfTable).map(u => u.id == this.currentUser?.id));\r\n }\r\n}\r\n\r\ninterface SerialNumber {\r\n serialNo: string;\r\n}\r\n","import { RSSWAResource } from \"../rsswa\";\r\n\r\nexport class RSSWARefresh {\r\n static readonly type = '[RSSWAResource] Refresh';\r\n}\r\nexport class RSSWACreate {\r\n static readonly type = '[RSSWAResource] Create';\r\n constructor(public item: RSSWAResource) { }\r\n}\r\nexport class RSSWAUpdate {\r\n static readonly type = '[RSSWAResource] Update';\r\n constructor(public id: number, public item: RSSWAResource) { }\r\n}\r\nexport class RSSWADelete {\r\n static readonly type = '[RSSWAResource] Delete';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class RSSWARefreshByID {\r\n static readonly type = '[RSSWAResource] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RSSWAResource, SaveRSSWAResource } from '../rsswa';\r\nimport { RSSWARefresh, RSSWACreate, RSSWAUpdate, RSSWADelete, RSSWARefreshByID } from './rsswa.action';\r\nimport { RsswaService } from '../rsswa.service';\r\n\r\nexport class RSSWAStateModel {\r\n data: RSSWAResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RSSWA',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class RSSWAState {\r\n constructor(\r\n private service: RsswaService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RSSWAStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RSSWARefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getAll().subscribe(data => {\r\n const rsswas = data as RSSWAResource[];\r\n patchState({ data: rsswas });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(RSSWARefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: RSSWARefreshByID) {\r\n this.service.getById(id).subscribe(\r\n data => {\r\n const rsswa = data as RSSWAResource;\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, rsswa]\r\n });\r\n }\r\n );\r\n }\r\n\r\n @Action(RSSWACreate)\r\n create({ getState, patchState }: StateContext, { item }: RSSWACreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RSSWAUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RSSWAUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n\r\n @Action(RSSWADelete)\r\n delete({ getState, patchState }: StateContext, { id }: RSSWADelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RSSWAActions from './rsswa.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RSSWAStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RSSWAActions.RSSWARefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RSSWA, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RSSWAActions.RSSWACreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RSSWAActions.RSSWAUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RSSWAActions.RSSWADelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RSSWAActions.RSSWARefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new RSSWAActions.RSSWARefreshByID(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, Input } from '@angular/core';\r\nimport { SignResource } from 'src/app/services/logs/signs';\r\n\r\n@Component({\r\n selector: 'scf-log-signature',\r\n templateUrl: './scf-log-signature.component.html',\r\n styleUrls: ['./scf-log-signature.component.scss']\r\n})\r\nexport class ScfLogSignatureComponent {\r\n\r\n @Input() signature!: SignResource;\r\n\r\n\r\n formatText(t?: string) {\r\n let res: string = '';\r\n if (t?.includes('Submitted')) {\r\n res = '' + (t.includes('Approved') ? 'Submit' : 'Unsubmit') + '';\r\n }\r\n else {\r\n if (t?.includes('Work Approvals/') || t?.includes('RWAPI Confirm')) res = this.format('Work Approval');\r\n else if (t?.includes('Requester')) res = this.format('Requester Concurrence');\r\n else if (t?.includes('Cancel')) res = this.format('Cancelled');\r\n else if (t?.includes('Op Restrictions')) res = this.format('Op Restrictions in place');\r\n else if (t?.includes('Amendment Created')) res = 'Amendment Request';\r\n else if (t?.includes('Work Complete')) res = this.format('Work Complete');\r\n else if (t?.includes('Shielding verified')) res = this.format('Shielding Verified');\r\n else if (t?.includes('/Shielding inspected')) res = this.format('Shielding Inspected');\r\n else if (t?.includes('SCF Complete')) res = this.format('SCF Complete');\r\n else if (t?.includes('Operational Approval/')) res = this.format(t.replace('Operational Approval/', ''));\r\n else if (t?.includes('Operational Approval/')) res = this.format(t.replace('Operational Approval/', ''));\r\n else if (t?.includes('No work performed/')) res = this.format(t?.replace('No work performed/', ''));\r\n else res = this.format(t);\r\n }\r\n res = res.replaceAll(' approved', '').replaceAll(' - Approved', '');\r\n return res;\r\n }\r\n\r\n format(t?: string): string {\r\n const type = t?.includes('Unapproved') ? Type.Unapprove : t?.includes('Disaproved') ? Type.Disapprove : Type.Normal;\r\n switch (type) {\r\n case Type.Unapprove:\r\n return '' + t + ' Unnaproved'\r\n case Type.Disapprove:\r\n return '' + t + ' Disapproved';\r\n default:\r\n }\r\n return '' + t + '';\r\n }\r\n\r\n cancelled(signature: SignResource) {\r\n return signature.reason &&\r\n !signature.name?.includes('Unsubmit') &&\r\n !signature.name?.includes('Disapproved')\r\n }\r\n}\r\n\r\nenum Type {\r\n Normal = 0,\r\n Cancel = 1,\r\n Unapprove = 2,\r\n Disapprove = 3\r\n}\r\n","
    \r\n \r\n
    \r\n cancel\r\n \r\n
    \r\n comment{{ signature.reason }}\r\n
    \r\n
    \r\n By: {{ signature.signedBy }}
    \r\n On:\r\n {{ signature.signedOn | date : \"medium\" }}\r\n
    \r\n\r\n\r\n","import { Component, Output, EventEmitter, Input, OnChanges, SimpleChanges, OnInit, OnDestroy, Injector, ElementRef, ViewChild, HostListener } from '@angular/core';\r\nimport { RelatedDocument } from 'src/app/services/documents/documents';\r\nimport { LogToShowResource } from 'src/app/services/logs/log-to-show-resource';\r\nimport { SignResource } from 'src/app/services/logs/signs';\r\nimport { WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { SCFMaster, SCFAmendment } from '../../scf';\r\nimport { WorkerVerification } from 'src/app/services/worker-verification/worker-verification';\r\nimport { WorkerVerificationService } from 'src/app/services/worker-verification/worker-verification.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { SCFStatus, ScfV2Service } from '../../scf-v2.service';\r\nimport moment from 'moment';\r\nimport { CommentDelete } from '../../../../controls/comments-and-attachments/store/comments.action';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'scf-log',\r\n templateUrl: './scf-log.component.html',\r\n styleUrls: ['./scf-log.component.scss']\r\n})\r\n\r\nexport class SCFLogComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Output() requestRefresh = new EventEmitter();\r\n generalLogs: LogToShowResource = {};\r\n show = false;\r\n signLogs?: SignResource[] = [];\r\n amendmentsLogs: SignResource[] = [];\r\n loading = false;\r\n showUpdates = false;\r\n showAddedUpdates = false;\r\n showDeletedUpdates = false;\r\n showModifiedUpdates = false;\r\n hasOriginal = false;\r\n originalBody?: SCFMaster;\r\n workerVerifications?: WorkerVerification[] = [];\r\n\r\n length = 100;\r\n pageSize = 5;\r\n pageSizeOptions: number[] = [5, 10, 25];\r\n\r\n status?: SCFStatus;\r\n showBoxes?: boolean;\r\n\r\n @ViewChild('original') contentToPrint?: ElementRef;\r\n\r\n constructor(\r\n private wfService: WorkFlowService,\r\n private scfService: ScfV2Service,\r\n private workerVerificationService: WorkerVerificationService,\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.scfMaster) {\r\n this.refresh();\r\n }\r\n }\r\n\r\n refresh() {\r\n if (this.scfMaster?.id) {\r\n this.loading = true;\r\n this.wfService.getLogsBySn(this.scfMaster.serialNo).subscribe(response => {\r\n this.generalLogs = response;\r\n if (this.generalLogs) {\r\n this.show = true;\r\n }\r\n this.fillLogs();\r\n if (this.scfMaster?.type && this.scfMaster?.id) {\r\n this.workerVerificationService.getByForm(this.scfMaster.type, this.scfMaster.id).toPromise().then(data => {\r\n this.workerVerifications = data;\r\n for (const wv of this.workerVerifications ?? []) {\r\n const WorkerVerificationSignature: SignResource = {\r\n name: 'Worker Verification',\r\n signedBy: wv.user?.name,\r\n signedOn: wv.date,\r\n amendmentId: 0,\r\n };\r\n this.generalLogs.signs?.push(WorkerVerificationSignature);\r\n }\r\n });\r\n }\r\n this.generalLogs.signs = this.generalLogs.signs?.sort((a, b) => moment(a.signedOn).isAfter(b.signedOn) ? 1 : moment(a.signedOn).isBefore(b.signedOn) ? -1 : 0);\r\n this.signLogs = this.generalLogs.signs?.filter(s => s.amendmentId === 0);\r\n this.signLogs?.map(x => {\r\n if (x.name?.includes('Disapproved') && !x.reason) {\r\n x.name = x.name.replace('Disapproved', 'Unsubmitted');\r\n }\r\n });\r\n });\r\n } else {\r\n this.show = false;\r\n }\r\n }\r\n\r\n fillLogs() {\r\n if (this.generalLogs.originalBody) {\r\n this.generalLogs.originalBodySCF = JSON.parse(this.generalLogs.originalBody) as SCFMaster;\r\n if (this.generalLogs.originalBodySCF) {\r\n this.generalLogs.originalBodySCF.createdByName = this.getUsers()?.find(u => u.id == this.generalLogs.originalBodySCF?.createdBy)?.name;\r\n this.generalLogs.originalBodySCF.requesterName = this.getUsers()?.find(u => u.id == this.generalLogs.originalBodySCF?.requesterId)?.name;\r\n this.originalBody = this.generalLogs.originalBodySCF as SCFMaster;\r\n this.originalBody.shieldingNames = '';\r\n this.status = { isViewingAmendment: false } as SCFStatus;\r\n }\r\n if (this.originalBody?.shieldingAffected) {\r\n (JSON.parse(this.originalBody.shieldingAffected)).map((shielding: any) => {\r\n if (shielding && this.originalBody) {\r\n this.originalBody.shieldingNames += shielding.childResourceName + ', ';\r\n }\r\n });\r\n this.originalBody.shieldingNames = this.originalBody.shieldingNames?.slice(0, -2);\r\n }\r\n this.hasOriginal = true;\r\n }\r\n this.fillUpdates();\r\n }\r\n\r\n fillUpdates() {\r\n if (this.generalLogs?.originalBodySCF?.wfTableID) {\r\n\r\n // #REGION SET AMENDMENTSLIST\r\n let wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number == 6)?.wfSignatures;\r\n wfSignatures = wfSignatures?.filter(s => s.taskID !== 0);\r\n if (wfSignatures)\r\n this.scfService.amendmentsList = this.getAmendmentList(wfSignatures);\r\n // #END REGION SET AMENDMENTSLIST\r\n\r\n if (this.generalLogs?.updates?.length) {\r\n this.generalLogs.updates.map((update, i) => {\r\n if (update.oldBody) {\r\n update.oldBodySCF = JSON.parse(update.oldBody);\r\n if (update.oldBodySCF) {\r\n update.oldBodySCF.shieldingNames = '';\r\n if (update.oldBodySCF.shieldingAffected) {\r\n (JSON.parse(update.oldBodySCF.shieldingAffected)).map((shielding: any) => {\r\n if (shielding && update.oldBodySCF) {\r\n update.oldBodySCF.shieldingNames += shielding.childResourceName + ', ';\r\n }\r\n });\r\n update.oldBodySCF.shieldingNames = update.oldBodySCF.shieldingNames.slice(0, -2);\r\n }\r\n }\r\n }\r\n if (update.oldBodySCF) {\r\n update.oldBodySCF.createdByName = this.getUsers()?.find(u => u.id == update.oldBodySCF?.createdBy)?.name;\r\n update.oldBodySCF.requesterName = this.getUsers()?.find(u => u.id == update.oldBodySCF?.requesterId)?.name;\r\n }\r\n if (update.added && update.added.length > 0) {\r\n this.showAddedUpdates = true;\r\n }\r\n if (update.deleted && update.deleted.length > 0) {\r\n this.showDeletedUpdates = true;\r\n }\r\n if (update.modified && update.modified.length > 0) {\r\n this.showModifiedUpdates = true;\r\n }\r\n this.generateAmendmentViews();\r\n update.header = this.getScfLogHeadText(update.amendmentId);\r\n });\r\n this.showUpdates = true;\r\n } else { this.showUpdates = false; }\r\n } else {\r\n this.showUpdates = false;\r\n }\r\n this.loading = false;\r\n }\r\n\r\n generateAmendmentViews() {\r\n this.generalLogs.updates?.map((update, i) => {\r\n let scfMasterAmended = {} as SCFMaster;\r\n\r\n if (update.oldBodySCF && this.scfMaster) {\r\n update.status = { isViewingAmendment: true } as SCFStatus;\r\n update.scfMaster = update.oldBodySCF as SCFMaster;\r\n\r\n if (this.generalLogs.updates && i < this.generalLogs.updates.length - 1)\r\n scfMasterAmended = this.generalLogs.updates[i + 1].oldBodySCF as SCFMaster;\r\n else if (this.generalLogs.updates && i == this.generalLogs.updates?.length - 1)\r\n scfMasterAmended = this.scfMaster;\r\n\r\n if (scfMasterAmended)\r\n update.scfMaster.scfAmendments = [this.createAmendment(scfMasterAmended)];\r\n }\r\n });\r\n }\r\n\r\n getScfLogHeadText(amendmentId?: number): string {\r\n const fakeAmendmentId = this.findIndex(amendmentId);\r\n const res = (fakeAmendmentId ? ('Amendment ' + fakeAmendmentId) : 'Amendment Cancelled') + '';\r\n return res;\r\n }\r\n\r\n createAmendment(scfMaster: SCFMaster): SCFAmendment {\r\n return {\r\n id: 0,\r\n active: true,\r\n scfID: this.scfMaster?.id,\r\n name: scfMaster.name,\r\n description: scfMaster.description,\r\n status: scfMaster.status,\r\n type: scfMaster.type,\r\n createdOn: scfMaster.createdOn,\r\n createdBy: scfMaster.createdBy,\r\n locations: scfMaster.locations,\r\n locationNames: scfMaster.locationNames,\r\n locationIds: scfMaster.locationIds,\r\n accRFShielding: scfMaster.accRFShielding,\r\n blShielding: scfMaster.blShielding,\r\n permanentAccRemoval: scfMaster.permanentAccRemoval,\r\n permanentBLRemoval: scfMaster.permanentBLRemoval,\r\n tocaMovement: scfMaster.tocaMovement,\r\n shieldingAffected: scfMaster.shieldingAffected,\r\n requesterId: scfMaster.requesterId,\r\n estimatedEndOn: scfMaster.estimatedEndOn,\r\n estimatedStartOn: scfMaster.estimatedStartOn,\r\n notificationMessage: scfMaster.notificationMessage,\r\n notifyARC: scfMaster.notifyARC,\r\n notifyBLSci: scfMaster.notifyBLSci,\r\n notifyBRC: scfMaster.notifyBRC,\r\n notifyHP: scfMaster.notifyHP,\r\n notifyRF: scfMaster.notifyRF,\r\n notifyRP: scfMaster.notifyRP,\r\n notifySnA: scfMaster.notifySnA,\r\n scfRestrictionsV2: scfMaster.scfRestrictionsV2,\r\n relatedDocuments: scfMaster.relatedDocuments,\r\n relatedLinks: scfMaster.relatedLinks\r\n } as SCFAmendment;\r\n }\r\n\r\n findIndex(amendmentId?: number): number {\r\n if (amendmentId) {\r\n let fakeAmendmentId = this.scfService.amendmentsList.findIndex(amid => amid === amendmentId);\r\n if (fakeAmendmentId >= 0)\r\n return fakeAmendmentId + 1;\r\n }\r\n return 0;\r\n }\r\n\r\n getAmendmentList(wfSignatures: WfSignatureResource[]): number[] {\r\n let olderAmendmentId = -1;\r\n let res: number[] = [];\r\n wfSignatures.map(t => {\r\n if (t.amendmentID !== olderAmendmentId) {\r\n olderAmendmentId = t.amendmentID;\r\n res.push(olderAmendmentId);\r\n }\r\n });\r\n\r\n res = [...new Set(res)].sort((a, b) => a - b);\r\n return res;\r\n }\r\n\r\n // setPageSizeOptions(setPageSizeOptionsInput: string) {\r\n // this.pageSizeOptions = setPageSizeOptionsInput.split(',').map(str => +str);\r\n // }\r\n\r\n // maprelatedDocument(RelatedDocuments?: RelatedDocument[]) {\r\n // return RelatedDocuments?.map(({ relatedDocumentSerialNo }) => relatedDocumentSerialNo).join(', ');\r\n // }\r\n\r\n\r\n\r\n getTopPosition(parent: HTMLDivElement) {\r\n const rect = parent.getBoundingClientRect();\r\n if (rect.top < 170 && rect.bottom > 250)\r\n return {\r\n position: 'fixed', top: '169px', right: '90px', 'padding-bottom': '3px', 'padding-top': '5px',\r\n 'box-shadow': '0 2px 3px #aaa'\r\n };\r\n else return { position: 'relative' };\r\n }\r\n\r\n\r\n}\r\n","
    \r\n
    History Log
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n Show Signature Boxes\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n \r\n
    \r\n {{\r\n signature.signedOn | date : \"medium\"\r\n }}\r\n arrow_right_alt\r\n\r\n \r\n {{ signature.name }} by\r\n {{ signature.signedBy }} \r\n comment\r\n \r\n {{ signature.reason }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n Original Form \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n {{\r\n update?.amendmentDate | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n Show Amendment\r\n
    \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    Signatures
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    There are not signatures
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n\r\n
    \r\n","import { Component, EventEmitter, Input, OnInit, Output, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { FormStatusEnum, NotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { SCFMaster, SCFAmendment } from '../../scf';\r\nimport { SCFPrivileges, SCFStatus, ScfV2Service } from '../../scf-v2.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { NotificationService } from 'src/app/components/catalogs/notifications/services/notification.service';\r\nimport { CancelDialogComponent } from 'src/app/controls/cancel-dialog/cancel-dialog.component';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\nimport { NotificationMessage } from 'src/app/components/catalogs/notifications/services/notification.models';\r\n\r\n\r\n@Component({\r\n selector: 'scf-v2-main-buttons',\r\n templateUrl: './scf-v2-main-buttons.component.html',\r\n styleUrls: ['./scf-v2-main-buttons.component.scss']\r\n})\r\nexport class ScfV2MainButtonsComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled? = true;\r\n @Input() privileges?: SCFPrivileges;\r\n @Input() status?: SCFStatus;\r\n @Input() valid?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n @Output() setSetatus = new EventEmitter();\r\n @Output() saved = new EventEmitter();\r\n\r\n disableControls = true;\r\n\r\n // isMobileDevice = utils.isMobileDevice();\r\n\r\n scfAmendment?: SCFAmendment;\r\n scfAmendmentNumber?: number;\r\n\r\n constructor(\r\n private scfService: ScfV2Service,\r\n public wfService: WorkFlowService,\r\n private notificationService: NotificationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.getValues();\r\n this.setDisabled();\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n getValues() {\r\n if (this.status?.isViewingAmendment) {\r\n this.scfAmendment = this.scfMaster?.scfAmendments?.find(x => x.active);\r\n this.scfAmendmentNumber = this.scfMaster?.scfAmendments?.filter(x => x.status != FormStatusEnum.Canceled).length;\r\n }\r\n }\r\n\r\n setValues() {\r\n\r\n }\r\n\r\n setDisabled() {\r\n if (this.disabled) {\r\n this.disableControls = true;\r\n }\r\n else if (this.status?.isCreating || this.status?.isEditing || this.status?.isCreatingAmendment || this.status?.isEditingAmendment) {\r\n this.disableControls = false;\r\n }\r\n else {\r\n this.disableControls = true;\r\n }\r\n }\r\n\r\n async update() {\r\n if (this.scfMaster)\r\n return await this.scfService.update(this.scfMaster).toPromise();\r\n else return null;\r\n }\r\n\r\n async save(status: FormStatusEnum) {\r\n this.loading.emit(true);\r\n const oldStatus = this.scfMaster?.status;\r\n if (this.scfMaster) {\r\n if (this.scfMaster.status === FormStatusEnum.Amendment) {\r\n status = this.scfMaster.status;\r\n } else {\r\n this.scfMaster.status = status;\r\n }\r\n if (status === FormStatusEnum.WorkApprovals) {\r\n this.scfMaster.editingById = null;\r\n this.scfMaster.editingUntil = null;\r\n }\r\n }\r\n const scfMaster = await this.update();\r\n this.alert.success('Update/Save');\r\n const wfSignature = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 2)?.wfSignatures?.find(x => x.code == 'SUBMIT');\r\n if (wfSignature && status == FormStatusEnum.WorkApprovals) {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: wfSignature.taskID,\r\n actionId: wfSignature.approveID\r\n };\r\n await this.sign(wfTaskSignature);\r\n }\r\n else if (status == FormStatusEnum.Draft && oldStatus == FormStatusEnum.WorkApprovals) {\r\n const wfUnsubmitSignature = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 2)?.wfSignatures?.find(x => x.code == 'RWAPI');\r\n if (wfUnsubmitSignature?.disapproveID) {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: wfUnsubmitSignature.taskID,\r\n actionId: wfUnsubmitSignature.disapproveID\r\n };\r\n await this.sign(wfTaskSignature);\r\n }\r\n }\r\n await this.createNotification();\r\n this.setFormDirty(false);\r\n this.loading.emit(false);\r\n }\r\n\r\n async createNotification() {\r\n if (this.scfMaster?.id)\r\n this.notificationService.getNotification(NotificationType.CreateSCF, this.scfMaster?.id, this.scfMaster.locations).toPromise().then(async data => {\r\n if (!data && this.scfMaster?.id) {\r\n const notification = {\r\n notificationId: NotificationType.CreateSCF,\r\n documentId: this.scfMaster?.id,\r\n toAddresses: this.utils.JSONstringify({ computed: await this.scfService.getEmails(this.scfMaster), added: [] }),\r\n type: 5,\r\n locations: this.scfMaster.locations ?? []\r\n } as NotificationMessage;\r\n this.notificationService.createNotification(notification).toPromise();\r\n }\r\n });\r\n }\r\n\r\n async sign(wfTaskSignature: WFTaskSignatureResource) {\r\n this.loading.emit(true);\r\n await this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.loading.emit(false);\r\n if (this.scfMaster?.id)\r\n this.notificationService.getNotification(NotificationType.CreateSCF, this.scfMaster?.id, this.scfMaster.locations).toPromise().then(async notification => {\r\n this.setFormDirty(false);\r\n if (this.scfMaster)\r\n await this.scfService.getEmails(this.scfMaster).then(async scfMails => {\r\n if (notification != null) {\r\n const toAddressesAdded = utils.JSONparse(notification.toAddresses)?.added;\r\n notification.toAddresses = JSON.stringify({ computed: scfMails, added: toAddressesAdded });\r\n await this.notificationService.saveNotification(notification).toPromise().then(() => { }, () => this.alert.defaultError());\r\n }\r\n }).catch(error => {\r\n this.alert.defaultError();\r\n console.error(error);\r\n this.loading.emit(false);\r\n });\r\n }).catch(error => {\r\n this.alert.defaultError();\r\n console.error(error);\r\n this.loading.emit(false);\r\n });\r\n }).catch(error => {\r\n this.alert.defaultError();\r\n console.error(error);\r\n this.loading.emit(false);\r\n }).finally(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n isValid() {\r\n if (!this.status?.isViewingAmendment) {\r\n return this.valid && this.scfMaster?.scfRestrictionsV2 && this.scfMaster?.scfRestrictionsV2.length !== 0;\r\n }\r\n else {\r\n const scfAmendment = this.scfMaster?.scfAmendments?.find(x => x.active);\r\n return this.valid && scfAmendment?.scfRestrictionsV2?.length !== 0;\r\n }\r\n }\r\n\r\n async submitAmendment() {\r\n this.loading.emit(true);\r\n if (this.scfMaster) {\r\n this.scfMaster.editingById = null;\r\n this.scfMaster.editingUntil = null;\r\n const scfMaster = await this.update();\r\n const wfSignature = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 5)?.wfSignatures?.find(x => x.code == 'SUBMIT' && x.signedBy == null);\r\n if (wfSignature) {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: wfSignature.taskID,\r\n actionId: wfSignature.approveID\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.setFormDirty(false);\r\n this.alert.message('amendment has been Submitted', [new MessagePlaceholder('{serialNo}', this.scfMaster?.serialNo ?? '')]);\r\n this.loading.emit(false);\r\n },\r\n error => {\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n }\r\n }\r\n\r\n unsubmitAmendment() {\r\n const wfSignature = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.code == 'RWAPI' && !x.signed);\r\n if (wfSignature?.disapproveID) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: wfSignature.taskID,\r\n actionId: wfSignature.disapproveID,\r\n reason: 'Unsubmitted by ' + this.getCurrentUser()?.name\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.alert.message('amendment has been Unsubmitted', [new MessagePlaceholder('{serialNo}', this.scfMaster?.serialNo ?? '')], MessageTypeEnum.Warning);\r\n this.loading.emit(false);\r\n },\r\n error => {\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n }\r\n\r\n cancel() {\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: '600px',\r\n data: {\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data?.accept && this.scfMaster) {\r\n this.loading.emit(true);\r\n this.scfService.cancel(this.scfMaster, data.text).toPromise().then(() => {\r\n this.setFormDirty(false);\r\n this.alert.message('CancelSuccess', [new MessagePlaceholder('{reason}', data.text)]);\r\n this.loading.emit(false);\r\n this.saved.emit(null);\r\n });\r\n }\r\n });\r\n }\r\n\r\n cancelAmendment() {\r\n let cancelTask = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 5)?.wfSignatures?.find(x => x.cancelEnabled);\r\n if (!cancelTask) {\r\n cancelTask = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => (x.code == 'RP' || x.code == 'RWAPI') && x.amendmentNumber == this.scfAmendmentNumber);\r\n }\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: '600px',\r\n data: {\r\n amendment: true\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data?.accept && cancelTask?.taskID && cancelTask?.cancelID) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: cancelTask?.taskID,\r\n actionId: cancelTask?.cancelID,\r\n reason: data.text\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.alert.message('CancelAmendmentSuccess', [new MessagePlaceholder('{reason}', wfTaskSignature.reason)]);\r\n if (this.status) {\r\n this.status.isCreatingAmendment = false;\r\n this.status.isViewingAmendment = false;\r\n this.status.isEditingAmendment = false;\r\n this.setSetatus.emit(this.status);\r\n }\r\n this.loading.emit(false);\r\n this.setFormDirty(false);\r\n },\r\n error => {\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Cancel Amendment\r\n \r\n
    \r\n
    \r\n \r\n {{\r\n scfMaster?.status !== formStatusEnum.New\r\n ? \"Update Draft\"\r\n : \"Save Draft\"\r\n }}\r\n \r\n \r\n Update Amendment\r\n \r\n \r\n Unsubmit\r\n \r\n \r\n Unsubmit Amendment\r\n \r\n \r\n Submit\r\n \r\n \r\n Submit\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Input, OnInit, OnDestroy, OnChanges, SimpleChanges, ViewChild, ElementRef, Output, EventEmitter, Injector } from \"@angular/core\";\r\nimport { Subscription } from \"rxjs/internal/Subscription\";\r\nimport { Observable } from \"rxjs\";\r\nimport { AbstractControl, FormControl, Validators } from \"@angular/forms\";\r\nimport { SCFPrivileges, SCFStatus, SCFWorkRequired, ScfV2Service } from \"../../scf-v2.service\";\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from \"@angular/material/autocomplete\";\r\nimport { MatChipInputEvent } from \"@angular/material/chips\";\r\nimport moment from \"moment\";\r\nimport { CdkDragDrop, CdkDragMove, CdkDropList, CdkDropListGroup, moveItemInArray } from \"@angular/cdk/drag-drop\";\r\nimport { ViewportRuler } from \"@angular/cdk/scrolling\";\r\nimport { Roles, WorkRequired, ResourceType, NotificationType, Action, FormType, OlogNotificationType } from \"src/app/common/enumerations/enumerations\";\r\nimport { BeamlineRequiringApproval } from \"src/app/components/catalogs/bratoi/models/beamline-requiring-approval\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { RelatedDocument } from \"src/app/services/documents/documents\";\r\nimport { NotificationMessage } from \"src/app/components/catalogs/notifications/services/notification.models\";\r\nimport { ResourceRelation, Resource, Location, ShieldingGroup, ResourceGroup } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { TOCA } from \"src/app/components/catalogs/beamline-catalog/resource/toca\";\r\nimport { Restriction } from \"src/app/controls/restrictions/services/restriction\";\r\nimport { SCFMaster, SCFAmendment } from \"../../scf\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { CommentsBoxComponent } from \"src/app/controls/comments-box/comments-box.component\";\r\nimport { RelatedLink } from \"src/app/common/models/related-link\";\r\nimport { NotificationService } from \"src/app/components/catalogs/notifications/services/notification.service\";\r\nimport { LocationsService } from \"src/app/components/catalogs/beamline-catalog/resource/locations.service\";\r\nimport { OLogService } from \"src/app/components/olog/olog.service\";\r\nimport { NotificationComponent } from \"src/app/controls/notifications/notification.component\";\r\nimport { PartialOlogComponent } from \"src/app/controls/olog/partial-olog/partial-olog.component\";\r\nimport { AddRelatedLinkComponent } from \"src/app/controls/add-related-link/add-related-link.component\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { RelatedLinkBase } from \"src/app/components/catalogs/navigation-links/link/related-link-base\";\r\nimport { ResourceTOCARelation } from '../../../catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: \"scf-v2-main-s1\",\r\n templateUrl: \"./scf-v2-main-s1.component.html\",\r\n styleUrls: [\"./scf-v2-main-s1.component.scss\"],\r\n})\r\nexport class ScfV2MainS1Component extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled? = true;\r\n @Input() privileges?: SCFPrivileges;\r\n @Input() status?: SCFStatus;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n @Output() workRequiredChanged = new EventEmitter();\r\n @Output() locationAdded = new EventEmitter();\r\n\r\n @ViewChild(\"locationInput\") locationInput!: ElementRef;\r\n @ViewChild(\"shieldingInput\") shieldingInput!: ElementRef;\r\n @ViewChild(\"autoLoc\") matAutocompleteLoc!: MatAutocomplete;\r\n @ViewChild(\"autoShl\") matAutocompleteShl!: MatAutocomplete;\r\n @ViewChild(\"relatedLinksInput\")\r\n relatedLinksInput!: ElementRef;\r\n\r\n\r\n @ViewChild(CommentsBoxComponent)\r\n descriptionComponent?: CommentsBoxComponent;\r\n @ViewChild(\"chipListLoc\")\r\n chipListLoc!: { errorState: boolean; };\r\n @ViewChild(\"chipListShl\")\r\n chipListShl!: { errorState: boolean; };\r\n\r\n currentSCFMaster!: SCFMaster;\r\n\r\n addOnBlur = true;\r\n descriptionHasError = false;\r\n\r\n\r\n disableControls = true;\r\n\r\n locations: Location[] | null = [];\r\n allLocations!: Location[];\r\n filteredLocations!: Location[];\r\n locationGroups!: ResourceGroup[];\r\n shieldingGroups!: ShieldingGroup[];\r\n\r\n allShieldings: ResourceRelation[] = [];\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n resourceRelations!: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n restrictions!: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n\r\n requesters!: User[];\r\n\r\n // requesterRoles: number[] = [5, 7, 8, 12, 13, 21, 24, 47, 1048];\r\n requesterRoles: Roles[] = [\r\n Roles.ATS,\r\n Roles.AO,\r\n Roles.ALTBLSCI,\r\n Roles.BLSCI,\r\n Roles.FO,\r\n Roles.MT,\r\n Roles.RFEng,\r\n Roles.SnA,\r\n Roles.VAC,\r\n Roles.RP,\r\n ];\r\n\r\n bratois!: BeamlineRequiringApproval[];\r\n bratois$!: Observable;\r\n bratoisSubs!: Subscription;\r\n\r\n shieldings: ResourceRelation[] = [];\r\n filteredShieldings: ResourceRelation[] = [];\r\n\r\n documents?: RelatedDocument[] | null = [];\r\n\r\n relatedLinks: RelatedLinkBase[] = [];\r\n\r\n notificationMessage!: NotificationMessage | null;\r\n notificationButtonLabel!: string;\r\n notificationButtonDisabled!: boolean;\r\n\r\n tocas!: TOCA[];\r\n tocas$!: Observable;\r\n tocasSubs!: Subscription;\r\n\r\n today = new Date();\r\n\r\n scfAmendment?: SCFAmendment;\r\n\r\n descriptionCtrlText!: string | null;\r\n workRequired = WorkRequired;\r\n\r\n mentions: any[] = [];\r\n selectedMentions?: any[];\r\n\r\n public get checkAccRFCtrl(): AbstractControl | null { return this.formGroup?.get(\"checkAccRFCtrl\"); }\r\n public get locationsCtrl(): AbstractControl | null { return this.formGroup?.get(\"locationsCtrl\"); }\r\n public get shieldingsCtrl(): AbstractControl | null { return this.formGroup?.get(\"shieldingsCtrl\"); }\r\n public get checkBlShCtrl(): AbstractControl | null { return this.formGroup?.get(\"checkBlShCtrl\"); }\r\n public get checkTocaMovCtrl(): AbstractControl | null { return this.formGroup?.get(\"checkTocaMovCtrl\"); }\r\n public get checkPermBlCtrl(): AbstractControl | null { return this.formGroup?.get(\"checkPermBlCtrl\"); }\r\n public get checkPermAccCtrl(): AbstractControl | null { return this.formGroup?.get(\"checkPermAccCtrl\"); }\r\n public get inputWorkHiddenCtrl(): AbstractControl | null { return this.formGroup?.get(\"inputWorkHiddenCtrl\"); }\r\n public get inputNotificationsHiddenCtrl(): AbstractControl | null { return this.formGroup?.get(\"inputNotificationsHiddenCtrl\"); }\r\n public get relatedLinksCtrl(): AbstractControl | null { return this.formGroup?.get(\"relatedLinksCtrl\"); }\r\n public get requesterCtrl(): AbstractControl | null { return this.formGroup?.get(\"requesterCtrl\"); }\r\n public get estimatedInitCtrl(): AbstractControl | null { return this.formGroup?.get(\"estimatedInitCtrl\"); }\r\n public get estimatedEndCtrl(): AbstractControl | null { return this.formGroup?.get(\"estimatedEndCtrl\"); }\r\n public get notiCheckHPCtrl(): AbstractControl | null { return this.formGroup?.get(\"notiCheckHPCtrl\"); }\r\n public get notiCheckBLCtrl(): AbstractControl | null { return this.formGroup?.get(\"notiCheckBLCtrl\"); }\r\n public get notiCheckBRCCtrl(): AbstractControl | null { return this.formGroup?.get(\"notiCheckBRCCtrl\"); }\r\n public get notiCheckRFCtrl(): AbstractControl | null { return this.formGroup?.get(\"notiCheckRFCtrl\"); }\r\n public get notiCheckSACtrl(): AbstractControl | null { return this.formGroup?.get(\"notiCheckSACtrl\"); }\r\n public get notiCheckARCtrl(): AbstractControl | null { return this.formGroup?.get(\"notiCheckARCtrl\"); }\r\n public get notiCheckRPCtrl(): AbstractControl | null { return this.formGroup?.get(\"notiCheckRPCtrl\"); }\r\n descriptionCtrl = new FormControl();\r\n\r\n\r\n @ViewChild(CdkDropListGroup)\r\n listGroup!: CdkDropListGroup;\r\n @ViewChild(CdkDropList)\r\n placeholder!: CdkDropList;\r\n\r\n public target: any;\r\n public targetParent: any;\r\n public targetIndex!: number;\r\n public sourceIndex!: number;\r\n public dragIndex!: number;\r\n\r\n constructor(\r\n private notificationService: NotificationService,\r\n private ologService: OLogService,\r\n private scfService: ScfV2Service,\r\n private viewportRuler: ViewportRuler,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadLocations();\r\n this.loadBratoi();\r\n this.loadTocas();\r\n this.getValues();\r\n this.setDisabled();\r\n this.loadRequesters();\r\n this.getNotification();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.restrictionsSubs?.unsubscribe();\r\n this.bratoisSubs?.unsubscribe();\r\n this.tocasSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n locationsCtrl: [\r\n { value: \"\" },\r\n [Validators.required, utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n shieldingsCtrl: [{ value: null }],\r\n checkAccRFCtrl: [{ value: false }],\r\n checkBlShCtrl: [{ value: false }],\r\n checkTocaMovCtrl: [{ value: false }],\r\n checkPermBlCtrl: [{ value: false }],\r\n checkPermAccCtrl: [{ value: false }],\r\n inputWorkHiddenCtrl: [{ value: null }],\r\n documentCtrl: [{ value: null }],\r\n relatedLinksCtrl: [{ value: null }],\r\n requesterCtrl: [\r\n { value: null },\r\n [Validators.required, utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n estimatedInitCtrl: [{ value: null }],\r\n estimatedEndCtrl: [{ value: null }],\r\n notiCheckHPCtrl: [{ value: null }],\r\n notiCheckBLCtrl: [{ value: null }],\r\n notiCheckBRCCtrl: [{ value: null }],\r\n notiCheckRFCtrl: [{ value: null }],\r\n notiCheckSACtrl: [{ value: null }],\r\n notiCheckARCtrl: [{ value: null }],\r\n notiCheckRPCtrl: [{ value: null }],\r\n inputNotificationsHiddenCtrl: [{ value: null }],\r\n descriptionCtrl: this.descriptionCtrl\r\n });\r\n if (this.relatedLinksInput) {\r\n this.relatedLinksInput.nativeElement.value = \"\";\r\n }\r\n this.formGroup.disable();\r\n this.formGroup.valueChanges.subscribe(() => {\r\n this.formValid();\r\n });\r\n }\r\n\r\n getValues() {\r\n if (this.scfMaster) {\r\n if (this.status?.isViewingAmendment) {\r\n this.scfAmendment = this.scfMaster.scfAmendments?.find((x) => x.active);\r\n if (this.scfAmendment) {\r\n this.locations = this.getLocationsFromAmendment(this.scfAmendment);\r\n this.shieldings = this.getShieldings(this.scfAmendment.shieldingAffected);\r\n this.relatedLinks = this.getRelatedLinks(\r\n this.scfAmendment.relatedLinks\r\n );\r\n this.checkAccRFCtrl?.setValue(this.scfAmendment.accRFShielding);\r\n this.checkBlShCtrl?.setValue(this.scfAmendment.blShielding);\r\n this.checkTocaMovCtrl?.setValue(this.scfAmendment.tocaMovement);\r\n this.checkPermBlCtrl?.setValue(this.scfAmendment.permanentBLRemoval);\r\n this.checkPermAccCtrl?.setValue(this.scfAmendment.permanentAccRemoval);\r\n this.requesterCtrl?.setValue(this.scfAmendment.requesterId);\r\n this.estimatedInitCtrl?.setValue(this.scfAmendment.estimatedStartOn);\r\n this.estimatedEndCtrl?.setValue(this.scfAmendment.estimatedEndOn);\r\n this.documents = this.scfAmendment?.relatedDocuments;\r\n this.descriptionCtrlText = this.scfAmendment?.description;\r\n this.notiCheckHPCtrl?.setValue(this.scfAmendment.notifyHP);\r\n this.notiCheckBLCtrl?.setValue(this.scfAmendment.notifyBLSci);\r\n this.notiCheckBRCCtrl?.setValue(this.scfAmendment.notifyBRC);\r\n this.notiCheckRFCtrl?.setValue(this.scfAmendment.notifyRF);\r\n this.notiCheckSACtrl?.setValue(this.scfAmendment.notifySnA);\r\n this.notiCheckARCtrl?.setValue(this.scfAmendment.notifyARC);\r\n this.notiCheckRPCtrl?.setValue(this.scfAmendment.notifyRP);\r\n }\r\n\r\n } else {\r\n this.locations = this.scfMaster?.locations;\r\n this.shieldings = this.scfMaster.shieldingAffected ? this.getShieldings(this.scfMaster?.shieldingAffected) : [];\r\n this.documents = this.scfMaster?.relatedDocuments;\r\n this.relatedLinks = this.scfMaster.relatedLinks ? this.getRelatedLinks(this.scfMaster?.relatedLinks) : [];\r\n this.checkBlShCtrl?.setValue(this.scfMaster?.blShielding);\r\n this.checkTocaMovCtrl?.setValue(this.scfMaster?.tocaMovement);\r\n this.checkPermBlCtrl?.setValue(this.scfMaster?.permanentBLRemoval);\r\n this.checkPermAccCtrl?.setValue(this.scfMaster?.permanentAccRemoval);\r\n this.requesterCtrl?.setValue(this.scfMaster?.requesterId);\r\n this.estimatedInitCtrl?.setValue(this.scfMaster?.estimatedStartOn);\r\n this.estimatedEndCtrl?.setValue(this.scfMaster?.estimatedEndOn);\r\n this.descriptionCtrlText = this.scfMaster?.description ? this.scfMaster?.description : null;\r\n this.notiCheckHPCtrl?.setValue(this.scfMaster.notifyHP);\r\n this.notiCheckBLCtrl?.setValue(this.scfMaster.notifyBLSci);\r\n this.notiCheckBRCCtrl?.setValue(this.scfMaster.notifyBRC);\r\n this.notiCheckRFCtrl?.setValue(this.scfMaster.notifyRF);\r\n this.notiCheckSACtrl?.setValue(this.scfMaster.notifySnA);\r\n this.notiCheckARCtrl?.setValue(this.scfMaster.notifyARC);\r\n this.notiCheckRPCtrl?.setValue(this.scfMaster.notifyRP);\r\n if (this.checkAccRFCtrl) {\r\n this.checkAccRFCtrl?.setValue(this.scfMaster?.accRFShielding);\r\n }\r\n }\r\n this.notiCheckHPCtrl?.disable()\r\n if (this.locations?.some((l) => l.type === ResourceType.Beamline) ?? false) this.notiCheckBLCtrl?.disable();\r\n if (this.checkPermBlCtrl?.value) this.notiCheckBRCCtrl?.disable();\r\n if (this.checkPermAccCtrl?.value) this.notiCheckARCtrl?.disable();\r\n if (this.checkPermAccCtrl?.value || this.checkPermBlCtrl?.value) this.notiCheckRPCtrl?.disable();\r\n if (this.checkTocaMovCtrl?.value) this.notiCheckSACtrl?.disable();\r\n this.setNotificationChecks(WorkRequired.None, false);\r\n this.loadLocations();\r\n } else {\r\n this.locations = null;\r\n this.shieldings = [];\r\n this.documents = null;\r\n this.relatedLinks = [];\r\n\r\n this.checkBlShCtrl?.setValue(false);\r\n this.checkTocaMovCtrl?.setValue(false);\r\n this.checkPermBlCtrl?.setValue(false);\r\n this.checkPermAccCtrl?.setValue(false);\r\n this.requesterCtrl?.setValue(null);\r\n this.estimatedInitCtrl?.setValue(null);\r\n this.estimatedEndCtrl?.setValue(null);\r\n this.descriptionCtrlText = null;\r\n this.notiCheckHPCtrl?.setValue(false);\r\n this.notiCheckBLCtrl?.setValue(false);\r\n this.notiCheckBRCCtrl?.setValue(false);\r\n this.notiCheckRFCtrl?.setValue(false);\r\n this.notiCheckSACtrl?.setValue(false);\r\n this.notiCheckARCtrl?.setValue(false);\r\n this.notiCheckRPCtrl?.setValue(false);\r\n }\r\n this.loading.emit(false);\r\n }\r\n\r\n getRelatedLinks(relatedLinksString: string): RelatedLinkBase[] {\r\n if (relatedLinksString) {\r\n const relatedLinksArray = utils.JSONparse(relatedLinksString);\r\n let relatedLinks: RelatedLinkBase[] = [];\r\n if (relatedLinksArray.some((r: any) => r.URL && r.Text)) {\r\n // Use RelatedLink\r\n relatedLinksArray.map((r: RelatedLink) => {\r\n relatedLinks.push({ text: r.Text, url: r.URL, formID: 1, id: 0 } as RelatedLinkBase);\r\n });\r\n }\r\n else {\r\n relatedLinks = relatedLinksArray;\r\n }\r\n return relatedLinks;\r\n }\r\n return [];\r\n }\r\n\r\n getLocationsFromAmendment(scfAmendment: SCFAmendment) {\r\n if (!this.resources?.length) {\r\n this.loadLocations();\r\n }\r\n const locations: Location[] = [];\r\n const locationIds: string[] = scfAmendment.locationIds?.split(\",\");\r\n const locationNames: string[] = scfAmendment.locationNames?.split(\",\");\r\n locationIds.map((id, i) => {\r\n const location = {\r\n id: +id,\r\n name: locationNames[i],\r\n type: this.resources?.find((x) => x.id == +id)?.type,\r\n } as Location;\r\n locations.push(location);\r\n });\r\n return locations;\r\n }\r\n\r\n setValues() {\r\n if (this.scfMaster) {\r\n if (!this.status?.isViewingAmendment) {\r\n this.scfMaster.description = this.descriptionCtrlText ?? '';\r\n this.scfMaster.locations = this.locations ?? [];\r\n this.scfMaster.locationIds = this.locations?.map((l) => l.id).join(\",\");\r\n this.scfMaster.locationNames = this.locations\r\n ?.map((l) => l.name)\r\n .join(\", \");\r\n this.scfMaster.shieldingAffected = utils.JSONstringify(this.shieldings);\r\n this.scfMaster.relatedDocuments = this.documents ?? [];\r\n this.scfMaster.relatedLinks = utils.JSONstringify(this.relatedLinks);\r\n this.scfMaster.accRFShielding = this.checkAccRFCtrl?.value;\r\n this.scfMaster.blShielding = this.checkBlShCtrl?.value;\r\n this.scfMaster.tocaMovement = this.checkTocaMovCtrl?.value;\r\n this.scfMaster.permanentBLRemoval = this.checkPermBlCtrl?.value;\r\n this.scfMaster.permanentAccRemoval = this.checkPermAccCtrl?.value;\r\n this.scfMaster.requesterId = this.requesterCtrl?.value;\r\n this.scfMaster.estimatedStartOn = this.estimatedInitCtrl?.value;\r\n this.scfMaster.estimatedEndOn = this.estimatedEndCtrl?.value;\r\n this.scfMaster.notifyARC = this.notiCheckARCtrl?.value;\r\n this.scfMaster.notifyRP = this.notiCheckRPCtrl?.value;\r\n this.scfMaster.notifyBLSci = this.notiCheckBLCtrl?.value;\r\n this.scfMaster.notifyBRC = this.notiCheckBRCCtrl?.value;\r\n this.scfMaster.notifyHP = this.notiCheckHPCtrl?.value;\r\n this.scfMaster.notifyRF = this.notiCheckRFCtrl?.value;\r\n this.scfMaster.notifySnA = this.notiCheckSACtrl?.value;\r\n if (this.locations?.some((l) => l.type === ResourceType.Beamline) ?? false) this.notiCheckBLCtrl?.disable();\r\n else this.notiCheckBLCtrl?.enable();\r\n } else {\r\n if (this.scfAmendment) {\r\n this.scfAmendment.description = this.descriptionCtrlText ?? '';\r\n this.scfAmendment.locations = this.locations ?? [];\r\n this.scfAmendment.locationIds = this.locations?.map((l) => l.id).join(\",\") ?? '';\r\n this.scfAmendment.locationNames = this.locations?.map((l) => l.name).join(\",\") ?? '';\r\n this.scfAmendment.shieldingAffected = utils.JSONstringify(\r\n this.shieldings\r\n );\r\n this.scfAmendment.relatedDocuments = this.documents ?? [];\r\n this.scfAmendment.relatedLinks = utils.JSONstringify(this.relatedLinks);\r\n this.scfAmendment.accRFShielding = this.checkAccRFCtrl?.value;\r\n this.scfAmendment.blShielding = this.checkBlShCtrl?.value;\r\n this.scfAmendment.tocaMovement = this.checkTocaMovCtrl?.value;\r\n this.scfAmendment.permanentBLRemoval = this.checkPermBlCtrl?.value;\r\n this.scfAmendment.permanentAccRemoval = this.checkPermAccCtrl?.value;\r\n this.scfAmendment.requesterId = this.requesterCtrl?.value;\r\n this.scfAmendment.estimatedStartOn = this.estimatedInitCtrl?.value;\r\n this.scfAmendment.estimatedEndOn = this.estimatedEndCtrl?.value;\r\n this.scfAmendment.notifyARC = this.notiCheckARCtrl?.value;\r\n this.scfAmendment.notifyRP = this.notiCheckRPCtrl?.value;\r\n this.scfAmendment.notifyBLSci = this.notiCheckBLCtrl?.value;\r\n this.scfAmendment.notifyBRC = this.notiCheckBRCCtrl?.value;\r\n this.scfAmendment.notifyHP = this.notiCheckHPCtrl?.value;\r\n this.scfAmendment.notifyRF = this.notiCheckRFCtrl?.value;\r\n this.scfAmendment.notifySnA = this.notiCheckSACtrl?.value;\r\n if (this.locations?.some((l) => l.type === ResourceType.Beamline) ?? false) this.notiCheckBLCtrl?.disable();\r\n else this.notiCheckBLCtrl?.enable();\r\n }\r\n }\r\n this.setFormDirty();\r\n this.formValid();\r\n this.changed.emit(this.scfMaster);\r\n }\r\n }\r\n\r\n setDisabled() {\r\n if (this.disabled) {\r\n this.formGroup?.disable();\r\n this.disableControls = true;\r\n } else if (this.status && (\r\n this.status.isCreating ||\r\n this.status.isEditing ||\r\n this.status.isCreatingAmendment ||\r\n this.status.isEditingAmendment)\r\n ) {\r\n this.formGroup?.enable();\r\n this.disableControls = false;\r\n this.notiCheckHPCtrl?.disable()\r\n if (this.locations?.some((l) => l.type === ResourceType.Beamline) ?? false) this.notiCheckBLCtrl?.disable();\r\n if (this.checkPermBlCtrl?.value) this.notiCheckBRCCtrl?.disable();\r\n if (this.checkPermAccCtrl?.value) this.notiCheckARCtrl?.disable();\r\n if (this.checkPermAccCtrl?.value || this.checkPermBlCtrl?.value) this.notiCheckRPCtrl?.disable();\r\n if (this.checkTocaMovCtrl?.value) this.notiCheckSACtrl?.disable();\r\n } else {\r\n this.formGroup?.disable();\r\n this.disableControls = true;\r\n }\r\n this.relatedLinksCtrl?.disable();\r\n }\r\n\r\n loadRequesters() {\r\n this.requesters = this.getUsers().filter(x => utils.intersect(this.requesterRoles, x.userRole?.map((u) => u.roleID)));\r\n }\r\n //#region Locations\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(\r\n (state) => state.ResourceRelations.data\r\n );\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe((data) => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n this.resourceRelations.map(r => r.parentResource = this.resources.find(x => x.id == r.parentResourceID));\r\n }\r\n });\r\n }\r\n\r\n loadLocations() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.allLocations = this.resources.filter((x) => x.status !== 0 && x.resourceType?.location)?.map(x => {\r\n const location: Location = {\r\n id: x.id,\r\n name: x.name,\r\n type: x.type,\r\n resourceType: x.resourceType,\r\n code: x.code\r\n };\r\n return location;\r\n }).sort((a, b) => utils.sortArrayAlphabeticallyWithComplexNumbers(a.name ?? '', b.name ?? '')) ?? [];\r\n\r\n this.filteredLocations = this.allLocations.filter((x) => !this.locations?.map((l) => l.id).includes(x.id));\r\n this.createLocationGroups();\r\n this.loadRelatedShieldings();\r\n this.loadResourceRelations();\r\n }\r\n });\r\n }\r\n\r\n createLocationGroups() {\r\n this.locationGroups = [];\r\n this.filteredLocations.map((l) => {\r\n if (l.type == ResourceType.Accelerator) {\r\n if (!this.locationGroups.map((g) => g.id).includes(l.id)) {\r\n const relations = this.resourceRelations?.filter(\r\n (rr) =>\r\n rr.parentResourceID == l.id &&\r\n !this.locations?.map((x) => x.id).includes(rr.childResourceID)\r\n );\r\n const locs = relations\r\n ?.filter(\r\n (l) => l.childResourceType == ResourceType.AcceleratorLocation\r\n )\r\n .map((rr) => {\r\n return {\r\n id: rr.childResourceID,\r\n name: rr.childResourceName,\r\n type: rr.childResourceType,\r\n } as Location;\r\n });\r\n this.locationGroups.push({\r\n name: l.name,\r\n type: l.type,\r\n id: l.id,\r\n resources: locs,\r\n });\r\n }\r\n } else {\r\n if (\r\n !this.locationGroups.map((g) => g.type).includes(l.type) &&\r\n l.type != ResourceType.AcceleratorLocation\r\n ) {\r\n this.locationGroups.push({\r\n name: l.resourceType?.name,\r\n type: l.type,\r\n resources: this.filteredLocations.filter((x) => x.type == l.type),\r\n });\r\n }\r\n }\r\n });\r\n this.locationGroups = this.locationGroups.sort((a, b) => (a.type ?? 0) - (b.type ?? 0));\r\n }\r\n\r\n getChildLocations(location: Location) { }\r\n\r\n removeLoc(location: Location): void {\r\n const index = this.locations?.indexOf(location) ?? -1;\r\n if (index >= 0) {\r\n this.locations?.splice(index, 1);\r\n this.setValues();\r\n this.validateCheckboxes();\r\n this.loadLocations();\r\n }\r\n this.saveNotification();\r\n }\r\n\r\n checkRemove(location: Location) {\r\n const parent = this.resourceRelations?.find(r => r.childResourceID == location.id)?.parentResource;\r\n const childResources = this.resourceRelations?.filter(r => r.parentResourceID === parent?.id).map(r => r.childResource);\r\n const tocas = this.tocas.filter(t => t.resourceTOCARelations?.map(b => b.resourceId).includes(location.id));\r\n const shieldingMatch = childResources?.some(c => this.shieldings?.some(s => s.childResourceID === c?.id));\r\n const restrictionMatch = this.scfMaster?.scfRestrictionsV2?.some(r => r.restriction?.resourceID == parent?.id || r.restriction?.resourceID == location.id);\r\n const tocaMatch = childResources?.some(c => this.utils.intersect(tocas.map(t => t.id), this.shieldings.filter(s => s.childResourceType == ResourceType.TOCA).map(s => -(s.childResourceID ?? 0))));\r\n if (location.code == 'TopOff' && this.shieldings.some(s => s.childResourceType == ResourceType.TOCA)) return true;\r\n return shieldingMatch || restrictionMatch || tocaMatch;\r\n }\r\n\r\n selectedLoc(event: MatAutocompleteSelectedEvent) {\r\n if (!this.locations) {\r\n this.locations = [];\r\n }\r\n if (\r\n !this.locations?.some((l) => l.id === event.option.value?.id) &&\r\n event.option.value !== null &&\r\n event.option.value !== undefined\r\n ) {\r\n // Emit new location to populate any missing restrictions\r\n setTimeout(() => {\r\n this.locationAdded.emit(event.option.value.id);\r\n }, 0);\r\n\r\n this.locations.push(event.option.value);\r\n this.setValues();\r\n this.validateCheckboxes();\r\n this.loadLocations();\r\n this.locationInput.nativeElement.value = \"\";\r\n this.locationsCtrl?.setValue(this.locations);\r\n }\r\n this.saveNotification();\r\n }\r\n\r\n async addLoc(event: MatChipInputEvent) {\r\n if (!this.matAutocompleteLoc.isOpen) {\r\n const input = event.input;\r\n const value = event.value;\r\n if (input) {\r\n input.value = \"\";\r\n }\r\n if (value !== \"\") {\r\n const newLocation: Location = {\r\n id: 0,\r\n name: value,\r\n type: -1,\r\n newLocation: true,\r\n };\r\n this.locations?.push(newLocation);\r\n this.setValues();\r\n }\r\n this.locationsCtrl?.setValue(this.locations);\r\n this.loadLocations();\r\n }\r\n }\r\n\r\n onLocChange(code?: string) {\r\n if (!code?.includes(\"Arrow\")) {\r\n this.loadLocations();\r\n this.filteredLocations = this.filteredLocations.filter((loc) =>\r\n loc.name\r\n ?.toLowerCase()\r\n .includes(String(this.locationsCtrl?.value || '').trim().toLowerCase())\r\n );\r\n this.createLocationGroups();\r\n }\r\n }\r\n //#endregion\r\n\r\n //#region Checkboxes\r\n validateCheckboxes() {\r\n this.notiCheckBLCtrl?.setValue(this.locations?.some((x) => x.type === ResourceType.Beamline));\r\n }\r\n //#endregion\r\n\r\n //#region Shieldings\r\n getShieldings(shieldingAffected: string) {\r\n const shld: ResourceRelation[] = [];\r\n if (shieldingAffected && shieldingAffected !== \"\") {\r\n const shieldings: ResourceRelation[] = JSON.parse(shieldingAffected);\r\n return shieldings.sort((a, b) => (a.position ?? 0) - (b.position ?? 0));\r\n }\r\n return [];\r\n }\r\n\r\n loadRelatedShieldings() {\r\n this.allShieldings = [];\r\n this.locations?.map((location) => {\r\n if (location.type ?? 0 > 0) {\r\n let resource = this.resources?.find(x => x.id == location.id);\r\n if (resource && resource.type == ResourceType.Branchline) {\r\n resource = this.resources.find(r => resource?.childResources?.length && r.id == resource.childResources[0]?.parentResourceID\r\n );\r\n }\r\n\r\n const shutterShieldings = this.resources?.find(r => r.id == resource?.parentResources?.find(x => x.parentResourceType == ResourceType.Shutter)?.parentResourceID)?.childResources?.filter(x => x.childResourceType == ResourceType.Shielding);\r\n\r\n if (shutterShieldings) {\r\n shutterShieldings.map(s => {\r\n const parents = this.resourceRelations?.filter(x => x.childResourceID == s.childResourceID);\r\n s.shared = parents?.length > 1;\r\n s.childResourceType = ResourceType.Shielding;\r\n s.childResourceTypeName = \"Shielding\";\r\n });\r\n this.allShieldings = this.allShieldings.concat(shutterShieldings.sort((a, b) => utils.SortBeamlines(a.childResourceName, b.childResourceName)));\r\n }\r\n\r\n const accShieldings = this.resources.find(r => r.id == resource?.parentResources?.find(x => x.parentResourceType == ResourceType.Accelerator)?.parentResourceID)?.childResources?.filter(x => x.childResourceType == ResourceType.Shielding).filter(x => (utils.JSONparse(x.locationsIDs) as number[]).includes(resource?.id ?? 0));\r\n\r\n if (accShieldings) {\r\n accShieldings.map(s => {\r\n const parents = this.resources.find(r => r.id == s.childResourceID)?.parentResources;\r\n s.shared = parents?.length ?? 0 > 1 ? true : false;\r\n s.sharedWith = parents?.filter(rr => rr.id != s.id)?.map(rr => rr.locationsIDs ?? '');\r\n s.childResourceType = ResourceType.Shielding;\r\n s.childResourceTypeName = ResourceType[ResourceType.Shielding];\r\n });\r\n this.allShieldings = this.allShieldings.concat(accShieldings);\r\n }\r\n\r\n if (resource?.type == ResourceType.AcceleratorLocation) {\r\n const locationShieldings = this.resourceRelations?.filter(r => (utils.JSONparse(r.locationsIDs) as number[])?.includes(resource?.id ?? 0));\r\n locationShieldings?.map((x) => {\r\n if (!this.allShieldings.map((s) => s.id).includes(x.id)) {\r\n x.childResourceTypeName = \"Accelerator Location\";\r\n x.childResourceType = ResourceType.AcceleratorLocation;\r\n this.allShieldings.push(x);\r\n }\r\n });\r\n }\r\n\r\n const tocas = this.bratois?.find(\r\n (x) => x.action == Action.Approve && x.resourceId == location.id\r\n )?.tocas;\r\n if (tocas) {\r\n tocas.map((t) => {\r\n const toca = {\r\n childResourceID: -t.id,\r\n childResourceName: t.name,\r\n shared: true,\r\n position: 0,\r\n childResourceType: ResourceType.TOCA,\r\n childResourceTypeName: ResourceType[ResourceType.TOCA],\r\n } as ResourceRelation;\r\n if (\r\n !this.allShieldings\r\n .map((x) => x.childResourceID)\r\n .includes(toca.childResourceID)\r\n ) {\r\n this.allShieldings.push(toca);\r\n }\r\n });\r\n }\r\n }\r\n });\r\n this.filterShieldings();\r\n }\r\n\r\n loadTocas() {\r\n this.tocas$ = this.store.select((state) => state.TOCA.data);\r\n this.tocasSubs = this.tocas$.subscribe((data) => {\r\n this.tocas = data;\r\n });\r\n }\r\n\r\n // filterShieldings() {\r\n // const existingIDs = new Set(this.shieldings.map(s => s?.childResourceID));\r\n // const uniqueShieldings = new Map();\r\n\r\n // this.allShieldings.forEach(shielding => {\r\n // if (!existingIDs.has(shielding?.childResourceID) && !uniqueShieldings.has(shielding?.childResourceID)) {\r\n // uniqueShieldings.set(shielding.childResourceID, shielding);\r\n // }\r\n // });\r\n\r\n // this.filteredShieldings = Array.from(uniqueShieldings.values());\r\n // this.createShieldingGroups();\r\n // }\r\n\r\n // Mentions will now handle already selected shielding, no need to filter here\r\n filterShieldings() {\r\n const uniqueShieldings = new Map();\r\n\r\n this.allShieldings.forEach(shielding => {\r\n if (!uniqueShieldings.has(shielding?.childResourceID)) {\r\n uniqueShieldings.set(shielding.childResourceID, shielding);\r\n }\r\n });\r\n\r\n this.filteredShieldings = Array.from(uniqueShieldings.values());\r\n this.createShieldingGroups();\r\n }\r\n\r\n createShieldingGroups() {\r\n this.shieldingGroups = [];\r\n this.filteredShieldings.map((l) => {\r\n if (l.childResourceType == ResourceType.Accelerator) {\r\n if (!this.shieldingGroups.map((g) => g.id).includes(l.id)) {\r\n const relations = this.resourceRelations?.filter(\r\n (rr) =>\r\n rr.parentResourceID == l.id &&\r\n !this.locations?.map((x) => x.id).includes(rr.childResourceID)\r\n );\r\n const shieldings = relations?.filter(\r\n (l) => l.childResourceType == ResourceType.AcceleratorLocation\r\n );\r\n this.shieldingGroups.push({\r\n name: l.childResourceName,\r\n type: l.childResourceType,\r\n id: l.id,\r\n shieldings,\r\n });\r\n }\r\n } else {\r\n if (\r\n !this.shieldingGroups.map((g) => g.type).includes(l.childResourceType ?? 0) && l.childResourceType != ResourceType.AcceleratorLocation) {\r\n this.shieldingGroups.push({\r\n name: l.childResourceTypeName,\r\n type: l.childResourceType,\r\n shieldings: this.filteredShieldings.filter(\r\n (x) => x.childResourceType == l.childResourceType\r\n ),\r\n });\r\n }\r\n }\r\n });\r\n this.shieldingGroups = this.shieldingGroups.sort((a, b) => (a.type ?? 0) - (b.type ?? 0));\r\n this.getMentions();\r\n }\r\n\r\n //#region Mentions\r\n getMentions() {\r\n if (this.shieldingGroups) {\r\n this.mentions = this.shieldingGroups.flatMap(group => {\r\n // Create the group item with necessary properties\r\n const groupItem = {\r\n id: `group-${group.id || group.type}`, // Unique ID for the group\r\n value: group.name, // Group name\r\n isGroup: true, // Mark it as a group\r\n parentResourceType: group.type, // Assuming 'type' is the parentResourceType for the group\r\n childResourceType: undefined, // No childResourceType for the group itself\r\n shared: false, // Groups aren't shared, adjust if needed\r\n sharedWith: [], // Empty array for sharedWith, adjust if needed\r\n disabled: true,\r\n title: ''\r\n };\r\n\r\n // Map the shieldings to include the necessary properties\r\n const shieldingItems = group.shieldings ? group.shieldings.map((shielding) => ({\r\n id: shielding.childResourceID,\r\n value: shielding.childResourceName,\r\n parentGroup: group.name, // Reference to parent group\r\n parentResourceType: shielding.parentResourceType, // Parent resource type\r\n childResourceType: shielding.childResourceType, // Child resource type\r\n shared: shielding.shared, // Shared status of the shielding\r\n sharedWith: shielding.sharedWith, // SharedWith list of the shielding\r\n title: shielding.childResource?.keText\r\n })) : [];\r\n\r\n return [groupItem, ...shieldingItems]; // Combine the group and its shieldings\r\n });\r\n }\r\n }\r\n\r\n mentionsChanged(e: any) {\r\n this.selectedMentions = e;\r\n const selectedShielding = this.selectedMentions?.filter(m => m > 0);\r\n const selectedTocas = this.selectedMentions?.filter(m => m < 0);\r\n\r\n // Handle added shielding\r\n const addedShieldings = (selectedShielding || [])\r\n .map(mention =>\r\n this.resourceRelations.find(r =>\r\n r.childResourceID === mention &&\r\n !this.shieldings.some(s => s.childResourceID === r.childResourceID)\r\n )\r\n )\r\n .filter((r): r is ResourceRelation => r !== undefined); // Type guard\r\n addedShieldings.forEach(option => this.selectedShl(option));\r\n\r\n // Handle removed shielding\r\n const removedShieldings = this.shieldings.filter(s => !selectedShielding?.includes(s.childResourceID));\r\n removedShieldings.forEach(shielding => this.removeShl(shielding));\r\n\r\n // Handle added TOCAs\r\n const addedTocas = (selectedTocas || [])\r\n .map(mention =>\r\n this.tocas.find(t =>\r\n t.id === -mention &&\r\n !this.shieldings.some(s => s.childResourceID === t.id) // Exclude if it's in shieldings\r\n )\r\n )\r\n .filter((t): t is TOCA => t !== undefined); // Type guard to remove undefined\r\n\r\n addedTocas.forEach(a => {\r\n const addedResourceRelation = {\r\n childResourceID: -a.id,\r\n childResourceType: this.resourceTypeEnum.TOCA,\r\n childResourceName: a.name\r\n } as ResourceRelation;\r\n this.selectedShl(addedResourceRelation);\r\n });\r\n\r\n // Handle removed TOCAs\r\n const removedTocas = this.shieldings.filter(s => !selectedTocas?.includes(s.childResourceID)).filter(m => m.childResourceType == this.resourceTypeEnum.TOCA);\r\n removedTocas.forEach(shielding => this.removeShl(shielding));\r\n }\r\n //#endregion\r\n\r\n\r\n onShlChange(code?: string) {\r\n if (!code?.includes(\"Arrow\")) {\r\n this.loadRelatedShieldings();\r\n this.filteredShieldings = this.filteredShieldings.filter((s) =>\r\n s.childResourceName\r\n ?.toLowerCase()\r\n .includes(this.shieldingsCtrl?.value?.trim()?.toLowerCase())\r\n );\r\n this.createShieldingGroups();\r\n }\r\n }\r\n\r\n addShl(event: any): void {\r\n const input = event.input;\r\n if (!this.matAutocompleteShl.isOpen) {\r\n const value = this.shieldingsCtrl?.value;\r\n // Add our location\r\n if (value && typeof value == \"string\") {\r\n let s = undefined;\r\n const found = this.allShieldings.find((sh) => sh.childResourceName?.trim()?.toLowerCase() == value?.trim()?.toLowerCase());\r\n if (found) {\r\n s = found;\r\n } else {\r\n s = {\r\n id: 0,\r\n parentResourceID: 0,\r\n parentResource: null,\r\n parentResourceName: \"manualEntry\",\r\n childResourceID: 0,\r\n childResourceName: value,\r\n };\r\n }\r\n if (s) {\r\n this.shieldings.push(s);\r\n this.orderShieldings();\r\n this.setValues();\r\n }\r\n }\r\n // Reset the input value\r\n if (input) {\r\n input.value = \"\";\r\n }\r\n this.shieldingsCtrl?.setValue(null);\r\n this.loadRelatedShieldings();\r\n }\r\n }\r\n\r\n selectedShl(option: ResourceRelation) {\r\n if (!this.shieldings) this.shieldings = [];\r\n if (!this.shieldings.includes(option)) {\r\n this.shieldings.push(option);\r\n this.orderShieldings();\r\n this.setValues();\r\n this.shieldingInput.nativeElement.value = \"\";\r\n this.shieldingsCtrl?.setValue(null);\r\n if (option.childResourceType === this.resourceTypeEnum.TOCA) {\r\n this.checkTocaMovCtrl?.setValue(true);\r\n this.setValues();\r\n const tocaId = -(option?.childResourceID ?? 0);\r\n const toca = this.tocas.find((x) => x.id == tocaId);\r\n const relations = toca?.beamlineRequiringApprovalRelations?.filter((x) => x.id != option.id);\r\n const resources = relations?.map((x) => x.beamlineRequiringApproval.resource);\r\n resources?.map((r) => {\r\n const loc = { autoLocation: true, id: r.id, name: r.name } as Location;\r\n const matOption: MatAutocompleteSelectedEvent = JSON.parse(JSON.stringify({ option: { value: loc, }, }));\r\n this.alert.message('SCF_NewAddedLocation');\r\n this.selectedLoc(matOption);\r\n });\r\n const topOff = this.resources.find(r => r.code == 'TopOff') as Location;\r\n topOff.autoLocation = true;\r\n const matOption: MatAutocompleteSelectedEvent = JSON.parse(JSON.stringify({ option: { value: topOff, }, }));\r\n this.selectedLoc(matOption);\r\n } else {\r\n var shutters = this.resourceRelations.filter(rr => rr.childResourceID == option.childResourceID && rr.parentResourceType == ResourceType.Shutter).map(rr => rr.parentResource);\r\n var beamlineRR = this.resourceRelations.filter(rr => rr.childResourceType == ResourceType.Beamline && shutters.map(s => s?.id).includes(rr.parentResourceID));\r\n var locations = beamlineRR.map(rr => rr.childResource) as Location[];\r\n if (!locations?.length && option.locationsIDs) {\r\n const locationsIDs = utils.JSONparse(option.locationsIDs) as number[];\r\n var locations = this.resources.filter((x) => locationsIDs.includes(x.id ?? 0)) as Location[];\r\n\r\n if (option.shared) {\r\n let locationsIDs: any[] = [];\r\n option.sharedWith?.map((sw) => {\r\n const IDs = utils.JSONparse(sw);\r\n locationsIDs = locationsIDs?.concat(IDs);\r\n });\r\n locationsIDs = [...new Set(locationsIDs)];\r\n const locationsShared = this.resources\r\n .filter((x) => locationsIDs.includes(x.id))\r\n .map((r) => {\r\n return {\r\n id: r.id,\r\n name: r.name,\r\n type: r.type,\r\n status: r.status,\r\n description: r.description,\r\n resourceTypeID: r.resourceTypeID,\r\n resourceType: r.resourceType,\r\n } as Location;\r\n });\r\n locations = locations.concat(locationsShared);\r\n }\r\n }\r\n\r\n locations?.map(loc => {\r\n loc.autoLocation = true;\r\n const matOption: MatAutocompleteSelectedEvent = JSON.parse(JSON.stringify({ option: { value: loc, }, }));\r\n this.alert.message('SCF_NewAddedLocation');\r\n this.selectedLoc(matOption);\r\n });\r\n\r\n this.setValues();\r\n }\r\n }\r\n }\r\n\r\n removeShl(shielding: ResourceRelation): void {\r\n const index = this.shieldings.indexOf(shielding);\r\n if (index >= 0) {\r\n this.shieldings.splice(index, 1);\r\n if (!this.shieldings.filter((x) => x.childResourceType === 0).length) {\r\n // TOCA\r\n this.checkTocaMovCtrl?.setValue(false);\r\n }\r\n this.orderShieldings();\r\n this.setValues();\r\n }\r\n this.loadRelatedShieldings();\r\n }\r\n\r\n drop(event: CdkDragDrop) {\r\n moveItemInArray(\r\n this.shieldings,\r\n event.item.data.position,\r\n event.currentIndex\r\n );\r\n this.orderShieldings();\r\n this.formGroup.markAsDirty();\r\n }\r\n\r\n dropListDropped(event: CdkDragDrop) {\r\n if (this.sourceIndex != this.targetIndex && this.targetIndex > -1) {\r\n moveItemInArray(this.shieldings, this.sourceIndex, this.targetIndex);\r\n this.sourceIndex = this.targetIndex;\r\n this.orderShieldings();\r\n this.setValues();\r\n }\r\n }\r\n\r\n dragMoved(e: CdkDragMove) {\r\n const point = this.getPointerPositionOnPage(e.event);\r\n const drag = e.source.element;\r\n this.sourceIndex = e.source.data.position;\r\n let index = 0;\r\n\r\n this.placeholder.element.nativeElement.firstChild?.childNodes.forEach(\r\n (node: any) => {\r\n if (node.nodeName != \"#comment\") {\r\n if (\r\n __isInsideDropListClientRect(node, point.x, point.y) &&\r\n index != this.sourceIndex\r\n ) {\r\n this.targetIndex = index;\r\n }\r\n index++;\r\n }\r\n }\r\n );\r\n }\r\n\r\n getPointerPositionOnPage(event: MouseEvent | TouchEvent) {\r\n // `touches` will be empty for start/end events so we have to fall back to `changedTouches`.\r\n const point = __isTouchEvent(event)\r\n ? event.touches[0] || event.changedTouches[0]\r\n : event;\r\n const scrollPosition = this.viewportRuler.getViewportScrollPosition();\r\n\r\n return {\r\n x: point.pageX - scrollPosition.left,\r\n y: point.pageY - scrollPosition.top,\r\n };\r\n }\r\n\r\n orderShieldings() {\r\n let i = 0;\r\n this.shieldings.map((s) => {\r\n s.position = i;\r\n i++;\r\n });\r\n }\r\n\r\n shared(shielding: ResourceRelation) {\r\n if (shielding.parentResourceType == this.resourceTypeEnum.Shutter)\r\n return shielding.shared;\r\n else\r\n return shielding.sharedWith?.length ?? 0 > 0;\r\n }\r\n\r\n sortedShieldings() {\r\n return this.shieldings?.sort((a, b) => (a.position ?? 0) - (b.position ?? 0));\r\n }\r\n //#endregion\r\n\r\n //#region Bratoi\r\n loadBratoi() {\r\n this.bratois$ = this.store.select((state) => state.Bratoi.data);\r\n this.bratoisSubs = this.bratois$.subscribe((data) => {\r\n if (data?.length > 0) {\r\n this.bratois = data\r\n .sort((a, b) =>\r\n utils.SortBeamlines(a.resourceString, b.resourceString)\r\n )\r\n .filter((bl) => bl.isActive);\r\n }\r\n });\r\n }\r\n //#endregion\r\n\r\n //#region Related Links\r\n addRelatedLink() {\r\n if (\r\n !this.disabled &&\r\n (this.status && (this.status.isCreating ||\r\n this.status.isEditing ||\r\n this.status.isCreatingAmendment ||\r\n this.status.isEditingAmendment))\r\n ) {\r\n const dialogRef = this.dialog.open(AddRelatedLinkComponent, {\r\n maxWidth: \"800px\",\r\n data: {\r\n obj: {\r\n Text: null,\r\n URL: null,\r\n } as RelatedLink,\r\n },\r\n });\r\n dialogRef.afterClosed().subscribe((result: RelatedLink) => {\r\n if (result) {\r\n this.relatedLinksCtrl?.markAsDirty();\r\n this.relatedLinks.push({ text: result.Text, url: result.URL, formID: 1, id: 0 } as RelatedLinkBase);\r\n this.setValues();\r\n }\r\n });\r\n }\r\n }\r\n\r\n removeRelatedLink(i: number) {\r\n this.relatedLinks.splice(i, 1);\r\n this.relatedLinksCtrl?.markAsDirty();\r\n this.setValues();\r\n }\r\n\r\n //#endregion\r\n\r\n //#region Documents\r\n\r\n\r\n removeDoc(document: RelatedDocument): void {\r\n const index = this.documents?.indexOf(document) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.documents?.splice(index, 1);\r\n }\r\n this.setValues();\r\n }\r\n\r\n openDocument(e: RelatedDocument) {\r\n window.location.href = \"#/redirect/\" + e.relatedDocumentSerialNo;\r\n }\r\n //#region Notification\r\n\r\n setNotificationChecks(workRequired: WorkRequired = 0, e: any) {\r\n if (this.scfMaster && !this.status?.isViewingAmendment) {\r\n this.scfMaster.notifyHP = true;\r\n this.scfMaster.notifyBLSci =\r\n this.scfMaster.notifyBLSci ||\r\n this.locations?.some((l) => l.type === ResourceType.Beamline);\r\n this.scfMaster.notifyBRC =\r\n this.scfMaster.notifyBRC || this.checkPermBlCtrl?.value;\r\n this.scfMaster.notifyARC =\r\n this.scfMaster.notifyARC || this.checkPermAccCtrl?.value;\r\n this.scfMaster.notifyRP =\r\n this.scfMaster.notifyRP ||\r\n this.checkPermAccCtrl?.value ||\r\n this.checkPermBlCtrl?.value;\r\n this.scfMaster.notifySnA =\r\n this.scfMaster.notifySnA || this.checkTocaMovCtrl?.value;\r\n this.notiCheckHPCtrl?.setValue(this.scfMaster?.notifyHP);\r\n this.notiCheckBLCtrl?.setValue(this.scfMaster?.notifyBLSci);\r\n this.notiCheckBRCCtrl?.setValue(this.scfMaster?.notifyBRC);\r\n this.notiCheckRFCtrl?.setValue(this.scfMaster?.notifyRF);\r\n this.notiCheckSACtrl?.setValue(this.scfMaster?.notifySnA);\r\n this.notiCheckARCtrl?.setValue(this.scfMaster?.notifyARC);\r\n this.notiCheckRPCtrl?.setValue(this.scfMaster?.notifyRP);\r\n } else if (this.status?.isViewingAmendment) {\r\n if (this.scfAmendment) {\r\n this.scfAmendment.notifyHP = true;\r\n this.scfAmendment.notifyBLSci = this.scfAmendment.notifyBLSci || (this.locations?.some((l) => l.type === ResourceType.Beamline) ?? false);\r\n this.scfAmendment.notifyBRC =\r\n this.scfAmendment.notifyBRC || this.checkPermBlCtrl?.value;\r\n this.scfAmendment.notifyARC =\r\n this.scfAmendment.notifyARC || this.checkPermAccCtrl?.value;\r\n this.scfAmendment.notifyRP =\r\n this.scfAmendment.notifyRP ||\r\n this.checkPermAccCtrl?.value || this.checkPermBlCtrl?.value;\r\n this.scfAmendment.notifySnA =\r\n this.scfAmendment.notifySnA || this.checkTocaMovCtrl?.value;\r\n this.notiCheckHPCtrl?.setValue(this.scfAmendment.notifyHP);\r\n this.notiCheckBLCtrl?.setValue(this.scfAmendment.notifyBLSci);\r\n this.notiCheckBRCCtrl?.setValue(this.scfAmendment.notifyBRC);\r\n this.notiCheckRFCtrl?.setValue(this.scfAmendment.notifyRF);\r\n this.notiCheckSACtrl?.setValue(this.scfAmendment.notifySnA);\r\n this.notiCheckARCtrl?.setValue(this.scfAmendment.notifyARC);\r\n this.notiCheckRPCtrl?.setValue(this.scfAmendment.notifyRP);\r\n }\r\n }\r\n const scfWorkRequired: SCFWorkRequired = {\r\n workRequired,\r\n checked: e.checked,\r\n };\r\n if (workRequired) {\r\n if (\r\n workRequired == WorkRequired.PermanentAccRemoval ||\r\n workRequired == WorkRequired.PermanentBLRemoval ||\r\n workRequired == WorkRequired.TocaMovement\r\n ) {\r\n this.loading.emit(true);\r\n }\r\n\r\n this.setValues();\r\n this.workRequiredChanged.emit(scfWorkRequired);\r\n }\r\n }\r\n\r\n saveNotification() {\r\n this.setValues();\r\n }\r\n //#endregion\r\n\r\n selectedRequester(e: any) {\r\n this.setValues();\r\n }\r\n\r\n descriptionChanged(e: any) {\r\n this.descriptionCtrlText = e;\r\n this.setValues();\r\n }\r\n\r\n changedDate(e: { value: string | number | Date; }) {\r\n const estimatedStartOn = new Date(e.value);\r\n const estimatedEndOn = new Date(this.estimatedEndCtrl?.value);\r\n if (moment(estimatedEndOn).isBefore(moment(estimatedStartOn))) {\r\n this.estimatedEndCtrl?.setValue(estimatedStartOn);\r\n }\r\n this.setValues();\r\n }\r\n\r\n async editOlog() {\r\n if (this.scfMaster?.id) {\r\n try {\r\n const data = await this.ologService.getOlog(FormType.SCF, this.scfMaster.id, OlogNotificationType.Activate).toPromise();\r\n if (data) {\r\n const dialogRef = this.dialog.open(PartialOlogComponent, {\r\n height: \"fit-content\",\r\n width: \"80%\",\r\n data,\r\n });\r\n dialogRef.afterClosed().subscribe((isSaved) => {\r\n console.log(\"The dialog was closed\");\r\n if (isSaved) {\r\n console.log(isSaved);\r\n }\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n }\r\n\r\n async editNotification() {\r\n if (this.notificationMessage) {\r\n this.notificationService\r\n .getNotification(\r\n NotificationType.CreateSCF,\r\n this.scfMaster?.id ?? 0,\r\n this.locations ?? []\r\n )\r\n .toPromise().then(async (res: any) => {\r\n if (res) {\r\n this.notificationMessage = res;\r\n if (this.scfMaster) {\r\n const emails = await this.scfService.getEmails(this.scfMaster);\r\n this.openNotificationDialog(\r\n res,\r\n emails,\r\n this.disableControls\r\n );\r\n }\r\n }\r\n });\r\n } else {\r\n if (this.scfMaster) {\r\n const emails = await this.scfService.getEmails(this.scfMaster);\r\n const notification = {\r\n notificationId: NotificationType.CreateSCF,\r\n documentId: this.scfMaster?.id,\r\n toAddresses: this.utils.JSONstringify({ computed: emails, added: [] }),\r\n type: 5,\r\n locations: this.locations ?? []\r\n } as NotificationMessage;\r\n this.notificationService.createNotification(notification).toPromise().then(\r\n async (res: any) => {\r\n this.openNotificationDialog(\r\n res,\r\n emails,\r\n this.disableControls\r\n );\r\n },\r\n (error: any) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n }\r\n\r\n getNotification() {\r\n this.notificationMessage = null;\r\n if (this.scfMaster?.id) {\r\n this.notificationService\r\n .getNotification(\r\n NotificationType.CreateSCF,\r\n this.scfMaster?.id,\r\n this.locations ?? []\r\n )\r\n .toPromise()\r\n .then(\r\n (data: any) => {\r\n if (data) {\r\n this.notificationMessage = data;\r\n }\r\n if (this.disableControls) {\r\n this.notificationButtonLabel = \"View Notification\";\r\n this.notificationButtonDisabled = false;\r\n } else {\r\n this.notificationButtonDisabled = false;\r\n this.notificationButtonLabel = \"Edit Notification\";\r\n }\r\n },\r\n (error: any) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n openNotificationDialog(\r\n data: NotificationMessage,\r\n emailAddresses?: string[],\r\n readOnly?: boolean\r\n ): void {\r\n const dialogRef = this.dialog.open(NotificationComponent, {\r\n height: \"fit-content\",\r\n width: \"80%\",\r\n data: {\r\n message: data,\r\n emailAddresses,\r\n readOnly,\r\n },\r\n });\r\n\r\n dialogRef\r\n .afterClosed()\r\n .toPromise()\r\n .then(() => {\r\n this.getNotification();\r\n });\r\n }\r\n\r\n\r\n //#region Differences\r\n\r\n diffWorkRequired() {\r\n return (\r\n utils.isNull(this.checkAccRFCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.accRFShielding, false) ||\r\n utils.isNull(this.checkBlShCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.blShielding, false) ||\r\n utils.isNull(this.checkPermAccCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.permanentAccRemoval, false) ||\r\n utils.isNull(this.checkPermBlCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.permanentBLRemoval, false) ||\r\n utils.isNull(this.checkTocaMovCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.tocaMovement, false)\r\n );\r\n }\r\n\r\n diffLocations() {\r\n const current = utils.JSONstringify(this.locations?.sort((a, b) => (a.id ?? 0) - (b.id ?? 0)).map((l) => {\r\n return { id: l.id, name: l.name } as Location;\r\n }))?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(this.scfMaster?.locations?.sort((a, b) => (a.id ?? 0) - (b.id ?? 0)).map((l) => {\r\n return { id: l.id, name: l.name } as Location;\r\n }))?.replace(/\\s/g, \"\");\r\n return current !== original;\r\n }\r\n\r\n diffDocuments() {\r\n const current = utils.JSONstringify(\r\n this.documents\r\n ?.sort((a, b) =>\r\n utils.sort(\r\n a.relatedDocumentSerialNo,\r\n b.relatedDocumentSerialNo,\r\n true\r\n )\r\n )\r\n .map((l) => {\r\n return {\r\n relatedDocumentId: l.relatedDocumentId,\r\n relatedDocumentSerialNo: l.relatedDocumentSerialNo,\r\n } as RelatedDocument;\r\n })\r\n )?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(\r\n this.scfMaster?.relatedDocuments\r\n ?.sort((a, b) =>\r\n utils.sort(\r\n a.relatedDocumentSerialNo,\r\n b.relatedDocumentSerialNo,\r\n true\r\n )\r\n )\r\n .map((l) => {\r\n return {\r\n relatedDocumentId: l.relatedDocumentId,\r\n relatedDocumentSerialNo: l.relatedDocumentSerialNo,\r\n } as RelatedDocument;\r\n })\r\n )?.replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n\r\n diffRelatedLinks() {\r\n const current = utils.JSONstringify(\r\n this.relatedLinks\r\n ?.sort((a, b) => utils.sort(a.text, b.text, true))\r\n ).replace(/\\s/g, \"\");\r\n if (this.scfMaster?.relatedLinks) {\r\n const original = utils.JSONstringify(\r\n this.getRelatedLinks(this.scfMaster.relatedLinks)\r\n ?.sort((a: any, b: any) => utils.sort(a.Text, b.Text, true))\r\n ).replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n return false;\r\n }\r\n\r\n diffShieldings() {\r\n const current = utils.JSONstringify(\r\n this.shieldings\r\n ?.sort((a, b) =>\r\n utils.sort(a.childResourceID, b.childResourceID, true)\r\n )\r\n .map((l) => {\r\n return {\r\n childResourceID: l.childResourceID,\r\n childResourceName: l.childResourceName,\r\n } as ResourceRelation;\r\n })\r\n ).replace(/\\s/g, \"\");\r\n if (this.scfMaster?.shieldingAffected) {\r\n const original = utils.JSONstringify(\r\n this.getShieldings(this.scfMaster.shieldingAffected)\r\n ?.sort((a, b) =>\r\n utils.sort(a.childResourceID, b.childResourceID, true)\r\n )\r\n .map((l) => {\r\n return {\r\n childResourceID: l.childResourceID,\r\n childResourceName: l.childResourceName,\r\n } as ResourceRelation;\r\n })\r\n ).replace(/\\s/g, \"\");\r\n return current != original;\r\n }\r\n return false;\r\n }\r\n\r\n diffNotificationChecks() {\r\n return (\r\n utils.isNull(this.notiCheckARCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.notifyARC, false) ||\r\n utils.isNull(this.notiCheckBLCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.notifyBLSci, false) ||\r\n utils.isNull(this.notiCheckBRCCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.notifyBRC, false) ||\r\n utils.isNull(this.notiCheckHPCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.notifyHP, false) ||\r\n utils.isNull(this.notiCheckRFCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.notifyRF, false) ||\r\n utils.isNull(this.notiCheckSACtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.notifySnA, false) ||\r\n utils.isNull(this.notiCheckRPCtrl?.value, false) !==\r\n utils.isNull(this.scfMaster?.notifyRP, false)\r\n );\r\n }\r\n /////\r\n\r\n formValid() {\r\n if (\r\n this.scfMaster && this.status &&\r\n (this.status.isCreating ||\r\n this.status.isCreatingAmendment ||\r\n this.status.isEditing ||\r\n this.status.isEditingAmendment)\r\n ) {\r\n if (this.locations?.length == 0) {\r\n this.locationsCtrl?.setErrors({ required: true });\r\n this.chipListLoc.errorState = true;\r\n } else {\r\n this.locationsCtrl?.setErrors(null);\r\n this.chipListLoc.errorState = false;\r\n }\r\n if (this.shieldings?.length == 0) {\r\n this.shieldingsCtrl?.setErrors({ required: true });\r\n this.chipListShl.errorState = true;\r\n } else {\r\n this.shieldingsCtrl?.setErrors(null);\r\n this.chipListShl.errorState = false;\r\n }\r\n if (!this.requesterCtrl?.value) {\r\n this.requesterCtrl?.setErrors({ required: true });\r\n this.requesterCtrl?.markAsTouched();\r\n }\r\n const estimatedInitOn = moment(this.estimatedInitCtrl?.value);\r\n const estimatedEndOn = moment(this.estimatedInitCtrl?.value);\r\n const today = moment(this.today).date();\r\n if (\r\n !estimatedInitOn.isValid() ||\r\n estimatedInitOn.isBefore(moment(today))\r\n ) {\r\n this.estimatedInitCtrl?.setErrors({ invalidDate: true });\r\n this.estimatedInitCtrl?.markAsTouched();\r\n } else {\r\n this.estimatedInitCtrl?.setErrors(null);\r\n }\r\n if (\r\n !estimatedEndOn.isValid() ||\r\n estimatedEndOn.isBefore(estimatedInitOn)\r\n ) {\r\n this.estimatedEndCtrl?.setErrors({ invalidDate: true });\r\n this.estimatedEndCtrl?.markAsTouched();\r\n } else {\r\n this.estimatedEndCtrl?.setErrors(null);\r\n }\r\n if (\r\n (!this.status?.isViewingAmendment && !this.scfMaster?.description) ||\r\n (this.status?.isViewingAmendment && !this.scfAmendment?.description)\r\n ) {\r\n this.descriptionCtrl.setErrors({ required: true });\r\n this.descriptionHasError = true;\r\n } else {\r\n this.descriptionCtrl.setErrors(null);\r\n this.descriptionHasError = false;\r\n }\r\n if (\r\n !this.checkAccRFCtrl?.value &&\r\n !this.checkBlShCtrl?.value &&\r\n !this.checkPermAccCtrl?.value &&\r\n !this.checkPermBlCtrl?.value &&\r\n !this.checkTocaMovCtrl?.value\r\n ) {\r\n this.inputWorkHiddenCtrl?.setErrors({ check: true });\r\n this.inputWorkHiddenCtrl?.markAsTouched();\r\n } else {\r\n this.inputWorkHiddenCtrl?.setErrors(null);\r\n }\r\n } else {\r\n this.locationsCtrl?.setErrors(null);\r\n if (this.chipListLoc) {\r\n this.chipListLoc.errorState = false;\r\n }\r\n this.shieldingsCtrl?.setErrors(null);\r\n if (this.chipListShl) {\r\n this.chipListShl.errorState = false;\r\n }\r\n this.descriptionCtrl.setErrors(null);\r\n this.descriptionHasError = false;\r\n }\r\n return this.formGroup.valid && !this.descriptionHasError;\r\n }\r\n}\r\n\r\nfunction __isTouchEvent(event: MouseEvent | TouchEvent): event is TouchEvent {\r\n return event.type.startsWith(\"touch\");\r\n}\r\n\r\nfunction __isInsideDropListClientRect(node: any, x: number, y: number) {\r\n const { top, bottom, left, right } = node.getBoundingClientRect();\r\n return y >= top && y <= bottom && x >= left && x <= right;\r\n}\r\n\r\nfunction __indexOf(collection: { children: any; }, node: any) {\r\n return Array.prototype.indexOf.call(collection.children, node);\r\n}\r\n","
    \r\n
    Work Description and Notifications
    \r\n
    \r\n
    \r\n \r\n Locations\r\n \r\n \r\n {{ location?.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ location?.name }}\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(locationsCtrl)\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n Type of Work\r\n {{\r\n scfMaster?.newWorkLabel === false\r\n ? \"Acc/RF Shielding: Add or Remove/Replace [Verifier - OIC]\"\r\n : \"Remove & Replace ACC/BL/RF\tShielding\"\r\n }}\r\n \r\n BL Shielding: Add or Remove/Replace [Verifier - Floor Op]\r\n \r\n \r\n {{\r\n scfMaster?.newWorkLabel === false\r\n ? \"Toca Movement [Verifier - S&A]\"\r\n : \"TOCA Shielding Movement [Verifier - S&A]\"\r\n }}\r\n \r\n \r\n 'SCF-22-064'; else elseBlock1\"\r\n >Add, Permanently Remove, Modify, or Align Beamline Shielding\r\n [Verifiers - RP]\r\n \r\n \"Add, Remove, or Permanently Modify Beamline Shielding [Verifiers\r\n - RP, HP]\"\r\n \r\n \r\n \r\n 'SCF-22-064'; else elseBlock2\"\r\n >Add, Permanently Remove, Modify, or Align Accelerator Shielding\r\n [Verifiers - RP]\r\n \r\n \"Add, Remove, or Permanently Modify Accelerator Shielding\r\n [Verifiers - RP, HP]\"\r\n \r\n \r\n {{\r\n getErrorMsg(inputWorkHiddenCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n Shielding Affected\r\n \r\n \r\n \r\n drag_indicator\r\n {{ shielding.childResourceName }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n 0,\r\n yellow: shielding.childResourceType\r\n ? shielding.childResourceType > 99\r\n : false\r\n }\"\r\n (onSelectionChange)=\"selectedShl(shielding)\"\r\n >\r\n {{ shielding.childResourceName }}\r\n \r\n \r\n \r\n\r\n \r\n ONLY work on the shielding listed above. Shared Shielding indicated in\r\n red color, TOCAs in yellow.\r\n \r\n {{\r\n getErrorMsg(shieldingsCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n ONLY work on the shielding listed above. Shared Shielding indicated in\r\n red, TOCAs in yellow, Labeled in black, and Unlabeled in blue.\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Requester\r\n\r\n \r\n {{\r\n user.name\r\n }}\r\n \r\n {{\r\n getErrorMsg(requesterCtrl)\r\n }}\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Estimate Start Date\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(estimatedInitCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Estimate Completion Date\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(estimatedEndCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n\r\n
    \r\n
    \r\n
    \r\n Notify\r\n HP\r\n \r\n BL Sci\r\n BRC Chairs\r\n RF Group\r\n S&A\r\n ARC Chairs\r\n RP\r\n
    \r\n \r\n Edit Olog\r\n \r\n \r\n {{ notificationButtonLabel }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Hazard Mitigation & Work Authorizations
    \r\n
    \r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy, ViewChild, ElementRef, Output, EventEmitter } from \"@angular/core\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { SCFPrivileges, SCFStatus } from \"../../scf-v2.service\";\r\nimport { AbstractControl } from \"@angular/forms\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { FormRestriction } from \"src/app/services/forms/form-restriction\";\r\nimport { SCFMaster } from \"../../scf\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { Restriction } from \"src/app/controls/restrictions/services/restriction\";\r\n@Component({\r\n selector: \"scf-v2-main-s2\",\r\n templateUrl: \"./scf-v2-main-s2.component.html\",\r\n styleUrls: [\"./scf-v2-main-s2.component.scss\"],\r\n})\r\nexport class ScfV2MainS2Component extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled?: boolean | null = true;\r\n @Input() privileges?: SCFPrivileges | null;\r\n @Input() status?: SCFStatus | null;\r\n\r\n @Output() changed = new EventEmitter();\r\n @ViewChild(\"restrictionInput\") restrictionInput!: ElementRef;\r\n\r\n disableControls = true;\r\n\r\n // isMobileDevice = utils.isMobileDevice();\r\n\r\n locationIDs?: (number | undefined)[];\r\n formID?: number;\r\n\r\n public get restrictionsCtrl(): AbstractControl | null {\r\n return this.formGroup.get(\"restrictionsCtrl\");\r\n }\r\n\r\n formRestrictions?: FormRestriction[];\r\n\r\n restrictions!: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n filteredRestrictions!: Restriction[];\r\n uniqueRestrictions!: Restriction[];\r\n\r\n locationAddedID?: number | null;\r\n\r\n override ngOnDestroy(): void {\r\n this.restrictionsSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n refresh() {\r\n this.getValues();\r\n }\r\n\r\n getValues() {\r\n this.formRestrictions = [];\r\n if (this.status?.isViewingAmendment) {\r\n this.formRestrictions = this.utils.cloneDeep(this.scfMaster?.scfAmendments?.find(x => x.active)?.scfRestrictionsV2);\r\n const scfAmendment = this.scfMaster?.scfAmendments?.find(x => x.active);\r\n if (scfAmendment) {\r\n this.locationIDs = scfAmendment?.locations?.map((l) => l.id);\r\n this.formID = scfAmendment?.id;\r\n }\r\n } else if (this.scfMaster) {\r\n this.formRestrictions = this.scfMaster?.scfRestrictionsV2;\r\n this.locationIDs = this.scfMaster?.locations?.map((l) => l.id);\r\n this.formID = this.scfMaster.id;\r\n }\r\n this.formRestrictions?.map((r) => {\r\n if (r.restriction == null) {\r\n r.restriction = this.restrictions?.find((x) => x.id == r.restrictionID);\r\n }\r\n });\r\n this.formRestrictions = this.formRestrictions?.sort((a, b) => (a.id ?? 0) - (b.id ?? 0));\r\n }\r\n\r\n setValues() {\r\n if (this.status?.isViewingAmendment) {\r\n const scfAmendment = this.scfMaster?.scfAmendments?.find((x) => x.active);\r\n if (scfAmendment)\r\n scfAmendment.scfRestrictionsV2 =\r\n this.formRestrictions;\r\n } else {\r\n if (this.scfMaster)\r\n this.scfMaster.scfRestrictionsV2 = this.formRestrictions;\r\n }\r\n if (this.scfMaster)\r\n this.changed.emit(this.scfMaster);\r\n }\r\n\r\n locationAdded(e: number) {\r\n this.locationAddedID = e;\r\n }\r\n\r\n restrictionsChanged(e: FormRestriction[]) {\r\n this.formRestrictions = e;\r\n this.setValues();\r\n }\r\n\r\n diffRestrictions() {\r\n if (this.scfMaster && this.status?.isViewingAmendment) {\r\n this.formRestrictions?.map(r => { if (!r.text) r.text = null; });\r\n this.scfMaster.scfRestrictionsV2?.map(r => { if (!r.text) r.text = null; });\r\n const current = utils.JSONstringify(\r\n this.formRestrictions\r\n ?.sort((a, b) =>\r\n utils.sort(a.restrictionID, b.restrictionID, true)\r\n )\r\n .map((l) => {\r\n return {\r\n restrictionID: l.restrictionID,\r\n text: l.text,\r\n } as FormRestriction;\r\n })\r\n )?.replace(/\\s/g, \"\");\r\n const original = utils.JSONstringify(\r\n this.scfMaster?.scfRestrictionsV2\r\n ?.sort((a, b) =>\r\n utils.sort(a.restrictionID, b.restrictionID, true)\r\n )\r\n .map((l) => {\r\n return {\r\n restrictionID: l.restrictionID,\r\n text: l.text,\r\n } as FormRestriction;\r\n })\r\n )?.replace(/\\s/g, \"\");\r\n this.formRestrictions?.map(r => {\r\n r.hilite = this.scfMaster?.scfRestrictionsV2?.find(p => p.restrictionID ? p.restrictionID == r.restrictionID : p.text == r.text) == null && this.status?.isViewingAmendment;\r\n });\r\n return current != original;\r\n }\r\n else return false;\r\n }\r\n\r\n}\r\n","\r\n","import { Component, EventEmitter, Input, OnInit, Output, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { SCFPrivileges, SCFStatus, ScfV2Service } from '../../scf-v2.service';\r\nimport { FormStatusEnum, Roles, NotificationType, FormType, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { Servers } from 'src/app/common/enumerations/servers-enum';\r\nimport { NotificationMessage } from 'src/app/components/catalogs/notifications/services/notification.models';\r\nimport { SiteConfigurationService } from 'src/app/services/site-configuration/site-configuration-service';\r\nimport { WfSignature, WfSignatureResource, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { SCFMaster } from '../../scf';\r\nimport { NotificationService } from 'src/app/components/catalogs/notifications/services/notification.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { NotificationComponent } from 'src/app/controls/notifications/notification.component';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { KEService } from 'src/app/components/kenable/ke.service';\r\nimport { Restriction } from '../../../../controls/restrictions/services/restriction';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { NotificationTemplate } from 'src/app/components/catalogs/notifications/services/notification-template';\r\n\r\n@Component({\r\n selector: 'scf-v2-main-s3',\r\n templateUrl: './scf-v2-main-s3.component.html',\r\n styleUrls: ['./scf-v2-main-s3.component.scss']\r\n})\r\nexport class ScfV2MainS3Component extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled = false;\r\n @Input() privileges?: SCFPrivileges | null;\r\n @Input() status?: SCFStatus | null;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n disableControls = true;\r\n\r\n emailsActivated?: boolean;\r\n amendments!: Amendment[];\r\n signatures!: WfSignature[];\r\n wfSignatures?: WfSignatureResource[];\r\n\r\n restrictions!: Restriction[];\r\n restrictionsFiltered!: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n\r\n notificationMessage?: NotificationMessage | null;\r\n notificationTemplates?: NotificationTemplate[];\r\n notificationTemplates$!: Observable;\r\n notificationTemplatesSubs!: Subscription;\r\n\r\n constructor(\r\n private scfService: ScfV2Service,\r\n private notiService: NotificationService,\r\n private siteConfigurationService: SiteConfigurationService,\r\n private ologService: OLogService,\r\n protected override injector: Injector,\r\n private keService: KEService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.siteConfigurationService.getFirst().toPromise().then((data) => {\r\n this.emailsActivated = data?.isEmailSCFActive;\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n this.loadRestrictions();\r\n this.loadNotificationTemplates();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.restrictionsSubs?.unsubscribe();\r\n this.notificationTemplatesSubs?.unsubscribe();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n });\r\n }\r\n\r\n loadRestrictions() {\r\n this.restrictions$ = this.store.select((state) => state.Restrictions.data);\r\n this.restrictionsSubs = this.restrictions$.subscribe((data) => {\r\n if (data?.length) {\r\n this.restrictions = data;\r\n }\r\n });\r\n }\r\n\r\n refresh() {\r\n this.setDisabled();\r\n this.getValues();\r\n }\r\n\r\n getValues() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n this.amendments = [];\r\n this.amendments.push({ ID: 0, number: 0 });\r\n if (this.scfMaster) {\r\n this.createSignatures(2);\r\n if (this.scfMaster.scfAmendments?.length && this.scfMaster.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 5)?.wfStepLocals?.[0]?.wfTaskLocals?.[0].wfTasks?.[0]?.signedBy) {\r\n this.createSignatures(6);\r\n }\r\n }\r\n }\r\n\r\n createSignatures(section: number) {\r\n let index = 0;\r\n this.wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == section)?.wfSignatures?.filter(x => x.code !== 'SUBMIT').sort((a, b) => ((a.amendmentNumber ?? 0) * 100 + (a.order ?? 0)) - ((b.amendmentNumber ?? 0) * 100 + (b.order ?? 0)));\r\n if (this.wfSignatures) {\r\n for (const t of this.wfSignatures) {\r\n const signature: WfSignature = {\r\n id: t.id,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n amendmentNumber: t.amendmentNumber ? t.amendmentNumber : 0,\r\n name: t.titleBefore,\r\n roles: t.roles.map(r => r?.id),\r\n roleCodes: t.roles.map(r => r?.code).join('/'),\r\n userNames: t.users?.map(r => r?.name)[0],\r\n disabled: (t.disabled || this.disabled),\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveEnabled && !this.disabled && t.approveID !== 0,\r\n unapprove: t.unapproveEnabled && !this.disabled && t.unapproveID !== 0,\r\n disapprove: t.disapproveEnabled && !this.disabled && t.disapproveID !== 0,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n warning: t.warning,\r\n requesterSignature: t.requesterSignature,\r\n visible: t.visible,\r\n enabled: t.enabled,\r\n sectionNumber: section\r\n };\r\n // if (t.code == 'OIC' && this.scfMaster?.status == FormStatusEnum.PendingActivation && this.getCurrentUser()?.userRole?.map(r => r.roleID).includes(Roles.OIC)) {\r\n // signature.disabled = false;\r\n // const reqSignature = this.wfSignatures.find(x => x.code == 'REQ' && x.enabled);\r\n // const afoSignature = this.wfSignatures.find(x => x.code == 'AOFO');\r\n // signature.approve = t.approveEnabled && !this.disabled && (reqSignature ? reqSignature.signed : true) && (!afoSignature?.signed || afoSignature.signed && afoSignature?.signedBy?.id != this.getCurrentUser()?.id);\r\n // }\r\n if (!signature.enabled) {\r\n signature.approvedBy = null;\r\n signature.approved = false;\r\n }\r\n index++;\r\n if (t.amendmentNumber && !this.amendments.map(x => x.number).includes(t.amendmentNumber)) {\r\n this.amendments.push({ ID: t.amendmentID, number: t.amendmentNumber });\r\n this.amendments = this.amendments.sort((a, b) => a.number - b.number);\r\n }\r\n this.signatures.push(signature);\r\n }\r\n }\r\n }\r\n\r\n signCount() {\r\n let count = 0;\r\n if (this.wfSignatures) {\r\n this.wfSignatures.map(t => {\r\n if (t?.signed) { count++; }\r\n });\r\n }\r\n return count;\r\n }\r\n\r\n setValues() {\r\n\r\n }\r\n\r\n setDisabled() {\r\n this.disabled =\r\n (this.scfMaster?.status !== FormStatusEnum.WorkApprovals &&\r\n this.scfMaster?.status !== FormStatusEnum.RestrictionsAmendment &&\r\n this.scfMaster?.status !== FormStatusEnum.PendingActivation &&\r\n this.scfMaster?.status !== FormStatusEnum.RestrictionsAmendment) ||\r\n this.getCurrentUser() === undefined;\r\n }\r\n\r\n\r\n getSignatures(amendment: number) {\r\n return this.signatures?.filter(x => x.amendmentNumber == amendment);\r\n }\r\n\r\n getLastAmendment() {\r\n const last = this.signatures.filter(x => x.amendmentNumber).map(x => x.amendmentNumber).sort((a, b) => (a ?? 0) - (b ?? 0)).reverse();\r\n return last ? last[0] : 0;\r\n }\r\n\r\n async approve(s: WfSignature) {\r\n const wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == s.sectionNumber)?.wfSignatures?.filter(x => x.code !== 'SUBMIT');\r\n const index = wfSignatures?.findIndex(x => x.id == s.id);\r\n const signaturesToSign = wfSignatures?.filter(x => x.enabled && (x.amendmentNumber ? x.amendmentNumber : 0) == s.amendmentNumber && x.taskID != s.taskId && !x.signed);\r\n let ok = true;\r\n if (signaturesToSign?.length == 0 && index && index > 1) {\r\n ok = await this.showAproveToActiveMessage();\r\n if (ok && this.scfMaster?.id) {\r\n const restrictedResourceIDs = this.restrictions.filter(x => this.scfMaster?.scfRestrictionsV2?.filter(x => x.restrictionID).map(x => x.restrictionID).includes(x.id)).map(y => y.resourceID).filter((resourceID): resourceID is number => resourceID !== undefined);\r\n const isAmendment = this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment;\r\n ok = (await this.ologService.postToOlog(FormType.SCF, this.scfMaster.id, isAmendment ? OlogNotificationType.Amended : OlogNotificationType.Activate, s.amendmentNumber))?.ok ?? false;\r\n\r\n //Refresh KEs\r\n if (restrictedResourceIDs?.length) {\r\n this.keService.processKES(restrictedResourceIDs);\r\n }\r\n }\r\n else { this.getValues(); }\r\n }\r\n if (ok) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.approveId\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(data => {\r\n if (data) this.checkAndSendNotification(data, s.amendmentNumber);\r\n this.loading.emit(false);\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n else {\r\n this.getValues();\r\n }\r\n }\r\n\r\n async unapprove(s: WfSignature) {\r\n this.loading.emit(true);\r\n\r\n let verificator = true;\r\n if (this.scfMaster?.requesterId === this.getCurrentUser()?.id) {\r\n if (this.signatures.some(s => s.requesterSignature)) {\r\n try {\r\n verificator = false;\r\n let signatures: WfSignatureResource[] | undefined = [];\r\n if (!this.status?.isViewingAmendment) {\r\n signatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number === 2)?.wfSignatures;\r\n } else if (this.status.isViewingAmendment) {\r\n signatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.number === 6)?.wfSignatures;\r\n signatures = signatures?.filter(x => x.amendmentID === s.amendmentId);\r\n }\r\n const requesterTask = signatures?.find(s => s.requesterSignature);\r\n const index = signatures?.findIndex(x => x.id === s.id);\r\n const validate =\r\n requesterTask &&\r\n requesterTask.unapproveID &&\r\n requesterTask.signed &&\r\n index !== undefined &&\r\n index !== null &&\r\n (index === 1 || (this.status?.isViewingAmendment && index === 0));\r\n if (validate) {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: requesterTask.taskID,\r\n actionId: requesterTask.unapproveID\r\n };\r\n await this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.loading.emit(false);\r\n });\r\n }\r\n verificator = true;\r\n } catch (error) {\r\n this.alert.defaultError();\r\n }\r\n }\r\n }\r\n if (verificator) {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.unapproveId\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.loading.emit(false);\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n }\r\n\r\n loadNotificationTemplates() {\r\n this.notificationTemplates$ = this.store.select(state => state.NotificationTemplates.data);\r\n this.notificationTemplatesSubs = this.notificationTemplates$.subscribe(data => {\r\n if (data?.length)\r\n this.notificationTemplates = data;\r\n });\r\n }\r\n\r\n checkAndSendNotification(scfMaster: SCFMaster, amendmentNumber?: number) {\r\n const wfSignatures = scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 2)?.wfSignatures?.filter(x => x.code !== 'SUBMIT' && (x.amendmentNumber ? x.amendmentNumber : 0) == amendmentNumber);\r\n const nextSignature = wfSignatures?.find(x => x.enabled && !x.signed);\r\n const lastSignatureSigned = wfSignatures\r\n ?.slice() // Creates a shallow copy to avoid mutating the original array\r\n .reverse().find(x => x.enabled && x.signed);\r\n\r\n if (nextSignature?.requesterSignature) {\r\n //TODO Notify to Requester if Required\r\n this.sendNotification(scfMaster, NotificationType.RequesterRequired, nextSignature);\r\n }\r\n else if (lastSignatureSigned?.requesterSignature || ((lastSignatureSigned?.code == 'RP' || lastSignatureSigned?.code == 'RWAPI') && (nextSignature?.code == 'AOFO' || nextSignature?.code == 'OIC'))) {\r\n //TODO Notify to AOFO/OIC\r\n this.sendNotification(scfMaster, NotificationType.RequesterSigned, nextSignature);\r\n }\r\n }\r\n\r\n async sendNotification(scfMaster: SCFMaster, type: NotificationType, signature?: WfSignatureResource) {\r\n const toAddresses = type == NotificationType.RequesterRequired ? signature?.users?.map(u => `${u.name} <${u.emailAddress}>`) : this.getEmailAddressesFromRoles([Roles.AO, Roles.FO, Roles.OIC]);\r\n const template = this.notificationTemplates?.find(t => t.type == type);\r\n const notification = {\r\n serialNo: scfMaster.serialNo,\r\n notificationId: 0,\r\n documentId: scfMaster.id,\r\n toAddresses: JSON.stringify({ computed: toAddresses }),\r\n messageSubject: template?.messageSubject.replace('{serialNo}', scfMaster.serialNo),\r\n messageBody: template?.messageBody.replace('{serialNo}', scfMaster.serialNo),\r\n type: template?.id,\r\n code: '',\r\n messageAdditionalText: '',\r\n signature: template?.signature,\r\n } as NotificationMessage;\r\n\r\n await this.notiService.createNotification(notification).toPromise().then(async data => {\r\n if (data) {\r\n const addressesObject = this.utils.JSONparse(data.toAddresses);\r\n const emailAddreses = (addressesObject.computed as string[]).concat(addressesObject.added);\r\n\r\n // const sendNotification = await this.openNotificationDialog(data, emailAddreses, false);\r\n // if (!sendNotification)\r\n // this.alert.warning('Email Notification not Sent!');\r\n // else if (sendNotification) {\r\n this.notiService.sendNotification(data).toPromise().then(() => {\r\n this.alert.success(emailAddreses.join('
    '), 'Email Notification Sent to:');\r\n });\r\n\r\n // }\r\n }\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n\r\n\r\n }\r\n\r\n openNotificationDialog(data: NotificationMessage, emailAddresses?: string[], readOnly?: boolean) {\r\n const dialogRef = this.dialog.open(NotificationComponent, {\r\n height: \"fit-content\",\r\n width: \"60vw\",\r\n data: {\r\n message: data,\r\n emailAddresses,\r\n readOnly,\r\n confirmation: true,\r\n type: data.type\r\n },\r\n });\r\n\r\n return dialogRef.afterClosed().toPromise();\r\n }\r\n\r\n disapprove(s: WfSignature, data: any) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.disapproveId,\r\n reason: data.text\r\n };\r\n\r\n this.scfService.sign(wfTaskSignature).toPromise().then(res => {\r\n this.loading.emit(false);\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }\r\n );\r\n }\r\n}\r\n\r\nexport class Amendment {\r\n ID!: number;\r\n number!: number;\r\n}\r\n","
    \r\n \r\n\r\n 0 && amendment.number == getLastAmendment(),\r\n 'border-amd-old':\r\n amendment.number > 0 && amendment.number != getLastAmendment()\r\n }\"\r\n >\r\n Amendment {{ amendment.number }}\r\n \r\n \r\n \r\n
    \r\n \r\n\r\n","import { Component, Inject, OnInit, OnDestroy } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { SCFMaster, SCFHoldPointResource } from 'src/app/components/scf-v2/scf';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\n\r\n@Component({\r\n selector: 'scf-v2-main-s4-holdpoints-add',\r\n templateUrl: './scf-v2-main-s4-holdpoints-add.component.html',\r\n styleUrls: ['./scf-v2-main-s4-holdpoints-add.component.scss']\r\n})\r\nexport class ScfV2MainS4HoldpointsAddComponent implements OnInit, OnDestroy {\r\n\r\n wfTaskLocals?: WfTaskLocalResource[];\r\n scfMaster: SCFMaster;\r\n scfHoldPoint: SCFHoldPointResource;\r\n\r\n roles?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n constructor(\r\n private matDialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: {\r\n scfMaster: SCFMaster;\r\n scfHoldPoint: SCFHoldPointResource\r\n },\r\n private store: Store\r\n ) {\r\n this.scfMaster = data.scfMaster;\r\n this.scfHoldPoint = data.scfHoldPoint;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadRoles();\r\n if (this.scfHoldPoint.wfTaskLocals) {\r\n this.wfTaskLocals = this.scfHoldPoint.wfTaskLocals;\r\n this.wfTaskLocals.map(t => {\r\n t.required = t.wfTasks?.length ? t.wfTasks[0].required : false;\r\n this.getRoles(t);\r\n });\r\n }\r\n else {\r\n this.wfTaskLocals = utils.cloneDeep(this.scfMaster.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.number == 3)?.wfStepLocals?.find(x => x.code == 'HOLDPOINT')?.wfTaskLocals.filter(x => !x.holdPointID).sort((a, b) => (a.order ?? 0) - (b.order ?? 0)));\r\n this.wfTaskLocals?.map(t => { this.getRoles(t); });\r\n }\r\n }\r\n\r\n getRoles(wfTaskLocal: WfTaskLocalResource) {\r\n if (wfTaskLocal.requesterSignature) {\r\n return 'Requester: ' + this.scfMaster.requesterName;\r\n }\r\n const rolesArray: Role[] = [];\r\n wfTaskLocal.wfRoleLocals?.map(r => {\r\n const role = this.roles?.find(x => x.id == r.roleID);\r\n if (role)\r\n rolesArray.push(role);\r\n });\r\n const roles = rolesArray.map(x => x.code).join('/');\r\n return roles;\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n });\r\n }\r\n\r\n textChanged(e: any) {\r\n this.scfHoldPoint.description = e;\r\n }\r\n\r\n cancel() {\r\n this.matDialogRef.close();\r\n }\r\n\r\n save() {\r\n if (this.scfMaster.id) {\r\n if (!this.scfHoldPoint.id) {\r\n this.wfTaskLocals?.map(t => {\r\n t.id = 0;\r\n t.wfActionLocals?.map(a => a.id = 0);\r\n t.wfRoleLocals?.map(r => r.id = 0);\r\n });\r\n }\r\n this.scfHoldPoint.wfTaskLocals = this.wfTaskLocals;\r\n this.scfHoldPoint.scfMasterID = this.scfMaster.id;\r\n const amendment = this.scfMaster.scfAmendments?.find(a => a.active);\r\n this.scfHoldPoint.amendmentID = amendment?.id;\r\n this.scfHoldPoint.amendmentNumber = amendment?.number;\r\n this.matDialogRef.close(this.scfHoldPoint);\r\n }\r\n }\r\n\r\n isValid() {\r\n return this.scfHoldPoint.description?.trim() != '' && this.wfTaskLocals?.filter(x => x.required).length;\r\n }\r\n\r\n}\r\n","
    \r\n
    Create Hold Point Inspection
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ wfTaskLocal.name }}
    \r\n {{ getRoles(wfTaskLocal) }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Cancel\r\n \r\n \r\n Save\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnInit, Output, SimpleChanges, OnChanges, Injector } from '@angular/core';\r\nimport { ScfV2MainS4HoldpointsAddComponent } from './scf-v2-main-s4-holdpoints-add/scf-v2-main-s4-holdpoints-add.component';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { DataButtonSignature } from 'src/app/common/models/data-button-signature';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { WfSignature, WfSignatureResource, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { SCFMaster, SCFHoldPointResource, SaveSCFStatusResource } from '../../../scf';\r\nimport { SCFPrivileges, SCFStatus, ScfV2Service } from '../../../scf-v2.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\n\r\n@Component({\r\n selector: 'scf-v2-main-s4-holdpoints',\r\n templateUrl: './scf-v2-main-s4-holdpoints.component.html',\r\n styleUrls: ['./scf-v2-main-s4-holdpoints.component.scss']\r\n})\r\nexport class ScfV2MainS4HoldpointsComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled? = true;\r\n @Input() privileges?: SCFPrivileges;\r\n @Input() status?: SCFStatus;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n disableControls = true;\r\n\r\n signatures?: WfSignature[];\r\n wfSignatures?: WfSignatureResource[];\r\n wfSignCount?: number;\r\n\r\n holdPoints?: SCFHoldPointResource[];\r\n enableReorder?: boolean;\r\n\r\n constructor(\r\n private scfService: ScfV2Service,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.setDisabled();\r\n this.getValues();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n }\r\n\r\n initializeForm() {\r\n\r\n }\r\n\r\n amendmentActive() {\r\n return this.scfMaster?.scfAmendments?.some(a => a.active);\r\n }\r\n\r\n setDisabled() {\r\n this.disabled =\r\n (this.scfMaster?.status !== FormStatusEnum.Active && this.scfMaster?.status !== FormStatusEnum.AwaitingInspection && this.scfMaster?.status !== FormStatusEnum.HoldPoint) ||\r\n !this.getCurrentUser();\r\n }\r\n\r\n getValues() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n if (this.scfMaster) {\r\n this.wfSignCount = this.wfSignatures?.filter(x => x.signed).length;\r\n this.holdPoints = this.scfMaster.scfHoldPoints?.filter(x => x.status == 1).sort((a, b) => a.number - b.number);\r\n this.createSignatures();\r\n }\r\n }\r\n\r\n createSignatures() {\r\n this.wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 3)?.wfSignatures?.filter(x => x.wfTaskLocal.wfStepLocal?.code == 'HOLDPOINT' && x.holdPointID && x.required);\r\n if (this.wfSignatures) {\r\n for (const t of this.wfSignatures) {\r\n if (t.required) {\r\n const signature: WfSignature = {\r\n id: t.id,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n roles: t.roles.map(r => r?.id),\r\n roleCodes: !t.requesterSignature ? t.roles.sort((a, b) => utils.sort(a.code, b.code)).map(r => r?.code).join('/') : undefined,\r\n disabled: !t.enabled || this.disabled || t.disabled,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveEnabled && !this.userSigned(t),\r\n unapprove: t.unapproveEnabled,\r\n disapprove: t.disapproveEnabled,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n warning: false,\r\n enabled: t.enabled,\r\n holdPointID: t.holdPointID,\r\n requesterSignature: t.requesterSignature,\r\n userNames: t.requesterSignature ? this.scfMaster?.requesterName : undefined\r\n };\r\n this.wfSignCount = this.signCount();\r\n this.signatures?.push(signature);\r\n }\r\n }\r\n this.checkStatus();\r\n }\r\n }\r\n\r\n userSigned(t: WfSignatureResource) {\r\n const alreadySigned = this.wfSignatures?.find(x => x.holdPointID == t.holdPointID && x.signedBy?.id == this.getCurrentUser()?.id && x.id != t.id);\r\n return alreadySigned != null;\r\n }\r\n\r\n getSignatures(holdPoint: SCFHoldPointResource) {\r\n let number = 1;\r\n const signatures = this.signatures?.filter(x => x.holdPointID == holdPoint.id);\r\n signatures?.map(s => {\r\n s.name = 'Hold Point ' + holdPoint.number + ' Inspection ' + number;\r\n number++;\r\n });\r\n return signatures;\r\n }\r\n\r\n signCount() {\r\n let count = 0;\r\n if (this.wfSignatures) {\r\n this.wfSignatures.map(t => {\r\n if (t?.signed) { count++; }\r\n });\r\n }\r\n return count;\r\n }\r\n\r\n approve(s: WfSignature) {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.approveId\r\n };\r\n\r\n this.loading.emit(true);\r\n this.scfService.sign(wfTaskSignature).toPromise().then(res => {\r\n this.loading.emit(false);\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n async disapprove(s: WfSignature, data: DataButtonSignature) {\r\n this.loading.emit(true);\r\n\r\n // Get an array of promises\r\n const signPromises = this.signatures\r\n ?.filter(x => x.holdPointID == s.holdPointID && x.approved)\r\n .map(s => {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.unapproveId,\r\n reason: data.text\r\n };\r\n return this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n const signature = this.signatures?.find(x => x.id == s.id);\r\n if (signature) signature.approved = false;\r\n });\r\n });\r\n\r\n // Wait for all promises to resolve\r\n if (signPromises) {\r\n await Promise.all(signPromises);\r\n }\r\n\r\n this.checkStatus(data);\r\n this.loading.emit(false);\r\n }\r\n\r\n\r\n unapprove(s: WfSignature) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.unapproveId\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n const signature = this.signatures?.find(x => x.id == s.id);\r\n if (signature) signature.approved = false;\r\n this.checkStatus();\r\n this.loading.emit(false);\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n checkStatus(data?: any) {\r\n if (!this.scfMaster || !this.signatures) return;\r\n\r\n const relevantSignatures = this.signatures.filter(\r\n s => s.holdPointID && this.holdPoints?.some(h => h.id === s.holdPointID)\r\n );\r\n const hasUnapprovedSignatures = relevantSignatures.some(s => !s.approved);\r\n\r\n let status: FormStatusEnum | undefined;\r\n if (this.scfMaster.status === FormStatusEnum.Active && relevantSignatures.length && hasUnapprovedSignatures) {\r\n status = FormStatusEnum.HoldPoint;\r\n } else if (\r\n this.scfMaster.status === FormStatusEnum.HoldPoint &&\r\n (!relevantSignatures.length || !hasUnapprovedSignatures)\r\n ) {\r\n status = FormStatusEnum.Active;\r\n }\r\n\r\n if (status) {\r\n this.loading.emit(true);\r\n const scf: SaveSCFStatusResource = {\r\n id: this.scfMaster.id,\r\n status,\r\n disapprovalReason: status === FormStatusEnum.Active ? data?.text : undefined\r\n };\r\n\r\n this.scfService\r\n .putStatus(scf)\r\n .toPromise()\r\n .then(() => this.loading.emit(false))\r\n .catch(error => console.error(error));\r\n }\r\n }\r\n\r\n\r\n async update() {\r\n if (this.scfMaster)\r\n return await this.scfService.update(this.scfMaster).toPromise();\r\n else return null;\r\n }\r\n\r\n createHoldPoint() {\r\n const scfHoldPoint = {\r\n id: 0\r\n } as SCFHoldPointResource;\r\n const confirm = this.dialog.open(ScfV2MainS4HoldpointsAddComponent, {\r\n width: '65vw',\r\n disableClose: true,\r\n data: {\r\n scfMaster: this.scfMaster,\r\n scfHoldPoint\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && this.scfMaster) {\r\n this.loading.emit(true);\r\n const scfmaster = await this.update();\r\n this.scfService.createHoldPoint(data).toPromise().then(res => {\r\n this.loading.emit(false);\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n editHoldPoint(scfHoldPoint: SCFHoldPointResource) {\r\n const confirm = this.dialog.open(ScfV2MainS4HoldpointsAddComponent, {\r\n width: '65vw',\r\n disableClose: true,\r\n data: {\r\n scfMaster: this.scfMaster,\r\n scfHoldPoint\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async (data: SCFHoldPointResource) => {\r\n if (data && this.scfMaster) {\r\n this.loading.emit(true);\r\n const scfmaster = await this.update();\r\n this.scfService.updateHoldPoint(data).toPromise().then(res => {\r\n this.loading.emit(false);\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n deleteHoldPoint(scfHoldPoint: SCFHoldPointResource) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n disableClose: true,\r\n data: {\r\n message: 'Are you sure you want to Delete this Hold Point?',\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && this.scfMaster) {\r\n this.loading.emit(true);\r\n const scfmaster = await this.update();\r\n this.scfService.deleteHoldPoint(scfHoldPoint).toPromise().then(res => {\r\n this.loading.emit(false);\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n holdPointUnsigned(hp: SCFHoldPointResource) {\r\n return hp.wfTaskLocals?.filter(x => x.wfTasks?.some(t => t.signedBy)).length == 0;\r\n }\r\n\r\n nextHoldPointUnsigned(hp: SCFHoldPointResource) {\r\n const nextHoldPoint = this.scfMaster?.scfHoldPoints?.find(x => x.number > hp.number);\r\n return nextHoldPoint ? nextHoldPoint.wfTaskLocals?.filter(x => x.wfTasks?.some(t => t.signedBy)).length == 0 : true;\r\n }\r\n\r\n holdPointFinished(hp: SCFHoldPointResource) {\r\n return this.signatures?.filter(x => x.holdPointID == hp.id && !x.approved).length == 0;\r\n }\r\n\r\n // This method will be called when an item is dropped\r\n drop(event: CdkDragDrop) {\r\n moveItemInArray(this.holdPoints ?? [], event.previousIndex, event.currentIndex);\r\n this.reorderArray();\r\n }\r\n\r\n reorderArray() {\r\n let number = 1;\r\n this.holdPoints?.map(h => {\r\n h.number = number;\r\n number++;\r\n });\r\n\r\n this.holdPoints = this.holdPoints?.sort((a, b) => a.number - b.number);\r\n this.scfService.updateHoldPointNumbers(this.holdPoints ?? []).toPromise();\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Hold Points
    \r\n No Hold Points found!\r\n
    \r\n
    \r\n
    \r\n
    \r\n 1 &&\r\n (privileges?.canAddHoldPoints ||\r\n privileges?.canAddHoldPointsDraft)\r\n \"\r\n >\r\n \r\n swipe_vertical\r\n \r\n \r\n swipe_vertical\r\n \r\n
    \r\n\r\n \r\n Add Hold Point\r\n \r\n
    \r\n\r\n \r\n You cannot add or modify hold points while the form is being edited\r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n \r\n Hold Point {{ hp.number\r\n }}Amendment {{ hp.amendmentNumber }}\r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output, SimpleChanges, OnChanges, Injector, } from \"@angular/core\";\r\nimport { SCFPrivileges, SCFStatus, ScfV2Service } from \"../../../scf-v2.service\";\r\nimport { FormStatusEnum, FormType, OlogNotificationType, SignatureAction } from \"src/app/common/enumerations/enumerations\";\r\nimport { CancelDialogComponent } from \"src/app/controls/cancel-dialog/cancel-dialog.component\";\r\nimport { WfSignature, WfSignatureResource, WFTaskSignatureResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { SCFHoldPointResource, SCFMaster, SaveSCFStatusResource } from \"../../../scf\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { FormStatus } from \"src/app/services/forms/form-status\";\r\nimport { OLogService } from \"src/app/components/olog/olog.service\";\r\nimport { MessagePlaceholder } from \"src/app/common/models/placeholder\";\r\n\r\n@Component({\r\n selector: \"scf-v2-main-s4-nowork\",\r\n templateUrl: \"./scf-v2-main-s4-nowork.component.html\",\r\n styleUrls: [\"./scf-v2-main-s4-nowork.component.scss\"],\r\n})\r\nexport class ScfV2MainS4NoworkComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled? = true;\r\n @Input() privileges?: SCFPrivileges;\r\n @Input() status?: SCFStatus;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n disableControls = true;\r\n\r\n signatures?: WfSignature[];\r\n wfSignatures?: WfSignatureResource[];\r\n\r\n noWorkPerformedTitle?: string;\r\n noWorkPerformedLegend?: string;\r\n\r\n holdPoints?: SCFHoldPointResource[];\r\n\r\n requesterAmended?: boolean;\r\n\r\n constructor(\r\n private scfService: ScfV2Service,\r\n private _olog: OLogService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.setDisabled();\r\n this.getValues();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n this.setMessages();\r\n }\r\n\r\n initializeForm() { }\r\n\r\n setMessages() {\r\n this.noWorkPerformedTitle = this.getMessage(\r\n \"noWorkPerformedTitle\"\r\n ).description;\r\n this.noWorkPerformedLegend = this.getMessage(\r\n \"noWorkPerformedLegend\"\r\n ).description;\r\n }\r\n\r\n setDisabled() {\r\n this.disabled =\r\n (this.scfMaster?.status !== FormStatusEnum.Active &&\r\n this.scfMaster?.status !== FormStatusEnum.HoldPoint &&\r\n this.scfMaster?.status !== FormStatusEnum.PendingCancelation) ||\r\n !this.getCurrentUser();\r\n }\r\n\r\n getValues() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n if (this.scfMaster) {\r\n this.createSignatures();\r\n }\r\n }\r\n\r\n createSignatures() {\r\n let index = 0;\r\n this.wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals\r\n ?.find((x) => x.number == 3)\r\n ?.wfSignatures?.filter((x) => x.wfTaskLocal.wfStepLocal?.code == \"NO_WORK\")\r\n .sort((a, b) => (a.order ?? 0) - (b.order ?? 0));\r\n const requesterSignature = this.wfSignatures?.find(x => x.requesterSignature);\r\n if (this.status?.isViewingAmendment) {\r\n const amendment = this.scfMaster?.scfAmendments?.find(x => x.active);\r\n this.requesterAmended = this.scfMaster?.requesterId != amendment?.requesterId;\r\n if (this.requesterAmended && requesterSignature && amendment) {\r\n requesterSignature.users = [];\r\n const user = this.getUser(amendment.requesterId);\r\n if (user)\r\n requesterSignature.users.push(user);\r\n }\r\n }\r\n else {\r\n if (requesterSignature && this.scfMaster?.requesterId) {\r\n requesterSignature.users = [];\r\n const user = this.getUser(this.scfMaster?.requesterId);\r\n if (user)\r\n requesterSignature.users.push(user);\r\n }\r\n }\r\n if (this.wfSignatures) {\r\n for (const t of this.wfSignatures) {\r\n const signature: WfSignature = {\r\n id: t.id,\r\n type: t.type,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n amendmentNumber: t.amendmentNumber ? t.amendmentNumber : 0,\r\n name: t.titleBefore,\r\n roles: t.roles.map((r) => r?.id),\r\n roleCodes: t.roles.length\r\n ? t.roles.map((r) => r?.code).join(\"/\")\r\n : undefined,\r\n userNames: t.users?.map((r) => r?.name)[0],\r\n disabled:\r\n this.disabled ||\r\n (t.requesterSignature && !t.users.map(u => u.id).includes(this.currentUser?.id)),\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve:\r\n this.taskEnabled(t, SignatureAction.Approve) && !this.disabled,\r\n unapprove:\r\n this.taskEnabled(t, SignatureAction.Unnaprove) && !this.disabled,\r\n disapprove:\r\n this.taskEnabled(t, SignatureAction.Disapprove) &&\r\n !this.disabled &&\r\n !t.signed,\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.type == 2 ? t.signed : t.value,\r\n requesterSignature: t.requesterSignature,\r\n visible: t.visible,\r\n enabled: t.enabled,\r\n warning: false,\r\n sectionNumber: 3,\r\n };\r\n\r\n if (!signature.enabled) {\r\n signature.approvedBy = null;\r\n signature.approved = false;\r\n }\r\n index++;\r\n\r\n this.signatures?.push(signature);\r\n }\r\n }\r\n }\r\n\r\n taskEnabled(t: WfSignatureResource, a: SignatureAction) {\r\n let result: boolean | undefined = false;\r\n if (t.requesterSignature) {\r\n switch (a) {\r\n case SignatureAction.Approve:\r\n result =\r\n t.wfTaskLocal.wfTasks?.[0]?.signedBy == null &&\r\n this.scfMaster?.requesterId == this.getCurrentUser()?.id;\r\n break;\r\n\r\n case SignatureAction.Unnaprove:\r\n result =\r\n t.wfTaskLocal.wfTasks?.[0]?.signedBy != null &&\r\n this.scfMaster?.requesterId == this.getCurrentUser()?.id;\r\n break;\r\n }\r\n } else {\r\n if (this.getCurrentUser()?.id != this.scfMaster?.requesterId) {\r\n const reqSignature = this.wfSignatures?.find(\r\n (x) => x.code == \"NO_WORK_CHECK\"\r\n );\r\n t.enabled = reqSignature?.signed;\r\n result =\r\n this.hasRoles(t.roles) &&\r\n this.scfMaster?.status == FormStatusEnum.PendingCancelation &&\r\n t.enabled;\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n approve(s: WfSignature, text: string | null = null) {\r\n return new Promise((resolve, reject) => {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.approveId,\r\n reason: text,\r\n };\r\n this.loading.emit(true);\r\n this.scfService\r\n .sign(wfTaskSignature)\r\n .toPromise()\r\n .then((res) => {\r\n this.scfMaster = res;\r\n this.checkStatus(s);\r\n this.loading.emit(false);\r\n resolve(res);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n reject();\r\n });\r\n });\r\n }\r\n\r\n async checkStatus(s: WfSignature) {\r\n this.getValues();\r\n if (!this.wfSignatures?.find((x) => x.signed)) {\r\n const hp = this.holdPoints = this.scfMaster?.scfHoldPoints?.filter(x => x.status == 1).sort((a, b) => a.number - b.number);\r\n const hpStatus = hp?.some(x => x.wfTaskLocals?.filter(x => x.wfTasks?.some(t => t.signedBy)).length == 0);\r\n const scfStatusResource = {\r\n id: this.scfMaster?.id,\r\n status: hpStatus ? FormStatusEnum.HoldPoint : FormStatusEnum.Active,\r\n } as SaveSCFStatusResource;\r\n this.scfService\r\n .putStatus(scfStatusResource)\r\n .toPromise()\r\n .then(() => {\r\n this.loading.emit(false);\r\n });\r\n } else {\r\n if (!s.requesterSignature) {\r\n const signatures = this.wfSignatures.filter(\r\n (x) => x.code != \"NO_WORK_CHECK\"\r\n );\r\n const allSigned = signatures.filter((x) => !x.signed).length == 0;\r\n if (allSigned) {\r\n const scfStatusResource = {\r\n id: this.scfMaster?.id,\r\n status: FormStatusEnum.Closed,\r\n } as SaveSCFStatusResource;\r\n\r\n\r\n const response = await this._olog.postToOlog(FormType.SCF, this.scfMaster?.id ?? 0, OlogNotificationType.Closed);\r\n if (response?.ok) {\r\n this.loading.emit(true);\r\n this.scfService.putStatus(scfStatusResource).toPromise().then(async () => {\r\n if (this.scfMaster?.id) {\r\n const taskId = s.taskId;\r\n const actionId = s.approveId;\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId,\r\n actionId\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', this.scfMaster?.serialNo), new MessagePlaceholder('{status}', 'Closed')]);\r\n this.loading.emit(false);\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n\r\n // this.scfService\r\n // .putStatus(scfStatusResource)\r\n // .toPromise()\r\n // .then(() => {\r\n // // this.loading.emit(false);\r\n // });\r\n\r\n }\r\n } else {\r\n const signature = this.wfSignatures.find(\r\n (x) => x.code == \"NO_WORK_CHECK\"\r\n );\r\n const scfStatusResource = {\r\n id: this.scfMaster?.id,\r\n status: signature?.signed\r\n ? FormStatusEnum.PendingCancelation\r\n : FormStatusEnum.Active,\r\n } as SaveSCFStatusResource;\r\n this.scfService\r\n .putStatus(scfStatusResource)\r\n .toPromise()\r\n .then(() => {\r\n // this.loading.emit(false);\r\n });\r\n }\r\n }\r\n }\r\n\r\n disapprove(s: WfSignature, data: any) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.disapproveId,\r\n reason: data.text,\r\n };\r\n this.scfService\r\n .sign(wfTaskSignature)\r\n .toPromise()\r\n .then(\r\n (res) => {\r\n this.scfMaster = res;\r\n this.loading.emit(false);\r\n this.checkStatus(s);\r\n this.loading.emit(false);\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n\r\n unapprove(s: WfSignature) {\r\n return new Promise((resolve, reject) => {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.unapproveId,\r\n };\r\n this.scfService\r\n .sign(wfTaskSignature)\r\n .toPromise()\r\n .then(\r\n (res: any) => {\r\n this.scfMaster = res;\r\n this.loading.emit(false);\r\n this.checkStatus(s);\r\n this.loading.emit(false);\r\n resolve(res);\r\n },\r\n (error: any) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n reject();\r\n }\r\n );\r\n });\r\n }\r\n\r\n async checked(s: WfSignature, e: any) {\r\n if (e) {\r\n if (s.requesterSignature) {\r\n const confirm = this.dialog.open(CancelDialogComponent, {\r\n width: \"600px\",\r\n data: {\r\n label: this.getMessage(\"EnterAReasonToCloseSCF\").description,\r\n text: \"\",\r\n inputType: \"text\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data.text) {\r\n this.loading.emit(true);\r\n this.approve(s, data.text);\r\n } else {\r\n this.getValues();\r\n }\r\n });\r\n } else {\r\n await this.approve(s);\r\n }\r\n } else {\r\n this.loading.emit(true);\r\n this.unapprove(s);\r\n }\r\n }\r\n}\r\n","\r\n
    \r\n
    \r\n
    {{ noWorkPerformedTitle }}
    \r\n
    \r\n
    \r\n {{ noWorkPerformedLegend }}\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output, SimpleChanges, OnChanges, Injector, } from \"@angular/core\";\r\nimport { SCFPrivileges, SCFStatus, ScfV2Service } from \"../../scf-v2.service\";\r\nimport { FormStatusEnum } from \"src/app/common/enumerations/enumerations\";\r\nimport { DataButtonSignature } from \"src/app/common/models/data-button-signature\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { WfSignature, WfSignatureResource, WFTaskSignatureResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { SCFMaster } from \"../../scf\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { MessagePlaceholder } from \"src/app/common/models/placeholder\";\r\n\r\n\r\n@Component({\r\n selector: \"scf-v2-main-s4\",\r\n templateUrl: \"./scf-v2-main-s4.component.html\",\r\n styleUrls: [\"./scf-v2-main-s4.component.scss\"],\r\n})\r\nexport class ScfV2MainS4Component extends BaseComponent implements OnInit, OnChanges {\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled? = true;\r\n @Input() privileges?: SCFPrivileges;\r\n @Input() status?: SCFStatus;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n disableControls = true;\r\n\r\n signatures?: WfSignature[];\r\n wfSignatures?: WfSignatureResource[];\r\n wfSignCount?: number;\r\n\r\n constructor(\r\n private scfService: ScfV2Service,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n }\r\n\r\n\r\n initializeForm() { }\r\n\r\n refresh() {\r\n this.setDisabled();\r\n this.getValues();\r\n }\r\n\r\n setDisabled() {\r\n this.disabled =\r\n (this.scfMaster?.status !== FormStatusEnum.Active &&\r\n this.scfMaster?.status !== FormStatusEnum.HoldPoint &&\r\n this.scfMaster?.status !== FormStatusEnum.AwaitingInspection) ||\r\n !this.getCurrentUser();\r\n }\r\n\r\n getValues() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n if (this.scfMaster) {\r\n this.wfSignCount = this.wfSignatures?.filter((x) => x.signed).length;\r\n this.createSignatures();\r\n }\r\n }\r\n\r\n hasHoldPointTasks() {\r\n return this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 3)?.wfStepLocals?.some((x) => x.code == \"HOLDPOINT\");\r\n }\r\n\r\n hasNoWorkTasks() {\r\n return this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 3)?.wfStepLocals?.some((x) => x.code == \"NO_WORK\");\r\n }\r\n\r\n createSignatures() {\r\n this.wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 3)?.wfSignatures?.filter((x) => x.wfTaskLocal.wfStepLocal?.code !== \"HOLDPOINT\" && x.wfTaskLocal.wfStepLocal?.code !== \"NO_WORK\");\r\n if (this.wfSignatures) {\r\n for (const t of this.wfSignatures) {\r\n const signature: WfSignature = {\r\n id: t.id,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n name: t.titleBefore,\r\n roles: t.roles.map((r) => r?.id),\r\n roleCodes: t.roles.sort((a, b) => utils.sort(a?.code, b?.code)).map((r) => r?.code).join(\"/\"),\r\n disabled: !t.enabled || this.disabled || t.disabled,\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: this.scfMaster?.status != FormStatusEnum.HoldPoint && ((t.approveEnabled && t.code != \"SHIELDINGINSPECTED2\") ||\r\n (t.approveEnabled &&\r\n t.approveID > 0 &&\r\n t.code == \"SHIELDINGINSPECTED2\" &&\r\n this.scfMaster?.status == FormStatusEnum.AwaitingInspection && this.hasRoles(t.roles))),\r\n unapprove: (t.unapproveEnabled && t.code != 'WORKCOMPLETE') || (t.unapproveEnabled && t.code == 'WORKCOMPLETE' && this.signCount() == 1),\r\n disapprove:\r\n t.disapproveEnabled ||\r\n (t.code == \"SHIELDINGINSPECTED2\" &&\r\n t.disapproveID != 0 &&\r\n !this.disabled &&\r\n this.scfMaster?.status == FormStatusEnum.AwaitingInspection && this.hasRoles(t.roles)\r\n ),\r\n amendment: t.amendmentEnabled,\r\n required: t.required,\r\n taskId: t.taskID,\r\n value: t.value,\r\n enabled: t.enabled,\r\n warning: false\r\n };\r\n this.wfSignCount = this.signCount();\r\n this.signatures?.push(signature);\r\n }\r\n }\r\n }\r\n\r\n signCount() {\r\n let count = 0;\r\n if (this.wfSignatures) {\r\n this.wfSignatures.map((t) => {\r\n if (t?.signed) {\r\n count++;\r\n }\r\n });\r\n }\r\n return count;\r\n }\r\n\r\n approve(s: WfSignature) {\r\n let status = this.scfMaster?.status;\r\n\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.approveId,\r\n };\r\n\r\n if (this.signCount() + 1 === this.wfSignatures?.length) {\r\n // Active => WorkComplete\r\n status = FormStatusEnum.WorkCompleted;\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage(\"toWorkCompleteWarning\")\r\n ?.description,\r\n icon: \"warn\",\r\n },\r\n });\r\n confirm\r\n .afterClosed()\r\n .toPromise()\r\n .then((data) => {\r\n if (data) {\r\n this.loading.emit(true);\r\n this.scfService\r\n .sign(wfTaskSignature)\r\n .toPromise()\r\n .then((res) => {\r\n if (this.scfMaster?.status !== status) {\r\n this.alert.message(\"formStateChanged\", [\r\n new MessagePlaceholder(\"{serialNo}\", this.scfMaster?.serialNo),\r\n new MessagePlaceholder(\"{status}\", \"Work Completed\"),\r\n ]\r\n );\r\n }\r\n this.loading.emit(false);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n } else {\r\n this.getValues();\r\n }\r\n });\r\n } else {\r\n this.loading.emit(true);\r\n this.scfService\r\n .sign(wfTaskSignature)\r\n .toPromise()\r\n .then((res) => {\r\n this.loading.emit(false);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n\r\n disapprove(s: WfSignature, data: DataButtonSignature) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.disapproveId,\r\n reason: data.text,\r\n };\r\n this.scfService\r\n .sign(wfTaskSignature)\r\n .toPromise()\r\n .then(\r\n (res) => {\r\n this.loading.emit(false);\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n\r\n unapprove(s: WfSignature) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId: s.taskId,\r\n actionId: s.unapproveId,\r\n };\r\n this.scfService\r\n .sign(wfTaskSignature)\r\n .toPromise()\r\n .then(\r\n (res) => {\r\n this.loading.emit(false);\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n );\r\n }\r\n\r\n setLoading(e: any) {\r\n this.loading.emit(e);\r\n }\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n
    \r\n
    Work Complete
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output, SimpleChanges, OnChanges, OnDestroy, Injector } from '@angular/core';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { FormStatusEnum, WorkRequired, OperationalApprovalCode, ComponentType, FormType, OlogNotificationType, Fields } from 'src/app/common/enumerations/enumerations';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { WfSignature, WfSignatureResource, SaveTaskResource, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { SCFMaster, SaveSCFStatusResource } from '../../scf';\r\nimport { SCFPrivileges, SCFStatus, ScfV2Service, SCFWorkRequired } from '../../scf-v2.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\n\r\n@Component({\r\n selector: 'scf-v2-main-s5',\r\n templateUrl: './scf-v2-main-s5.component.html',\r\n styleUrls: ['./scf-v2-main-s5.component.scss']\r\n})\r\nexport class ScfV2MainS5Component extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() disabled? = true;\r\n @Input() privileges?: SCFPrivileges;\r\n @Input() status?: SCFStatus;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n @Output() saved = new EventEmitter();\r\n\r\n disableControls = true;\r\n\r\n signatures?: WfSignature[];\r\n wfSignatures?: WfSignatureResource[];\r\n wfSignCount?: number;\r\n\r\n questionDisabled = false;\r\n\r\n scfMasters?: SCFMaster[];\r\n scfMasters$!: Observable;\r\n scfMastersSubs!: Subscription;\r\n\r\n message?: string;\r\n\r\n componentType = ComponentType;\r\n\r\n constructor(\r\n private scfService: ScfV2Service,\r\n private wf: WorkFlowService,\r\n protected override injector: Injector,\r\n private _olog: OLogService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scfMastersSubs?.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadSCFmasters();\r\n this.initializeForm();\r\n }\r\n\r\n initializeForm() {\r\n\r\n }\r\n\r\n refresh() {\r\n this.setDisabled();\r\n this.getValues();\r\n }\r\n\r\n loadSCFmasters() {\r\n this.scfMasters$ = this.store.select(state => state.SCFMasters.data);\r\n this.scfMastersSubs = this.scfMasters$.subscribe(data => {\r\n this.scfMasters = data;\r\n if (this.scfMaster) {\r\n this.scfMaster = this.scfMasters.find(x => x.id == this.scfMaster?.id);\r\n this.getValues();\r\n }\r\n });\r\n }\r\n\r\n\r\n setDisabled() {\r\n this.disabled =\r\n this.scfMaster?.status != FormStatusEnum.WorkCompleted || this.scfMaster?.status != FormStatusEnum.WorkCompleted ||\r\n !this.getCurrentUser();\r\n }\r\n\r\n getValues() {\r\n this.wfSignatures = [];\r\n this.signatures = [];\r\n this.disabled = this.disabled && (this.scfMaster?.status == FormStatusEnum.Amendment && !this.status?.isViewingAmendment || this.scfMaster?.status != FormStatusEnum.Amendment);\r\n this.message = this.getMessage('OperationApprovalPendingAmendment')?.description;\r\n if (this.scfMaster) {\r\n if (this.status?.isViewingAmendment) {\r\n const scfAmendment = this.scfMaster?.scfAmendments?.find(x => x.active);\r\n this.wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => x.wfTaskLocal.amendmentID == scfAmendment?.id).sort((a, b) => (a.order ?? 0) - (b.order ?? 0));\r\n const wfSignaturesOriginal = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => x.wfTaskLocal.amendmentID == null).sort((a, b) => (a.order ?? 0) - (b.order ?? 0));\r\n this.wfSignatures?.map(s => {\r\n s.followUpChanged = wfSignaturesOriginal?.find(x => x.code == s.code)?.followUpChanged;\r\n s.lastFollowUpChanged = wfSignaturesOriginal?.find(x => x.code == s.code)?.lastFollowUpChanged;\r\n s.lastFollowUpCheckChanged = wfSignaturesOriginal?.find(x => x.code == s.code)?.lastFollowUpCheckChanged;\r\n s.answerChangedBy = wfSignaturesOriginal?.find(x => x.code == s.code)?.answerChangedBy;\r\n s.answerChangedById = wfSignaturesOriginal?.find(x => x.code == s.code)?.answerChangedById;\r\n });\r\n }\r\n else {\r\n this.wfSignatures = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => x.wfTaskLocal.amendmentID == null).sort((a, b) => (a.order ?? 0) - (b.order ?? 0));\r\n }\r\n this.createSignatures();\r\n }\r\n }\r\n\r\n createSignatures() {\r\n this.wfSignCount = this.wfSignatures?.filter(x => x.signed).length;\r\n if (this.wfSignatures) {\r\n for (const t of this.wfSignatures) {\r\n const signature: WfSignature = {\r\n id: t.id,\r\n code: t.code,\r\n approveId: t.approveID,\r\n unapproveId: t.unapproveID,\r\n disapproveId: t.disapproveID,\r\n amendmentId: t.amendmentID,\r\n amendmentNumber: t.amendmentNumber,\r\n name: t.titleBefore,\r\n roles: t.roles.map(r => r?.id),\r\n roleCodes: t.roles.sort((r1, r2) => this.utils.sort(r1.code, r2.code)).map(r => r?.code).join('/'),\r\n disabled: !t.enabled || this.disabled || (t.answerChangedById ? true : false) || this.disableClose(t),\r\n approvedBy: t.signedBy,\r\n approved: t.signed,\r\n approvedOn: t.signedOn,\r\n approve: t.approveEnabled && t.value,\r\n unapprove: t.unapproveEnabled,\r\n disapprove: t.disapproveEnabled,\r\n amendment: t.amendmentEnabled,\r\n required: t.value,\r\n taskId: t.taskID,\r\n value: t.value,\r\n enabled: t.enabled,\r\n type: (t.type == 9 || (t.titleBefore != 'SCF Complete' && t.titleBefore != 'Final Radiation Survey Complete')) ? 3 : (t.type == 0 || t.titleBefore == 'SCF Complete') ? 23 : t.type, // Older forms have different type values\r\n textValue: t.text,\r\n configuration: t.configuration,\r\n question: t.question,\r\n privilegeToApproveAnswer: t.privilegeToApproveAnswer,\r\n answerChangedBy: t.answerChangedBy,\r\n answerChangedById: t.answerChangedById,\r\n followUpChanged: t.followUpChanged,\r\n lastFollowUpChanged: t.lastFollowUpChanged,\r\n lastFollowUpCheckChanged: t.lastFollowUpCheckChanged,\r\n pendingChange: t.pendingChange,\r\n pendingChangeObj: t.pendingChangeObj,\r\n wfTaskLocal: t.wfTaskLocal,\r\n status: this.scfMaster?.status\r\n };\r\n\r\n this.signatures?.push(signature);\r\n }\r\n }\r\n }\r\n\r\n disableClose(t: WfSignatureResource) {\r\n let val = false;\r\n if (t.type == ComponentType.CloseButton) {\r\n return this.signatures?.filter(s => s.type != ComponentType.CloseButton).some(s => s.value && !s.approved);\r\n }\r\n return val;\r\n }\r\n\r\n async setChecksFromWorkRequired(workRequired: SCFWorkRequired) {\r\n if (this.signatures && this.scfMaster) {\r\n const saveTasks: SaveTaskResource[] = [];\r\n switch (workRequired.workRequired) {\r\n case WorkRequired.PermanentAccRemoval:\r\n await this.saveSCFMaster();\r\n saveTasks.push({ id: this.signatures.find(x => x.code == OperationalApprovalCode.ACREVREQ)?.id ?? 0, value: workRequired.checked ?? false });\r\n if (!this.scfMaster?.permanentBLRemoval) {\r\n saveTasks.push({ id: this.signatures.find(x => x.code == OperationalApprovalCode.DOCUPREQ)?.id ?? 0, value: workRequired.checked ?? false });\r\n saveTasks.push({ id: this.signatures.find(x => x.code == OperationalApprovalCode.RADSVREQ)?.id ?? 0, value: workRequired.checked ?? false });\r\n }\r\n this.saveTasks(saveTasks);\r\n break;\r\n\r\n case WorkRequired.PermanentBLRemoval:\r\n await this.saveSCFMaster();\r\n saveTasks.push({ id: this.signatures.find(x => x.code == OperationalApprovalCode.BLREVREQ)?.id ?? 0, value: workRequired.checked ?? false });\r\n if (!this.scfMaster?.permanentAccRemoval) {\r\n saveTasks.push({ id: this.signatures.find(x => x.code == OperationalApprovalCode.DOCUPREQ)?.id ?? 0, value: workRequired.checked ?? false });\r\n saveTasks.push({ id: this.signatures.find(x => x.code == OperationalApprovalCode.RADSVREQ)?.id ?? 0, value: workRequired.checked ?? false });\r\n }\r\n this.saveTasks(saveTasks);\r\n break;\r\n\r\n case WorkRequired.TocaMovement:\r\n this.scfMaster.tocaMovement = workRequired.checked ?? false;\r\n await this.saveSCFMaster();\r\n this.loading.emit(false);\r\n break;\r\n\r\n case WorkRequired.AccRFShielding:\r\n this.loading.emit(false);\r\n break;\r\n\r\n case WorkRequired.BlShielding:\r\n this.loading.emit(false);\r\n break;\r\n }\r\n }\r\n }\r\n\r\n sign(taskId?: number, actionId?: number) {\r\n this.loading.emit(true);\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId,\r\n actionId\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.loading.emit(false);\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n //Check any Operational Approval box\r\n async check(e: any, id?: number) {\r\n this.loading.emit(true);\r\n const signature = this.signatures?.find(x => x.id == id);\r\n if (signature && id) {\r\n signature.value = e;\r\n if (this.scfMaster?.status !== FormStatusEnum.Draft && this.scfMaster?.status !== FormStatusEnum.Amendment && this.scfMaster?.status != FormStatusEnum.New) {\r\n const saveTask: SaveTaskResource = {\r\n id,\r\n field: 'AnswerChangedById',\r\n answerChangedById: this.getCurrentUser()?.id\r\n };\r\n this.saveTask(saveTask);\r\n this.getValues();\r\n } else {\r\n const saveTask: SaveTaskResource = {\r\n id,\r\n value: e\r\n };\r\n signature.disabled = false;\r\n this.saveTask(saveTask);\r\n }\r\n }\r\n }\r\n\r\n async saveSCFMaster() {\r\n if (this.scfMaster) {\r\n this.loading.emit(true);\r\n this.setOpenDocument(FormType.SCF, this.scfMaster.id);\r\n this.scfMaster.scfHoldPoints = null;\r\n await this.scfService.update(this.scfMaster).toPromise().then(scfMaster => {\r\n this.scfMaster = scfMaster;\r\n this.getValues();\r\n this.setFormDirty(false);\r\n this.saved.emit(scfMaster);\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n\r\n async saveTask(saveTask: SaveTaskResource) {\r\n this.loading.emit(true);\r\n try {\r\n const data = await this.wf.save(saveTask).toPromise();\r\n const signature = this.signatures?.find(x => x.id == saveTask.id);\r\n if (signature)\r\n signature.value = data.value;\r\n if ((this.scfMaster?.status == FormStatusEnum.Draft || this.scfMaster?.status == FormStatusEnum.Amendment || this.scfMaster?.status == FormStatusEnum.New) && signature) {\r\n signature.disabled = false;\r\n }\r\n this.loading.emit(false);\r\n } catch (error) {\r\n console.log(error);\r\n this.alert.defaultError();\r\n }\r\n }\r\n\r\n async saveTasks(saveTasks: SaveTaskResource[]) {\r\n this.loading.emit(true);\r\n try {\r\n saveTasks.map(s => {\r\n const signature = this.signatures?.find(x => x.id == s.id);\r\n if (signature)\r\n signature.value = s.value;\r\n });\r\n const data = await this.scfService.saveTasks(saveTasks).toPromise().then(() => this.loading.emit(false));\r\n }\r\n catch (error) {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n //Approve or Disapprove pending Operational Approval change\r\n async approve(id?: number, approve: boolean = false) {\r\n if (id) {\r\n this.loading.emit(true);\r\n const signature = this.signatures?.find(x => x.id == id);\r\n if (signature?.type == this.componentType.OperationalApproval) {\r\n await this.wf.approveOpApproval(id, approve).toPromise();\r\n }\r\n else {\r\n if (approve) {\r\n await this.approveAnswer(id, true);\r\n }\r\n else {\r\n await this.disapproveAnswer(id);\r\n }\r\n }\r\n this.loading.emit(false);\r\n this.getValues();\r\n }\r\n }\r\n\r\n async approveAnswer(id?: number, e?: any) {\r\n if (id) {\r\n this.loading.emit(true);\r\n const saveTask: SaveTaskResource = {\r\n id,\r\n field: 'AnswerChangedById',\r\n answerChangedById: null,\r\n value: e\r\n };\r\n await this.saveTask(saveTask);\r\n this.loading.emit(false);\r\n }\r\n }\r\n async disapproveAnswer(id?: number) {\r\n if (id) {\r\n this.loading.emit(true);\r\n const saveTask: SaveTaskResource = {\r\n id,\r\n field: 'AnswerChangedById',\r\n answerChangedById: null\r\n };\r\n await this.saveTask(saveTask);\r\n this.loading.emit(false);\r\n }\r\n }\r\n\r\n async close(taskId?: number, actionId?: number) {\r\n const scfStatusResource = {\r\n id: this.scfMaster?.id,\r\n status: FormStatusEnum.Closed\r\n } as SaveSCFStatusResource;\r\n const response = await this._olog.postToOlog(FormType.SCF, this.scfMaster?.id ?? 0, OlogNotificationType.Closed);\r\n if (response?.ok) {\r\n this.loading.emit(true);\r\n this.scfService.putStatus(scfStatusResource).toPromise().then(async () => {\r\n if (this.scfMaster?.id) {\r\n const wfTaskSignature: WFTaskSignatureResource = {\r\n taskId,\r\n actionId\r\n };\r\n this.scfService.sign(wfTaskSignature).toPromise().then(() => {\r\n this.alert.message('formStateChanged', [new MessagePlaceholder('{serialNo}', this.scfMaster?.serialNo), new MessagePlaceholder('{status}', 'Closed')]);\r\n this.loading.emit(false);\r\n }, error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n closeDisabled(s: WfSignature) {\r\n if (s.type == ComponentType.CloseButton) {\r\n const requiredSignatures = this.signatures?.filter(x => x.type == ComponentType.QuestionSignature && (x.value || x.answerChangedBy));\r\n return requiredSignatures?.filter(x => !x.approved).length != 0;\r\n }\r\n else { return false; }\r\n }\r\n\r\n diffValue(s: WfSignature) {\r\n return s.value != this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals.find(x => x.number == 4)?.wfSignatures?.find(x => x.code == s.code && x.wfTaskLocal.amendmentID == null)?.value;\r\n }\r\n\r\n async textChanged(text: string, wfTaskLocalID?: number) {\r\n if (this.isFormDirty()) {\r\n await this.saveSCFMaster();\r\n this.setFormDirty(false);\r\n }\r\n const saveTask: SaveTaskResource = {\r\n id: wfTaskLocalID ?? 0,\r\n text,\r\n formType: FormType.SCF,\r\n answerChangedById: this.currentUser?.id,\r\n field: Fields.TEXT,\r\n pendingChange: this.scfMaster?.status !== FormStatusEnum.Draft && this.scfMaster?.status !== FormStatusEnum.Amendment && this.scfMaster?.status != FormStatusEnum.New\r\n };\r\n await this.wf.saveOpApproval(saveTask).toPromise();\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    Operational Approval
    \r\n
    \r\n \r\n {{ message }}\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n\r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy, ViewChild, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { SCFPrivileges, SCFStatus } from '../scf-v2.service';\r\nimport { SCFMaster } from '../scf';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ScfV2MainS1Component } from './scf-v2-main-s1/scf-v2-main-s1.component';\r\nimport { ScfV2MainS2Component } from './scf-v2-main-s2/scf-v2-main-s2.component';\r\nimport { ScfV2MainS3Component } from './scf-v2-main-s3/scf-v2-main-s3.component';\r\nimport { ScfV2MainS4Component } from './scf-v2-main-s4/scf-v2-main-s4.component';\r\nimport { ScfV2MainS5Component } from './scf-v2-main-s5/scf-v2-main-s5.component';\r\n@Component({\r\n selector: 'scf-v2-main',\r\n templateUrl: './scf-v2-main.component.html',\r\n styleUrls: ['./scf-v2-main.component.scss']\r\n})\r\nexport class ScfV2MainComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() scfMaster?: SCFMaster | null;\r\n @Input() privileges?: SCFPrivileges;\r\n @Input() status?: SCFStatus;\r\n @Input() disabled?: boolean;\r\n @Input() showAmendment?: boolean;\r\n\r\n @Output() setStatus = new EventEmitter();\r\n @Output() saved = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild(ScfV2MainS1Component) section1!: ScfV2MainS1Component;\r\n @ViewChild(ScfV2MainS2Component) section2?: ScfV2MainS2Component;\r\n @ViewChild(ScfV2MainS3Component) section3?: ScfV2MainS3Component;\r\n @ViewChild(ScfV2MainS4Component) section4?: ScfV2MainS4Component;\r\n @ViewChild(ScfV2MainS5Component) section5?: ScfV2MainS5Component;\r\n\r\n loading1: boolean = false;\r\n loading3: boolean = false;\r\n loading4: boolean = false;\r\n loading5: boolean = false;\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n refresh() {\r\n this.section2?.refresh();\r\n this.section3?.refresh();\r\n this.section4?.refresh();\r\n this.section5?.refresh();\r\n }\r\n\r\n changed(e: SCFMaster | undefined | null = this.scfMaster) {\r\n this.scfMaster = e;\r\n this.refresh();\r\n }\r\n\r\n setLoading(val: boolean, s: number) {\r\n switch (s) {\r\n case 1:\r\n this.loading1 = val;\r\n // this.loading.emit(val);\r\n break;\r\n case 3:\r\n this.loading3 = val;\r\n break;\r\n case 4:\r\n this.loading4 = val;\r\n break;\r\n case 5:\r\n this.loading5 = val;\r\n break;\r\n }\r\n this.loading.emit(this.loading1 || this.loading3 || this.loading4 || this.loading5);\r\n }\r\n\r\n setStatusEvent(status: SCFStatus) {\r\n this.setStatus.emit(status);\r\n }\r\n\r\n savedEvent(e: SCFMaster) {\r\n this.saved.emit(e);\r\n }\r\n\r\n formValid() {\r\n return this.section1?.formValid();\r\n }\r\n\r\n setChecksFromWorkRequired(e: any) {\r\n this.section5?.setChecksFromWorkRequired(e);\r\n }\r\n\r\n setAutoRestriction(e: number) {\r\n this.section2?.locationAdded(e);\r\n }\r\n}\r\n","
    \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Injector, OnInit } from '@angular/core';\r\nimport { Validators, AbstractControl } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { SiteConfiguration } from 'src/app/services/site-configuration/site-configuration';\r\nimport { SiteConfigurationService } from 'src/app/services/site-configuration/site-configuration-service';\r\n\r\n@Component({\r\n selector: 'scf-v2-settings-notifications',\r\n templateUrl: './scf-v2-settings-notifications.component.html',\r\n styleUrls: ['./scf-v2-settings-notifications.component.scss']\r\n})\r\nexport class ScfV2SettingsNotificationsComponent extends BaseComponent implements OnInit {\r\n\r\n loading = false;\r\n siteConfiguration!: SiteConfiguration;\r\n\r\n public get notificationActiveCtrl(): AbstractControl | null { return this.formGroup.get('notificationActiveCtrl'); }\r\n public get notificationEmailsCtrl(): AbstractControl | null { return this.formGroup.get('notificationEmailsCtrl'); }\r\n public get notificationHPEmailsCtrl(): AbstractControl | null { return this.formGroup.get('notificationHPEmailsCtrl'); }\r\n public get notificationRPEmailsCtrl(): AbstractControl | null { return this.formGroup.get('notificationRPEmailsCtrl'); }\r\n\r\n constructor(\r\n public siteConfService: SiteConfigurationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildform();\r\n this.loadSiteConfiguration();\r\n }\r\n\r\n buildform() {\r\n this.formGroup = this.formBuilder.group({\r\n notificationActiveCtrl: [null, Validators.required],\r\n notificationEmailsCtrl: [null, Validators.pattern(/^([\\w+-.%]+@[\\w-.]+\\.[A-Za-z]{2,4}(,\\s)?)+$/)],\r\n notificationHPEmailsCtrl: [null, Validators.pattern(/^([\\w+-.%]+@[\\w-.]+\\.[A-Za-z]{2,4}(,\\s)?)+$/)],\r\n notificationRPEmailsCtrl: [null, Validators.pattern(/^([\\w+-.%]+@[\\w-.]+\\.[A-Za-z]{2,4}(,\\s)?)+$/)],\r\n });\r\n }\r\n\r\n loadSiteConfiguration() {\r\n this.loading = true;\r\n this.siteConfService.getFirst().toPromise().then(data => {\r\n if (data) {\r\n this.siteConfiguration = data;\r\n this.loading = false;\r\n this.notificationActiveCtrl?.setValue(this.siteConfiguration.isEmailSCFActive);\r\n this.notificationEmailsCtrl?.setValue(this.siteConfiguration.scfNotificationEmails);\r\n this.notificationHPEmailsCtrl?.setValue(this.siteConfiguration.scfhpNotificationEmails);\r\n this.notificationRPEmailsCtrl?.setValue(this.siteConfiguration.scfrpNotificationEmails);\r\n this.checkDisabled();\r\n }\r\n });\r\n }\r\n\r\n checkDisabled() {\r\n if (this.siteConfiguration.isEmailSCFActive) {\r\n this.notificationEmailsCtrl?.enable();\r\n }\r\n else {\r\n this.notificationEmailsCtrl?.disable();\r\n }\r\n }\r\n\r\n override getErrorMsg(control: AbstractControl | null): string | null {\r\n if (control)\r\n if (control.hasError('pattern')) { return 'Invalid email Addresses'; }\r\n return null;\r\n }\r\n\r\n activeToggleChanged(e: any) {\r\n this.siteConfiguration.isEmailSCFActive = e.checked;\r\n this.checkDisabled();\r\n this.save();\r\n }\r\n\r\n emailsChanged(type: number, e: any) {\r\n switch (type) {\r\n case 0:\r\n this.siteConfiguration.scfNotificationEmails = e.target.value;\r\n break;\r\n case 1:\r\n this.siteConfiguration.scfhpNotificationEmails = e.target.value;\r\n break;\r\n case 2:\r\n this.siteConfiguration.scfrpNotificationEmails = e.target.value;\r\n break;\r\n }\r\n\r\n if (this.formGroup.valid) {\r\n this.save();\r\n }\r\n }\r\n\r\n getHint(type: number) {\r\n switch (type) {\r\n case 0:\r\n return this.getMessage('SCFEmailNotificationslAll').description;\r\n break;\r\n case 1:\r\n return this.getMessage('SCFEmailNotificationslHP').description;\r\n break;\r\n case 2:\r\n return this.getMessage('SCFEmailNotificationslRP').description;\r\n break;\r\n }\r\n return '';\r\n }\r\n\r\n save() {\r\n this.siteConfService.update(this.siteConfiguration).toPromise().then(() => {\r\n this.alert.success('Configuration Saved!');\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n SCF Notifications Active\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Email List for HP Notifications\r\n \r\n \r\n {{\r\n getErrorMsg(notificationHPEmailsCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Email List for RP Notifications\r\n \r\n \r\n {{\r\n getErrorMsg(notificationRPEmailsCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Email List for All Notifications\r\n \r\n \r\n {{\r\n getErrorMsg(notificationEmailsCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, OnDestroy, Output, EventEmitter } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { Privilege, RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { PrivilegeService } from 'src/app/services/role-privilege/privilege.service';\r\nimport { RolePrivilegeService } from 'src/app/services/role-privilege/role-privilege.service';\r\n\r\n@Component({\r\n selector: 'scf-v2-settings-permissions',\r\n templateUrl: './scf-v2-settings-permissions.component.html',\r\n styleUrls: ['./scf-v2-settings-permissions.component.scss']\r\n})\r\nexport class ScfV2SettingsPermissionsComponent implements OnInit, OnDestroy {\r\n @Output() isloading = new EventEmitter();\r\n\r\n privileges?: Privilege[];\r\n privilegesFiltered?: Privilege[];\r\n privileges$!: Observable;\r\n privilegesSubs!: Subscription;\r\n\r\n privGroups?: PrivilegeGroup[];\r\n\r\n rolePrivileges!: RolePrivilege[];\r\n rolePrivileges$!: Observable;\r\n rolePrivilegesSubs!: Subscription;\r\n\r\n roles!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n rolesFiltered!: Role[];\r\n\r\n roleTemp!: string;\r\n\r\n constructor(\r\n private store: Store,\r\n private service: RolePrivilegeService\r\n ) { }\r\n\r\n ngOnDestroy(): void {\r\n this.rolePrivilegesSubs?.unsubscribe();\r\n this.rolesSubs?.unsubscribe();\r\n\r\n }\r\n\r\n async ngOnInit(): Promise {\r\n this.loadRolePrivileges();\r\n this.loadRoles();\r\n }\r\n\r\n loadPrivileges() {\r\n this.isloading.emit(true);\r\n this.privileges$ = this.store.select(state => state.Privileges.data);\r\n this.privilegesSubs = this.privileges$.subscribe(data => {\r\n if (data?.length) {\r\n this.privileges = data;\r\n this.privilegesFiltered = this.privileges?.filter(p => p.privilegeCategoryID == FormType.SCF).sort((a, b) => utils.sort(a.code ?? '', b.code ?? '', true));\r\n this.privilegesFiltered.map(p => p.roles = this.getRolePrivileges(p.privilegeEnum));\r\n this.privGroups = [];\r\n this.privilegesFiltered?.map(p => {\r\n if (p.code && !this.privGroups?.map(p => p.name).includes(p.code))\r\n this.privGroups?.push({ name: p.code, privileges: this.privilegesFiltered?.filter(f => f.code == p.code) });\r\n });\r\n this.isloading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n loadRolePrivileges() {\r\n this.rolePrivileges$ = this.store.select(state => state.RolePrivileges.data);\r\n this.rolePrivilegesSubs = this.rolePrivileges$.subscribe(data => {\r\n this.rolePrivileges = data;\r\n this.loadPrivileges();\r\n });\r\n }\r\n\r\n loadRoles() {\r\n this.isloading.emit(true);\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n this.isloading.emit(false);\r\n });\r\n }\r\n\r\n getRolePrivileges(privilegeEnum: PrivilegeEnum) {\r\n return this.rolePrivileges.filter(r => r.privilege == privilegeEnum).map(p => p.role) as Role[];\r\n }\r\n\r\n filterRoles(privilege: Privilege) {\r\n const rolePrivileges = this.rolePrivileges.filter(x => x.privilege == privilege.privilegeEnum);\r\n const roles = this.roles?.filter(x => x.id ? !rolePrivileges.map(r => r.roleID).includes(x.id) : false);\r\n this.rolesFiltered = roles;\r\n }\r\n\r\n roleChanged(e: any, privilege: Privilege) {\r\n const value = e.target.value;\r\n this.filterRoles(privilege);\r\n this.rolesFiltered = this.rolesFiltered.filter(x => x.name?.toLowerCase().includes(value.toLowerCase()) || x.code?.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n\r\n selectedRole(role: Role, privilege: Privilege) {\r\n if (this.rolePrivileges == null) { this.rolePrivileges = []; }\r\n const rolePrivilege = {\r\n id: 0,\r\n roleID: role.id,\r\n role: this.roles.find(x => x.id == role.id),\r\n privilege: privilege.privilegeEnum,\r\n } as RolePrivilege;\r\n this.service.createRolePrivilege(rolePrivilege).toPromise().then(data => {\r\n });\r\n }\r\n\r\n deleteRole(role: Role, privilege: Privilege) {\r\n const rolePrivilege = this.rolePrivileges.find(p => p.privilege == privilege.privilegeEnum && p.roleID == role.id);\r\n if (rolePrivilege?.id)\r\n this.service.deleteRolePrivilege(rolePrivilege.id).toPromise().then(() => {\r\n });\r\n }\r\n\r\n}\r\n\r\n\r\nclass PrivilegeGroup {\r\n name?: string;\r\n privileges?: Privilege[];\r\n}\r\n","
    \r\n
    \r\n
    \r\n {{ group.name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { WFMasterResource, WFTaskConfig, WFStepConfig, WFActionConfig, WFRoleConfig, WFSectionConfig } from '../../../workflow/workflow';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { Tooltip } from 'src/app/common/tooltip';\r\nimport { ClEditorComponent } from 'src/app/controls/checklist-components/cl-editor/cl-editor.component';\r\n\r\n@Component({\r\n selector: 'scf-v2-settings-signatures',\r\n templateUrl: './scf-v2-settings-signatures.component.html',\r\n styleUrls: ['./scf-v2-settings-signatures.component.scss']\r\n})\r\nexport class ScfV2SettingsSignaturesComponent implements OnInit {\r\n\r\n @Output() isLoading = new EventEmitter();\r\n\r\n sections: any[] = [\r\n { id: 2, name: 'Work Authorizations', orientation: 'horizontal' },\r\n { id: 3, name: 'Work Complete', orientation: 'horizontal' },\r\n { id: 4, name: 'Operational Approval', orientation: 'vertical' },\r\n { id: 6, name: 'Amendments', orientation: 'horizontal' }\r\n ];\r\n\r\n workflow?: WFMasterResource[];\r\n\r\n constructor(\r\n private _workflow: WorkFlowService,\r\n private dialog: MatDialog\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadWFConfiguration();\r\n }\r\n\r\n loadWFConfiguration() {\r\n this.isLoading.emit(true);\r\n this._workflow.getWFSectionsByForm(FormType.SCF).toPromise().then(data => {\r\n this.workflow = data;\r\n this.isLoading.emit(false);\r\n });\r\n }\r\n\r\n getSteps(id: number) {\r\n const section = this.workflow?.find(x => x.identificator == id);\r\n return section?.steps;\r\n }\r\n\r\n getTasks(step: WFStepConfig) {\r\n return step.taskConfigs.sort((a, b) => (a.order ?? 0) - (b.order ?? 0));\r\n }\r\n\r\n getRoleIds(task: WFTaskConfig) {\r\n return task.wfRoleConfigs?.map(r => r.roleID);\r\n }\r\n\r\n getRoleCodes(task: WFTaskConfig) {\r\n return task.wfRoleConfigs?.map(r => r.roleCode).join('/');\r\n }\r\n\r\n getAction(action: number, task: WFTaskConfig) {\r\n return task.wfActionConfigs?.some(x => x.action == action);\r\n }\r\n\r\n edit(task: WFTaskConfig) {\r\n const s = new WfSignature();\r\n s.id = task.id;\r\n s.name = task.name;\r\n s.question = task.name2;\r\n s.question2 = task.name3;\r\n s.question3 = task.name4;\r\n const options: any[] = task.options ? JSON.parse(task.options) : [];\r\n s.options = options;\r\n s.condition = task.condition;\r\n s.type = task.type;\r\n s.visible = true;\r\n s.required = true;\r\n s.code = task.code;\r\n s.enabled = true;\r\n s.configuration = task.configuration;\r\n s.approve = task.wfActionConfigs?.find(x => x.action == 1) ? true : false;\r\n s.unapprove = task.wfActionConfigs?.find(x => x.action == 3) ? true : false;\r\n s.disapprove = task.wfActionConfigs?.find(x => x.action == 2) ? true : false;\r\n s.approveId = task.wfActionConfigs?.find(x => x.action == 1)?.id;\r\n s.unapproveId = task.wfActionConfigs?.find(x => x.action == 3)?.id;\r\n s.disapproveId = task.wfActionConfigs?.find(x => x.action == 2)?.id;\r\n s.roles = task.wfRoleConfigs?.map(x => x.roleID);\r\n s.roleCodes = task.wfRoleConfigs?.map(x => x.roleCode).join('/');\r\n const editor = this.dialog.open(ClEditorComponent, {\r\n width: '60vw',\r\n disableClose: true,\r\n data: {\r\n s,\r\n roles: task.wfRoleConfigs?.map(x => x.role),\r\n formType: 'WF',\r\n serialNo: 'NoSerial'\r\n },\r\n autoFocus: false\r\n });\r\n editor.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.save(task, data.s).then(() => {\r\n this.saveRoles(task, data.roles, data.originalRoles);\r\n this.loadWFConfiguration();\r\n });\r\n }\r\n });\r\n }\r\n\r\n async save(task: WFTaskConfig, s: WfSignature) {\r\n return new Promise((resolve, reject) => {\r\n const wfTask: WFTaskConfig = {\r\n id: s.id,\r\n name: s.name,\r\n name2: s.question,\r\n name3: s.question2,\r\n name4: s.question3,\r\n enabled: s.enabled,\r\n required: s.required,\r\n condition: s.condition,\r\n options: JSON.stringify(s.options),\r\n type: s.type,\r\n code: s.code,\r\n configuration: s.configuration,\r\n wfStepConfigID: task.wfStepConfigID,\r\n }\r\n\r\n if (s.id != 0) {\r\n this._workflow.putWFTask(wfTask).toPromise().then(async data => {\r\n if (data) {\r\n const section = this.workflow?.find(x => x.steps?.some(s => s.taskConfigs?.some(t => t.id == data.id)));\r\n const step = section?.steps.find((s => s.taskConfigs.some(t => t.id == data.id)));\r\n const taskIdx = step?.taskConfigs.findIndex(t => t.id == data.id) ?? -1;\r\n step?.taskConfigs.splice(taskIdx, 1);\r\n step?.taskConfigs.push(data);\r\n this.saveActions(task, s);\r\n resolve(data);\r\n }\r\n });\r\n }\r\n // else {\r\n // wfTask.id = 0;\r\n // this._workflow.postWFTask(wfTask).subscribe(async data => {\r\n // wfTask = data;\r\n // s.taskId = wfTask.id;\r\n // this.saveActions(s);\r\n // this.requestRefresh.emit(this.node);\r\n // this.displayInfo(this.node, data);\r\n // this.loading = false;\r\n // this.editing = false;\r\n // resolve(data);\r\n // });\r\n // }\r\n });\r\n }\r\n\r\n saveActions(task: WFTaskConfig, s: WfSignature) {\r\n if (s.approve && !s.approveId) {\r\n const action: WFActionConfig = {\r\n id: 0,\r\n name: 'Approve',\r\n label: 'Approve',\r\n action: 1,\r\n wfTaskConfigID: task.id\r\n };\r\n this.saveAction(s.approve, action);\r\n }\r\n if (!s.approve && s.approveId) {\r\n this.saveAction(s.approve ?? false, task.wfActionConfigs?.find(x => x.id == s.approveId));\r\n }\r\n\r\n if (s.unapprove && !s.unapproveId) {\r\n const action: WFActionConfig = {\r\n id: 0,\r\n name: 'Unapprove',\r\n label: 'Unapprove',\r\n action: 3,\r\n wfTaskConfigID: task.id\r\n };\r\n this.saveAction(s.approve ?? false, action);\r\n }\r\n if (!s.unapprove && s.unapproveId) {\r\n this.saveAction(s.unapprove ?? false, task.wfActionConfigs?.find(x => x.id == s.unapproveId));\r\n }\r\n\r\n if (s.disapprove && !s.disapproveId) {\r\n const action: WFActionConfig = {\r\n id: 0,\r\n name: 'Dispprove',\r\n label: 'Dispprove',\r\n action: 2,\r\n wfTaskConfigID: task.id\r\n };\r\n this.saveAction(s.disapprove, action);\r\n }\r\n if (!s.disapprove && s.disapproveId) {\r\n this.saveAction(s.disapprove ?? false, task.wfActionConfigs?.find(x => x.id == s.disapproveId));\r\n }\r\n }\r\n\r\n saveAction(checked: boolean, action: any) {\r\n\r\n const id = action.id ? action.id : 0;\r\n let wfAction: WFActionConfig;\r\n\r\n wfAction = {\r\n id,\r\n name: action.name ? action.name : action.key,\r\n label: action.label ? action.label : action.key,\r\n action: action.action,\r\n wfTaskConfigID: action.wfTaskConfigID,\r\n wfNextStepConfigID: action.next\r\n };\r\n\r\n if (checked) {\r\n if (id == 0) {\r\n // Post\r\n this._workflow.postWFAction(wfAction).subscribe(data => {\r\n });\r\n }\r\n else {\r\n // Put\r\n this._workflow.putWFAction(wfAction).subscribe(data => {\r\n });\r\n }\r\n }\r\n else {\r\n // Delete\r\n this._workflow.delWFAction(wfAction).subscribe(() => {\r\n });\r\n }\r\n }\r\n\r\n saveRoles(task: WFTaskConfig, roles: Role[], roleConfigs: Role[]) {\r\n return new Promise((resolve, reject) => {\r\n roles.map(r => {\r\n if (!roleConfigs.map(x => x.id).includes(r.id)) {\r\n const wfRoleConfig: WFRoleConfig = {\r\n id: 0,\r\n roleID: r.id ?? 0,\r\n wfTaskConfigID: task.id ?? 0\r\n };\r\n this._workflow.postWFRole(wfRoleConfig).subscribe(data => { this.loadWFConfiguration(); });\r\n }\r\n });\r\n\r\n roleConfigs.map(r => {\r\n if (!roles.map(x => x.id).includes(r.id)) {\r\n const wfRoleConfig = task.wfRoleConfigs?.find(x => x.roleID == r.id);\r\n if (wfRoleConfig)\r\n this._workflow.delWFRole(wfRoleConfig).subscribe(data => { this.loadWFConfiguration(); });\r\n }\r\n });\r\n });\r\n }\r\n\r\n drop(event: CdkDragDrop, section: WFSectionConfig, step: WFStepConfig) {\r\n if (event.previousContainer === event.container) {\r\n moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);\r\n event.container.data.map((x, i) => {\r\n x.order = i;\r\n });\r\n this.saveTasks(event.container.data);\r\n } else {\r\n transferArrayItem(\r\n event.previousContainer.data,\r\n event.container.data,\r\n event.previousIndex,\r\n event.currentIndex,\r\n );\r\n event.item.data.wfStepConfigID = event.container.id.replace('draglist-', '');\r\n event.container.data.map((x, i) => {\r\n x.order = i;\r\n });\r\n this.saveTasks(event.previousContainer.data.concat(event.container.data));\r\n }\r\n }\r\n\r\n getConnectedTo(section: WFSectionConfig, step: WFStepConfig) {\r\n return this.workflow?.find(x => x.id == section.id)?.steps.filter(s => s.id != step.id).map(s => 'draglist-' + s.id) ?? '';\r\n }\r\n\r\n saveTasks(wfTaskConfigs: WFTaskConfig[]) {\r\n this._workflow.putWFTasks(wfTaskConfigs).toPromise().then(() => { this.loadWFConfiguration(); });\r\n }\r\n\r\n getTooltips(task: WFTaskConfig) {\r\n const tooltips = [] as Tooltip[];\r\n task.wfActionConfigs?.map(x => {\r\n const section = this.workflow?.find(w => w.steps?.some(s => s.id == x.wfNextStepConfigID));\r\n const step = section?.steps.find(s => s.id == x.wfNextStepConfigID);\r\n if (step) {\r\n const tooltip: Tooltip = { action: x.action, content: 'GOTO: ' + step?.name + '' };\r\n tooltips.push(tooltip);\r\n }\r\n });\r\n return tooltips;\r\n }\r\n\r\n calcWidth(step: WFStepConfig) {\r\n const tasks = this.getTasks(step);\r\n if (tasks.length > 3) {\r\n return (80 / tasks.length) + '%';\r\n }\r\n else {\r\n return '30%';\r\n }\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n {{ section.name }}\r\n
    \r\n
    \r\n
    \r\n {{ step.name }}\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n\r\n","import { Component, OnInit, AfterViewInit } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'scf-v2-settings',\r\n templateUrl: './scf-v2-settings.component.html',\r\n styleUrls: ['./scf-v2-settings.component.scss']\r\n})\r\nexport class ScfV2SettingsComponent implements OnInit, AfterViewInit {\r\n\r\n isLoading?: boolean;\r\n\r\n constructor(\r\n public dialog: MatDialogRef,\r\n ) { }\r\n\r\n ngAfterViewInit(): void {\r\n\r\n }\r\n\r\n async ngOnInit(): Promise {\r\n\r\n }\r\n\r\n close() {\r\n this.dialog.close();\r\n }\r\n\r\n setLoading(e: any) {\r\n this.isLoading = e;\r\n }\r\n}\r\n","
    \r\n
    \r\n SCF Settings\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, OnInit, Output, QueryList, ViewChildren, ViewContainerRef, OnDestroy, Input, OnChanges, SimpleChanges, Injector, ViewChild, AfterViewInit } from '@angular/core';\r\nimport { MatRow, MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ScfV2Service } from '../scf-v2.service';\r\nimport { SCFMastersUpdate } from '../store/scf-master/scf-masters.action';\r\nimport { FormStatusEnum, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { SCFMaster } from '../scf';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MatSort } from '@angular/material/sort';\r\n\r\n@Component({\r\n selector: 'scf-v2-side',\r\n templateUrl: './scf-v2-side.component.html',\r\n styleUrls: ['./scf-v2-side.component.scss']\r\n})\r\nexport class ScfV2SideComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @Input() filter?: string | null;\r\n @Output() loading = new EventEmitter();\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows?: QueryList;\r\n @ViewChildren('matrow') datarows?: QueryList;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n displayedColumns: string[] = [\r\n 'serialNo',\r\n 'locationNames',\r\n 'statusName',\r\n ];\r\n\r\n dataSource = new MatTableDataSource();\r\n\r\n scfMasters: SCFMaster[] = [];\r\n scfMasters$!: Observable;\r\n scfMastersSubs: Subscription = new Subscription;\r\n scfMaster?: SCFMaster | null;\r\n\r\n serialNo!: string;\r\n selectedRowIndex? = -1;\r\n selectedIndex = -1;\r\n showClosed = false;\r\n\r\n allowNew = false;\r\n disabled = false;\r\n maxHeight!: string;\r\n\r\n constructor(\r\n private service: ScfV2Service,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter']) {\r\n this.applyFilter();\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scfMastersSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadSCFs();\r\n }\r\n\r\n loadSCFs() {\r\n this.loading.emit(true);\r\n this.scfMasters$ = this.store.select(state => state.SCFMasters.data);\r\n this.scfMastersSubs = this.scfMasters$.subscribe(async data => {\r\n if (data?.length > 0) {\r\n this.scfMasters = data.filter(x => x.serialNo !== '');\r\n this.createDataSource();\r\n\r\n const openDocument = await this.checkOpenDocument(FormType.SCF, data);\r\n if (openDocument) {\r\n this.loading.emit(true);\r\n this.showClosed = openDocument.closed;\r\n this.getValues(openDocument.document);\r\n }\r\n else this.loading.emit(false);\r\n }\r\n });\r\n }\r\n\r\n createDataSource() {\r\n this.dataSource = new MatTableDataSource(this.scfMasters?.filter(x => ((x.status !== FormStatusEnum.Canceled && x.status !== FormStatusEnum.Closed) && !this.showClosed) || this.showClosed).sort((a, b) => utils.sort(a.serialNo, b.serialNo, false)));\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n rowUnselected() {\r\n this.scfMaster = null;\r\n this.selectedRowIndex = -1;\r\n this.rowSelected.emit(null);\r\n }\r\n\r\n async rowClicked(row: SCFMaster) {\r\n if (await this.canDeactivate()) {\r\n if (this.scfMaster?.id == row.id) {\r\n this.rowUnselected();\r\n this.loading.emit(false);\r\n }\r\n else {\r\n this.getValues(row);\r\n }\r\n }\r\n }\r\n\r\n async getValues(row: SCFMaster) {\r\n this.loading.emit(true);\r\n this.selectedIndex = this.dataSource.data.findIndex(x => x.id === row.id);\r\n if (row?.id) {\r\n this.setOpenDocument(FormType.SCF, row.id);\r\n if (!row.wfTable || row.retrievedBy != this.currentUser?.id) {\r\n this.scfMaster = await this.getSCFMasterByID(row.id);\r\n if (this.scfMaster && this.scfMaster?.id)\r\n this.store.dispatch(new SCFMastersUpdate(this.scfMaster?.id, this.scfMaster));\r\n }\r\n else this.scfMaster = row;\r\n if (this.scfMaster && this.scfMaster?.id) {\r\n this.selectedRowIndex = this.scfMaster?.id;\r\n this.rowSelected.emit(this.scfMaster);\r\n this.loading.emit(false);\r\n this.showElement(this.selectedIndex, 7);\r\n }\r\n\r\n }\r\n }\r\n\r\n getSCFMasterByID(id: number): Promise {\r\n return new Promise((resolve, reject) => {\r\n this.service?.getById(id).toPromise().then(scfMaster => {\r\n if (scfMaster) {\r\n scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n resolve(scfMaster);\r\n }\r\n });\r\n });\r\n }\r\n\r\n showDocument(e: SCFMaster) {\r\n this.getValues(e);\r\n }\r\n\r\n //#endregion LOAD\r\n\r\n //#region ADD\r\n\r\n // createSCF() {\r\n // this.selectedRowIndex = -1;\r\n // this.serialNo = '{Serial No}';\r\n // const scf = {\r\n // id: 0,\r\n // serialNo: this.serialNo,\r\n // type: FormType.SCF,\r\n // status: 1,\r\n // locations: [],\r\n // statusName: 'New',\r\n // scfRestrictionsV2: [],\r\n // wasRouted: false,\r\n // editingBy: this.currentUser,\r\n // editingById: this.currentUser?.id\r\n // } as SCFMaster;\r\n // this.rowSelected.emit(scf);\r\n // }\r\n\r\n // unselect() {\r\n // this.createSCF();\r\n // }\r\n\r\n //#endregion\r\n\r\n //#region FILTERS\r\n\r\n applyFilter() {\r\n this.createDataSource();\r\n this.dataSource.filter = this.filter?.trim().toLowerCase() ?? '';\r\n }\r\n\r\n changeClosed() {\r\n this.applyFilter();\r\n }\r\n\r\n async refresh() {\r\n\r\n }\r\n\r\n //#endregion\r\n\r\n // #region TableScroll\r\n showElement(index: number, height: number) {\r\n const indexstr = index.toString();\r\n const row = this.rows?.find(\r\n (r) => r.element.nativeElement.getAttribute('position') === indexstr\r\n );\r\n if (row) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if (rect.y <= 0 || rect.y + rect.height > height) {\r\n row.element.nativeElement.scrollIntoView(false, {\r\n behavior: 'instant',\r\n });\r\n }\r\n return;\r\n }\r\n console.log('not found');\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex((r) => {\r\n return r.id === row.id;\r\n });\r\n return i;\r\n }\r\n\r\n formatLocationNames(locationNames: string) {\r\n if (locationNames) {\r\n return utils.replaceAll(locationNames, ',', ', ');\r\n }\r\n return '';\r\n }\r\n\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n Show Closed/Canceled\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Serial No.\r\n \r\n \r\n edit\r\n \r\n \r\n\r\n \r\n \r\n Affected Systems\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { SCFPrivileges, SCFStatus, ScfV2Service } from \"./scf-v2.service\";\r\nimport { Component, ElementRef, HostListener, OnInit, ViewChild, OnDestroy, OnChanges, SimpleChanges, AfterViewInit, Injector, } from \"@angular/core\";\r\nimport { FormControl } from \"@angular/forms\";\r\nimport { MatSidenav } from \"@angular/material/sidenav\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { ScfV2SideComponent } from \"./scf-v2-side/scf-v2-side.component\";\r\nimport moment from \"moment\";\r\nimport { ScfV2MainComponent } from \"./scf-v2-main/scf-v2-main.component\";\r\nimport { ScfV2SettingsComponent } from \"./scf-v2-settings/scf-v2-settings.component\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { Roles, FormStatusEnum, LoadingOrigin, FormType } from \"src/app/common/enumerations/enumerations\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { FormStatus } from \"src/app/services/forms/form-status\";\r\nimport { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { SCFMaster } from \"./scf\";\r\nimport { MessagePlaceholder } from \"src/app/common/models/placeholder\";\r\nimport { BratoiStoreAndListenersService } from \"../catalogs/bratoi/store/bratoi/bratoi.store\";\r\nimport { RelatedLinkDocumentBase } from \"src/app/common/models/related-link-document-base.model\";\r\n\r\n@Component({\r\n selector: \"scf-v2\",\r\n templateUrl: \"./scf-v2.component.html\",\r\n styleUrls: [\"./scf-v2.component.scss\"],\r\n})\r\nexport class ScfV2Component extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n validRoles = [Roles.FO, Roles.AO, Roles.OT];\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n @ViewChild(ScfV2SideComponent) side!: ScfV2SideComponent;\r\n @ViewChild(ScfV2MainComponent) main!: ScfV2MainComponent;\r\n\r\n disabled: boolean = false;\r\n loading = true;\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n\r\n headerOnTop: boolean = false;\r\n\r\n procedure?: Procedure;\r\n procedures: Procedure[] = [];\r\n procedures$!: Observable;\r\n proceduresSubs: Subscription = new Subscription;\r\n procedureAppendix?: RelatedLinkDocumentBase;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n scfMasterUnchanged?: SCFMaster | null;\r\n scfMaster?: SCFMaster | null;\r\n scfMasters: SCFMaster[] = [];\r\n scfMasters$!: Observable;\r\n scfMastersSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n privileges: SCFPrivileges = new SCFPrivileges();\r\n public status: SCFStatus = new SCFStatus();\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n public scfService: ScfV2Service,\r\n private bratoiStore: BratoiStoreAndListenersService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.bratoiStore.initListeners();\r\n this.bratoiStore.initStore();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadSCFs();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadSCFs();\r\n this.checkPrivileges();\r\n this.loadProcedures();\r\n }\r\n\r\n override currentUserUpdated(): void {\r\n this.checkPrivileges();\r\n };\r\n\r\n async loadSCFs() {\r\n this.scfMasters$ = this.store.select((state) => state.SCFMasters.data);\r\n this.scfMastersSubs = this.scfMasters$.subscribe((data) => {\r\n if (data && data.length > 0) {\r\n this.scfMasters = data.filter((x) => x.serialNo !== \"\");\r\n if (this.scfMaster) {\r\n this.scfMaster = this.scfMasters.find(\r\n (x) => x.id == this.scfMaster?.id\r\n );\r\n this.checkPrivileges();\r\n }\r\n }\r\n });\r\n }\r\n\r\n showStatusChangeMessage(scfMaster: SCFMaster) {\r\n this.alert.message(\"formStateChanged\", [\r\n new MessagePlaceholder(\"{serialNo}\", scfMaster.serialNo), new MessagePlaceholder(\"{status}\", scfMaster.statusName ?? 'New'),]);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scfMastersSubs?.unsubscribe();\r\n this.proceduresSubs?.unsubscribe();\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select((state) => state.Procedures.data);\r\n this.proceduresSubs = this.procedures$.subscribe((data) => {\r\n if (data) {\r\n this.procedures = data;\r\n this.procedure = this.procedures?.find(x => x.procedureMasterID == 41);\r\n this.procedureAppendix = this.procedure?.procedureAppendices?.find(x => x.text?.includes(\"Appendix 1a\")\r\n );\r\n }\r\n });\r\n }\r\n\r\n async create() {\r\n if (await this.canDeactivate()) {\r\n this.loading = true;\r\n this.scfService\r\n .getSerialNo()\r\n .toPromise()\r\n .then((data) => {\r\n if (data) {\r\n this.status.isCreating = true;\r\n this.scfMaster = new SCFMaster();\r\n this.scfMaster.name = data.serialNo;\r\n this.scfMaster.serialNo = data.serialNo;\r\n this.scfMaster.status = FormStatusEnum.New;\r\n this.scfMaster.formStatus = new FormStatus();\r\n this.scfMaster.createdBy = this.getCurrentUser()?.id;\r\n this.scfMaster.createdByName = this.getCurrentUser()?.name;\r\n this.scfMaster.relatedDocuments = [];\r\n this.scfMaster.createdOn = new Date();\r\n this.scfMaster.estimatedStartOn = new Date();\r\n this.scfMaster.estimatedEndOn = new Date();\r\n this.createdOn = moment(this.scfMaster?.createdOn).format(\r\n \"MMM-DD-YYYY\"\r\n );\r\n this.scfMaster.editingBy = this.getCurrentUser();\r\n this.side.scfMaster = this.scfMaster;\r\n this.side.selectedRowIndex = -1;\r\n\r\n this.loading = true;\r\n this.scfService\r\n .create(this.scfMaster)\r\n .toPromise()\r\n .then(scfMaster => {\r\n if (scfMaster) {\r\n this.scfMaster = scfMaster;\r\n this.loading = true;\r\n this.disabled = false;\r\n this.checkPrivileges();\r\n this.status.isCreating = true;\r\n this.status.isEditing = true;\r\n if (this.scfMaster) {\r\n this.scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n this.side.selectedRowIndex = this.scfMaster?.id;\r\n }\r\n this.checkButtonsVisible();\r\n this.setOpenDocument(FormType.SCF, this.scfMaster.id);\r\n this.side.getValues(this.scfMaster);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n async edit() {\r\n this.loading = true;\r\n await this.setEditing(true);\r\n this.status.isEditing = true;\r\n if (this.scfMaster)\r\n this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n }\r\n\r\n async editAmendment() {\r\n this.loading = true;\r\n await this.setEditing(true);\r\n this.status.isEditingAmendment = true;\r\n this.status.isViewingAmendment = true;\r\n if (this.scfMaster)\r\n this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n }\r\n\r\n async release() {\r\n if (await this.canDeactivate() && this.scfMaster && this.scfMasterUnchanged) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage(\"SCF_Release_confirmation\")\r\n ?.description, icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n if (this.scfMaster?.status == FormStatusEnum.New) {\r\n this.loading = true;\r\n this.scfService\r\n .cancel(this.scfMaster, \"New Form Canceled\")\r\n .toPromise()\r\n .then(() => {\r\n this.loading = false;\r\n this.scfMaster = null;\r\n });\r\n } else {\r\n this.releaseForm();\r\n }\r\n }\r\n })\r\n };\r\n }\r\n\r\n cleanSCFMaster(scfMaster: SCFMaster) {\r\n let clonedSCFMaster: SCFMaster = new SCFMaster();\r\n if (scfMaster) {\r\n clonedSCFMaster = utils.cloneDeep(scfMaster);\r\n clonedSCFMaster.wfTable = null;\r\n clonedSCFMaster.editingBy = null;\r\n clonedSCFMaster.editingById = null;\r\n clonedSCFMaster.editingUntil = null;\r\n clonedSCFMaster.updatedOn = null;\r\n clonedSCFMaster.updatedBy = null;\r\n }\r\n return clonedSCFMaster;\r\n }\r\n\r\n async releaseForm() {\r\n this.loading = true;\r\n this.status.isEditing = false;\r\n this.status.isEditingAmendment = false;\r\n this.scfMaster = this.scfMasterUnchanged;\r\n await this.setEditing(false);\r\n }\r\n\r\n async setEditing(value: boolean) {\r\n await this.scfService\r\n .setEditing(this.scfMaster?.id ?? 0, value)\r\n .toPromise()\r\n .then(async () => {\r\n await this.loadSCFs();\r\n });\r\n this.disabled = !value;\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n settings() {\r\n const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n });\r\n settings.afterClosed().subscribe(() => {\r\n this.checkPrivileges();\r\n });\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n rowSelected(e: SCFMaster | any) {\r\n if (e.id != this.scfMaster?.id) this.scrollToTop('sidenav-content');\r\n this.scfMaster = e as SCFMaster;\r\n if (\r\n this.scfMasterUnchanged?.status != this.scfMaster?.status &&\r\n this.scfMasterUnchanged?.id == this.scfMaster?.id\r\n ) {\r\n this.showStatusChangeMessage(this.scfMaster);\r\n }\r\n this.scfMasterUnchanged = e ? utils.cloneDeep(e) : null;\r\n this.checkPrivileges();\r\n this.createdOn = moment(this.scfMaster?.createdOn).format(\"MMM-DD-YYYY\");\r\n this.status = new SCFStatus();\r\n if (this.scfMaster?.status == FormStatusEnum.Amendment) {\r\n this.status.isEditingAmendment =\r\n this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id;\r\n this.status.isViewingAmendment = this.privileges.canViewAmendment;\r\n } else if (this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) {\r\n this.status.isEditing = true;\r\n this.status.isViewingAmendment = false;\r\n this.status.isCreating = this.scfMaster.status == FormStatusEnum.New;\r\n } else {\r\n this.status.isViewingAmendment = false;\r\n this.status.isEditing = false;\r\n this.status.isEditingAmendment = false;\r\n }\r\n this.checkDisabled();\r\n this.showAmendmentToggle = (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n this.canSeeAmendment();\r\n this.checkButtonsVisible();\r\n this.setHeights();\r\n\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n checkButtonsVisible() {\r\n this.buttonsVisible =\r\n this.status.isCreating ||\r\n this.status.isEditing ||\r\n this.status.isEditingAmendment ||\r\n this.status.isCreatingAmendment ||\r\n this.status.isViewingAmendment ||\r\n (this.scfMaster?.status == FormStatusEnum.WorkApprovals &&\r\n (this.privileges.canUnsubmit || this.privileges.canCancel)) ||\r\n (this.scfMaster?.status == FormStatusEnum.PendingActivation &&\r\n this.privileges.canCancel) ||\r\n (this.scfMaster?.status == FormStatusEnum.Draft &&\r\n this.privileges.canUnsubmit) ||\r\n (this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n this.privileges.canUnsubmitAmendment)\r\n }\r\n\r\n async changeAmendmentToggle(e: any) {\r\n if (await this.canDeactivate()) {\r\n this.status.isViewingAmendment = e.checked;\r\n this.checkPrivileges();\r\n }\r\n }\r\n\r\n canSeeAmendment(): boolean {\r\n let res = this.hasPrivilege(PrivilegeEnum.SCFSubmit);\r\n if (res) {\r\n return true;\r\n }\r\n res = this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment);\r\n if (res) {\r\n return true;\r\n }\r\n res = this.hasPrivilege(PrivilegeEnum.SCFNewForm);\r\n if (res) {\r\n return true;\r\n }\r\n res = this.hasPrivilege(PrivilegeEnum.EditSCFAmendment);\r\n if (res) {\r\n return true;\r\n }\r\n res = this.hasPrivilege(PrivilegeEnum.ViewSCFAmendment);\r\n if (res) {\r\n return true;\r\n }\r\n res = this.scfMaster?.requesterId == this.getCurrentUser()?.id || this.scfMaster?.scfAmendments?.find(a => a.active)?.requesterId == this.getCurrentUser()?.id;\r\n if (res) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n isRequester() {\r\n return true;\r\n }\r\n\r\n checkDisabled() {\r\n this.disabled = true;\r\n if (!this.getCurrentUser()) {\r\n return;\r\n } else {\r\n this.disabled = !(\r\n this.scfMaster?.status === FormStatusEnum.New ||\r\n this.scfMaster?.status === FormStatusEnum.Draft ||\r\n (this.scfMaster?.status === FormStatusEnum.Amendment &&\r\n this.status.isViewingAmendment)\r\n );\r\n }\r\n }\r\n\r\n checkPrivileges() {\r\n this.checkDisabled();\r\n const user = this.getCurrentUser();\r\n const roles = user?.userRole?.map((x) => x.roleID) ?? [];\r\n const hasAdmin = roles.includes(Roles.SA) || roles.includes(Roles.ADM);\r\n this.privileges = new SCFPrivileges();\r\n this.privileges = {\r\n canCreate: this.hasPrivilege(PrivilegeEnum.SCFNewForm),\r\n canEdit:\r\n (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n this.scfMaster?.status == FormStatusEnum.New) &&\r\n this.hasPrivilege(PrivilegeEnum.SCFNewForm) &&\r\n (!this.scfMaster?.editingBy ||\r\n this.scfMaster?.editingBy?.id == user?.id),\r\n canSubmit:\r\n (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n this.scfMaster?.status == FormStatusEnum.New) &&\r\n this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n canCancel:\r\n (this.scfMaster?.status == this.formStatusEnum.Draft ||\r\n this.scfMaster?.status == FormStatusEnum.New ||\r\n this.scfMaster?.status == FormStatusEnum.WorkApprovals ||\r\n this.scfMaster?.status == FormStatusEnum.PendingActivation) &&\r\n this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n canUnsubmit:\r\n this.scfMaster?.status == this.formStatusEnum.WorkApprovals &&\r\n this.hasPrivilege(PrivilegeEnum.SCFSubmit) &&\r\n this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 2)?.wfSignatures?.filter((x) => x.code != \"SUBMIT\" && x.signed).length ==\r\n 0,\r\n canCreateAmendment:\r\n (this.scfMaster?.status == FormStatusEnum.Active ||\r\n this.scfMaster?.status == FormStatusEnum.HoldPoint) &&\r\n this.hasPrivilege(PrivilegeEnum.RequestAmendment),\r\n canEditAmendment:\r\n this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n this.hasPrivilege(PrivilegeEnum.EditSCFAmendment),\r\n canSubmitAmendment:\r\n this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n canUnsubmitAmendment:\r\n this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment) &&\r\n !this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.filter(x =>\r\n x.amendmentID == this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.amendmentNumber == this.scfMaster?.scfAmendments?.length\r\n )?.amendmentID\r\n )\r\n .some((x) => x.signed),\r\n canCancelAmendment:\r\n (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n canViewAmendment: (this.scfMaster && this.canSeeAmendment()) ?? false,\r\n canAddHoldPoints:\r\n (this.scfMaster &&\r\n this.hasPrivilege(PrivilegeEnum.CreateHoldPoints) &&\r\n (this.scfMaster.status == FormStatusEnum.Amendment)) ?? false,\r\n canAddHoldPointsDraft:\r\n (this.scfMaster &&\r\n this.hasPrivilege(\r\n PrivilegeEnum.CreateHoldPointsDraft\r\n ) &&\r\n this.scfMaster.status == FormStatusEnum.Draft) ?? false,\r\n canDuplicate:\r\n (this.scfMaster &&\r\n this.hasPrivilege(PrivilegeEnum.CopySCF)) ?? false,\r\n canRelease:\r\n ((this.scfMaster &&\r\n this.scfMaster?.editingBy?.id == user?.id) ||\r\n hasAdmin) ?? false,\r\n };\r\n }\r\n\r\n async duplicate() {\r\n if (await this.canDeactivate()) {\r\n const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n width: \"20em\", data: {\r\n message: this.getMessage(\r\n \"Are you sure you want to copy this form\"\r\n ).description, icon: \"warn\", val: false,\r\n },\r\n });\r\n removeRef\r\n .afterClosed()\r\n .toPromise()\r\n .then((result) => {\r\n if (result != null && result) {\r\n const id = this.scfMaster?.id ?? 0;\r\n this.side.rowUnselected();\r\n // this.cdRef.detectChanges();\r\n this.loading = true;\r\n this.scfService\r\n .copySCF(id, false)\r\n .toPromise()\r\n .then(async (scfMaster) => {\r\n this.scfMaster = scfMaster;\r\n // if (this.scfMaster && this.scfMaster?.id) {\r\n // const notification: NotificationMessage = {\r\n // notificationId: NotificationType.CreateSCF,\r\n // documentId: this.scfMaster.id,\r\n // toAddresses: this.utils.JSONstringify({ computed: (await this.scfService.getEmails(this.scfMaster)).join(', ') }),\r\n // locations: this.scfMaster?.locations,\r\n // type: 5,\r\n // serialNo: this.scfMaster.serialNo,\r\n // fromAddress: 'noreply@lbl.gov',\r\n // fromName: 'ASCC Notifications',\r\n // messageSubject:\r\n // }\r\n // this.notificationService.createNotification(notification).toPromise();\r\n // };\r\n if (this.scfMaster)\r\n await this.side.getValues(this.scfMaster);\r\n this.loading = false;\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n this.alert.message(\"defaultErrorMessage\");\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n async requestAmendment() {\r\n if (await this.canDeactivate()) {\r\n const pendingChanges = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => !x.wfTaskLocal.amendmentID)?.filter(x => x.answerChangedBy);\r\n if (!pendingChanges?.length) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage(\"request_amendment\")?.description, icon: \"warn\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.loading = true;\r\n if (this.scfMaster?.id)\r\n this.scfService.requestAmendment(this.scfMaster.id).toPromise().then(() => {\r\n this.status.isCreatingAmendment = true;\r\n this.status.isViewingAmendment = true;\r\n this.loading = false;\r\n }, (error) => {\r\n console.log(error);\r\n this.alert.message(\"defaultErrorMessage\");\r\n }\r\n );\r\n }\r\n });\r\n } else {\r\n this.alert.message(\"OperationApprovalPendingChanges\");\r\n }\r\n }\r\n }\r\n\r\n setStatus(status: SCFStatus | any) {\r\n this.status = status;\r\n }\r\n\r\n savedEvent(e: SCFMaster | null | undefined | any) {\r\n this.scfMaster = e;\r\n this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // this.scfService.currentDoc = this.scfMaster;\r\n this.rowSelected(e);\r\n }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n mainValid(): boolean {\r\n return this.main?.formValid();\r\n }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Shielding Control Forms\r\n
    \r\n \r\n

    \r\n {{ scfMaster?.serialNo }}\r\n

    \r\n \r\n {{ scfMaster.formStatus?.name }}\r\n \r\n
    \r\n
    \r\n \r\n Operator initiating form\r\n \r\n \r\n
    \r\n
    \r\n \r\n Created Date\r\n \r\n \r\n
    \r\n \r\n
    \r\n Show Pending Amendment\r\n
    \r\n
    \r\n Modifying by: {{\r\n scfMaster?.editingBy?.name\r\n }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n Create New\r\n add_box\r\n \r\n \r\n Modify Form\r\n edit\r\n \r\n \r\n Modify Amendment\r\n edit\r\n \r\n \r\n Copy Form\r\n content_copy\r\n \r\n \r\n Create Amendment\r\n healing\r\n \r\n\r\n \r\n Release Form\r\n lock_open\r\n \r\n \r\n Offline Form\r\n picture_as_pdf\r\n \r\n \r\n Request SCF\r\n edit_note\r\n \r\n \r\n Settings\r\n settings\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n 576,\r\n amendment: status.isViewingAmendment\r\n }\"\r\n >\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { ScfV2Component } from './scf-v2.component';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule, FormControl, FormGroupDirective, NgForm } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { ScfV2SideComponent } from './scf-v2-side/scf-v2-side.component';\r\nimport { ScfV2SettingsComponent } from './scf-v2-settings/scf-v2-settings.component';\r\nimport { ScfV2SettingsPermissionsComponent } from './scf-v2-settings/scf-v2-settings-permissions/scf-v2-settings-permissions.component';\r\nimport { ScfV2SettingsSignaturesComponent } from './scf-v2-settings/scf-v2-settings-signatures/scf-v2-settings-signatures.component';\r\nimport { ScfV2SettingsNotificationsComponent } from './scf-v2-settings/scf-v2-settings-notifications/scf-v2-settings-notifications.component';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { ScfV2MainS1Component } from './scf-v2-main/scf-v2-main-s1/scf-v2-main-s1.component';\r\nimport { ScfV2MainComponent } from './scf-v2-main/scf-v2-main.component';\r\nimport { ScfV2MainButtonsComponent } from './scf-v2-main/scf-v2-main-buttons/scf-v2-main-buttons.component';\r\nimport { ScfV2MainS2Component } from './scf-v2-main/scf-v2-main-s2/scf-v2-main-s2.component';\r\nimport { ScfV2MainS3Component } from './scf-v2-main/scf-v2-main-s3/scf-v2-main-s3.component';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { ScfV2MainS4Component } from './scf-v2-main/scf-v2-main-s4/scf-v2-main-s4.component';\r\nimport { ScfV2MainS4NoworkComponent } from './scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-nowork/scf-v2-main-s4-nowork.component';\r\nimport { ScfV2MainS4HoldpointsComponent } from './scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-holdpoints/scf-v2-main-s4-holdpoints.component';\r\nimport { ScfV2MainS4HoldpointsAddComponent } from './scf-v2-main/scf-v2-main-s4/scf-v2-main-s4-holdpoints/scf-v2-main-s4-holdpoints-add/scf-v2-main-s4-holdpoints-add.component';\r\nimport { ScfV2MainS5Component } from './scf-v2-main/scf-v2-main-s5/scf-v2-main-s5.component';\r\nimport { SCFLogComponent } from './scf-v2-main/scf-log/scf-log.component';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { ScfLogSignatureComponent } from './scf-v2-main/scf-log/scf-log-signature/scf-log-signature.component';\r\nimport { RedirectGuard } from 'src/app/common/guards/redirect.guard';\r\n\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\nconst appRoutes: Routes = [\r\n { path: 'scfv2', component: ScfV2Component, canDeactivate: [RedirectGuard] },\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n ScfV2Component,\r\n ScfV2SideComponent,\r\n ScfV2MainComponent,\r\n ScfV2MainButtonsComponent,\r\n ScfV2MainS1Component,\r\n ScfV2MainS2Component,\r\n ScfV2MainS3Component,\r\n ScfV2MainS4Component,\r\n ScfV2MainS5Component,\r\n ScfV2SettingsComponent,\r\n ScfV2SettingsPermissionsComponent,\r\n ScfV2SettingsSignaturesComponent,\r\n ScfV2MainS4HoldpointsComponent,\r\n ScfV2MainS4HoldpointsAddComponent,\r\n ScfV2MainS4NoworkComponent,\r\n ScfV2SettingsNotificationsComponent,\r\n SCFLogComponent,\r\n ScfLogSignatureComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n // MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatToolbarModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n DatePipe,\r\n QuillModule.forRoot(),\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules,\r\n }\r\n ),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class ScfV2Module { }\r\n","import { EventEmitter, Injectable, Injector } from \"@angular/core\";\r\n\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { FormType, NotificationType, Roles, WorkRequired } from \"src/app/common/enumerations/enumerations\";\r\nimport { WFTaskSignatureResource, SaveTaskResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { SCFMaster, SaveSCFStatusResource, SCFHoldPointResource } from \"./scf\";\r\nimport { SiteConfigurationService } from \"src/app/services/site-configuration/site-configuration-service\";\r\nimport { OLogEntry, OLogFormData, OlogDataBaseObject } from \"src/app/components/olog/olog\";\r\nimport { OLogService } from \"src/app/components/olog/olog.service\";\r\nimport { NotificationService } from \"src/app/components/catalogs/notifications/services/notification.service\";\r\nimport { NotificationsToAdress } from \"src/app/components/catalogs/notifications/services/notification.models\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { UserService } from \"../catalogs/user-catalog/services/user.service\";\r\nimport { BaseService } from \"src/app/common/base/base.service\";\r\nimport { ResourcesService } from \"../catalogs/beamline-catalog/resource/resources.service\";\r\n\r\nimport { User } from \"../catalogs/user-catalog/services/user\";\r\n\r\n@Injectable({\r\n providedIn: \"root\",\r\n})\r\nexport class ScfV2Service extends BaseService {\r\n\r\n CheckSelectedSection1: EventEmitter = new EventEmitter();\r\n SCFediting?: number | null = null;\r\n AmendmentSwitch = false;\r\n amendmentsList: number[] = [];\r\n copyDoc: SCFMaster | null = null;\r\n SerialNumber = \"/SerialNumbers/\" + FormType.SCF;\r\n Locations = \"/Locations\";\r\n Api = \"/SCFMasterV2\";\r\n ApiRestrictions = \"/SCFRestriction\";\r\n user?: User;\r\n users: User[] = [];\r\n users$!: Observable;\r\n usersSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private siteConfiguration: SiteConfigurationService,\r\n private resourcesService: ResourcesService,\r\n private ologService: OLogService,\r\n private userService: UserService,\r\n private notificationService: NotificationService,\r\n private siteConfigurationService: SiteConfigurationService,\r\n ) {\r\n super(injector, '/SCFMasterV2');\r\n }\r\n\r\n // Gets the Serial Number of the Form\r\n getSerialNo(): Observable {\r\n const httpresult1 = this.http.get(\r\n this.BASE_URL + this.SerialNumber\r\n );\r\n return httpresult1;\r\n }\r\n\r\n post(scfMaster: SCFMaster) {\r\n return this.http.post(this.BASE_URL + this.Api, scfMaster);\r\n }\r\n\r\n put(scfMaster: SCFMaster) {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/\" + scfMaster.id,\r\n scfMaster\r\n );\r\n }\r\n\r\n cancel(scfMaster: SCFMaster, reason: string) {\r\n return this.http.patch(this.BASE_URL + this.Api + \"/cancel\", {\r\n id: scfMaster.id,\r\n reason,\r\n });\r\n }\r\n\r\n cancelAmendment(scfMaster: SCFMaster, reason: string) {\r\n return this.http.patch(this.BASE_URL + this.Api + \"/cancelAmendment\", {\r\n id: scfMaster.id,\r\n reason,\r\n });\r\n }\r\n\r\n sign(taskSignature: WFTaskSignatureResource): Observable {\r\n const url: string = this.BASE_URL + this.Api + \"/Sign\";\r\n const httpresult = this.http.put(url, taskSignature);\r\n return httpresult;\r\n }\r\n\r\n save(s: SaveTaskResource) {\r\n const httpresult = this.http.put(\r\n this.BASE_URL + this.Api + \"/Save/\" + s.id,\r\n s\r\n );\r\n return httpresult;\r\n }\r\n\r\n saveTasks(saveTasks: SaveTaskResource[]) {\r\n const httpresult = this.http.put(\r\n this.BASE_URL + this.Api + \"/SaveTasks\",\r\n saveTasks\r\n );\r\n return httpresult;\r\n }\r\n\r\n copySCF(id: number, isAmendment: boolean): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api + \"/copy/\" + id + \"/\" + isAmendment,\r\n null\r\n );\r\n }\r\n\r\n putStatus(saveScfStatus: SaveSCFStatusResource) {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/SetStatus/\" + saveScfStatus.id,\r\n saveScfStatus\r\n );\r\n }\r\n\r\n setEditing(id: number, value?: boolean): Observable {\r\n const URL = this.BASE_URL + this.Api + \"/SetEditing/\" + id;\r\n const httpresult2 = this.http.put(URL, { Value: value });\r\n return httpresult2;\r\n }\r\n\r\n // Amendments\r\n requestAmendment(id: number): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/RequestAmendment/\" + id.toString(),\r\n null\r\n );\r\n }\r\n\r\n finishAmendment(id: number): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/FinishAmendment/\" + id.toString(),\r\n null\r\n );\r\n }\r\n\r\n async getEmails(scf: SCFMaster) {\r\n const notifiedRoleIDs: number[] = [];\r\n const emails: string[] = [];\r\n const siteConfig = await this.siteConfiguration.getFirst().toPromise();\r\n // Default\r\n if (\r\n siteConfig?.defaultEmails &&\r\n siteConfig?.defaultEmails.trim().length > 0\r\n ) {\r\n const defaultEmails = siteConfig.defaultEmails?.split(\",\")\r\n .map((x) => x.trim());\r\n defaultEmails?.map((e) => {\r\n utils.pushNoRepeat(emails, e.trim());\r\n });\r\n }\r\n // HP\r\n if (scf.notifyHP) {\r\n const emailsHP = siteConfig?.scfhpNotificationEmails?.split(\",\");\r\n emailsHP?.map((e) => {\r\n utils.pushNoRepeat(emails, e.trim());\r\n });\r\n }\r\n // BLSCI\r\n if (scf.notifyBLSci) {\r\n const notifiedUsers: number[] = [];\r\n scf.locations?.map((loc) => notifiedUsers.push(loc.id ?? 0));\r\n const relUsers = await this.resourcesService\r\n .getResourceUserRelationsById(notifiedUsers)\r\n .toPromise();\r\n relUsers?.map((related) => {\r\n if (\r\n related.roleId == Roles.BLSCI ||\r\n related.roleId === Roles.ALTBLSCI\r\n ) {\r\n if (\r\n related?.user?.emailAddress &&\r\n related?.user.emailAddress.trim() !== \"\"\r\n ) {\r\n utils.pushNoRepeat(emails, related.user.emailAddress);\r\n }\r\n }\r\n });\r\n }\r\n if (scf.notifyBRC) {\r\n notifiedRoleIDs.push(Roles.BRC);\r\n }\r\n if (scf.notifyRF) {\r\n notifiedRoleIDs.push(Roles.RFEng);\r\n }\r\n if (scf.notifySnA) {\r\n notifiedRoleIDs.push(Roles.SnA);\r\n }\r\n if (scf.notifyARC) {\r\n notifiedRoleIDs.push(Roles.ARC);\r\n }\r\n // RP\r\n if (scf.notifyRP) {\r\n const emailsRP = siteConfig?.scfrpNotificationEmails?.split(\",\");\r\n emailsRP?.map((e) => {\r\n utils.pushNoRepeat(emails, e.trim());\r\n });\r\n }\r\n\r\n // By Role\r\n const users = await this.userService\r\n .ReadByRole(notifiedRoleIDs)\r\n .toPromise();\r\n users?.map((e) => {\r\n if (e.emailAddress && e.emailAddress.trim() !== \"\") {\r\n utils.pushNoRepeat(emails, e.emailAddress.trim());\r\n }\r\n });\r\n\r\n // SCF All\r\n if (siteConfig?.scfNotificationEmails?.length) {\r\n const emailsALL = siteConfig.scfNotificationEmails?.split(\",\");\r\n emailsALL?.map((e) => {\r\n utils.pushNoRepeat(emails, e.trim());\r\n });\r\n }\r\n\r\n // Requester\r\n this.users$ = this.store.select((state) => state.Users.data);\r\n this.usersSubs = this.users$.subscribe((data) => {\r\n this.users = data;\r\n this.user = this.users.find((x) => x.id == scf.requesterId);\r\n utils.pushNoRepeat(emails, this.user?.emailAddress?.trim());\r\n });\r\n\r\n return emails;\r\n }\r\n\r\n // Hold Points\r\n createHoldPoint(\r\n holdPoint: SCFHoldPointResource\r\n ): Observable {\r\n return this.http.post(\r\n this.BASE_URL + this.Api + \"/CreateHoldPoint\",\r\n holdPoint\r\n );\r\n }\r\n\r\n updateHoldPoint(\r\n holdPoint: SCFHoldPointResource\r\n ): Observable {\r\n return this.http.put(\r\n this.BASE_URL + this.Api + \"/UpdateHoldPoint\",\r\n holdPoint\r\n );\r\n }\r\n\r\n updateHoldPointNumbers(holdPoints: SCFHoldPointResource[]): Observable {\r\n return this.http.put(this.BASE_URL + this.Api + \"/UpdateHoldPointNumbers\", holdPoints);\r\n }\r\n\r\n deleteHoldPoint(holdPoint: SCFHoldPointResource) {\r\n return this.http.delete(\r\n this.BASE_URL + this.Api + \"/DeleteHoldPoint/\" + holdPoint.id\r\n );\r\n }\r\n\r\n // async postOlog(scfMaster: SCFMaster, message: string): Promise {\r\n // try {\r\n // if (scfMaster?.id) {\r\n // const olog: OlogDataBaseObject | undefined = await this.ologService.getOlogBySN(scfMaster.serialNo).toPromise();\r\n // if (olog) {\r\n // const noti = await this.notificationService.getNotification(NotificationType.CreateSCF, scfMaster.id).toPromise();\r\n // let cc: any[] = [];\r\n // if (noti) {\r\n // const notificationsMails: NotificationsToAdress = JSON.parse(noti.toAddresses);\r\n // Array.prototype.push.apply(cc, notificationsMails.computed);\r\n // Array.prototype.push.apply(cc, notificationsMails.added);\r\n // }\r\n // const body: OLogFormData = JSON.parse(olog.xmlBody.replace('\\n', ''));\r\n // body.subject = olog.serialNo + message;\r\n // body.details = location.origin + '/redirect/' + olog.serialNo;;\r\n // body.extraSubject = null;\r\n // const siteConfig = await this.siteConfigurationService.getById(1).toPromise();\r\n // const siteConfigEmails = siteConfig?.defaultEmails.split(',');\r\n // if (siteConfig && siteConfigEmails) {\r\n // Array.prototype.push.apply(cc, siteConfigEmails);\r\n // const OlogObject: OLogEntry = {\r\n // root: {\r\n // author: siteConfig.ologUser,\r\n // password: siteConfig.ologPassword,\r\n // entry: body\r\n // }\r\n // };\r\n // if (OlogObject.root.entry.cc)\r\n // Array.prototype.push.apply(cc, OlogObject.root.entry.cc); // join all the emails\r\n // cc = cc.map(item => item.toLowerCase()); // change if it is necesary to lowercase (Specialy because Notifications don't make this)\r\n // cc = [...new Set(cc)]; // Remove duplicates\r\n // cc = cc.filter(mail => mail !== '');\r\n // OlogObject.root.entry.cc = cc; // returns the uniques emails\r\n // const xmlBody = await this.ologService.createXMLBody(OlogObject, scfMaster.serialNo); // create the XML String from the body\r\n // const result = await this.ologService.SendOLogEntry(xmlBody, scfMaster.serialNo, olog);\r\n // return result;\r\n // }\r\n // }\r\n // }\r\n // return null;\r\n // } catch (e) {\r\n // this.alert.message('OlogEntryError');\r\n // return false;\r\n // }\r\n // }\r\n}\r\n\r\nclass SerialNumber {\r\n serialNo!: string;\r\n}\r\n\r\nexport class SCFPrivileges {\r\n canCreate!: boolean | null;\r\n canEdit!: boolean | null\r\n canSubmit!: boolean | null\r\n canUnsubmit!: boolean | null\r\n canCancel!: boolean | null\r\n canViewAmendment!: boolean | null\r\n canCreateAmendment!: boolean | null\r\n canEditAmendment!: boolean | null\r\n canSubmitAmendment!: boolean | null\r\n canUnsubmitAmendment!: boolean | null\r\n canCancelAmendment!: boolean | null\r\n canDuplicate!: boolean | null\r\n canRelease!: boolean | null\r\n canAddHoldPoints!: boolean | null\r\n canAddHoldPointsDraft!: boolean | null\r\n}\r\n\r\nexport class SCFStatus {\r\n isCreating!: boolean | null\r\n isEditing!: boolean | null\r\n isViewingAmendment!: boolean | null\r\n isCreatingAmendment!: boolean | null\r\n isEditingAmendment!: boolean | null\r\n}\r\n\r\nexport class SCFWorkRequired {\r\n workRequired?: WorkRequired;\r\n checked!: boolean | null\r\n}\r\n","\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { WfTaskLocalResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { WFTableResource } from \"../workflow/workflow\";\r\nimport { RelatedDocument } from \"src/app/services/documents/documents\";\r\nimport { FormRestriction } from \"src/app/services/forms/form-restriction\";\r\nimport { FormStatus } from \"src/app/services/forms/form-status\";\r\nimport { Location } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\n\r\nexport interface SCFModelBase {\r\n id: number;\r\n name: string;\r\n description: string;\r\n status: number;\r\n type: number | null;\r\n code: string;\r\n createdOn: Date;\r\n createdBy: number;\r\n updatedOn: Date;\r\n updatedBy: number | null;\r\n}\r\nexport class SCFMaster {\r\n id?: number;\r\n name?: string;\r\n serialNo!: string;\r\n relatedLinks?: string;\r\n locationIds?: string;\r\n locationNames?: string;\r\n status!: number;\r\n statusName?: string;\r\n accRFShielding?: boolean;\r\n blShielding?: boolean;\r\n permanentBLRemoval?: boolean;\r\n permanentAccRemoval?: boolean;\r\n tocaMovement?: boolean;\r\n shieldingAffected?: string;\r\n description?: string;\r\n requesterId?: number;\r\n requesterName?: string;\r\n estimatedStartOn?: Date;\r\n estimatedEndOn?: Date;\r\n notifyHP?: boolean;\r\n notifyBLSci?: boolean;\r\n notifyBRC?: boolean;\r\n notifyRF?: boolean;\r\n notifySnA?: boolean;\r\n notifyARC?: boolean;\r\n notifyRP?: boolean;\r\n notificationMessage?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n createdByName?: string;\r\n relatedDocuments?: RelatedDocument[];\r\n locations!: Location[];\r\n submittedBy?: number;\r\n submittedOn?: Date;\r\n wfTableID?: number;\r\n wfTable?: WFTableResource | null;\r\n type?: number = 1;\r\n disapprovalReason?: string;\r\n disapprovedBy?: number;\r\n disapprovedOn?: Date;\r\n activatedBy?: number;\r\n activatedOn?: Date;\r\n scfRestrictionsV2?: FormRestriction[];\r\n shieldingNames?: string;\r\n editingUntil?: Date | null;\r\n editingById?: number | null;\r\n editingBy?: User | null;\r\n wasRouted?: boolean;\r\n newWorkLabel?: boolean;\r\n scfAmendments?: SCFAmendment[];\r\n formStatus?: FormStatus;\r\n updatedOn?: Date | null;\r\n updatedBy?: number | null;\r\n retrievedBy?: number;\r\n scfHoldPoints?: SCFHoldPointResource[] | null;\r\n}\r\n\r\n\r\nexport interface SCFAmendment extends SCFModelBase {\r\n id: number;\r\n scfID: number;\r\n locations?: Location[];\r\n locationIds: string;\r\n relatedLinks: string;\r\n locationNames: string;\r\n accRFShielding: boolean;\r\n blShielding: boolean;\r\n permanentBLRemoval: boolean;\r\n permanentAccRemoval: boolean;\r\n tocaMovement: boolean;\r\n shieldingAffected: string;\r\n requesterId: number;\r\n estimatedStartOn: Date;\r\n estimatedEndOn: Date;\r\n notifyHP: boolean;\r\n notifyBLSci: boolean;\r\n notifyBRC: boolean;\r\n notifyRF: boolean;\r\n notifySnA: boolean;\r\n notifyARC: boolean;\r\n notifyRP: boolean;\r\n notificationMessage: string;\r\n cancelReason: string;\r\n active: boolean;\r\n requester: User;\r\n number: number;\r\n scfRestrictionsV2?: FormRestriction[];\r\n relatedDocuments?: RelatedDocument[];\r\n}\r\nexport class SaveSCFMasterResource {\r\n name!: string;\r\n relatedLinks!: string;\r\n serialNo!: string;\r\n locationIds!: string;\r\n locationNames!: string;\r\n status!: number;\r\n accRFShielding!: boolean;\r\n blShielding!: boolean;\r\n permanentBLRemoval!: boolean;\r\n permanentAccRemoval!: boolean;\r\n tocaMovement!: boolean;\r\n shieldingAffected!: string;\r\n description!: string;\r\n requesterId!: number;\r\n requesterName?: string;\r\n estimatedStartOn!: Date;\r\n estimatedEndOn!: Date;\r\n notifyHP!: boolean;\r\n notifyBLSci!: boolean;\r\n notifyBRC!: boolean;\r\n notifyRF!: boolean;\r\n notifySnA!: boolean;\r\n notifyARC?: boolean;\r\n notifyRP?: boolean;\r\n createdOn!: Date;\r\n createdBy!: number;\r\n relatedDocuments!: RelatedDocument[];\r\n submittedBy?: number;\r\n scfRestrictionsV2!: FormRestriction[];\r\n}\r\n\r\nexport class SaveSCFSection1Resource {\r\n id!: number;\r\n relatedLinks!: string;\r\n name!: string;\r\n serialNo!: string;\r\n locationIds!: string;\r\n locationNames!: string;\r\n status!: number;\r\n accRFShielding!: boolean;\r\n blShielding!: boolean;\r\n permanentBLRemoval!: boolean;\r\n permanentAccRemoval!: boolean;\r\n tocaMovement!: boolean;\r\n shieldingAffected!: string;\r\n description!: string;\r\n requesterId!: number;\r\n requesterName?: string;\r\n estimatedStartOn!: Date;\r\n estimatedEndOn!: Date;\r\n notifyHP!: boolean;\r\n notifyBLSci!: boolean;\r\n notifyBRC!: boolean;\r\n notifyRF!: boolean;\r\n notifySnA!: boolean;\r\n notifyARC?: boolean;\r\n notifyRP?: boolean;\r\n createdOn!: Date;\r\n createdBy!: number;\r\n relatedDocuments!: RelatedDocument[];\r\n submittedBy?: number;\r\n submittedOn?: Date;\r\n scfRestrictionsV2!: FormRestriction[];\r\n}\r\n\r\nexport class SCFSection2Resource {\r\n id?: number;\r\n status!: number;\r\n disapprovalReason!: string;\r\n disapprovedBy?: number;\r\n disapprovedOn?: Date;\r\n activatedBy?: number;\r\n activatedOn?: Date;\r\n}\r\n\r\nexport class SaveSCFStatusResource {\r\n id?: number;\r\n status!: number;\r\n disapprovalReason?: string;\r\n disapprovedBy?: number;\r\n disapprovedOn?: Date;\r\n activatedBy?: number;\r\n activatedOn?: Date;\r\n}\r\n\r\nexport class SCFSection3Resource {\r\n id!: number;\r\n workCompleteBy?: number;\r\n workCompleteOn?: Date;\r\n shieldingInspectedBy?: number;\r\n shieldingInspectedOn?: Date;\r\n shieldingVerifiedOICBy?: number;\r\n shieldingVerifiedOICOn?: Date;\r\n shieldingVerifiedFOBy?: number;\r\n shieldingVerifiedFOOn?: Date;\r\n shieldingVerifiedHPBy?: number;\r\n shieldingVerifiedHPOn?: Date;\r\n tocaPositionVerifiedBy?: number;\r\n tocaPositionVerifiedOn?: Date;\r\n}\r\n\r\nexport class SaveSCFSection3Resource {\r\n id?: number;\r\n status?: number;\r\n}\r\n\r\nexport class SCFSection4Resource {\r\n id?: number;\r\n scfAmended?: boolean;\r\n scfAmendmentsReviewedBy?: number;\r\n scfAmendmentsReviewedOn?: Date;\r\n blReviewRequired?: boolean;\r\n blReviewCompleteBy?: number;\r\n blReviewCompleteOn?: Date;\r\n bpPlugPermRemoved?: boolean;\r\n bL0804CompleteBy?: number;\r\n bL0804CompleteOn?: Date;\r\n docUpdateRequired?: boolean;\r\n docUpdateCompleteBy?: number;\r\n docUpdateCompleteOn?: Date;\r\n radiationSurveyRequired?: boolean;\r\n radiationSurveyCompleteBy?: number;\r\n radiationSurveyCompleteOn?: Date;\r\n rssTestComplete?: boolean;\r\n rssTestCompleteBy?: number;\r\n rssTestCompleteOn?: Date;\r\n scfCompleteBy?: number;\r\n scfCompleteOn?: Date;\r\n}\r\n\r\nexport class SaveSCFSection4Resource {\r\n id!: number;\r\n scfAmended?: boolean;\r\n scfAmendmentsReviewedBy?: number;\r\n scfAmendmentsReviewedOn?: Date;\r\n blReviewRequired?: boolean;\r\n blReviewCompleteBy?: number;\r\n blReviewCompleteOn?: Date;\r\n bpPlugPermRemoved?: boolean;\r\n bl0804CompleteBy?: number;\r\n bl0804CompleteOn?: Date;\r\n docUpdateRequired?: boolean;\r\n docUpdateCompleteBy?: number;\r\n docUpdateCompleteOn?: Date;\r\n radiationSurveyRequired?: boolean;\r\n radiationSurveyCompleteBy?: number;\r\n radiationSurveyCompleteOn?: Date;\r\n rssTestComplete?: boolean;\r\n rssTestCompleteBy?: number;\r\n rssTestCompleteOn?: Date;\r\n scfCompleteBy?: number;\r\n scfCompleteOn?: Date;\r\n}\r\n\r\nexport interface SCFHoldPointResource {\r\n id: number;\r\n name: string;\r\n description: string;\r\n status: number;\r\n type: number | null;\r\n code: string;\r\n number: number;\r\n createdOn: Date;\r\n createdBy: number;\r\n updatedOn: Date;\r\n updatedBy: number | null;\r\n scfMasterID: number;\r\n scfMaster?: SCFMaster;\r\n wfTaskLocals?: WfTaskLocalResource[];\r\n amendmentID?: number | null;\r\n amendmentNumber?: number | null;\r\n}\r\n","import { Restriction } from \"src/app/controls/restrictions/services/restriction\";\r\n\r\nexport class RestrictionsRefresh {\r\n static readonly type = '[Restrictions] Refresh';\r\n}\r\n\r\nexport class RestrictionsCreate {\r\n static readonly type = '[Restrictions] Create';\r\n\r\n constructor(public item: Restriction) { }\r\n}\r\n\r\nexport class RestrictionsUpdate {\r\n static readonly type = '[Restrictions] Update';\r\n\r\n constructor(public id: number, public item: Restriction) { }\r\n}\r\n\r\nexport class RestrictionsDelete {\r\n static readonly type = '[Restrictions] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RestrictionsCreate, RestrictionsDelete, RestrictionsRefresh, RestrictionsUpdate } from './restrictions.action';\r\nimport { RestrictionService } from 'src/app/controls/restrictions/services/restriction.service';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\n\r\nexport class RestrictionsStateModel {\r\n data: Restriction[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Restrictions',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RestrictionsState {\r\n constructor(\r\n private _service: RestrictionService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RestrictionsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RestrictionsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.Read().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(RestrictionsCreate)\r\n create({ getState, patchState }: StateContext, { item }: RestrictionsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RestrictionsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RestrictionsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(RestrictionsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RestrictionsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RestrictionsActions from './restrictions.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RestrictionsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new RestrictionsActions.RestrictionsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.RESTRICTIONS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RestrictionsActions.RestrictionsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RestrictionsActions.RestrictionsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RestrictionsActions.RestrictionsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RestrictionsActions.RestrictionsRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { SCFMaster } from \"../../scf\";\r\n\r\n\r\n\r\nexport class SCFMastersRefresh {\r\n static readonly type = '[SCFMasters] Refresh';\r\n}\r\n\r\nexport class SCFMastersRefreshById {\r\n static readonly type = '[SCFMasters] RefreshById';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class SCFMastersCreate {\r\n static readonly type = '[SCFMasters] Create';\r\n\r\n constructor(public item: SCFMaster) { }\r\n}\r\n\r\nexport class SCFMastersUpdate {\r\n static readonly type = '[SCFMasters] Update';\r\n\r\n constructor(public id: number, public item: SCFMaster) { }\r\n}\r\n\r\nexport class SCFMastersDelete {\r\n static readonly type = '[SCFMasters] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { SCFMastersCreate, SCFMastersDelete, SCFMastersRefresh, SCFMastersRefreshById, SCFMastersUpdate } from './scf-masters.action';\r\nimport { ScfV2Service } from '../../scf-v2.service';\r\nimport { SCFMaster } from '../../scf';\r\n\r\n\r\nexport class SCFMastersStateModel {\r\n data: SCFMaster[] = [];\r\n}\r\n\r\n@State({\r\n name: 'SCFMasters',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class SCFMastersState {\r\n constructor(\r\n private _service: ScfV2Service\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: SCFMastersStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(SCFMastersRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(SCFMastersRefreshById)\r\n refreshById({ getState, patchState }: StateContext, { id }: SCFMastersRefreshById) {\r\n this._service.getById(id).subscribe(\r\n data => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(data.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, data]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(SCFMastersCreate)\r\n create({ getState, patchState }: StateContext, { item }: SCFMastersCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(SCFMastersUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: SCFMastersUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(SCFMastersDelete)\r\n delete({ getState, patchState }: StateContext, { id }: SCFMastersDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as SCFMastersActions from './scf-masters.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SCFMastersStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new SCFMastersActions.SCFMastersRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.SCF_MASTERS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new SCFMastersActions.SCFMastersCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new SCFMastersActions.SCFMastersUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new SCFMastersActions.SCFMastersDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new SCFMastersActions.SCFMastersRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new SCFMastersActions.SCFMastersRefreshById(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, Inject, OnDestroy } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { RoleCheck } from 'src/app/common/models/role-check';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\n\r\n@Component({\r\n selector: 'app-choose-roles',\r\n templateUrl: './choose-roles.component.html',\r\n styleUrls: ['./choose-roles.component.scss']\r\n})\r\nexport class ChooseRolesComponent implements OnInit, OnDestroy {\r\n roles: RoleCheck[] = [];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n usersTable = new MatTableDataSource(this.roles);\r\n loading = false;\r\n displayedColumns: string[] = ['choose', 'name'];\r\n result: RoleCheck[] = [];\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n private store: Store,\r\n @Inject(MAT_DIALOG_DATA) public data: number[]) { }\r\n\r\n ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadRoles();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data.map(val => {\r\n const valR = (val as any as RoleCheck);\r\n valR.isCheck = false;\r\n if (this.data) {\r\n if (this.data.includes(valR.id)) {\r\n valR.isCheck = true;\r\n this.result.push(valR);\r\n }\r\n }\r\n return valR;\r\n });\r\n this.usersTable.data = this.roles;\r\n this.loading = false;\r\n });\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n this.dialogRef.close(this.result);\r\n }\r\n\r\n checking(value: boolean, element: RoleCheck) {\r\n if (value) {\r\n this.result.push(element);\r\n } else {\r\n this.removeItem(this.result, element);\r\n }\r\n }\r\n\r\n removeItem(array: any, value: any): any {\r\n const index: number = array.indexOf(value);\r\n array.splice(index, 1);\r\n return index;\r\n }\r\n\r\n getRecord(row: any) {\r\n console.log(row);\r\n }\r\n}\r\n","
    \r\n
    \r\n Subscribe Roles\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Check \r\n \r\n \r\n \r\n \r\n\r\n \r\n Name \r\n {{ element.name }} \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Inject, OnDestroy, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { UserCheck } from 'src/app/common/models/user-check';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\n\r\n@Component({\r\n selector: 'app-choos-users',\r\n templateUrl: './choose-users.component.html',\r\n styleUrls: ['./choose-users.component.scss']\r\n})\r\nexport class ChooseUsersComponent extends BaseComponent implements OnInit, OnDestroy {\r\n\r\n usersFiltered!: UserCheck[];\r\n usersTable = new MatTableDataSource(this.users);\r\n loading = false;\r\n displayedColumns: string[] = ['choose', 'name', 'username', 'emailAddress'];\r\n selectedUsers: UserCheck[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: number[]) {\r\n super(injector);\r\n\r\n }\r\n\r\n\r\n ngOnInit() {\r\n this.getUsers_();\r\n }\r\n\r\n getUsers_() {\r\n this.usersFiltered = this.getUsers().map(val => {\r\n const userCheck = (val as UserCheck);\r\n userCheck.isCheck = false;\r\n if (userCheck.id && this.data.includes(userCheck.id)) {\r\n userCheck.isCheck = true;\r\n this.selectedUsers.push(userCheck);\r\n }\r\n return userCheck;\r\n });\r\n this.usersTable.data = this.users;\r\n this.loading = false;\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n this.dialogRef.close(this.selectedUsers);\r\n }\r\n\r\n checking(value: boolean, element: UserCheck) {\r\n if (value) {\r\n this.selectedUsers.push(element);\r\n } else {\r\n this.removeUser(element);\r\n }\r\n }\r\n\r\n\r\n getRecord(row: UserCheck) {\r\n row.isCheck = !row.isCheck;\r\n if (row.isCheck) {\r\n this.selectedUsers.push(row);\r\n } else {\r\n this.removeUser(row);\r\n }\r\n }\r\n\r\n removeUser(user: UserCheck) {\r\n const index: number = this.selectedUsers.indexOf(user);\r\n if (index >= 0)\r\n this.selectedUsers.splice(index, 1);\r\n }\r\n}\r\n","
    \r\n
    \r\n Subscribe Users\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Check \r\n \r\n \r\n \r\n \r\n\r\n \r\n Name \r\n {{ element.name }} \r\n \r\n\r\n \r\n User Name \r\n \r\n {{ element.username }}\r\n \r\n \r\n\r\n \r\n Email \r\n \r\n {{ element.emailAddress }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n","\r\nimport { Component, Injector, OnInit } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { Validators, FormGroup } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ScheduleStatusService } from '../../services/schedule-status.service';\r\n\r\n@Component({\r\n selector: 'app-edit-request-message',\r\n templateUrl: './edit-request-message.component.html',\r\n styleUrls: ['./edit-request-message.component.scss']\r\n})\r\nexport class EditRequestMessageComponent extends BaseComponent implements OnInit {\r\n\r\n statusForm!: FormGroup;\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n public service: ScheduleStatusService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.statusForm = this.formBuilder.group({\r\n notificationMessage: [null, Validators.required]\r\n });\r\n\r\n this.service.getById(3).subscribe(response => { // status 3 is ExtensionRequest\r\n // console.log(response);\r\n // console.log(response);\r\n this.statusForm.controls['notificationMessage'].setValue(response.notificationMessage);\r\n });\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n this.service.UpdateMessage(3, this.statusForm.controls['notificationMessage'].value).subscribe(response => {\r\n this.dialogRef.close();\r\n });\r\n\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Request Extension Message\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n Note: This is a global message that applies to all schedules.\r\n

    \r\n

    The following placeholders are available to use:

    \r\n
      \r\n
    • [Schedule]
    • \r\n
    • [Location]
    • \r\n
    • [LastCompleted]
    • \r\n
    • [NextInspectionDue]
    • \r\n
    • [ScheduledFor]
    • \r\n \r\n
    • [Status]
    • \r\n
    • [SubmittedBy]
    • \r\n
    • [Reason]
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Message\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","export enum ReminderPeriodEnum {\r\n before = 1,\r\n after = 2\r\n}\r\nexport enum ScheduleStatusEnum {\r\n new = 1,\r\n completed = 2,\r\n requestExtension = 3,\r\n extensionGranted = 4,\r\n refuseExtension = 5,\r\n remove = 6,\r\n completedSubdetail = 7\r\n}\r\nexport enum ScheduleStatusTimeEnum {\r\n Good = 1,\r\n Grace = 2,\r\n Expired = 3,\r\n ExtensionGranted = 4,\r\n Completed = 5,\r\n Archived = 7\r\n}\r\n\r\nexport enum PPSTBFollowUpType {\r\n RepairReplaceComponent = 1,\r\n ModifyInterlock = 2,\r\n Other = 3\r\n}\r\n","import { ScheduleType } from './schedule-type';\r\nimport { ScheduleSubtype } from './schedule-subtype';\r\nimport { Schedule } from './schedule';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\nexport interface ScheduleResources {\r\n id?: number;\r\n scheduleId?: number;\r\n resourceId?: number | null;\r\n schedule?: Schedule;\r\n scheduleSubtypeId?: number;\r\n resource?: Resource;\r\n resourceString?: string;\r\n absiTemplateTypeID?: number;\r\n}\r\n\r\nexport class ScheduleResource {\r\n id?: number;\r\n resourceId?: number;\r\n name?: string | null;\r\n dateValue1?: Date;\r\n dateValue2?: Date;\r\n dateValue3?: Date;\r\n}\r\n\r\nexport class ScheduleResourcesByTab {\r\n tabId!: number;\r\n scheduleType!: ScheduleType;\r\n scheduleSubtype!: ScheduleSubtype;\r\n resources!: ScheduleResources[];\r\n}\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ScheduleReminder } from '../../models/schedule-reminder';\r\nimport { ReminderPeriodEnum } from '../../models/enums';\r\n\r\n@Component({\r\n selector: 'app-add-reminder',\r\n templateUrl: './add-reminder.component.html',\r\n styleUrls: ['./add-reminder.component.scss']\r\n})\r\nexport class AddReminderComponent implements OnInit {\r\n\r\n reminderForm!: FormGroup;\r\n ReminderPeriodEnum = ReminderPeriodEnum;\r\n Period = ['Before Inspected Due Date', 'After Inspected Due Date'];\r\n\r\n constructor(public formBuilder: FormBuilder,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: ScheduleReminder) { }\r\n\r\n ngOnInit(): void {\r\n this.reminderForm = this.formBuilder.group({\r\n name: ['', Validators.required],\r\n timeInDays: [0, [Validators.required, Validators.min(0)]],\r\n period: ['', Validators.required],\r\n message: ['', Validators.required],\r\n beamlineStaffNotification: [''],\r\n typeId: []\r\n });\r\n if (this.data) {\r\n this.reminderForm.controls['name'].setValue(this.data.name ?? null);\r\n this.reminderForm.controls['typeId'].setValue(this.data.typeId ?? null);\r\n this.reminderForm.controls['timeInDays'].setValue(this.data.timeInDays ?? null);\r\n this.reminderForm.controls['period'].setValue(this.data.period ?? null);\r\n this.reminderForm.controls['message'].setValue(this.data.message ?? null);\r\n this.reminderForm.controls['beamlineStaffNotification'].setValue(this.data.beamlineStaffNotification ?? null);\r\n }\r\n else {\r\n this.data = { id: 0, isActive: true };\r\n }\r\n }\r\n\r\n messageChanged(e: string) {\r\n this.data.message = e;\r\n this.reminderForm.controls['message'].setValue(this.data.message ?? null);\r\n }\r\n\r\n onSubmit() {\r\n console.log(this.reminderForm.value);\r\n this.reminderForm.controls['message'].setValue(this.data.message ?? null);\r\n this.dialogRef.close(this.reminderForm.value);\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ data.id ? \"Edit\" : \"Create\" }} Reminder\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Name\r\n \r\n Name is required\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Days\r\n \r\n Due date is required\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Period\r\n \r\n \r\n {{ Period[ReminderPeriodEnum.after - 1] }}\r\n \r\n \r\n {{ Period[ReminderPeriodEnum.before - 1] }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n The following placeholders are available to use in your message:\r\n

    \r\n
      \r\n
    • [Location]
    • \r\n
    • [LastCompleted]
    • \r\n
    • [NextInspectionDue]
    • \r\n
    • [ScheduledFor]
    • \r\n
    • [ExtendedDate]
    • \r\n
    • [Status]
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Beamline staff notification\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Input, OnChanges, HostListener, AfterViewInit, ElementRef, ViewChild, OnDestroy, Output, EventEmitter, Injector, SimpleChanges } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription, async } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { Placeholder } from '../../checklists/checklists';\r\nimport { ChooseRolesComponent } from '../dialogs/choose-roles/choose-roles.component';\r\nimport { ChooseUsersComponent } from '../dialogs/choose-users/choose-users.component';\r\nimport { ReminderPeriodEnum } from '../models/enums';\r\nimport { RoleScheduleReminder } from '../models/role-schedule-reminder';\r\nimport { ScheduleReminder } from '../models/schedule-reminder';\r\nimport { ScheduleType } from '../models/schedule-type';\r\nimport { UserScheduleReminder } from '../models/user-schedule-reminder';\r\nimport { ScheduleValidations } from '../share/schedule-validations';\r\nimport { ScheduleRemindersRefresh } from '../store/schedule-reminder/schedule-reminder.action';\r\nimport { AddReminderComponent } from './add-reminder/add-reminder.component';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { RoleReminderService } from '../services/role-reminder.service';\r\nimport { ScheduleReminderService } from '../services/schedule-reminder.service';\r\nimport { UserReminderService } from '../services/user-reminder.service';\r\nimport { UserCheck } from 'src/app/common/models/user-check';\r\nimport { RoleCheck } from 'src/app/common/models/role-check';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\n\r\n@Component({\r\n selector: 'app-reminder-tab',\r\n templateUrl: './reminder-tab.component.html',\r\n styleUrls: ['./reminder-tab.component.scss']\r\n})\r\n\r\nexport class ReminderTabComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() scheduleType?: ScheduleType;\r\n @Input() tabIndex!: number;\r\n @Input() tabName!: string;\r\n @Input() filter!: string;\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild('reminderTable')\r\n reminderTable!: ElementRef;\r\n displayedColumnsReminder: string[] = ['name', 'dueDateTime', 'period', 'message', 'options'];\r\n reminderData: ScheduleReminder[] = [];\r\n reminderSource = new MatTableDataSource(this.reminderData);\r\n ReminderPeriodEnum = ReminderPeriodEnum;\r\n sv = ScheduleValidations;\r\n headerOnTop2 = false;\r\n tableWidth = '';\r\n\r\n maxHeight = null;\r\n Period = ['Before Inspected Due Date', 'After Inspected Due Date'];\r\n\r\n scheduleReminders!: ScheduleReminder[];\r\n scheduleReminders$!: Observable;\r\n scheduleRemindersSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private serviceReminder: ScheduleReminderService,\r\n public serviceUserReminder: UserReminderService,\r\n public serviceRoleReminder: RoleReminderService,\r\n public tokenInfo: TokenInfoService\r\n ) {\r\n super(injector);\r\n this.store.dispatch(new ScheduleRemindersRefresh());\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scheduleRemindersSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadScheduleReminders();\r\n if (changes['tabIndex']) {\r\n if (this.tabIndex === 1) {\r\n this.headerOnTop2 = false;\r\n if (this.tableWidth === '0px') {\r\n this.tableWidth = '100%';\r\n }\r\n }\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadScheduleReminders();\r\n }\r\n\r\n loadScheduleReminders() {\r\n this.scheduleReminders$ = this.store.select(state => state.ScheduleReminders.data);\r\n this.scheduleRemindersSubs = this.scheduleReminders$.subscribe(data => {\r\n this.scheduleReminders = data.filter(x => x.isActive && x.typeId == this.scheduleType?.id);\r\n this.reminderSource.data = this.scheduleReminders;\r\n this.reminderSource.filter = this.filter?.trim().toLowerCase();\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n addReminder() {\r\n const schedule = { typeId: this.scheduleType?.id } as ScheduleReminder;\r\n const dialogRef = this.dialog.open(AddReminderComponent, {\r\n width: '500px',\r\n data: schedule\r\n });\r\n dialogRef.afterClosed().toPromise().then(result => {\r\n if (result) {\r\n this.loading.emit(true);\r\n result = result as ScheduleReminder;\r\n this.serviceReminder.create(result).toPromise().then(m => {\r\n this.alert.message('create', [new MessagePlaceholder('{what}', 'Reminder')]);\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n removeReminder(id: number) {\r\n const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '20em',\r\n data: {\r\n message: 'Are you sure you want to erase this reminder?',\r\n icon: 'warn',\r\n val: false\r\n }\r\n });\r\n removeRef.afterClosed().toPromise().then(result => {\r\n if (result) {\r\n this.loading.emit(true);\r\n this.serviceReminder.delete(id).toPromise().then(d => {\r\n this.alert.message('remove', [new MessagePlaceholder('{what}', 'Reminder')]);\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n removeItem(array: any, value: any): any {\r\n const index: number = array.indexOf(value);\r\n array.splice(index, 1);\r\n return index;\r\n }\r\n\r\n\r\n async getUserReminderByReminder(reminderId: number) {\r\n this.loading.emit(true);\r\n const value = await this.serviceUserReminder.readByReminder(reminderId).toPromise();\r\n this.loading.emit(false);\r\n return value?.map(val => val.secondId);\r\n }\r\n async getRolReminderByReminder(reminderId: any) {\r\n this.loading.emit(true);\r\n const value = await this.serviceRoleReminder.readByReminder(reminderId).toPromise();\r\n this.loading.emit(false);\r\n return value?.map(val => val.secondId);\r\n }\r\n\r\n editReminder(reminderedit: ScheduleReminder) {\r\n const dialogRef = this.dialog.open(AddReminderComponent, {\r\n width: '500px',\r\n data: reminderedit\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n const last = this.removeItem(this.reminderData, reminderedit);\r\n result = result as ScheduleReminder;\r\n result.id = reminderedit.id;\r\n this.loading.emit(true);\r\n this.serviceReminder.update(result).subscribe(m => {\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Reminder')]);\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n async openChooseUsers(reminder: any) {\r\n const dialogRef = this.dialog.open(ChooseUsersComponent, {\r\n width: '50em',\r\n data: await this.getUserReminderByReminder(reminder.id)\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n let userreminder = result.map((value: UserCheck) => {\r\n return {\r\n firstId: reminder.id,\r\n secondId: value.id\r\n } as UserScheduleReminder;\r\n });\r\n if (userreminder.length <= 0) {\r\n userreminder = [{ firstId: reminder.id, secondId: 0 } as UserScheduleReminder];\r\n }\r\n this.loading.emit(true);\r\n this.serviceUserReminder.createRange(userreminder).subscribe(response => {\r\n this.alert.message('updates', [new MessagePlaceholder('{what}', 'Users')]);\r\n this.loading.emit(false);\r\n });\r\n console.log(userreminder);\r\n }\r\n });\r\n }\r\n async openChooseRoles(reminder: any) {\r\n const dialogRef = this.dialog.open(ChooseRolesComponent, {\r\n width: '50em',\r\n data: await this.getRolReminderByReminder(reminder.id)\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n\r\n if (result) {\r\n let rolreminder = result.map((value: RoleCheck) => {\r\n return {\r\n firstId: reminder.id,\r\n secondId: value.id\r\n } as RoleScheduleReminder;\r\n });\r\n if (rolreminder.length <= 0) {\r\n rolreminder = [{ firstId: reminder.id, secondId: 0 } as RoleScheduleReminder];\r\n }\r\n this.loading.emit(true);\r\n this.serviceRoleReminder.createRange(rolreminder).subscribe(response => {\r\n this.alert.message('updates', [new MessagePlaceholder('{what}', 'Roles')]);\r\n this.loading.emit(false);\r\n });\r\n console.log(rolreminder);\r\n }\r\n });\r\n }\r\n\r\n validateShowMenu() {\r\n if (this.sv.validateRole('updateReminder', this.tokenInfo, this.scheduleType)) { return true; }\r\n if (this.sv.validateRole('deleteReminder', this.tokenInfo, this.scheduleType)) { return true; }\r\n if (this.sv.validateRole('subscriberReminder', this.tokenInfo, this.scheduleType)) { return true; }\r\n return false;\r\n }\r\n\r\n}\r\n","
    \r\n\t
    \r\n\t\t\r\n\t\t\t\r\n\t\t\t\t Reminder Name \r\n\t\t\t\t {{ element.name }} \r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\t Day(s) \r\n\t\t\t\t\r\n\t\t\t\t\t{{ element.timeInDays }}\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\t Period \r\n\t\t\t\t\r\n\t\t\t\t\t{{ Period[element.period - 1] }}\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\t Message \r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\t Options \r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tmore_vert\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tedit\r\n\t\t\t\t\t\t\t\tEdit\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tdelete\r\n\t\t\t\t\t\t\t\tDelete\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tperson\r\n\t\t\t\t\t\t\t\tSubscribe users\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tgroup\r\n\t\t\t\t\t\t\t\tSubscribe roles\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t 992 ? tableWidth : null\"\r\n\t\t\t\t[ngClass]=\"{\r\n 'p-0': true,\r\n 'fixed-head-reminder': headerOnTop2 && innerWidth > 992,\r\n 'sticky-headers': innerWidth < 992\r\n }\"\r\n\t\t\t\t*matHeaderRowDef=\"displayedColumnsReminder\"\r\n\t\t\t>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t
    \r\n
    \r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { SchedulesV2Component } from './schedules-v2.component';\r\n\r\nconst routes: Routes = [\r\n { path: 'schedulesV2/:type', component: SchedulesV2Component }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ScheduleRoutingModule { }\r\n","import { Component, OnInit, Inject, ViewChild, NgZone, Injector } from '@angular/core';\r\nimport { FormControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Schedule } from '../../models/schedule';\r\nimport { ScheduleNote } from '../../models/schedule-note';\r\nimport { NoteType } from 'src/app/services/notes/note.model';\r\n\r\n@Component({\r\n selector: 'app-add-note',\r\n templateUrl: './add-note.component.html',\r\n styleUrls: ['./add-note.component.scss']\r\n})\r\nexport class AddNoteComponent extends BaseComponent implements OnInit {\r\n\r\n descriptionCtrl = new FormControl();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: Schedule\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.formGroup = this.formBuilder.group({\r\n description: [null, Validators.required],\r\n scheduleId: [],\r\n userId: [],\r\n type: []\r\n });\r\n this.formGroup.controls['scheduleId'].setValue(this.data.id);\r\n this.formGroup.controls['type'].setValue(NoteType.Normal);\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n let desc = this.descriptionCtrl.value as string;\r\n desc = desc.trim();\r\n if (!desc) {\r\n this.descriptionCtrl.setErrors({ required: true }); //.setErrors({invalid: true});\r\n return;\r\n }\r\n this.formGroup.value.description = desc;\r\n this.formGroup.value.createdOn = new Date();\r\n this.dialogRef.close(this.formGroup.value);\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ data.name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Note\r\n \r\n Description is required\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Inject, OnInit, ViewChild, ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { FormGroup, AbstractControl, Validators } from '@angular/forms';\r\nimport { MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ProcedureCategory } from 'src/app/components/procedure/models/procedure-category.model';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { ScheduleStatusEnum, ScheduleStatusTimeEnum } from '../../models/enums';\r\nimport { Schedule, ScheduleSubdetail } from '../../models/schedule';\r\nimport { ScheduleResources } from '../../models/schedule-resources';\r\nimport { ScheduleSubtype } from '../../models/schedule-subtype';\r\nimport { ScheduleType } from '../../models/schedule-type';\r\nimport { ScheduleSubTypeService } from '../../services/schedule-subtype.service';\r\n\r\n@Component({\r\n selector: 'app-add-schedule',\r\n templateUrl: './add-schedule.component.html',\r\n styleUrls: ['./add-schedule.component.scss']\r\n})\r\nexport class AddScheduleComponent extends BaseComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {\r\n\r\n schedule: Schedule;\r\n scheduleType: ScheduleType;\r\n scheduleSubtype: ScheduleSubtype;\r\n numberOfCycles = 0;\r\n isLastCompleted = false;\r\n calculate!: Date;\r\n minDate: Date;\r\n isMultilocation = false;\r\n isInpuntEnable = true;\r\n isAllowStrings = false;\r\n resourceTypes = [];\r\n showRemoveRequired!: boolean;\r\n showHutch!: boolean;\r\n showLastC2!: boolean;\r\n showPeriodTime!: boolean;\r\n subtypeSelected!: ScheduleSubtype;\r\n nextDueDatePeriodSelected?: number;\r\n absiType?: number | null;\r\n // scheduleTab: ScheduleCustomTab;\r\n\r\n periodsTime: any[] = [\r\n { label: '6', value: 6 },\r\n { label: '12', value: 12 }\r\n ];\r\n\r\n /*************************************************************************************** **/\r\n // Add Locations\r\n @ViewChild('autoLoc') matAutocompleteLoc!: MatAutocomplete;\r\n @ViewChild('locationInput') locationInput!: ElementRef;\r\n @ViewChild('locationInput', { read: MatAutocompleteTrigger }) locationTrigger!: MatAutocompleteTrigger;\r\n @ViewChild('chipListLoc') chipList: any;\r\n\r\n locations!: ScheduleResources[];\r\n filteredLocations: ScheduleResources[] = [];\r\n allLocations: ScheduleResources[] = [];\r\n allSubtypes: ScheduleSubtype[] = [];\r\n locationsIdUsed: number[] = [];\r\n /*************************************************************************************** **/\r\n /*************************************************************************************** **/\r\n\r\n //#region Procedures\r\n // proceduresNumbers: string[] = [];\r\n // proceduresNumbersFiltered: string[] = [];\r\n categoriesSubscription!: Subscription;\r\n procedureSubscription!: Subscription;\r\n categories$!: Observable;\r\n procedures$!: Observable;\r\n categories: ProcedureCategory[] = [];\r\n procedures: Procedure[] = [];\r\n proceduresFiltered: Procedure[] = [];\r\n showProcedures!: boolean;\r\n isRemoveRequired!: boolean;\r\n //#endregion\r\n\r\n //#region ScheduleForm\r\n public scheduleForm!: FormGroup;\r\n public get lastCompleted(): AbstractControl | null { return this.scheduleForm.get('lastCompleted'); }\r\n public get nextDue(): AbstractControl | null { return this.scheduleForm.get('nextDue'); }\r\n //#endregion\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public subtypeService: ScheduleSubTypeService,\r\n public resourcesService: ResourcesService,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n super(injector);\r\n\r\n if (!data.schedule) {\r\n this.showRemoveRequired = true;\r\n }\r\n this.schedule = data.schedule;\r\n\r\n this.scheduleType = data.scheduleType;\r\n this.scheduleSubtype = data.scheduleSubtype;\r\n this.allLocations = this.utils.cloneDeep(data.allLocations);\r\n this.minDate = new Date();\r\n this.locationsIdUsed = this.utils.cloneDeep(data.scheduleLocationsId);\r\n this.absiType = this.utils.cloneDeep(data.absiType);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.categoriesSubscription?.unsubscribe();\r\n this.procedureSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (!this.isMultilocation && this.locations?.length >= 1) {\r\n this.scheduleForm.controls['locationCtrl'].disable();\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadProcedures();\r\n\r\n this.isMultilocation = true;\r\n this.isAllowStrings = this.scheduleType.allowCustomSchedules;\r\n this.showHutch = false;\r\n this.resourceTypes = this.utils.JSONparse(this.scheduleType?.resourceTypeIds ? this.scheduleType.resourceTypeIds : null)?.map(Number);\r\n if (!this.resourceTypes?.length) {\r\n this.alert.warning('No Resource Type List defined in Schedule Catalog');\r\n }\r\n switch (this.scheduleType.id) {\r\n case 1:\r\n this.absiType = this.schedule?.scheduleResources[0]?.resource?.absiTemplateTypeID;\r\n break;\r\n case 2:\r\n case 3:\r\n break;\r\n case 4:\r\n break;\r\n case 5: // RSS\r\n this.showHutch = true;\r\n this.getSubtypes();\r\n break;\r\n }\r\n\r\n this.scheduleForm = this.formBuilder.group({\r\n resource: [],\r\n locationCtrl: [{ value: null, disabled: true }],\r\n subtypeCtrl: [''],\r\n resourceId: [''],\r\n nextDue: ['', Validators.required],\r\n scheduleFor: [],\r\n lastCompleted: ['', Validators.required],\r\n lastCompleted2: [],\r\n expireDate: [],\r\n statusId: [],\r\n statusTime: [],\r\n typeId: [],\r\n nextDueDatePeriodSelected: [],\r\n procedureNumber: [''],\r\n procedureNumber2: ['']\r\n });\r\n\r\n this.locations = this.schedule?.scheduleResources ?? [];\r\n\r\n if (this.schedule != null) {\r\n this.scheduleForm.controls['typeId'].setValue(this.schedule.id);\r\n this.scheduleForm.controls['statusId'].setValue(this.schedule.statusId);\r\n this.scheduleForm.controls['statusTime'].setValue(this.schedule.statusTime);\r\n this.scheduleForm.controls['lastCompleted'].setValue(this.schedule.lastCompleted);\r\n this.scheduleForm.controls['scheduleFor'].setValue(this.schedule.scheduleFor);\r\n this.scheduleForm.controls['nextDue'].setValue(this.schedule.nextDue);\r\n if (this.schedule.lastCompleted && this.schedule.nextDue) {\r\n this.scheduleForm.controls['nextDue'].disable();\r\n } else {\r\n this.scheduleForm.controls['lastCompleted'].disable();\r\n }\r\n this.scheduleForm.controls['resourceId'].setValue('');\r\n if (this.schedule.subtype) {\r\n this.scheduleForm.controls['subtypeCtrl'].setValue(this.schedule.subtype);\r\n this.subtypeSelected = this.schedule.subtype;\r\n if (this.schedule.scheduleSubtypeId === 1) {\r\n this.scheduleForm.controls['nextDueDatePeriodSelected'].setValue(this.schedule.nextDueDatePeriod);\r\n this.scheduleForm.controls['nextDueDatePeriodSelected'].setValidators(Validators.required);\r\n }\r\n }\r\n this.nextDueDatePeriodSelected = this.schedule.nextDueDatePeriod;\r\n this.showLastC2 = this.schedule.subtype?.id === 2;\r\n this.showPeriodTime = this.schedule.subtype?.id === 1;\r\n this.scheduleForm.controls['lastCompleted2'].setValue(this.schedule.subdetail?.lastCompleted);\r\n if (!this.hasPrivilege(PrivilegeEnum.EditScheduleDates)) {\r\n this.scheduleForm.controls['lastCompleted'].disable();\r\n this.scheduleForm.controls['nextDue'].disable();\r\n this.scheduleForm.controls['scheduleFor'].disable();\r\n }\r\n this.scheduleForm.controls['resourceId'].disable();\r\n this.scheduleForm.controls['procedureNumber'].setValue(this.schedule.procedure);\r\n this.scheduleForm.controls['procedureNumber2'].setValue(this.schedule.subdetail?.procedure);\r\n } else {\r\n this.scheduleForm.controls['typeId'].setValue(this.scheduleType.id);\r\n this.scheduleForm.controls['statusId'].setValue(ScheduleStatusEnum.new);\r\n this.scheduleForm.controls['statusTime'].setValue(ScheduleStatusTimeEnum.Good);\r\n }\r\n this.filterLocations();\r\n }\r\n\r\n initialize() {\r\n\r\n }\r\n\r\n displayProcedure(e: Procedure) {\r\n return (e && e.id) ? e.procedureNumber + ' Rev:' + e.revision : '';\r\n }\r\n\r\n loadProcedures() {\r\n if ((this.scheduleSubtype && this.scheduleSubtype.procedureTypeID) || (!this.scheduleSubtype && this.scheduleType.procedureTypeID)) {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.procedureSubscription = this.procedures$.subscribe(procedures => {\r\n if (procedures) {\r\n this.showProcedures = true;\r\n const typeID = this.scheduleSubtype?.procedureType ? this.scheduleSubtype.procedureTypeID : this.scheduleType?.procedureType ? this.scheduleType.procedureTypeID : null;\r\n const categoryID = this.scheduleSubtype?.procedureCategory ? this.scheduleSubtype.procedureCategoryID : this.scheduleType?.procedureCategory ? this.scheduleType.procedureCategoryID : null;\r\n this.procedures = procedures.filter(x => (typeID ? x.procedureCategory?.procedureTypeID == typeID : !typeID) && (categoryID ? x.procedureCategoryID == categoryID : !categoryID) && x.status === 1 && x.active);\r\n this.procedures.sort((a, b) => this.utils.sort(a.procedureNumber, b.procedureNumber, true));\r\n if (this.schedule?.procedureMasterID) {\r\n this.procedures.unshift({ id: 0, procedureNumber: '[None]' });\r\n }\r\n this.proceduresFiltered = this.procedures;\r\n }\r\n });\r\n }\r\n }\r\n\r\n _filter(value: any): ScheduleResources[] {\r\n console.log('_filtter');\r\n console.log(value);\r\n const filterValue = value.toLowerCase();\r\n const result = this.locations.filter(option => option.resource?.name?.toLowerCase().includes(filterValue));\r\n if (result.length === 1) {\r\n if (result[0]?.resource?.name?.trim() === (this.scheduleForm.controls['resource'].value as string).trim()) {\r\n this.scheduleForm.controls['resourceId'].setValue(result[0]?.resource?.id);\r\n } else {\r\n this.scheduleForm.controls['resource'].setErrors({ incorrect: true });\r\n }\r\n } else {\r\n this.scheduleForm.controls['resource'].setErrors({ incorrect: true });\r\n }\r\n return result;\r\n }\r\n\r\n _filterProcedures(procedureNumber: string): Procedure[] {\r\n const filterValue = procedureNumber.toLowerCase();\r\n return this.procedures.filter(pn => pn.procedureNumber.toLowerCase().includes(filterValue));\r\n }\r\n\r\n async getSubtypes() {\r\n this.allSubtypes = (await this.subtypeService.getAll().toPromise()) ?? [];\r\n }\r\n\r\n onNoClick(submit?: boolean): void {\r\n this.dialogRef.close(submit);\r\n }\r\n\r\n onSubmit() {\r\n if (this.locations?.length < 1) {\r\n this.chipList.errorState = true;\r\n return;\r\n }\r\n if (this.schedule != null) {\r\n this.schedule.nextDue = this.scheduleForm.controls['nextDue'].value;\r\n this.schedule.scheduleFor = this.scheduleForm.controls['scheduleFor'].value;\r\n this.schedule.lastCompleted = this.scheduleForm.controls['lastCompleted'].value;\r\n this.schedule.scheduleSubtypeId = this.scheduleForm.controls['subtypeCtrl'].value !== '' ? this.scheduleForm.controls['subtypeCtrl'].value?.id : this.scheduleSubtype ? this.scheduleSubtype.id : null;\r\n if (!this.schedule.subdetail) {\r\n this.schedule.subdetail = {} as ScheduleSubdetail;\r\n }\r\n this.schedule.subdetail.lastCompleted = this.scheduleForm.controls['lastCompleted2'].value;\r\n this.schedule.subdetail.procedureMasterID = this.scheduleForm.controls['procedureNumber2']?.value?.procedureMasterID;\r\n this.schedule.scheduleResources = this.locations.map(val => {\r\n const sr = {} as ScheduleResources;\r\n sr.scheduleId = this.schedule.id;\r\n sr.resourceId = val.resource?.id;\r\n sr.id = val.id;\r\n sr.resourceString = val.resourceString;\r\n return sr;\r\n });\r\n this.schedule.nextDueDatePeriod = this.nextDueDatePeriodSelected;\r\n this.schedule.procedureID = null;\r\n this.schedule.procedureMasterID = this.scheduleForm.controls['procedureNumber']?.value?.procedureMasterID;\r\n this.dialogRef.close(this.schedule);\r\n } else {\r\n if (this.scheduleForm.controls['nextDue'].value) {\r\n const expireDate = new Date((this.scheduleForm.controls['nextDue'].value as Date).getTime());\r\n expireDate.setDate(expireDate.getDate() + this.scheduleType.graceTime);\r\n this.scheduleForm.controls['expireDate'].setValue(expireDate);\r\n }\r\n const schedule = this.scheduleForm.value as Schedule;\r\n schedule.nextDue = this.scheduleForm.controls['nextDue'].value;\r\n schedule.scheduleFor = this.scheduleForm.controls['scheduleFor'].value;\r\n schedule.lastCompleted = this.scheduleForm.controls['lastCompleted'].value;\r\n schedule.scheduleSubtypeId = this.scheduleForm.controls['subtypeCtrl'].value !== '' ? this.scheduleForm.controls['subtypeCtrl'].value?.id : this.scheduleSubtype ? this.scheduleSubtype.id : null;\r\n schedule.scheduleResources = this.locations.map(val => {\r\n const sr = {} as ScheduleResources;\r\n sr.scheduleId = schedule.id;\r\n sr.id = val.id;\r\n sr.resourceId = val.resource?.id;\r\n sr.resourceString = val.resourceString;\r\n return sr;\r\n });\r\n if (this.scheduleForm.controls['lastCompleted2']?.value) {\r\n const sd = {} as ScheduleSubdetail;\r\n sd.lastCompleted = this.scheduleForm.controls['lastCompleted2']?.value;\r\n schedule.subdetail = sd;\r\n }\r\n if (this.scheduleForm.controls['subtypeCtrl']?.value?.id === 1) {\r\n schedule.nextDueDatePeriod = this.nextDueDatePeriodSelected;\r\n }\r\n schedule.procedureID = null;\r\n schedule.procedureMasterID = this.scheduleForm.controls['procedureNumber']?.value?.procedureMasterID;\r\n this.dialogRef.close(schedule);\r\n }\r\n }\r\n\r\n get scheduleFor() { return this.scheduleForm.get('scheduleFor'); }\r\n /*************************************************************************************** **/\r\n // Add Locations\r\n /*************************************************************************************** **/\r\n removeLoc(location: ScheduleResources): void {\r\n const index = this.locations.indexOf(location);\r\n if (index >= 0) {\r\n this.locations.splice(index, 1);\r\n if (location.resourceId) {\r\n this.locationsIdUsed.splice(this.locationsIdUsed.indexOf(location.resourceId), 1);\r\n }\r\n if (this.locations.length === 0) {\r\n this.absiType = null;\r\n }\r\n }\r\n if (!this.isMultilocation) {\r\n if (this.locations.length <= 0) {\r\n this.scheduleForm?.controls['locationCtrl'].enable();\r\n }\r\n }\r\n this.filterLocations();\r\n this.validateEmptyLocations();\r\n }\r\n\r\n onLocChange(code?: string) {\r\n if (!code?.includes('Arrow')) {\r\n this.filterLocations();\r\n this.filteredLocations = this.filteredLocations.filter(loc => loc.resource?.name?.toLowerCase().includes(this.scheduleForm?.controls?.['locationCtrl']?.value?.trim().toLowerCase()));\r\n }\r\n }\r\n\r\n onProcedureNumberChange() {\r\n if (this.scheduleForm.controls['procedureNumber'].value) {\r\n this.proceduresFiltered = this._filterProcedures(this.scheduleForm.controls['procedureNumber'].value);\r\n } else {\r\n this.proceduresFiltered = this.procedures;\r\n }\r\n }\r\n\r\n selectedLoc(event: MatAutocompleteSelectedEvent) {\r\n if (this.locations == null) { this.locations = []; }\r\n const resource = event.option.value.resource;\r\n if (resource && !this.locations.some(l => l.resource?.id === resource?.id)) {\r\n const scheduleResource = { scheduleId: this.schedule?.id, resourceId: resource.id, resource } as ScheduleResources;\r\n this.locations.push(scheduleResource);\r\n if (scheduleResource.resourceId) {\r\n this.locationsIdUsed.push(scheduleResource.resourceId);\r\n }\r\n this.locationInput.nativeElement.value = '';\r\n if (!this.isMultilocation) {\r\n if (this.locations.length >= 1) {\r\n this.scheduleForm?.controls['locationCtrl'].disable();\r\n }\r\n }\r\n this.filterLocations();\r\n }\r\n this.validateEmptyLocations();\r\n }\r\n\r\n filterLocations() {\r\n this.filteredLocations = this.allLocations.filter(l => !this.locationsIdUsed.includes(l.resource!.id));\r\n this.filteredLocations.sort((a, b) => this.utils.SortBeamlines(a.resource?.name, b.resource?.name));\r\n }\r\n\r\n async addLoc(event: MatChipInputEvent) {\r\n if (!this.isAllowStrings) {\r\n\r\n return;\r\n }\r\n if (!this.matAutocompleteLoc?.isOpen) {\r\n const input = event.input;\r\n const value = event.value;\r\n // Reset the input value\r\n if (input) {\r\n input.value = '';\r\n }\r\n if (value !== '') {\r\n const locationFree = {\r\n scheduleId: this.schedule?.id ?? 0,\r\n resourceId: null,\r\n resourceString: value\r\n } as ScheduleResources;\r\n this.locations.push(locationFree);\r\n }\r\n this.scheduleForm?.controls['locationCtrl']?.setValue(null);\r\n if (!this.isMultilocation) {\r\n if (this.locations.length >= 1) {\r\n this.scheduleForm?.controls['locationCtrl'].disable();\r\n }\r\n } else {\r\n this.filterLocations();\r\n }\r\n }\r\n this.validateEmptyLocations();\r\n }\r\n /*************************************************************************************** **/\r\n /*************************************************************************************** **/\r\n validateEmptyLocations() {\r\n if (this.locations?.length < 1) {\r\n this.chipList.errorState = true;\r\n } else {\r\n this.chipList.errorState = false;\r\n }\r\n }\r\n\r\n changedHutch(e: any) {\r\n this.showLastC2 = e.option.value.id === 2;\r\n this.showPeriodTime = e.option.value.id === 1;\r\n this.scheduleForm.controls['lastCompleted2'].clearValidators();\r\n this.scheduleForm.controls['lastCompleted2'].updateValueAndValidity();\r\n if (this.scheduleForm.controls['subtypeCtrl'].value) {\r\n this.scheduleForm.controls['subtypeCtrl'].setValidators(Validators.required);\r\n }\r\n if (this.scheduleForm.controls['lastCompleted'].value) {\r\n this.setNextDueDateTime(this.scheduleForm.controls['nextDue'], this.scheduleForm.controls['lastCompleted'].value);\r\n }\r\n if (e.option.value.id === 2) {\r\n this.scheduleForm.controls['lastCompleted2'].setValidators(Validators.required);\r\n }\r\n if (e.option.value.id === 1) {\r\n this.scheduleForm.controls['nextDueDatePeriodSelected'].setValidators(Validators.required);\r\n }\r\n }\r\n\r\n changeNextDueDatePeriod() {\r\n if (this.scheduleForm.controls['lastCompleted'].value) {\r\n this.setNextDueDateTime(this.scheduleForm.controls['nextDue'], this.scheduleForm.controls['lastCompleted'].value);\r\n }\r\n }\r\n\r\n setNextDueDateTime(control: AbstractControl, value: any) {\r\n const date = new Date(value) as Date;\r\n const currentDate = new Date(date.getTime());\r\n let result = this.scheduleType.nextDueDateTime;\r\n if (this.scheduleForm.controls['subtypeCtrl'].value) {\r\n if (this.scheduleForm.controls['subtypeCtrl'].value.id === 1 && this.nextDueDatePeriodSelected) {\r\n result = this.nextDueDatePeriodSelected;\r\n } else {\r\n result = this.subtypeSelected.nextDueDateTime ?? 0;\r\n }\r\n }\r\n currentDate.setMonth(date.getMonth() + result);\r\n control.setValue(currentDate);\r\n }\r\n\r\n // isLocationUsed(location: ScheduleResources): boolean {\r\n // return this.locationsIdUsed.some(l => l == location.resource?.id);\r\n // }\r\n\r\n changeDate(type: string) {\r\n if (type === 'lastCompleted') {\r\n if (this.scheduleForm.controls['lastCompleted'].value) {\r\n this.setNextDueDateTime(this.scheduleForm.controls['nextDue'], this.scheduleForm.controls['lastCompleted'].value);\r\n this.scheduleForm.controls['nextDue'].disable();\r\n } else {\r\n this.scheduleForm.controls['nextDue'].enable();\r\n }\r\n }\r\n if (type === 'nextDue') {\r\n if (this.scheduleForm.controls['nextDue'].value) {\r\n this.scheduleForm.controls['lastCompleted'].disable();\r\n } else {\r\n this.scheduleForm.controls['lastCompleted'].enable();\r\n }\r\n }\r\n }\r\n\r\n removeLastAndNextDateRequired(isRemoveRequired: boolean) {\r\n this.isRemoveRequired = isRemoveRequired;\r\n if (this.isRemoveRequired) {\r\n this.lastCompleted?.clearValidators();\r\n // this.nextDue.clearValidators();\r\n } else {\r\n this.lastCompleted?.setValidators(Validators.required);\r\n this.nextDue?.setValidators(Validators.required);\r\n }\r\n this.lastCompleted?.updateValueAndValidity();\r\n this.nextDue?.updateValueAndValidity();\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n New Schedule \r\n \r\n Edit Schedule \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Location(s)...\r\n \r\n \r\n {{\r\n location.resource\r\n ? location.resource.name\r\n : location.resourceString\r\n }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ location.resource?.name }}\r\n \r\n \r\n You must choose at least one location\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n New\r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Last Completed\r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n Next Inspection Due\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Procedure Number\r\n \r\n \r\n \r\n
    \r\n {{ procedure.procedureNumber }}\r\n Rev: {{ procedure.revision }}\r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n Schedule SubType\r\n
    \r\n
    \r\n
    \r\n \r\n Type\r\n \r\n \r\n \r\n {{ type.name }}\r\n \r\n \r\n \r\n You must choose a Type\r\n \r\n
    \r\n \r\n Hutch Functional Last Completed\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Testing Period\r\n \r\n \r\n {{ periodTime.label }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Hutch Functional Procedure Number\r\n \r\n \r\n \r\n
    \r\n {{ procedure.procedureNumber }}\r\n Rev: {{ procedure.revision }}\r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Schedule } from '../../models/schedule';\r\n\r\n@Component({\r\n selector: 'app-complete-schedule',\r\n templateUrl: './complete-schedule.component.html',\r\n styleUrls: ['./complete-schedule.component.scss']\r\n})\r\nexport class CompleteScheduleComponent implements OnInit {\r\n formComplete!: FormGroup;\r\n\r\n constructor(public formBuilder: FormBuilder, public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: Schedule) {\r\n if (data?.name) {\r\n data.name = data.name.replace(/
    /g, ', ');\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.formComplete = this.formBuilder.group({\r\n date: [null, Validators.required]\r\n });\r\n this.formComplete.controls['date'].setValue(Date.now());\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n const value2 = this.formComplete.controls['date'].value as string;\r\n const value = Date.parse(value2);\r\n if (Number.isNaN(value)) {\r\n this.formComplete.controls['date'].setErrors({ required: true });\r\n return;\r\n }\r\n this.dialogRef.close(this.formComplete.controls['date'].value as Date);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Complete Schedule\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Complete Date\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Schedule } from '../../models/schedule';\r\n\r\n@Component({\r\n selector: 'app-edit-scheduled-for',\r\n templateUrl: './edit-scheduled-for.component.html',\r\n styleUrls: []\r\n})\r\n\r\nexport class EditScheduledForComponent implements OnInit {\r\n\r\n public formScheduledFor!: FormGroup;\r\n public minDate: Date;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n public formBuilder: FormBuilder,\r\n @Inject(MAT_DIALOG_DATA) public data: Schedule\r\n ) {\r\n this.minDate = new Date();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.formScheduledFor = this.formBuilder.group({\r\n scheduledFor: [Validators.required]\r\n });\r\n\r\n if (this.data.scheduleFor) {\r\n this.formScheduledFor.controls['scheduledFor'].setValue(this.data.scheduleFor);\r\n }\r\n }\r\n\r\n onSubmit() {\r\n this.data.scheduleFor = this.formScheduledFor.controls['scheduledFor'].value;\r\n this.dialogRef.close(this.data);\r\n }\r\n\r\n onCancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n header(data: string): string {\r\n return data.replace(/\\
    /gi, ', ');\r\n }\r\n}\r\n","
    \r\n
    \r\n Scheduled For: {{ header(data.name ?? \"\") }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Scheduled For\r\n \r\n \r\n \r\n Date must be today or greater\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Submit\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ScheduleStatusEnum } from '../../models/enums';\r\nimport { Schedule } from '../../models/schedule';\r\nimport { ScheduleNote } from '../../models/schedule-note';\r\nimport { NoteType } from 'src/app/services/notes/note.model';\r\n\r\n@Component({\r\n selector: 'app-reject-extension',\r\n templateUrl: './reject-extension.component.html',\r\n styleUrls: ['./reject-extension.component.scss']\r\n})\r\nexport class RejectExtensionComponent implements OnInit {\r\n formNote!: FormGroup;\r\n\r\n constructor(\r\n public formBuilder: FormBuilder,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: Schedule) { }\r\n\r\n ngOnInit(): void {\r\n this.formNote = this.formBuilder.group({\r\n description: ['', [Validators.required, this.noWhitespaceValidator]],\r\n scheduleId: [],\r\n isExtension: [],\r\n userId: []\r\n });\r\n this.formNote.controls['scheduleId'].setValue(this.data.statusId);\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n const note = this.formNote.value as ScheduleNote;\r\n if (note.description.trim() === '' || note.description.trim() == null) {\r\n this.formNote.controls['description'].setErrors({ required: true });\r\n return;\r\n }\r\n note.type = NoteType.Rejection;\r\n this.data.notes.push(note);\r\n this.data.statusId = ScheduleStatusEnum.refuseExtension;\r\n this.dialogRef.close(this.data);\r\n }\r\n\r\n public noWhitespaceValidator(control: FormControl) {\r\n const isWhitespace = (control.value || '').trim().length === 0;\r\n const isValid = !isWhitespace;\r\n return isValid ? null : { 'whitespace': true };\r\n }\r\n\r\n public header(data: any) {\r\n return data.replace(/\\
    /gi, \", \");\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n Reject extension to {{ header(data.name) }}\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Reason\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Submit\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { FormGroup, Validators, FormControl } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ScheduleStatusEnum } from '../../models/enums';\r\nimport { Schedule } from '../../models/schedule';\r\nimport { ScheduleNote } from '../../models/schedule-note';\r\nimport { NoteType } from 'src/app/services/notes/note.model';\r\n\r\n@Component({\r\n selector: 'app-request-extension',\r\n templateUrl: './request-extension.component.html',\r\n styleUrls: ['./request-extension.component.scss']\r\n})\r\nexport class RequestExtensionComponent extends BaseComponent implements OnInit {\r\n\r\n formNote!: FormGroup;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: Schedule) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.formNote = this.formBuilder.group({\r\n description: ['', [Validators.required, this.noWhitespaceValidator]],\r\n scheduleId: [],\r\n isExtension: [],\r\n userId: [],\r\n extendedDate: ['', Validators.required]\r\n });\r\n this.formNote.controls['scheduleId'].setValue(this.data.statusId);\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onSubmit() {\r\n this.formNote.controls['isExtension'].setValue(true);\r\n const note = this.formNote.value as ScheduleNote;\r\n note.type = NoteType.Extension;\r\n this.data.notes.push(note);\r\n this.data.isExtended = this.formNote.controls['isExtension'].value;\r\n this.data.extendedFor = this.formNote.controls['extendedDate'].value;\r\n this.data.beforeStatusId = this.data.statusId;\r\n this.data.beforeStatusTime = this.data.statusTime;\r\n this.data.statusId = ScheduleStatusEnum.requestExtension;\r\n this.dialogRef.close(this.data);\r\n }\r\n\r\n public noWhitespaceValidator(control: FormControl) {\r\n const isWhitespace = (control.value || '').trim().length === 0;\r\n const isValid = !isWhitespace;\r\n return isValid ? null : { 'whitespace': true };\r\n }\r\n\r\n public header(data: any) {\r\n return data.replace(/\\
    /gi, \", \");\r\n }\r\n}\r\n","
    \r\n
    \r\n Request Extension for {{ header(data.name) }}\r\n {{ data.subtype ? \"--\" + data.subtype.name : null }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Extension Date\r\n \r\n \r\n \r\n Date must be greater than grace period\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Reason\r\n \r\n Reason is required\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Submit\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, Input } from '@angular/core';\r\nimport { Schedule } from '../../models/schedule';\r\nimport { ScheduleStatusEnum } from '../../models/enums';\r\nimport { ScheduleValidations } from '../../share/schedule-validations';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { ScheduleType } from '../../models/schedule-type';\r\n\r\n@Component({\r\n selector: 'schedule-menu',\r\n templateUrl: './schedule-menu.component.html',\r\n styleUrls: ['./schedule-menu.component.scss']\r\n})\r\nexport class ScheduleMenuComponent {\r\n @Input() schedule!: Schedule;\r\n @Input() scheduleType?: ScheduleType;\r\n\r\n @Input() getColor!: (schedule: Schedule, isSubDetail: boolean) => string;\r\n @Input() validateShowMenu!: (currentStatus: ScheduleStatusEnum, schedule: Schedule) => boolean;\r\n @Input() validateAction!: (currentStatus: ScheduleStatusEnum, nextStatus: ScheduleStatusEnum) => boolean;\r\n @Input() openEditSchedule!: (element: Schedule) => void;\r\n @Input() openAddNote!: (schedule: Schedule) => void;\r\n @Input() openCompleteSchedule!: (element: Schedule, status: ScheduleStatusEnum) => void;\r\n @Input() changeStatus!: (schedule: Schedule | null, status: ScheduleStatusEnum) => void;\r\n @Input() grantExtension!: (element: Schedule, extensionGranted: ScheduleStatusEnum) => void;\r\n @Input() deleteSchedule!: (element: Schedule) => void;\r\n @Input() openEditScheduledFor!: (element: Schedule) => void;\r\n\r\n\r\n ScheduleStatus = ScheduleStatusEnum;\r\n sv = ScheduleValidations;\r\n\r\n constructor(public tokenInfo: TokenInfoService) { }\r\n}\r\n","\r\n \r\n more_vert\r\n \r\n \r\n \r\n \r\n edit\r\n Edit\r\n \r\n \r\n note_add\r\n Create Note\r\n \r\n \r\n done_outline\r\n Complete\r\n \r\n \r\n today\r\n Request extension\r\n \r\n \r\n offline_pin\r\n Grant extension\r\n \r\n \r\n unpublished\r\n Reject extension\r\n \r\n \r\n delete\r\n Delete schedule\r\n \r\n \r\n today\r\n Scheduled For\r\n \r\n \r\n\r\n","import { Component, Input } from '@angular/core';\r\nimport { Schedule, ScheduleSubdetail } from '../../models/schedule';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { ScheduleStatusEnum } from '../../models/enums';\r\nimport { ScheduleType } from '../../models/schedule-type';\r\nimport { ScheduleValidations } from '../../share/schedule-validations';\r\n\r\n@Component({\r\n selector: 'schedule-subdetail-menu',\r\n templateUrl: './schedule-subdetail-menu.component.html',\r\n styleUrls: ['./schedule-subdetail-menu.component.scss']\r\n})\r\nexport class ScheduleSubdetailMenuComponent {\r\n @Input() schedule!: Schedule;\r\n @Input() scheduleType?: ScheduleType;\r\n\r\n @Input() getColor!: (schedule: Schedule, isSubDetail: boolean) => string;\r\n @Input() validateShowMenu!: (currentStatus: ScheduleStatusEnum, schedule: Schedule) => boolean;\r\n @Input() validateAction!: (currentStatus: ScheduleStatusEnum, nextStatus: ScheduleStatusEnum) => boolean;\r\n @Input() openEditSchedule!: (element: Schedule) => void;\r\n @Input() openAddNoteSub!: (schedule: Schedule) => void;\r\n @Input() openCompleteSubdetail!: (element: ScheduleSubdetail, status: ScheduleStatusEnum) => void;\r\n @Input() requestRejectExtensionSubdetail!: (schedule: Schedule | null, status: ScheduleStatusEnum) => void;\r\n @Input() grantExtensionSubdetail!: (element: ScheduleSubdetail, extensionGranted: ScheduleStatusEnum) => void;\r\n @Input() deleteSchedule!: (element: Schedule) => void;\r\n @Input() openEditScheduledFor!: (element: Schedule) => void;\r\n\r\n\r\n ScheduleStatus = ScheduleStatusEnum;\r\n sv = ScheduleValidations;\r\n\r\n constructor(public tokenInfo: TokenInfoService) { }\r\n}\r\n","\r\n \r\n more_vert\r\n \r\n \r\n \r\n note_add\r\n Create Note\r\n \r\n \r\n today\r\n Request extension\r\n \r\n \r\n offline_pin\r\n Grant extension\r\n \r\n \r\n unpublished\r\n Reject extension\r\n \r\n \r\n done_outline\r\n Complete\r\n \r\n \r\n\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, Input } from '@angular/core';\r\nimport { Schedule } from '../../models/schedule';\r\nimport { Note } from 'src/app/services/notes/note.model';\r\n\r\n@Component({\r\n selector: 'schedule-tab-cell',\r\n templateUrl: './schedule-tab-cell.component.html',\r\n styleUrls: ['./schedule-tab-cell.component.scss']\r\n})\r\nexport class ScheduleTabCellComponent {\r\n @Input() schedule!: Schedule;\r\n @Input() mainProperty?: string; // Accepting actual values instead of strings\r\n @Input() mainPropertyName?: string;\r\n @Input() subdetailProperty?: string; // Accepting actual values instead of strings\r\n @Input() filter?: string;\r\n @Input() getColor!: (schedule: Schedule, isSubDetail: boolean) => string;\r\n @Input() deleteNote!: (schedule: Schedule, note: Note) => void;\r\n @Input() deleteNoteSub!: (schedule: Schedule, note: Note) => void;\r\n @Input() hutchCondition?: boolean;\r\n\r\n constructor(private datePipe: DatePipe) { }\r\n\r\n ngOnInit() {\r\n console.log('Main Property Name:', this.mainPropertyName);\r\n console.log('Main Property:', this.mainProperty);\r\n console.log('Subdetail Property:', this.subdetailProperty);\r\n }\r\n\r\n format(value: any, isSubdetail = false): string {\r\n // Special case for extendedDate\r\n if (this.mainPropertyName == 'extendedDate') {\r\n if (!isSubdetail)\r\n return (this.schedule.extendedDate ?\r\n this.datePipe.transform(this.schedule.extendedDate, 'M/d/yy') + '
    ' : '') +\r\n (this.schedule.extendedFor ? 'Requested for ' + this.datePipe.transform(this.schedule.extendedFor, 'M/d/yy') : '');\r\n if (isSubdetail)\r\n return (this.schedule.subdetail?.extendedDate ? this.datePipe.transform(this.schedule.subdetail?.extendedDate, 'M/d/yy') + '
    ' : '') + (this.schedule.subdetail?.extendedFor ? 'Requested for ' + this.datePipe.transform(this.schedule.subdetail?.extendedFor, 'M/d/yy') : '');\r\n }\r\n\r\n // Check if the value is null, undefined, or not a valid date string\r\n if (!value) return '';\r\n\r\n // Use a strict regex to validate date strings (e.g., 'YYYY-MM-DD', 'MM/DD/YYYY', etc.)\r\n const dateRegex = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$/;\r\n\r\n // If the value doesn't match the regex, return it as is\r\n if (!dateRegex.test(value)) {\r\n return value;\r\n }\r\n // Try to create a Date object\r\n const parsedDate = new Date(value);\r\n\r\n // Check if the parsed date is valid\r\n if (isNaN(parsedDate.getTime())) {\r\n return value; // Return the original value if it's not a valid date\r\n }\r\n\r\n // Return the formatted date\r\n return this.datePipe.transform(parsedDate, 'M/d/yy') || '';\r\n }\r\n\r\n}\r\n","
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, Input, OnChanges, ViewChild, ElementRef, ViewChildren, ViewContainerRef, QueryList, OnDestroy, Output, EventEmitter, Injector, SimpleChanges } from '@angular/core';\r\nimport { CompleteScheduleComponent } from './complete-schedule/complete-schedule.component';\r\nimport { ScheduleValidations } from './../share/schedule-validations';\r\nimport { AddScheduleComponent } from './add-schedule/add-schedule.component';\r\nimport { AddNoteComponent } from './add-note/add-note.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { AbsiService } from '../../absi/absi.service';\r\nimport { CatalogService } from '../../catalogs/catalog-service';\r\nimport { ProcedureRefresh } from '../../procedure/store/procedure/procedure.action';\r\nimport { ScheduleStatusEnum, ScheduleStatusTimeEnum, } from '../models/enums';\r\nimport { Schedule, ScheduleSubdetail } from '../models/schedule';\r\nimport { ScheduleNote } from '../models/schedule-note';\r\nimport { ScheduleResourcesByTab, ScheduleResources } from '../models/schedule-resources';\r\nimport { ScheduleSubtype } from '../models/schedule-subtype';\r\nimport { ScheduleType } from '../models/schedule-type';\r\nimport { ScheduleService } from '../services/schedule.service';\r\nimport { SchedulesCreate, SchedulesUpdate, SchedulesDelete } from '../store/schedules/schedule.action';\r\nimport { EditScheduledForComponent } from './edit-scheduled-for/edit-scheduled-for.component';\r\nimport { RejectExtensionComponent } from './reject-extension/reject-extension.component';\r\nimport { RequestExtensionComponent } from './request-extension/request-extension.component';\r\nimport { ScheduleNoteService } from '../services/schedule-note.service';\r\nimport { ScheduleSubdetailNoteService } from '../services/schedule-subdetail-note.service';\r\nimport { ScheduleSubTypeService } from '../services/schedule-subtype.service';\r\nimport moment from 'moment';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { Note, NoteType } from 'src/app/services/notes/note.model';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'app-schedule-tab',\r\n templateUrl: './schedule-tab.component.html',\r\n styleUrls: ['./schedule-tab.component.scss']\r\n})\r\nexport class ScheduleTabComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() showCompleted!: boolean;\r\n @Input() scheduleType?: ScheduleType;\r\n @Input() scheduleSubtype!: ScheduleSubtype;\r\n @Input() showFilter: boolean = true;\r\n @Input() showHeader: boolean = false;\r\n @Input() readOnly!: boolean;\r\n @Input() refreshData!: boolean;\r\n @Input() tabIndex!: number;\r\n @Input() tabName!: string;\r\n @Input() filter!: string;\r\n @Output() locations = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild('scheduleTable')\r\n scheduleTable!: ElementRef;\r\n\r\n tableWidth = '';\r\n displayedColumnsSchedule: string[] = ['resource', 'procedureNumber', 'lastDate', 'dueDate', 'scheduleDate', 'extendedDate', 'notes', 'status', 'options'];\r\n schedulesData!: Schedule[];\r\n\r\n\r\n // @Input() scheduleTab: ScheduleCustomTab;\r\n dataSource = new MatTableDataSource();\r\n ScheduleStatus = ScheduleStatusEnum;\r\n ScheduleStatusTime = ScheduleStatusTimeEnum;\r\n ScheduleNoteType = NoteType;\r\n\r\n resourceType!: number;\r\n // @ViewChild('typeContainer') typeContainer: ElementRef;\r\n currentColor!: string;\r\n currentSubColor!: string;\r\n iteraciones = 0;\r\n showTypeCol = false;\r\n allSubtypes: ScheduleSubtype[] = [];\r\n sv = ScheduleValidations;\r\n messageTime = 3000;\r\n headerOnTop = false;\r\n closeToTop = false;\r\n maxHeight = null;\r\n\r\n procedures!: Procedure[];\r\n procedures$!: Observable;\r\n procedureSubscription!: Subscription;\r\n functionalKeyWord = 'Functional';\r\n hutchKeyWord = 'Hutch';\r\n locationsByTab!: ScheduleResourcesByTab;\r\n // locations: Resource[];\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n schedulesSubs!: Subscription;\r\n\r\n selectedRow?: number;\r\n dateFormat?: string;\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef })\r\n rows!: QueryList;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private serviceSchedule: ScheduleService,\r\n private serviceNotes: ScheduleNoteService,\r\n private serviceSubdetailNotes: ScheduleSubdetailNoteService,\r\n public tokenInfo: TokenInfoService,\r\n public subtypeService: ScheduleSubTypeService,\r\n private catalogService: CatalogService,\r\n ) {\r\n super(injector);\r\n // Schedule\r\n this.changeStatus = this.changeStatus.bind(this);\r\n this.openEditSchedule = this.openEditSchedule.bind(this);\r\n this.deleteNote = this.deleteNote.bind(this);\r\n this.deleteNoteSub = this.deleteNoteSub.bind(this);\r\n this.openAddNote = this.openAddNote.bind(this);\r\n this.openCompleteSchedule = this.openCompleteSchedule.bind(this);\r\n this.validateAction = this.validateAction.bind(this);\r\n this.grantExtension = this.grantExtension.bind(this);\r\n this.deleteSchedule = this.deleteSchedule.bind(this);\r\n this.openEditScheduledFor = this.openEditScheduledFor.bind(this);\r\n\r\n //ScheduleSubdetail\r\n this.requestRejectExtensionSubdetail = this.requestRejectExtensionSubdetail.bind(this);\r\n this.grantExtensionSubdetail = this.grantExtensionSubdetail.bind(this);\r\n this.openAddNoteSub = this.openAddNoteSub.bind(this);\r\n this.deleteNoteSub = this.deleteNoteSub.bind(this);\r\n this.openCompleteSubdetail = this.openCompleteSubdetail.bind(this);\r\n\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.procedureSubscription?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n this.procedureSubscription?.unsubscribe();\r\n this.schedulesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n refreshLocations() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n const resourceTypesArray =\r\n this.scheduleSubtype ?\r\n this.scheduleSubtype?.resourceTypeIds ? JSON.parse(this.scheduleSubtype?.resourceTypeIds).map(Number) :\r\n (this.scheduleType?.resourceTypeIds ?\r\n JSON.parse(this.scheduleType?.resourceTypeIds).map(Number) : new Array()) : this.scheduleType?.resourceTypeIds ?\r\n JSON.parse(this.scheduleType?.resourceTypeIds).map(Number) : new Array();\r\n this.locationsByTab = {\r\n tabId: this.tabIndex,\r\n scheduleType: this.scheduleType,\r\n scheduleSubtype: this.scheduleSubtype,\r\n resources: data.filter(x => resourceTypesArray.includes(x.type)).sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name)).filter(x => !this.serviceSchedule.locationIDs.includes(x.id))\r\n } as ScheduleResourcesByTab;\r\n this.locations.emit(this.locationsByTab);\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['tabIndex']) {\r\n if (!this.tabIndex) {\r\n this.headerOnTop = false;\r\n this.closeToTop = false;\r\n if (this.tableWidth === '0px') {\r\n this.tableWidth = '100%';\r\n }\r\n }\r\n }\r\n this.getSchedules();\r\n this.refreshLocations();\r\n this.showTypeCol = this.scheduleType?.id == 1 || this.scheduleType?.id == 5 || !this.scheduleType?.tabColumns;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadProcedures();\r\n this.refreshLocations();\r\n this.dataSource.filterPredicate = (data, filter) => {\r\n filter = filter.toLowerCase();\r\n\r\n if (this.functionalKeyWord.toLowerCase().includes(filter) && data.subdetail != null && data.subtype?.name?.toLowerCase().includes(this.hutchKeyWord.toLowerCase())) {\r\n return data.subtype?.name?.toLowerCase().includes(this.hutchKeyWord.toLowerCase());\r\n }\r\n return data.name?.toLowerCase().includes(filter) ||\r\n data.procedure?.procedureNumber?.toLowerCase().includes(filter) ||\r\n data.subtype?.name?.toLowerCase().includes(filter) ||\r\n this.ScheduleStatusTime[data.statusTime].toLowerCase().includes(filter);\r\n };\r\n }\r\n\r\n loadProcedures() {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.procedureSubscription = this.procedures$.subscribe(procedures => {\r\n if (procedures) {\r\n this.procedures = procedures;\r\n this.updateScheduleData(this.schedulesData);\r\n }\r\n // else {\r\n // this.store.dispatch(new ProcedureRefresh());\r\n // }\r\n });\r\n }\r\n\r\n getRowPosition(row: any): number {\r\n let i = this.dataSource.data.findIndex(r => {\r\n return r.id == row.id;\r\n });\r\n return i;\r\n }\r\n\r\n showIndex(id: number) {\r\n const element = this.dataSource.data.findIndex(x => x.id == id);\r\n setTimeout(() => {\r\n this.showElement(element, 7);\r\n this.loading.emit(false);\r\n }, 300);\r\n }\r\n\r\n showElement(index: number, height: number) {\r\n const indexstr = index.toString();\r\n const row = this.rows.find(row => row.element.nativeElement.getAttribute('position') === indexstr);\r\n if (row != null) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if ((rect.y <= 0) || ((rect.y + rect.height) > height)) {\r\n row.element.nativeElement.scrollIntoView(false, { behavior: 'instant' });\r\n }\r\n return;\r\n }\r\n console.log('There was not possible scroll to the element specified. Element not found.');\r\n }\r\n\r\n changeSort(event: any) {\r\n let result: Schedule[] = [];\r\n switch (event.active) {\r\n case 'resource':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n case 'desc':\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name)).reverse();\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n }\r\n break;\r\n case 'procedureNumber':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.objectType, b.objectType));\r\n break;\r\n case 'desc':\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.objectType, b.objectType)).reverse();\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.objectType, b.objectType));\r\n break;\r\n }\r\n break;\r\n case 'dueDate':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.sortByDueDate(this.dataSource.data, 'asc');\r\n break;\r\n case 'desc':\r\n result = this.sortByDueDate(this.dataSource.data, 'desc');\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n }\r\n break;\r\n case 'lastDate':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.dataSource.data.sort((a, b) => moment(a.lastCompleted).isAfter(b.lastCompleted) ? 1 : -1);\r\n break;\r\n case 'desc':\r\n result = this.dataSource.data.sort((a, b) => moment(a.lastCompleted).isAfter(b.lastCompleted) ? -1 : 1);\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n }\r\n break;\r\n case 'scheduleDate':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.dataSource.data.sort((a, b) => !a.scheduleFor ? 1 : !b.scheduleFor ? -1 : a.scheduleFor > b.scheduleFor ? 1 : -1);\r\n break;\r\n case 'desc':\r\n result = this.dataSource.data.sort((a, b) => !a.scheduleFor ? 1 : !b.scheduleFor ? -1 : a.scheduleFor > b.scheduleFor ? -1 : 1);\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n }\r\n break;\r\n case 'extendedDate':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.dataSource.data.sort((a, b) => moment(a.extendedDate).isAfter(b.extendedDate) ? 1 : -1);\r\n break;\r\n case 'desc':\r\n result = this.dataSource.data.sort((a, b) => moment(a.extendedDate).isAfter(b.extendedDate) ? -1 : 1);\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n }\r\n break;\r\n case 'status':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.dataSource.data.sort((a, b) => ScheduleStatusTimeEnum[a.statusTime].localeCompare(ScheduleStatusTimeEnum[b.statusTime]));\r\n break;\r\n case 'desc':\r\n result = this.dataSource.data.sort((a, b) => ScheduleStatusTimeEnum[b.statusTime].localeCompare(ScheduleStatusTimeEnum[a.statusTime]));\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n }\r\n break;\r\n case 'subType':\r\n switch (event.direction) {\r\n case 'asc':\r\n result = this.dataSource.data.sort((a, b) => this.utils.sort(a.scheduleSubtypeId, b.scheduleSubtypeId));\r\n break;\r\n case 'desc':\r\n result = this.dataSource.data.sort((a, b) => this.utils.sort(a.scheduleSubtypeId, b.scheduleSubtypeId, false));\r\n break;\r\n default:\r\n result = this.dataSource.data.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n break;\r\n }\r\n break;\r\n }\r\n this.dataSource.data = result;\r\n }\r\n\r\n applyFilterSchedule() {\r\n const filterValue = this.filter;\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n }\r\n\r\n getLocationsByTab(): ScheduleResources[] {\r\n return this.locationsByTab.resources.map(res => {\r\n return { resource: res } as ScheduleResources;\r\n });\r\n }\r\n\r\n addSchedule() {\r\n const allLocations: ScheduleResources[] = this.getLocationsByTab();\r\n const dialogRef = this.dialog.open(AddScheduleComponent, {\r\n width: '40vw',\r\n data: { scheduleType: this.scheduleType, scheduleSubtype: this.scheduleSubtype, allLocations, absiType: null, schedule: null, scheduleLocationsId: this.serviceSchedule.locationIDs }\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.loading.emit(true);\r\n this.serviceSchedule.create(result).subscribe(response => {\r\n if (response) {\r\n this.selectedRow = response.id;\r\n this.acquaintSchedule(response);\r\n this.schedulesData.push(response);\r\n\r\n response.scheduleResources.map(scheduleResource => {\r\n if (scheduleResource.resourceId) {\r\n this.serviceSchedule.locationIDs.push(scheduleResource.resourceId);\r\n }\r\n });\r\n this.updateScheduleData(this.schedulesData);\r\n this.alert.message('create', [new MessagePlaceholder('{what}', 'Schedule')]);\r\n this.store.dispatch(new SchedulesCreate(response));\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n openAddNote(schedule: Schedule) {\r\n const dialogRef = this.dialog.open(AddNoteComponent, {\r\n width: '20em',\r\n data: schedule\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.selectedRow = schedule.id;\r\n this.loading.emit(true);\r\n this.serviceNotes.create(result).subscribe(response => {\r\n if (response) {\r\n schedule.notes.push(response);\r\n this.updateScheduleData(this.dataSource.data);\r\n this.alert.message('add', [new MessagePlaceholder('{what}', 'Note')]);\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n openAddNoteSub(schedule: Schedule) {\r\n const dialogRef = this.dialog.open(AddNoteComponent, {\r\n width: '20em',\r\n data: schedule\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.selectedRow = schedule.id;\r\n this.loading.emit(true);\r\n result.scheduleSubdetailId = schedule.subdetail?.id;\r\n this.serviceSubdetailNotes.create(result).subscribe(response => {\r\n if (response) {\r\n // if (schedule.subdetail && !schedule.subdetail?.notes) {\r\n // schedule.subdetail.notes = [];\r\n // }\r\n schedule.subdetail?.notes.push(response);\r\n // this.updateScheduleData(this.dataSource.data);\r\n this.alert.message('add', [new MessagePlaceholder('{what}', 'Note')]);\r\n this.loading.emit(false);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n deleteNote(schedule: Schedule, note: Note) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage('Confirm_Note_Delete_Question').description,\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.selectedRow = schedule.id;\r\n this.loading.emit(true);\r\n this.serviceNotes.delete(note.id).subscribe(response => {\r\n if (response) {\r\n // schedule.notes = (schedule.notes as Note[])?.filter((n: { id: number }) => n.id !== note.id);\r\n // this.updateScheduleData(this.dataSource.data);\r\n this.alert.message('CommentDeleted', [new MessagePlaceholder('{what}', 'Note')]);\r\n }\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n\r\n }\r\n\r\n deleteNoteSub(schedule: Schedule, note: Note) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage('Confirm_Note_Delete_Question').description,\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.selectedRow = schedule.id;\r\n this.loading.emit(true);\r\n this.serviceSubdetailNotes.delete(note.id).subscribe(response => {\r\n if (response && schedule.subdetail) {\r\n schedule.subdetail.notes = (schedule.subdetail?.notes as Note[])?.filter((n: { id: number }) => n.id !== note.id);\r\n this.updateScheduleData(this.dataSource.data);\r\n this.alert.message('CommentDeleted', [new MessagePlaceholder('{what}', 'Note')]);\r\n }\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n async openRequestExtension(schedule: Schedule | ScheduleSubdetail | null): Promise {\r\n const dialogRef = this.dialog.open(RequestExtensionComponent, {\r\n width: '20em',\r\n data: schedule\r\n });\r\n const resultSch = await dialogRef.afterClosed().toPromise();\r\n this.selectedRow = schedule?.id;\r\n if (resultSch) {\r\n if (typeof (resultSch) === 'string') {\r\n this.alert.error(resultSch);\r\n return null;\r\n }\r\n }\r\n return resultSch;\r\n }\r\n\r\n async getSubtypes() {\r\n this.allSubtypes = (await this.subtypeService.getAll().toPromise()) ?? [];\r\n }\r\n\r\n async openRejectExtension(schedule: Schedule | ScheduleSubdetail | null): Promise {\r\n const dialogRef = this.dialog.open(RejectExtensionComponent, {\r\n width: '20em',\r\n data: schedule\r\n });\r\n const resultSch = await dialogRef.afterClosed().toPromise();\r\n this.selectedRow = schedule?.id;\r\n if (resultSch) {\r\n if (typeof (resultSch) === 'string') {\r\n this.alert.error(resultSch);\r\n return null;\r\n }\r\n }\r\n return resultSch;\r\n }\r\n\r\n openEditScheduledFor(schedule: Schedule) {\r\n const dialogRef = this.dialog.open(EditScheduledForComponent, {\r\n data: schedule\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.selectedRow = schedule?.id;\r\n this.loading.emit(true);\r\n const scheduleIndex = this.schedulesData.indexOf(schedule);\r\n this.serviceSchedule.update(result).toPromise().then(response => {\r\n if (response) {\r\n const schedule = response as Schedule;\r\n schedule.scheduleResources.map(scheduleResource => {\r\n if (scheduleResource.resourceId) {\r\n this.serviceSchedule.locationIDs.splice(this.serviceSchedule.locationIDs.indexOf(scheduleResource.resourceId), 1);\r\n }\r\n });\r\n schedule.scheduleResources.map(scheduleResource => {\r\n if (scheduleResource.resourceId) {\r\n this.serviceSchedule.locationIDs.push(scheduleResource.resourceId);\r\n }\r\n });\r\n this.acquaintSchedule(schedule);\r\n this.schedulesData.splice(scheduleIndex, 1, schedule);\r\n this.updateScheduleData(this.schedulesData);\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Schedule')]);\r\n this.store.dispatch(new SchedulesUpdate(schedule.id, schedule));\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n getSchedules() {\r\n this.loading.emit(true);\r\n if (this.scheduleType) {\r\n if (this.scheduleType.id === 5 || (!this.scheduleType.tabColumns && this.scheduleType.procedureTypeID)) {\r\n this.displayedColumnsSchedule = ['resource', 'procedureNumber', 'subType', 'lastDate', 'dueDate', 'scheduleDate', 'extendedDate', 'notes', 'status', 'options'];\r\n }\r\n else if (this.scheduleType.procedureTypeID || this.scheduleSubtype?.procedureTypeID) {\r\n this.displayedColumnsSchedule = ['resource', 'procedureNumber', 'lastDate', 'dueDate', 'scheduleDate', 'extendedDate', 'notes', 'status', 'options'];\r\n } else {\r\n this.displayedColumnsSchedule = ['resource', 'lastDate', 'dueDate', 'scheduleDate', 'extendedDate', 'notes', 'status', 'options'];\r\n }\r\n\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.subscribe(data => {\r\n this.schedules = data;\r\n const allSchedules = this.schedules.filter(x => x.typeId == this.scheduleType?.id);\r\n if (this.scheduleType?.tabColumns) {\r\n allSchedules.map(s => {\r\n if (s.scheduleSubtypeId == null) {\r\n s.scheduleSubtypeId = this.scheduleType?.scheduleSubtypes[0]?.id;\r\n s.subtype = this.scheduleType?.scheduleSubtypes[0];\r\n }\r\n });\r\n this.schedulesData = allSchedules.filter(x => x.scheduleSubtypeId == this.scheduleSubtype?.id).map(v => {\r\n this.acquaintSchedule(v);\r\n return v;\r\n });\r\n }\r\n else {\r\n this.schedulesData = allSchedules.map(v => {\r\n this.acquaintSchedule(v);\r\n return v;\r\n });\r\n }\r\n // this.updateScheduleData(this.schedulesData);\r\n this.serviceSchedule.getLocationsIdBySchedules(this.schedulesData);\r\n if (this.catalogService.currentDocSchedule !== undefined && this.catalogService.currentDocSchedule !== null) {\r\n this.showIndex(this.catalogService.currentDocSchedule.id);\r\n }\r\n this.loadProcedures();\r\n this.loading.emit(false);\r\n this.dateFormat = this.scheduleSubtype ? this.scheduleSubtype.dateFormat : this.scheduleType?.dateFormat;\r\n });\r\n }\r\n }\r\n\r\n async changeStatus(schedule: Schedule | null, status: ScheduleStatusEnum) {\r\n switch (status) {\r\n case ScheduleStatusEnum.requestExtension:\r\n schedule = (await this.openRequestExtension(schedule)) as Schedule;\r\n break;\r\n case ScheduleStatusEnum.refuseExtension:\r\n schedule = (await this.openRejectExtension(schedule)) as Schedule;\r\n break;\r\n }\r\n\r\n if (schedule != null) {\r\n schedule.statusId = status;\r\n this.updateScheduleStatus(schedule);\r\n }\r\n }\r\n\r\n async requestRejectExtensionSubdetail(schedule: Schedule | null, status: ScheduleStatusEnum) {\r\n if (schedule?.subdetail) {\r\n this.selectedRow = schedule?.id;\r\n schedule.subdetail.name = schedule.name + ' -- Hutch Functional';\r\n let scheduleSubdetail = {} as ScheduleSubdetail;\r\n switch (status) {\r\n case ScheduleStatusEnum.requestExtension:\r\n scheduleSubdetail = (await this.openRequestExtension(schedule.subdetail)) as ScheduleSubdetail;\r\n break;\r\n case ScheduleStatusEnum.refuseExtension:\r\n scheduleSubdetail = (await this.openRejectExtension(schedule.subdetail)) as ScheduleSubdetail;\r\n break;\r\n }\r\n\r\n if (scheduleSubdetail != null) {\r\n scheduleSubdetail.statusId = status;\r\n this.changeStatusSubdetail(scheduleSubdetail, status);\r\n }\r\n }\r\n }\r\n\r\n editScheduledFor(schedule: Schedule) {\r\n if (schedule) {\r\n this.selectedRow = schedule?.id;\r\n this.openEditScheduledFor(schedule);\r\n }\r\n }\r\n\r\n\r\n changeStatusSubdetail(subdetail: ScheduleSubdetail, status: ScheduleStatusEnum) {\r\n if (subdetail) {\r\n subdetail.statusId = status;\r\n this.selectedRow = subdetail.scheduleId;\r\n const lastSubdetail = this.schedulesData.find(x => x.subdetail?.id === subdetail.id);\r\n if (lastSubdetail) {\r\n this.loading.emit(true);\r\n const last = this.schedulesData.indexOf(lastSubdetail);\r\n this.serviceSchedule.updateSubdetailStatus(subdetail).subscribe(response => {\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Schedule')]);\r\n });\r\n }\r\n }\r\n }\r\n\r\n updateScheduleStatus(schedule: Schedule) {\r\n this.loading.emit(true);\r\n this.selectedRow = schedule?.id;\r\n const last = this.schedulesData.indexOf(schedule);\r\n if (schedule.statusId === ScheduleStatusEnum.completed) {\r\n this.serviceSchedule.updateStatus(schedule).subscribe(data => {\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Schedule')]);\r\n });\r\n } else {\r\n this.serviceSchedule.updateStatus(schedule).subscribe(response => {\r\n const schedulechange = response as Schedule;\r\n this.acquaintSchedule(schedulechange);\r\n this.schedulesData.splice(last, 1, schedulechange);\r\n this.updateScheduleData(this.schedulesData);\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Schedule')]);\r\n this.store.dispatch(new SchedulesUpdate(schedule.id, schedule));\r\n });\r\n }\r\n }\r\n\r\n removeItem(array: any, value: any): any {\r\n const index: number = array.indexOf(value);\r\n array.splice(index, 1);\r\n return index;\r\n }\r\n\r\n validateAction(currentStatus: ScheduleStatusEnum, nextStatus: ScheduleStatusEnum): boolean {\r\n if (currentStatus === ScheduleStatusEnum.completed) {\r\n return false;\r\n }\r\n switch (nextStatus) {\r\n case ScheduleStatusEnum.completed:\r\n if (currentStatus === ScheduleStatusEnum.new || currentStatus === ScheduleStatusEnum.extensionGranted) {\r\n return true;\r\n }\r\n return true;\r\n case ScheduleStatusEnum.requestExtension:\r\n if (currentStatus === ScheduleStatusEnum.new || currentStatus === ScheduleStatusEnum.extensionGranted) {\r\n return true;\r\n }\r\n return false;\r\n case ScheduleStatusEnum.extensionGranted:\r\n case ScheduleStatusEnum.refuseExtension:\r\n if (currentStatus === ScheduleStatusEnum.requestExtension) {\r\n return true;\r\n }\r\n return false;\r\n case ScheduleStatusEnum.remove:\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n changeCompleted(data: boolean) {\r\n this.showCompleted = data;\r\n this.updateScheduleData(this.schedulesData);\r\n }\r\n\r\n filterData() {\r\n\r\n }\r\n\r\n updateScheduleData(data: Schedule[]) {\r\n data.map(schedule => {\r\n this.sortNotesDesc(schedule.notes as ScheduleNote[]);\r\n });\r\n data = this.sortByDueDate(data, 'asc');\r\n this.dataSource = new MatTableDataSource(this.showCompleted ? data : data.filter(x => x.statusId !== ScheduleStatusEnum.completed));\r\n\r\n this.dataSource.data.map(s => {\r\n s.procedure = this.procedures.find(p => p.procedureMasterID == s.procedureMasterID && p.active);\r\n });\r\n this.dataSource.filterPredicate = (data: any, filter: string): boolean => {\r\n // Convert the entire row data to a string\r\n const normalizedData = JSON.stringify(data)\r\n .trim()\r\n .toLowerCase()\r\n .replace(/[\\s\\-\\/]/g, ''); // Remove spaces, dashes, and slashes\r\n\r\n // Normalize the filter value\r\n const normalizedFilter = filter\r\n .trim()\r\n .toLowerCase()\r\n .replace(/[\\s\\-\\/]/g, ''); // Remove spaces, dashes, and slashes\r\n\r\n return normalizedData.includes(normalizedFilter);\r\n };\r\n this.dataSource.filter = this.filter?.trim().toLowerCase();\r\n }\r\n\r\n openEditSchedule(schedule: Schedule) {\r\n const scheduleCloned = utils.cloneDeep(schedule);\r\n let absiType = null;\r\n if (this.scheduleType?.id === 1) {\r\n absiType = scheduleCloned?.scheduleResources[0]?.resource?.absiTemplateTypeID ? scheduleCloned?.scheduleResources[0]?.resource?.absiTemplateTypeID : 0;\r\n }\r\n const allLocations: ScheduleResources[] = this.getLocationsByTab();\r\n\r\n const dialogRef = this.dialog.open(AddScheduleComponent, {\r\n width: '40vw',\r\n data: { scheduleType: this.scheduleType, scheduleSubtype: this.scheduleSubtype, allLocations, absiType, schedule: scheduleCloned, scheduleLocationsId: this.serviceSchedule.locationIDs }\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.selectedRow = schedule?.id;\r\n this.loading.emit(true);\r\n this.serviceSchedule.update(result).toPromise().then(response => {\r\n\r\n });\r\n\r\n }\r\n });\r\n }\r\n\r\n async openCompleteSchedule(schedule: Schedule, status: ScheduleStatusEnum) {\r\n const dialogRef = this.dialog.open(CompleteScheduleComponent, {\r\n width: '20em',\r\n data: schedule\r\n });\r\n const resultSch = await dialogRef.afterClosed().toPromise();\r\n if (resultSch) {\r\n this.loading.emit(true);\r\n this.selectedRow = schedule?.id;\r\n schedule.completedDate = resultSch;\r\n this.changeStatus(schedule, status);\r\n }\r\n }\r\n\r\n async openCompleteSubdetail(element: ScheduleSubdetail, status: ScheduleStatusEnum) {\r\n const dialogRef = this.dialog.open(CompleteScheduleComponent, {\r\n width: '20em',\r\n data: element\r\n });\r\n const resultSch = await dialogRef.afterClosed().toPromise();\r\n if (resultSch) {\r\n this.selectedRow = element.scheduleId;\r\n element.completedDate = resultSch;\r\n this.changeStatusSubdetail(element, status);\r\n }\r\n }\r\n\r\n grantExtension(schedule: Schedule, extensionGranted: ScheduleStatusEnum) {\r\n const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '20em',\r\n data: {\r\n message: 'Are you sure you want to grant this extension?',\r\n icon: 'warn',\r\n val: false\r\n }\r\n });\r\n removeRef.afterClosed().subscribe(result => {\r\n if (result != null) {\r\n this.selectedRow = schedule?.id;\r\n this.changeStatus(schedule, extensionGranted);\r\n }\r\n });\r\n }\r\n\r\n grantExtensionSubdetail(element: ScheduleSubdetail, extensionGranted: ScheduleStatusEnum) {\r\n const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '20em',\r\n data: {\r\n message: 'Are you sure you want to grant this extension?',\r\n icon: 'warn',\r\n val: false\r\n }\r\n });\r\n removeRef.afterClosed().subscribe(result => {\r\n if (result != null) {\r\n this.selectedRow = element.scheduleId;\r\n this.changeStatusSubdetail(element, extensionGranted);\r\n }\r\n });\r\n }\r\n\r\n deleteSchedule(element: Schedule) {\r\n const scheduleIndex = this.schedulesData.indexOf(element);\r\n const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '20em',\r\n data: {\r\n message: 'Are you sure you want to remove this schedule?',\r\n icon: 'stop',\r\n val: true\r\n }\r\n });\r\n removeRef.afterClosed().subscribe(result => {\r\n if (result != null && result) {\r\n this.serviceSchedule.delete(element.id).subscribe(response => {\r\n if (response) {\r\n this.store.dispatch(new SchedulesDelete(element.id));\r\n this.schedulesData.splice(scheduleIndex, 1);\r\n element.scheduleResources.map(scheduleResource => {\r\n if (scheduleResource.resourceId) {\r\n this.serviceSchedule.locationIDs.splice(this.serviceSchedule.locationIDs.indexOf(scheduleResource.resourceId), 1);\r\n }\r\n });\r\n this.updateScheduleData(this.schedulesData);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n acquaintSchedule(schedule: Schedule) {\r\n if (schedule.statusId === ScheduleStatusEnum.completed) {\r\n schedule.colorCompletedCol = '#ff0000';\r\n }\r\n if (schedule.notes?.length) {\r\n this.sortNotesDesc(schedule.notes as ScheduleNote[]);\r\n schedule.notes = this.getNotes(schedule.notes as ScheduleNote[]);\r\n }\r\n if (schedule.subdetail?.notes?.length) {\r\n schedule.subdetail.notes = this.getNotes(schedule.subdetail.notes as ScheduleNote[])\r\n }\r\n schedule.scheduleResources = schedule.scheduleResources?.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.resource?.name, b.resource?.name));\r\n schedule.name = schedule.scheduleResources?.map(val => {\r\n if (val.resourceId == null) {\r\n return val.resourceString;\r\n } else {\r\n return val.resource?.name;\r\n }\r\n }).join('
    ');\r\n }\r\n\r\n sortNotesDesc(notes: ScheduleNote[]) {\r\n notes?.sort((a, b) => new Date(b.createdOn).getTime() - new Date(a.createdOn).getTime());\r\n }\r\n\r\n validateShowMenu(currentStatus: ScheduleStatusEnum, schedule: Schedule) {\r\n if (this.readOnly) { return false; }\r\n if (this.sv.validateRole('updateSchedule', this.tokenInfo, this.scheduleType, schedule)) { return true; }\r\n if (this.sv.validateRole('editScheduledFor', this.tokenInfo, this.scheduleType, schedule)) { return true; }\r\n if (this.validateAction(currentStatus, this.ScheduleStatus.completed) && this.sv.validateRole('createNote', this.tokenInfo, this.scheduleType)) { return true; }\r\n if (this.validateAction(currentStatus, this.ScheduleStatus.completed) && this.sv.validateRole('completeSchedule', this.tokenInfo, this.scheduleType)) { return true; }\r\n if (this.validateAction(currentStatus, this.ScheduleStatus.requestExtension) && this.sv.validateRole('requestExtension', this.tokenInfo, this.scheduleType)) { return true; }\r\n if (this.validateAction(currentStatus, this.ScheduleStatus.extensionGranted) && this.sv.validateRole('grantExtension', this.tokenInfo, this.scheduleType, schedule)) { return true; }\r\n if (this.validateAction(currentStatus, this.ScheduleStatus.refuseExtension) && this.sv.validateRole('refuseSchedule', this.tokenInfo, this.scheduleType, schedule)) { return true; }\r\n if (this.validateAction(currentStatus, this.ScheduleStatus.remove) && this.sv.validateRole('deleteSchedule', this.tokenInfo, this.scheduleType, schedule)) { return true; }\r\n return false;\r\n }\r\n\r\n\r\n\r\n hutchGreaterThanHutchFunctional(schedule: Schedule): boolean {\r\n if (schedule.typeId === 5 && schedule.subdetail && schedule.scheduleSubtypeId === 2) {\r\n if (schedule.subdetail.nextDue < schedule.nextDue) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n sortByDueDate(schedules: Schedule[], order: string) {\r\n if (this.scheduleType?.id === 5) {\r\n schedules.map(x => {\r\n if (this.hutchGreaterThanHutchFunctional(x)) {\r\n x.nextDueToSort = x.subdetail?.nextDue;\r\n } else {\r\n x.nextDueToSort = x.nextDue;\r\n }\r\n });\r\n } else {\r\n schedules.map(x => {\r\n x.nextDueToSort = x.nextDue;\r\n });\r\n }\r\n if (order === 'asc') {\r\n schedules.sort((a, b) => moment(a.nextDueToSort).isAfter(b.nextDueToSort) ? 1 : -1);\r\n }\r\n if (order === 'desc') {\r\n schedules.sort((a, b) => moment(a.nextDueToSort).isAfter(b.nextDueToSort) ? -1 : 1);\r\n }\r\n return schedules;\r\n }\r\n\r\n getCellColor(item: Schedule, subDetail?: boolean) {\r\n\r\n const element = subDetail ? item.subdetail : item;\r\n let rowColor = 'transparent';\r\n if (element) {\r\n const currentDate = new Date();\r\n\r\n let expireDate = new Date();\r\n if (element.isExtended) {\r\n if (element.extendedDate)\r\n expireDate = new Date(element.extendedDate);\r\n } else {\r\n expireDate = new Date(element.nextDue);\r\n }\r\n const diffDates = Math.floor((Date.UTC(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate()) - Date.UTC(expireDate.getFullYear(), expireDate.getMonth(), expireDate.getDate())) / (1000 * 3600 * 24));\r\n const diffInDays = moment(currentDate).diff(moment(expireDate), 'days');\r\n\r\n const dateAbsoluteValue: number = Math.abs(diffDates);\r\n\r\n if (element.statusTime == ScheduleStatusTimeEnum.Good && dateAbsoluteValue <= 7) {\r\n rowColor = '#fcfbac80'; // yellow\r\n }\r\n else if (element.statusTime == ScheduleStatusTimeEnum.Grace || element.statusTime == ScheduleStatusTimeEnum.ExtensionGranted) {\r\n rowColor = '#ffc69480'; // orange\r\n }\r\n else if (element.statusTime == ScheduleStatusTimeEnum.Expired) {\r\n rowColor = '#ff949480'; // red\r\n }\r\n }\r\n return rowColor;\r\n }\r\n\r\n getNextDueTitle() {\r\n if (this.scheduleType?.id) {\r\n switch (this.scheduleType.id) {\r\n case 1: return 'Next Inspection Due';\r\n case 2: return 'Next Test Due';\r\n case 3: return 'Next Survey Due';\r\n case 4: return 'Next Survey Due';\r\n case 5: return 'Next Test Due';\r\n case 6:\r\n default: return 'Next Due';\r\n }\r\n }\r\n else return false;\r\n }\r\n\r\n getNotes(snotes?: ScheduleNote[] | null) {\r\n const notes: Note[] = [];\r\n snotes?.map(n => {\r\n notes.push({ id: n.id, user: n.user, userID: n.user?.id, description: n.description, date: n.createdOn, type: n.type, createdOn: n.createdOn });\r\n });\r\n return notes;\r\n }\r\n}\r\n","
    \r\n \r\n \r\n \r\n Location\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Procedure Number\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n Type \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Last Completed\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n {{ getNextDueTitle() }}\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Scheduled For\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Extended Date\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n Notes\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Options\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { FormControl, FormGroupDirective, FormsModule, NgForm, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { ScheduleRoutingModule } from './schedule-routing.module';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { RouterModule } from '@angular/router';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { MatFileUploadModule } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { SchedulesV2Component } from './schedules-v2.component';\r\nimport { ScheduleTabComponent } from './schedule-tab/schedule-tab.component';\r\nimport { AddNoteComponent } from './schedule-tab/add-note/add-note.component';\r\nimport { AddScheduleComponent } from './schedule-tab/add-schedule/add-schedule.component';\r\nimport { RequestExtensionComponent } from './schedule-tab/request-extension/request-extension.component';\r\nimport { RejectExtensionComponent } from './schedule-tab/reject-extension/reject-extension.component';\r\nimport { EditScheduledForComponent } from './schedule-tab/edit-scheduled-for/edit-scheduled-for.component';\r\nimport { CompleteScheduleComponent } from './schedule-tab/complete-schedule/complete-schedule.component';\r\nimport { EditRequestMessageComponent } from './dialogs/edit-request-message/edit-request-message.component';\r\nimport { AddReminderComponent } from './reminder-tab/add-reminder/add-reminder.component';\r\nimport { ReminderTabComponent } from './reminder-tab/reminder-tab.component';\r\nimport { ScheduleTabCellComponent } from './schedule-tab/schedule-tab-cell/schedule-tab-cell.component';\r\nimport { ScheduleMenuComponent } from './schedule-tab/schedule-menu/schedule-menu.component';\r\nimport { ScheduleSubdetailMenuComponent } from './schedule-tab/schedule-subdetail-menu/schedule-subdetail-menu.component';\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n SchedulesV2Component,\r\n ScheduleTabComponent,\r\n AddScheduleComponent,\r\n EditScheduledForComponent,\r\n CompleteScheduleComponent,\r\n AddNoteComponent,\r\n\r\n RequestExtensionComponent,\r\n RejectExtensionComponent,\r\n EditRequestMessageComponent,\r\n\r\n ReminderTabComponent,\r\n AddReminderComponent,\r\n ScheduleTabCellComponent,\r\n ScheduleMenuComponent,\r\n ScheduleSubdetailMenuComponent\r\n ],\r\n\r\n imports: [\r\n CommonModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n MatExpansionModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatSelectModule,\r\n MatInputModule,\r\n ScheduleRoutingModule,\r\n MatTooltipModule,\r\n MatAutocompleteModule,\r\n MatChipsModule,\r\n FormsModule,\r\n MatToolbarModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n ScrollingModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatPaginatorModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatFileUploadModule,\r\n MatStepperModule,\r\n MatGridListModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n QuillModule.forRoot(),\r\n SharedModule\r\n ],\r\n exports: [\r\n // ScheduleTabComponent,\r\n // SchedulesV2Component,\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n DatePipe, // Add DatePipe to providers\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class ScheduleModule { }\r\n","import { Component, ElementRef, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { MatTabChangeEvent } from '@angular/material/tabs';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ScheduleStatusEnum } from './models/enums';\r\nimport { RoleScheduleStatus } from './models/role-schedule-status';\r\nimport { Schedule } from './models/schedule';\r\nimport { ScheduleResourcesByTab, ScheduleResources } from './models/schedule-resources';\r\nimport { ScheduleSubtype } from './models/schedule-subtype';\r\nimport { ScheduleType } from './models/schedule-type';\r\nimport { UserScheduleStatus } from './models/user-schedule-status';\r\nimport { ScheduleService } from './services/schedule.service';\r\nimport { Location } from '@angular/common';\r\nimport { ScheduleValidations } from './share/schedule-validations';\r\nimport { TokenInfoService } from 'src/app/services/authentication/token-info.service';\r\nimport { AddScheduleComponent } from './schedule-tab/add-schedule/add-schedule.component';\r\nimport { ChooseRolesComponent } from './dialogs/choose-roles/choose-roles.component';\r\nimport { ChooseUsersComponent } from './dialogs/choose-users/choose-users.component';\r\nimport { UserCheck } from 'src/app/common/models/user-check';\r\nimport { UserScheduleStatusService } from './services/user-schedule-status.service';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { RoleScheduleStatusService } from './services/role-schedule-status.service';\r\nimport { RoleCheck } from 'src/app/common/models/role-check';\r\nimport { EditRequestMessageComponent } from './dialogs/edit-request-message/edit-request-message.component';\r\nimport { ReminderTabComponent } from './reminder-tab/reminder-tab.component';\r\n\r\n@Component({\r\n selector: 'app-schedules-v2',\r\n templateUrl: './schedules-v2.component.html',\r\n styleUrls: ['./schedules-v2.component.scss']\r\n})\r\nexport class SchedulesV2Component extends BaseComponent implements OnInit {\r\n\r\n vs = ScheduleValidations;\r\n\r\n @ViewChild('sidenav') sidenav!: MatSidenav;\r\n @ViewChild('headerTop') headerTop!: ElementRef;\r\n @ViewChild(ReminderTabComponent) reminderTab!: ReminderTabComponent;\r\n\r\n showSubMenu = false;\r\n\r\n disabled!: boolean;\r\n loading = false;\r\n loadingMessage!: string;\r\n\r\n resourceRequired!: boolean;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages!: string[];\r\n headerOnTop!: boolean;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter!: any[];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n\r\n scheduleTypeId!: number;\r\n scheduleType?: ScheduleType;\r\n scheduleTypes!: ScheduleType[];\r\n scheduleType$!: Observable;\r\n scheduleTypeSubs!: Subscription;\r\n\r\n scheduleSubtype?: ScheduleSubtype;\r\n locationsByTab: ScheduleResourcesByTab[] = [];\r\n\r\n isReminderTestActive = true;\r\n\r\n scheduleTabs: any[] = [];\r\n selectedTab: number = 0;\r\n tabIndex = 0;\r\n tabName = '';\r\n remindersTabSelected!: boolean;\r\n\r\n refreshData = false;\r\n showCompleted = false;\r\n\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private route: ActivatedRoute,\r\n private scheduleService: ScheduleService,\r\n public serviceUserStatus: UserScheduleStatusService,\r\n public serviceRoleStatus: RoleScheduleStatusService,\r\n private routeLocation: Location,\r\n public tokenInfo: TokenInfoService\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n\r\n ngOnInit(): void {\r\n this.innerWidth = window.innerWidth;\r\n this.route.params.subscribe(params => {\r\n this.scheduleTypeId = params['type'];\r\n this.loadScheduleTypes();\r\n });\r\n if (location.origin.includes('ascc')) {\r\n this.isReminderTestActive = false;\r\n }\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleType$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypeSubs = this.scheduleType$.subscribe(data => {\r\n if (data.length) {\r\n this.scheduleTypes = data;\r\n this.scheduleType = this.scheduleTypes.find(x => x.id == this.scheduleTypeId);\r\n this.loadCustomTabs();\r\n }\r\n });\r\n }\r\n\r\n loadCustomTabs() {\r\n this.scheduleTabs = [];\r\n if (this.scheduleType?.tabColumns && this.scheduleType.scheduleSubtypes.filter(x => x.isActive).length) {\r\n this.scheduleType.scheduleSubtypes.filter(x => x.isActive).map((s, i) => {\r\n const scheduleTab = {\r\n name: s.name,\r\n scheduleTypeId: this.scheduleType?.id,\r\n scheduleType: this.scheduleType,\r\n scheduleSubtypeId: s.id,\r\n scheduleSubtype: s,\r\n };\r\n if (i == 0) {\r\n this.scheduleSubtype = s;\r\n }\r\n this.scheduleTabs.push(scheduleTab);\r\n });\r\n }\r\n else {\r\n const scheduleTab = {\r\n name: 'Schedules',\r\n scheduleTypeId: this.scheduleType?.id,\r\n scheduleType: this.scheduleType,\r\n };\r\n this.scheduleTabs.push(scheduleTab);\r\n }\r\n }\r\n\r\n applyFilter(e: any) {\r\n const filter = e;\r\n this.filter = filter;\r\n }\r\n\r\n tabChanged(tabChangeEvent: MatTabChangeEvent) {\r\n this.tabName = tabChangeEvent.tab.textLabel;\r\n this.tabIndex = tabChangeEvent.index;\r\n this.remindersTabSelected = this.tabIndex == this.scheduleTabs.length;\r\n this.scheduleSubtype = this.scheduleType?.scheduleSubtypes.find(x => x.id == this.scheduleTabs[this.tabIndex]?.scheduleSubtypeId);\r\n if (this.scheduleType?.id) {\r\n const newRoute = '/schedules/' + this.scheduleType.id + '?tab=' + this.tabIndex;\r\n this.routeLocation.replaceState(newRoute);\r\n }\r\n }\r\n\r\n setLocations(e: any) {\r\n const index = this.locationsByTab.findIndex(x => x.scheduleSubtype == e.scheduleSubtype && x.scheduleType == e.scheduleType);\r\n if (index >= 0) {\r\n this.locationsByTab.splice(index, 1);\r\n }\r\n this.locationsByTab.push(e);\r\n }\r\n\r\n addSchedule() {\r\n const allLocations: ScheduleResources[] = this.getLocationsByTab();\r\n const dialogRef = this.dialog.open(AddScheduleComponent, {\r\n width: '40vw',\r\n data: { scheduleType: this.scheduleType, scheduleSubtype: this.scheduleSubtype, allLocations, absiType: null, schedule: null, scheduleLocationsId: this.scheduleService.locationIDs }\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n this.loading = true;\r\n this.scheduleService.create(result).toPromise().then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n addReminder() {\r\n this.reminderTab.addReminder();\r\n }\r\n\r\n getLocationsByTab(): ScheduleResources[] {\r\n return this.locationsByTab.find(x => x.scheduleType.id == this.scheduleType?.id && (this.scheduleSubtype && x.scheduleSubtype?.id == this.scheduleSubtype?.id || !this.scheduleSubtype))?.resources.map(res => {\r\n return { resource: res } as ScheduleResources;\r\n }) ?? [];\r\n }\r\n\r\n acquaintSchedule(schedule: Schedule) {\r\n if (schedule.statusId === ScheduleStatusEnum.completed) {\r\n schedule.colorCompletedCol = '#ff0000';\r\n }\r\n schedule.scheduleResources = schedule.scheduleResources?.sort((a, b) => this.utils.SortBeamlines(a.resource?.name, b.resource?.name));\r\n schedule.name = schedule.scheduleResources?.map(val => {\r\n if (!val.resourceId)\r\n return val.resourceString;\r\n else\r\n return val.resource?.name;\r\n }).join('
    ');\r\n }\r\n\r\n async openChooseUsers(scheduleId: number) {\r\n const dialogRef = this.dialog.open(ChooseUsersComponent, {\r\n width: '50em',\r\n data: await this.getUserStatusByStatus(scheduleId)\r\n });\r\n dialogRef.afterClosed().subscribe((result: UserCheck[] | null) => {\r\n if (result) {\r\n let userreminder = result.map(value => {\r\n return {\r\n firstId: scheduleId,\r\n secondId: value.id\r\n } as UserScheduleStatus;\r\n });\r\n if (userreminder.length <= 0) {\r\n userreminder = [{ firstId: scheduleId, secondId: 0 } as UserScheduleStatus];\r\n }\r\n this.loading = true;\r\n this.serviceUserStatus.createRange(userreminder).subscribe(response => {\r\n this.alert.message('updates', [new MessagePlaceholder('{what}', 'Users')]);\r\n this.loading = false;\r\n });\r\n console.log(userreminder);\r\n }\r\n });\r\n }\r\n\r\n async openChooseRoles(scheduleId: number) {\r\n const dialogRef = this.dialog.open(ChooseRolesComponent, {\r\n width: '50em',\r\n data: await this.getRolStatusByStatus(scheduleId)\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result) {\r\n let rolreminder = result.map((value: RoleCheck) => {\r\n return {\r\n firstId: scheduleId,\r\n secondId: value.id\r\n } as RoleScheduleStatus;\r\n });\r\n if (rolreminder.length <= 0) {\r\n rolreminder = [{ firstId: scheduleId, secondId: 0 } as RoleScheduleStatus];\r\n }\r\n this.loading = true;\r\n this.serviceRoleStatus.createRange(rolreminder).subscribe(response => {\r\n this.alert.message('updates', [new MessagePlaceholder('{what}', 'Roles')]);\r\n this.loading = false;\r\n });\r\n console.log(rolreminder);\r\n }\r\n });\r\n }\r\n\r\n async getUserStatusByStatus(statusId: number) {\r\n this.loading = true;\r\n const value = await this.serviceUserStatus.readByStatus(statusId).toPromise();\r\n this.loading = false;\r\n return value?.map(val => val.secondId);\r\n }\r\n\r\n async getRolStatusByStatus(statusId: number) {\r\n this.loading = true;\r\n const value = await this.serviceRoleStatus.readByStatus(statusId).toPromise();\r\n this.loading = false;\r\n return value?.map(val => val.secondId);\r\n }\r\n\r\n // async openDoTest() {\r\n // if (this.refreshData) {\r\n // this.refreshData = false;\r\n // }\r\n // const dialogRef = this.dialog.open(SchedulerTestComponent, {\r\n // width: '50em',\r\n // });\r\n // await dialogRef.afterClosed().toPromise();\r\n // this.refreshData = true;\r\n // }\r\n\r\n openEditMessage() {\r\n const dialogRef = this.dialog.open(EditRequestMessageComponent, {\r\n width: '50em',\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n });\r\n }\r\n\r\n\r\n setLoading(e: any) {\r\n this.loading = e;\r\n }\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ scheduleType?.name }} Schedules\r\n
    \r\n
    \r\n
    \r\n Show completed schedules\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n Extension Request Notification\r\n more_time\r\n \r\n \r\n Suscribe Users\r\n person\r\n \r\n \r\n Suscribe Roles\r\n group\r\n \r\n \r\n Edit Request Extension Message\r\n edit_notifications\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n Create New Schedule\r\n add_box\r\n \r\n\r\n \r\n Create New Reminder\r\n notification_add\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n calendar_month \r\n {{ tab.name }}\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n notifications\r\n Reminders\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { RoleScheduleReminder } from '../models/role-schedule-reminder';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoleReminderService extends BaseService {\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector, '/role_reminder');\r\n }\r\n\r\n readByReminder(firstId: number) {\r\n const url = this.endpoint + '/by_reminder/' + firstId;\r\n return this.http.get(url);\r\n }\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { RoleScheduleStatus } from '../models/role-schedule-status';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoleScheduleStatusService extends BaseService {\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector, '/role_schedule_status');\r\n }\r\n\r\n readByStatus(firstId: number) {\r\n const url = this.BASE_URL + this.endpoint + '/by_status/' + firstId;\r\n return this.http.get(url);\r\n }\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { ScheduleNote } from '../models/schedule-note';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleNoteService extends BaseService {\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector, '/schedule_note');\r\n }\r\n\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { ScheduleReminder } from '../models/schedule-reminder';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleReminderService extends BaseService {\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector, '/schedule_reminder');\r\n }\r\n\r\n override getAll() {\r\n return this.http.get(this.URL + '/All');\r\n }\r\n\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { ScheduleStatus } from '../models/schedule-status';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleStatusService extends BaseService {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector, '/schedule_status');\r\n }\r\n\r\n UpdateMessage(id: number, message: string) {\r\n return this.http.put(this.URL + '/status_message', { id, message });\r\n }\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { ScheduleSubdetailNote } from '../models/schedule-note';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleSubdetailNoteService extends BaseService {\r\n\r\n constructor(protected override injector: Injector,) {\r\n super(injector, '/schedule_subdetail_note');\r\n }\r\n\r\n}\r\n","\r\nimport { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { ScheduleSubtype } from '../models/schedule-subtype';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleSubTypeService extends BaseService {\r\n\r\n constructor(protected override injector: Injector,) {\r\n super(injector, '/ScheduleSubtypes');\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { GenericHttpService } from 'src/app/services/generic-http.service';\r\nimport { ScheduleType, ScheduleTypeWithDocumentType as ScheduleTypeWithDocType } from '../models/schedule-type';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleTypeService extends GenericHttpService {\r\n\r\n constructor(private http: HttpClient) {\r\n super(http, '/ScheduleTypes');\r\n }\r\n post(schedTypeDocType: ScheduleTypeWithDocType) {\r\n return this.http.post(this.rootURL, schedTypeDocType);\r\n }\r\n getFromDocumentTypeId(documentTypeId: number) {\r\n return this.http.get(this.rootURL + '/ByDocumentType/' + documentTypeId);\r\n }\r\n getAll() {\r\n return this.http.get(this.rootURL + '/All');\r\n }\r\n\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Schedule, ScheduleSubdetail } from '../models/schedule';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { ScheduleStatusEnum } from '../models/enums';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleService extends BaseService {\r\n\r\n protected rootURL: string;\r\n locationIDs: number[] = [];\r\n constructor(protected override injector: Injector) {\r\n super(injector, '/schedule');\r\n this.rootURL = this.BASE_URL + '/schedule';\r\n }\r\n\r\n // readAll(): Observable {\r\n // return this.http.get(this.rootURL);\r\n // }\r\n\r\n // readByID(id: number): Observable {\r\n // return this.http.get(this.rootURL + '/byID/' + id);\r\n // }\r\n\r\n // read(id: number): Observable {\r\n // const url = this.rootURL + '/' + id;\r\n // return this.http.get(url);\r\n // }\r\n\r\n // readByType(type: number, scheduleCustomTabId: number | null = null): Observable {\r\n // const scheduleQuery = scheduleCustomTabId ? '?customTabId=' + scheduleCustomTabId : \"\";\r\n // return this.http.get(this.rootURL + '/type/' + type + scheduleQuery);\r\n // }\r\n\r\n updateStatus(schedule: Schedule): Observable {\r\n return this.http.put(this.rootURL + '/status', schedule);\r\n }\r\n\r\n // updateCompleteStatus(schedule: Schedule): Observable {\r\n // return this.http.put(this.rootURL + '/status', schedule);\r\n // }\r\n\r\n updateSubdetailStatus(subdetail: ScheduleSubdetail): Observable {\r\n return this.http.put(this.rootURL + '/SubdetailStatus', subdetail);\r\n }\r\n\r\n // getScheduleByScheduleResourceId(scheduleResourceId: number): Observable {\r\n // return this.http.get(this.rootURL + '/ScheduleResource/' + scheduleResourceId);\r\n // }\r\n\r\n getLocationsIdBySchedules(schedules: Schedule[]) {\r\n schedules?.map(schedule => {\r\n schedule.scheduleResources?.map(scheduleResource => {\r\n if (scheduleResource.resourceId && schedule.statusId !== ScheduleStatusEnum.completed) {\r\n this.locationIDs.push(scheduleResource.resourceId);\r\n }\r\n });\r\n });\r\n }\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { UserScheduleReminder } from '../models/user-schedule-reminder';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserReminderService extends BaseService {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector, '/user_reminder');\r\n }\r\n\r\n readByReminder(firstId: number) {\r\n const url = this.endpoint + '/by_reminder/' + firstId;\r\n return this.http.get(url);\r\n }\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { UserScheduleStatus } from '../models/user-schedule-status';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserScheduleStatusService extends BaseService {\r\n\r\n constructor(protected override injector: Injector) {\r\n super(injector, '/user_schedule_status');\r\n }\r\n\r\n readByStatus(firstId: number) {\r\n const url = this.BASE_URL + this.endpoint + '/by_status/' + firstId;\r\n return this.http.get(url);\r\n }\r\n}\r\n","import { TokenInfoService } from \"src/app/services/authentication/token-info.service\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { ScheduleStatusEnum } from \"../models/enums\";\r\nimport { Schedule } from \"../models/schedule\";\r\nimport { ScheduleType } from \"../models/schedule-type\";\r\n\r\nexport class ScheduleValidations {\r\n\r\n static validateRole(controlName: string, tokenInfo: TokenInfoService, scheduleType?: ScheduleType, schedule: Schedule | null = null): boolean {\r\n const privileges: PrivilegeEnum[] = tokenInfo.getPrivileges() ?? [];\r\n if (!privileges.length) {\r\n return false;\r\n }\r\n switch (controlName) {\r\n case 'createSchedule':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CreateSchedule)) {\r\n return true;\r\n }\r\n return false;\r\n case 'updateSchedule':\r\n switch (scheduleType?.id) {\r\n case 1:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditABSI)) {\r\n if (schedule != null && schedule?.statusId !== ScheduleStatusEnum.completed) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n case 2:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditEPS)) {\r\n if (schedule != null && schedule?.statusId !== ScheduleStatusEnum.completed) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n case 3:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditTOCA)) {\r\n if (schedule != null && schedule?.statusId !== ScheduleStatusEnum.completed) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n case 4:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditABCRS)) {\r\n if (schedule != null && schedule?.statusId !== ScheduleStatusEnum.completed) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n case 5:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditRSS)) {\r\n if (schedule != null && schedule?.statusId !== ScheduleStatusEnum.completed) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n case 13:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditSRVIS)) {\r\n if (schedule != null && schedule?.statusId !== ScheduleStatusEnum.completed) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n return false;\r\n case 'completeSchedule':\r\n switch (scheduleType?.id) {\r\n case 1:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CompleteABSI)) {\r\n return true;\r\n }\r\n return false;\r\n case 2:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CompleteEPS)) {\r\n return true;\r\n }\r\n return false;\r\n case 3:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CompleteTOCA)) {\r\n return true;\r\n }\r\n return false;\r\n case 4:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CompleteABCRS)) {\r\n return true;\r\n }\r\n return false;\r\n case 5:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CompleteRSS)) {\r\n return true;\r\n }\r\n return false;\r\n case 13:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CompleteSRVIS)) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n return false;\r\n case 'createNote':\r\n switch (scheduleType?.id) {\r\n case 1:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CreateNoteABSI)) {\r\n return true;\r\n }\r\n return false;\r\n case 2:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CreateNoteEPS)) {\r\n return true;\r\n }\r\n return false;\r\n case 3:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CreateNoteTOCA)) {\r\n return true;\r\n }\r\n return false;\r\n case 4:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CreateNoteABCRS)) {\r\n return true;\r\n }\r\n return false;\r\n case 5:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CreateNoteRSS)) {\r\n return true;\r\n }\r\n return false;\r\n case 13:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.CreateNoteSRVIS)) {\r\n return true;\r\n }\r\n return false;\r\n default:\r\n return true;\r\n }\r\n return false;\r\n case 'requestExtension':\r\n switch (scheduleType?.id) {\r\n case 1:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RequestExtensionABSI)) {\r\n return true;\r\n }\r\n return false;\r\n case 2:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RequestExtensionEPS)) {\r\n return true;\r\n }\r\n return false;\r\n case 3:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RequestExtensionTOCA)) {\r\n return true;\r\n }\r\n return false;\r\n case 4:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RequestExtensionABCRS)) {\r\n return true;\r\n }\r\n return false;\r\n case 5:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RequestExtensionRSS)) {\r\n return true;\r\n }\r\n return false;\r\n case 13:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RequestExtensionSRVIS)) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n return false;\r\n case 'grantExtension':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.GrantScheduleExtension)) {\r\n if (schedule != null && schedule?.statusId === ScheduleStatusEnum.requestExtension) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n case 'grantExtensionSubdetail':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.GrantScheduleExtension)) {\r\n if (schedule != null && schedule?.subdetail?.statusId === ScheduleStatusEnum.requestExtension) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n case 'subscriberExtension':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.SubscribePeopleRequestExtension)) {\r\n return true;\r\n }\r\n return false;\r\n case 'deleteReminder':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.DeleteReminder)) {\r\n return true;\r\n }\r\n return false;\r\n case 'updateReminder':\r\n switch (scheduleType?.id) {\r\n case 1:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditReminderABSI)) {\r\n return true;\r\n }\r\n return false;\r\n case 2:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditReminderEPS)) {\r\n return true;\r\n }\r\n return false;\r\n case 3:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditReminderTOCA)) {\r\n return true;\r\n }\r\n return false;\r\n case 4:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditReminderABCRS)) {\r\n return true;\r\n }\r\n return false;\r\n case 5:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditReminderRSS)) {\r\n return true;\r\n }\r\n return false;\r\n case 13:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditReminderSRVIS)) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n return false;\r\n case 'createReminder':\r\n switch (scheduleType?.id) {\r\n case 1:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.AddReminderABSI)) {\r\n return true;\r\n }\r\n return false;\r\n case 2:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.AddReminderEPS)) {\r\n return true;\r\n }\r\n return false;\r\n case 3:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.AddReminderTOCA)) {\r\n return true;\r\n }\r\n return false;\r\n case 4:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.AddReminderABCRS)) {\r\n return true;\r\n }\r\n return false;\r\n case 5:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.AddReminderRSS)) {\r\n return true;\r\n }\r\n return false;\r\n case 13:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.AddReminderSRVIS)) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n return false;\r\n case 'subscriberReminder':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.SubscribePeopleReminder)) {\r\n return true;\r\n }\r\n return false;\r\n case 'refuseSchedule':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RefuseScheduleExtension)) {\r\n return true;\r\n }\r\n return false;\r\n case 'deleteSchedule':\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.RemoveSchedule)) {\r\n return true;\r\n }\r\n return false;\r\n case 'editScheduledFor':\r\n switch (scheduleType?.id) {\r\n case 13:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditScheduledForSRVIS)) {\r\n return true;\r\n }\r\n return false;\r\n default:\r\n if (tokenInfo.hasPrivilege(PrivilegeEnum.EditScheduledFor)) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n static validateCommons(codes: string): boolean {\r\n if (codes.includes('ADM') || codes.includes('PC') || codes.includes('SA') || codes.includes('DAO')) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\n","import { ScheduleReminder } from \"../../models/schedule-reminder\";\r\n\r\nexport class ScheduleRemindersRefresh {\r\n static readonly type = '[SchedulesTypes] Refresh';\r\n}\r\n\r\nexport class ScheduleRemindersCreate {\r\n static readonly type = '[SchedulesTypes] Create';\r\n constructor(public item: ScheduleReminder) { }\r\n}\r\n\r\nexport class ScheduleRemindersUpdate {\r\n static readonly type = '[SchedulesTypes] Update';\r\n constructor(public id: number, public item: ScheduleReminder) { }\r\n}\r\n\r\nexport class ScheduleRemindersDelete {\r\n static readonly type = '[SchedulesTypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ScheduleRemindersCreate, ScheduleRemindersDelete, ScheduleRemindersRefresh, ScheduleRemindersUpdate } from './schedule-reminder.action';\r\nimport { ScheduleReminder } from '../../models/schedule-reminder';\r\nimport { ScheduleReminderService } from '../../services/schedule-reminder.service';\r\n\r\nexport class ScheduleRemindersStateModel {\r\n data: ScheduleReminder[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ScheduleReminders',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class ScheduleRemindersState {\r\n constructor(\r\n private _service: ScheduleReminderService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ScheduleRemindersStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ScheduleRemindersRefresh)\r\n strefresh({ patchState }: StateContext) {\r\n this._service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ScheduleRemindersCreate)\r\n stcreate({ getState, patchState }: StateContext, { item }: ScheduleRemindersCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ScheduleRemindersUpdate)\r\n stupdate({ getState, patchState }: StateContext, { id, item }: ScheduleRemindersUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ScheduleRemindersDelete)\r\n stdelete({ getState, patchState }: StateContext, { id }: ScheduleRemindersDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ScheduleRemindersActions from './schedule-reminder.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleRemindersStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ScheduleRemindersActions.ScheduleRemindersRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.SCHEDULE_REMINDERS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ScheduleRemindersActions.ScheduleRemindersCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ScheduleRemindersActions.ScheduleRemindersUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ScheduleRemindersActions.ScheduleRemindersDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ScheduleRemindersActions.ScheduleRemindersRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ScheduleSubtype } from \"../../models/schedule-subtype\";\r\n\r\n\r\nexport class ScheduleSubtypesRefresh {\r\n static readonly type = '[ScheduleSubtypes] Refresh';\r\n}\r\n\r\nexport class ScheduleSubtypesCreate {\r\n static readonly type = '[ScheduleSubtypes] Create';\r\n\r\n constructor(public item: ScheduleSubtype) { }\r\n}\r\n\r\nexport class ScheduleSubtypesUpdate {\r\n static readonly type = '[ScheduleSubtypes] Update';\r\n\r\n constructor(public id: number, public item: ScheduleSubtype) { }\r\n}\r\n\r\nexport class ScheduleSubtypesDelete {\r\n static readonly type = '[ScheduleSubtypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ScheduleSubtypesCreate, ScheduleSubtypesDelete, ScheduleSubtypesRefresh, ScheduleSubtypesUpdate } from './schedule-subtypes.action';\r\nimport { ScheduleSubtype } from '../../models/schedule-subtype';\r\nimport { ScheduleSubTypeService } from '../../services/schedule-subtype.service';\r\n\r\n\r\n\r\nexport class ScheduleSubtypesStateModel {\r\n data: ScheduleSubtype[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ScheduleSubtypes',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class ScheduleSubtypesState {\r\n constructor(\r\n private _service: ScheduleSubTypeService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ScheduleSubtypesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ScheduleSubtypesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ScheduleSubtypesCreate)\r\n create({ getState, patchState }: StateContext, { item }: ScheduleSubtypesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ScheduleSubtypesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ScheduleSubtypesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ScheduleSubtypesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ScheduleSubtypesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ScheduleSubtypesActions from './schedule-subtypes.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleSubtypesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ScheduleSubtypesActions.ScheduleSubtypesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.SCHEDULE_SUBTYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ScheduleSubtypesActions.ScheduleSubtypesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ScheduleSubtypesActions.ScheduleSubtypesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ScheduleSubtypesActions.ScheduleSubtypesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ScheduleSubtypesActions.ScheduleSubtypesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { ScheduleType } from \"../../models/schedule-type\";\r\n\r\n\r\nexport class ScheduleTypesRefresh {\r\n static readonly type = '[SchedulesTypes] Refresh';\r\n}\r\n\r\nexport class ScheduleTypesCreate {\r\n static readonly type = '[SchedulesTypes] Create';\r\n constructor(public item: ScheduleType) { }\r\n}\r\n\r\nexport class ScheduleTypesUpdate {\r\n static readonly type = '[SchedulesTypes] Update';\r\n constructor(public id: number, public item: ScheduleType) { }\r\n}\r\n\r\nexport class ScheduleTypesDelete {\r\n static readonly type = '[SchedulesTypes] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { ScheduleTypesCreate, ScheduleTypesDelete, ScheduleTypesRefresh, ScheduleTypesUpdate } from './schedule-types.action';\r\nimport { ScheduleType } from '../../models/schedule-type';\r\nimport { ScheduleTypeService } from '../../services/schedule-type.service';\r\n\r\nexport class ScheduleTypesStateModel {\r\n data: ScheduleType[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ScheduleTypes',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class ScheduleTypesState {\r\n constructor(\r\n private _service: ScheduleTypeService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ScheduleTypesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ScheduleTypesRefresh)\r\n strefresh({ patchState }: StateContext) {\r\n this._service.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(ScheduleTypesCreate)\r\n stcreate({ getState, patchState }: StateContext, { item }: ScheduleTypesCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(ScheduleTypesUpdate)\r\n stupdate({ getState, patchState }: StateContext, { id, item }: ScheduleTypesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ScheduleTypesDelete)\r\n stdelete({ getState, patchState }: StateContext, { id }: ScheduleTypesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ScheduleTypesActions from './schedule-types.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScheduleTypesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new ScheduleTypesActions.ScheduleTypesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.SCHEDULE_TYPES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ScheduleTypesActions.ScheduleTypesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ScheduleTypesActions.ScheduleTypesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ScheduleTypesActions.ScheduleTypesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ScheduleTypesActions.ScheduleTypesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Schedule } from \"../../models/schedule\";\r\n\r\nexport class SchedulesRefresh {\r\n static readonly type = '[Schedules] Refresh';\r\n}\r\n\r\nexport class SchedulesRefreshByID {\r\n static readonly type = '[SchedulesRefreshByID] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class SchedulesCreate {\r\n static readonly type = '[Schedules] Create';\r\n constructor(public item: Schedule) { }\r\n}\r\n\r\nexport class SchedulesUpdate {\r\n static readonly type = '[Schedules] Update';\r\n constructor(public id: number, public item: Schedule) { }\r\n}\r\n\r\nexport class SchedulesDelete {\r\n static readonly type = '[Schedules] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","\r\nimport { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { SchedulesCreate, SchedulesDelete, SchedulesRefresh, SchedulesRefreshByID, SchedulesUpdate } from './schedule.action';\r\nimport { Schedule } from '../../models/schedule';\r\nimport { ScheduleService } from '../../services/schedule.service';\r\nimport { ScheduleTypeService } from '../../services/schedule-type.service';\r\n\r\nexport class SchedulesStateModel {\r\n data: Schedule[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Schedules',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class SchedulesState {\r\n constructor(\r\n private schedulesService: ScheduleService, private scheduleTypeService: ScheduleTypeService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: SchedulesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(SchedulesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.schedulesService.getAll().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(SchedulesRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: SchedulesRefreshByID) {\r\n this.schedulesService.getById(id).toPromise().then(item => {\r\n if (item) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n });\r\n\r\n }\r\n\r\n @Action(SchedulesCreate)\r\n create({ getState, patchState }: StateContext, { item }: SchedulesCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(SchedulesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: SchedulesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(SchedulesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: SchedulesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as SchedulesActions from 'src/app/components/schedules/store/schedules/schedule.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SchedulesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new SchedulesActions.SchedulesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.SCHEDULES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new SchedulesActions.SchedulesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new SchedulesActions.SchedulesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new SchedulesActions.SchedulesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new SchedulesActions.SchedulesRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new SchedulesActions.SchedulesRefreshByID(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { FormControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { RegisterComponent } from 'src/app/common/extensions/decorator';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { SiteConfiguration } from 'src/app/services/site-configuration/site-configuration';\r\nimport { SiteConfigurationService } from 'src/app/services/site-configuration/site-configuration-service';\r\n\r\n@RegisterComponent('SiteConfigurationComponent')\r\n@Component({\r\n selector: 'app-site-configuration',\r\n templateUrl: './site-configuration.component.html',\r\n styleUrls: ['./site-configuration.component.scss']\r\n})\r\nexport class SiteConfigurationComponent extends BaseComponent implements OnInit {\r\n\r\n static key = 'SiteConfigurationComponent';\r\n loading = false;\r\n siteConf!: SiteConfiguration;\r\n index = 0;\r\n\r\n isEmailSCFActive = new FormControl();\r\n isSchedulesReminderActive = new FormControl();\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public siteConfService: SiteConfigurationService,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.formGroup = this.formBuilder.group({\r\n secondsUntilLiberateSCF: [null, Validators.required],\r\n secondsUntilMessageSCF: [null, Validators.required],\r\n secondsUntilLiberateRSSWA: [null, Validators.required],\r\n secondsUntilMessageRSSWA: [null, Validators.required],\r\n secondsUntilLiberatePPSTB: [null, Validators.required],\r\n secondsUntilMessagePPSTB: [null, Validators.required],\r\n secondsUntilLiberateEB: [null, Validators.required],\r\n secondsUntilMessageEB: [null, Validators.required],\r\n isEmailSCFActive: [null, Validators.required],\r\n defaultEmails: [null, Validators.pattern(/^([\\w+-.%]+@[\\w-.]+\\.[A-Za-z]{2,4}(,\\s)?)+$/)],\r\n ologUser: [null, Validators.required],\r\n ologPassword: [null],\r\n isSchedulesReminderActive: [null, Validators.required]\r\n });\r\n\r\n this.loading = true;\r\n this.siteConfService.getFirst().toPromise().then(response => {\r\n if (response) {\r\n this.loading = false;\r\n const scfResult = response.secondsUntilLiberateSCF * (1 / 60);\r\n const scfMResult = response.secondsUntilMessageSCF * (1 / 60);\r\n const rsswaResult = response.secondsUntilLiberateRSSWA * (1 / 60);\r\n const rsswaMResult = response.secondsUntilMessageRSSWA * (1 / 60);\r\n const ppstbResult = response.secondsUntilLiberatePPSTB * (1 / 60);\r\n const ppstbMResult = response.secondsUntilMessagePPSTB * (1 / 1000);\r\n const ebResult = response.secondsUntilLiberateEB * (1 / 60);\r\n const ebMResult = response.secondsUntilMessageEB * (1 / 1000);\r\n response.defaultEmails = response.defaultEmails.split(',').join(', ');\r\n this.formGroup = this.formBuilder.group({\r\n secondsUntilLiberateSCF: [scfResult, Validators.required],\r\n secondsUntilMessageSCF: [scfMResult, Validators.required],\r\n secondsUntilLiberateRSSWA: [rsswaResult, Validators.required],\r\n secondsUntilMessageRSSWA: [rsswaMResult, Validators.required],\r\n secondsUntilLiberatePPSTB: [ppstbResult, Validators.required],\r\n secondsUntilMessagePPSTB: [ppstbMResult, Validators.required],\r\n secondsUntilLiberateEB: [ebResult, Validators.required],\r\n secondsUntilMessageEB: [ebMResult, Validators.required],\r\n isEmailSCFActive: [response.isEmailSCFActive, Validators.required],\r\n defaultEmails: [response.defaultEmails, Validators.pattern(/^([\\w+-.%]+@[\\w-.]+\\.[A-Za-z]{2,4}(,\\s)?)+$/)],\r\n ologUser: [response.ologUser, Validators.required],\r\n ologPassword: [''],\r\n isSchedulesReminderActive: [response.isSchedulesReminderActive, Validators.required]\r\n });\r\n this.siteConf = response;\r\n if (this.isSA()) {\r\n this.formGroup.enable();\r\n }\r\n else {\r\n this.formGroup.disable();\r\n }\r\n }\r\n }).catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n onNoClick(submit?: boolean): void {\r\n this.dialogRef.close(submit);\r\n }\r\n\r\n onSubmit() {\r\n const siteconf = this.formGroup.value as SiteConfiguration;\r\n siteconf.secondsUntilLiberateRSSWA *= 60;\r\n siteconf.secondsUntilLiberateSCF *= 60;\r\n siteconf.secondsUntilLiberatePPSTB *= 60;\r\n siteconf.secondsUntilMessageRSSWA *= 60;\r\n siteconf.secondsUntilMessageSCF *= 60;\r\n siteconf.secondsUntilMessagePPSTB *= 1000;\r\n siteconf.secondsUntilMessageEB *= 1000;\r\n siteconf.secondsUntilLiberateEB *= 60;\r\n siteconf.defaultEmails = siteconf.defaultEmails.replace(' ', '');\r\n this.loading = true;\r\n this.siteConfService.update(siteconf).toPromise().then(() => {\r\n this.loading = false;\r\n this.alert.message('updates', [new MessagePlaceholder('{what}', 'Site Configuration')]);\r\n this.dialogRef.close();\r\n }).catch(() => {\r\n this.loading = false;\r\n this.alert.defaultError();\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n Site Configuration\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n SCF Notifications\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Default Emails\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n OLOG Default User\r\n \r\n \r\n
    \r\n
    \r\n \r\n OLOG Default Password\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Schedule Reminder Notifications\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Injector, Input, Output, QueryList, SimpleChanges, ViewChildren, ViewContainerRef } from '@angular/core';\r\nimport { MatTableDataSource, MatRow } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormStatusEnum, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { SCFMaster } from '../../scf-v2/scf';\r\nimport { ScfV2Service } from '../../scf-v2/scf-v2.service';\r\nimport { SCFMastersUpdate } from '../../scf-v2/store/scf-master/scf-masters.action';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'template-side',\r\n templateUrl: './template-side.component.html',\r\n styleUrls: ['./template-side.component.scss']\r\n})\r\nexport class TemplateSideComponent extends BaseComponent {\r\n\r\n @Input() filter?: string | null;\r\n @Output() loading = new EventEmitter();\r\n\r\n displayedColumns: string[] = [\r\n 'serialNo',\r\n 'locationNames',\r\n 'statusName',\r\n ];\r\n dataSource = new MatTableDataSource();\r\n\r\n @Output() rowSelected = new EventEmitter();\r\n\r\n @ViewChildren('matrow', { read: ViewContainerRef }) rows?: QueryList;\r\n\r\n scfMasters: SCFMaster[] = [];\r\n scfMasters$!: Observable;\r\n scfMastersSubs: Subscription = new Subscription;\r\n scfMaster?: SCFMaster | null;\r\n\r\n @ViewChildren('matrow') datarows?: QueryList;\r\n\r\n serialNo!: string;\r\n selectedRowIndex? = -1;\r\n selectedIndex = -1;\r\n showClosed = false;\r\n\r\n allowNew = false;\r\n disabled = false;\r\n maxHeight!: string;\r\n\r\n constructor(\r\n private service: ScfV2Service,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter']) {\r\n this.applyFilter();\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.scfMastersSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadSCFs();\r\n }\r\n\r\n loadSCFs() {\r\n // this.loading.emit(true);\r\n // this.scfMasters$ = this.store.select(state => state.SCFMasters.data);\r\n // this.scfMastersSubs = this.scfMasters$.subscribe(async data => {\r\n // if (data?.length > 0) {\r\n // this.scfMasters = data.filter(x => x.serialNo !== '');\r\n // this.createDataSource();\r\n // if (this.scfMaster) {\r\n // let scfMaster = this.scfMasters.find(x => x.id == this.scfMaster?.id);\r\n // if (scfMaster) {\r\n // if (this.scfMaster.retrievedBy != this.getCurrentUser()?.id) {\r\n // await this.getValues(scfMaster);\r\n // }\r\n // this.scfMaster = scfMaster;\r\n // this.showClosed = this.scfMaster.status == FormStatusEnum.Closed || this.scfMaster.status == FormStatusEnum.Canceled;\r\n // this.createDataSource();\r\n // this.scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n // }\r\n // this.rowSelected.emit(this.scfMaster);\r\n // }\r\n // else if (this.service?.currentDoc?.id) {\r\n // this.showClosed = this.service.currentDoc.status == FormStatusEnum.Canceled as number || this.service.currentDoc?.status == FormStatusEnum.Closed;\r\n // this.createDataSource();\r\n // await this.getValues(this.service.currentDoc);\r\n // }\r\n // else {\r\n // this.loading.emit(false);\r\n // }\r\n // }\r\n // });\r\n }\r\n\r\n createDataSource() {\r\n this.dataSource = new MatTableDataSource(this.scfMasters?.filter(x => ((x.status !== FormStatusEnum.Canceled && x.status !== FormStatusEnum.Closed) && !this.showClosed) || this.showClosed).sort((a, b) => utils.sort(a.serialNo, b.serialNo, false)));\r\n }\r\n\r\n rowUnselected() {\r\n this.scfMaster = null;\r\n this.selectedRowIndex = -1;\r\n // this.service.currentDoc = null;\r\n this.rowSelected.emit(null);\r\n }\r\n\r\n rowClicked(row: SCFMaster) {\r\n if (this.scfMaster?.id == row.id) {\r\n this.rowUnselected();\r\n this.loading.emit(false);\r\n }\r\n else {\r\n this.getValues(row);\r\n }\r\n }\r\n\r\n async getValues(row: SCFMaster) {\r\n this.loading.emit(true);\r\n this.selectedIndex = this.dataSource.data.findIndex(x => x.id === row.id);\r\n if (row?.id) {\r\n this.scfMaster = await this.getSCFMasterByID(row.id);\r\n if (this.scfMaster && this.scfMaster?.id) {\r\n this.selectedRowIndex = this.scfMaster?.id;\r\n // this.service.currentDoc = this.scfMaster;\r\n this.store.dispatch(new SCFMastersUpdate(this.scfMaster?.id, this.scfMaster));\r\n this.rowSelected.emit(this.scfMaster);\r\n this.loading.emit(false);\r\n this.showElement(this.selectedIndex, 7);\r\n }\r\n }\r\n }\r\n\r\n getSCFMasterByID(id: number): Promise {\r\n return new Promise((resolve, reject) => {\r\n this.service.getById(id).toPromise().then(scfMaster => {\r\n if (scfMaster) {\r\n scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n resolve(scfMaster);\r\n }\r\n });\r\n });\r\n }\r\n\r\n showDocument(e: SCFMaster) {\r\n this.getValues(e);\r\n }\r\n\r\n //#endregion LOAD\r\n\r\n //#region ADD\r\n\r\n createSCF() {\r\n this.selectedRowIndex = -1;\r\n this.serialNo = '{Serial No}';\r\n // this.service.currentDoc = {\r\n // id: 0,\r\n // serialNo: this.serialNo,\r\n // type: FormType.SCF,\r\n // status: 1,\r\n // locations: [],\r\n // statusName: 'New',\r\n // scfRestrictionsV2: [],\r\n // wasRouted: false,\r\n // };\r\n }\r\n\r\n unselect() {\r\n this.createSCF();\r\n }\r\n\r\n //#endregion\r\n\r\n //#region FILTERS\r\n\r\n applyFilter() {\r\n this.createDataSource();\r\n this.dataSource.filter = this.filter?.trim().toLowerCase() ?? '';\r\n }\r\n\r\n changeClosed() {\r\n this.applyFilter();\r\n }\r\n\r\n async refresh() {\r\n\r\n }\r\n\r\n //#endregion\r\n\r\n // #region TableScroll\r\n showElement(index: number, height: number) {\r\n const indexstr = index.toString();\r\n const row = this.rows?.find(\r\n (r) => r.element.nativeElement.getAttribute('position') === indexstr\r\n );\r\n if (row) {\r\n const rect = row.element.nativeElement.getBoundingClientRect();\r\n if (rect.y <= 0 || rect.y + rect.height > height) {\r\n row.element.nativeElement.scrollIntoView(false, {\r\n behavior: 'instant',\r\n });\r\n }\r\n return;\r\n }\r\n console.log('not found');\r\n }\r\n\r\n getPosition(row: any): number {\r\n const i = this.dataSource.data.findIndex((r) => {\r\n return r.id === row.id;\r\n });\r\n return i;\r\n }\r\n\r\n formatLocationNames(locationNames: string) {\r\n if (locationNames) {\r\n return utils.replaceAll(locationNames, ',', ', ');\r\n }\r\n return '';\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n Show Closed/Canceled\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Serial No.\r\n \r\n \r\n edit\r\n \r\n \r\n\r\n \r\n \r\n Affected Systems\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Status\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { Component, ElementRef, HostListener, OnInit, ViewChild, OnDestroy, OnChanges, SimpleChanges, AfterViewInit, Injector, } from \"@angular/core\";\r\nimport { FormControl } from \"@angular/forms\";\r\nimport { MatSidenav } from \"@angular/material/sidenav\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport moment from \"moment\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { Roles, FormStatusEnum, NotificationType } from \"src/app/common/enumerations/enumerations\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { Procedure } from \"src/app/components/procedure/models/procedure.model\";\r\nimport { PrivilegeEnum } from \"src/app/services/role-privilege/privilege-enum\";\r\nimport { MessagePlaceholder } from \"src/app/common/models/placeholder\";\r\n\r\n@Component({\r\n selector: 'app-template',\r\n templateUrl: './template.component.html',\r\n styleUrls: ['./template.component.scss']\r\n})\r\nexport class TemplateComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n // @ViewChild(ScfV2SideComponent) side!: ScfV2SideComponent;\r\n // @ViewChild(ScfV2MainComponent) main!: ScfV2MainComponent;\r\n\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n element!: any;\r\n\r\n // scfMasterUnchanged?: SCFMaster | null;\r\n // scfMaster?: SCFMaster | null;\r\n // scfMasters: SCFMaster[] = [];\r\n // scfMasters$!: Observable;\r\n // scfMastersSubs: Subscription = new Subscription;\r\n\r\n loadingMessage!: string;\r\n\r\n // privileges: SCFPrivileges = new SCFPrivileges();\r\n // public status: SCFStatus = new SCFStatus();\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n constructor(\r\n // public scfService: ScfV2Service,\r\n // private notificationService: NotificationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // this.loadSCFs();\r\n }\r\n\r\n ngOnInit() {\r\n // this.loadSCFs();\r\n this.checkPrivileges();\r\n }\r\n\r\n changeToggle(e: any) {\r\n\r\n }\r\n // async loadSCFs() {\r\n // this.scfMasters$ = this.store.select((state) => state.SCFMasters.data);\r\n // this.scfMastersSubs = this.scfMasters$.subscribe((data) => {\r\n // if (data && data.length > 0) {\r\n // this.scfMasters = data.filter((x) => x.serialNo !== \"\");\r\n // if (this.scfMaster) {\r\n // this.scfMaster = this.scfMasters.find(\r\n // (x) => x.id == this.scfMaster?.id\r\n // );\r\n // this.checkPrivileges();\r\n // }\r\n // }\r\n // });\r\n // }\r\n\r\n // showStatusChangeMessage(scfMaster: SCFMaster) {\r\n // this.alert.message(this.getMessage(\"formStateChanged\"), [\r\n // new MessagePlaceholder(\"{serialNo}\", scfMaster.serialNo), new MessagePlaceholder(\"{status}\", scfMaster.statusName ?? 'New'),]);\r\n // }\r\n\r\n // override ngOnDestroy(): void {\r\n // this.scfMastersSubs?.unsubscribe();\r\n // this.proceduresSubs?.unsubscribe();\r\n // }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n create() {\r\n // this.loading = true;\r\n // this.scfService\r\n // .getSerialNo()\r\n // .toPromise()\r\n // .then((data) => {\r\n // if (data) {\r\n // this.status.isCreating = true;\r\n // this.scfMaster = new SCFMaster();\r\n // this.scfMaster.name = data.serialNo;\r\n // this.scfMaster.serialNo = data.serialNo;\r\n // this.scfMaster.status = FormStatusEnum.New;\r\n // this.scfMaster.formStatus = new FormStatus();\r\n // this.scfMaster.createdBy = this.getCurrentUser()?.id;\r\n // this.scfMaster.createdByName = this.getCurrentUser()?.name;\r\n // this.scfMaster.relatedDocuments = [];\r\n // this.scfMaster.createdOn = new Date();\r\n // this.scfMaster.estimatedStartOn = new Date();\r\n // this.scfMaster.estimatedEndOn = new Date();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\r\n // \"MMM-DD-YYYY\"\r\n // );\r\n // this.scfMaster.editingBy = this.getCurrentUser();\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.side.selectedRowIndex = -1;\r\n\r\n // this.loading = true;\r\n // this.scfService\r\n // .post(this.scfMaster)\r\n // .toPromise()\r\n // .then(scfMaster => {\r\n // if (scfMaster) {\r\n // this.scfMaster = scfMaster;\r\n // this.loading = true;\r\n // this.side.scfMaster = this.scfMaster;\r\n // this.disabled = false;\r\n // this.checkPrivileges();\r\n // this.status.isCreating = true;\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster) {\r\n // this.scfMaster.retrievedBy = this.getCurrentUser()?.id;\r\n // // TODO this.side.selectedRowIndex = this.scfMaster?.id;\r\n // }\r\n // }\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n // async edit() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditing = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n // async editAmendment() {\r\n // this.loading = true;\r\n // await this.setEditing(true);\r\n // this.status.isEditingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // if (this.scfMaster)\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // }\r\n\r\n release() {\r\n // if (this.scfMaster && this.scfMasterUnchanged && !utils.isEquivalent(this.cleanSCFMaster(this.scfMaster), this.cleanSCFMaster(this.scfMasterUnchanged))) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"SCF_Release_confirmation\")\r\n // ?.description, icon: \"stop\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // if (this.scfMaster?.status == FormStatusEnum.New) {\r\n // this.loading = true;\r\n // this.scfService\r\n // .cancel(this.scfMaster, \"New Form Canceled\")\r\n // .toPromise()\r\n // .then(() => {\r\n // this.loading = false;\r\n // this.scfMaster = null;\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n // }\r\n // });\r\n // } else {\r\n // this.releaseForm();\r\n // }\r\n }\r\n\r\n // cleanSCFMaster(scfMaster: SCFMaster) {\r\n // let clonedSCFMaster: SCFMaster = new SCFMaster();\r\n // if (scfMaster) {\r\n // clonedSCFMaster = utils.cloneDeep(scfMaster);\r\n // clonedSCFMaster.wfTable = null;\r\n // clonedSCFMaster.editingBy = null;\r\n // clonedSCFMaster.editingById = null;\r\n // clonedSCFMaster.editingUntil = null;\r\n // clonedSCFMaster.updatedOn = null;\r\n // clonedSCFMaster.updatedBy = null;\r\n // }\r\n // return clonedSCFMaster;\r\n // }\r\n\r\n // async releaseForm() {\r\n // this.loading = true;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // // this.scfMaster = this.scfMasterUnchanged;\r\n // await this.setEditing(false);\r\n // }\r\n\r\n async setEditing(value: boolean) {\r\n // await this.scfService\r\n // .setEditing(this.scfMaster?.id ?? 0, value)\r\n // .toPromise()\r\n // .then(async () => {\r\n // await this.loadSCFs();\r\n // });\r\n // this.disabled = !value;\r\n }\r\n\r\n @HostListener(\"window:resize\")\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n // if (this.isExpanded != false) {\r\n\r\n // }\r\n if (this.innerWidth < 768) {\r\n this.isExpanded = false;\r\n }\r\n }\r\n\r\n @HostListener(\"window:scroll\")\r\n isHeaderOnTop() {\r\n let elemRec;\r\n if (this.headerTop?.nativeElement !== undefined) {\r\n elemRec = this.headerTop.nativeElement.getBoundingClientRect();\r\n const docViewTop = window.screenTop;\r\n const elemTop = elemRec.top;\r\n if (elemTop <= docViewTop) {\r\n this.headerOnTop = true;\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n // this.tableWidth = this.scheduleTable.nativeElement.offsetWidth + 'px';\r\n } else {\r\n this.headerOnTop = false;\r\n }\r\n }\r\n\r\n //////\r\n changedFilter() { }\r\n clearFilter() { }\r\n selectedFilter() { }\r\n createDisabled() { }\r\n editDisabled() { }\r\n action() { }\r\n\r\n // settings() {\r\n // const settings = this.dialog.open(ScfV2SettingsComponent, {\r\n // width: \"70vw\", minWidth: \"70vw\", minHeight: \"60vh\", disableClose: true,\r\n // });\r\n // settings.afterClosed().subscribe(() => { });\r\n // }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n // rowSelected(e: SCFMaster | any) {\r\n // this.scfMaster = e as SCFMaster;\r\n // if (\r\n // this.scfMasterUnchanged?.status != this.scfMaster?.status &&\r\n // this.scfMasterUnchanged?.id == this.scfMaster?.id\r\n // ) {\r\n // this.showStatusChangeMessage(this.scfMaster);\r\n // }\r\n // this.scfMasterUnchanged = e ? utils.cloneDeep(e) : null;\r\n // this.checkPrivileges();\r\n // this.createdOn = moment(this.scfMaster?.createdOn).format(\"MMM-DD-YYYY\");\r\n // this.status = new SCFStatus();\r\n // if (this.scfMaster?.status == FormStatusEnum.Amendment) {\r\n // this.status.isEditingAmendment =\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id;\r\n // this.status.isViewingAmendment = this.privileges.canViewAmendment;\r\n // } else if (this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) {\r\n // this.status.isEditing = true;\r\n // this.status.isViewingAmendment = false;\r\n // } else {\r\n // this.status.isViewingAmendment = false;\r\n // this.status.isEditing = false;\r\n // this.status.isEditingAmendment = false;\r\n // }\r\n // this.checkDisabled();\r\n // this.showAmendmentToggle = (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.canSeeAmendment();\r\n // this.checkButtonsVisible();\r\n // this.setHeights();\r\n // this.scrollToTop('sidenav-content');\r\n // }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n // checkButtonsVisible() {\r\n // this.buttonsVisible =\r\n // this.status.isCreating ||\r\n // this.status.isEditing ||\r\n // this.status.isEditingAmendment ||\r\n // this.status.isCreatingAmendment ||\r\n // this.status.isViewingAmendment ||\r\n // (this.scfMaster?.status == FormStatusEnum.WorkApprovals &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == FormStatusEnum.PendingActivation &&\r\n // this.privileges.canCancel) ||\r\n // (this.scfMaster?.status == this.formStatus.Draft &&\r\n // this.privileges.canUnsubmit) ||\r\n // (this.scfMaster?.status == this.formStatus.RestrictionsAmendment &&\r\n // this.privileges.canUnsubmitAmendment)\r\n // }\r\n\r\n // changeAmendmentToggle(e: any) {\r\n // this.status.isViewingAmendment = e.checked;\r\n // this.checkPrivileges();\r\n // }\r\n\r\n // canSeeAmendment(): boolean {\r\n // let res = this.hasPrivilege(PrivilegeEnum.SCFSubmit);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.SCFNewForm);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.EditSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.hasPrivilege(PrivilegeEnum.ViewSCFAmendment);\r\n // if (res) {\r\n // return true;\r\n // }\r\n // res = this.scfMaster?.requesterId == this.getCurrentUser()?.id || this.scfMaster?.scfAmendments?.find(a => a.active)?.requesterId == this.getCurrentUser()?.id;\r\n // if (res) {\r\n // return true;\r\n // }\r\n // return false;\r\n // }\r\n\r\n // checkDisabled() {\r\n // this.disabled = true;\r\n // if (!this.getCurrentUser()) {\r\n // return;\r\n // } else {\r\n // this.disabled = !(\r\n // this.scfMaster?.status === FormStatusEnum.New ||\r\n // this.scfMaster?.status === FormStatusEnum.Draft ||\r\n // (this.scfMaster?.status === FormStatusEnum.Amendment &&\r\n // this.status.isViewingAmendment)\r\n // );\r\n // }\r\n // }\r\n\r\n checkPrivileges() {\r\n // this.checkDisabled();\r\n // this.privileges = new SCFPrivileges();\r\n // this.privileges = {\r\n // canCreate: this.hasPrivilege(PrivilegeEnum.SCFNewForm),\r\n // canEdit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFNewForm) &&\r\n // (!this.scfMaster?.editingBy ||\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id),\r\n // canSubmit:\r\n // (this.scfMaster?.status == FormStatusEnum.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canCancel:\r\n // (this.scfMaster?.status == this.formStatus.Draft ||\r\n // this.scfMaster?.status == FormStatusEnum.New ||\r\n // this.scfMaster?.status == FormStatusEnum.WorkApprovals ||\r\n // this.scfMaster?.status == FormStatusEnum.PendingActivation) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit),\r\n // canUnsubmit:\r\n // this.scfMaster?.status == this.formStatus.WorkApprovals &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmit) &&\r\n // this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find((x) => x.number == 2)?.wfSignatures?.filter((x) => x.code != \"SUBMIT\" && x.signed).length ==\r\n // 0,\r\n // canCreateAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Active ||\r\n // this.scfMaster?.status == FormStatusEnum.HoldPoint) &&\r\n // this.hasPrivilege(PrivilegeEnum.RequestAmendment),\r\n // canEditAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.EditSCFAmendment),\r\n // canSubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.Amendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canUnsubmitAmendment:\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment) &&\r\n // !this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.filter(x =>\r\n // x.amendmentID == this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 6)?.wfSignatures?.find(x => x.amendmentNumber == this.scfMaster?.scfAmendments?.length\r\n // )?.amendmentID\r\n // )\r\n // .some((x) => x.signed),\r\n // canCancelAmendment:\r\n // (this.scfMaster?.status == FormStatusEnum.Amendment ||\r\n // this.scfMaster?.status == FormStatusEnum.AmendmentSign ||\r\n // this.scfMaster?.status == FormStatusEnum.RestrictionsAmendment) &&\r\n // this.hasPrivilege(PrivilegeEnum.SCFSubmitAmendment),\r\n // canViewAmendment: (this.scfMaster && this.canSeeAmendment()) ?? false,\r\n // canAddHoldPoints:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CreateHoldPoints) &&\r\n // (this.scfMaster.status == FormStatusEnum.Active ||\r\n // this.scfMaster.status == FormStatusEnum.HoldPoint)) ?? false,\r\n // canAddHoldPointsDraft:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(\r\n // PrivilegeEnum.CreateHoldPointsDraft\r\n // ) &&\r\n // this.scfMaster.status == FormStatusEnum.Draft) ?? false,\r\n // canDuplicate:\r\n // (this.scfMaster &&\r\n // this.hasPrivilege(PrivilegeEnum.CopySCF)) ?? false,\r\n // canRelease:\r\n // ((this.scfMaster &&\r\n // this.scfMaster?.editingBy?.id == this.getCurrentUser()?.id) ||\r\n // this.getCurrentUser()?.userRole?.map((x) => x.roleID).includes(Roles.SA)) ?? false,\r\n // };\r\n }\r\n\r\n duplicate() {\r\n // const removeRef = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"20em\", data: {\r\n // message: this.getMessage(\r\n // \"Are you sure you want to copy this form\"\r\n // ).description, icon: \"warn\", val: false,\r\n // },\r\n // });\r\n // removeRef\r\n // .afterClosed()\r\n // .toPromise()\r\n // .then((result) => {\r\n // if (result != null && result) {\r\n // const id = this.scfMaster?.id ?? 0;\r\n // this.side.rowUnselected();\r\n // // this.cdRef.detectChanges();\r\n // this.loading = true;\r\n // this.scfService\r\n // .copySCF(id, false)\r\n // .toPromise()\r\n // .then(async (scfMaster) => {\r\n // this.scfMaster = scfMaster;\r\n // if (this.scfMaster && this.scfMaster?.id)\r\n // this.notificationService.createNotification(NotificationType.CreateSCF, this.scfMaster.id, await this.scfService.getEmails(this.scfMaster), 5, this.scfMaster?.locations).toPromise();\r\n // if (this.scfMaster)\r\n // await this.side.getValues(this.scfMaster);\r\n // this.loading = false;\r\n // })\r\n // .catch((error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // });\r\n // }\r\n // });\r\n }\r\n\r\n requestAmendment() {\r\n // const pendingChanges = this.scfMaster?.wfTable?.wfTableLocal?.wfSectionLocals?.find(x => x.number == 4)?.wfSignatures?.filter(x => !x.wfTaskLocal.amendmentID)?.filter(x => x.answerChangedBy);\r\n // if (!pendingChanges?.length) {\r\n // const confirm = this.dialog.open(YesNoDialogComponent, {\r\n // width: \"500px\", data: {\r\n // message: this.getMessage(\"request_amendment\")?.description, icon: \"warn\",\r\n // },\r\n // });\r\n // confirm.afterClosed().subscribe(async (data) => {\r\n // if (data) {\r\n // this.loading = true;\r\n // if (this.scfMaster?.id)\r\n // this.scfService.requestAmendment(this.scfMaster.id).toPromise().then(() => {\r\n // this.status.isCreatingAmendment = true;\r\n // this.status.isViewingAmendment = true;\r\n // this.loading = false;\r\n // }, (error) => {\r\n // console.log(error);\r\n // this.alert.message(\r\n // this.getMessage(\"defaultErrorMessage\")\r\n // );\r\n // }\r\n // );\r\n // }\r\n // });\r\n // } else {\r\n // this.alert.message(\r\n // this.getMessage(\"OperationApprovalPendingChanges\")\r\n // );\r\n // }\r\n }\r\n\r\n // setStatus(status: SCFStatus | any) {\r\n // this.status = status;\r\n // }\r\n\r\n // savedEvent(e: SCFMaster | null | undefined | any) {\r\n // this.scfMaster = e;\r\n // this.scfMasterUnchanged = utils.cloneDeep(this.scfMaster);\r\n // this.scfService.currentDoc = this.scfMaster;\r\n // this.rowSelected(e);\r\n // }\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ moduleTitle }}\r\n
    \r\n \r\n

    \r\n \r\n
    \r\n
    \r\n \r\n Operator initiating form\r\n \r\n \r\n
    \r\n
    \r\n \r\n Created Date\r\n \r\n \r\n
    \r\n \r\n
    \r\n Show Pending Amendment\r\n
    \r\n
    \r\n Modifying by: {{\r\n element?.editingBy?.name\r\n }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule, FormsModule, FormControl, FormGroupDirective, NgForm } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { ErrorStateMatcher, MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { ChecklistComponentsModule } from 'src/app/controls/checklist-components/checklist-components.module';\r\nimport { SharedModule } from 'src/app/modules/shared.module';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { httpInterceptorProviders } from 'src/app/interceptors/interceptorProviders';\r\nimport { ChecklistsModule } from '../checklists/checklists.module';\r\nimport { TemplateComponent } from './template.component';\r\nimport { TemplateSideComponent } from './template-side/template-side.component';\r\n\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\nclass TouchedErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {\r\n return !!(control && control.invalid && (control.dirty || control.touched));\r\n }\r\n}\r\n\r\n@NgModule({\r\n declarations: [\r\n TemplateComponent,\r\n TemplateSideComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n MatSidenavModule,\r\n MatTooltipModule,\r\n QuillModule.forRoot(),\r\n SharedModule,\r\n ChecklistComponentsModule,\r\n ChecklistsModule\r\n ],\r\n exports: [\r\n RouterModule,\r\n ],\r\n providers: [\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n { provide: ErrorStateMatcher, useClass: TouchedErrorStateMatcher }\r\n ],\r\n bootstrap: [AppComponent, SharedModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\n\r\nexport class TemplateModule { }\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { ResourceRelation, Resource, Location } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'accelerator-location-chips',\r\n templateUrl: './accelerator-location-chips.component.html',\r\n styleUrls: ['./accelerator-location-chips.component.scss']\r\n})\r\nexport class AcceleratorLocationChipsComponent implements OnInit, OnChanges {\r\n\r\n @Input() placeholder!: string;\r\n @Input() locations?: any[];\r\n @Input() disabled!: boolean;\r\n @Input() hilite!: boolean | null;\r\n\r\n @Output() removed = new EventEmitter();\r\n @Output() selected = new EventEmitter();\r\n\r\n control = new FormControl();\r\n\r\n // filteredLocations: Resource[];\r\n\r\n resourceRelations?: ResourceRelation[];\r\n resourceRelationsFiltered?: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n locationGroups!: any[];\r\n\r\n resources?: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n\r\n constructor(\r\n private store: Store\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadResourceRelations();\r\n this.loadResources();\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n createLocationGroups(text: string | null = null) {\r\n this.locationGroups = [];\r\n this.resources?.map(l => {\r\n if (l.type == 1) {\r\n if (!this.locationGroups.map(g => g.type).includes(l.id)) {\r\n const relations = this.resourceRelations?.filter(rr => rr.childResourceType == ResourceType.AcceleratorLocation && rr.parentResourceID == l.id && !this.locations?.map(x => x.id).includes(rr.childResourceID) && (rr.childResourceName?.toLowerCase().includes(text?.toLowerCase() ?? '') || !text));\r\n const locs = relations?.map(rr => {\r\n return { id: rr.childResourceID, name: rr.childResourceName, type: rr.childResourceType };\r\n });\r\n this.locationGroups.push({ name: l.name, type: l.type, id: l.id, locations: locs });\r\n }\r\n }\r\n else {\r\n if (!this.locationGroups.map(g => g.type).includes(l.type) && l.type != ResourceType.AcceleratorLocation) {\r\n const locs =\r\n this.resources?.filter(x => x.type == l.type && (x.name?.toLowerCase().includes(text?.toLowerCase() ?? '') || !text)).map(l => {\r\n return { id: l.id, name: l.name } as Location;\r\n });\r\n this.locationGroups.push({ name: l.resourceType?.name, type: l.type, locations: locs });\r\n }\r\n }\r\n });\r\n if (text) {\r\n this.locationGroups = this.locationGroups.filter(g => g.locations?.some((l: any) => l.name?.toLowerCase().includes(text.toLowerCase())));\r\n }\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n }\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data.filter(r => r.type == ResourceType.Accelerator);\r\n this.createLocationGroups();\r\n }\r\n });\r\n }\r\n\r\n onKeyup(e: any) {\r\n const code = e.code;\r\n const text = e.taget.value;\r\n if (!code?.includes(\"Arrow\")) {\r\n this.createLocationGroups(text);\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ location.resource == null ? \"\" : location.resource.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ location.name }}\r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { RelatedLinkDocumentBase } from 'src/app/common/models/related-link-document-base.model';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\nimport { MessageBannerService } from 'src/app/components/messages/services/message-banner.service';\r\nimport { Clipboard } from '@angular/cdk/clipboard';\r\n\r\n@Component({\r\n selector: 'add-related-link-document',\r\n templateUrl: './add-related-link-document.component.html',\r\n styleUrls: ['./add-related-link-document.component.scss']\r\n})\r\nexport class AddRelatedLinkDocumentComponent implements OnInit {\r\n\r\n textCtrl = new FormControl('', [Validators.required, utils.IsWhiteSpaceReactiveForm]);\r\n // URL = new FormControl('', Validators.pattern(/^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/));\r\n URL = new FormControl('', Validators.pattern(/^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/|http:\\/\\/localhost:[0-9]{4}\\/#|http:\\/\\/localhost:[0-9]{4})?[a-zA-Z0-9]+([\\-.]{1}[a-zA-Z0-9]+)*\\.[a-zA-Z]{2,5}(:[0-9]{1,5})?(\\/.*)?(#\\/.*)?$/));\r\n\r\n option: number = 2;\r\n processingFile = false;\r\n\r\n //messages\r\n addRelatedDocumentOrLink?: string;\r\n documentNameOrHyperlink?: string;\r\n youMustEnterAValidaValue?: string;\r\n webAddress?: string;\r\n clipboardText?: string;\r\n clipboardFromAPL?: boolean;\r\n\r\n constructor(\r\n public messageService: MessageBannerService,\r\n public dialogRef: MatDialogRef,\r\n public fileV2Service: FileV2Service,\r\n @Inject(MAT_DIALOG_DATA) public data: {\r\n path: string,\r\n disabledFileUpload: boolean,\r\n relatedLinkDocument: RelatedLinkDocumentBase,\r\n editing: boolean,\r\n },\r\n ) { }\r\n\r\n async ngOnInit(): Promise {\r\n this.addRelatedDocumentOrLink = this.messageService.get(\"Add Related Document or Link\")?.description;\r\n this.documentNameOrHyperlink = this.messageService.get(\"Document Name or Hyperlink\")?.description;\r\n this.youMustEnterAValidaValue = this.messageService.get(\"You must enter a valid value\")?.description;\r\n this.webAddress = this.messageService.get(\"Web Address\")?.description;\r\n\r\n if (this.data.relatedLinkDocument != undefined && this.data.relatedLinkDocument != null) {\r\n this.option = (this.data?.relatedLinkDocument?.url != null && this.data?.relatedLinkDocument?.url != undefined) ? 1 : 2;\r\n } else {\r\n this.data.relatedLinkDocument = this.data?.relatedLinkDocument ?? new RelatedLinkDocumentBase();\r\n }\r\n\r\n this.clipboardText = await navigator.clipboard.readText();\r\n this.clipboardFromAPL = this.clipboardText.includes('%%apl%%');\r\n }\r\n\r\n accept() {\r\n if (this.option == 1) {\r\n if (this.data.relatedLinkDocument?.url != null && this.data.relatedLinkDocument.url.substr(0, 4).toUpperCase() !== 'HTTP') {\r\n this.data.relatedLinkDocument.url = 'HTTPS://' + this.data.relatedLinkDocument.url;\r\n }\r\n if (this.data.relatedLinkDocument?.text && !this.URL.invalid) {\r\n this.dialogRef.close(this.data.relatedLinkDocument);\r\n }\r\n } else if (this.option == 2) {\r\n if (this.data.relatedLinkDocument?.file) {\r\n this.dialogRef.close(this.data.relatedLinkDocument);\r\n }\r\n }\r\n }\r\n\r\n cancel() {\r\n if (this.data.relatedLinkDocument?.fileID != null && this.data.relatedLinkDocument.fileID != undefined && !(this.data?.editing === true) && (this.data.relatedLinkDocument.id == null || this.data.relatedLinkDocument.id == undefined)) {\r\n this.fileV2Service.delete(this.data.relatedLinkDocument.fileID).subscribe(\r\n () => { },\r\n error => console.error(error),\r\n );\r\n this.dialogRef.close();\r\n } else {\r\n this.dialogRef.close();\r\n }\r\n }\r\n\r\n optionChange() {\r\n if (this.data.relatedLinkDocument) {\r\n this.data.relatedLinkDocument.url = null;\r\n this.data.relatedLinkDocument.fileID = null;\r\n this.data.relatedLinkDocument.file = null;\r\n }\r\n }\r\n\r\n async pasteFromAPL() {\r\n const clipboardContent = this.clipboardText?.replace('%%apl%%', '').split('|');\r\n if (clipboardContent) {\r\n this.data.relatedLinkDocument.text = clipboardContent[0];\r\n this.data.relatedLinkDocument.url = clipboardContent[1];\r\n await navigator.clipboard.writeText('');\r\n this.clipboardText = await navigator.clipboard.readText();\r\n this.clipboardFromAPL = false;\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n {{\r\n addRelatedDocumentOrLink == null\r\n ? \"Add Related Document or Link\"\r\n : addRelatedDocumentOrLink\r\n }}\r\n
    \r\n
    \r\n \r\n \r\n Web Address\r\n PDF\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n {{\r\n documentNameOrHyperlink == null\r\n ? \"Document Name or Hyperlink\"\r\n : documentNameOrHyperlink\r\n }}\r\n \r\n {{\r\n youMustEnterAValidaValue == null\r\n ? \"You must enter a valid value\"\r\n : youMustEnterAValidaValue\r\n }}\r\n \r\n \r\n {{\r\n webAddress == null ? \"Web Address\" : webAddress\r\n }}\r\n \r\n {{\r\n youMustEnterAValidaValue == null\r\n ? \"You must enter a valid value\"\r\n : youMustEnterAValidaValue\r\n }}\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n\r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n\r\n","import { Component, Inject, Injector, OnInit } from \"@angular/core\";\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from \"@angular/material/dialog\";\r\nimport { FormControl, Validators } from \"@angular/forms\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\n\r\n@Component({\r\n selector: \"app-add-related-link\",\r\n templateUrl: \"./add-related-link.component.html\",\r\n styleUrls: [\"./add-related-link.component.scss\"],\r\n})\r\nexport class AddRelatedLinkComponent extends BaseComponent implements OnInit {\r\n Text = new FormControl(\"\", [\r\n Validators.required,\r\n utils.IsWhiteSpaceReactiveForm,\r\n ]);\r\n URL = new FormControl(\r\n \"\",\r\n Validators.pattern(\r\n /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/\r\n )\r\n );\r\n\r\n //messages\r\n addRelatedDocumentOrLink?: string;\r\n documentNameOrHyperlink?: string;\r\n youMustEnterAValidaValue?: string;\r\n webAddress?: string;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: any,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.addRelatedDocumentOrLink = this.getMessage(\"Add Related Document or Link\").description;\r\n this.documentNameOrHyperlink =\r\n this.data?.DocumentNameOrHyperlinkPlaceholder ?? this.getMessage(\"Document or Link Name\").description;\r\n this.youMustEnterAValidaValue = this.getMessage(\"You must enter a valid value\").description;\r\n this.webAddress = this.data?.WebAddressPlaceholder ?? this.getMessage(\"URL\").description;\r\n }\r\n\r\n Add() {\r\n if (this.data.obj.URL === \"\" || !this.data.obj.URL) {\r\n this.data.obj = {\r\n Text: this.data.obj.Text,\r\n };\r\n } else {\r\n if (this.URL.invalid) {\r\n return;\r\n }\r\n }\r\n if (\r\n this.data.obj.URL != null &&\r\n this.data.obj.URL.substr(0, 4).toUpperCase() !== \"HTTP\"\r\n ) {\r\n this.data.obj.URL = \"HTTPS://\" + this.data.obj.URL;\r\n }\r\n if (this.data.obj.Text) {\r\n this.dialogRef.close(this.data.obj);\r\n }\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
    \r\n\t
    \r\n\t\t{{ addRelatedDocumentOrLink }}\r\n\t
    \r\n\t
    \r\n\t\t\r\n\t\t\tDocument name or Hyperlink\r\n\t\t\t\r\n\t\t\t{{ youMustEnterAValidaValue }}\r\n\t\t\r\n\t\t\r\n\t\t\tURL or Web Address\r\n\t\t\t\r\n\t\t\t{{ youMustEnterAValidaValue }}\r\n\t\t\r\n\t
    \r\n\t
    \r\n\t\t
    \r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tAccept\r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n
    \r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'cancel-dialog',\r\n templateUrl: './cancel-dialog.component.html',\r\n styleUrls: ['./cancel-dialog.component.scss']\r\n})\r\nexport class CancelDialogComponent extends BaseComponent implements OnInit {\r\n title = '';\r\n warning: string | null = '';\r\n placeholder = '';\r\n\r\n constructor(\r\n private cancelDialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.data.accept = false;\r\n this.data.cancel = false;\r\n this.warning = this.getMessage('CancelDialogWarning').description;\r\n if (this.data.amendment != undefined && this.data.amendment) {\r\n this.title = this.getMessage('CancelAmendmentDialogTitle').description;\r\n this.placeholder = this.getMessage('cancelAmendment').description;\r\n }\r\n else if (this.data.label) {\r\n this.title = this.data.label;\r\n this.placeholder = this.getMessage('cancelForm').description;\r\n this.warning = null;\r\n } else {\r\n this.title = this.getMessage('CancelFormDialogTitle').description;\r\n this.placeholder = this.getMessage('cancelForm').description;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.data.accept = false;\r\n this.data.cancel = true;\r\n this.cancelDialog.close(this.data);\r\n }\r\n\r\n accept() {\r\n this.data.accept = true;\r\n this.data.cancel = false;\r\n this.cancelDialog.close(this.data);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n warning\r\n
    \r\n
    \r\n
    {{ title }}
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n Accept\r\n \r\n \r\n
    \r\n
    \r\n","import { Alert } from './../../services/alert/store/alert.action';\r\nimport { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { debounceTime, Subject } from 'rxjs';\r\nimport { AcceleratorCatalog } from 'src/app/components/catalogs/accelerator-catalog/services/accelerator-catalog';\r\nimport { BeamlineCatalog } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { Move } from 'src/app/components/catalogs/catalog-model';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { PendingAccelerator, PendingResource } from 'src/app/services/pending-approvals/pending-approval';\r\n\r\n@Component({\r\n selector: 'catalog-history-navigation',\r\n templateUrl: './catalog-history-navigation.component.html',\r\n styleUrls: ['./catalog-history-navigation.component.scss']\r\n})\r\nexport class CatalogHistoryNavigationComponent implements OnChanges {\r\n\r\n @Input() catalogs?: AcceleratorCatalog[] | BeamlineCatalog[] = [];\r\n @Output() selectedAccelerator = new EventEmitter();\r\n @Output() selectedBeamline = new EventEmitter();\r\n\r\n catalog?: AcceleratorCatalog | BeamlineCatalog;\r\n catalogInfo?: PendingAccelerator | PendingResource | null;\r\n\r\n index: number = 0;\r\n\r\n move = Move;\r\n sliderCtrl!: FormControl;\r\n\r\n private indexSubject = new Subject();\r\n\r\n\r\n ngOnInit() {\r\n this.indexSubject.pipe(debounceTime(1500)).subscribe((index) => {\r\n this.index = index;\r\n this.selectedIndex();\r\n })\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.catalogs?.length) {\r\n this.index = this.catalogs.length - 1;\r\n this.sliderCtrl = new FormControl(this.index);\r\n this.selectedIndex();\r\n }\r\n }\r\n\r\n moveOnHistory(move: Move) {\r\n switch (move) {\r\n case Move.FIRST:\r\n this.index = 0;\r\n break;\r\n case Move.LAST:\r\n this.index = (this.catalogs?.length ?? 1) - 1;\r\n break;\r\n default:\r\n this.index += move;\r\n }\r\n\r\n if (this.index < 0) this.index = 0;\r\n if (this.index > (this.catalogs?.length ?? 1) - 1) this.index = (this.catalogs?.length ?? 1) - 1;\r\n this.selectedIndex();\r\n }\r\n\r\n changed(e: any) {\r\n const value = e;\r\n this.indexSubject.next(value);\r\n }\r\n\r\n selectedIndex() {\r\n const catalog: any = utils.cloneDeep(this.catalogs?.[this.index]);\r\n if (catalog.pendingAcceleratorCatalog) {\r\n this.catalog = catalog as AcceleratorCatalog;\r\n this.catalogInfo = this.catalog.pendingAcceleratorCatalog;\r\n this.selectedAccelerator.emit(this.catalog);\r\n }\r\n else if (catalog.pendingResource) {\r\n this.catalog = catalog as BeamlineCatalog;\r\n this.catalogInfo = this.catalog.pendingResource;\r\n this.selectedBeamline.emit(this.catalog);\r\n }\r\n\r\n\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n first_page\r\n \r\n \r\n arrow_back\r\n \r\n
    \r\n
    \r\n \r\n \r\n = 0\"\r\n >Displaying Update {{ index + 1 }} of\r\n {{ catalogs?.length }}\r\n
    \r\n \r\n
    \r\n
    \r\n {{ index == 0 ? \"Created by:\" : \"Updated by:\" }}\r\n {{ catalogInfo?.userCreatedBy?.name }}\r\n on:\r\n {{ catalogInfo?.createdOn | date }}\r\n
    \r\n
    \r\n Approved by:\r\n {{ catalogInfo?.statusByUser?.name }}\r\n on:\r\n {{ catalogInfo?.statusOn | date }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n arrow_forward\r\n \r\n \r\n last_page\r\n \r\n
    \r\n\r\n","import { Component, ElementRef, Inject, Input, OnInit, ViewChild, ChangeDetectorRef, Injector } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { ActionItemService } from '../action-item.service';\r\nimport * as QuillNamespace from 'quill';\r\nimport { ImageDrop } from 'quill-image-drop-module';\r\nimport ImageResize from 'quill-image-resize-module';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport CustomImageResize from 'src/app/modules/libs/quill/quill-custom-image-resize/custom-image-resize';\r\nimport { ImageUploadService } from 'src/app/services/file/image-upload.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { saveActionItemResource } from '../action-item';\r\nimport { ActionItemsCreate, ActionItemsUpdate } from '../store/actionItems.action';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\nclass Owner {\r\n id?: number;\r\n name?: string;\r\n}\r\n\r\n@Component({\r\n selector: 'action-item-edit',\r\n templateUrl: './action-item-edit.component.html',\r\n styleUrls: ['./action-item-edit.component.scss']\r\n})\r\nexport class ActionItemEditComponent extends BaseComponent implements OnInit {\r\n\r\n @Input() formType: string;\r\n @Input() formId: number;\r\n @Input() sectionNumber: number;\r\n @Input() sectionId: number;\r\n @Input() taskId: number;\r\n\r\n loading!: boolean;\r\n\r\n /** Form Controls **/\r\n public form!: FormGroup;\r\n ownerCtrl = new FormControl();\r\n locationCtrl = new FormControl();\r\n radioCtrl = new FormControl();\r\n quillCtrl = new FormControl();\r\n\r\n actionItem: ActionItem;\r\n tmpText?: string | null;\r\n textValue?: string | null;\r\n textValueSanitized!: SafeHtml;\r\n ownerValue!: Owner;\r\n locationValue?: string;\r\n radioValue?: number;\r\n\r\n filteredUsers!: User[];\r\n saving!: boolean;\r\n serialNo: string;\r\n\r\n @ViewChild('autoOwner')\r\n matAutocompleteLoc!: MatAutocomplete;\r\n @ViewChild('ownerInput')\r\n ownerInput!: ElementRef;\r\n @ViewChild('ownerInput', { read: MatAutocompleteTrigger })\r\n ownerTrigger!: MatAutocompleteTrigger;\r\n\r\n radioOptions: any[] = [{ value: 30, label: '30 days' }, { value: 60, label: '60 days' }, { value: 90, label: '90 days' }];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n private sanitizer: DomSanitizer,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private _image: ImageUploadService,\r\n private _action: ActionItemService,\r\n ) {\r\n super(injector);\r\n this.actionItem = data.actionItem;\r\n this.formType = data.formType;\r\n this.formId = data.formId;\r\n this.sectionNumber = data.sectionNumber;\r\n this.sectionId = data.sectionId;\r\n this.taskId = data.taskId;\r\n this.serialNo = data.serialNo;\r\n }\r\n\r\n ngOnInit() {\r\n this.getUsers();\r\n this.buildForm();\r\n this.setValues();\r\n this.filterUsers();\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n ownerCtrl: this.ownerCtrl,\r\n locationCtrl: this.locationCtrl,\r\n radioControl: this.radioCtrl,\r\n quillCrtl: this.quillCtrl\r\n });\r\n }\r\n\r\n setValues() {\r\n if (this.actionItem) {\r\n this.textValue = this.actionItem.description;\r\n this.tmpText = this.textValue;\r\n this.textValueSanitized = this.sanitizer.bypassSecurityTrustHtml(this.actionItem.description ? this.actionItem.description : '');\r\n if (!this.textValue) {\r\n this.textValue = null;\r\n }\r\n this.ownerValue = { id: this.actionItem.ownerUserId, name: this.actionItem.ownerName };\r\n this.locationValue = this.actionItem.location;\r\n this.radioValue = this.actionItem.duePeriod;\r\n\r\n this.ownerCtrl.setValue(this.ownerValue);\r\n this.locationCtrl.setValue(this.locationValue);\r\n this.radioCtrl.setValue(this.radioValue);\r\n }\r\n }\r\n\r\n filterUsers() {\r\n this.filteredUsers = this.getUsers().filter(x => x.id != this.ownerValue?.id);\r\n }\r\n\r\n async saveValues() {\r\n this.saving = true;\r\n await this.getValue();\r\n this.saveActionItem();\r\n }\r\n\r\n saveActionItem() {\r\n if (this.actionItem) {\r\n if (this.actionItem.id == 0) {\r\n const saveActionItem = this.actionItem as saveActionItemResource;\r\n this._action.postActionItem(saveActionItem).subscribe(data => {\r\n this.actionItem = data;\r\n this.store.dispatch(new ActionItemsCreate(this.actionItem));\r\n this.saving = false;\r\n });\r\n }\r\n else {\r\n const saveActionItem = this.actionItem as saveActionItemResource;\r\n if (this.actionItem.id)\r\n this._action.putActionItem(this.actionItem.id, saveActionItem).subscribe(data => {\r\n this.actionItem = data;\r\n if (this.actionItem.id)\r\n this.store.dispatch(new ActionItemsUpdate(this.actionItem.id, this.actionItem));\r\n this.saving = false;\r\n });\r\n\r\n }\r\n }\r\n }\r\n\r\n async getValue() {\r\n if (!this.actionItem) {\r\n this.actionItem = {};\r\n }\r\n\r\n this.actionItem.description = await this.uploadImages(this.textValue);\r\n this.actionItem.ownerUserId = this.ownerValue?.id;\r\n this.actionItem.ownerName = this.ownerValue?.name;\r\n this.actionItem.location = this.locationValue;\r\n this.actionItem.duePeriod = this.radioValue;\r\n this.actionItem.formType = FormType.ABSI;\r\n this.actionItem.formId = this.formId;\r\n this.actionItem.sectionNumber = this.sectionNumber;\r\n this.actionItem.wfSectionId = this.sectionId;\r\n this.actionItem.wfTaskId = this.taskId;\r\n\r\n return this.actionItem;\r\n }\r\n\r\n\r\n displayOwner(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n /* --- Individual event controls --*/\r\n textEdit() {\r\n this.tmpText = this.textValue;\r\n }\r\n\r\n textChanged(e: any) {\r\n // if (this.tmpText != this.textValue) {\r\n // this.tmpText = this.textValue;\r\n // }\r\n this.textValue = e;\r\n this.tmpText = e;\r\n if (this.textValue)\r\n this.textValueSanitized = this.sanitizer.bypassSecurityTrustHtml(this.textValue);\r\n this.cdRef.checkNoChanges();\r\n }\r\n\r\n ownerSelected(event: MatAutocompleteSelectedEvent) {\r\n if (this.ownerCtrl.value.id) {\r\n this.ownerValue = new Owner();\r\n this.ownerValue.id = this.ownerCtrl.value.id;\r\n this.ownerValue.name = this.ownerCtrl.value.name;\r\n }\r\n else {\r\n this.ownerValue.id = 0;\r\n this.ownerValue.name = this.ownerCtrl.value;\r\n }\r\n }\r\n\r\n ownerChanged() {\r\n if (this.filteredUsers.length == 0) {\r\n this.ownerValue.id = 0;\r\n this.ownerValue.name = this.ownerCtrl.value;\r\n }\r\n }\r\n\r\n locationChanged() {\r\n this.locationValue = this.locationCtrl.value;\r\n }\r\n\r\n radioChanged(e: any) {\r\n this.radioValue = e.value;\r\n }\r\n\r\n onOwnerChange() {\r\n this.filterUsers();\r\n this.filteredUsers = this.filteredUsers?.filter(o => o.name?.toLowerCase().includes(this.ownerCtrl.value?.toLowerCase()));\r\n }\r\n\r\n async save() {\r\n this.loading = true;\r\n await this.saveValues();\r\n this.loading = false;\r\n this.dialogRef.close();\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n /*---------------------------*/\r\n\r\n\r\n\r\n onSelectionChanged = (event: any) => {\r\n if (event.oldRange == null) {\r\n this.onFocus();\r\n }\r\n if (event.range == null) {\r\n this.onBlur();\r\n }\r\n }\r\n\r\n\r\n\r\n onFocus = () => {\r\n }\r\n\r\n onBlur = () => {\r\n if (this.form.dirty) {\r\n this.saveValues();\r\n }\r\n }\r\n\r\n async uploadImages(textValue?: string | null) {\r\n if (textValue) {\r\n const text = await this._image.uploadImagesToServer(textValue, '/' + this.formType + '/' + this.serialNo + '/' + 'ActionItems/');\r\n return text;\r\n }\r\n return textValue;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    Edit Action Item
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Owner\r\n \r\n \r\n \r\n {{ user.name }}\r\n \r\n \r\n \r\n \r\n Location\r\n \r\n \r\n
    \r\n Due period: \r\n \r\n \r\n {{ r.label }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n","import { Component, Input, ViewChild, ElementRef, OnChanges, Injector } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { ActionItemEditComponent } from './action-item-edit/action-item-edit.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { ActionItemService } from './action-item.service';\r\nimport { ActionItemsDelete } from './store/actionItems.action';\r\n\r\n@Component({\r\n selector: 'action-item',\r\n templateUrl: './action-item.component.html',\r\n styleUrls: ['./action-item.component.scss']\r\n})\r\nexport class ActionItemComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() disabled?: boolean;\r\n @Input() formType?: number | string;\r\n @Input() formId?: number;\r\n @Input() sectionNumber?: number;\r\n @Input() sectionId?: number;\r\n @Input() taskId?: number;\r\n @Input() serialNo?: string;\r\n\r\n /*--- Values response ------------*/\r\n @Input()\r\n actionItem!: ActionItem;\r\n\r\n /*------- Control variables ------*/\r\n label = 'Action Item Description';\r\n filteredUsers!: User[];\r\n\r\n textValue?: string | null;\r\n textValueSanitized!: SafeHtml;\r\n ownerValue!: Owner;\r\n locationValue?: string;\r\n radioValue?: number;\r\n\r\n tmpText?: string | null;\r\n loading!: boolean;\r\n\r\n /*--------------------------------*/\r\n\r\n radioOptions: any[] = [{ value: 30, label: '30 days' }, { value: 60, label: '60 days' }, { value: 90, label: '90 days' }];\r\n /** Form Controls **/\r\n public form!: FormGroup;\r\n ownerCtrl = new FormControl();\r\n locationCtrl = new FormControl();\r\n radioCtrl = new FormControl();\r\n quillCtrl = new FormControl();\r\n\r\n @ViewChild('autoOwner')\r\n matAutocompleteLoc!: MatAutocomplete;\r\n @ViewChild('ownerInput')\r\n ownerInput!: ElementRef;\r\n @ViewChild('ownerInput', { read: MatAutocompleteTrigger })\r\n ownerTrigger!: MatAutocompleteTrigger;\r\n\r\n delayTimer: any;\r\n\r\n\r\n /** action-item ctor */\r\n constructor(\r\n protected override injector: Injector,\r\n private _action: ActionItemService,\r\n private sanitizer: DomSanitizer,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges() {\r\n this.buildForm();\r\n this.setValues();\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n ownerCtrl: this.ownerCtrl,\r\n locationCtrl: this.locationCtrl,\r\n radioControl: this.radioCtrl,\r\n quillCrtl: this.quillCtrl\r\n });\r\n }\r\n\r\n setValues() {\r\n if (this.actionItem) {\r\n this.textValue = this.actionItem.description;\r\n this.tmpText = this.textValue;\r\n this.textValueSanitized = this.sanitizer.bypassSecurityTrustHtml(this.actionItem.description ? this.actionItem.description : '');\r\n if (!this.textValue && this.disabled) {\r\n this.textValue = 'Action Item Description';\r\n }\r\n this.ownerValue = { id: this.actionItem.ownerUserId, name: this.actionItem.ownerName };\r\n this.locationValue = this.actionItem.location;\r\n this.radioValue = this.actionItem.duePeriod;\r\n\r\n this.ownerCtrl.setValue(this.ownerValue?.name);\r\n this.locationCtrl.setValue(this.locationValue);\r\n this.radioCtrl.setValue(this.radioValue);\r\n }\r\n this.form.disable();\r\n }\r\n\r\n displayOwner(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n edit() {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n actionItem: this.actionItem,\r\n formType: this.formType,\r\n formId: this.formId,\r\n serialNo: this.serialNo,\r\n sectionNumber: this.sectionNumber,\r\n sectionId: this.sectionId,\r\n taskId: this.taskId\r\n };\r\n dialogConfig.width = '80vw';\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(ActionItemEditComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n\r\n }\r\n });\r\n }\r\n\r\n del() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('ActionItemDeleteConfirmation').description,\r\n icon: 'warn'\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (this.actionItem.id) {\r\n await this._action.deleteActionItem(this.actionItem.id).toPromise();\r\n this.store.dispatch(new ActionItemsDelete(this.actionItem.id));\r\n this.alert.info(this.getMessage('ActionItemDeleted').description);\r\n }\r\n }\r\n );\r\n }\r\n}\r\n\r\nclass Owner {\r\n id?: number;\r\n name?: string;\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Owner\r\n \r\n \r\n \r\n Location\r\n \r\n \r\n
    \r\n Due period: \r\n \r\n \r\n {{ r.label }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n edit\r\n \r\n \r\n delete\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { saveActionItemResource } from './action-item';\r\nimport { Observable } from 'rxjs';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport { environment } from 'src/environments/environment';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Injectable()\r\nexport class ActionItemService {\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Api = '/ActionItems';\r\n\r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n\r\n public postActionItem(actionItem: saveActionItemResource): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.Api, actionItem);\r\n return httpresult;\r\n }\r\n\r\n public putActionItem(id: number, actionItem: saveActionItemResource): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.Api + '/' + id, actionItem);\r\n return httpresult;\r\n }\r\n\r\n public readAll(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api);\r\n return httpresult;\r\n }\r\n\r\n public readById(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/' + id);\r\n return httpresult;\r\n }\r\n\r\n public readBySection(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/BySection/' + id);\r\n return httpresult;\r\n }\r\n\r\n public readBySectionNumber(section: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/BySectionNo/' + section);\r\n return httpresult;\r\n }\r\n\r\n public readByTask(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/ByTask/' + id);\r\n return httpresult;\r\n }\r\n\r\n public readByForm(type: FormType, id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + `/ByForm/${type}/${id}`);\r\n return httpresult;\r\n }\r\n\r\n public emailByForm(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/Email/' + id);\r\n return httpresult;\r\n }\r\n\r\n public deleteActionItem(id: number) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.Api + '/' + id);\r\n return httpresult;\r\n }\r\n}\r\n","import { ActionItem } from \"src/app/common/models/action-item\";\r\nimport { FormType } from '../../../../common/enumerations/enumerations';\r\n\r\nexport class ActionItemsRefresh {\r\n static readonly type = '[ActionItems] Refresh';\r\n constructor(public AbsiId: number) { }\r\n}\r\n\r\nexport class ActionItemsCreate {\r\n static readonly type = '[ActionItems] Create';\r\n\r\n constructor(public item: ActionItem) { }\r\n}\r\n\r\nexport class ActionItemsUpdate {\r\n static readonly type = '[ActionItems] Update';\r\n\r\n constructor(public id: number, public item: ActionItem) { }\r\n}\r\n\r\nexport class ActionItemsUpdateBySection {\r\n static readonly type = '[ActionItems] UpdateBySection';\r\n\r\n constructor(public sectionID: number, public items: ActionItem[]) { }\r\n}\r\n\r\nexport class ActionItemsUpdateByForm {\r\n static readonly type = '[ActionItems] UpdateByForm';\r\n\r\n constructor(public type: FormType, public formID: number, public items: ActionItem[]) { }\r\n}\r\n\r\nexport class ActionItemsDelete {\r\n static readonly type = '[ActionItems] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Action, Selector, State, StateContext } from \"@ngxs/store\";\r\nimport { ActionItemsCreate, ActionItemsDelete, ActionItemsRefresh, ActionItemsUpdate, ActionItemsUpdateByForm, ActionItemsUpdateBySection } from \"./actionItems.action\";\r\nimport { ActionItem } from \"src/app/common/models/action-item\";\r\nimport { ActionItemService } from \"../action-item.service\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { FormType } from \"src/app/common/enumerations/enumerations\";\r\n\r\nexport class ActionItemsStateModel {\r\n data: ActionItem[] = [];\r\n}\r\n\r\n@State({\r\n name: 'ActionItems',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class ActionItemsState {\r\n constructor(\r\n private ActionItemsService: ActionItemService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: ActionItemsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(ActionItemsRefresh)\r\n refresh({ patchState }: StateContext, { AbsiId }: ActionItemsRefresh) {\r\n if (AbsiId) {\r\n this.ActionItemsService.readByForm(FormType.ABSI, AbsiId).subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n else {\r\n patchState({ data: [] });\r\n }\r\n }\r\n\r\n @Action(ActionItemsCreate)\r\n create({ getState, patchState }: StateContext, { item }: ActionItemsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n else {\r\n patchState({ data: [...state.data, item] });\r\n }\r\n }\r\n\r\n @Action(ActionItemsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: ActionItemsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(ActionItemsUpdateBySection)\r\n updateBySection({ getState, patchState }: StateContext, { sectionID, items }: ActionItemsUpdateBySection) {\r\n const state = getState();\r\n const data = utils.cloneDeep(state.data.filter(a => a.wfSectionId != sectionID).concat(items));\r\n patchState({ data });\r\n }\r\n\r\n @Action(ActionItemsUpdateByForm)\r\n updateByForm({ getState, patchState }: StateContext, { type, formID, items }: ActionItemsUpdateByForm) {\r\n const state = getState();\r\n const data = utils.cloneDeep(state.data.filter(a => a.formType == type && a.formId == formID).concat(items));\r\n patchState({ data });\r\n }\r\n\r\n @Action(ActionItemsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: ActionItemsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as ActionItemsActions from './actionItems.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ActionItemsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore(AbisId: number) {\r\n this.store.dispatch(new ActionItemsActions.ActionItemsRefresh(AbisId));\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.CATLACTIONITEMS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new ActionItemsActions.ActionItemsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new ActionItemsActions.ActionItemsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new ActionItemsActions.ActionItemsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new ActionItemsActions.ActionItemsRefresh(data.id));\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, Inject } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport { ActionItemService } from '../action-item/action-item.service';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'catl-report',\r\n templateUrl: './catl-report.component.html',\r\n styleUrls: ['./catl-report.component.scss']\r\n})\r\n/** catl-report component*/\r\nexport class CatlReportComponent {\r\n\r\n actionItems?: ActionItem[];\r\n loading: boolean = true;\r\n /** catl-report ctor */\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public currentDocument: any,\r\n private _actionItems: ActionItemService,\r\n private sanitizer: DomSanitizer\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.getData();\r\n }\r\n\r\n displaySection(section: any) {\r\n return section ? section.sectionName : null;\r\n }\r\n\r\n getData() {\r\n this._actionItems.readByForm(FormType.ABSI, this.currentDocument.id).subscribe(data => {\r\n this.actionItems = data;\r\n this.actionItems.map(actionItem => {\r\n actionItem.html = this.sanitizer.bypassSecurityTrustHtml(actionItem.description != undefined ? actionItem.description : '');\r\n });\r\n this.loading = false;\r\n });\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    CATL Report
    \r\n
    \r\n
    \r\n
    \r\n SerialNo: {{ currentDocument.serialNo }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Endstation(s): {{ currentDocument.resourceName }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Action Items Count: {{ actionItems?.length }}\r\n
    \r\n
    \r\n
    \r\n \r\n close\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Date: {{ action.createdOn | date }}\r\n
    \r\n
    \r\n Owner: {{ action.ownerName }}\r\n
    \r\n
    \r\n Location: {{ action.location }}\r\n
    \r\n
    \r\n Due Period: {{ action.duePeriod }} days\r\n
    \r\n
    \r\n Created By: {{ action.createdByName }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Input, Output, EventEmitter, OnInit, OnChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MatDialogConfig, MatDialog } from '@angular/material/dialog';\r\nimport { Store } from '@ngxs/store';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport { ActionItemService } from './action-item/action-item.service';\r\nimport { ActionItemEditComponent } from './action-item/action-item-edit/action-item-edit.component';\r\nimport { ActionItemsCreate } from './action-item/store/actionItems.action';\r\n\r\n@Component({\r\n selector: 'catl',\r\n templateUrl: './catl.component.html',\r\n styleUrls: ['./catl.component.scss']\r\n})\r\nexport class CatlComponent implements OnChanges {\r\n\r\n @Input() formType?: string | number;\r\n @Input() formId?: number;\r\n @Input() sectionNumber?: number;\r\n @Input() sectionId?: number;\r\n @Input() taskId?: number;\r\n @Input() showLabel?: boolean;\r\n @Input() serialNo?: string;\r\n\r\n actionItems: ActionItem[] = [];\r\n actionItems$!: Observable;\r\n\r\n @Input() disabled?: boolean;\r\n @Input() builder?: boolean;\r\n\r\n @Output() catlChanged: EventEmitter = new EventEmitter();\r\n\r\n subscription!: Subscription;\r\n isLoading = false;\r\n isActionLoading = false;\r\n\r\n /** catl ctor */\r\n constructor(\r\n private _action: ActionItemService,\r\n private store: Store,\r\n private dialog: MatDialog\r\n ) {\r\n\r\n }\r\n\r\n ngOnChanges() {\r\n this.getActionItems();\r\n }\r\n\r\n getActionItems() {\r\n this.isLoading = true;\r\n this.actionItems$ = this.store.select(state => state.ActionItems.data);\r\n this.subscription = this.actionItems$.subscribe(async data => {\r\n this.actionItems = [];\r\n if (this.taskId) {\r\n if (data.filter(x => x.wfTaskId == this.taskId).length > 0) {\r\n this.actionItems = data.filter(x => x.wfTaskId == this.taskId).sort((a, b) => (a.id ?? 0) - (b.id ?? 0));\r\n this.isLoading = false;\r\n }\r\n // else {\r\n // if (!this.isActionLoading) {\r\n // this.isActionLoading = true;\r\n // this._action.readByTask(this.taskId).subscribe(res => {\r\n // this.actionItems = res.sort((a, b) => (a.id ?? 0) - (b.id ?? 0));\r\n // this.actionItems.map(actionItem => {\r\n // this.store.dispatch(new ActionItemsCreate(actionItem));\r\n // });\r\n // this.isLoading = false;\r\n // });\r\n // }\r\n // }\r\n }\r\n else {\r\n if (this.sectionId) {\r\n if (data.filter(a => a.wfSectionId == this.sectionId).length > 0) {\r\n this.actionItems = data.filter(a => a.wfSectionId == this.sectionId && !a.wfTaskId).sort((a, b) => (a.id ?? 0) - (b.id ?? 0));\r\n this.isLoading = false;\r\n }\r\n // else {\r\n // if (!this.isActionLoading) {\r\n // this.isActionLoading = true;\r\n // this._action.readBySection(this.sectionId).subscribe(res => {\r\n // this.actionItems = res.filter(x => !x.wfTaskId).sort((a, b) => (a.id ?? 0) - (b.id ?? 0));\r\n // this.actionItems.map(actionItem => {\r\n // this.store.dispatch(new ActionItemsCreate(actionItem));\r\n // });\r\n // this.isLoading = false;\r\n // });\r\n // }\r\n // }\r\n }\r\n }\r\n });\r\n }\r\n\r\n add() {\r\n const actionItem = { id: 0 };\r\n this.edit(actionItem);\r\n }\r\n\r\n edit(actionItem: ActionItem) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n actionItem,\r\n formType: this.formType,\r\n formId: this.formId,\r\n sectionNumber: this.sectionNumber,\r\n sectionId: this.sectionId,\r\n taskId: this.taskId,\r\n serialNo: this.serialNo\r\n };\r\n dialogConfig.width = '80vw';\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(ActionItemEditComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe((data) => {\r\n if (data) {\r\n\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n","import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'document-chips',\r\n templateUrl: './document-chips.component.html',\r\n styleUrls: ['./document-chips.component.scss']\r\n})\r\nexport class DocumentChipsComponent implements OnInit {\r\n @Input() documentChips?: DocumentChip[];\r\n @Input() shadow?: boolean;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n openDocument(e: string) {\r\n window.location.href = \"#/redirect/\" + e;\r\n }\r\n\r\n}\r\n\r\nexport interface DocumentChip {\r\n id: number;\r\n serialNo: string;\r\n status: string;\r\n cssClass: string;\r\n}\r\n","\r\n {{ c.serialNo }}\r\n\r\n","import { Component, EventEmitter, Injector, Input, OnInit, Output } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\n\r\n@Component({\r\n selector: 'button-signature-duplicate',\r\n templateUrl: './button-signature-duplicate.component.html',\r\n styleUrls: ['./button-signature-duplicate.component.scss']\r\n})\r\nexport class ButtonSignatureDuplicateComponent extends ClBaseComponent {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private wfService: WorkFlowService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n @Input() code?: string;\r\n @Output() duplicate = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n approveEvent(e: any) {\r\n this.approve.emit(e);\r\n }\r\n\r\n disapproveEvent(e: any) {\r\n this.disapprove.emit(e);\r\n }\r\n\r\n unapproveEvent(e: any) {\r\n this.unapprove.emit(e);\r\n }\r\n\r\n async duplicateEvent() {\r\n if (this.taskID) {\r\n this.loading.emit(true);\r\n await this.wfService.copyTask(this.taskID, 'DUP').toPromise().then(task => {\r\n const res = { taskID: task?.id, task, action: DuplicateAction.Duplicate } as TaskDuplicateResource;\r\n this.duplicate.emit(res);\r\n this.loading.emit(false);\r\n }).catch(error => {\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n async removeDuplicateEvent() {\r\n if (this.taskID) {\r\n this.loading.emit(true);\r\n await this.wfService.removeTask(this.taskID).toPromise().then(() => {\r\n const res = { taskID: this.taskID, action: DuplicateAction.Remove } as TaskDuplicateResource;\r\n this.duplicate.emit(res);\r\n this.loading.emit(false);\r\n }).catch(error => {\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n}\r\n\r\nexport class TaskDuplicateResource {\r\n taskID!: number;\r\n task?: WfTaskLocalResource;\r\n action!: DuplicateAction;\r\n}\r\n\r\nexport enum DuplicateAction {\r\n Duplicate = 1,\r\n Remove = 2\r\n}\r\n","\r\n\r\n\r\n\tdelete_outline\r\n\r\n\r\n\tcontent_copy\r\n\r\n","import { AfterViewInit, Component, EventEmitter, HostListener, Injector, OnChanges, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { DataButtonSignature } from 'src/app/common/models/data-button-signature';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\nimport { RoleToken } from 'src/app/services/authentication/token-structure';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { TextareaDialogComponent } from '../../textarea-dialog/textarea-dialog.component';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { MatRadioChange } from '@angular/material/radio';\r\n\r\n@Component({\r\n selector: 'button-signature-radio',\r\n templateUrl: './button-signature-radio.component.html',\r\n styleUrls: ['./button-signature-radio.component.scss']\r\n})\r\nexport class ButtonSignatureRadioComponent extends ClBaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {\r\n\r\n public wrapperTitle!: string;\r\n public wrapperWidth!: number;\r\n\r\n @Output() onCancel = new EventEmitter();\r\n @Output() onError = new EventEmitter();\r\n\r\n public fullRoles!: RoleToken;\r\n public name?: string | null;\r\n allRoles: Role[] = [];\r\n roles = [];\r\n public showRoles!: Role[];\r\n\r\n public hidden = false;\r\n\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n fullRoleName!: string;\r\n\r\n constructor(\r\n public _wf: WorkFlowService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.wrapperWidth = this.wrapperTitle != undefined ? $('#' + this.wrapperTitle)[0].clientWidth : 0;\r\n this.hidden = this.title == null || this.title == '';\r\n }\r\n\r\n ngOnInit() {\r\n this.hidden = this.title == null || this.title == '';\r\n this.refresh();\r\n }\r\n\r\n ngOnChanges() {\r\n this.hidden = this.title == null || this.title == '';\r\n this.refresh();\r\n if (this.radioSelection || this.radioSelection == 0) { this.setRadio(); }\r\n this.checked = this.user != null;\r\n }\r\n\r\n refresh() {\r\n this.onResize();\r\n\r\n if (!this.value) {\r\n this.label = 'Approve';\r\n this.name = null;\r\n this.date = null;\r\n this.color = 'primary';\r\n }\r\n else {\r\n this.label = 'Unapprove';\r\n this.color = 'accent';\r\n this.name = this.user?.name ? this.user.name : this.getCurrentUser()?.name;\r\n }\r\n }\r\n\r\n click() {\r\n if (!this.builder) {\r\n if (!this.value) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.message ? this.message.description : this.getMessage('approve_message')?.description,\r\n icon: this.message?.type == MessageTypeEnum.Error ? 'stop' : this.message?.type == MessageTypeEnum.Warning ? 'warn' : null\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disabled = false;\r\n this.name = this.getCurrentUser()?.name;\r\n this.date = new Date();\r\n this.value = !this.value;\r\n this.approve.emit({\r\n value: this.value,\r\n options: this.radioOptions,\r\n user: this.value ? this.getCurrentUser()?.id : 0,\r\n date: this.date,\r\n });\r\n }\r\n this.refresh();\r\n });\r\n }\r\n else {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('unapprove_message')?.description\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disabled = false;\r\n this.name = null;\r\n this.date = null;\r\n this.value = !this.value;\r\n this.radioSelection = undefined;\r\n this.unapprove.emit({\r\n value: this.value,\r\n user: this.value ? this.getCurrentUser()?.id : 0,\r\n date: this.date,\r\n options: this.radioOptions,\r\n });\r\n }\r\n this.refresh();\r\n });\r\n }\r\n }\r\n else {\r\n if (!this.value) {\r\n this.disabled = false;\r\n this.name = this.getCurrentUser()?.name;\r\n this.date = new Date();\r\n this.value = !this.value;\r\n }\r\n else {\r\n this.disabled = false;\r\n this.name = null;\r\n this.date = null;\r\n this.value = !this.value;\r\n }\r\n }\r\n }\r\n\r\n // disapproveEvent() {\r\n // if (!this.builder) {\r\n // const confirm = this.dialog.open(TextareaDialogComponent, {\r\n // width: '400px',\r\n // data: {\r\n // label: this.getMessage('disapprove_message')?.description,\r\n // placeholder: 'Disapproval Reason',\r\n // text: ''\r\n // }\r\n // });\r\n // confirm.afterClosed().subscribe((data) => {\r\n // if (data?.acceptClicked) {\r\n // this.disabled = false;\r\n // this.name = null;\r\n // this.date = null;\r\n // this.value = !this.value;\r\n // const res: DataButtonSignature = {\r\n // value: this.value,\r\n // user: this.value ? this.getCurrentUser()?.id : 0,\r\n // date: this.date,\r\n // text: data.text\r\n // };\r\n // this.disapprove.emit(res);\r\n // }\r\n // });\r\n // }\r\n // }\r\n\r\n @HostListener('window:resize')\r\n onResize() {\r\n const myControl = $('#' + this.wrapperTitle)[0];\r\n if (myControl != undefined) {\r\n this.wrapperWidth = myControl.clientWidth;\r\n // console.log(\"Panel width: \" + panelwith);\r\n // console.log(\" --- Control width: \" + this.wrapperWidth);\r\n\r\n const headLeft = $('#chl+' + this.wrapperTitle);\r\n const headRight = $('#chr+' + this.wrapperTitle);\r\n\r\n if (this.wrapperWidth < 260) {\r\n headLeft.removeClass('col-6');\r\n headLeft.addClass('col-12');\r\n headRight.removeClass('col-6');\r\n headRight.addClass('col-12');\r\n }\r\n else {\r\n headLeft.removeClass('col-12');\r\n headLeft.addClass('col-6');\r\n headRight.removeClass('col-12');\r\n headRight.addClass('col-6');\r\n }\r\n }\r\n }\r\n\r\n cancel() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: 'Are you sure to cancel the form?',\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(\r\n async data => {\r\n // if (data != null) {\r\n if (data) {\r\n this.wfTaskSignature.taskId = this.taskID;\r\n this.wfTaskSignature.actionId = this.cancelID;\r\n this._wf.sign(this.wfTaskSignature).subscribe(\r\n () => {\r\n this.onCancel.emit();\r\n },\r\n error => {\r\n this.onError.emit(error.error);\r\n }\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n getTooltip(action: number): string {\r\n if (this.builder)\r\n return this.tooltips?.find(x => x.action == action)?.content ?? '';\r\n else return '';\r\n }\r\n\r\n radioChange(e: MatRadioChange) {\r\n this.radioSelected.emit(e.value);\r\n this.radioSelection = e.value;\r\n this.setRadio();\r\n }\r\n\r\n setRadio() {\r\n this.radioOptions?.map(r => {\r\n r.checked = r.value == this.radioSelection;\r\n });\r\n }\r\n\r\n buttonEnabled() {\r\n return this.radioOptions?.map(r => r.checked).includes(true) ?? false;\r\n }\r\n}\r\n","\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n {{ userNames }}\r\n
    \r\n
    \r\n \r\n {{ label }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    By:
    \r\n
    \r\n {{ name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date:\r\n
    \r\n
    \r\n {{\r\n date | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Output, EventEmitter, HostListener, AfterViewInit, OnDestroy, OnInit, OnChanges, Injector } from '@angular/core';\r\nimport { DataButtonSignature } from 'src/app/common/models/data-button-signature';\r\nimport { RoleToken } from 'src/app/services/authentication/token-structure';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { TextareaDialogComponent } from '../../textarea-dialog/textarea-dialog.component';\r\n@Component({\r\n selector: 'button-signature',\r\n templateUrl: './button-signature.component.html',\r\n styleUrls: ['./button-signature.component.scss']\r\n})\r\nexport class ButtonSignatureComponent extends ClBaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {\r\n\r\n public wrapperTitle!: string;\r\n public wrapperWidth!: number;\r\n\r\n @Output() onCancel = new EventEmitter();\r\n @Output() onError = new EventEmitter();\r\n\r\n public fullRoles!: RoleToken;\r\n public name?: string | null;\r\n allRoles: Role[] = [];\r\n roles = [];\r\n public showRoles!: Role[];\r\n\r\n public hidden = false;\r\n\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n fullRoleName!: string;\r\n\r\n constructor(\r\n public _wf: WorkFlowService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.wrapperWidth = this.wrapperTitle != undefined ? $('#' + this.wrapperTitle)[0].clientWidth : 0;\r\n this.hidden = this.title == null || this.title == '';\r\n }\r\n\r\n ngOnInit() {\r\n this.hidden = this.title == null || this.title == '';\r\n this.refresh();\r\n }\r\n\r\n ngOnChanges() {\r\n this.hidden = this.title == null || this.title == '';\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n this.onResize();\r\n\r\n if (!this.value) {\r\n this.label = 'Approve';\r\n this.name = null;\r\n this.date = null;\r\n this.color = 'primary';\r\n }\r\n else {\r\n this.label = 'Unapprove';\r\n this.color = 'accent';\r\n this.name = this.user?.name ? this.user.name : this.getCurrentUser()?.name;\r\n }\r\n }\r\n\r\n click() {\r\n if (!this.builder) {\r\n if (!this.value) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.message ? this.message.description : this.getMessage('approve_message')?.description,\r\n icon: this.message?.type == MessageTypeEnum.Error ? 'stop' : this.message?.type == MessageTypeEnum.Warning ? 'warn' : null\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disabled = false;\r\n this.name = this.getCurrentUser()?.name;\r\n this.date = new Date();\r\n this.value = !this.value;\r\n this.approve.emit({\r\n value: this.value,\r\n user: this.value ? this.getCurrentUser()?.id : 0,\r\n date: this.date\r\n });\r\n }\r\n this.refresh();\r\n });\r\n }\r\n else {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('unapprove_message')?.description\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disabled = false;\r\n this.name = null;\r\n this.date = null;\r\n this.value = !this.value;\r\n this.unapprove.emit({\r\n value: this.value,\r\n user: this.value ? this.getCurrentUser()?.id : 0,\r\n date: this.date\r\n });\r\n }\r\n this.refresh();\r\n });\r\n }\r\n }\r\n else {\r\n if (!this.value) {\r\n this.disabled = false;\r\n this.name = this.getCurrentUser()?.name;\r\n this.date = new Date();\r\n this.value = !this.value;\r\n }\r\n else {\r\n this.disabled = false;\r\n this.name = null;\r\n this.date = null;\r\n this.value = !this.value;\r\n }\r\n }\r\n }\r\n\r\n disapproveEvent() {\r\n if (!this.builder) {\r\n const confirm = this.dialog.open(TextareaDialogComponent, {\r\n width: '400px',\r\n data: {\r\n label: this.getMessage('disapprove_message')?.description,\r\n placeholder: 'Disapproval Reason',\r\n text: ''\r\n }\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data?.acceptClicked) {\r\n this.disabled = false;\r\n this.name = null;\r\n this.date = null;\r\n this.value = !this.value;\r\n const res: DataButtonSignature = {\r\n value: this.value,\r\n user: this.value ? this.getCurrentUser()?.id : 0,\r\n date: this.date,\r\n text: data.text\r\n };\r\n this.disapprove.emit(res);\r\n }\r\n });\r\n }\r\n }\r\n\r\n @HostListener('window:resize')\r\n onResize() {\r\n const myControl = $('#' + this.wrapperTitle)[0];\r\n if (myControl != undefined) {\r\n this.wrapperWidth = myControl.clientWidth;\r\n // console.log(\"Panel width: \" + panelwith);\r\n // console.log(\" --- Control width: \" + this.wrapperWidth);\r\n\r\n const headLeft = $('#chl+' + this.wrapperTitle);\r\n const headRight = $('#chr+' + this.wrapperTitle);\r\n\r\n if (this.wrapperWidth < 260) {\r\n headLeft.removeClass('col-6');\r\n headLeft.addClass('col-12');\r\n headRight.removeClass('col-6');\r\n headRight.addClass('col-12');\r\n }\r\n else {\r\n headLeft.removeClass('col-12');\r\n headLeft.addClass('col-6');\r\n headRight.removeClass('col-12');\r\n headRight.addClass('col-6');\r\n }\r\n }\r\n }\r\n\r\n cancel() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: 'Are you sure to cancel the form?',\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(\r\n async data => {\r\n // if (data != null) {\r\n if (data) {\r\n this.wfTaskSignature.taskId = this.taskID;\r\n this.wfTaskSignature.actionId = this.cancelID;\r\n this._wf.sign(this.wfTaskSignature).subscribe(\r\n () => {\r\n this.onCancel.emit();\r\n },\r\n error => {\r\n this.onError.emit(error.error);\r\n }\r\n );\r\n }\r\n }\r\n );\r\n }\r\n\r\n getTooltip(action: number): string {\r\n if (this.builder)\r\n return this.tooltips?.find(x => x.action == action)?.content ?? '';\r\n else return '';\r\n }\r\n}\r\n","\r\n
    \r\n
    \r\n
    \r\n
    {{ title }}
    \r\n \r\n\r\n {{ userNames }}\r\n
    \r\n
    \r\n \r\n {{ label }}\r\n \r\n \r\n Disapprove\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    By:
    \r\n
    \r\n {{ name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date:\r\n
    \r\n
    \r\n {{\r\n date | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Input, Output, EventEmitter, OnChanges, OnDestroy, OnInit, Injector, ChangeDetectorRef, ViewChild } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { MatCheckboxWithRolesComponent } from '../../mat-checkbox-with-roles/mat-checkbox-with-roles.component';\r\n// import { Role } from '../../../Services/Roles/role';\r\n// import { User } from 'src/app/Services/Users/user';\r\n// import { YesNoDialogComponent } from '../../common/yes-no-dialog/yes-no-dialog.component';\r\n// import { MatDialog } from '@angular/material/dialog';\r\n// import { AppStateService } from 'src/app/Store/AppStateService';\r\n// import { DisplayMessageService } from 'src/app/Services/display-message-service/display-message.service';\r\n// import { ClBaseComponent } from '../../checklist/cl-base/cl-base.component';\r\n// import { Store } from '@ngxs/store';\r\n\r\n@Component({\r\n selector: 'checkbox-signature',\r\n templateUrl: './checkbox-signature.component.html',\r\n styleUrls: ['./checkbox-signature.component.scss']\r\n})\r\n/* checkbox-signature component*/\r\nexport class CheckboxSignatureComponent extends ClBaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() confirm?: boolean;\r\n\r\n @Output() check = new EventEmitter();\r\n\r\n public role!: string;\r\n allRoles: Role[] = [];\r\n roles = [];\r\n\r\n public visible!: boolean;\r\n @ViewChild(MatCheckboxWithRolesComponent) matCheckbox!: MatCheckboxWithRolesComponent;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void { }\r\n\r\n\r\n ngOnChanges() {\r\n this.visible = false;\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n if (this.checked) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('approve_message')?.description\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.user = this.currentUser;\r\n this.emit_results();\r\n }\r\n else {\r\n this.matCheckbox.checked = false;\r\n this.checked = false;\r\n this.value = false;\r\n }\r\n });\r\n }\r\n else {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('unapprove_message')?.description\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.user = null;\r\n this.emit_results();\r\n }\r\n else {\r\n this.matCheckbox.checked = true;\r\n this.checked = true;\r\n this.value = true;\r\n }\r\n });\r\n }\r\n }\r\n\r\n emit_results() {\r\n if (this.checked) {\r\n this.date = new Date();\r\n } else {\r\n this.date = null;\r\n }\r\n\r\n this.check.emit(this.checked);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ title }}
    \r\n
    \r\n\r\n
    \r\n {{\r\n userNames\r\n }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    By:
    \r\n
    \r\n {{ user?.name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date:\r\n
    \r\n
    \r\n {{\r\n date | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { AppRoutingModule } from '../../app-routing.module';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { RouterModule, PreloadAllModules, Routes } from '@angular/router';\r\nimport { ClBaseComponent } from './cl-base/cl-base.component';\r\nimport { ButtonSignatureComponent } from './button-signature/button-signature.component';\r\nimport { MasterControlComponent } from './master-control/master-control.component';\r\nimport { CheckboxSignatureComponent } from './checkbox-signature/checkbox-signature.component';\r\nimport { QuestionSignatureComponent } from './question-signature/question-signature.component';\r\nimport { ClCloseActionComponent } from './cl-close-action/cl-close-action.component';\r\nimport { FormWorkflowComponent } from 'src/app/common/form-workflow/form-workflow.component';\r\nimport { ClCheckboxComponent } from './cl-checkbox/cl-checkbox.component';\r\nimport { ClCheckboxAndRadioComponent } from './cl-checkbox-and-radio/cl-checkbox-and-radio.component';\r\nimport { ClNoteComponent } from './cl-note/cl-note.component';\r\nimport { ClScheduleAndCheckboxComponent } from './cl-schedule-and-checkbox/cl-schedule-and-checkbox.component';\r\nimport { ClCheckboxAndTextInputComponent } from './cl-checkbox-and-text-input/cl-checkbox-and-text-input.component';\r\nimport { ClCommentsComponent } from './cl-comments/cl-comments.component';\r\nimport { ClCheckboxMultipleComponent } from './cl-checkbox-multiple/cl-checkbox-multiple.component';\r\nimport { ClEditorComponent } from './cl-editor/cl-editor.component';\r\nimport { ClEditorScheduleComponent } from './cl-editor/cl-editor-schedule/cl-editor-schedule.component';\r\nimport { ClEditorStatusComponent } from './cl-editor/cl-editor-status/cl-editor-status.component';\r\nimport { ClEditorTagInfoComponent } from './cl-editor/cl-editor-tag-info/cl-editor-tag-info.component';\r\nimport { ClEditorPlaceholderSelectComponent } from './cl-editor/cl-editor-placeholder-select/cl-editor-placeholder-select.component';\r\nimport { ClEditorRadioOptionsComponent } from './cl-editor/cl-editor-radio-options/cl-editor-radio-options.component';\r\nimport { ClEditorCheckboxOptionsComponent } from './cl-editor/cl-editor-checkbox-options/cl-editor-checkbox-options.component';\r\nimport { ClEditorTextboxOptionsComponent } from './cl-editor/cl-editor-textbox-options/cl-editor-textbox-options.component';\r\nimport { ClEditorLocationComponent } from './cl-editor/cl-editor-location/cl-editor-location.component';\r\nimport { ClEditorColorsComponent } from './cl-editor/cl-editor-colors/cl-editor-colors.component';\r\nimport { ClEditorBRATOIComponent } from './cl-editor/cl-editor-bratoi/cl-editor-bratoi.component';\r\nimport { ClEditorSublocationsComponent } from './cl-editor/cl-editor-sublocations/cl-editor-sublocations.component';\r\nimport { ClEditorTableHeadersComponent } from './cl-editor/cl-editor-table-headers/cl-editor-table-headers.component';\r\nimport { ClEditorImageComponent } from './cl-editor/cl-editor-image/cl-editor-image.component';\r\nimport { ClEditorHideDisableToggleComponent } from './cl-editor/cl-editor-hide-disable-toggle/cl-editor-hide-disable-toggle.component';\r\nimport { ClEditorPlaceholderOptionsComponent } from './cl-editor/cl-editor-placeholder-options/cl-editor-placeholder-options.component';\r\nimport { ClEditorCheckboxRolesSelectionComponent } from './cl-editor/cl-editor-checkbox-roles/cl-editor-checkbox-roles-selection/cl-editor-checkbox-roles-selection.component';\r\nimport { ClEditorCheckboxRolesComponent } from './cl-editor/cl-editor-checkbox-roles/cl-editor-checkbox-roles.component';\r\nimport { ClCheckboxAndCommentsComponent } from './cl-checkbox-and-comments/cl-checkbox-and-comments.component';\r\nimport { ClCatlComponent } from './cl-catl/cl-catl.component';\r\nimport { ClScheduleAbsiComponent } from './cl-schedule-absi/cl-schedule-absi.component';\r\nimport { ClCheckboxMultipleWithTextBoxComponent } from './cl-checkbox-multiple-with-textbox/cl-checkbox-multiple-with-textbox.component';\r\nimport { ClSubtitleComponent } from './cl-subtitle/cl-subtitle.component';\r\nimport { ClMultipleTextboxComponent } from './cl-multiple-textbox/cl-multiple-textbox.component';\r\nimport { ClShieldingsComponent } from './cl-shieldings/cl-shieldings.component';\r\nimport { ClTextComponent } from './cl-text/cl-text.component';\r\nimport { ClOlogComponent } from './cl-olog/cl-olog.component';\r\nimport { ClStatusChangeComponent } from './cl-status-change/cl-status-change.component';\r\nimport { ClRadMetersComponent } from './cl-rad-meters/cl-rad-meters.component';\r\nimport { ClRadMetersAddComponent } from './cl-rad-meters/cl-rad-meters-add/cl-rad-meters-add.component';\r\nimport { ClImageUploadComponent } from './cl-image-upload/cl-image-upload.component';\r\nimport { ClImageUploadTableComponent } from './cl-image-upload/cl-image-upload-table/cl-image-upload-table.component';\r\nimport { ClImageUploadTableDataComponent } from './cl-image-upload/cl-image-upload-table/cl-image-upload-table-data/cl-image-upload-table-data.component';\r\nimport { ClImageUploadInfoComponent } from './cl-image-upload/cl-image-upload-info/cl-image-upload-info.component';\r\nimport { ClEditorTableChannelsAddComponent } from './cl-image-upload/cl-image-upload-table/cl-image-upload-table-data/cl-editor-table-channels-add/cl-editor-table-channels-add.component';\r\nimport { ButtonSignatureDuplicateComponent } from './button-signature-duplicate/button-signature-duplicate.component';\r\nimport { ClLocationComponent } from './cl-location/cl-location.component';\r\nimport { ClBRATOIComponent } from './cl-bratoi/cl-bratoi.component';\r\nimport { ClCheckboxMultipleSignComponent } from './cl-checkbox-multiple-sign/cl-checkbox-multiple-sign.component';\r\nimport { ClCheckboxRadioLocationComponent } from './cl-checkbox-radio-location/cl-checkbox-radio-location.component';\r\nimport { ClRadioPlaceholderCondComponent } from './cl-radio-placeholder-cond/cl-radio-placeholder-cond.component';\r\nimport { ClRadMonitorComponent } from './cl-rad-monitor/cl-rad-monitor.component';\r\nimport { ClRadLocationComponent } from './cl-rad-location/cl-rad-location.component';\r\nimport { ClRestrictionsComponent } from './cl-restrictions/cl-restrictions.component';\r\n\r\nimport { ButtonSignatureRadioComponent } from './button-signature-radio/button-signature-radio.component';\r\nimport { OpApprovalWChecklistsComponent } from './op-approval-w-checklists/op-approval-w-checklists.component';\r\nimport { ChecklistStatusComponent } from '../checklist-status/checklist-status.component';\r\nimport { DocumentChipsComponent } from '../checklist-chips/document-chips.component';\r\nimport { ClRadMonitorDueDateComponent } from './cl-rad-monitor-due-date/cl-rad-monitor-due-date.component';\r\nimport { ClEditorRadMonitorsComponent } from './cl-editor/cl-editor-rad-monitors/cl-editor-rad-monitors.component';\r\nimport { ClEditorRadLocationsComponent } from './cl-editor/cl-editor-rad-locations/cl-editor-rad-locations.component';\r\nimport { ClEditorStatusChangeComponent } from './cl-editor/cl-editor-status-change/cl-editor-status-change.component';\r\nimport { ClEditorConditionsHelpComponent } from './cl-editor/cl-editor-conditions-help/cl-editor-conditions-help.component';\r\nimport { ClEditorComponentHelpComponent } from './cl-editor/cl-editor-component-help/cl-editor-component-help.component';\r\nimport { PlaceholderHighlightPipe } from 'src/app/modules/pipes/placeholder-highlight-pipe.pipe';\r\nimport { RoleSelectionComponent } from '../role-selection/role-selection.component';\r\nimport { CommentsBoxModule } from '../comments-box/comments-box.module';\r\nimport { CatlComponent } from '../catl/catl.component';\r\nimport { RoleChipsComponent } from '../role-chips/role-chips.component';\r\nimport { MatCheckboxWithRolesComponent } from '../mat-checkbox-with-roles/mat-checkbox-with-roles.component';\r\nimport { MatCheckboxWithLabelComponent } from '../mat-checkbox-with-label/mat-checkbox-with-label.component';\r\nimport { ActionItemComponent } from '../catl/action-item/action-item.component';\r\nimport { WaitingDotsComponent } from '../waiting-dots/waiting-dots.component';\r\nimport { WaitingTextComponent } from '../waiting-text/waiting-text.component';\r\n\r\nconst appRoutes: Routes = [\r\n];\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n // Checklists\r\n ClScheduleAndCheckboxComponent,\r\n // ClCheckboxYesNoComponent,\r\n ClCheckboxAndCommentsComponent,\r\n ClEditorComponent,\r\n ClEditorRadioOptionsComponent,\r\n ClCommentsComponent,\r\n ClEditorScheduleComponent,\r\n ClCatlComponent,\r\n // ActionItemComponent,\r\n // ActionItemEditComponent,\r\n // CatlComponent,\r\n ClSubtitleComponent,\r\n ClNoteComponent,\r\n ClCheckboxAndTextInputComponent,\r\n ClCheckboxMultipleComponent,\r\n ClCheckboxMultipleWithTextBoxComponent,\r\n ClMultipleTextboxComponent,\r\n ClCheckboxComponent,\r\n ClEditorComponent,\r\n ClCheckboxAndRadioComponent,\r\n ClCheckboxRadioLocationComponent,\r\n ClEditorCheckboxOptionsComponent,\r\n ClEditorTextboxOptionsComponent,\r\n ClScheduleAbsiComponent,\r\n ClTextComponent,\r\n ClImageUploadComponent,\r\n ClImageUploadTableComponent,\r\n ClImageUploadTableDataComponent,\r\n ClImageUploadInfoComponent,\r\n ClEditorTableChannelsAddComponent,\r\n ClEditorLocationComponent,\r\n ClEditorColorsComponent,\r\n ClEditorTableHeadersComponent,\r\n ClEditorImageComponent,\r\n ClCloseActionComponent,\r\n ClEditorBRATOIComponent,\r\n ClEditorHideDisableToggleComponent,\r\n ClBRATOIComponent,\r\n ClOlogComponent,\r\n ClRadMonitorComponent,\r\n // ClEditorRadMonitorComponent,\r\n // ClCheckboxAndCommentsEditComponent,\r\n ClStatusChangeComponent,\r\n ClEditorStatusComponent,\r\n ClRadLocationComponent,\r\n ClRadMetersComponent,\r\n ClRadMetersAddComponent,\r\n // ClEditorTableChannelsAddComponent,\r\n ClRestrictionsComponent,\r\n ClShieldingsComponent,\r\n ClLocationComponent,\r\n ClRadMonitorDueDateComponent,\r\n ClEditorRadMonitorsComponent,\r\n ClEditorRadLocationsComponent,\r\n\r\n // Signatures\r\n ButtonSignatureComponent,\r\n ButtonSignatureDuplicateComponent,\r\n CheckboxSignatureComponent,\r\n QuestionSignatureComponent,\r\n\r\n // General\r\n // DesignerComponent,\r\n MasterControlComponent,\r\n // RoleLabelsComponent,\r\n // MatCheckboxWithRolesComponent,\r\n // MatCheckboxWithLabelComponent,\r\n ClBaseComponent,\r\n FormWorkflowComponent,\r\n\r\n // Directives\r\n // TextareaAutoresizeDirective,\r\n ClEditorTagInfoComponent,\r\n ClCheckboxMultipleSignComponent,\r\n ClEditorCheckboxRolesComponent,\r\n ClEditorCheckboxRolesSelectionComponent,\r\n ClRadioPlaceholderCondComponent,\r\n ClEditorPlaceholderSelectComponent,\r\n ClEditorPlaceholderOptionsComponent,\r\n ClEditorSublocationsComponent,\r\n OpApprovalWChecklistsComponent,\r\n ButtonSignatureRadioComponent,\r\n\r\n ChecklistStatusComponent,\r\n DocumentChipsComponent,\r\n ButtonSignatureRadioComponent,\r\n ClEditorStatusChangeComponent,\r\n ClEditorConditionsHelpComponent,\r\n ClEditorComponentHelpComponent,\r\n PlaceholderHighlightPipe,\r\n RoleSelectionComponent,\r\n CatlComponent,\r\n RoleChipsComponent,\r\n MatCheckboxWithRolesComponent,\r\n MatCheckboxWithLabelComponent,\r\n\r\n ActionItemComponent,\r\n WaitingDotsComponent,\r\n WaitingTextComponent,\r\n ],\r\n imports: [\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n ScrollingModule,\r\n HttpClientModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n // MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n CommonModule,\r\n MatSidenavModule,\r\n CommentsBoxModule,\r\n QuillModule.forRoot(),\r\n RouterModule.forRoot(\r\n appRoutes,\r\n {\r\n enableTracing: true,\r\n useHash: true,\r\n anchorScrolling: 'enabled',\r\n preloadingStrategy: PreloadAllModules,\r\n }\r\n ),\r\n ],\r\n exports: [\r\n MasterControlComponent,\r\n ClEditorComponent,\r\n ClCloseActionComponent,\r\n ButtonSignatureComponent,\r\n CheckboxSignatureComponent,\r\n QuestionSignatureComponent,\r\n DocumentChipsComponent,\r\n FormWorkflowComponent,\r\n PlaceholderHighlightPipe,\r\n RoleSelectionComponent,\r\n CatlComponent,\r\n MatCheckboxWithRolesComponent,\r\n MatCheckboxWithLabelComponent,\r\n ClOlogComponent,\r\n RoleChipsComponent,\r\n ActionItemComponent,\r\n WaitingDotsComponent,\r\n WaitingTextComponent,\r\n ],\r\n providers: [\r\n\r\n ],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class ChecklistComponentsModule {\r\n}\r\n","import { ENTER, TAB } from '@angular/cdk/keycodes';\r\nimport { Component, EventEmitter, Input, OnDestroy, Output } from '@angular/core';\r\nimport { DataButtonSignature } from 'src/app/common/models/data-button-signature';\r\nimport { Tooltip } from 'src/app/common/tooltip';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { Option } from 'src/app/components/checklists/checklists';\r\nimport { KEResource } from 'src/app/components/kenable/ke';\r\nimport { AbsiResource } from 'src/app/components/absi/absi';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'cl-base',\r\n templateUrl: './cl-base.component.html',\r\n styleUrls: ['./cl-base.component.scss']\r\n})\r\nexport class ClBaseComponent extends BaseComponent implements OnDestroy {\r\n\r\n @Input() title?: string | null;\r\n @Input() textBefore?: string | null;\r\n @Input() textAfter?: string | null;\r\n @Input() textAfter2?: string | null;\r\n @Input() valueString?: string | null;\r\n @Input() roleIds?: number[] | null;\r\n @Input() question?: string | null;\r\n\r\n @Input() roleCodes?: string;\r\n @Input() disabled?: boolean;\r\n @Input() disableEdit?: boolean;\r\n\r\n @Input() checked?: boolean;\r\n @Input() color!: string;\r\n @Input() number?: string | null;\r\n @Input() checkboxVisible?: boolean = true;\r\n @Input() warning?: boolean;\r\n @Input() user?: User | null;\r\n @Input() moreInfo?: string | null;\r\n @Input() editor?: boolean;\r\n @Input() builder?: boolean;\r\n @Input() checklist?: Checklist | KEResource | AbsiResource | null;\r\n @Input() date?: Date | null;\r\n @Input() tooltips?: Tooltip[];\r\n @Input() userNames?: string;\r\n\r\n @Input() value?: boolean;\r\n @Input() textValue?: string | null;\r\n\r\n @Input() showApprove?: boolean;\r\n @Input() showUnapprove?: boolean;\r\n @Input() showDisapprove?: boolean;\r\n @Input() showCancel?: boolean;\r\n\r\n @Input() status!: number;\r\n @Input() cancelID?: number;\r\n @Input() taskID?: number;\r\n @Input() enabled?: boolean;\r\n @Input() message?: MessageBanner;\r\n\r\n @Input() radioQuestion?: string | null;\r\n @Input() radioOptions?: Option[];\r\n @Input() radioSelection?: number;\r\n\r\n @Input() configuration?: string;\r\n @Input() signature?: WfSignature;\r\n\r\n @Input() dateValue1?: Date;\r\n @Input() dateValue2?: Date;\r\n @Input() dateValue3?: Date | null;\r\n @Input() scheduleResourceId?: number;\r\n\r\n @Input() formId?: number;\r\n @Input() sectionNumber?: number;\r\n @Input() sectionId?: number;\r\n\r\n @Output() answered = new EventEmitter();\r\n @Output() save = new EventEmitter();\r\n @Output() approve = new EventEmitter();\r\n @Output() disapprove = new EventEmitter();\r\n @Output() unapprove = new EventEmitter();\r\n @Output() radioSelected = new EventEmitter();\r\n @Output() changed = new EventEmitter();\r\n\r\n @Input() text?: string | null;\r\n @Input() label?: string | null;\r\n\r\n @Input() formType?: string | number;\r\n @Input() serialNo?: string;\r\n\r\n @Input() options?: any[];\r\n\r\n public privilege = PrivilegeEnum;\r\n public initials?: string | null;\r\n\r\n valueObjects: any[] = [];\r\n\r\n\r\n saveValues(values: any) {\r\n this.save.emit(utils.JSONstringify(values));\r\n }\r\n\r\n getValueObjects(valueString?: string | null) {\r\n let valueObjects = this.utils.JSONparse(valueString);\r\n if (valueObjects?.[0]?.stringValue) {\r\n valueObjects = this.utils.JSONparse(valueObjects?.[0]?.stringValue);\r\n if (typeof valueObjects == 'string')\r\n valueObjects = this.getValueObjects(valueObjects);\r\n }\r\n return valueObjects;\r\n }\r\n\r\n}\r\n","import { Component, OnInit, OnDestroy, AfterViewInit, SimpleChanges, OnChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BeamlineRequiringApprovalSummary } from 'src/app/components/catalogs/bratoi/models/beamline-requiring-approval-summary';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'cl-bratoi',\r\n templateUrl: './cl-bratoi.component.html',\r\n styleUrls: ['./cl-bratoi.component.scss']\r\n})\r\nexport class ClBRATOIComponent extends ClBaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {\r\n\r\n public blRequiringApprovals$!: Observable;\r\n public blRequiringApprovalSubscription!: Subscription;\r\n public blRequiringApprovals: BeamlineRequiringApprovalSummary[] = [];\r\n public blRequiringApproval?: BeamlineRequiringApprovalSummary;\r\n\r\n ngOnInit() {\r\n this.blRequiringApprovals$ = this.store.select(state => state.Bratoi.data);\r\n this.blRequiringApprovalSubscription = this.blRequiringApprovals$.subscribe(blRequiringApprovals => {\r\n this.blRequiringApprovals = this.utils.cloneDeep(blRequiringApprovals);\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.ngAfterViewInit();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.blRequiringApprovalSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.configuration) { this.getBlRequiring(); }\r\n this.initials = this.user ? this.user.initials : '';\r\n }\r\n\r\n getBlRequiring() {\r\n if (this.configuration) {\r\n const id = JSON.parse(this.configuration).idBRATOIRelated;\r\n setTimeout(() => {\r\n this.blRequiringApproval = this.blRequiringApprovals.find(x => x.idBRATOIRelated == id);\r\n }, 100);\r\n\r\n }\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n   \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, ViewChild, OnChanges, SimpleChanges, OnInit, Injector } from '@angular/core';\r\nimport { CatlComponent } from '../../catl/catl.component';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport { ActionItemService } from '../../catl/action-item/action-item.service';\r\nimport { ActionItemsUpdateBySection } from '../../catl/action-item/store/actionItems.action';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'cl-catl',\r\n templateUrl: './cl-catl.component.html',\r\n styleUrls: ['./cl-catl.component.scss']\r\n})\r\n/** cl-catl component*/\r\nexport class ClCatlComponent extends ClBaseComponent implements OnChanges, OnInit {\r\n\r\n @ViewChild(CatlComponent)\r\n public catl!: CatlComponent;\r\n override label = 'Action Item Description';\r\n\r\n actionItems: ActionItem[] = [];\r\n actionItems$!: Observable;\r\n actionItemsSubs!: Subscription;\r\n /*--------------------------------*/\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _catl: ActionItemService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.initials = this.user ? this.user.initials : '';\r\n this.loadActionItems();\r\n }\r\n\r\n loadActionItems() {\r\n this.actionItems$ = this.store.select(state => state.ActionItems.data);\r\n this.actionItemsSubs = this.actionItems$.subscribe(data => {\r\n if (data?.length) {\r\n this.actionItems = data.filter(a => a.wfSectionId == this.sectionId);\r\n }\r\n });\r\n }\r\n\r\n // setValues() {\r\n // if (this.sectionId) {\r\n // this._catl.readBySection(this.sectionId).subscribe(data => {\r\n // this.store.dispatch(new ActionItemsUpdateBySection(this.sectionId ?? 0, data));\r\n // this.actionItems = data;\r\n // });\r\n // }\r\n // }\r\n\r\n override ngOnDestroy(): void {\r\n this.actionItemsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n add() {\r\n this.catl.add();\r\n }\r\n\r\n getValues() {\r\n this.valueObjects = [];\r\n this.valueObjects.push({ key: 'actionItems', val: this.actionItems });\r\n return this.valueObjects;\r\n }\r\n\r\n catlChanged(actionItems: ActionItem[]) {\r\n if (this.sectionId)\r\n this._catl.readBySection(this.sectionId).subscribe(data => {\r\n this.actionItems = data;\r\n });\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n\r\n /*---------------------------*/\r\n}\r\n","
    \r\n\t
    \r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\tadd\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\t
    \r\n\t
    \r\n\t\t\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component, ViewChild, OnChanges, Injector, Input } from '@angular/core';\r\nimport { SafeHtml, DomSanitizer } from '@angular/platform-browser';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { ImageUploadService } from 'src/app/services/file/image-upload.service';\r\nimport { CatlComponent } from '../../catl/catl.component';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\n\r\n@Component({\r\n selector: 'cl-checkbox-and-comments',\r\n templateUrl: './cl-checkbox-and-comments.component.html',\r\n styleUrls: ['./cl-checkbox-and-comments.component.scss']\r\n})\r\n\r\nexport class ClCheckboxAndCommentsComponent extends ClBaseComponent implements OnChanges {\r\n\r\n @ViewChild(CatlComponent) public catl!: CatlComponent;\r\n\r\n loading!: boolean;\r\n\r\n applies!: boolean;\r\n textBeforeSanitized!: SafeHtml | null;\r\n textValue2!: string;\r\n actionItems: ActionItem[] = [];\r\n /*--------------------------------*/\r\n\r\n editing!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _image: ImageUploadService,\r\n\r\n private sanitizer: DomSanitizer\r\n ) {\r\n super(injector);\r\n }\r\n\r\n setValues() {\r\n this.valueObjects = this.getValueObjects(this.valueString);\r\n if (this.valueObjects) {\r\n this.applies = this.valueObjects?.find(x => x.key == 'applies').val;\r\n this.radioSelection = this.valueObjects?.find(x => x.key == 'radio').val;\r\n this.textValue = this.valueObjects?.find(x => x.key == 'comments').val;\r\n this.actionItems = this.valueObjects?.find(x => x.key == 'catl').val;\r\n if (!this.actionItems) {\r\n this.actionItems = [];\r\n }\r\n }\r\n }\r\n\r\n ngOnChanges() {\r\n this.initials = this.user ? this.user.initials : '';\r\n this.setValues();\r\n this.textBeforeSanitized = this.textBefore ? this.sanitizer.bypassSecurityTrustHtml(this.textBefore) : null;\r\n this.loading = false;\r\n }\r\n\r\n checkboxChanged() {\r\n if (this.checked) {\r\n this.approve.emit(this.checked);\r\n }\r\n else {\r\n this.unapprove.emit(this.checked);\r\n }\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n // saveValues() {\r\n // this.loading = true;\r\n // this.save.emit();\r\n // }\r\n\r\n getValues() {\r\n this.valueObjects = [];\r\n this.valueObjects.push({ key: 'applies', val: this.applies });\r\n this.valueObjects.push({ key: 'radio', val: this.radioSelection });\r\n this.valueObjects.push({ key: 'comments', val: this.textValue });\r\n this.valueObjects.push({ key: 'catl', val: this.actionItems });\r\n this.user = this.applies ? this.getCurrentUser() : null;\r\n return this.valueObjects;\r\n }\r\n\r\n /* --- Individual event controls --*/\r\n\r\n appliesChecked(e: any) {\r\n this.applies = e.checked;\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n radioChanged(e: any) {\r\n this.radioSelection = e.value;\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n textChanged(e: any) {\r\n this.textValue = e;\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n addActionItem() {\r\n this.catl.add();\r\n }\r\n\r\n catlChanged(e: any) {\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Applies\r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n {{ r.label }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Action Items for CATL\r\n
    \r\n
    \r\n \r\n add\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, OnInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { MatRadioChange } from '@angular/material/radio';\r\n\r\n@Component({\r\n selector: 'cl-checkbox-and-radio',\r\n templateUrl: './cl-checkbox-and-radio.component.html',\r\n styleUrls: ['./cl-checkbox-and-radio.component.scss']\r\n})\r\n\r\nexport class ClCheckboxAndRadioComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (this.radioSelection || this.radioSelection == 0) { this.setRadio(); }\r\n this.checked = this.user != null;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.user = this.checked ? this.getCurrentUser() : null;\r\n if (!this.checked) this.answered.emit();\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n radioChange(e: MatRadioChange) {\r\n this.radioSelected.emit(e.value);\r\n this.radioSelection = e.value;\r\n this.checked = true;\r\n this.user = this.getCurrentUser();\r\n this.setRadio();\r\n }\r\n\r\n checkboxEnabled() {\r\n let enabled = !this.disabled;\r\n if (enabled) {\r\n enabled = this.radioOptions?.map(r => r.checked).includes(true) ?? false;\r\n }\r\n return enabled;\r\n }\r\n\r\n setRadio() {\r\n this.radioOptions?.map(r => {\r\n r.checked = r.value == this.radioSelection;\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, OnChanges, OnDestroy, ElementRef, ViewChild, Injector, ChangeDetectorRef } from \"@angular/core\";\r\nimport { ClBaseComponent } from \"../cl-base/cl-base.component\";\r\n\r\n@Component({\r\n selector: \"cl-checkbox-and-text-input\",\r\n templateUrl: \"./cl-checkbox-and-text-input.component.html\",\r\n styleUrls: [\"./cl-checkbox-and-text-input.component.scss\"],\r\n})\r\nexport class ClCheckboxAndTextInputComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n editing?: boolean;\r\n oldValue?: string | null;\r\n\r\n checkboxDisable = true;\r\n textTooltip!: string;\r\n\r\n @ViewChild('txtInput', { static: false }) txtInput!: ElementRef;\r\n\r\n ngOnChanges() {\r\n this.initials = this.user ? this.user.initials : \"\";\r\n this.textValue = this.textValue?.trim();\r\n this.checkboxDisable = (!this.hasRoles(this.roleIds) || !this.textValue || this.disabled) ?? false;\r\n if (this.tooltips?.length)\r\n this.textTooltip = this.tooltips[0].content;\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n enableEdit() {\r\n if ((!this.disabled && !this.checked) || !this.disableEdit) {\r\n this.editing = !this.disableEdit;\r\n }\r\n this.edit();\r\n }\r\n\r\n edit() {\r\n if (this.editing) {\r\n this.oldValue = this.textValue;\r\n if (this.textValue == 'Error!') this.textValue = '';\r\n this.textValue = this.textValue ? this.textValue.replace(\"\", \"^\") : null;\r\n setTimeout(() => {\r\n this.txtInput.nativeElement.focus();\r\n }, 200);\r\n }\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n if (this.checked) {\r\n this.initials = this.checked ? this.getCurrentUser()?.initials : null;\r\n this.disableEdit = true;\r\n } else {\r\n this.initials = null;\r\n this.disableEdit = false;\r\n }\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n\r\n keyup(e: any) {\r\n const code = e.code;\r\n if (code == \"Enter\") {\r\n this.textChanged();\r\n }\r\n }\r\n\r\n textChanged() {\r\n this.editing = false;\r\n this.textValue = this.textValue?.trim();\r\n if (this.textValue) {\r\n this.checkboxDisable = (!this.hasRoles(this.roleIds) || !this.textValue || this.disabled) ?? false;\r\n this.initials = this.getCurrentUser()?.initials;\r\n this.checked = true;\r\n } else {\r\n this.checkboxDisable = true;\r\n this.checked = false;\r\n this.initials = null;\r\n }\r\n this.changed.emit(this.textValue);\r\n }\r\n\r\n cancelEdit() {\r\n this.editing = false;\r\n this.textValue = this.oldValue;\r\n this.oldValue = null;\r\n this.textValue = this.textValue\r\n ? this.textValue.replace(\"^\", \"\")\r\n : null;\r\n }\r\n\r\n inputBlurred() {\r\n if (this.textValue?.replace(\"^\", \"\") == this.oldValue || !this.textValue) {\r\n this.cancelEdit();\r\n }\r\n\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n  \r\n\r\n \r\n \r\n \r\n \r\n \r\n check_circle\r\n cancel\r\n \r\n \r\n  \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { SafeHtml } from '@angular/platform-browser';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { RoleOption } from 'src/app/components/checklists/checklists';\r\n\r\n@Component({\r\n selector: 'cl-checkbox-multiple-sign',\r\n templateUrl: './cl-checkbox-multiple-sign.component.html',\r\n styleUrls: ['./cl-checkbox-multiple-sign.component.scss']\r\n})\r\nexport class ClCheckboxMultipleSignComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() roleOptions!: RoleOption[];\r\n\r\n @Output() data = new EventEmitter();\r\n\r\n questionSanitized!: SafeHtml;\r\n\r\n public role!: string;\r\n public name!: string;\r\n\r\n public visible = false;\r\n\r\n public icon = 'fa-check';\r\n\r\n roles!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n /*------- Control variables ------*/\r\n allowMultiple!: boolean;\r\n\r\n /*--------------------------------*/\r\n\r\n ngOnInit(): void {\r\n this.loadRoles();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n // if (changes.valueString)\r\n this.setValues();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n });\r\n }\r\n\r\n setValues() {\r\n if (this.valueString) {\r\n this.roleOptions = this.utils.JSONparse(this.valueString);\r\n }\r\n this.roleOptions = this.roleOptions.filter(x => x != null);\r\n this.roleOptions?.map(o => {\r\n if (!this.roles?.length) this.loadRoles();\r\n o.roleCodes = this.roles?.filter(r => o.roleIDs?.includes(r.id)).map(r => r.code).join('/');\r\n o.user = this.getUsers()?.find(u => u.id == o.userID);\r\n o.checked = o.user != null;\r\n });\r\n }\r\n\r\n checkboxChanged(e: any, val: any) {\r\n this.roleOptions.filter(x => x.id == val).map(x => {\r\n x.checked = e.checked;\r\n x.userID = e.checked ? this.getCurrentUser()?.id : null;\r\n x.user = e.checked ? this.getCurrentUser() : null;\r\n x.date = e.checked ? new Date() : null;\r\n });\r\n this.saveValues();\r\n }\r\n\r\n override saveValues() {\r\n this.save.emit(this.getValueString());\r\n }\r\n\r\n getValueString() {\r\n this.valueObjects = this.utils.cloneDeep(this.roleOptions);\r\n this.valueObjects.map(v => {\r\n v.user = null;\r\n v.roles = null;\r\n })\r\n let values = JSON.stringify(this.valueObjects);\r\n return values;\r\n }\r\n\r\n checkboxDisabled(o: RoleOption) {\r\n const userSignedOption = this.roleOptions.find(o => o.userID == this.getCurrentUser()?.id);\r\n if (o.id == userSignedOption?.id) {\r\n return false;\r\n }\r\n if (userSignedOption) {\r\n return true;\r\n }\r\n if (!this.hasRoles(o.roleIDs)) {\r\n return true;\r\n }\r\n return o.checked ? o.userID != this.getCurrentUser()?.id : false;\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n warning\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Input, Output, EventEmitter, OnDestroy, OnChanges, OnInit } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'cl-checkbox-multiple-with-textbox',\r\n templateUrl: './cl-checkbox-multiple-with-textbox.component.html',\r\n styleUrls: ['./cl-checkbox-multiple-with-textbox.component.scss']\r\n})\r\n\r\nexport class ClCheckboxMultipleWithTextBoxComponent extends ClBaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Output() data = new EventEmitter();\r\n\r\n public role?: string;\r\n public name?: string;\r\n\r\n public visible = false;\r\n\r\n /*------- Control variables ------*/\r\n allowMultiple?: boolean;\r\n allRequired?: boolean;\r\n /*--------------------------------*/\r\n\r\n ngOnChanges() {\r\n this.getConfiguration();\r\n this.setValues();\r\n }\r\n\r\n setValues() {\r\n this.valueObjects = this.getValueObjects(this.valueString);\r\n if (this.valueObjects) {\r\n this.text = this.valueObjects?.find(x => x.key == 'comments')?.val;\r\n this.radioOptions = this.valueObjects?.find(x => x.key == 'checked')?.val;\r\n }\r\n this.user = this.text || this.radioOptions?.find(o => o.checked) ? this.getCurrentUser() : null;\r\n }\r\n\r\n getConfiguration() {\r\n if (this.configuration) {\r\n const configuration = JSON.parse(this.configuration);\r\n this.allowMultiple = configuration?.multiple;\r\n this.allRequired = configuration?.required;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n checkboxChanged(e: any, val: any) {\r\n if (!this.allowMultiple) {\r\n this.radioOptions?.map(x => { x.checked = false; });\r\n }\r\n const option = this.radioOptions?.find(x => x.value == val);\r\n if (option) {\r\n option.checked = e.checked;\r\n option.user = e.checked ? this.getCurrentUser(true) : null;\r\n option.date = e.checked ? new Date() : null;\r\n }\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n getValues() {\r\n this.valueObjects = [];\r\n this.valueObjects.push({ key: 'comments', val: this.text });\r\n this.valueObjects.push({ key: 'checked', val: this.radioOptions });\r\n return this.valueObjects;\r\n }\r\n\r\n checkboxEnabled() {\r\n let enabled = !this.disabled;\r\n if (enabled) {\r\n enabled = this.radioOptions?.map(r => r.value).includes(this.radioSelection ?? -1) ?? false;\r\n }\r\n return enabled;\r\n }\r\n\r\n textChanged(text: string) {\r\n this.text = text;\r\n this.user = this.getCurrentUser();\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n setRadio(value: any) {\r\n this.radioOptions?.map(r => {\r\n r.checked = r.value == value;\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n warning\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Output, EventEmitter, OnChanges } from '@angular/core';\r\nimport { SafeHtml } from '@angular/platform-browser';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'cl-checkbox-multiple',\r\n templateUrl: './cl-checkbox-multiple.component.html',\r\n styleUrls: ['./cl-checkbox-multiple.component.scss']\r\n})\r\nexport class ClCheckboxMultipleComponent extends ClBaseComponent implements OnChanges {\r\n\r\n questionSanitized!: SafeHtml;\r\n\r\n @Output() data = new EventEmitter();\r\n\r\n public role!: string;\r\n public name!: string;\r\n\r\n public visible = false;\r\n\r\n /*------- Control variables ------*/\r\n allowMultiple!: boolean;\r\n allRequired!: boolean;\r\n\r\n /*--------------------------------*/\r\n\r\n ngOnChanges() {\r\n this.getConfiguration();\r\n this.setValues();\r\n }\r\n\r\n getConfiguration() {\r\n if (this.configuration) {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n this.allowMultiple = configuration.multiple;\r\n this.allRequired = configuration.required;\r\n }\r\n }\r\n\r\n setValues() {\r\n this.valueObjects = this.getValueObjects(this.valueString);\r\n if (this.valueObjects) {\r\n this.radioOptions = this.valueObjects?.find(x => x.key == 'checked')?.val;\r\n }\r\n }\r\n\r\n checkboxChanged(e: any, val: any) {\r\n if (!this.allowMultiple) {\r\n this.radioOptions?.map(x => { x.checked = false; });\r\n }\r\n const option = this.radioOptions?.find(x => x.value == val);\r\n if (option) {\r\n option.checked = e.checked;\r\n option.user = e.checked ? this.getCurrentUser() : null;\r\n option.date = e.checked ? new Date() : null;\r\n this.valueObjects = [];\r\n this.valueObjects.push({ key: 'checked', val: this.radioOptions });\r\n this.saveValues(this.valueObjects);\r\n }\r\n }\r\n\r\n checkboxEnabled() {\r\n let enabled = !this.disabled;\r\n if (enabled)\r\n enabled = this.radioOptions?.map(r => r.value).includes(this.radioSelection ?? 0) ?? false;\r\n return enabled;\r\n }\r\n\r\n setRadio(value: any) {\r\n this.radioOptions?.map(r => {\r\n r.checked = r.value == value;\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n warning\r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Output, EventEmitter, OnInit, OnChanges, OnDestroy } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Option } from 'src/app/components/checklists/checklists';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'cl-checkbox-radio-location',\r\n templateUrl: './cl-checkbox-radio-location.component.html',\r\n styleUrls: ['./cl-checkbox-radio-location.component.scss']\r\n})\r\n\r\nexport class ClCheckboxRadioLocationComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Output() sendOptions = new EventEmitter();\r\n @Output() sendCondition = new EventEmitter();\r\n\r\n public role!: string;\r\n public name!: string;\r\n\r\n public visible = false;\r\n\r\n public condition = '!SCFActive';\r\n\r\n public branchlines: Resource[] = [];\r\n public branchlines$!: Observable;\r\n public location?: Resource;\r\n\r\n public subscription!: Subscription;\r\n\r\n override ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges() {\r\n this.getBranchlines();\r\n if (this.radioSelection) { this.setRadio(this.radioSelection); }\r\n }\r\n\r\n ngOnInit() {\r\n if (!this.radioOptions?.length) { this.setRadioOptions(); }\r\n if (this.radioSelection) { this.setRadio(this.radioSelection); }\r\n }\r\n\r\n getBranchlines() {\r\n this.branchlines$ = this.store.select(state => state.Branchlines.data);\r\n this.subscription = this.branchlines$.subscribe(data => {\r\n this.branchlines = data;\r\n if (this.configuration) {\r\n const val = JSON.parse(this.configuration).val;\r\n this.location = data.find(x => x.id === val);\r\n }\r\n });\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.user = this.checked ? this.getCurrentUser() : null;\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n radioChange(e: any) {\r\n this.radioSelected.emit(e.value);\r\n }\r\n\r\n checkboxEnabled() {\r\n let enabled = !this.disabled;\r\n if (enabled) {\r\n enabled = this.radioOptions?.map(r => r.value).includes(this.radioSelection ?? -1) ?? false;\r\n }\r\n return enabled;\r\n }\r\n\r\n setRadio(value: number) {\r\n this.radioOptions?.map(r => {\r\n if (typeof (r.value) === 'string') {\r\n r.value = parseInt(r.value, 10);\r\n }\r\n r.checked = r.value === value;\r\n });\r\n }\r\n\r\n setRadioOptions() {\r\n const options: Option[] = [\r\n { label: 'Yes', value: 1 },\r\n { label: 'No', value: 2 }\r\n ];\r\n this.radioOptions = options;\r\n this.sendOptions.emit(options);\r\n this.sendCondition.emit(this.condition);\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n ' +\r\n (location?.name ?? '{Location}') +\r\n '' | placeholderHighlight : editor\r\n \"\r\n >\r\n\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n ' +\r\n (location?.name ?? '{Location}') +\r\n '' | placeholderHighlight : editor\r\n \"\r\n >\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'cl-checkbox',\r\n templateUrl: './cl-checkbox.component.html',\r\n styleUrls: ['./cl-checkbox.component.scss']\r\n})\r\n\r\nexport class ClCheckboxComponent extends ClBaseComponent {\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.user = this.checked ? this.getCurrentUser() : null;\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { Checklist, SaveChecklistStatusResource } from 'src/app/components/checklists/checklists';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { WFSectionLocalResource, WFStepLocalResource, WFTaskSignatureResource, WfActionLocalResource, WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ChecklistsUpdate } from 'src/app/components/checklists/store/checklists/checklists.action';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { FormType, FormStatusEnum, Action } from 'src/app/common/enumerations/enumerations';\r\nimport { ScheduleStatusEnum } from 'src/app/components/schedules/models/enums';\r\nimport { Schedule, ScheduleSubdetail } from 'src/app/components/schedules/models/schedule';\r\nimport { ScheduleService } from 'src/app/components/schedules/services/schedule.service';\r\nimport { SchedulesUpdate } from 'src/app/components/schedules/store/schedules/schedule.action';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { KEService } from 'src/app/components/kenable/ke.service';\r\nimport { KEResource, SaveKEStatusResource } from 'src/app/components/kenable/ke';\r\nimport { AbsiResource } from 'src/app/components/absi/absi';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\n@Component({\r\n selector: 'cl-close-action',\r\n templateUrl: './cl-close-action.component.html',\r\n styleUrls: ['./cl-close-action.component.scss']\r\n})\r\nexport class ClCloseActionComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() currentChecklist?: Checklist | KEResource | AbsiResource | null;\r\n @Output() closed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n public name?: string | null;\r\n\r\n allRoles: Role[] = [];\r\n roles = [];\r\n public showRoles!: Role[];\r\n\r\n schedule?: Schedule | null;\r\n schedules!: Schedule[];\r\n schedules$!: Observable;\r\n schedulesSubs!: Subscription;\r\n\r\n public hidden!: boolean;\r\n\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n fullRoleName!: string;\r\n\r\n isChecked?: boolean;\r\n toggleLabel?: string;\r\n\r\n constructor(\r\n public _wf: WorkFlowService,\r\n public _ke: KEService,\r\n public _checklist: ChecklistsService,\r\n private serviceSchedule: ScheduleService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.schedulesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.toggleLabel = this.getMessage('ScheduleCloseLabel').description;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.loadSchedules();\r\n this.refresh();\r\n }\r\n\r\n loadSchedules() {\r\n const checklist = this.currentChecklist as Checklist;\r\n this.schedule = null;\r\n if (checklist?.scheduleId || checklist?.checklistTemplate?.procedureID) {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.subscribe(async data => {\r\n this.schedules = data.filter(x => x.statusId != ScheduleStatusEnum.remove && x.statusId != ScheduleStatusEnum.completed);\r\n\r\n if (checklist && checklist.checklistStatus?.formStatusID != FormStatusEnum.Closed && checklist.checklistStatus?.formStatusID != FormStatusEnum.Canceled) {\r\n let schedule = this.schedules.find(x => x.id == checklist.scheduleId);\r\n if (!schedule) {\r\n schedule = this.schedules.find(s => s.procedureMasterID == checklist.checklistTemplate?.procedureMasterID);\r\n }\r\n if (!schedule) {\r\n schedule = await this.getScheduleByID(checklist.scheduleId ?? 0)\r\n }\r\n this.schedule = schedule;\r\n if (!this.schedule) this.alert.warning('No Schedule found for this checklist!');\r\n }\r\n this.checkSchedule();\r\n });\r\n }\r\n }\r\n\r\n async getScheduleByID(id: number) {\r\n return await this.serviceSchedule.getById(id).toPromise();\r\n }\r\n\r\n checkSchedule() {\r\n if (!this.valueString) {\r\n if (this.schedule) this.isChecked = true;\r\n else this.isChecked = false;\r\n }\r\n else this.isChecked = this.utils.JSONparse(this.valueString).checked;\r\n }\r\n\r\n buttonDisabled() {\r\n return this.disabled || !this.hasRoles(this.roleIds) || this.disabledClose();\r\n }\r\n\r\n disabledClose() {\r\n if (!this._checklist.readyToClose() && (this.currentChecklist instanceof Checklist && this.currentChecklist?.checklistTemplate?.templateType?.allSignaturesRequired || this.currentChecklist instanceof KEResource && this.currentChecklist?.serialNo?.includes('KE-'))) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n refresh() {\r\n if (!this.value) {\r\n this.label = 'Close';\r\n this.name = null;\r\n this.date = null;\r\n }\r\n else {\r\n this.name = this.user?.name;\r\n this.date = this.date;\r\n }\r\n this.checkSchedule();\r\n }\r\n\r\n click() {\r\n if (!this.value && !this.editor && !this.builder) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('finish_message')?.description\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n this.name = this.getCurrentUser()?.name;\r\n this.date = new Date();\r\n this.loading.emit(true);\r\n\r\n if (this.currentChecklist) {\r\n const wfSectionLocal = this.currentChecklist.wfTable?.wfTableLocal?.wfSectionLocals.find((s: WFSectionLocalResource) => s?.wfStepLocals?.some(t => t.wfTaskLocals?.some(x => x.id === this.taskID)));\r\n\r\n const wfStepLocal = wfSectionLocal?.wfStepLocals?.find((s: WFStepLocalResource) => s.wfTaskLocals.some(x => x.id == this.taskID));\r\n\r\n const wfTaskLocal = wfStepLocal?.wfTaskLocals.find((x: WfTaskLocalResource) => x.id == this.taskID);\r\n\r\n const wfActionApprove = wfTaskLocal?.wfActionLocals?.find((a: WfActionLocalResource) => a.action == Action.Approve);\r\n if (this.currentChecklist.wfTableID)\r\n this._wf.getDocumentTypeByWFTableID(this.currentChecklist.wfTableID).toPromise().then((formType: any) => {\r\n\r\n switch (formType?.id) {\r\n\r\n case FormType.KE:\r\n if (wfTaskLocal?.wfTasks?.[0].id && wfActionApprove?.id)\r\n this._ke.sign(wfTaskLocal.wfTasks[0].id, wfActionApprove.id).toPromise().then((res: any) => {\r\n if (res) {\r\n this.value = true;\r\n this.closed.emit(this.isChecked);\r\n }\r\n else {\r\n this.forceClose(FormType.KE, wfTaskLocal);\r\n }\r\n });\r\n break;\r\n\r\n case FormType.ABSI:\r\n this.value = true;\r\n this.closed.emit(this.isChecked);\r\n break;\r\n\r\n default:\r\n if (wfTaskLocal?.wfTasks?.[0].id && wfActionApprove?.id)\r\n this._checklist.sign(wfTaskLocal.wfTasks[0].id, wfActionApprove.id, undefined, FormStatusEnum.Closed).toPromise().then(async wfTaskLocal => {\r\n const saveChecklistStatus = {\r\n id: this.currentChecklist?.id,\r\n status: FormStatusEnum.Closed,\r\n } as SaveChecklistStatusResource;\r\n this.user = this.getCurrentUser();\r\n this.closed.emit(this.isChecked);\r\n this._checklist.putStatus(saveChecklistStatus).toPromise().then(res => {\r\n this.currentChecklist = res;\r\n this.value = true;\r\n if (this.schedule && this.isChecked) {\r\n if (this.currentChecklist?.checklistTemplate?.templateType?.code == 'HFUNC' && this.schedule.subdetail) {\r\n this.updateScheduleStatusSubdetail(this.schedule.subdetail, ScheduleStatusEnum.completedSubdetail);\r\n }\r\n else {\r\n this.updateScheduleStatus(this.schedule, ScheduleStatusEnum.completed);\r\n }\r\n }\r\n else {\r\n this.loading.emit(false);\r\n }\r\n this.alert.message('FormClosed', [{ placeholder: '{serialNo}', value: this.currentChecklist?.serialNo }]);\r\n if (res)\r\n this.store.dispatch(new ChecklistsUpdate(res.id, res));\r\n });\r\n });\r\n break;\r\n }\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n this.loading.emit(false);\r\n });\r\n }\r\n else {\r\n this.closed.emit(this.isChecked);\r\n this.loading.emit(false);\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n forceClose(formType: FormType, wfTaskLocal: WfTaskLocalResource) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\", data: {\r\n message: this.getMessage('ForceCloseChecklist').description,\r\n icon: \"stop\"\r\n },\r\n });\r\n confirm.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n switch (formType) {\r\n case FormType.KE:\r\n const saveKEStatus = { id: this.currentChecklist?.id, status: FormStatusEnum.Closed } as SaveKEStatusResource;\r\n this.loading.emit(true);\r\n await this._ke.putStatus(saveKEStatus).toPromise();\r\n this.loading.emit(false);\r\n break;\r\n }\r\n }\r\n else {\r\n switch (formType) {\r\n case FormType.KE:\r\n const wfActionUnapprove = wfTaskLocal?.wfActionLocals?.find(a => a.action == Action.Unapprove);\r\n if (wfTaskLocal.wfTasks?.[0].id && wfActionUnapprove?.id) {\r\n this.loading.emit(true);\r\n this._ke.sign(wfTaskLocal.wfTasks[0].id, wfActionUnapprove.id).toPromise().then(() => {\r\n this.value = false;\r\n this.loading.emit(false);\r\n });\r\n }\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n\r\n updateScheduleStatus(schedule: Schedule, status: ScheduleStatusEnum) {\r\n if (schedule) {\r\n schedule.statusId = status;\r\n if (schedule.statusId === ScheduleStatusEnum.completed) {\r\n this.loading.emit(true);\r\n this.serviceSchedule.updateStatus(schedule).toPromise().then(data => {\r\n if (this.currentChecklist && this.currentChecklist instanceof Checklist)\r\n this.currentChecklist.schedule = schedule;\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Schedule for ' + schedule.scheduleResources.map(r => r.resource ? r.resource?.name : r.resourceString).join(', '))], MessageTypeEnum.Warning, 'Schedules');\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n }\r\n\r\n updateScheduleStatusSubdetail(subdetail: ScheduleSubdetail, status: ScheduleStatusEnum) {\r\n if (subdetail) {\r\n subdetail.statusId = status;\r\n this.loading.emit(true);\r\n this.serviceSchedule.updateSubdetailStatus(subdetail).subscribe(response => {\r\n const newSchedule = response as Schedule;\r\n this.store.dispatch(new SchedulesUpdate(newSchedule.id, newSchedule));\r\n this.alert.message('update', [new MessagePlaceholder('{what}', 'Schedule for ' + newSchedule.scheduleResources.map(r => r.resource ? r.resource?.name : r.resourceString).join(', '))], MessageTypeEnum.Warning, 'Schedules');\r\n this.loading.emit(false);\r\n });\r\n }\r\n }\r\n\r\n toggleChanged() {\r\n if (this.isChecked) {\r\n this.alert.message('ScheduleCloseOn');\r\n }\r\n else {\r\n this.alert.message('ScheduleCloseOff');\r\n }\r\n this.valueString = this.utils.JSONstringify({ checked: this.isChecked });\r\n this.changed.emit(this.valueString);\r\n }\r\n\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n NOYES\r\n
    \r\n
    \r\n ({{ schedule.status.name }}) \r\n\r\n {{ schedule.type.acronym }} Schedule - Due Date:\r\n {{ schedule.nextDue | date }}\r\n \r\n - Scheduled For:\r\n {{ schedule.scheduleFor | date }}\r\n \r\n - Completed Date:\r\n {{ schedule.completedDate | date }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n {{ label }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Closed By:
    \r\n
    \r\n {{ name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date:\r\n
    \r\n
    \r\n {{ date | date : \"medium\" }}\r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, OnChanges } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'cl-comments',\r\n templateUrl: './cl-comments.component.html',\r\n styleUrls: ['./cl-comments.component.scss']\r\n})\r\nexport class ClCommentsComponent extends ClBaseComponent implements OnChanges {\r\n\r\n ngOnChanges() {\r\n this.initials = this.user ? this.user.initials : '';\r\n if (this.formType)\r\n this.formType = this.formType.toString().trim();\r\n this.setValues();\r\n }\r\n\r\n setValues() {\r\n this.valueObjects = this.getValueObjects(this.valueString);\r\n if (this.valueObjects) {\r\n const text = this.valueObjects?.find(x => x.key == 'comments')?.val;\r\n this.textValue = text ? text : '';\r\n }\r\n }\r\n\r\n textChanged(e: any) {\r\n this.textValue = e;\r\n this.valueObjects = [];\r\n this.valueObjects.push({ key: 'comments', val: this.textValue });\r\n this.saveValues(this.valueObjects);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output, } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { BeamlineRequiringApprovalSummary } from \"src/app/components/catalogs/bratoi/models/beamline-requiring-approval-summary\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\n\r\n@Component({\r\n selector: \"cl-editor-bratoi\",\r\n templateUrl: \"./cl-editor-bratoi.component.html\",\r\n styleUrls: [\"./cl-editor-bratoi.component.scss\"],\r\n})\r\nexport class ClEditorBRATOIComponent implements OnInit, OnDestroy {\r\n public blRequiringApprovals$: Observable;\r\n public blRequiringApprovalSubscription: Subscription;\r\n public blRequiringApprovals: BeamlineRequiringApprovalSummary[] = [];\r\n public blRequiringApproval?: BeamlineRequiringApprovalSummary;\r\n\r\n @Input() disabled?: boolean;\r\n @Input() configuration?: string;\r\n @Output() changed = new EventEmitter();\r\n @Output() sendBRCRole = new EventEmitter();\r\n\r\n constructor(private store: Store) {\r\n this.blRequiringApprovals$ = this.store.select(\r\n (state) => state.Bratoi.data\r\n );\r\n this.blRequiringApprovalSubscription = this.blRequiringApprovals$.subscribe(\r\n (blRequiringApprovals) => {\r\n this.blRequiringApprovals =\r\n utils.cloneDeep(blRequiringApprovals);\r\n }\r\n );\r\n }\r\n\r\n ngOnInit() {\r\n if (this.configuration) {\r\n this.getBlRequiring();\r\n }\r\n this.sendBRCRole.emit(\"BRC\");\r\n }\r\n\r\n ngOnDestroy() {\r\n this.blRequiringApprovalSubscription?.unsubscribe();\r\n }\r\n\r\n getBlRequiring() {\r\n this.blRequiringApproval = this.blRequiringApprovals.find(\r\n (x) =>\r\n x.idBRATOIRelated === utils.JSONparse(this.configuration).idBRATOIRelated\r\n );\r\n }\r\n\r\n blRequiringSelected(blRequiring: BeamlineRequiringApprovalSummary) {\r\n this.changed.emit(blRequiring);\r\n }\r\n}\r\n","BRATOI:\r\n\r\n \r\n \r\n {{ blRequiring.resource?.name }}\r\n \r\n \r\n\r\n","import { Component, Input, Output, EventEmitter } from \"@angular/core\";\r\nimport { Option } from \"src/app/components/checklists/checklists\";\r\nimport { AlertService } from \"src/app/services/alert/alert.service\";\r\n\r\n@Component({\r\n selector: \"cl-editor-checkbox-options\",\r\n templateUrl: \"./cl-editor-checkbox-options.component.html\",\r\n styleUrls: [\"./cl-editor-checkbox-options.component.scss\"],\r\n})\r\nexport class ClEditorCheckboxOptionsComponent {\r\n @Input() disabled?: boolean;\r\n @Input() options?: string;\r\n @Input() configuration?: string;\r\n\r\n tmpOptions?: Option[] = [];\r\n multiple?: boolean;\r\n required?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() checkbox = new EventEmitter();\r\n @Output() error = new EventEmitter();\r\n\r\n constructor(\r\n private alert: AlertService\r\n\r\n ) { }\r\n\r\n ngOnInit() {\r\n if (this.options) {\r\n this.tmpOptions = JSON.parse(this.options) as Option[];\r\n }\r\n if (this.configuration) {\r\n const configuration = JSON.parse(this.configuration);\r\n this.multiple = configuration?.multiple;\r\n this.required = configuration?.required;\r\n }\r\n }\r\n\r\n change() {\r\n try {\r\n const arry = this.tmpOptions?.map((o) => o.value);\r\n const duplicateElements = arry?.some((e, i) => arry.indexOf(e) !== i);\r\n const error = this.tmpOptions?.find(\r\n (o) => !o.value || o.value == 0 || !o.label\r\n );\r\n if (!error && !duplicateElements) {\r\n this.error.emit(false);\r\n this.options = JSON.stringify(this.tmpOptions);\r\n this.changed.emit(this.options);\r\n } else if (error) {\r\n this.error.emit(true);\r\n this.alert.warning(\"Values and Labels cannot be empty or 0\");\r\n } else if (duplicateElements) {\r\n this.error.emit(true);\r\n this.alert.warning(\"Values cannot be repeated!\");\r\n }\r\n } catch (e) { }\r\n }\r\n\r\n chkChange() {\r\n this.required = this.multiple ? this.required : false;\r\n this.checkbox.emit({ multiple: this.multiple, required: this.required });\r\n }\r\n\r\n add() {\r\n var opt = new Option();\r\n this.tmpOptions?.push(opt);\r\n this.change();\r\n }\r\n\r\n del(e: any) {\r\n this.tmpOptions?.splice(this.tmpOptions?.indexOf(e) ?? -1, 1);\r\n this.change();\r\n }\r\n}\r\n","
    \r\n Options\r\n\r\n
    \r\n
    \r\n
    Label
    \r\n
    Value
    \r\n
    \r\n
    \r\n add\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n delete\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Allow multiple selection\r\n \r\n
    \r\n
    \r\n \r\n All Required\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n","import { ChangeDetectorRef, Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, } from \"@angular/core\";\r\nimport { MatAutocompleteSelectedEvent } from \"@angular/material/autocomplete\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { ENTER, COMMA } from \"@angular/cdk/keycodes\";\r\nimport { MatChipInputEvent } from \"@angular/material/chips\";\r\nimport { Role } from \"src/app/components/catalogs/roles/services/role\";\r\nimport { RoleOption } from \"src/app/components/checklists/checklists\";\r\n\r\n@Component({\r\n selector: \"cl-editor-checkbox-roles-selection\",\r\n templateUrl: \"./cl-editor-checkbox-roles-selection.component.html\",\r\n styleUrls: [\"./cl-editor-checkbox-roles-selection.component.scss\"],\r\n})\r\nexport class ClEditorCheckboxRolesSelectionComponent\r\n implements OnInit, OnDestroy, OnChanges {\r\n separatorKeysCodes: number[] = [ENTER, COMMA];\r\n\r\n @Input() disabled!: boolean;\r\n @Input() roleOption?: RoleOption;\r\n @Output() roleOptionChanged = new EventEmitter();\r\n\r\n role?: Role | null;\r\n roles?: Role[];\r\n allRoles?: Role[];\r\n rolesFiltered?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n constructor(private store: Store, private cdRef: ChangeDetectorRef) { }\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadRoles();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void { }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select((state) => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe((data) => {\r\n this.allRoles = data;\r\n this.rolesFiltered = data;\r\n if (this.roleOption?.roleIDs?.length) {\r\n this.roles = this.allRoles.filter((x) =>\r\n this.roleOption?.roleIDs?.includes(x.id ?? 0)\r\n );\r\n } else {\r\n this.cdRef.detectChanges();\r\n }\r\n this.filterRoles();\r\n });\r\n }\r\n\r\n selectedRole(event: MatAutocompleteSelectedEvent) {\r\n if (this.roles == null) {\r\n this.roles = [];\r\n }\r\n const role: Role = event.option.value;\r\n this.roles.push({ id: role.id, code: role.code });\r\n this.role = null;\r\n this.filterRoles();\r\n this.valueChanged();\r\n }\r\n\r\n filterRoles() {\r\n this.rolesFiltered = this.allRoles?.filter(\r\n (x) => !this.roles?.map((r) => r.id).includes(x.id)\r\n );\r\n }\r\n\r\n onKeyUp(e: any) {\r\n const val = e.target.value;\r\n this.filterRoles();\r\n this.rolesFiltered = this.rolesFiltered?.filter(\r\n (x) =>\r\n x.name?.toLowerCase().includes(val.toLowerCase()) ||\r\n x.code?.toLowerCase().includes(val.toLowerCase())\r\n );\r\n }\r\n\r\n removeRole(role: Role) {\r\n const index = this.roles?.indexOf(role) ?? -1;\r\n this.roles?.splice(index, 1);\r\n this.valueChanged();\r\n }\r\n\r\n clearInputValue(event: MatChipInputEvent) {\r\n const input = event.input;\r\n if (input) {\r\n input.value = \"\";\r\n }\r\n }\r\n\r\n valueChanged() {\r\n if (this.roleOption) {\r\n const roles = this.roles?.map((x) => x && x.id) ?? [];\r\n this.roleOption.roleIDs = roles;\r\n this.roleOptionChanged.emit(this.roleOption);\r\n }\r\n }\r\n}\r\n","\r\n Roles\r\n \r\n \r\n {{ role.code }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n {{ role.code }} \r\n
    \r\n
    \r\n {{ role.name }}\r\n
    \r\n
    \r\n \r\n \r\n You must choose at least one Role\r\n
    \r\n","import { Component, EventEmitter, Input, OnInit, Output } from \"@angular/core\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { RoleOption } from \"src/app/components/checklists/checklists\";\r\n\r\n@Component({\r\n selector: \"cl-editor-checkbox-roles\",\r\n templateUrl: \"./cl-editor-checkbox-roles.component.html\",\r\n styleUrls: [\"./cl-editor-checkbox-roles.component.scss\"],\r\n})\r\nexport class ClEditorCheckboxRolesComponent implements OnInit {\r\n @Input() disabled!: boolean;\r\n @Input() options?: string;\r\n @Input() configuration?: string;\r\n\r\n roleOptions?: RoleOption[];\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() checkbox = new EventEmitter();\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n if (this.options) {\r\n this.roleOptions = utils.JSONparse(this.options) as RoleOption[];\r\n } else {\r\n this.roleOptions = [];\r\n }\r\n }\r\n\r\n add() {\r\n var opt = {} as RoleOption;\r\n opt.id = this.roleOptions?.length\r\n ? (this.roleOptions.map((x) => x.id).sort((a, b) => (b ?? 0) - (a ?? 0))[0] ?? 0) + 1\r\n : 1;\r\n this.roleOptions?.push(opt);\r\n this.roleOptionsChanged();\r\n }\r\n\r\n del(e: any) {\r\n this.roleOptions?.splice(this.roleOptions?.indexOf(e) ?? -1, 1);\r\n this.roleOptionsChanged();\r\n }\r\n\r\n roleOptionsChanged(e: RoleOption | null = null) {\r\n if (e && this.roleOptions) {\r\n const i = this.roleOptions?.findIndex((x) => x.id == e.id) ?? -1;\r\n this.roleOptions[i] = e;\r\n }\r\n this.options = utils.JSONstringify(this.roleOptions);\r\n this.changed.emit(this.options);\r\n }\r\n}\r\n","
    \r\n Roles\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n delete\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n","import { Component, AfterViewInit, Output, EventEmitter, Input, } from \"@angular/core\";\r\n\r\n@Component({\r\n selector: \"cl-editor-colors\",\r\n templateUrl: \"./cl-editor-colors.component.html\",\r\n styleUrls: [\"./cl-editor-colors.component.scss\"],\r\n})\r\nexport class ClEditorColorsComponent implements AfterViewInit {\r\n @Output() colorChanged = new EventEmitter();\r\n @Input() disabled?: boolean;\r\n @Input() configuration?: string;\r\n\r\n color: any = \"primary\";\r\n\r\n colorOptions: option[] = [\r\n { label: \"Primary\", value: \"primary\", checked: true },\r\n { label: \"Accent\", value: \"accent\", checked: false },\r\n { label: \"Warn\", value: \"warn\", checked: false },\r\n ];\r\n\r\n constructor() { }\r\n\r\n ngAfterViewInit() {\r\n if (this.configuration) {\r\n this.color = JSON.parse(this.configuration).color;\r\n }\r\n this.setColor(this.color);\r\n }\r\n\r\n colorChange(e: any) {\r\n this.color = e.value;\r\n this.colorChanged.emit(this.color);\r\n }\r\n\r\n setColor(value: any) {\r\n this.colorOptions.map((r) => {\r\n r.checked = r.value == value;\r\n });\r\n }\r\n}\r\n\r\nclass option {\r\n label!: string;\r\n value!: any;\r\n checked!: boolean;\r\n}\r\n","
    \r\n Color\r\n \r\n \r\n {{ r.label }}\r\n \r\n \r\n
    \r\n","import { Component, Input } from '@angular/core';\r\nimport { WFComponent } from 'src/app/components/workflow/workflow';\r\nimport { ComponentService } from 'src/app/services/work-flow/component.service';\r\n\r\n@Component({\r\n selector: 'cl-editor-component-help',\r\n templateUrl: './cl-editor-component-help.component.html',\r\n styleUrls: ['./cl-editor-component-help.component.scss']\r\n})\r\nexport class ClEditorComponentHelpComponent {\r\n\r\n @Input() component!: WFComponent;\r\n\r\n constructor(\r\n private service: ComponentService\r\n ) { }\r\n\r\n close() { }\r\n\r\n changed(text: string) {\r\n this.component.helpText = text;\r\n this.service.update(this.component).toPromise();\r\n }\r\n}\r\n","
    \r\n
    \r\n Component Help\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n","import { Component, Inject } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { TagInfoData } from '../cl-editor-tag-info/cl-editor-tag-info.component';\r\n\r\n@Component({\r\n selector: 'app-cl-editor-conditions-help',\r\n templateUrl: './cl-editor-conditions-help.component.html',\r\n styleUrls: ['./cl-editor-conditions-help.component.scss']\r\n})\r\nexport class ClEditorConditionsHelpComponent {\r\n\r\n constructor(\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: TagInfoData) {\r\n // this.returnType = ReturnType[data.component.returnType ?? -1];\r\n // this.tag = data.tag ? data.tag : '{Tag}';\r\n }\r\n\r\n close() {\r\n this.dialog.close();\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Component conditions help\r\n

    \r\n Conditions allow users to control the behavior (visibility or ability) of\r\n tasks based on various parameters. Below is a guide to setting up\r\n conditions effectively.\r\n

    \r\n \r\n
    \r\n
    \r\n
    Condition Syntax
    \r\n

    \r\n Conditions are defined using logical operators and\r\n Tag values. The supported operators include:\r\n

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    OperatorDefinitionExample
    &&and\r\n Tag1 && Tag2Evaluates if both Tag1 and Tag2 are\r\n true\r\n
    ||or\r\n Tag1 || Tag2Evaluates if either Tag1 or Tag2 is\r\n true\r\n
    == or ===equals\r\n Tag1 == Tag2Evaluates if Tag1 is equal to Tag2
    \r\n Tag1 == 2Evaluates if Tag1 is equal to a\r\n particular number (In this case to 2)\r\n
    != or !==not equals\r\n Tag1 != Tag2Evaluates if Tag1 is not equal to\r\n Tag2
    \r\n Tag1 != 2Evaluates if Tag1 is not equal to a\r\n particular number (In this case to 2)\r\n
    !not!Tag1Evaluates if Tag1 is falsy
    no operatorTag1Evaluates if Tag1 is true
    \r\n\r\n
    Nested Conditions
    \r\n

    \r\n Parentheses can be used for grouping conditions:
    \r\n (Tag1 == 2 && Tag2) || !Tag3\r\n

    \r\n\r\n
    Handling Different Data Types
    \r\n

    Conditions supports various data types:

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    TypeExampleExplanation
    Boolean\r\n Tag1
    \r\n !Tag3\r\n
    Tag1 is true
    Tag 3 is falsy
    NumericTag2 == 10Checks if Tag2 equals 10
    Signatures\r\n Tag1
    !Tag3
    \r\n
    \r\n Checks if Tag1 has been signed
    Checks if Tag3 hasn't been signed\r\n
    \r\n\r\n
    Special Conditions
    \r\n

    Some predefined general conditions are available:

    \r\n
      \r\n
    • \r\n ALL-TASKS-COMPLETEReturns true if all tasks are\r\n marked as completed\r\n
    • \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'cl-editor-hide-disable-toggle',\r\n templateUrl: './cl-editor-hide-disable-toggle.component.html',\r\n styleUrls: ['./cl-editor-hide-disable-toggle.component.scss']\r\n})\r\nexport class ClEditorHideDisableToggleComponent implements OnInit, OnChanges {\r\n\r\n @Input() configuration?: string = '';\r\n @Input() disabled?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n value?: boolean;\r\n\r\n constructor() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const configuration = utils.JSONparse(this.configuration);\r\n this.value = configuration?.hideDisable;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n change() {\r\n let configuration = utils.JSONparse(this.configuration);\r\n if (!configuration) { configuration = {}; }\r\n configuration.hideDisable = this.value;\r\n this.changed.emit(utils.JSONstringify(configuration));\r\n }\r\n\r\n}\r\n","Show Task Disabled instead of Hidden\r\n","import { Component, OnInit, EventEmitter, Output, OnChanges, SimpleChanges, Input, ViewChild } from \"@angular/core\";\r\nimport { MatDialog } from \"@angular/material/dialog\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { MessageBannerService } from \"src/app/components/messages/services/message-banner.service\";\r\n\r\n\r\n@Component({\r\n selector: \"cl-editor-image\",\r\n templateUrl: \"./cl-editor-image.component.html\",\r\n styleUrls: [\"./cl-editor-image.component.scss\"],\r\n})\r\nexport class ClEditorImageComponent implements OnInit, OnChanges {\r\n @Output() changed = new EventEmitter();\r\n @Input() disabled?: boolean;\r\n @Input() configuration?: string;\r\n @ViewChild(\"uploader\") uploader: { nativeElement: any; } | undefined;\r\n\r\n imagesList: listImages[] = [];\r\n\r\n constructor(\r\n public dialog: MatDialog,\r\n public _dMessage: MessageBannerService\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.configuration) {\r\n const configuration = JSON.parse(this.configuration);\r\n if (configuration.images) {\r\n this.imagesList = configuration.images;\r\n }\r\n }\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n upload(e: any): void {\r\n const imageList = this.imagesList;\r\n const imageId = this.nextId(this.imagesList);\r\n const changed = this.changed;\r\n const render = new FileReader();\r\n render.onload = async function (event) {\r\n const img = new Image();\r\n img.onload = function () {\r\n imageList.push({\r\n id: imageId,\r\n name: e.target.files[0].name,\r\n image: img.src,\r\n imageWidth: img.width,\r\n imageHeight: img.height,\r\n });\r\n changed.emit(imageList);\r\n };\r\n const src = event.target?.result?.toString();\r\n if (src)\r\n img.src = src;\r\n };\r\n render.readAsDataURL(e.target.files[0]);\r\n }\r\n\r\n delete(img: any) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"300px\",\r\n data: {\r\n message: this._dMessage.get(\"Rad_Survey_Image_Component_Delete_Image\")\r\n .description,\r\n icon: \"stop\",\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data != null) {\r\n const imageList = this.imagesList.filter(\r\n (item) => item.image != img.image\r\n );\r\n const myuploader = this.uploader?.nativeElement;\r\n myuploader.value = \"\";\r\n this.changed.emit(imageList);\r\n }\r\n });\r\n }\r\n\r\n nextId(listImages: listImages[]): number {\r\n let _id = 0;\r\n if (listImages.length > 0) {\r\n const uniqueIds = [...new Set(listImages.map((obj) => obj.id))];\r\n let arrayIds: any[] = [];\r\n uniqueIds.map((n) => {\r\n arrayIds.push(n);\r\n });\r\n arrayIds = arrayIds.sort((n1, n2) => n1 - n2);\r\n _id = Number(Math.max.apply(null, arrayIds)) + 1;\r\n } else {\r\n _id = 1;\r\n }\r\n return _id;\r\n }\r\n}\r\n\r\nexport class listImages {\r\n id?: number;\r\n name?: string;\r\n image?: string;\r\n imageWidth?: number;\r\n imageHeight?: number;\r\n}\r\n","
    \r\n Images\r\n
    \r\n
    \r\n \r\n add_photo_alternate Add Image\r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \"image\"\r\n
    \r\n delete_outline\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from \"@angular/core\";\r\nimport { FormControl } from \"@angular/forms\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { ResourceType } from \"src/app/common/enumerations/enumerations\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { Resource, ResourceRelation } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\n\r\n@Component({\r\n selector: \"cl-editor-location\",\r\n templateUrl: \"./cl-editor-location.component.html\",\r\n styleUrls: [\"./cl-editor-location.component.scss\"],\r\n})\r\nexport class ClEditorLocationComponent implements OnInit, OnDestroy {\r\n\r\n @Output() changed = new EventEmitter();\r\n @Input() disabled?: boolean;\r\n @Input() configuration?: string;\r\n @Input() resourceTypes?: ResourceType[];\r\n\r\n resource?: Resource;\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n resourceGroups!: ResourceGroup[];\r\n\r\n resourceRelations!: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n locationCtrl = new FormControl();\r\n\r\n\r\n constructor(private store: Store) {\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadResources();\r\n this.loadResourceRelations();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.resourcesFiltered = this.resources.filter(x => this.resourceTypes?.includes(x.type ?? 0) || this.resourceTypes?.[0] == ResourceType.All);\r\n this.createLocationGroups();\r\n if (this.configuration) {\r\n this.resource = this.resources.find(x => x.id === utils.JSONparse(this.configuration).val);\r\n this.locationCtrl.setValue(this.resource);\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n this.createLocationGroups();\r\n }\r\n });\r\n }\r\n\r\n createLocationGroups() {\r\n this.resourceGroups = [];\r\n this.resourcesFiltered.map(r => {\r\n if (!this.resourceGroups.map(g => g.type).includes(r.type ?? 0) && r.type != ResourceType.AcceleratorLocation) {\r\n this.resourceGroups.push({ name: r.resourceType?.name, type: r.type, locations: this.resourcesFiltered.filter(x => x.type == r.type).sort((a, b) => utils.SortBeamlines(a.name, b.name)) });\r\n }\r\n // }\r\n });\r\n this.resourceGroups = this.resourceGroups.sort((a, b) => (a.type ?? 0) - (b.type ?? 0));\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n change(e: any) {\r\n const value = (e.target.value as string).toLowerCase();\r\n this.resourcesFiltered = this.resources.filter(x => this.resourceTypes?.includes(x.type ?? 0) || this.resourceTypes?.[0] == ResourceType.All);\r\n this.resourcesFiltered = this.resourcesFiltered.filter(x => x.name?.toLowerCase().includes(value));\r\n this.createLocationGroups();\r\n }\r\n\r\n selected(e: any) {\r\n const value = e.option.value as Resource;\r\n this.changed.emit(value);\r\n }\r\n}\r\n\r\n\r\nexport class ResourceGroup {\r\n name?: string | null;\r\n type?: number | null;\r\n id?: number;\r\n locations?: Resource[];\r\n}\r\n","\r\n Location\r\n \r\n \r\n \r\n \r\n {{ location.name }}\r\n \r\n \r\n \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from \"@angular/core\";\r\nimport { CompareOperator } from \"src/app/common/enumerations/enumerations\";\r\nimport { Option } from \"src/app/components/checklists/checklists\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { AlertService } from \"src/app/services/alert/alert.service\";\r\n\r\n@Component({\r\n selector: \"cl-editor-placeholder-options\",\r\n templateUrl: \"./cl-editor-placeholder-options.component.html\",\r\n styleUrls: [\"./cl-editor-placeholder-options.component.scss\"],\r\n})\r\nexport class ClEditorPlaceholderOptionsComponent implements OnInit {\r\n @Input() disabled?: boolean;\r\n @Input() options?: string;\r\n @Input() configuration?: string;\r\n\r\n tmpOptions?: Option[] = [];\r\n multiple?: boolean;\r\n\r\n operators?: any[];\r\n placeholder?: string;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() checkbox = new EventEmitter();\r\n\r\n constructor(private alert: AlertService) { }\r\n\r\n ngOnInit() {\r\n if (this.options) {\r\n this.tmpOptions = JSON.parse(this.options) as Option[];\r\n }\r\n this.getOperators();\r\n }\r\n\r\n change() {\r\n try {\r\n const error = this.tmpOptions?.find(\r\n (o) => !o.value || o.value == 0 || !o.label\r\n );\r\n if (!error) {\r\n this.options = JSON.stringify(this.tmpOptions);\r\n this.changed.emit(this.options);\r\n } else {\r\n this.alert.warning(\"Values and Labels cannot be empty\");\r\n }\r\n } catch (e) { }\r\n }\r\n\r\n add() {\r\n const opt = new Option();\r\n opt.id = this.tmpOptions?.length\r\n ? (this.tmpOptions?.sort((a, b) => (b.id ?? 0) - (a.id ?? 0))?.[0]?.id ?? 0) + 1\r\n : 1;\r\n this.tmpOptions?.push(opt);\r\n this.change();\r\n }\r\n\r\n del(e: any) {\r\n this.tmpOptions?.splice(this.tmpOptions?.indexOf(e) ?? -1, 1);\r\n this.change();\r\n }\r\n\r\n getOperators() {\r\n this.operators = utils.getENUM(CompareOperator);\r\n }\r\n}\r\n","
    \r\n \r\n Options to compare {{ placeholder ?? \"\" | placeholderHighlight : true }}\r\n \r\n\r\n
    \r\n \r\n
    Label
    \r\n
    Oper
    \r\n
    Value
    \r\n
    \r\n
    \r\n add\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n {{ option.key }}\r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n delete\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'cl-editor-placeholder-select',\r\n templateUrl: './cl-editor-placeholder-select.component.html',\r\n styleUrls: ['./cl-editor-placeholder-select.component.scss']\r\n})\r\nexport class ClEditorPlaceholderSelectComponent implements OnInit, OnChanges {\r\n\r\n @Input() configuration?: string;\r\n @Input() text?: string | null;\r\n\r\n @Output() selected = new EventEmitter();\r\n\r\n constructor() { }\r\n\r\n placeholder!: string;\r\n options: PlaceholderOption[] = [];\r\n\r\n ngOnChanges(): void {\r\n if (this.configuration) {\r\n const configuration = JSON.parse(this.configuration)\r\n this.placeholder = configuration?.placeholder;\r\n }\r\n if (this.text) {\r\n this.getPlaceholders();\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n getPlaceholders() {\r\n this.options = [];\r\n if (this.text) {\r\n this.text.replace(new RegExp('\\{([a-z,A-Z,0-9]+)\\}', 'ig'), match => {\r\n const option = { value: match, checked: match == this.placeholder } as PlaceholderOption;\r\n this.options.push(option);\r\n return this.text ?? '';\r\n });\r\n }\r\n }\r\n\r\n change(e: any) {\r\n this.placeholder = e.value;\r\n this.selected.emit(this.placeholder);\r\n }\r\n\r\n}\r\n\r\nexport class PlaceholderOption {\r\n value!: string;\r\n checked!: boolean;\r\n}\r\n","
    \r\n Select placeholder to use for comparisons\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { ClBaseComponent } from '../../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'cl-editor-rad-locations',\r\n templateUrl: './cl-editor-rad-locations.component.html',\r\n styleUrls: ['./cl-editor-rad-locations.component.scss']\r\n})\r\nexport class ClEditorRadLocationsComponent extends ClBaseComponent implements OnChanges {\r\n\r\n\r\n radLocations?: RadLocation[];\r\n radLocationsList?: RadLocation[];\r\n radLocationsFiltered?: RadLocation[];\r\n radLocations$!: Observable;\r\n radLocationsSubs!: Subscription;\r\n\r\n radLocationsCtrl = new FormControl();\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.buildForm();\r\n this.loadRadLocations();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n radLocationsCtrl: this.radLocationsCtrl\r\n });\r\n if (this.disabled)\r\n this.formGroup.disable();\r\n }\r\n\r\n loadRadLocations() {\r\n this.radLocations$ = this.store.select(state => state.RadLocation.data);\r\n this.radLocationsSubs = this.radLocations$.subscribe(data => {\r\n if (data?.length) {\r\n this.radLocations = data;\r\n this.loadData();\r\n this.filterRadLocations();\r\n }\r\n });\r\n }\r\n\r\n filterRadLocations() {\r\n this.radLocationsFiltered = this.radLocations?.filter(r => !this.radLocationsList?.map(x => x.id).includes(r.id)).sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n }\r\n\r\n loadData() {\r\n if (this.configuration) {\r\n this.radLocationsList = [];\r\n const radLocationsList = this.utils.JSONparse(this.configuration).data as RadLocation[];\r\n radLocationsList?.map(r => {\r\n const radLocation = this.radLocations?.find(x => x.id == r.id);\r\n if (radLocation)\r\n this.radLocationsList?.push(radLocation);\r\n });\r\n }\r\n else {\r\n this.radLocationsList = [];\r\n }\r\n }\r\n\r\n saveData() {\r\n const radLocationsList: any[] = [];\r\n this.radLocationsList?.map(r => {\r\n radLocationsList.push(this.utils.Serialize(r));\r\n });\r\n this.configuration = this.utils.JSONstringify({ data: radLocationsList });\r\n this.changed.emit(this.configuration);\r\n this.loadData();\r\n this.filterRadLocations();\r\n }\r\n\r\n add() {\r\n\r\n }\r\n\r\n remove(radLocation: RadLocation) {\r\n const index = this.radLocationsList?.findIndex(x => x.id == radLocation.id) as number;\r\n if (index >= 0) {\r\n this.radLocationsList?.splice(index, 1);\r\n this.saveData();\r\n }\r\n }\r\n\r\n onChange(e: any) {\r\n const value = (e.target.value as string).toLowerCase();\r\n this.filterRadLocations();\r\n this.radLocationsFiltered = this.radLocations?.filter(r => r.name?.toLowerCase()?.includes(value));\r\n }\r\n\r\n selected(e: any) {\r\n const value = e.option.value;\r\n this.radLocationsList?.push(value);\r\n this.saveData();\r\n }\r\n\r\n}\r\n","
    \r\n \r\n Rad Locations\r\n \r\n \r\n {{ radLocation.name }}\r\n cancel\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { ClBaseComponent } from '../../cl-base/cl-base.component';\r\nimport { RadMonitorLocationTabComponent } from '../../../../components/catalogs/rad-monitor/location-tab/location-tab.component';\r\nimport { FormControl } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'cl-editor-rad-monitors',\r\n templateUrl: './cl-editor-rad-monitors.component.html',\r\n styleUrls: ['./cl-editor-rad-monitors.component.scss']\r\n})\r\nexport class ClEditorRadMonitorsComponent extends ClBaseComponent implements OnInit {\r\n\r\n radMonitors?: RadMonitor[];\r\n radMonitorsList?: RadMonitor[];\r\n radMonitorsFiltered?: RadMonitor[];\r\n radMonitors$!: Observable;\r\n radMonitorsSubs!: Subscription;\r\n\r\n radMonitorsCtrl = new FormControl();\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n this.loadData();\r\n this.loadRadMonitors();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n radMonitorsCtrl: this.radMonitorsCtrl\r\n });\r\n if (this.disabled)\r\n this.formGroup.disable();\r\n }\r\n\r\n loadRadMonitors() {\r\n this.radMonitors$ = this.store.select(state => state.RadMonitor.data);\r\n this.radMonitorsSubs = this.radMonitors$.subscribe(data => {\r\n if (data?.length) {\r\n this.radMonitors = data;\r\n this.filterRadMonitors();\r\n }\r\n });\r\n }\r\n\r\n filterRadMonitors() {\r\n this.radMonitorsFiltered = this.radMonitors?.filter(r => !this.radMonitorsList?.map(x => x.id).includes(r.id));\r\n }\r\n\r\n loadData() {\r\n if (this.configuration) {\r\n this.radMonitorsList = [];\r\n const radMonitorsList = this.utils.JSONparse(this.configuration).data as RadMonitor[];\r\n radMonitorsList?.map(r => {\r\n const radMonitor = this.radMonitors?.find(x => x.id == r.id);\r\n if (radMonitor)\r\n this.radMonitorsList?.push(radMonitor);\r\n this.radMonitorsList?.sort((a, b) => this.utils.sort(a.ehs, b.ehs));\r\n });\r\n }\r\n else {\r\n this.radMonitorsList = [];\r\n }\r\n }\r\n\r\n saveData() {\r\n const radMonitorsList: any[] = [];\r\n this.radMonitorsList?.map(r => {\r\n radMonitorsList.push(this.utils.Serialize(r));\r\n });\r\n this.configuration = this.utils.JSONstringify({ data: radMonitorsList });\r\n this.changed.emit(this.configuration);\r\n this.loadData();\r\n this.filterRadMonitors();\r\n }\r\n\r\n add(e: any) {\r\n\r\n }\r\n\r\n remove(radMonitor: RadMonitor) {\r\n const index = this.radMonitorsList?.findIndex(x => x.id == radMonitor.id) as number;\r\n if (index >= 0) {\r\n this.radMonitorsList?.splice(index, 1);\r\n this.saveData();\r\n }\r\n }\r\n\r\n onChange(e: any) {\r\n const value = (e.target.value as string).toLowerCase();\r\n this.filterRadMonitors();\r\n this.radMonitorsFiltered = this.radMonitors?.filter(r => r.ehs?.includes(value));\r\n }\r\n\r\n selected(e: any) {\r\n const value = e.option.value;\r\n this.radMonitorsList?.push(value);\r\n this.saveData();\r\n }\r\n\r\n\r\n}\r\n","
    \r\n \r\n Rad Monitors\r\n \r\n \r\n {{ radMonitor.ehs }}\r\n cancel\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n","import { Component, Input, Output, EventEmitter, OnInit } from \"@angular/core\";\r\nimport { Option } from \"src/app/components/checklists/checklists\";\r\nimport { AlertService } from \"src/app/services/alert/alert.service\";\r\n@Component({\r\n selector: \"cl-editor-radio-options\",\r\n templateUrl: \"./cl-editor-radio-options.component.html\",\r\n styleUrls: [\"./cl-editor-radio-options.component.scss\"],\r\n})\r\nexport class ClEditorRadioOptionsComponent implements OnInit {\r\n @Input() disabled?: boolean;\r\n @Input() options?: string;\r\n @Input() configuration?: string;\r\n\r\n tmpOptions: Option[] = [];\r\n multiple!: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() error = new EventEmitter();\r\n constructor(private alert: AlertService) { }\r\n\r\n ngOnInit() {\r\n if (this.options) {\r\n this.tmpOptions = JSON.parse(this.options) as Option[];\r\n }\r\n if (this.configuration) {\r\n const m = JSON.parse(this.configuration).multiple;\r\n this.multiple = m;\r\n }\r\n }\r\n\r\n change() {\r\n try {\r\n const arry = this.tmpOptions.map((o) => o.value);\r\n const duplicateElements = arry.some((e, i) => arry.indexOf(e) !== i);\r\n const error = this.tmpOptions.find(\r\n (o) => !o.value || o.value == 0 || !o.label\r\n );\r\n if (!error && !duplicateElements) {\r\n this.error.emit(false);\r\n this.options = JSON.stringify(this.tmpOptions);\r\n this.changed.emit(this.options);\r\n } else if (error) {\r\n this.error.emit(true);\r\n this.alert.warning(\"Values and Labels cannot be empty or 0\");\r\n } else if (duplicateElements) {\r\n this.error.emit(true);\r\n this.alert.warning(\"Values cannot be repeated!\");\r\n }\r\n } catch (e) { }\r\n }\r\n\r\n\r\n add() {\r\n const opt = new Option();\r\n this.tmpOptions.push(opt);\r\n this.change();\r\n }\r\n\r\n del(e: any) {\r\n this.tmpOptions.splice(this.tmpOptions.indexOf(e), 1);\r\n this.change();\r\n }\r\n}\r\n","
    \r\n Options\r\n
    \r\n
    Label
    \r\n
    Value
    \r\n
    \r\n
    \r\n add\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n delete\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Output, EventEmitter, Input, OnDestroy, AfterViewInit, ChangeDetectorRef, SimpleChanges, OnChanges, } from \"@angular/core\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { Schedule } from \"src/app/components/schedules/models/schedule\";\r\nimport { ScheduleResource } from \"src/app/components/schedules/models/schedule-resources\";\r\nimport { ScheduleType } from \"src/app/components/schedules/models/schedule-type\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\n\r\n@Component({\r\n selector: \"cl-editor-schedule\",\r\n templateUrl: \"./cl-editor-schedule.component.html\",\r\n styleUrls: [\"./cl-editor-schedule.component.scss\"],\r\n})\r\n/** cl-editor-schedule component*/\r\nexport class ClEditorScheduleComponent implements OnDestroy, AfterViewInit, OnChanges {\r\n\r\n @Input() disabled!: boolean;\r\n @Input() configuration?: string;\r\n @Input() scheduleTypeId?: number;\r\n @Input() scheduleResourceId?: number;\r\n @Input() showLocation: boolean = true;\r\n @Output() scheduleChanged = new EventEmitter();\r\n\r\n scheduleType?: ScheduleType;\r\n tmpSchedules: ScheduleResource[] = [];\r\n\r\n tmpSchedulesFiltered: ScheduleResource[] = [];\r\n scheduleResource: ScheduleResource = new ScheduleResource();\r\n scheduleResourceEdit: ScheduleResource = new ScheduleResource();\r\n tmpSchedId!: number;\r\n\r\n scheduleTypes$!: Observable;\r\n scheduleTypes!: ScheduleType[];\r\n\r\n schedules$!: Observable;\r\n schedules!: Schedule[];\r\n\r\n subscription1!: Subscription;\r\n subscription2!: Subscription;\r\n\r\n schedule?: ScheduleResource;\r\n\r\n constructor(private store: Store) { }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription1.unsubscribe();\r\n this.subscription2.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.configuration) {\r\n this.scheduleTypeId = JSON.parse(this.configuration).scheduleType;\r\n }\r\n this.ngAfterViewInit();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.scheduleTypes$ = this.store.select(\r\n (state) => state.ScheduleTypes.data\r\n );\r\n this.subscription1 = this.scheduleTypes$.subscribe((data) => {\r\n this.scheduleTypes = data;\r\n this.scheduleType = data.find((x) => x.id == this.scheduleTypeId);\r\n this.getSchedules();\r\n });\r\n }\r\n\r\n getSchedules() {\r\n this.schedules$ = this.store.select((state) => state.Schedules.data);\r\n this.subscription2 = this.schedules$.subscribe((data) => {\r\n this.tmpSchedules = [];\r\n data\r\n .filter((x) => x.statusId != 2 && x.typeId == this.scheduleType?.id)\r\n .map((schedule) => {\r\n schedule.scheduleResources.map((sr) => {\r\n const scheduleResource: ScheduleResource = {\r\n id: sr.id,\r\n name: sr.resourceId ? sr.resource?.name : sr.resourceString,\r\n resourceId: sr.resourceId ? sr.resourceId : 0,\r\n dateValue1: schedule.lastCompleted,\r\n dateValue2: schedule.nextDue,\r\n dateValue3: schedule.extendedDate,\r\n };\r\n this.tmpSchedules.push(scheduleResource);\r\n });\r\n });\r\n const sched1 = this.tmpSchedules\r\n .filter((x) => x.resourceId != 0)\r\n .sort((a, b) => utils.SortBeamlines(a.name, b.name));\r\n const sched2 = this.tmpSchedules.filter((x) => x.resourceId == 0);\r\n this.tmpSchedules = [...new Set(sched1.concat(sched2))];\r\n this.schedule = this.tmpSchedules.find((x) => x.id == this.scheduleResourceId);\r\n\r\n this.tmpSchedulesFiltered = utils.cloneDeep(this.tmpSchedules);\r\n });\r\n }\r\n\r\n displayType(e: any) {\r\n return e ? e.acronym : null;\r\n }\r\n\r\n displayLocation(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n async scheduleSelected() {\r\n this.tmpSchedules = [];\r\n this.scheduleResource = new ScheduleResource();\r\n this.getSchedules();\r\n this.emit();\r\n }\r\n\r\n locationSelected() {\r\n this.emit();\r\n }\r\n\r\n emit() {\r\n const scheduleObject = new ScheduleObject();\r\n scheduleObject.scheduleType = this.scheduleType;\r\n scheduleObject.schedule = this.schedule;\r\n this.scheduleChanged.emit(scheduleObject);\r\n }\r\n}\r\nexport class ScheduleObject {\r\n scheduleType?: ScheduleType;\r\n schedule?: ScheduleResource;\r\n}\r\n","Schedule:\r\n\r\n \r\n \r\n {{ type.acronym }}\r\n \r\n \r\n\r\n
    \r\n Location:\r\n \r\n \r\n \r\n {{ schedule.name }}\r\n \r\n \r\n \r\n
    \r\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { ChecklistTemplate } from 'src/app/components/checklists/checklists';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\n\r\n@Component({\r\n selector: 'cl-editor-status-change',\r\n templateUrl: './cl-editor-status-change.component.html',\r\n styleUrls: ['./cl-editor-status-change.component.scss']\r\n})\r\nexport class ClEditorStatusChangeComponent implements OnInit, OnDestroy {\r\n\r\n @Input() disabled!: boolean;\r\n @Input() configuration?: string;\r\n @Input() checklistTemplate!: ChecklistTemplate;\r\n @Input() statusLabel!: string;\r\n @Input() action!: number;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n statusID?: number | null;\r\n roles?: Role[];\r\n rolesFiltered?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n constructor(private store: Store) { }\r\n\r\n ngOnInit(): void {\r\n this.loadRoles();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data?.length) {\r\n this.roles = data;\r\n this.getConfiguration();\r\n }\r\n });\r\n }\r\n\r\n getConfiguration() {\r\n const configuration = utils.JSONparse(this.configuration);\r\n this.statusID = configuration.status;\r\n this.rolesFiltered = this.roles?.filter(r => (configuration.roles as number[])?.includes(r.id)) ?? [];\r\n }\r\n\r\n statusSelected(statusID: number | null) {\r\n this.statusID = statusID;\r\n this.setConfiguration();\r\n }\r\n\r\n rolesSelected(roles: Role[]) {\r\n this.rolesFiltered = roles;\r\n this.setConfiguration();\r\n }\r\n\r\n setConfiguration() {\r\n const configuration = { status: this.statusID, roles: this.rolesFiltered?.map(r => r.id) };\r\n this.changed.emit(configuration);\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n 0\"\r\n [roles]=\"rolesFiltered\"\r\n [disabled]=\"disabled\"\r\n hint=\"Notification won't be sent without first selecting a Role\"\r\n label=\"Roles to Notify on Status Change\"\r\n (changed)=\"rolesSelected($event)\"\r\n >\r\n
    \r\n
    \r\n","import { Component, Input, OnInit, EventEmitter, Output } from \"@angular/core\";\r\nimport { ChecklistExecStatus, ChecklistTemplate, } from \"../../../../components/checklists/checklists\";\r\nimport { FormControl, FormGroup } from \"@angular/forms\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\n\r\n@Component({\r\n selector: \"cl-editor-status\",\r\n templateUrl: \"./cl-editor-status.component.html\",\r\n styleUrls: [\"./cl-editor-status.component.scss\"],\r\n})\r\nexport class ClEditorStatusComponent implements OnInit {\r\n @Input() disabled!: boolean;\r\n @Input() configuration?: string;\r\n @Input() checklistTemplate!: ChecklistTemplate;\r\n @Input() statusLabel!: string;\r\n @Input() action!: number;\r\n\r\n @Output() selected = new EventEmitter();\r\n\r\n form!: FormGroup;\r\n statusCtrl = new FormControl();\r\n\r\n status?: ChecklistExecStatus | null;\r\n statuses?: ChecklistExecStatus[];\r\n statusesFiltered?: ChecklistExecStatus[];\r\n\r\n nochange = {\r\n id: 0,\r\n description: \"[No Change]\",\r\n cssClass: \"gray\",\r\n order: 0,\r\n } as ChecklistExecStatus;\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n this.statuses = this.checklistTemplate?.documentType?.checklistExecStatuses;\r\n this.statusesFiltered = this.statuses?.sort((a, b) => a.order - b.order);\r\n this.sortStatuses();\r\n if (this.configuration) {\r\n switch (this.action) {\r\n case undefined:\r\n this.status = this.statuses?.find(\r\n (x) => x.id == utils.JSONparse(this.configuration).status\r\n );\r\n break;\r\n case 1:\r\n this.status = this.statuses?.find(\r\n (x) => x.id == utils.JSONparse(this.configuration).approveNextStatus\r\n );\r\n break;\r\n case 2:\r\n this.status = this.statuses?.find(\r\n (x) => x.id == utils.JSONparse(this.configuration).unapproveNextStatus\r\n );\r\n break;\r\n case 3:\r\n this.status = this.statuses?.find(\r\n (x) => x.id == utils.JSONparse(this.configuration).disapproveNextStatus\r\n );\r\n break;\r\n }\r\n }\r\n this.statusCtrl.setValue(this.status);\r\n if (this.disabled) {\r\n this.statusCtrl.disable();\r\n } else {\r\n this.statusCtrl.enable();\r\n }\r\n }\r\n\r\n changedStatus(e: any) {\r\n this.status = null;\r\n const val = e.target.value;\r\n this.statusesFiltered = this.statuses?.filter((x) =>\r\n x.name?.toLowerCase().includes(val.toLowerCase())\r\n );\r\n this.sortStatuses();\r\n this.selected.emit(null);\r\n }\r\n\r\n selectedStatus(e: any) {\r\n this.status = e.option.value;\r\n this.statusesFiltered = this.statuses?.filter(\r\n (x) => x.id != this.status?.id\r\n );\r\n this.sortStatuses();\r\n this.selected.emit(this.status?.id);\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.description : null;\r\n }\r\n\r\n sortStatuses() {\r\n if (this.action != undefined && !this.statusesFiltered?.map((x) => x.id).includes(0))\r\n this.statusesFiltered?.push(this.nochange);\r\n this.statusesFiltered = this.statusesFiltered?.sort(\r\n (a, b) => a.order - b.order\r\n );\r\n }\r\n}\r\n","\r\n {{ statusLabel ? statusLabel : \"Status to Change to\" }}\r\n \r\n \r\n \r\n {{ s.order }}. {{ s.description }}\r\n \r\n \r\n You must choose a Status\r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ResourceGroup } from '../cl-editor-location/cl-editor-location.component';\r\nimport { FormControl } from '@angular/forms';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { Resource, ResourceRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'cl-editor-sublocations',\r\n templateUrl: './cl-editor-sublocations.component.html',\r\n styleUrls: ['./cl-editor-sublocations.component.scss']\r\n})\r\nexport class ClEditorSublocationsComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Output() configurationChanged = new EventEmitter();\r\n @Input() configuration?: string;\r\n\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n resourceRelations!: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n shieldingConfiguration!: ShieldingConfiguration;\r\n\r\n // public locations: Resource[] = [];\r\n public location?: Resource = new Resource();\r\n\r\n longShutdown!: boolean;\r\n inTunnel!: boolean;\r\n locationCtrl = new FormControl();\r\n\r\n resourceGroups!: ResourceGroup[];\r\n\r\n constructor(\r\n private store: Store\r\n ) {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadResources();\r\n this.loadResourceRelations();\r\n this.shieldingConfiguration = utils.JSONparse(this.configuration);\r\n this.location = this.resources?.find(x => x.id == this.shieldingConfiguration?.location);\r\n this.locationCtrl.setValue(this.location);\r\n this.longShutdown = this.shieldingConfiguration.longShutdown;\r\n this.inTunnel = this.shieldingConfiguration.inTunnel;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadResources();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.resourcesFiltered = this.resources.filter(x => x.type == ResourceType.Accelerator);\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n this.createLocationGroups();\r\n }\r\n });\r\n }\r\n\r\n displayLocation(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n changed() {\r\n this.shieldingConfiguration = new ShieldingConfiguration();\r\n this.shieldingConfiguration.location = this.locationCtrl.value?.id;\r\n this.shieldingConfiguration.longShutdown = this.longShutdown;\r\n this.shieldingConfiguration.inTunnel = this.inTunnel;\r\n this.configurationChanged.emit(utils.JSONstringify(this.shieldingConfiguration));\r\n }\r\n\r\n createLocationGroups() {\r\n this.resourceGroups = [];\r\n this.resourcesFiltered.map(r => {\r\n if (r.type == ResourceType.Accelerator) {\r\n if (!this.resourceGroups.map(g => g.id).includes(r.id)) {\r\n const relations = this.resourceRelations?.filter(rr => rr.parentResourceID == r.id && rr.childResource?.status == 1);\r\n const locs = relations?.filter(l => l.childResourceType == ResourceType.AcceleratorLocation).map(rr => {\r\n return { id: rr.childResourceID, name: rr.childResourceName, type: rr.childResourceType } as Resource;\r\n });\r\n if (locs?.length) {\r\n this.resourceGroups.push({ name: r.name, type: r.type, id: r.id, locations: locs.sort((a, b) => utils.SortBeamlines(a.name, b.name)) });\r\n }\r\n }\r\n }\r\n else {\r\n if (!this.resourceGroups.map(g => g.type).includes(r.type) && r.type != ResourceType.AcceleratorLocation) {\r\n this.resourceGroups.push({ name: r.resourceType?.name, type: r.type, locations: this.resourcesFiltered.filter(x => x.type == r.type).sort((a, b) => utils.SortBeamlines(a.name, b.name)) });\r\n }\r\n }\r\n });\r\n this.resourceGroups = this.resourceGroups.sort((a, b) => (a.type ?? 0) - (b.type ?? 0));\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n change(e: any) {\r\n const value = (e.target.value as string).toLowerCase();\r\n this.resourcesFiltered = this.resources.filter(x => x.type == ResourceType.Accelerator);\r\n this.resourcesFiltered = this.resourcesFiltered.filter(x => x.name?.toLowerCase().includes(value));\r\n this.createLocationGroups();\r\n }\r\n\r\n\r\n}\r\n\r\nexport class ShieldingConfiguration {\r\n location!: number;\r\n longShutdown!: boolean;\r\n inTunnel!: boolean;\r\n}\r\n","\r\n Location\r\n \r\n \r\n \r\n \r\n {{ location.name }}\r\n \r\n \r\n \r\n\r\n\r\n Include Long Shutdown Shielding Checks?\r\n\r\n\r\n In Tunnel?\r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, } from \"@angular/core\";\r\nimport { MatDialog } from \"@angular/material/dialog\";\r\nimport { YesNoDialogComponent } from \"src/app/controls/yes-no-dialog/yes-no-dialog.component\";\r\nimport { utils } from \"src/app/modules/libs/utils\";\r\nimport { AlertService } from \"src/app/services/alert/alert.service\";\r\nimport { MessageBannerService } from \"src/app/components/messages/services/message-banner.service\";\r\n\r\n@Component({\r\n selector: \"cl-editor-table-headers\",\r\n templateUrl: \"./cl-editor-table-headers.component.html\",\r\n styleUrls: [\"./cl-editor-table-headers.component.scss\"],\r\n})\r\nexport class ClEditorTableHeadersComponent implements OnInit, OnChanges {\r\n @Input() disabled?: boolean;\r\n @Input() configuration?: string;\r\n @Output() changed = new EventEmitter();\r\n\r\n columnsToggle: boolean = false;\r\n colorToggle: boolean = false;\r\n channelsToggle: boolean = false;\r\n rowsToggle: boolean = false;\r\n incIMToggle: boolean = true;\r\n incIMPosition: number = 1;\r\n images: any[] = [];\r\n\r\n defaultDataChannel = [\r\n { name: \"cmm:beam_current\", label: \"Beam Current (mA)\", pos: 1 },\r\n ];\r\n\r\n columnsBuilder: TableColumn[] = [\r\n { name: \"beam_current\", label: \"Beam
    Current\" },\r\n ];\r\n\r\n columnsChecklist: TableColumn[] = [\r\n { name: \"placeholder\", label: \"Placeholder\", editor: false },\r\n {\r\n name: \"dose\",\r\n label: \"Max. Reading
    (mR/h)\",\r\n editor: \"numeric\",\r\n type: \"numeric\",\r\n numericFormat: { pattern: \"0.000\" },\r\n },\r\n { name: \"location\", label: \"Location\" },\r\n { name: \"values\", label: \"Values\", editor: false },\r\n { name: \"notes\", label: \"Notes\" },\r\n ];\r\n\r\n columnsIntegratedMeasurements: TableColumn[] = [\r\n { name: \"reading\", label: \"Int. Reading
    (mR)\", type: \"group\" },\r\n { name: \"time\", label: \"Int. Time
    (m)\", type: \"group\" },\r\n {\r\n name: \"calcdose\",\r\n label: \"Calculated Dose Rate
    (mR/h)\",\r\n type: \"group\",\r\n },\r\n ];\r\n\r\n public columnData: TableColumn[] = [{ name: \"data\", label: \"Data\" }];\r\n\r\n columns: TableColumn[] = [];\r\n\r\n spotRows: any[] = [\r\n { id: 0, posx: 0, posy: 0, spotText: \"\", imageid: 0, percX: 0, percY: 0 },\r\n ];\r\n\r\n dataset: rowData[] = [\r\n {\r\n id: 1,\r\n values: \"\",\r\n rowId: \"1.1\",\r\n spotid: 0,\r\n imageid: 0,\r\n data: JSON.stringify(this.defaultDataChannel),\r\n },\r\n ];\r\n\r\n showHtml = false;\r\n rows: any[] = [];\r\n\r\n constructor(\r\n public dialog: MatDialog,\r\n public _dMessage: MessageBannerService,\r\n private alert: AlertService\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.placeholderCheck();\r\n if (this.configuration) {\r\n const configuration = JSON.parse(this.configuration);\r\n this.columnsBuilder = configuration.columnsBuilder;\r\n this.columnsChecklist = configuration.columnsChecklist;\r\n this.colorToggle = configuration.colorize;\r\n this.incIMToggle = configuration.includeIM;\r\n this.incIMPosition = configuration.includeIMPos;\r\n this.images = configuration.images;\r\n this.channelsToggle = configuration.channels;\r\n if (this.incIMPosition == undefined) {\r\n this.incIMPosition = this.columnsChecklist.length;\r\n }\r\n this.getColumns();\r\n if (configuration.data) {\r\n this.dataset = configuration.data;\r\n this.getRows();\r\n }\r\n if (configuration.spots) {\r\n this.spotRows = configuration.spots;\r\n }\r\n } else {\r\n this.change();\r\n }\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n placeholderCheck() {\r\n if (this.columnsChecklist && !this.columnsChecklist.some(c => c.name == \"placeholder\")) {\r\n this.columnsChecklist.splice(0, 0, { name: \"placeholder\", label: \"Placeholder\", editor: false });\r\n this.change();\r\n }\r\n }\r\n\r\n getRows() {\r\n this.rows = [];\r\n let calculatedRows = [];\r\n calculatedRows = [...new Set(this.dataset.map((x) => x.id))];\r\n calculatedRows = calculatedRows.sort((a, b) => (a ?? 0) - (b ?? 0));\r\n\r\n if (calculatedRows.length) {\r\n for (let i = 0; i < calculatedRows.length; i++) {\r\n const labelRow: string = String(calculatedRows[i]);\r\n this.rows.push({ rowId: i, rowLabel: labelRow });\r\n }\r\n }\r\n this.rows = this.rows.sort((a, b) => +a.rowLabel - +b.rowLabel);\r\n }\r\n\r\n change() {\r\n try {\r\n this.configuration = JSON.stringify({\r\n columnsBuilder: this.columnsBuilder,\r\n columnsChecklist: this.columnsChecklist,\r\n data: this.dataset,\r\n spots: this.spotRows,\r\n colorize: this.colorToggle,\r\n includeIM: this.incIMToggle,\r\n includeIMPos: this.incIMPosition,\r\n images: this.images,\r\n channels: this.channelsToggle,\r\n });\r\n this.changed.emit(this.configuration);\r\n } catch (e) { }\r\n }\r\n\r\n displayDeleteButtonRow(): boolean {\r\n let displayButton = true;\r\n const newConfig = utils.JSONparse(this.configuration);\r\n const uniqueIds = [...new Set(newConfig.data.map((obj: any) => obj.id))];\r\n if (uniqueIds.length <= 1) {\r\n displayButton = false;\r\n }\r\n return displayButton;\r\n }\r\n\r\n displayDeleteButtonHeader(): boolean {\r\n let displayButton = true;\r\n const cantColums = this.columns.filter((x) => x.name != \"values\").length;\r\n if (cantColums <= 1) {\r\n displayButton = false;\r\n }\r\n return displayButton;\r\n }\r\n\r\n headerChange(column: TableColumn) {\r\n let columns: TableColumn[] = [];\r\n if (this.columnsToggle) {\r\n if (this.columnsChecklist.find((x) => x.name == column.name)) {\r\n columns = this.columnsChecklist;\r\n }\r\n } else {\r\n if (this.columnsBuilder.find((x) => x.name == column.name)) {\r\n columns = this.columnsBuilder;\r\n }\r\n }\r\n const columnToUpdate = columns.find((x) => x.name == column.name);\r\n if (columnToUpdate) {\r\n columnToUpdate.label = utils.replaceAll(column?.label ?? '', \"

    \", \"\");\r\n columnToUpdate.label = utils.replaceAll(\r\n columnToUpdate.label,\r\n \"

    \",\r\n \"
    \"\r\n );\r\n columnToUpdate.label = utils.replaceAll(\r\n columnToUpdate.label,\r\n \"
    \",\r\n \"\"\r\n );\r\n columnToUpdate.label = utils.replaceAll(\r\n columnToUpdate.label,\r\n \"
    \",\r\n \"
    \"\r\n );\r\n columnToUpdate.label = columnToUpdate.label.replace(\r\n '',\r\n \"\"\r\n );\r\n columnToUpdate.label = columnToUpdate.label.replace(\"\", \"\");\r\n\r\n if (columnToUpdate.name == \"new\" || columnToUpdate.name?.includes(\"no_label\")) {\r\n if (column.label == \"\") {\r\n columnToUpdate.label = 'No label';\r\n columnToUpdate.name = \"no_label\";\r\n } else {\r\n let newName = utils.replaceAll(\r\n utils.replaceAll(columnToUpdate.label, \" \", \"_\").toLocaleLowerCase(), \"
    \", \"_\");\r\n if (this.columnsChecklist.find((x) => x.name == newName) || this.columnsBuilder.find((x) => x.name == newName)) {\r\n newName = newName + \"_\";\r\n }\r\n columnToUpdate.name = newName;\r\n }\r\n }\r\n this.change();\r\n }\r\n }\r\n\r\n showSave(column: TableColumn) {\r\n if (this.columnsToggle) {\r\n return !this.columnsChecklist.some(c => c.label == column.label);\r\n }\r\n else {\r\n return !this.columnsBuilder.some(c => c.label == column.label);\r\n }\r\n }\r\n\r\n changeToggle() {\r\n this.getColumns();\r\n }\r\n\r\n getColumns() {\r\n if (this.columnsToggle) {\r\n if (this.incIMToggle) {\r\n this.columns = utils.insertArrayAt(\r\n utils.cloneDeep(this.columnsChecklist),\r\n this.incIMPosition,\r\n this.columnsIntegratedMeasurements\r\n );\r\n } else {\r\n this.columns = utils.cloneDeep(this.columnsChecklist);\r\n }\r\n if (this.channelsToggle) {\r\n const pos = this.columns.find((x) => x.name == \"notes\")\r\n ? this.columns.length - 1\r\n : this.columns.length;\r\n this.columns = utils.insertArrayAt(\r\n utils.cloneDeep(this.columns),\r\n pos,\r\n this.columnData\r\n );\r\n }\r\n } else {\r\n this.columns = utils.cloneDeep(this.columnsBuilder);\r\n }\r\n return this.columns;\r\n }\r\n\r\n add() {\r\n if (\r\n !this.columnsChecklist.find((c) => c.name == \"new\") &&\r\n !this.columnsBuilder.find((c) => c.name == \"new\")\r\n ) {\r\n const column = new TableColumn();\r\n column.label = \"\";\r\n column.name = \"new\";\r\n\r\n let index;\r\n\r\n if (this.columnsToggle) {\r\n // Default to inserting at the last position\r\n index = this.columnsChecklist.length;\r\n\r\n // Check if any element has the name notes or data\r\n let hasNotes = false;\r\n let hasData = false;\r\n let hasValues = false;\r\n\r\n for (let i = 0; i < this.columnsChecklist.length; i++) {\r\n if (this.columnsChecklist[i].name === \"notes\") {\r\n hasNotes = true;\r\n }\r\n if (this.columnsChecklist[i].name === \"data\") {\r\n hasData = true;\r\n }\r\n if (this.columnsChecklist[i].name === \"values\") {\r\n hasData = true;\r\n }\r\n }\r\n\r\n if (hasNotes) {\r\n index--;\r\n }\r\n if (hasData) {\r\n index--;\r\n }\r\n if (hasValues) {\r\n index--;\r\n }\r\n\r\n this.columnsChecklist.splice(index, 0, { name: \"new\", label: \"\" });\r\n } else {\r\n index = this.columnsBuilder.length;\r\n this.columnsBuilder.splice(index, 0, { name: \"new\", label: \"\" });\r\n }\r\n this.change();\r\n } else {\r\n this.alert.error(\r\n \"Please save your column changes before adding another.\"\r\n );\r\n }\r\n }\r\n\r\n delete(column: TableColumn) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n minWidth: \"400px\",\r\n data: {\r\n message: this._dMessage.get(\"Rad_Survey_Image_Component_Delete_Column\")\r\n .description,\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n if (this.columnsToggle) {\r\n const index = this.columnsChecklist.findIndex(\r\n (x) => x.name == column.name\r\n );\r\n if (index >= 0) {\r\n this.columnsChecklist.splice(index, 1);\r\n }\r\n } else {\r\n const index = this.columnsBuilder.findIndex(\r\n (x) => x.name == column.name\r\n );\r\n if (index >= 0) {\r\n this.columnsBuilder.splice(index, 1);\r\n }\r\n }\r\n this.change();\r\n }\r\n });\r\n }\r\n\r\n addTableRow() {\r\n const id = this.nextId();\r\n let pvData = null;\r\n if (this.incIMToggle) {\r\n pvData = JSON.stringify(this.defaultDataChannel);\r\n }\r\n this.dataset.push({\r\n id,\r\n values: \"\",\r\n rowId: (id + 0.1).toString(),\r\n spotid: 0,\r\n imageid: 0,\r\n data: pvData,\r\n });\r\n this.getRows();\r\n this.change();\r\n }\r\n\r\n duplicateRow(r: any) {\r\n const rows = this.dataset.filter((x) => x.id == +r.rowLabel);\r\n const newId = this.nextId();\r\n rows.map((row) => {\r\n const newRow = utils.cloneDeep(row);\r\n newRow.id = newId;\r\n newRow.rowId = newId + \".\" + newRow.rowId?.split(\".\")[1];\r\n newRow.spotid = 0;\r\n\r\n this.dataset.push(newRow);\r\n });\r\n this.getRows();\r\n this.change();\r\n }\r\n\r\n deleteRow(row: any) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this._dMessage.get(\"Rad_Survey_Image_Component_Delete_Row\")\r\n .description,\r\n icon: \"stop\",\r\n },\r\n });\r\n\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data != null) {\r\n this.dataset = this.dataset.filter(x => x.id?.toString() != row.rowLabel);\r\n this.deleteSpot(row);\r\n this.reorderRows();\r\n this.getRows();\r\n this.change();\r\n }\r\n });\r\n }\r\n\r\n reorderRows() {\r\n let id = 0;\r\n let lastId = 0;\r\n const newDataset: rowData[] = [];\r\n this.dataset.sort((a, b) => ((a.id ?? 0) * 10000 + +(a.rowId ?? 0)) - ((b.id ?? 0) * 10000 + +(b.rowId ?? 0))).map(d => {\r\n if (d.id != lastId) {\r\n lastId = d.id ?? 0;\r\n id++\r\n }\r\n const rowId = id.toString() + '.' + d.rowId?.split('.')[1];\r\n const data: rowData = utils.cloneDeep(d);\r\n data.id = id;\r\n data.rowId = rowId;\r\n newDataset.push(data);\r\n });\r\n this.dataset = newDataset;\r\n }\r\n\r\n deleteSpot(row: any) {\r\n const filtered = this.spotRows.filter((x) => String(x.id) != row.rowLabel);\r\n this.spotRows = filtered;\r\n }\r\n\r\n nextId(): number {\r\n const newConfig = utils.JSONparse(this.configuration);\r\n let _id = 0;\r\n const uniqueIds: any[] = [...new Set(newConfig.data.map((obj: any) => obj.id))];\r\n let arrayIds: number[] = [];\r\n uniqueIds.map((n) => {\r\n arrayIds.push(n);\r\n });\r\n arrayIds = arrayIds.sort((n1, n2) => n1 - n2);\r\n _id = Number(Math.max.apply(null, arrayIds)) + 1;\r\n return _id;\r\n }\r\n\r\n move(move: number) {\r\n let newPosition = (this.incIMPosition += move);\r\n if (newPosition < 0) {\r\n newPosition = 0;\r\n }\r\n if (newPosition > this.columnsChecklist.length - 1) {\r\n newPosition = this.columnsChecklist.length - 1;\r\n }\r\n this.incIMPosition = newPosition;\r\n this.getColumns();\r\n this.change();\r\n }\r\n\r\n // checkMove(column: TableColumn, move: number) {\r\n // var lastIndex = this.columns.length - 1;\r\n // var index = this.columns.findIndex(c => c.name == column.name);\r\n // //If Notes or Data column\r\n // if (column.name == \"notes\" || column.name == \"data\") {\r\n // return false;\r\n // }\r\n // //If index is adjacent to data or notes column\r\n // else if (move === 1 && ((this.columns[index + 1]?.name ?? \"\") == \"notes\" || (this.columns[index + 1]?.name ?? \"\") == \"data\" || (this.columns[index + 1]?.name ?? \"\") == \"values\")) {\r\n // return false;\r\n // }\r\n // //If index is adjacent to placeholder\r\n // else if (move === -1 && (this.columns[index - 1]?.name ?? \"\") == \"placeholder\") {\r\n // return false;\r\n // }\r\n // //Left arrow check on columnsChecklist side (account for placeholder)\r\n // else if (move === -1 && this.columnsToggle)\r\n // return index > 1;\r\n // //Left arrow check on columnsBuilder side\r\n // else if (move === -1)\r\n // return index > 0;\r\n // //Right arrow check\r\n // else\r\n // return index < lastIndex;\r\n // }\r\n\r\n checkMove(column: TableColumn, move: number) {\r\n const { columns, columnsToggle } = this;\r\n const columnNames = columns.map(c => c.name);\r\n const index = columnNames.indexOf(column.name);\r\n const lastIndex = columns.length - 1;\r\n\r\n if (column.name === \"notes\" || column.name === \"data\") {\r\n return false;\r\n }\r\n //Check move to right\r\n if (move === 1) {\r\n const nextColumnName = columnNames[index + 1] ?? \"\";\r\n if ([\"notes\", \"data\", \"values\"].includes(nextColumnName)) {\r\n return false;\r\n }\r\n //Check move to left\r\n } else if (move === -1) {\r\n const prevColumnName = columnNames[index - 1] ?? \"\";\r\n if (prevColumnName === \"placeholder\") {\r\n return false;\r\n }\r\n if (columnsToggle) {\r\n return index > 1;\r\n } else {\r\n return index > 0;\r\n }\r\n }\r\n\r\n return index < lastIndex;\r\n }\r\n\r\n\r\n moveColumn(column: TableColumn, move: number) {\r\n //Handle Integrated Toggle On moves on columnsChecklist side\r\n if (this.columnsToggle && this.incIMToggle) {\r\n const indexColumns = this.columns.findIndex(c => c.name == column.name)\r\n const indexChecklist = this.columnsChecklist.findIndex(c => c.name == column.name)\r\n // const index = this.columns.findIndex(c => c.name == column.name)\r\n if (indexColumns === -1) {\r\n throw new Error('Item not found in the array');\r\n }\r\n //If move is to left, check if index -1 is the calc dose column and call move in reverse\r\n if (move === -1 && (this.columns[indexColumns - 1].name ?? \"\") == \"calcdose\") {\r\n this.move(1);\r\n }\r\n //If move is to right, check if index +1 is the int reading column and call move in reverse\r\n else if (move === 1 && (this.columns[indexColumns + 1].name ?? \"\") == \"reading\") {\r\n this.move(-1);\r\n }\r\n //Move column left\r\n else if (move === -1 && indexChecklist > 0) {\r\n [this.columnsChecklist[indexChecklist], this.columnsChecklist[indexChecklist - 1]] = [this.columnsChecklist[indexChecklist - 1], this.columnsChecklist[indexChecklist]]\r\n }\r\n //Move column right\r\n else if (move === 1 && indexChecklist < this.columnsChecklist.length - 1) {\r\n [this.columnsChecklist[indexChecklist], this.columnsChecklist[indexChecklist + 1]] = [this.columnsChecklist[indexChecklist + 1], this.columnsChecklist[indexChecklist]]\r\n }\r\n }\r\n //Handle Integrated Toggle Off moves on columnsChecklis side\r\n else if (this.columnsToggle && !this.incIMToggle) {\r\n const index = this.columnsChecklist.findIndex(c => c.name == column.name);\r\n if (index === -1) {\r\n throw new Error('Item not found in the array');\r\n }\r\n //Move column left\r\n if (move === -1 && index > 0) {\r\n [this.columnsChecklist[index], this.columnsChecklist[index - 1]] = [this.columnsChecklist[index - 1], this.columnsChecklist[index]]\r\n }\r\n //Move column right\r\n else if (move === 1 && index < this.columnsChecklist.length - 1) {\r\n [this.columnsChecklist[index], this.columnsChecklist[index + 1]] = [this.columnsChecklist[index + 1], this.columnsChecklist[index]]\r\n }\r\n // this.getColumns();\r\n }\r\n //Handle moves on columnsBuilder side\r\n else {\r\n const index = this.columnsBuilder.findIndex(c => c.name == column.name);\r\n if (index === -1) {\r\n throw new Error('Item not found in the array');\r\n }\r\n //Move column left\r\n if (move === -1 && index > 0) {\r\n [this.columnsBuilder[index], this.columnsBuilder[index - 1]] = [this.columnsBuilder[index - 1], this.columnsBuilder[index]]\r\n }\r\n //Move column right\r\n else if (move === 1 && index < this.columnsBuilder.length - 1) {\r\n [this.columnsBuilder[index], this.columnsBuilder[index + 1]] = [this.columnsBuilder[index + 1], this.columnsBuilder[index]]\r\n }\r\n }\r\n this.change();\r\n }\r\n\r\n imageChanged(e: any) {\r\n const configuration = utils.JSONparse(this.configuration);\r\n const images: any[] = [];\r\n\r\n e.map((img: any) => {\r\n images.push(img);\r\n });\r\n\r\n let spots = configuration.spots;\r\n let dataSet = configuration.data;\r\n\r\n let imageIdArray = images.map((x) => x.id);\r\n let spotsIdArray = spots.map((x: { imageid: any }) => x.imageid);\r\n spotsIdArray = [...new Set(spotsIdArray)];\r\n imageIdArray = [...new Set(imageIdArray)];\r\n\r\n imageIdArray.map((item) => {\r\n const index = spotsIdArray.indexOf(item);\r\n if (index != -1) {\r\n spotsIdArray.splice(index, 1);\r\n }\r\n });\r\n\r\n spotsIdArray.map((item: number) => {\r\n if (item != 0) {\r\n spots = spots.filter((x: { imageid: any }) => x.imageid != item);\r\n const rowsImageId = dataSet.filter(\r\n (x: { imageid: any }) => x.imageid == item\r\n );\r\n let rowsIds = rowsImageId.map((x: { id: any }) => x.id);\r\n\r\n rowsIds = [...new Set(rowsIds)];\r\n rowsIds.map((element: any) => {\r\n const spotsRowIdTotal = [\r\n ...new Set(\r\n dataSet\r\n .filter((x: { id: any }) => x.id == element)\r\n .map((x: { spotid: any }) => x.spotid)\r\n ),\r\n ].length;\r\n const spotsRowIdImageSpots = [\r\n ...new Set(\r\n dataSet\r\n .filter(\r\n (x: { imageid: any; id: any }) =>\r\n x.imageid == item && x.id == element\r\n )\r\n .map((x: { spotid: any }) => x.spotid)\r\n ),\r\n ].length;\r\n if (spotsRowIdTotal > spotsRowIdImageSpots) {\r\n dataSet = dataSet.filter(\r\n (x: { id: any; imageid: any }) =>\r\n !(x.id == element && x.imageid == item)\r\n );\r\n } else {\r\n const imageSpotsId = [\r\n ...new Set(\r\n dataSet\r\n .filter(\r\n (x: { imageid: any; id: any }) =>\r\n x.imageid == item && x.id == element\r\n )\r\n .map((x: { spotid: any }) => x.spotid)\r\n ),\r\n ];\r\n const firstImageSpotId = imageSpotsId[0];\r\n\r\n const imageSpotsCount = dataSet.filter(\r\n (x: { imageid: any; id: any; spotid: unknown }) =>\r\n x.imageid == item &&\r\n x.id == element &&\r\n x.spotid == firstImageSpotId\r\n ).length;\r\n\r\n for (let _i = 0; _i < imageSpotsCount; _i++) {\r\n dataSet.find(\r\n (x: { imageid: any; id: any; spotid: unknown }) =>\r\n x.imageid == item &&\r\n x.id == element &&\r\n x.spotid == firstImageSpotId\r\n ).spotid = 0;\r\n }\r\n for (let _i = 0; _i < imageSpotsCount; _i++) {\r\n dataSet.find(\r\n (x: { id: any; spotid: number; imageid: any }) =>\r\n x.id == element && x.spotid == 0 && x.imageid == item\r\n ).imageid = 0;\r\n }\r\n dataSet = dataSet.filter(\r\n (x: { id: any; imageid: any; spotid: number }) =>\r\n !(x.id == element && x.imageid == item && x.spotid != 0)\r\n );\r\n }\r\n });\r\n }\r\n });\r\n\r\n this.images = images;\r\n this.change();\r\n }\r\n}\r\n\r\nclass rowData {\r\n id?: number;\r\n values?: string;\r\n rowId?: string;\r\n spotid?: number;\r\n imageid?: number;\r\n data?: string | null;\r\n}\r\n\r\nexport class TableColumn {\r\n name?: string;\r\n label?: string;\r\n readOnly?: boolean;\r\n editor?: any;\r\n type?: string;\r\n numericFormat?: any;\r\n source?: any;\r\n renderer?: any;\r\n className?: string;\r\n width?: number;\r\n span?: number;\r\n include?: boolean;\r\n}\r\n","
    \r\n
    \r\n
    \r\n Headers\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n delete_outline\r\n save\r\n
    \r\n \r\n arrow_back\r\n arrow_back\r\n arrow_forward\r\n arrow_forward\r\n
    \r\n \r\n arrow_back\r\n arrow_back\r\n
    \r\n \r\n arrow_forward\r\n arrow_forward\r\n
    \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n add\r\n
    \r\n
    \r\n
    \r\n \r\n code\r\n
    \r\n
    \r\n \r\n
    \r\n Left/Right Columns\r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n Colorize Columns\r\n \r\n Include Integrated Measurements\r\n \r\n Include PV Data\r\n \r\n
    \r\n \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n Table Rows\r\n
    \r\n
    \r\n
    \r\n \r\n\r\n Show Rows\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ r.rowLabel }}\r\n
    \r\n
    \r\n
    \r\n \r\n content_copy\r\n
    \r\n \r\n delete_outline\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { WFComponent } from '../../../../components/workflow/workflow';\r\nimport { ReturnType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'app-cl-editor-tag-info',\r\n templateUrl: './cl-editor-tag-info.component.html',\r\n styleUrls: ['./cl-editor-tag-info.component.scss']\r\n})\r\nexport class ClEditorTagInfoComponent implements OnInit {\r\n\r\n returnType: string;\r\n returnTypes = ReturnType;\r\n tag?: string;\r\n\r\n constructor(\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: TagInfoData) {\r\n this.returnType = ReturnType[data.component.returnType ?? -1];\r\n this.tag = data.tag ? data.tag : '{Tag}';\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n close() {\r\n this.dialog.close();\r\n }\r\n\r\n}\r\n\r\nexport interface TagInfoData {\r\n component: WFComponent;\r\n tag: string;\r\n multi: boolean;\r\n}\r\n","
    \r\n
    \r\n \r\n This component returns {{ returnType }} value.\r\n\r\n

    You can use Tag as follows in the Conditions field:

    \r\n\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    SyntaxOperatorExplanation
    (None)Check if component value is Yes or True
    \r\n !\r\n ! (Inverse)Check if component component value is No or False
    (None)Check if component has been Signed or Checked
    \r\n !\r\n ! (Inverse)Check if component has not been Signed or Checked
    \r\n && [Other Tag]\r\n && (And)Check if two components have been Signed or Checked
    \r\n || [Other Tag]\r\n || (Or)Check if any of two components have been Signed or Checked
    \r\n == [Number]\r\n == (Equal)Check if selected values includes a specific number
    \r\n != [Number]\r\n != (Not Equal)Check if selected values not include a specfic number
    \r\n == [Number]\r\n == (Equal)Check if selected value is a specific number
    \r\n != [Number]\r\n != (Not Equal)Check if selected value is not a specfic number
    \r\n == '[String]'\r\n == (Equal)Check if any of entered text values matches a String
    \r\n != '[String]'\r\n != (Not Equal)Check if none of entered text values matches a String
    \r\n
    \r\n
    \r\n","import { Component, Input, Output, EventEmitter } from \"@angular/core\";\r\n\r\n@Component({\r\n selector: \"cl-editor-textbox-options\",\r\n templateUrl: \"./cl-editor-textbox-options.component.html\",\r\n styleUrls: [\"./cl-editor-textbox-options.component.scss\"],\r\n})\r\n/** cl-editor-textbox-options component*/\r\nexport class ClEditorTextboxOptionsComponent {\r\n @Input() disabled?: boolean;\r\n @Input() options?: string;\r\n @Input() configuration?: string;\r\n\r\n tmpOptions?: option[];\r\n multiple?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() textbox = new EventEmitter();\r\n\r\n ngOnInit() {\r\n if (this.options) {\r\n this.tmpOptions = JSON.parse(this.options) as option[];\r\n }\r\n if (this.configuration) {\r\n var m = JSON.parse(this.configuration).multiple;\r\n this.multiple = m;\r\n }\r\n }\r\n\r\n change() {\r\n try {\r\n this.options = JSON.stringify(this.tmpOptions);\r\n this.changed.emit(this.options);\r\n } catch (e) { }\r\n }\r\n\r\n chkChange(e: any) {\r\n try {\r\n this.multiple = e.checked;\r\n this.textbox.emit(this.multiple);\r\n } catch (e) { }\r\n }\r\n\r\n add() {\r\n var opt = new option();\r\n this.tmpOptions?.push(opt);\r\n this.change();\r\n }\r\n\r\n del(e: any) {\r\n this.tmpOptions?.splice(this.tmpOptions?.indexOf(e) ?? -1, 1);\r\n this.change();\r\n }\r\n}\r\n\r\nexport class option {\r\n label!: string;\r\n value!: number;\r\n}\r\n","
    \r\n Options\r\n
    \r\n
    Label
    \r\n
    \r\n
    \r\n add\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n delete\r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Inject, OnDestroy, OnInit, AfterViewInit, Injector, ViewChild } from \"@angular/core\";\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from \"@angular/material/dialog\";\r\nimport { Option } from \"src/app/components/checklists/checklists\";\r\nimport { Observable, Subscription } from \"rxjs\";\r\nimport { ChecklistTemplate, ChecklistExecStatus } from \"../../../components/checklists/checklists\";\r\nimport { ComponentType, ResourceType } from \"src/app/common/enumerations/enumerations\";\r\nimport { Schedule } from \"src/app/components/schedules/models/schedule\";\r\nimport { ScheduleResource } from \"src/app/components/schedules/models/schedule-resources\";\r\nimport { ScheduleType } from \"src/app/components/schedules/models/schedule-type\";\r\nimport { WFComponent } from \"src/app/components/workflow/workflow\";\r\nimport { ImageUploadService } from \"src/app/services/file/image-upload.service\";\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport { Role } from \"src/app/components/catalogs/roles/services/role\";\r\nimport { WfSignature } from \"src/app/services/work-flow/work-flow\";\r\nimport { YesNoDialogComponent } from \"../../yes-no-dialog/yes-no-dialog.component\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { ScheduleObject } from \"./cl-editor-schedule/cl-editor-schedule.component\";\r\nimport { ChecklistBuilderPlaceholdersComponent } from \"src/app/components/checklists/checklist-builder/checklist-builder-placeholders/checklist-builder-placeholders.component\";\r\nimport { ClEditorTagInfoComponent, TagInfoData } from \"./cl-editor-tag-info/cl-editor-tag-info.component\";\r\nimport { BeamlineRequiringApprovalSummary } from \"src/app/components/catalogs/bratoi/models/beamline-requiring-approval-summary\";\r\nimport { ClEditorConditionsHelpComponent } from \"./cl-editor-conditions-help/cl-editor-conditions-help.component\";\r\nimport { ClEditorComponentHelpComponent } from \"./cl-editor-component-help/cl-editor-component-help.component\";\r\n\r\n@Component({\r\n selector: \"cl-editor\",\r\n templateUrl: \"./cl-editor.component.html\",\r\n styleUrls: [\"./cl-editor.component.scss\"],\r\n})\r\nexport class ClEditorComponent extends BaseComponent implements OnInit, OnDestroy, AfterViewInit {\r\n\r\n @ViewChild(ClEditorComponentHelpComponent) componentHelp!: ClEditorComponentHelpComponent;\r\n\r\n t1?: string | null;\r\n t2?: string | null;\r\n t3?: string | null;\r\n t4?: string;\r\n\r\n disabled: boolean;\r\n components!: WFComponent[];\r\n filteredComponents!: WFComponent[];\r\n control?: WFComponent;\r\n\r\n // typeCtrl = new FormControl();\r\n // roleCtrl = new FormControl();\r\n name?: string | null;\r\n condition?: string;\r\n code?: string;\r\n color!: string;\r\n scheduleResourceId?: number;\r\n scheduleTypeId?: number;\r\n locationName?: string | null;\r\n noOptions: boolean = false;\r\n\r\n type!: number;\r\n component?: WFComponent;\r\n\r\n error!: boolean;\r\n\r\n tmpOptions!: string;\r\n multiple!: boolean;\r\n tmpHeaders!: string;\r\n spotRows: any[] = [\r\n { id: 0, posx: 0, posy: 0, spotText: \"\", percX: 0, percY: 0 },\r\n ];\r\n\r\n options?: Option[] = [\r\n { value: 1, label: \"Yes\" },\r\n { value: 0, label: \"No\" },\r\n ];\r\n // hasRadioButtons!: boolean;\r\n // hasMultipleCheckboxes!: boolean;\r\n // hasMultipleRoles!: boolean;\r\n // hasMultipleTextboxes!: boolean;\r\n // textFields!: number;\r\n // numericHeader!: boolean;\r\n configuration?: string;\r\n // colorize!: boolean;\r\n\r\n approve?: boolean;\r\n unapprove?: boolean;\r\n disapprove?: boolean;\r\n\r\n allRoles!: Role[];\r\n filteredRoles!: Role[];\r\n\r\n showHtml!: boolean;\r\n s: WfSignature;\r\n formType: string;\r\n originalRoles: Role[];\r\n\r\n loading!: boolean;\r\n serialNo: string;\r\n\r\n customButton: any;\r\n\r\n scheduleTypes$!: Observable;\r\n scheduleTypes!: ScheduleType[];\r\n scheduleType?: ScheduleType;\r\n schedules$!: Observable;\r\n schedules!: Schedule[];\r\n schedule!: Schedule;\r\n subscription1!: Subscription;\r\n subscription2!: Subscription;\r\n clipboardMessage!: string;\r\n\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n components$!: Observable;\r\n componentsSubs!: Subscription;\r\n\r\n componentType = ComponentType;\r\n\r\n roles: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n resourceTypes = ResourceType;\r\n\r\n formDirty = false;\r\n\r\n checklistTemplate: ChecklistTemplate;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n private _image: ImageUploadService,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) {\r\n super(injector);\r\n this.s = this.utils.cloneDeep(data.s);\r\n this.formType = data.formType;\r\n this.roles = this.utils.cloneDeep(data.roles);\r\n this.serialNo = data.serialNo;\r\n this.originalRoles = data.roles ? this.utils.cloneDeep(data.roles) : null;\r\n this.checklistTemplate = data.checklistTemplate;\r\n this.disabled = data.disabled;\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n setTimeout(() => {\r\n const elem = document.getElementById(\"mat-dialog-0\");\r\n if (elem) {\r\n elem.style.overflow = \"hidden\";\r\n }\r\n }, 2000);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.subscription1?.unsubscribe();\r\n this.subscription2?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n this.componentsSubs?.unsubscribe();\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n // this.buildForm();\r\n this.loadRoles();\r\n this.loadResources();\r\n this.getScheduleTypes();\r\n\r\n this.components$ = this.store.select((state) => state.Components.data);\r\n this.componentsSubs = this.components$.subscribe((data) => {\r\n this.components = data\r\n .filter((x) => x.status === 1)\r\n .sort((a, b) => this.compare(a, b));\r\n this.filteredComponents = this.components;\r\n if (this.components.length) {\r\n this.approve = this.s?.approve;\r\n this.unapprove = this.s?.unapprove;\r\n this.disapprove = this.s?.disapprove;\r\n this.configuration = this.utils.cloneDeep(this.s?.configuration);\r\n this.options = this.s?.options;\r\n this.tmpOptions = JSON.stringify(this.s?.options);\r\n\r\n if (this.s?.type) {\r\n this.t1 = this.s?.question;\r\n this.t2 = this.s?.question2;\r\n this.t3 = this.s?.question3;\r\n this.name = this.s?.name;\r\n this.condition = this.s?.condition;\r\n this.code = this.s?.code;\r\n\r\n this.scheduleResourceId = this.s.scheduleResourceId;\r\n this.locationName = this.s.locationName;\r\n this.scheduleTypeId = this.s.scheduleTypeId;\r\n\r\n if (this.s.configuration) {\r\n this.color = JSON.parse(this.s?.configuration).color\r\n ? JSON.parse(this.s?.configuration).color\r\n : \"primary\";\r\n this.scheduleTypeId =\r\n JSON.parse(this.s?.configuration).key === \"scheduleType\"\r\n ? JSON.parse(this.s?.configuration).val\r\n : this.scheduleTypeId;\r\n }\r\n if (!this.s.component) this.s.component = this.utils.cloneDeep(this.components.find(c => c.id == this.s.type));\r\n this.component = this.s.component;\r\n this.type = this.s.type;\r\n this.componentType = ComponentType;\r\n }\r\n\r\n switch (this.s?.type) {\r\n case 8:\r\n case 9:\r\n case 24:\r\n this.t1 = this.s?.question2;\r\n this.t2 = this.s?.question;\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n\r\n // buildForm() {\r\n // this.formGroup = this.formBuilder.group({\r\n // typeCtrl: this.typeCtrl,\r\n // roleCtrl: this.roleCtrl,\r\n // });\r\n // if (this.disabled) {\r\n // this.roleCtrl.disable();\r\n // this.typeCtrl.disable();\r\n // } else {\r\n // this.roleCtrl.enable();\r\n // this.typeCtrl.enable();\r\n // }\r\n // }\r\n\r\n reset() {\r\n this.name = '';\r\n this.t1 = '';\r\n this.t2 = '';\r\n this.t3 = '';\r\n this.t4 = '';\r\n this.roles = [];\r\n this.configuration = '';\r\n this.s.configuration = '';\r\n this.tmpOptions = '';\r\n this.options = [];\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select((state) => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe((data) => {\r\n this.allRoles = data;\r\n this.filterRoles();\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n this.resources = data;\r\n });\r\n }\r\n\r\n filterRoles() {\r\n this.filteredRoles = this.allRoles.filter(\r\n (x) => !this.roles?.map((r) => r.id).includes(x.id)\r\n );\r\n }\r\n\r\n selectedRole(role: Role) {\r\n if (this.roles == null) {\r\n this.roles = [];\r\n }\r\n // const role: Role = event.option.value;\r\n // this.roles.push({ id: role.id, code: role.code });\r\n this.s.roleCodes = this.roles.map(r => r.code).join('/');\r\n this.formDirty = true;\r\n this.filterRoles();\r\n }\r\n\r\n removeRole(role: Role) {\r\n // const index = this.roles.indexOf(role);\r\n // this.roles.splice(index, 1);\r\n this.s.roleCodes = this.roles.map(r => r.code).join('/');\r\n this.formDirty = true;\r\n }\r\n\r\n compare(a: WFComponent, b: WFComponent) {\r\n if (a.name < b.name) {\r\n return -1;\r\n }\r\n if (a.name > b.name) {\r\n return 1;\r\n }\r\n return 0;\r\n }\r\n\r\n cancel() {\r\n if (this.formDirty) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\r\n \"Rad_Survey_Cancel_Boton_Component_Properties\"\r\n ).description,\r\n icon: \"stop\",\r\n },\r\n });\r\n confirm.afterClosed().subscribe((data) => {\r\n if (data) {\r\n this.dialogRef.close();\r\n }\r\n });\r\n } else {\r\n this.dialogRef.close();\r\n }\r\n }\r\n\r\n async uploadImages(textValue?: string | null) {\r\n if (textValue) {\r\n const text = await this._image.uploadImagesToServer(\r\n textValue,\r\n \"/\" +\r\n (this.formType ? this.formType.trim() : \"Generic\") +\r\n \"/\" +\r\n this.serialNo +\r\n \"/\"\r\n );\r\n this.formDirty = true;\r\n return text;\r\n }\r\n return '';\r\n }\r\n\r\n async accept() {\r\n console.log(this.component);\r\n this.s.question = this.clean(await this.uploadImages(this.t1));\r\n this.s.question2 = this.clean(await this.uploadImages(this.t2));\r\n this.s.question3 = this.clean(await this.uploadImages(this.t3));\r\n this.s.options = this.options;\r\n this.s.name = this.name;\r\n this.s.condition = this.condition;\r\n this.s.code = this.code;\r\n\r\n this.s.approve = this.approve;\r\n this.s.unapprove = this.unapprove;\r\n this.s.disapprove = this.disapprove;\r\n\r\n this.s.scheduleTypeId = this.scheduleTypeId;\r\n this.s.scheduleResourceId = this.scheduleResourceId;\r\n this.s.locationName = this.locationName;\r\n\r\n this.s.configuration = this.configuration;\r\n this.s.component = this.utils.cloneDeep(this.component);\r\n this.s.type = this.type;\r\n\r\n switch (this.s.type) {\r\n case 8:\r\n case 9:\r\n case 24:\r\n this.s.question2 = this.clean(await this.uploadImages(this.t1));\r\n this.s.question = this.clean(await this.uploadImages(this.t2));\r\n break;\r\n }\r\n this.data.s = this.s;\r\n this.data.roles = this.roles;\r\n this.data.originalRoles = this.originalRoles;\r\n this.dialogRef.close(this.data);\r\n }\r\n\r\n clean(t?: string | null) {\r\n if (t) {\r\n t = t\r\n ?.replace(\"

    \", \"\")\r\n .replace(\"

    \", \"
    \")\r\n .replace(\"\", \"\")\r\n .replace(\"\", \"\");\r\n if (t.includes(\"
    \") && t.lastIndexOf(\"
    \") == t.length - 4) {\r\n t = t.slice(0, -4);\r\n }\r\n }\r\n return t;\r\n }\r\n\r\n html() {\r\n this.showHtml = !this.showHtml;\r\n }\r\n\r\n jsonOptions(o: string) {\r\n try {\r\n return JSON.parse(o);\r\n } catch (err) {\r\n return [];\r\n }\r\n }\r\n\r\n optionsChange(e: any) {\r\n this.tmpOptions = e;\r\n this.options = this.jsonOptions(this.tmpOptions);\r\n this.formDirty = true;\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.configuration = JSON.stringify(e);\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n displayType(component: { name: any } | null): string {\r\n return component ? component.name : '';\r\n }\r\n\r\n selectedType(e: { option: { value: WFComponent } }) {\r\n const value = e.option.value as WFComponent;\r\n this.type = value.id;\r\n this.component = this.components.find(c => c.id == value.id);\r\n this.reset();\r\n this.code = this.code && !this.code?.includes(\"RMON\") ? this.code : value.defaultTag;\r\n\r\n if (this.type == 7) this.name = \"Note:\";\r\n this.formDirty = true;\r\n }\r\n\r\n scheduleChanged(e: ScheduleObject) {\r\n this.scheduleTypeId = e?.scheduleType?.id;\r\n this.scheduleResourceId = e?.schedule?.id;\r\n this.locationName = e?.schedule?.name;\r\n this.configuration = JSON.stringify({ scheduleType: e.scheduleType?.id });\r\n this.formDirty = true;\r\n }\r\n\r\n locationChanged(location: Resource) {\r\n this.s.locationName = location.name;\r\n this.configuration = JSON.stringify({ key: \"location\", val: location.id });\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n shieldingSettingsChanged(e: any) {\r\n this.configuration = JSON.stringify(e);\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n configurationChanged(e: any) {\r\n this.configuration = e;\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n setOptions(options: Option[]) {\r\n this.tmpOptions = JSON.stringify(options);\r\n this.options = this.jsonOptions(this.tmpOptions);\r\n this.formDirty = true;\r\n }\r\n\r\n setCondition(condition: string) {\r\n this.condition = condition;\r\n this.formDirty = true;\r\n }\r\n\r\n colorChanged(color: string) {\r\n let configuration = this.utils.JSONparse(this.configuration);\r\n if (!configuration) {\r\n configuration = {};\r\n }\r\n configuration.color = color;\r\n this.color = color;\r\n this.configuration = this.utils.JSONstringify(configuration);\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n\r\n filterRoles2(e: any) {\r\n const text = e.target.value;\r\n this.filterRoles();\r\n this.filteredRoles = this.filteredRoles.filter(x =>\r\n x.name?.toLowerCase().includes(text.toLowerCase()) ||\r\n (x.code?.toLowerCase().includes(text.toLowerCase()) &&\r\n !this.roles?.map((c) => c.id).includes(x.id))\r\n );\r\n }\r\n\r\n filterControls(e: any) {\r\n const value = e.target.value;\r\n this.filteredComponents = this.components.filter(x => x.name.toLowerCase().includes(value.toLowerCase()));\r\n }\r\n\r\n async getScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(\r\n (state) => state.ScheduleTypes.data\r\n );\r\n this.subscription1 = this.scheduleTypes$.subscribe(async (data) => {\r\n this.scheduleTypes = data;\r\n this.scheduleType = data.find((x) => x.id == this.scheduleTypeId);\r\n this.scheduleTypeId = this.scheduleType?.id;\r\n await this.getSchedules();\r\n });\r\n }\r\n\r\n async getSchedules() {\r\n this.schedules$ = this.store.select((state) => state.Schedules.data);\r\n this.subscription2 = this.schedules$.subscribe((data) => {\r\n const schedules: any[] = [];\r\n data.map((schedule) => {\r\n if (\r\n schedule.statusId != 2 &&\r\n schedule.typeId == this.scheduleType?.id\r\n ) {\r\n schedule.scheduleResources.map((resource) => {\r\n const scheduleResource: ScheduleResource = {\r\n id: resource.id,\r\n name: resource.resourceId\r\n ? resource.resource?.name\r\n : resource.resourceString,\r\n resourceId: resource.resourceId ? resource.resourceId : 0,\r\n dateValue1: schedule.lastCompleted,\r\n dateValue2: schedule.nextDue,\r\n dateValue3: schedule.extendedDate,\r\n };\r\n schedules.push(scheduleResource);\r\n });\r\n this.schedule = schedules.find(\r\n (x) => x.id == this.scheduleResourceId\r\n );\r\n this.scheduleResourceId = this.schedule.id;\r\n }\r\n });\r\n });\r\n }\r\n\r\n headersChange(e: string) {\r\n if (!this.configuration) {\r\n this.configuration = e;\r\n }\r\n const configuration = this.utils.cloneDeep(JSON.parse(this.configuration));\r\n const newConfig = JSON.parse(e);\r\n configuration.headers = newConfig.headers;\r\n configuration.data = newConfig.data;\r\n configuration.columnsBuilder = newConfig.columnsBuilder;\r\n configuration.columnsChecklist = newConfig.columnsChecklist;\r\n configuration.columns = newConfig.columns;\r\n configuration.widths = newConfig.widths;\r\n configuration.spots = newConfig.spots;\r\n configuration.colorize = newConfig.colorize;\r\n configuration.includeIM = newConfig.includeIM;\r\n configuration.includeIMPos = newConfig.includeIMPos;\r\n configuration.images = newConfig.images;\r\n configuration.channels = newConfig.channels;\r\n configuration.channelsData = newConfig.channelsData;\r\n this.configuration = JSON.stringify(configuration);\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n change(e: string) {\r\n let configuration: any;\r\n if (!this.configuration) {\r\n configuration = JSON.parse(e);\r\n } else {\r\n configuration = JSON.parse(this.configuration);\r\n const newConfiguration = JSON.parse(e);\r\n const data = newConfiguration.data;\r\n const spots = newConfiguration.spots;\r\n const widths = newConfiguration.widths;\r\n const images = newConfiguration.images;\r\n if (data) configuration.data = data;\r\n if (spots) configuration.spots = spots;\r\n if (widths) configuration.widths = widths;\r\n if (images) configuration.images = images;\r\n }\r\n this.configuration = this.utils.cloneDeep(JSON.stringify(configuration));\r\n if (this.s.configuration != this.configuration) {\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n }\r\n\r\n statusSelected(configuration: any) {\r\n if (!configuration) {\r\n configuration = {};\r\n }\r\n this.configuration = this.utils.cloneDeep(this.utils.JSONstringify(configuration));\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n actionStatusSelected(status: ChecklistExecStatus, action: number) {\r\n let configuration = this.utils.JSONparse(this.configuration);\r\n if (!configuration) {\r\n configuration = {};\r\n }\r\n switch (action) {\r\n case 1:\r\n configuration.approveNextStatus = status;\r\n break;\r\n case 2:\r\n configuration.unapproveNextStatus = status;\r\n break;\r\n case 3:\r\n configuration.disapproveNextStatus = status;\r\n break;\r\n }\r\n\r\n this.configuration = this.utils.cloneDeep(this.utils.JSONstringify(configuration));\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n BRATOIChanged(blRequiring: BeamlineRequiringApprovalSummary) {\r\n const configuration = blRequiring;\r\n this.configuration = JSON.stringify(configuration);\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n setRoleByCode(roleCode: string) {\r\n if (this.allRoles?.length) {\r\n const role = this.allRoles.find((x) => x.code === roleCode);\r\n if (role?.id && !this.roles.find((x) => x.id === role?.id)) {\r\n this.roles.push({ id: role?.id, code: role?.code });\r\n this.filterRoles();\r\n }\r\n }\r\n }\r\n\r\n placeholders() {\r\n if (this.checklistTemplate && !this.checklistTemplate?.resource) {\r\n this.checklistTemplate.resource = this.resources.find(\r\n (x) => x.id == this.checklistTemplate.resourceID\r\n );\r\n }\r\n const settings = this.dialog.open(\r\n ChecklistBuilderPlaceholdersComponent,\r\n {\r\n minHeight: \"500px\",\r\n data: { resource: this.checklistTemplate?.resource },\r\n disableClose: true,\r\n autoFocus: false,\r\n }\r\n );\r\n settings.afterClosed().subscribe((data) => {\r\n this.clipboardMessage = \"Placeholder \" + data + \" copied to cliboard\";\r\n setTimeout(() => {\r\n const placeholderMessage = document.getElementById(\"placeholderMessage\");\r\n if (placeholderMessage) {\r\n placeholderMessage.style.opacity = \"1\";\r\n const timerId = setInterval(() => {\r\n // start interval loop\r\n const opacity = placeholderMessage.style.opacity; // get current opacity\r\n if (+opacity == 0) {\r\n // check if its 0 yet\r\n clearInterval(timerId); // if so, exit from interval loop\r\n } else {\r\n placeholderMessage.style.opacity = (+opacity - 0.05).toString(); // else remove 0.05 from opacity\r\n }\r\n }, 100); // run every 0.1 second\r\n }\r\n }, 5000);\r\n });\r\n }\r\n\r\n placeHolderSelected(placeholder: string) {\r\n let configuration = this.utils.JSONparse(this.configuration);\r\n if (!configuration) {\r\n configuration = {};\r\n }\r\n configuration.placeholder = placeholder;\r\n this.configuration = this.utils.JSONstringify(configuration);\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n radMonitorConfigChanged(radMonitorConfig: any) {\r\n this.configuration = JSON.stringify(radMonitorConfig);\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n radMeterConfigChanged() {\r\n this.s.configuration = this.configuration;\r\n this.formDirty = true;\r\n }\r\n\r\n textChanged(e: string, number: any) {\r\n switch (number) {\r\n case 1:\r\n this.t1 = e;\r\n break;\r\n case 2:\r\n this.t2 = e;\r\n break;\r\n case 3:\r\n this.t3 = e;\r\n break;\r\n case 4:\r\n this.t4 = e;\r\n break;\r\n }\r\n this.formDirty = true;\r\n }\r\n\r\n actionChanged() {\r\n this.formDirty = true;\r\n }\r\n\r\n showTagInfo() {\r\n const tagBox = document.getElementById(\"tagBox\")?.getBoundingClientRect();\r\n if (tagBox) {\r\n const dialog = this.dialog.open(ClEditorTagInfoComponent, {\r\n data: {\r\n component: this.component,\r\n tag: this.code,\r\n multi: this.utils.JSONparse(this.configuration)?.multiple,\r\n } as TagInfoData,\r\n disableClose: false,\r\n autoFocus: false,\r\n width: \"600px\",\r\n hasBackdrop: false,\r\n position: { left: (tagBox.right - 600) + \"px\", top: tagBox.top + 50 + \"px\" },\r\n });\r\n }\r\n }\r\n\r\n showConditionsHelp() {\r\n const box = document.getElementById(\"conditionsBox\")?.getBoundingClientRect();\r\n if (box) {\r\n const dialog = this.dialog.open(ClEditorConditionsHelpComponent, {\r\n data: {\r\n component: this.component,\r\n tag: this.code,\r\n multi: this.utils.JSONparse(this.configuration)?.multiple,\r\n } as TagInfoData,\r\n disableClose: false,\r\n autoFocus: false,\r\n width: \"600px\",\r\n hasBackdrop: false,\r\n position: { left: (box.right - 600) + \"px\", top: box.top + 50 + \"px\" },\r\n });\r\n }\r\n }\r\n\r\n checkAcceptDisabled() {\r\n if (!this.component) { return true; }\r\n if (this.error) { return true; }\r\n if (this.component?.needRoles && !this.component.hasMultipleRoles && !this.roles?.length) { return true; }\r\n return false;\r\n }\r\n\r\n\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Component properties
    \r\n
    \r\n
    \r\n \r\n Component Type\r\n \r\n \r\n \r\n {{ component.name }}\r\n \r\n \r\n \r\n \r\n help\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n cancel\r\n \r\n \r\n save\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Label\r\n \r\n \r\n
    \r\n
    = 1\">\r\n
    \r\n
    \r\n
    Text field(s)
    \r\n
    \r\n
    \r\n \r\n \r\n {{ \"{ }\" }} Placeholders\r\n \r\n
    \r\n
    \r\n\r\n
    = 1\">\r\n \r\n
    \r\n
    = 2\">\r\n \r\n
    \r\n\r\n
    = 3\">\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Approve\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Unapprove\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Disapprove\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n
    \r\n\r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Conditions\r\n \r\n \r\n \r\n help\r\n \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n \r\n Tag\r\n \r\n \r\n \r\n help\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n Table Options\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n","import { Component, ElementRef, HostListener, Input, OnInit, Output, ViewChild, EventEmitter, Injector } from '@angular/core';\r\nimport { Action, ListImage } from '../cl-image-upload.component';\r\nimport { listImages } from '../../cl-editor/cl-editor-image/cl-editor-image.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\nconst enum Status {\r\n OFF = 0,\r\n RESIZE = 1,\r\n MOVE = 2\r\n}\r\n\r\n@Component({\r\n selector: 'cl-image-upload-info',\r\n templateUrl: './cl-image-upload-info.component.html',\r\n styleUrls: ['./cl-image-upload-info.component.scss']\r\n})\r\nexport class ClImageUploadInfoComponent extends BaseComponent implements OnInit {\r\n\r\n @Input('width') public width!: number;\r\n @Input('height') public height!: number;\r\n @Input('left') public left!: number;\r\n @Input('top') public top!: number;\r\n @Input() public rowId!: number;\r\n @Input() public actionType!: Action;\r\n @Input() imageId!: number;\r\n @Input() imageList!: ListImage[];\r\n\r\n @Output() cancel = new EventEmitter();\r\n @Output() imageChanged = new EventEmitter();\r\n\r\n @ViewChild('box') public box!: ElementRef;\r\n\r\n action = Action;\r\n canBeDeleted?: boolean;\r\n image?: string;\r\n\r\n private boxPosition!: { left: number; top: number; };\r\n private containerPos!: { left: number; top: number; right: number; bottom: number; };\r\n public mouse!: { x: number; y: number; };\r\n public status: Status = Status.OFF;\r\n private mouseClick!: { x: number; y: number; left: number; top: number; };\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n if (this.imageId) {\r\n const image = this.imageList.find(i => i.id == this.imageId);\r\n setTimeout(() => {\r\n this.canBeDeleted = image?.canBeDeleted;\r\n this.image = image?.image;\r\n }, 100);\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.loadBox();\r\n this.loadContainer();\r\n }\r\n\r\n private loadBox() {\r\n const { left, top } = this.box.nativeElement.getBoundingClientRect();\r\n this.boxPosition = { left, top };\r\n }\r\n\r\n private loadContainer() {\r\n const left = this.boxPosition.left - this.left;\r\n const top = this.boxPosition.top - this.top;\r\n const right = left + 600;\r\n const bottom = top + 450;\r\n this.containerPos = { left, top, right, bottom };\r\n }\r\n\r\n setStatus(event: MouseEvent, status: number) {\r\n if (status === 1) { event.stopPropagation(); }\r\n else if (status === 2) { this.mouseClick = { x: event.clientX, y: event.clientY, left: this.left, top: this.top }; }\r\n else { this.loadBox(); }\r\n this.status = status;\r\n }\r\n\r\n @HostListener('window:mousemove', ['$event'])\r\n onMouseMove(event: MouseEvent) {\r\n this.mouse = { x: event.clientX, y: event.clientY };\r\n\r\n if (this.status === Status.RESIZE) { this.resize(); }\r\n else if (this.status === Status.MOVE) { this.move(); }\r\n }\r\n\r\n private resize() {\r\n if (this.resizeCondMeet()) {\r\n this.width = Number(this.mouse.x > this.boxPosition.left) ? this.mouse.x - this.boxPosition.left : 0;\r\n this.height = Number(this.mouse.y > this.boxPosition.top) ? this.mouse.y - this.boxPosition.top : 0;\r\n }\r\n }\r\n\r\n private resizeCondMeet() {\r\n return (this.mouse.x < this.containerPos.right && this.mouse.y < this.containerPos.bottom);\r\n }\r\n\r\n private move() {\r\n if (this.moveCondMeet()) {\r\n this.left = this.mouseClick.left + (this.mouse.x - this.mouseClick.x);\r\n this.top = this.mouseClick.top + (this.mouse.y - this.mouseClick.y);\r\n }\r\n }\r\n\r\n private moveCondMeet() {\r\n return true;\r\n const offsetLeft = this.mouseClick.x - this.boxPosition.left;\r\n const offsetRight = this.width - offsetLeft;\r\n const offsetTop = this.mouseClick.y - this.boxPosition.top;\r\n const offsetBottom = this.height - offsetTop;\r\n return (\r\n this.mouse.x > this.containerPos.left + offsetLeft &&\r\n this.mouse.x < this.containerPos.right - offsetRight &&\r\n this.mouse.y > this.containerPos.top + offsetTop &&\r\n this.mouse.y < this.containerPos.bottom - offsetBottom\r\n );\r\n }\r\n\r\n cancelAdd() {\r\n this.cancel.emit(true);\r\n }\r\n\r\n upload(e: any): void {\r\n const imageList = this.imageList ?? [];\r\n const imageId = this.nextId(this.imageList);\r\n const changed = this.imageChanged;\r\n const render = new FileReader();\r\n render.onload = async function (event) {\r\n const img = new Image();\r\n img.onload = function () {\r\n imageList.push({\r\n id: imageId,\r\n name: e.target.files[0].name,\r\n image: img.src,\r\n imageWidth: img.width,\r\n imageHeight: img.height,\r\n });\r\n changed.emit(imageList);\r\n };\r\n img.src = event.target?.result?.toString() ?? '';\r\n };\r\n render.readAsDataURL(e.target.files[0]);\r\n }\r\n\r\n removeImage() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: \"400px\",\r\n data: {\r\n message: this.getMessage(\"Rad_Survey_Image_Component_Delete_Image\")\r\n .description,\r\n icon: \"stop\",\r\n },\r\n });\r\n\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n const imageList = this.imageList.filter(i => i.id != this.imageId);\r\n this.imageChanged.emit(imageList);\r\n }\r\n });\r\n }\r\n\r\n nextId(listImages: listImages[]): number {\r\n let _id = 0;\r\n listImages = listImages ?? [];\r\n if (listImages.length) {\r\n const uniqueIds = [...new Set(listImages.map((obj) => obj.id))];\r\n let arrayIds: number[] = [];\r\n uniqueIds.map((n) => {\r\n if (n)\r\n arrayIds.push(n);\r\n });\r\n arrayIds = arrayIds.sort((n1, n2) => n1 - n2);\r\n _id = Number(Math.max.apply(null, arrayIds)) + 1;\r\n } else {\r\n _id = 1;\r\n }\r\n return _id;\r\n }\r\n\r\n}\r\n","\r\n
    \r\n
    \r\n
    {{ actionType == action.AddSpot ? \"Add Spot\" : \"Image Options\" }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Row selected  {{ rowId }} \r\n
    \r\n
    Click on the Image to Add a new spot.
    \r\n add_location_alt\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \"image\"\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    Images with red spots can't be deleted!
    \r\n \r\n
    \r\n
    \r\n You can move this dialog to any position.\r\n
    \r\n
    \r\n\r\n \r\n cancel\r\n \r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ClImageUploadTableDataService {\r\n\r\n\r\n // formatValue(value: any) {\r\n // let result = '';\r\n // if (value)\r\n // if (value?.includes('e-')) {\r\n // const e = value.split('e');\r\n // result = utils.roundNumber(e[0], 2) + ' x 10' + e[1] + '';\r\n // }\r\n // else {\r\n // result = isNaN(+value) ? value : utils.roundNumber(value, 2);\r\n // }\r\n // return result;\r\n // }\r\n\r\n formatValue(numberToFormat?: number | null) {\r\n if (numberToFormat != undefined && numberToFormat != null) {\r\n if (numberToFormat == 0) return '0.00';\r\n if (Math.abs(numberToFormat) < .0001)\r\n return numberToFormat.toExponential(2).toString().replace('e', ' x 10').replace('-', '-').replace('+', '');\r\n else return numberToFormat.toFixed(2).toString();\r\n }\r\n else return null;\r\n }\r\n}\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { PVData } from '../cl-image-upload-table-data.component';\r\nimport { ClImageUploadTableDataService } from '../../cl-image-upload-table-data.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { PVInfoService } from 'src/app/services/pv-info/pv-info.service';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { PV } from 'src/app/services/pv-info/pv-info';\r\nimport { Store } from '@ngxs/store';\r\nimport { PVRefresh } from 'src/app/services/pv-info/store/pv-info.action';\r\n\r\n@Component({\r\n selector: 'app-cl-editor-table-channels-add',\r\n templateUrl: './cl-editor-table-channels-add.component.html',\r\n styleUrls: ['./cl-editor-table-channels-add.component.scss']\r\n})\r\nexport class ClEditorTableChannelsAddComponent implements OnInit {\r\n\r\n public formGroup!: FormGroup;\r\n public get nameCtrl(): AbstractControl | null { return this.formGroup.get('nameCtrl'); }\r\n public get labelCtrl(): AbstractControl | null { return this.formGroup.get('labelCtrl'); }\r\n\r\n pVs?: PV[];\r\n pVsFiltered?: PV[];\r\n pVs$!: Observable;\r\n pVsSubs!: Subscription;\r\n\r\n value?: string | null;\r\n title?: string;\r\n valid?: boolean;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public channel: PVData,\r\n private formBuilder: FormBuilder,\r\n private service: ClImageUploadTableDataService,\r\n private pvService: PVInfoService,\r\n private store: Store\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadPVs();\r\n this.title = this.channel ? 'Edit' : 'Add';\r\n this.initializeForm();\r\n\r\n if (this.channel.name && !this.value) { this.getData(); }\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n nameCtrl: [{ value: '' }, [Validators.required, utils.IsWhiteSpaceReactiveForm]],\r\n labelCtrl: [{ value: '' }, [Validators.required]]\r\n });\r\n if (!this.channel) {\r\n this.channel = { pos: 99, name: '', label: '' };\r\n }\r\n this.nameCtrl?.setValue(this.channel.name);\r\n this.labelCtrl?.setValue(this.channel.label);\r\n }\r\n\r\n loadPVs() {\r\n this.store.dispatch(new PVRefresh());\r\n this.pVs$ = this.store.select(state => state.PV.data);\r\n this.pVsSubs = this.pVs$.subscribe(data => {\r\n if (data?.length) {\r\n this.pVs = data;\r\n if (this.channel?.name) {\r\n const value = this.pVs.find(p => p.pvName == this.channel.name)?.value;\r\n if (value) this.value = this.service.formatValue(+value);\r\n }\r\n }\r\n });\r\n }\r\n\r\n getErrorMsg(control?: AbstractControl | null): string | null {\r\n if (control?.hasError('required')) { return 'You must enter a value'; }\r\n if (control?.hasError('hasWhiteSpace')) { return 'Enter a valid value'; }\r\n if (control?.hasError('invalid')) { return 'Invalid Channel name'; }\r\n return null;\r\n }\r\n\r\n save() {\r\n this.channel.name = utils.stripSpaces(this.nameCtrl?.value) ?? '';\r\n this.channel.label = this.labelCtrl?.value;\r\n this.channel.value = null;\r\n this.dialogRef.close(this.channel);\r\n }\r\n\r\n getData() {\r\n this.valid = false;\r\n if (this.nameCtrl?.value) {\r\n this.nameCtrl.setValue(utils.stripSpaces(this.nameCtrl?.value));\r\n this.pvService.subscribe(this.nameCtrl.value).subscribe(data => {\r\n if (data)\r\n if (!data.value.includes('ERROR')) {\r\n this.valid = true;\r\n this.value = this.service.formatValue(+data.value);\r\n this.nameCtrl?.setErrors(null);\r\n }\r\n else {\r\n this.channel = { name: this.nameCtrl?.value } as PVData;\r\n this.nameCtrl?.setErrors({ invalid: true });\r\n this.valid = false;\r\n }\r\n }, error => {\r\n this.nameCtrl?.setErrors({ invalid: true });\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n}\r\n","
    {{ title }} Channel
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Channel Name\r\n \r\n Value: \r\n {{\r\n getErrorMsg(nameCtrl)\r\n }}\r\n \r\n \r\n Label\r\n \r\n {{\r\n getErrorMsg(labelCtrl)\r\n }}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n \r\n \r\n Save\r\n \r\n\r\n","import { ENTER, COMMA } from '@angular/cdk/keycodes';\r\nimport { Component, EventEmitter, Input, OnInit, Output, OnChanges, SimpleChanges, ViewChild, ChangeDetectorRef, Injector } from '@angular/core';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { ClEditorTableChannelsAddComponent } from './cl-editor-table-channels-add/cl-editor-table-channels-add.component';\r\nimport { ClImageUploadTableDataService } from '../cl-image-upload-table-data.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { PVInfoService } from 'src/app/services/pv-info/pv-info.service';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Observable } from 'rxjs';\r\nimport { PV } from 'src/app/services/pv-info/pv-info';\r\nimport { PVRefresh } from 'src/app/services/pv-info/store/pv-info.action';\r\n\r\n@Component({\r\n selector: 'cl-image-upload-table-data',\r\n templateUrl: './cl-image-upload-table-data.component.html',\r\n styleUrls: ['./cl-image-upload-table-data.component.scss']\r\n})\r\nexport class ClImageUploadTableDataComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() channelsData!: string;\r\n @Input() editor!: boolean;\r\n @Input() builder!: boolean;\r\n @Input() channelCopy!: PVData;\r\n @Input() disabled!: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() channelCopied = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n pvs?: PV[];\r\n pvs$!: Observable;\r\n pvsSubs!: Subscription;\r\n\r\n error?: boolean;\r\n\r\n channels: PVData[] = [];\r\n updating!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ClImageUploadTableDataService,\r\n private pvService: PVInfoService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadPVs();\r\n if (this.channelsData) {\r\n this.channels = this.utils.JSONparse(this.channelsData);\r\n if (!this.channels) { this.channels = []; }\r\n this.channels?.map(c => c.updating = false);\r\n this.channels = this.channels?.sort((a, b) => a.pos - b.pos);\r\n this.error = this.channels.some(x => x.error);\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadPVs() {\r\n this.store.dispatch(new PVRefresh());\r\n this.pvs$ = this.store.select(state => state.PV.data);\r\n this.pvsSubs = this.pvs$.subscribe(data => {\r\n if (data?.length) {\r\n this.pvs = data;\r\n }\r\n });\r\n }\r\n\r\n add() {\r\n this.channelCopied.emit(null);\r\n this.dialog.open(ClEditorTableChannelsAddComponent, {\r\n width: '500px'\r\n }).afterClosed().subscribe((data: PVData) => {\r\n if (data) {\r\n this.channels.push(data);\r\n this.changed.emit(this.channels);\r\n }\r\n });\r\n }\r\n\r\n remove(channel: PVData) {\r\n this.channelCopied.emit(null);\r\n const index = this.channels.findIndex(x => x.name == channel.name);\r\n this.channels.splice(index, 1);\r\n this.changed.emit(this.channels);\r\n }\r\n\r\n\r\n edit(channel: PVData) {\r\n this.channelCopied.emit(null);\r\n this.dialog.open(ClEditorTableChannelsAddComponent, {\r\n width: '500px',\r\n data: channel\r\n }).afterClosed().subscribe((data: PVData) => {\r\n if (data) {\r\n const index = this.channels.findIndex(x => x.name == data.name);\r\n this.channels[index] = data;\r\n this.changed.emit(this.channels);\r\n }\r\n });\r\n }\r\n\r\n updateChannel(channel: PVData) {\r\n return new Promise((resolve, reject) => {\r\n channel.updating = true;\r\n this.pvService.getPVInfo(channel.name).subscribe(data => {\r\n const value = data.value.toString();\r\n channel.value = this.service.formatValue(+value);\r\n if (!this.editor && !this.builder) {\r\n channel.date = new Date();\r\n }\r\n const user = this.getCurrentUser(true);\r\n if (user) {\r\n channel.user = user;\r\n channel.updating = false;\r\n channel.error = false;\r\n resolve(channel);\r\n }\r\n }, error => {\r\n console.log(error);\r\n channel.error = true;\r\n channel.updating = false;\r\n reject(channel);\r\n });\r\n });\r\n }\r\n\r\n updateChannelsConfirm() {\r\n if (this.channels[0].user) {\r\n const yesno = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('PVData_refreshValuesConfirmation').description,\r\n icon: 'stop'\r\n }\r\n });\r\n yesno.afterClosed().toPromise().then(res => {\r\n if (res) {\r\n this.updateChannels();\r\n }\r\n });\r\n }\r\n else {\r\n this.updateChannels();\r\n }\r\n }\r\n\r\n updateChannels() {\r\n const user = this.getCurrentUser(true);\r\n this.updating = true;\r\n this.loading.emit(true);\r\n this.error = false;\r\n this.channelsUpdated = [];\r\n this.channels.forEach((channel) => {\r\n const pv = this.pvs?.find(p => p.pvName === channel.name);\r\n if (pv) {\r\n channel.value = this.service.formatValue(+pv.value);\r\n channel.user = user;\r\n channel.error = false;\r\n channel.date = new Date();\r\n channel.updating = false;\r\n this.updateEnd(channel);\r\n } else {\r\n channel.error = true;\r\n channel.updating = false;\r\n this.updateEnd(channel);\r\n }\r\n });\r\n }\r\n\r\n channelsUpdated: PVData[] = [];\r\n updateEnd(channel: PVData) {\r\n this.channelsUpdated.push(channel);\r\n if (this.channelsUpdated.length == this.channels.length) {\r\n this.channels = this.channelsUpdated;\r\n this.changed.emit(this.channels);\r\n this.updating = false;\r\n this.loading.emit(false);\r\n this.error = this.channels.some(x => x.error);\r\n }\r\n }\r\n\r\n subscribe(channel: PVData): Promise {\r\n return new Promise((resolve, reject) => {\r\n this.pvService.subscribe(channel.name).toPromise().then(data => {\r\n if (data) {\r\n channel.value = data.value;\r\n if (data.value === 'ERROR') {\r\n channel.error = true;\r\n this.error = true;\r\n this.alert.error(`Channel:
    ${channel.name} (${channel.label})
    Is not Available. Please Try Again!`);\r\n } else {\r\n channel.error = false;\r\n }\r\n resolve(channel);\r\n } else {\r\n reject('No data received');\r\n }\r\n }).catch(error => {\r\n console.error('Subscription error:', error);\r\n reject(error);\r\n });\r\n });\r\n }\r\n\r\n copy(e: any) {\r\n this.channelCopied.emit(e);\r\n }\r\n\r\n paste() {\r\n if (!this.channels) { this.channels = []; }\r\n this.channels.push(this.channelCopy);\r\n this.changed.emit(this.channels);\r\n this.channelCopied.emit(null);\r\n }\r\n\r\n pasteAllowed() {\r\n return !this.channels || !this.channels.map(c => c.name).includes(this.channelCopy.name);\r\n }\r\n\r\n dropListDropped(event: CdkDragDrop) {\r\n moveItemInArray(this.channels, event.previousIndex, event.currentIndex);\r\n this.orderChannels();\r\n this.changed.emit(this.channels);\r\n }\r\n\r\n orderChannels() {\r\n let i = 0;\r\n this.channels.map(s => {\r\n s.pos = i;\r\n i++;\r\n });\r\n }\r\n}\r\n\r\n\r\nexport interface PVData {\r\n pos: number;\r\n name: string;\r\n label: string;\r\n value?: any;\r\n updating?: boolean;\r\n error?: boolean;\r\n date?: Date | null;\r\n user?: User | null;\r\n}\r\n","\r\n\r\n \r\n \r\n {{ channel.label }}\r\n content_copy\r\n edit\r\n cancel\r\n \r\n \r\n \r\n \r\n content_paste\r\n \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ channel.label }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n update\r\n \r\n \r\n error\r\n \r\n
    \r\n
    \r\n {{ channels[0].date | date : \"MM/dd/yyyy HH:mm:ss\" }}\r\n
    \r\n \r\n {{ channels[0].user?.initials }}\r\n
    \r\n
    \r\n \r\n\r\n","import { Component, Input, OnChanges, OnInit, SimpleChanges, ViewChild, ElementRef, Output, EventEmitter, OnDestroy, Injector, Renderer2, HostListener } from \"@angular/core\";\r\nimport { MatTable, MatTableDataSource, MatTableDataSourcePaginator } from \"@angular/material/table\";\r\nimport { SelectionModel } from \"@angular/cdk/collections\";\r\nimport { PVData } from \"./cl-image-upload-table-data/cl-image-upload-table-data.component\";\r\nimport moment from \"moment\";\r\nimport { Spot } from \"../cl-image-upload.component\";\r\nimport { BaseComponent } from \"src/app/common/base/base.component\";\r\nimport { ImageActionsIds } from \"src/app/modules/libs/quill/quill-custom-image-resize/quill-custom-names\";\r\nimport { DomSanitizer, SafeHtml } from \"@angular/platform-browser\";\r\nimport { PVInfoService } from \"src/app/services/pv-info/pv-info.service\";\r\nimport { CdkDragDrop, moveItemInArray } from \"@angular/cdk/drag-drop\";\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, takeUntil } from 'rxjs/operators';\r\nimport { debounce } from 'lodash';\r\n\r\nexport interface MouseEvent {\r\n rowId: number;\r\n colId: number;\r\n cellsType: string;\r\n}\r\n\r\nexport class TableColumn {\r\n name!: string;\r\n label?: string;\r\n readOnly?: boolean;\r\n editor?: any;\r\n type?: string;\r\n numericFormat?: any;\r\n source?: any;\r\n renderer?: any;\r\n className?: string;\r\n width?: number;\r\n span?: number;\r\n include?: boolean;\r\n}\r\n\r\n@Component({\r\n selector: \"cl-image-upload-table\",\r\n templateUrl: \"./cl-image-upload-table.component.html\",\r\n styleUrls: [\"./cl-image-upload-table.component.scss\"],\r\n})\r\nexport class ClImageUploadTableComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() disabled!: boolean;\r\n @Input() configuration!: string;\r\n @Input() enableColumnsBuilder!: boolean;\r\n @Input() editor!: boolean;\r\n @Input() builder!: boolean;\r\n @Input() enableColumnsChecklist!: boolean;\r\n @Input() canEdit!: boolean;\r\n\r\n @ViewChild(\"textarea\") textarea!: ElementRef;\r\n @ViewChild('matTable') matTable?: ElementRef;\r\n\r\n @ViewChild('displayContainer', { static: true }) displayContainer?: ElementRef;\r\n @ViewChild('resizableElement', { static: true }) resizableElement?: ElementRef;\r\n\r\n @Output() newSpot = new EventEmitter();\r\n @Output() rowDeleted = new EventEmitter();\r\n @Output() spotDeleted = new EventEmitter();\r\n @Output() tableChanged = new EventEmitter();\r\n @Output() newRow = new EventEmitter();\r\n @Output() setRow = new EventEmitter();\r\n @Output() rowDuplicated = new EventEmitter();\r\n @Output() channelsUpdated = new EventEmitter();\r\n @Output() setLoading = new EventEmitter();\r\n\r\n smallId: string = ImageActionsIds.smallId;\r\n fitId: string = ImageActionsIds.fitId;\r\n largeId: string = ImageActionsIds.largeId;\r\n\r\n data!: any[];\r\n datasetExt: any[] = [];\r\n widths!: number[];\r\n\r\n currentRow = -1;\r\n currentColumn = -1;\r\n\r\n colWidths!: number[];\r\n colorize!: boolean;\r\n includeIM!: boolean;\r\n incIMPosition!: number;\r\n incChannels!: boolean;\r\n updating!: boolean;\r\n channelsUpdating!: number;\r\n spots!: Spot[];\r\n spotClasses = SpotClass;\r\n\r\n id?: number;\r\n\r\n public displayedColumns: TableColumn[] = [];\r\n public columns!: string[];\r\n public dataSource = new MatTableDataSource();\r\n public IdSpotAdd = 0;\r\n\r\n selectedRowIndex!: number;\r\n\r\n tableMouseDown!: MouseEvent;\r\n tableMouseUp!: MouseEvent;\r\n isMobile!: boolean;\r\n FIRST_EDITABLE_ROW = 0;\r\n LAST_EDITABLE_ROW: number = this.dataSource.data.length - 1;\r\n FIRST_EDITABLE_COL = 1;\r\n LAST_EDITABLE_COL: number = this.displayedColumns.length - 1;\r\n newCellValue = \"\";\r\n\r\n editorText!: string;\r\n dragEnabled?: boolean;\r\n\r\n public columnInit: TableColumn[] = [\r\n { name: \"id\", label: \"\", width: 25, readOnly: true },\r\n ];\r\n public columnSpot: TableColumn[] = [\r\n { name: \"spotid\", label: \"Spot\", width: 25, readOnly: true },\r\n ];\r\n public columnActions: TableColumn[] = [\r\n { name: \"actions\", label: \"\", width: 25 },\r\n ];\r\n public columnData: TableColumn[] = [{ name: \"data\", label: \"Data\" }];\r\n public columnsBuilder!: TableColumn[];\r\n public columnsChecklist!: TableColumn[];\r\n columnsIntegratedMeasurements: TableColumn[] = [\r\n { name: \"reading\", label: \"Int. Reading
    (mrem)\", type: \"group\" },\r\n { name: \"time\", label: \"Int. Time
    (m)\", type: \"group\" },\r\n {\r\n name: \"calcdose\",\r\n label: \"Calculated Dose Rate
    (mrem/h)\",\r\n type: \"group\",\r\n },\r\n ];\r\n\r\n dataset!: any[];\r\n\r\n private scrollTimeout: any;\r\n private scrollEvent?: () => void;\r\n private observer?: IntersectionObserver;\r\n private resizeObserver: ResizeObserver | null = null;\r\n private scrollableContainer?: HTMLElement | null;\r\n private intersectionObservers: IntersectionObserver[] = [];\r\n private resizeObservers: ResizeObserver[] = [];\r\n private mutationObservers: MutationObserver[] = [];\r\n private columnDatas?: any[];\r\n\r\n selectedCellsState: boolean[][] = [];\r\n selection = new SelectionModel(true, []);\r\n enabled = true;\r\n images: string[] = [];\r\n selectedRow: any;\r\n\r\n addingSpot?: boolean;\r\n showUpdateData!: boolean;\r\n\r\n // warnHigh!: boolean;\r\n\r\n tooltipMessage!: string;\r\n channelCopy!: PVData;\r\n imageMaxWidth = 500;\r\n imageSizes!: [{ name: 'Small'; val: 255; }, { name: 'Medium'; val: 400; }, { name: 'Original'; val: 0; }];\r\n quillConfig = {\r\n toolbar: {\r\n container: [\r\n [{ header: [1, 2, 3, 4, 5, 6, false] }],\r\n ['bold', 'italic', 'underline', 'strike'], // toggled buttons\r\n [{ align: [] }],\r\n [{ list: 'ordered' }, { list: 'bullet' }],\r\n [{ indent: '-1' }, { indent: '+1' }, { align: [] }],\r\n [{ script: 'sub' }, { script: 'super' }], // superscript/subscript\r\n [{ color: [] }, { background: [] }], // dropdown with defaults from theme\r\n ['table'], // Add the table option to the toolbar\r\n ['link', 'image', 'video'],\r\n ['clean']\r\n ],\r\n },\r\n keyboard: {\r\n bindings: {\r\n enter: {\r\n key: 13,\r\n handler: () => {\r\n return false;\r\n }\r\n },\r\n shiftEnter: {\r\n key: 13,\r\n shiftKey: true,\r\n handler: () => {\r\n return true;\r\n }\r\n },\r\n tab: {\r\n key: 9,\r\n handler: () => {\r\n return false;\r\n }\r\n }\r\n }\r\n },\r\n imageDrop: true,\r\n imageResize: true,\r\n customImageResize: true,\r\n imageCompressor: {\r\n quality: 0.3, // default\r\n maxWidth: this.imageMaxWidth, // default\r\n imageType: 'image/*', // default\r\n debug: true\r\n },\r\n };\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public sanitizer: DomSanitizer,\r\n private pvService: PVInfoService,\r\n private renderer: Renderer2,\r\n private el: ElementRef,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.createSelectedStates();\r\n this.id = this.utils.getRandomInt(1, 100);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.disabled) { this.canEdit = false; }\r\n this.renderTable();\r\n this.addingSpot = false;\r\n // setTimeout(() => {\r\n // this.observeHeaders();\r\n // this.observeCells();\r\n // }, 1500);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n super.ngOnDestroy();\r\n // Clean up the observer when the component is destroyed\r\n if (this.scrollEvent) {\r\n this.scrollEvent();\r\n }\r\n\r\n if (this.observer) {\r\n this.observer.disconnect();\r\n }\r\n\r\n if (this.scrollTimeout) {\r\n clearTimeout(this.scrollTimeout);\r\n }\r\n\r\n this.intersectionObservers.forEach(observer => observer.disconnect());\r\n this.resizeObservers.forEach(observer => observer.disconnect());\r\n this.mutationObservers.forEach(observer => observer.disconnect());\r\n // window.removeEventListener('resize', this.adjustStickyContents.bind(this));\r\n }\r\n\r\n renderTable() {\r\n if (this.configuration) {\r\n const configuration = this.utils.cloneDeep(JSON.parse(this.configuration));\r\n this.columnsBuilder = configuration.columnsBuilder;\r\n this.columnsChecklist = configuration.columnsChecklist;\r\n this.images = configuration.images;\r\n this.colorize = configuration.colorize;\r\n this.includeIM = configuration.includeIM;\r\n this.incIMPosition = configuration.includeIMPos;\r\n this.incChannels = configuration.channels;\r\n this.spots = configuration.spots;\r\n\r\n if (!this.incIMPosition) {\r\n this.incIMPosition = this.columnsChecklist.length;\r\n }\r\n\r\n let columns = this.columnInit\r\n .concat(this.columnsBuilder)\r\n .concat(this.columnSpot);\r\n if (this.includeIM) {\r\n const chklistCols = this.utils.insertArrayAt(\r\n this.utils.cloneDeep(this.columnsChecklist),\r\n this.incIMPosition,\r\n this.columnsIntegratedMeasurements\r\n );\r\n columns = columns.concat(chklistCols);\r\n } else {\r\n columns = columns.concat(this.columnsChecklist);\r\n }\r\n if (this.incChannels) {\r\n const pos = columns.find((x) => x.name == \"notes\")\r\n ? columns.length - 1\r\n : columns.length;\r\n columns = this.utils.insertArrayAt(\r\n this.utils.cloneDeep(columns),\r\n pos,\r\n this.columnData\r\n );\r\n this.checkChannelData(configuration);\r\n }\r\n columns = columns.concat(this.columnActions);\r\n\r\n const data = configuration.data;\r\n this.processData();\r\n const columsDisplayed = columns.filter((x) => x.name != \"values\" && x.name != \"placeholder\");\r\n this.columns = columsDisplayed.map((x) => x.name);\r\n this.displayedColumns = columsDisplayed;\r\n this.datasetExt.map(row => {\r\n const rowsSameId = this.datasetExt.filter(r => r.id == row.id);\r\n const index = rowsSameId.findIndex(r => r == row);\r\n row.last = index == rowsSameId.length - 1;\r\n });\r\n // this.datasetExt.map((row: any[]) => {\r\n // row.map(col => { col = this.sanitizer.bypassSecurityTrustHtml(col) });\r\n // })\r\n this.dataSource = new MatTableDataSource(this.datasetExt);\r\n\r\n this.LAST_EDITABLE_ROW = data.length;\r\n this.LAST_EDITABLE_COL = columns.length;\r\n }\r\n }\r\n\r\n checkChannelData(configuration: any) {\r\n const data = this.pvDataRows(configuration);\r\n if (data.length) {\r\n const date = data.find((d) => d.date)?.date as Date;\r\n const sdate = moment(new Date(date)).format(\"LLL\");\r\n this.tooltipMessage = date\r\n ? `Last update on ${sdate}
    Click to Update`\r\n : \"Click to get data\";\r\n }\r\n }\r\n\r\n async updatePVData() {\r\n await this.getPVData().then((data: PVData[]) => {\r\n this.updateConfiguration(data);\r\n this.updating = false;\r\n this.tableChanged.emit(this.configuration);\r\n });\r\n }\r\n\r\n updateConfiguration(channels: PVData[]) {\r\n const configuration = JSON.parse(this.configuration);\r\n const rows = configuration.data;\r\n rows.map((r: any) => {\r\n const data = this.utils.JSONparse(r.data) as PVData[];\r\n data?.map((c: PVData) => {\r\n const ch = channels.find((x) => x.name == c.name);\r\n c.date = ch?.date;\r\n c.value = ch?.value;\r\n });\r\n r.data = this.utils.JSONstringify(data);\r\n });\r\n this.configuration = this.utils.JSONstringify(configuration);\r\n }\r\n\r\n getPVData(): Promise {\r\n return new Promise(async (resolve) => {\r\n const data = this.pvDataRows();\r\n if (!this.updating) {\r\n this.updating = true;\r\n data.map(async (c, i) => {\r\n c.error = false;\r\n c.updating = true;\r\n c.date = null;\r\n await this.updateChannel(c).then((channel: PVData) => {\r\n data[i] = channel;\r\n data[i].updating = false;\r\n if (!data.find((d) => !d.date)) {\r\n resolve(data);\r\n }\r\n });\r\n });\r\n }\r\n });\r\n }\r\n\r\n updateChannel(channel: PVData): Promise {\r\n return new Promise((resolve, reject) => {\r\n channel.updating = true;\r\n this.pvService.getPVInfo(channel.name).subscribe(\r\n (data) => {\r\n const value = data.toString();\r\n if (value.includes(\"e\")) {\r\n const e = value.split(\"e\");\r\n channel.value =\r\n this.utils.roundNumber(e[0], 5) + \" x 10\" + e[1] + \"\";\r\n } else {\r\n channel.value = this.utils.roundNumber(value, 5);\r\n }\r\n if (!this.editor && !this.builder) {\r\n channel.date = new Date();\r\n }\r\n resolve(channel);\r\n },\r\n (error) => {\r\n console.log(error);\r\n channel.error = true;\r\n reject();\r\n }\r\n );\r\n });\r\n }\r\n\r\n pvDataRows(configuration?: any) {\r\n configuration = configuration\r\n ? configuration\r\n : JSON.parse(this.configuration);\r\n const rows = configuration.data;\r\n const data: PVData[] = [];\r\n rows?.map((r: any) => {\r\n const rowData = this.utils.JSONparse(r.data);\r\n rowData?.map((d: any) => {\r\n data.push(d);\r\n });\r\n });\r\n return data;\r\n }\r\n\r\n rowSpan(column: any, item: any, row: any) {\r\n if (\r\n row % 1 == 0 ||\r\n column.name == \"id\" ||\r\n column.name == \"spotid\" ||\r\n column.name == \"settings\" ||\r\n column.name == \"values\"\r\n ) {\r\n if (column.name == \"settings\" || column.name == \"values\") {\r\n return 1;\r\n } else if (column.name == \"id\" || this.isBuilderColumn(column.name)) {\r\n return item.idSpan;\r\n } else if (\r\n column.name == \"spotid\" ||\r\n !this.isBuilderColumn(column.name)\r\n ) {\r\n return item.spotSpan;\r\n }\r\n }\r\n return 0;\r\n }\r\n\r\n isBuilderColumn(column: any): boolean {\r\n const colsBuilder: any[] = this.columnsBuilder.map((x) => x.name);\r\n return colsBuilder.includes(column);\r\n }\r\n\r\n columnValue(column: any, element: any): SafeHtml {\r\n if (column.name == \"spotid\") {\r\n let value = element[column.name];\r\n if (element[column.name]?.toString() === \"0\") {\r\n value = \"\";\r\n } else if (element.imageid) {\r\n if (Number(element.imageid) == 0) {\r\n value = 0;\r\n }\r\n }\r\n return this.sanitizer.bypassSecurityTrustHtml(value ?? '');\r\n } else {\r\n if (element[column.name])\r\n return this.sanitizer.bypassSecurityTrustHtml(element[column.name] ?? '');\r\n else return '';\r\n }\r\n }\r\n\r\n addSpot(e: any) {\r\n const row = this.dataSource.data.find((x) => x.rowId == e.rowId);\r\n this.setRow.emit(row);\r\n }\r\n\r\n cancelAddSpot() {\r\n this.IdSpotAdd = 0;\r\n this.addingSpot = false;\r\n this.newSpot.emit(0);\r\n }\r\n\r\n addRow(e: any) {\r\n this.newRow.emit(+e.id);\r\n }\r\n\r\n deleteSpot(e: any) {\r\n this.spotDeleted.emit(e);\r\n }\r\n\r\n deleteRow(e: any) {\r\n this.rowDeleted.emit(e);\r\n }\r\n\r\n duplicateRow(e: any) {\r\n this.rowDuplicated.emit(e);\r\n }\r\n\r\n // verifyActions(id: number): boolean {\r\n // let value: boolean = true;\r\n // if (this.configuration) {\r\n // if (!this.images) {\r\n // value = true;\r\n // this.enabled = false;\r\n // } else if (!this.images.length) {\r\n // value = true;\r\n // this.enabled = false;\r\n // } else if (!this.IdSpotAdd) {\r\n // value = false;\r\n // this.enabled = true;\r\n // } else {\r\n // if (this.IdSpotAdd == id) {\r\n // value = this.addingSpot ?? false;\r\n // this.enabled = true;\r\n // }\r\n // }\r\n // } else {\r\n // value = true;\r\n // this.enabled = true;\r\n // }\r\n // return value;\r\n // }\r\n\r\n setEditorSize() {\r\n if (this.textarea?.nativeElement) {\r\n this.textarea.nativeElement.style.minHeight =\r\n this.textarea.nativeElement.parentNode.clientHeight - 10 + \"px\";\r\n }\r\n }\r\n\r\n click(row: number, col: number, cellsType: string) {\r\n if (!this.disabled) {\r\n this.onMouseDown(row, col, cellsType);\r\n this.onMouseUp(row, col, cellsType);\r\n }\r\n }\r\n\r\n editorCreated(editor: any) {\r\n editor.focus();\r\n setTimeout(() => editor.setSelection(editor.getLength(), 0));\r\n }\r\n\r\n onMouseDown(row: number, col: number, cellsType: string) {\r\n let enableColums = true;\r\n const countBuilderColumn = this.columnsBuilder.filter(\r\n (x) => x.name == cellsType\r\n ).length;\r\n\r\n if (countBuilderColumn > 0) {\r\n if (\r\n this.enableColumnsBuilder == undefined ||\r\n this.enableColumnsBuilder == false\r\n ) {\r\n enableColums = false;\r\n }\r\n }\r\n if (enableColums && ((this.editor && !this.disabled) || (!this.builder && this.canEdit))) {\r\n if (\r\n cellsType != \"actions\" &&\r\n cellsType != \"spotid\" &&\r\n cellsType != \"id\" &&\r\n cellsType != \"calcdose\" &&\r\n cellsType != \"data\"\r\n ) {\r\n if (!this.selectedCellsState[row][col]) {\r\n this.tableMouseDown = { rowId: row, colId: col, cellsType };\r\n this.utils.removeExistingCustomContainers();\r\n } else {\r\n this.setEditorSize();\r\n }\r\n\r\n if (!(this.currentRow == row && this.currentColumn == col)) {\r\n if (this.currentColumn == -1 && this.currentRow == -1) {\r\n this.currentRow = row;\r\n this.currentColumn = col;\r\n } else {\r\n this.formatText(row, col);\r\n this.currentRow = row;\r\n this.currentColumn = col;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n onMouseUp(row: number, col: number, cellsType: string) {\r\n let enableColums = true;\r\n const countBuilderColumn = this.columnsBuilder.filter(\r\n (x) => x.name == cellsType\r\n ).length;\r\n if (countBuilderColumn > 0) {\r\n if (\r\n this.enableColumnsBuilder == undefined ||\r\n this.enableColumnsBuilder == false\r\n ) {\r\n enableColums = false;\r\n }\r\n }\r\n\r\n if (enableColums) {\r\n if (\r\n cellsType != \"actions\" &&\r\n cellsType != \"spotid\" &&\r\n cellsType != \"id\" &&\r\n cellsType != \"calcdose\"\r\n ) {\r\n if (!this.selectedCellsState[row][col]) {\r\n this.tableMouseUp = { rowId: row, colId: col, cellsType };\r\n if (this.tableMouseDown) {\r\n this.newCellValue = \"\";\r\n this.updateSelectedCellsState(\r\n this.tableMouseDown.colId,\r\n this.tableMouseUp.colId,\r\n this.tableMouseDown.rowId,\r\n this.tableMouseUp.rowId\r\n );\r\n this.setEditorSize();\r\n }\r\n this.editorText =\r\n this.dataSource.data[row] && this.dataSource.data[row][cellsType]\r\n ? this.dataSource.data[row][cellsType]\r\n : \"\";\r\n }\r\n }\r\n }\r\n }\r\n\r\n formatText(row: any, col: any) {\r\n if (this.dataSource.data[row][col]) {\r\n if (col != \"actions\" && col != \"spotid\" && col != \"id\") {\r\n const valueCell = this.utils.replaceAll(\r\n this.utils.replaceAll(\r\n this.utils.replaceAll(\r\n this.utils.replaceAll(\r\n this.dataSource.data[row][col],\r\n \"


    \",\r\n \"

    \"\r\n ),\r\n \"

    \",\r\n \"
    \"\r\n ),\r\n \"

    \",\r\n \"\"\r\n ),\r\n \"

    \",\r\n \"\"\r\n );\r\n this.dataSource.data[row][col] = valueCell;\r\n this.updateCellSelectedValue(row, col, valueCell);\r\n }\r\n }\r\n }\r\n\r\n createSelectedStates() {\r\n const cols = new Array(1000).fill(false);\r\n for (let c = 0; c < 1000; c++) {\r\n cols[c] = new Array(1000).fill(false);\r\n }\r\n\r\n this.selectedCellsState = cols;\r\n }\r\n\r\n updateCellSelectedValue(row: any, columName: any, valueCell: any) {\r\n if (this.isBuilderColumn(columName)) {\r\n const IdRow = this.dataSource.data[row].id;\r\n this.dataSource.data.map((item) => {\r\n if (item.id == IdRow) {\r\n item[columName] = valueCell;\r\n }\r\n });\r\n }\r\n }\r\n\r\n updateSelectedCellsValues(text: string) {\r\n if (text == null) {\r\n return;\r\n }\r\n\r\n if (this.tableMouseDown && this.tableMouseUp) {\r\n if (this.tableMouseDown.cellsType === this.tableMouseUp.cellsType) {\r\n const dataCopy: any[] = this.dataSource.data.slice(); // copy and mutate\r\n let startCol: number;\r\n let endCol: number;\r\n let startRow: number;\r\n let endRow: number;\r\n\r\n if (this.tableMouseDown.colId <= this.tableMouseUp.colId) {\r\n startCol = this.tableMouseDown.colId;\r\n endCol = this.tableMouseUp.colId;\r\n } else {\r\n endCol = this.tableMouseDown.colId;\r\n startCol = this.tableMouseUp.colId;\r\n }\r\n\r\n if (this.tableMouseDown.rowId <= this.tableMouseUp.rowId) {\r\n startRow = this.tableMouseDown.rowId;\r\n endRow = this.tableMouseUp.rowId;\r\n } else {\r\n endRow = this.tableMouseDown.rowId;\r\n startRow = this.tableMouseUp.rowId;\r\n }\r\n\r\n // --Edit cells from the same column\r\n if (startCol === endCol) {\r\n console.log(\"--Edit cells from the same column\");\r\n for (let i = startRow; i <= endRow; i++) {\r\n dataCopy[i][this.columns[startCol]] = text;\r\n }\r\n } else {\r\n // --Edit cells starting and ending not on the same column\r\n console.log(\r\n \"--Edit cells starting and ending not on the same column\"\r\n );\r\n\r\n for (let i = startRow; i <= endRow; i++) {\r\n for (let j = startCol; j <= endCol; j++) {\r\n dataCopy[i][this.columns[j]] = text;\r\n }\r\n }\r\n }\r\n console.log(\r\n \"--update: \" +\r\n startRow +\r\n \", \" +\r\n startCol +\r\n \" to \" +\r\n endRow +\r\n \", \" +\r\n endCol\r\n );\r\n this.dataSource = new MatTableDataSource(dataCopy);\r\n }\r\n }\r\n }\r\n\r\n private updateSelectedCellsState(\r\n mouseDownColId: number,\r\n mouseUpColId: number,\r\n mouseDownRowId: number,\r\n mouseUpRowId: number\r\n ) {\r\n // init selected cells\r\n for (let i = this.FIRST_EDITABLE_ROW; i <= this.LAST_EDITABLE_ROW; i++) {\r\n for (let j = this.FIRST_EDITABLE_COL; j <= this.LAST_EDITABLE_COL; j++) {\r\n this.selectedCellsState[i][j] = false;\r\n }\r\n }\r\n // update selected cells\r\n let startCol: number;\r\n let endCol: number;\r\n let startRow: number;\r\n let endRow: number;\r\n if (mouseDownColId <= mouseUpColId) {\r\n startCol = mouseDownColId;\r\n endCol = mouseUpColId;\r\n } else {\r\n endCol = mouseDownColId;\r\n startCol = mouseUpColId;\r\n }\r\n\r\n if (mouseDownRowId <= mouseUpRowId) {\r\n startRow = mouseDownRowId;\r\n endRow = mouseUpRowId;\r\n } else {\r\n endRow = mouseDownRowId;\r\n startRow = mouseUpRowId;\r\n }\r\n\r\n for (let i = startRow; i <= endRow; i++) {\r\n for (let j = startCol; j <= endCol; j++) {\r\n this.selectedCellsState[i][j] = true;\r\n }\r\n }\r\n // this.cdRef.detectChanges();\r\n this.setEditorSize();\r\n }\r\n\r\n textChanged(e: any, column: any, row: any, col: any) {\r\n if (e.keyCode === 13 && !e.shiftKey && !e.altKey) { // Enter key but not shift/alt + enter\r\n // Ensure the current row is not the last editable row\r\n if (row < this.LAST_EDITABLE_ROW - 1) {\r\n // Move the focus to the cell in the next row\r\n this.currentRow = row + 1;\r\n row = this.currentRow;\r\n this.currentColumn = col;\r\n this.selectedCellsState[row][col] = false;\r\n this.selectedCellsState[row + 1][col] = true;\r\n this.click(this.currentRow, this.currentColumn, column.name);\r\n }\r\n else { this.escapeKey(e, column, this.currentRow, this.currentColumn) }\r\n\r\n }\r\n else if (e.keyCode === 9) { // Tab key\r\n // Ensure the current column is not the last column\r\n if (col < this.displayedColumns.length) {\r\n // Move the focus to the cell in the next column\r\n this.currentRow = row;\r\n this.currentColumn = col + 1;\r\n col = this.currentColumn;\r\n this.selectedCellsState[row][col] = false;\r\n this.selectedCellsState[row][col + 1] = true;\r\n // Get the next column name\r\n const currentColumnIndex = this.displayedColumns.findIndex(c => c.name === column.name);\r\n const nextColumnName = this.displayedColumns[currentColumnIndex + 1].name;\r\n if (\r\n nextColumnName == \"actions\" ||\r\n nextColumnName == \"spotid\" ||\r\n nextColumnName == \"id\" ||\r\n nextColumnName == \"calcdose\" ||\r\n nextColumnName == 'data'\r\n ) { this.escapeKey(e, this.displayedColumns[col], this.currentRow, this.currentColumn) }\r\n else this.click(this.currentRow, this.currentColumn, nextColumnName);\r\n }\r\n }\r\n else if (e.keyCode === 27) { this.escapeKey(e, column, row, col) }\r\n }\r\n\r\n // Escape key or Enter on last row or Tab on last col\r\n escapeKey(e: any, column: any, row: any, col: any) {\r\n const contentToRemove = `
    Small | Fit | Original
    `;\r\n const valueCell = this.utils.replaceAll(\r\n this.utils.replaceAll(\r\n this.utils.replaceAll(\r\n this.utils.replaceAll(\r\n this.utils.replaceAll(\r\n this.dataSource.data[row][column.name], contentToRemove, ''),\r\n \"


    \",\r\n \"

    \"\r\n ),\r\n \"

    \",\r\n \"
    \"\r\n ),\r\n \"

    \",\r\n \"\"\r\n ),\r\n \"

    \",\r\n \"\"\r\n );\r\n this.dataSource.data[row][column.name] = valueCell;\r\n this.updateCellSelectedValue(row, column.name, valueCell);\r\n const newConfiguration = JSON.parse(this.configuration);\r\n newConfiguration.data = this.dataSource.data;\r\n this.tableChanged.emit(JSON.stringify(newConfiguration));\r\n this.currentRow = -1;\r\n this.currentColumn = -1;\r\n this.selectedCellsState[row][col] = false;\r\n }\r\n\r\n channelsChanged(e: any, column: any, row: any, col: any) {\r\n const valueCell = this.dataSource.data[row][column.name];\r\n const newConfiguration = JSON.parse(this.configuration);\r\n this.dataSource.data[row].data = this.utils.JSONstringify(e);\r\n newConfiguration.data = this.dataSource.data;\r\n this.tableChanged.emit(JSON.stringify(newConfiguration));\r\n this.currentRow = -1;\r\n this.currentColumn = -1;\r\n this.selectedCellsState[row][col] = false;\r\n }\r\n\r\n blurTable(row: any, col: any) {\r\n this.utils.removeExistingCustomContainers();\r\n this.selectedCellsState[row][col] = false;\r\n }\r\n\r\n mouseOut() {\r\n this.utils.removeExistingCustomContainers();\r\n // this.selectedCellsState[row][col] = false;\r\n }\r\n\r\n tableOut() {\r\n this.utils.removeExistingCustomContainers();\r\n setTimeout(() => {\r\n if (!(this.currentColumn == -1 && this.currentRow == -1)) {\r\n for (let i = this.FIRST_EDITABLE_ROW; i <= this.LAST_EDITABLE_ROW; i++) {\r\n for (\r\n let j = this.FIRST_EDITABLE_COL;\r\n j <= this.LAST_EDITABLE_COL;\r\n j++\r\n ) {\r\n this.selectedCellsState[i][j] = false;\r\n }\r\n }\r\n this.formatText(this.currentRow, this.currentColumn);\r\n const newConfiguration = JSON.parse(this.configuration);\r\n newConfiguration.data = this.dataSource.data;\r\n this.tableChanged.emit(JSON.stringify(newConfiguration));\r\n this.currentRow = -1;\r\n this.currentColumn = -1;\r\n }\r\n }, 500);\r\n }\r\n\r\n private processData() {\r\n const idSeen: any = {};\r\n const spotSeen: any = {};\r\n if (this.configuration) {\r\n const configuration = JSON.parse(this.configuration);\r\n const localdata: any[] = configuration.data;\r\n\r\n const dataSort = localdata.sort((a, b) => {\r\n if (a.id == b.id) {\r\n const spota = +a.spotid?.toString().split(\".\")[1];\r\n const spotb = +b.spotid?.toString().split(\".\")[1];\r\n return spota - spotb;\r\n }\r\n return a.id > b.id ? 1 : -1;\r\n });\r\n let dataChanged = false;\r\n dataSort.map((d) => {\r\n if (!d.rowId) {\r\n d.rowId = d.id + \".1\";\r\n dataChanged = true;\r\n }\r\n });\r\n if (dataChanged) {\r\n this.tableChanged.emit(JSON.stringify(configuration));\r\n }\r\n this.datasetExt = dataSort.map((item: any) => {\r\n const idSpan = idSeen[item.id] ? 0 : localdata.filter((y) => y.id === item.id).length;\r\n idSeen[item.id] = true;\r\n spotSeen[item.id] = spotSeen[item.id] || {};\r\n spotSeen[item.id][item.spotid] = true;\r\n return { ...item, idSpan, spotSpan: 1 };\r\n });\r\n }\r\n }\r\n\r\n spotColor(e: any) {\r\n if (e.spotid) {\r\n const spot = this.spots.find((x) => x.spotText == e.spotid);\r\n return spot?.origin ? SpotClass.BLUE : SpotClass.RED;\r\n }\r\n return SpotClass.BLUE;\r\n }\r\n\r\n // isMobileDevice() {\r\n // return this.utils.isMobileDevice();\r\n // }\r\n\r\n // rowSelected(row) {\r\n // this.newSpot.emit(row.id);\r\n // this.setRow.emit(row);\r\n // }\r\n\r\n calculateDose(reading: string, time: string) {\r\n if (reading?.includes(\"^\")) {\r\n reading = reading.replace(\"^\", \"e\");\r\n }\r\n if (time?.includes(\"^\")) {\r\n time = time.replace(\"^\", \"e\");\r\n }\r\n const ntime = +this.utils.cleanHTML(time);\r\n const nreading = +this.utils.cleanHTML(reading);\r\n const calc = (nreading / ntime) * 60;\r\n // this.warnHigh = !isNaN(calc) && calc > 3.5;\r\n return isNaN(calc) ? \"\" : this.utils.roundNumber(calc, 5);\r\n }\r\n\r\n channelCopied(e: any) {\r\n this.channelCopy = e;\r\n }\r\n\r\n checkUpdatedTime(d: any) {\r\n const data = this.utils.JSONparse(d) as PVData[];\r\n const now = moment();\r\n return data.some(item => {\r\n const itemDate = moment(item.date);\r\n const timeDifference = Math.abs(itemDate.diff(now, 'seconds')); // Difference in seconds\r\n return timeDifference < 5;\r\n });\r\n }\r\n\r\n reorderTable(\r\n event: CdkDragDrop, any, any>,\r\n dataSource: MatTableDataSource\r\n ) {\r\n if (this.editor) {\r\n dataSource.data = this.moveItemInArray(dataSource.data, event.previousIndex, event.currentIndex);\r\n dataSource.filter = \"\";\r\n const newConfiguration = JSON.parse(this.configuration);\r\n newConfiguration.data = this.dataSource.data;\r\n let id = 0;\r\n let last = 0;\r\n this.dataSource.data.map(d => {\r\n if (d.id != last) {\r\n last = d.id;\r\n id++;\r\n }\r\n if (d.id != id) {\r\n d.id = id;\r\n const rowId = d.rowId.split('.')[1];\r\n d.rowId = d.id + '.' + rowId;\r\n if (d.spotid) {\r\n const spot = this.spots.find(s => s.spotText == d.spotid);\r\n const spotId = d.spotid.split('.')[1];\r\n d.spotid = id + '.' + spotId;\r\n if (spot) spot.spotText = d.spotid;\r\n }\r\n }\r\n });\r\n newConfiguration.spots = this.spots;\r\n this.tableChanged.emit(JSON.stringify(newConfiguration));\r\n }\r\n }\r\n\r\n moveItemInArray(data: any[], previousIndex: number, currentIndex: number) {\r\n const currentId = data[previousIndex].id;\r\n const targetId = data[currentIndex].id;\r\n\r\n // Filter out the items to be moved\r\n const itemsToMove = data.filter(item => item.id === currentId);\r\n // Filter out the items that will stay in place\r\n const itemsNotToMove = data.filter(item => item.id !== currentId);\r\n\r\n // Find the index where items with targetId end\r\n const targetIndex = currentIndex > previousIndex ? itemsNotToMove.map(item => item.id).lastIndexOf(targetId) + 1 : itemsNotToMove.map(item => item.id).indexOf(targetId);\r\n\r\n // Insert the itemsToMove after the items with targetId\r\n const result = [\r\n ...itemsNotToMove.slice(0, targetIndex),\r\n ...itemsToMove,\r\n ...itemsNotToMove.slice(targetIndex)\r\n ];\r\n\r\n return result;\r\n }\r\n\r\n observeHeaders() {\r\n // Set up scroll detection\r\n this.scrollableContainer = document.getElementById('scrollableContainer' + (this.editor ? '-editor' : ''));\r\n this.scrollEvent = this.renderer.listen(this.scrollableContainer, 'scroll', this.onScroll.bind(this));\r\n\r\n const tableContainer = document.getElementById('mat-table-container-' + this.id);\r\n\r\n this.renderer.listen(tableContainer, 'scroll', this.onScroll.bind(this));\r\n\r\n // Set up IntersectionObserver for the table element\r\n this.observeTableInView();\r\n\r\n // Set up ResizeObserver for the table width\r\n this.resizeObserver = new ResizeObserver(() => {\r\n setTimeout(() => {\r\n this.checkTableVisibility(); // Re-clone the header if the table width changes\r\n }, 200);\r\n });\r\n\r\n // Observe the table element for width changes\r\n const tableElement = document.getElementById('image-table-body-' + this.id);\r\n if (tableElement) {\r\n this.resizeObserver.observe(tableElement);\r\n }\r\n }\r\n\r\n private observeTableInView(): void {\r\n const tableElement = document.getElementById('image-table-body-' + this.id);\r\n\r\n if (!tableElement) {\r\n console.warn(`Table element with ID 'image-table-body-${this.id}' not found.`);\r\n return;\r\n }\r\n\r\n this.observer = new IntersectionObserver(this.onTableInView.bind(this), {\r\n root: null,\r\n rootMargin: '0px',\r\n threshold: 0,\r\n });\r\n\r\n this.observer.observe(tableElement);\r\n }\r\n\r\n private onScroll(): void {\r\n if (this.scrollTimeout) {\r\n clearTimeout(this.scrollTimeout);\r\n }\r\n\r\n this.scrollTimeout = setTimeout(() => {\r\n this.checkTableVisibility();\r\n this.checkCellsVisibility();\r\n // this.adjustStickyContents();\r\n }, 200); // Adjust this duration as needed\r\n }\r\n\r\n private checkTableVisibility(): void {\r\n const tableElement = document.getElementById('image-table-body-' + this.id);\r\n // const scrollableContainer = document.getElementById('scrollableContainer');\r\n const tableHeader = document.getElementById('image-table-header-' + this.id);\r\n\r\n if (tableElement && this.scrollableContainer && tableHeader) {\r\n const rect = tableElement.getBoundingClientRect();\r\n const containerTop = this.scrollableContainer.getBoundingClientRect().top;\r\n const headerHeight = tableHeader.getBoundingClientRect().height;\r\n\r\n const topVisible = rect.top < containerTop;\r\n const bottomVisible = rect.bottom > containerTop + headerHeight;\r\n\r\n if (topVisible && bottomVisible) {\r\n this.cloneElement();\r\n } else {\r\n this.removeClonedElement();\r\n }\r\n }\r\n }\r\n\r\n private onTableInView(entries: IntersectionObserverEntry[]): void {\r\n const entry = entries[0];\r\n\r\n if (entry && entry.isIntersecting) {\r\n this.checkTableVisibility();\r\n } else {\r\n this.removeClonedElement();\r\n }\r\n }\r\n\r\n private cloneElement(): void {\r\n const tableHeader = document.getElementById('image-table-header-' + this.id);\r\n const tableBody = document.getElementById('image-table-body-' + this.id);\r\n const tableBodyRect = tableBody?.getBoundingClientRect()\r\n const tableContainer = document.getElementById('mat-table-container-' + this.id);\r\n const tableContainerRect = tableContainer?.getBoundingClientRect();\r\n\r\n if (tableHeader) {\r\n const clonedHeader = tableHeader.cloneNode(true) as HTMLElement;\r\n clonedHeader.id = 'cloned-header-' + this.id;\r\n const targetDiv = document.getElementById('cloned-header-container-' + this.id);\r\n\r\n if (targetDiv && this.scrollableContainer && tableContainerRect && tableBodyRect) {\r\n targetDiv.innerHTML = '';\r\n const containerRect = this.scrollableContainer?.getBoundingClientRect();\r\n\r\n targetDiv.style.top = `${2 * containerRect.top - tableContainerRect.top - 180}px`;\r\n targetDiv.style.left = `${tableBodyRect.left - tableContainerRect.left}px`;\r\n this.applyStyles(tableHeader, clonedHeader);\r\n\r\n // Calculate the visible width of the table within the scrolling container\r\n // let tableWidth = 0;\r\n // if (!this.builder)\r\n // tableWidth = (tableContainer?.getBoundingClientRect().width ?? 0) + 8;\r\n // else tableWidth = tableBody?.getBoundingClientRect().width ?? 0;\r\n\r\n targetDiv.appendChild(clonedHeader);\r\n\r\n // Set the width of the cloned header to the visible width\r\n // targetDiv.style.width = `${(tableWidth)}px`;\r\n\r\n console.log('Cloned element added to target div');\r\n }\r\n }\r\n }\r\n\r\n private removeClonedElement(): void {\r\n const targetDiv = document.getElementById('cloned-header-container-' + this.id);\r\n if (targetDiv) {\r\n targetDiv.innerHTML = '';\r\n console.log('Cloned element removed from target div');\r\n }\r\n }\r\n\r\n private applyStyles(originalElement: HTMLElement, clonedElement: HTMLElement): void {\r\n const computedStyles = window.getComputedStyle(originalElement);\r\n\r\n for (let i = 0; i < computedStyles.length; i++) {\r\n const property = computedStyles[i];\r\n if (property != 'display' && property != 'height')\r\n clonedElement.style.setProperty(property, computedStyles.getPropertyValue(property));\r\n }\r\n\r\n clonedElement.style.width = computedStyles.width;\r\n clonedElement.style.height = computedStyles.height;\r\n clonedElement.style.position = computedStyles.position;\r\n clonedElement.style.left = computedStyles.left;\r\n clonedElement.style.right = computedStyles.right;\r\n\r\n const originalChildren = originalElement.children;\r\n const clonedChildren = clonedElement.children;\r\n\r\n for (let i = 0; i < originalChildren.length; i++) {\r\n this.applyStyles(originalChildren[i] as HTMLElement, clonedChildren[i] as HTMLElement);\r\n }\r\n }\r\n\r\n\r\n observeCells(): void {\r\n const scrollableContainerHeight = this.scrollableContainer?.getBoundingClientRect().height ?? 0;\r\n this.columnDatas = Array.from(document.querySelectorAll('.column-data')).filter(x => x.innerHTML && x.clientHeight > (scrollableContainerHeight / 2));\r\n\r\n this.columnDatas.forEach(columnData => {\r\n const columnDataElement = columnData as HTMLElement;\r\n\r\n if (this.scrollableContainer && columnDataElement.offsetHeight > this.scrollableContainer.offsetHeight) {\r\n const intersectionObserver = new IntersectionObserver(\r\n (entries) => {\r\n entries.forEach(entry => {\r\n this.checkCellsVisibility();\r\n });\r\n },\r\n {\r\n root: this.scrollableContainer,\r\n threshold: [0],\r\n }\r\n );\r\n\r\n intersectionObserver.observe(columnDataElement);\r\n this.intersectionObservers.push(intersectionObserver);\r\n\r\n const mutationObserver = new MutationObserver(() => {\r\n this.checkCellsVisibility();\r\n });\r\n\r\n mutationObserver.observe(columnDataElement, {\r\n childList: true, // Observe direct children\r\n subtree: false, // Observe only direct children, not all descendants\r\n attributes: false, // Optionally observe attributes if needed\r\n });\r\n this.mutationObservers.push(mutationObserver);\r\n\r\n const resizeObserver = new ResizeObserver(() => {\r\n this.checkCellsVisibility();\r\n });\r\n\r\n resizeObserver.observe(columnDataElement);\r\n this.resizeObservers.push(resizeObserver);\r\n }\r\n });\r\n }\r\n\r\n private checkCellsVisibility() {\r\n this.columnDatas?.forEach(columnData => {\r\n const firstChild = columnData.firstChild;\r\n if (this.isElementInViewport(columnData)) {\r\n if (!this.isElementInViewport(firstChild)) {\r\n this.makeSticky(columnData);\r\n }\r\n else {\r\n this.resetSticky(columnData);\r\n }\r\n }\r\n else {\r\n this.resetSticky(columnData);\r\n }\r\n });\r\n }\r\n\r\n isElementInViewport(element: HTMLElement): boolean | null {\r\n const tableHeader = document.getElementById('image-table-header-' + this.id);\r\n const elementRect = element.getBoundingClientRect();\r\n const containerRect = this.scrollableContainer?.getBoundingClientRect();\r\n const headerHeight = tableHeader?.getBoundingClientRect().height ?? 0;\r\n if (containerRect)\r\n // Check if the element is within the scrollable container's viewport\r\n return (\r\n elementRect.top < containerRect.bottom && elementRect.bottom > containerRect.top + headerHeight + 5\r\n );\r\n else return null;\r\n }\r\n\r\n private makeSticky(element: HTMLElement): void {\r\n const tableHeader = document.getElementById('image-table-header-' + this.id);\r\n const headerHeight = tableHeader?.getBoundingClientRect().height ?? 0;\r\n const containerTop = this.scrollableContainer?.getBoundingClientRect().top ?? 0;\r\n const columnDataFixed = document.getElementById(element.id + '-fixed');\r\n if (columnDataFixed) {\r\n this.applyStyles(element, columnDataFixed);\r\n columnDataFixed?.classList.add('display-block');\r\n columnDataFixed.style.top = `${(containerTop + headerHeight) + 5}px`;\r\n const height = columnDataFixed.getBoundingClientRect().height ?? 0;\r\n const bottom = columnDataFixed.getBoundingClientRect().bottom ?? 0;\r\n const parentBottom = columnDataFixed.parentElement?.getBoundingClientRect().bottom ?? 0;\r\n if (bottom > parentBottom) {\r\n const newHeight = height - (bottom - parentBottom) - 5;\r\n $('#' + columnDataFixed.id).height(newHeight);\r\n console.log(columnDataFixed);\r\n }\r\n }\r\n }\r\n\r\n private resetSticky(element: HTMLElement): void {\r\n const columnDataFixed = document.getElementById(element.id + '-fixed');\r\n columnDataFixed?.classList.remove('display-block');\r\n }\r\n\r\n}\r\n\r\nexport enum SpotClass {\r\n RED = \"red\",\r\n BLUE = \"blue\",\r\n}\r\n","\r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    Row
    \r\n
    \r\n \r\n swipe_vertical\r\n \r\n
    \r\n \r\n columnsBuilder.length &&\r\n (column.name == 'spotid' ||\r\n column.name == 'calcdose' ||\r\n column.name == 'actions')),\r\n tgreen: col <= columnsBuilder.length && col > 0 && colorize,\r\n tyellow:\r\n col > columnsBuilder.length &&\r\n column.name != 'actions' &&\r\n column.name != 'spotid' &&\r\n colorize,\r\n selected: selectedCellsState[row][col],\r\n unselected: !selectedCellsState[row][col],\r\n hidden: !editor && !canEdit && column.name == 'actions',\r\n 'w-40': column.name == 'actions',\r\n 'w-20 relative': column.name == 'spotid',\r\n 'w-data': column.name == 'data',\r\n 'w-10p':\r\n column.name != 'data' &&\r\n column.name != 'spotid' &&\r\n column.name != 'actions' &&\r\n column.name != 'id',\r\n text:\r\n canEdit &&\r\n col > columnsBuilder.length &&\r\n column.name != 'spotid' &&\r\n column.name != 'data' &&\r\n column.name != 'actions' &&\r\n column.name != 'calcdose'\r\n }\"\r\n (click)=\"click(row, col, column.name)\"\r\n (touch)=\"click(row, col, column.name)\"\r\n >\r\n \r\n \r\n reorder\r\n \r\n \r\n \r\n\r\n 0\r\n \"\r\n [innerHTML]=\"element[column.name] ?? ''\"\r\n >
    \r\n\r\n 0\r\n \"\r\n [innerHTML]=\"element[column.name] ?? ''\"\r\n >\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n 0 || disabled\"\r\n [builder]=\"builder\"\r\n (channelCopied)=\"channelCopied($event)\"\r\n (loading)=\"channelsUpdating = $event ? row : 0\"\r\n >\r\n \r\n\r\n \r\n \r\n = 3.5\r\n }\"\r\n [innerHTML]=\"calculateDose(element.reading, element.time)\"\r\n [matTooltip]=\"\r\n +calculateDose(element.reading, element.time) >= 3.5\r\n ? 'Rad Area Required'\r\n : ''\r\n \"\r\n >\r\n \r\n\r\n \r\n
    \r\n
    \r\n \r\n add_location_alt\r\n \r\n \r\n wrong_location\r\n \r\n \r\n\r\n \r\n \r\n \r\n playlist_add\r\n \r\n\r\n \r\n playlist_remove\r\n \r\n \r\n content_copy\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n xxx\r\n \r\n \r\n \r\n\r\n","import { AfterViewInit, Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, ViewChild, OnDestroy, HostListener } from '@angular/core';\r\nimport { PVData } from './cl-image-upload-table/cl-image-upload-table-data/cl-image-upload-table-data.component';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { ClImageUploadTableComponent } from './cl-image-upload-table/cl-image-upload-table.component';\r\nimport { Checklist, ChecklistTemplate } from 'src/app/components/checklists/checklists';\r\n\r\nexport class TableColumn {\r\n name?: string;\r\n label?: string;\r\n readOnly?: boolean;\r\n editor?: any;\r\n type?: string;\r\n numericFormat?: any;\r\n source?: any;\r\n renderer?: any;\r\n className?: string;\r\n width?: number;\r\n span?: number;\r\n}\r\n\r\nexport class TableData {\r\n id!: number;\r\n values!: string;\r\n rowId!: string;\r\n spotid!: number;\r\n imageid!: number;\r\n idSpan?: number;\r\n}\r\n\r\n@Component({\r\n selector: 'cl-image-upload',\r\n templateUrl: './cl-image-upload.component.html',\r\n styleUrls: ['./cl-image-upload.component.scss']\r\n})\r\nexport class ClImageUploadComponent extends ClBaseComponent implements AfterViewInit, OnChanges, OnDestroy {\r\n\r\n @Input() enableColumnsBuilder!: boolean;\r\n @Input() enableColumnsChecklist!: boolean;\r\n @Input() checklistTemplate?: ChecklistTemplate;\r\n @Input() saving!: boolean;\r\n @Input() dataTable!: string;\r\n @Output() loading = new EventEmitter();\r\n\r\n public columnsBuilder!: TableColumn[];\r\n public columnsChecklist!: TableColumn[];\r\n public columns!: string[];\r\n\r\n public row: any;\r\n public colorize!: boolean;\r\n\r\n context!: CanvasRenderingContext2D;\r\n\r\n @ViewChild('mycanvas') mycanvas: any;\r\n @ViewChild('containerCanvas') containerCanvas: any;\r\n @ViewChild(ClImageUploadTableComponent)\r\n uploadImageTable?: ClImageUploadTableComponent;\r\n\r\n imagesList: ListImage[] = [];\r\n images: string[] = [];\r\n colWidths!: number[];\r\n ImageSpotId = 0;\r\n rowId = 0;\r\n imageId!: number;\r\n action!: Action;\r\n\r\n showImageOptions!: boolean;\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.innerWidth = window.innerWidth;\r\n if ((this.editor || !this.builder) && this.configuration) {\r\n this.load();\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.configuration) {\r\n this.load();\r\n }\r\n }\r\n\r\n load() {\r\n const canvas = this.mycanvas?.nativeElement;\r\n if (!canvas) {\r\n setTimeout(() => {\r\n this.load();\r\n }, 500);\r\n }\r\n else\r\n this.loadImages();\r\n }\r\n\r\n\r\n loadImages() {\r\n this.innerWidth = window.innerWidth;\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n this.imagesList = configuration.images;\r\n this.images = configuration.images?.map((x: any) => x.image);\r\n const spots = configuration.spots as Spot[];\r\n const canvas = this.mycanvas?.nativeElement;\r\n if (!canvas) return;\r\n let context = canvas.getContext('2d');\r\n if (!this.images?.length && canvas) {\r\n canvas.height = 0;\r\n context.clearRect(0, 0, 0, 0);\r\n }\r\n if (this.images && canvas) {\r\n context = canvas.getContext('2d');\r\n context.globalCompositeOperation = 'destination-over';\r\n context.clearRect(0, 0, 0, 0);\r\n let images: any[] = [];\r\n this.imagesArray().then((data) => {\r\n images = data as [];\r\n const width = images.map(x => x.width).reduce((a, b) => a + b, 0);\r\n canvas.width = width;\r\n const height = Math.max.apply(null, images.map(x => x.height));\r\n canvas.height = height;\r\n for (let x = 0; x < images.length; x++) {\r\n context.drawImage(images[x], this.calcStart(images, x), 0);\r\n }\r\n if (spots) {\r\n this.loadSpots(spots);\r\n }\r\n });\r\n }\r\n }\r\n\r\n\r\n async imagesArray(): Promise {\r\n const imagePromises = this.images.map(img => this.imagePush(img));\r\n return Promise.all(imagePromises);\r\n }\r\n\r\n async imagePush(i: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n const img = new Image();\r\n img.src = i;\r\n\r\n img.onload = () => resolve(img);\r\n img.onerror = reject;\r\n });\r\n }\r\n\r\n\r\n calcStart(images: any[], idx: number) {\r\n let width = 0;\r\n for (let i = 0; i < idx; i++) {\r\n width += images[i].width;\r\n }\r\n return width;\r\n }\r\n\r\n accept() {\r\n this.save.emit(this.configuration);\r\n }\r\n\r\n imageClicked(event: any) {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n const spots = configuration.spots as Spot[];\r\n const dataset = configuration.data;\r\n const canvas = this.mycanvas.nativeElement;\r\n const rect = canvas.getBoundingClientRect();\r\n\r\n let hcanvas = 0;\r\n let wcanvas = 0;\r\n const listImages: ListImage[] = configuration.images;\r\n listImages.map(item => {\r\n wcanvas = wcanvas + item.imageWidth;\r\n if (item.imageHeight > hcanvas) {\r\n hcanvas = item.imageHeight;\r\n }\r\n });\r\n const wrect: number = rect.width;\r\n const hrect: number = rect.height;\r\n const dotX = ((event.clientX) - rect.left);\r\n const dotY = ((event.clientY) - rect.top);\r\n const porcentX = (dotX / wrect);\r\n const porcentY = (dotY / hrect);\r\n const dotXCalculated = wcanvas * porcentX;\r\n const dotYCalculated = hcanvas * porcentY;\r\n const imageId = this.calcImageid(dotXCalculated, listImages);\r\n const percentages = this.calcPercentages(listImages, dotXCalculated, dotYCalculated, hcanvas);\r\n\r\n if (this.row) {\r\n spots.push({ id: this.row.id, posx: 0, posy: 0, spotText: this.row.rowId, imageid: imageId, percX: percentages[0].percX, percY: percentages[0].percY, origin: this.editor ? SpotOrigin.BUILDER : SpotOrigin.CHECKLIST });\r\n const row = dataset.find((x: any) => x.rowId == this.row.rowId);\r\n row.spotid = this.row.rowId;\r\n row.imageId = imageId;\r\n this.saveConfiguration(configuration);\r\n this.action = Action.None;\r\n this.row = null;\r\n this.loadImages();\r\n const elem = document.getElementById(row.spotid);\r\n if (elem) {\r\n this.scrollParentToChild(elem);\r\n }\r\n }\r\n else {\r\n this.showImageDialog(imageId, spots);\r\n }\r\n }\r\n\r\n showImageDialog(imageId?: number, spots?: Spot[]) {\r\n if (this.checkRoles()) {\r\n this.showImageOptions = true;\r\n this.action = Action.ImageOptions;\r\n if (imageId) {\r\n const image = this.imagesList.find(i => i.id == imageId);\r\n if (image) {\r\n image.canBeDeleted = !spots?.some(s => s.imageid == image.id && s.origin == SpotOrigin.BUILDER);\r\n this.imageId = image.id;\r\n }\r\n }\r\n }\r\n }\r\n\r\n scrollParentToChild(child: any) {\r\n const parent = document.getElementById('scrollableContainer');\r\n if (parent) {\r\n // Where is the parent on page\r\n const parentRect = parent.getBoundingClientRect();\r\n // What can you see?\r\n const parentViewableArea = {\r\n height: parent.clientHeight,\r\n width: parent.clientWidth\r\n };\r\n\r\n // Where is the child\r\n const childRect = child.getBoundingClientRect();\r\n // Is the child viewable?\r\n const isViewable = (childRect.top >= (parentRect.top ?? 0)) && (childRect.bottom <= (parentRect.top ?? 0) + (parentViewableArea.height ?? 0));\r\n\r\n // if you can't see the child try to scroll parent\r\n if (!isViewable) {\r\n // Should we scroll using top or bottom? Find the smaller ABS adjustment\r\n const scrollTop = childRect.top - (parentRect.top ?? 0);\r\n parent.scrollTop += childRect.top * 1.2;\r\n }\r\n }\r\n }\r\n\r\n calcImageid(dotX: number, listImages: ListImage[]): number {\r\n let imgWidth1 = 0;\r\n let imgWidth2 = 0;\r\n let imgId = 0;\r\n\r\n listImages.map(item => {\r\n imgWidth2 = imgWidth2 + item.imageWidth;\r\n if (dotX > imgWidth1 && dotX <= imgWidth2) {\r\n imgId = item.id;\r\n }\r\n imgWidth1 = imgWidth2;\r\n });\r\n return imgId;\r\n }\r\n\r\n calcImagePercents(listImages: ListImage[], totalImagesW: number, totalImagesH: number): any[] {\r\n const imagesPercent: any[] = [{ id: 0, percentW: 0, percentH: 0 }];\r\n listImages.map(img => {\r\n const pW = img.imageWidth / totalImagesW;\r\n const pH = img.imageHeight / totalImagesH;\r\n imagesPercent.push({ id: img.id, percentW: pW, percentH: pH });\r\n });\r\n return imagesPercent;\r\n }\r\n\r\n calcPercentages(listImages: ListImage[], dotX: number, dotY: number, totalImagesH: number): any[] {\r\n const percentagesSpot = [{ percX: 0, percY: 0 }];\r\n let imgWidth1 = 0;\r\n let imgWidth2 = 0;\r\n let imgHeight = 0;\r\n\r\n listImages.map(item => {\r\n imgWidth2 = imgWidth2 + item.imageWidth;\r\n imgHeight = item.imageHeight;\r\n if (dotX > imgWidth1 && dotX <= imgWidth2) {\r\n const pointxImageCalculated = (dotX - imgWidth1);\r\n const pointxImagePercent = (pointxImageCalculated / item.imageWidth);\r\n const pointyImagePercent = dotY / (totalImagesH * (imgHeight / totalImagesH));\r\n percentagesSpot[0].percX = pointxImagePercent;\r\n percentagesSpot[0].percY = pointyImagePercent;\r\n }\r\n imgWidth1 = imgWidth2;\r\n });\r\n\r\n return percentagesSpot;\r\n }\r\n\r\n calcCoordinates(listImages: ListImage[], imagesPercents: any[], percentX: number, percentY: number, spotImageId: number, totalImagesW: number, totalImagesH: number) {\r\n const spotCoordinates: any[] = [{ x: 0, y: 0 }];\r\n let widthX = 0;\r\n listImages.map(img => {\r\n const percentImage: any[] = imagesPercents.filter(x => x.id == img.id);\r\n const widthImage = (totalImagesW * percentImage[0].percentW);\r\n if (img.id < spotImageId) {\r\n widthX = widthX + widthImage;\r\n }\r\n else if (img.id == spotImageId) {\r\n const widthCalculated = widthImage * percentX;\r\n spotCoordinates[0].x = widthX + widthCalculated;\r\n spotCoordinates[0].y = (totalImagesH * (percentY * percentImage[0].percentH));\r\n }\r\n });\r\n\r\n return spotCoordinates;\r\n }\r\n\r\n addRow(id: number) {\r\n if (id) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('Rad_Survey_Image_Component_Add_Row').description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n const dataset = configuration.data;\r\n const dsRows = dataset.filter((x: any) => x.id == id);\r\n const firstRow = dsRows[0];\r\n const channels = this.utils.JSONparse(firstRow.data) as PVData[];\r\n channels?.map(c => {\r\n c.date = null;\r\n c.error = false;\r\n c.updating = false;\r\n c.user = null;\r\n c.value = null;\r\n });\r\n const lastRow = dsRows[dsRows.length - 1];\r\n const lastRowId = lastRow.rowId.toString().split('.');\r\n const rowId = lastRowId[0] + '.' + (lastRowId[1] ? (+lastRowId[1] + 1).toString() : 1);\r\n dataset.push({ id, values: '', rowId, spotid: 0, imageid: 0, idSpan: 1, data: this.utils.JSONstringify(channels) });\r\n configuration.data = dataset;\r\n this.saveConfiguration(configuration);\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadSpots(spots: Spot[]) {\r\n let hcanvas = 0;\r\n let wcanvas = 0;\r\n const listImages: ListImage[] = this.imagesList;\r\n listImages.map(item => {\r\n wcanvas = wcanvas + item.imageWidth;\r\n if (item.imageHeight > hcanvas) {\r\n hcanvas = item.imageHeight;\r\n }\r\n });\r\n\r\n const imagePercents = this.calcImagePercents(listImages, wcanvas, hcanvas);\r\n\r\n spots.map(s => {\r\n if (s.id != 0) {\r\n const coordinates = this.calcCoordinates(listImages, imagePercents, s.percX, s.percY, s.imageid, wcanvas, hcanvas);\r\n const x = Math.round(coordinates[0].x);\r\n const y = Math.round(coordinates[0].y);\r\n this.drawSpot(+s.spotText, x, y, s.origin ? s.origin : SpotOrigin.BUILDER);\r\n }\r\n });\r\n }\r\n\r\n drawSpot(spotNewId: number, x: number, y: number, origin: SpotOrigin) {\r\n const ctx = this.mycanvas.nativeElement.getContext('2d');\r\n const canvasWidth = this.mycanvas.nativeElement.width;\r\n const ratio = canvasWidth / this.innerWidth;\r\n\r\n ctx.shadowColor = 'rgba(0, 0, 0, 0.5)';\r\n ctx.shadowOffsetX = 2;\r\n ctx.shadowOffsetY = 2;\r\n ctx.shadowBlur = 2;\r\n ctx.fillStyle = origin == SpotOrigin.BUILDER ? 'rgba(240, 0, 0, 0.7)' : 'rgba(0, 60, 230, 0.7)';\r\n ctx.strokeStyle = 'rgb(0, 0, 0, .5)';\r\n\r\n const radius = 19 * ratio;\r\n const font = 17 * ratio;\r\n\r\n ctx.beginPath();\r\n ctx.arc(x, y, radius, 0, Math.PI * 2, true);\r\n ctx.fill();\r\n ctx.stroke();\r\n\r\n ctx.fillStyle = 'rgba(255, 255, 255, 1)';\r\n ctx.textAlign = 'center';\r\n ctx.textBaseline = 'middle';\r\n ctx.font = font + 'px Verdana';\r\n ctx.shadowOffsetX = 0;\r\n ctx.shadowOffsetY = 0;\r\n ctx.shadowBlur = 0;\r\n ctx.fillText(spotNewId.toString(), x, y);\r\n }\r\n\r\n nextId(): number {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n let id = 0;\r\n const uniqueIds = [...new Set(configuration.data.map((obj: any) => obj.id))] as number[];\r\n let arrayIds: number[] = [];\r\n uniqueIds.map(n => {\r\n arrayIds.push(n);\r\n });\r\n arrayIds = arrayIds.sort((n1, n2) => n1 - n2);\r\n id = (Number(Math.max.apply(null, arrayIds)) + 1);\r\n return id;\r\n }\r\n\r\n imageChanged(e: any) {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n const images = e as ListImage[];\r\n let spots = configuration.spots as Spot[];\r\n let data = configuration.data;\r\n const spotsToRemove = spots.filter(s => !images.map(i => i.id).includes(s.imageid));\r\n spotsToRemove.map(x => {\r\n data.find((d: any) => d.spotid == x.spotText).spotid = '';\r\n });\r\n\r\n spots = spots.filter(s => images.map(i => i.id).includes(s.imageid));\r\n configuration.images = images;\r\n configuration.spots = spots;\r\n this.saveConfiguration(configuration);\r\n }\r\n\r\n tableChange(c: any) {\r\n const configuration = this.utils.JSONparse(c);\r\n this.saveConfiguration(configuration);\r\n }\r\n\r\n deleteRow(element: any) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('Rad_Survey_Image_Component_Delete_Row').description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n let configuration = this.utils.JSONparse(this.configuration);\r\n const dataset = configuration.data as TableData[];\r\n const index = dataset.findIndex(x => x.rowId == element.rowId);\r\n dataset.splice(index, 1);\r\n configuration = this.reorderRows(configuration);\r\n this.saveConfiguration(configuration);\r\n this.loadImages();\r\n }\r\n });\r\n }\r\n\r\n duplicateRow(r: any) {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n const dataset = configuration.data as TableData[];\r\n const rows = dataset.filter(x => x.id == r.id);\r\n const newId = this.nextId();\r\n rows.map(row => {\r\n const newRow = this.utils.cloneDeep(row);\r\n newRow.id = newId;\r\n newRow.rowId = newId + '.' + newRow.rowId.split('.')[1];\r\n newRow.spotid = 0;\r\n\r\n dataset.push(newRow);\r\n });\r\n configuration.data = dataset;\r\n this.saveConfiguration(configuration);\r\n }\r\n\r\n reorderRows(configuration: any) {\r\n const rowIds: string[] = [];\r\n const dataset = configuration.data;\r\n const spots = configuration.spots;\r\n const newDataset: any[] = [];\r\n dataset.map((s: any) => {\r\n if (!rowIds.includes(s.id)) {\r\n rowIds.push(s.id);\r\n }\r\n });\r\n rowIds.map(r => {\r\n const rrows = dataset.filter((s: any) => s.id == r);\r\n const srows: SpotsOrder[] = [];\r\n let o = 1;\r\n rrows.sort((a: any, b: any) => a.rowId.toString().split('.')[1] - b.rowId.toString().split('.')[1]).map((s: any) => {\r\n srows.push({ id: s.id, rowId: s.rowId, newRowId: s.id + '.' + o.toString() } as SpotsOrder);\r\n o++;\r\n });\r\n srows.map(n => {\r\n const newRow = this.utils.cloneDeep(dataset.find((d: any) => d.rowId == n.rowId));\r\n newRow.rowId = n.newRowId;\r\n newDataset.push(newRow);\r\n const spot = spots.find((s: any) => s.spotText == n.rowId);\r\n if (spot) {\r\n spot.spotText = n.newRowId;\r\n }\r\n });\r\n });\r\n configuration.data = newDataset;\r\n return configuration;\r\n }\r\n\r\n deleteSpot(element: any) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('Rad_Survey_Image_Component_Delete_Spot').description,\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n const spots = configuration.spots;\r\n const dataset = configuration.data;\r\n\r\n const spotRow = dataset.find((x: any) => x.rowId.toString() === element.rowId);\r\n spotRow.spotid = 0;\r\n spotRow.imageid = 0;\r\n const index = spots.findIndex((x: any) => x.spotText == element.rowId);\r\n spots.splice(index, 1);\r\n this.saveConfiguration(configuration);\r\n if (!this.builder) {\r\n this.loadImages();\r\n }\r\n }\r\n });\r\n }\r\n\r\n isBuilderColumn(column: any): boolean {\r\n let exist = false;\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n const colsBuilder: any[] = configuration.columnsBuilder.map((x: any) => x.name);\r\n\r\n exist = colsBuilder.includes(column);\r\n\r\n return exist;\r\n }\r\n\r\n rowSpan(column: any, item: any, row: any) {\r\n if (row % 6 == 0 || column.name == 'id' || column.name == 'spotid' || column.name == 'settings' || column.name == 'values') {\r\n if (column.name == 'settings' || column.name == 'values') {\r\n return 1;\r\n }\r\n else if (column.name == 'id' || this.isBuilderColumn(column.name)) {\r\n return item.idSpan;\r\n }\r\n else if (column.name == 'spotid' || !this.isBuilderColumn(column.name)) {\r\n return item.spotSpan;\r\n }\r\n }\r\n return 0;\r\n }\r\n\r\n checkRoles() {\r\n return this.hasRoles(this.roleIds);\r\n }\r\n\r\n setRow(e: any) {\r\n if (this.uploadImageTable) {\r\n if (e) {\r\n this.row = e;\r\n this.action = Action.AddSpot;\r\n this.uploadImageTable.addingSpot = true;\r\n this.uploadImageTable.IdSpotAdd = e.rowId;\r\n this.scrollToTop();\r\n }\r\n // this.uploadImageTable.selectedRow = e;\r\n else {\r\n this.uploadImageTable.IdSpotAdd = 0;\r\n this.uploadImageTable.addingSpot = false;\r\n // this.uploadImageTable.selectedRow = null;\r\n this.row = null;\r\n this.action = Action.None;\r\n this.ImageSpotId = 0;\r\n this.rowId = 0;\r\n this.showImageOptions = false;\r\n }\r\n }\r\n }\r\n\r\n async saveConfiguration(configuration: any) {\r\n if (!this.saving) {\r\n this.saving = true;\r\n const c1 = await this.getNewConfiguration(configuration);\r\n const c2 = this.processData(c1);\r\n this.configuration = this.utils.JSONstringify(c2);\r\n this.changed.emit(this.configuration);\r\n this.saving = false;\r\n }\r\n }\r\n\r\n async getNewConfiguration(configuration: any) {\r\n return new Promise(async (resolve: any) => {\r\n if (!configuration.images) {\r\n resolve(configuration);\r\n return;\r\n }\r\n\r\n const imageProcessingPromises = configuration.images.map(async (i: any) => {\r\n const image = i.image as string;\r\n if (image.includes('data:image')) {\r\n const imgHTML = '';\r\n i.image = await this.uploadImages(imgHTML);\r\n }\r\n i.image = i.image.replace('', '');\r\n });\r\n\r\n await Promise.all(imageProcessingPromises);\r\n resolve(configuration);\r\n });\r\n }\r\n\r\n async uploadImages(textValue: string) {\r\n let documentType: string;\r\n let serialNo: string;\r\n if (this.checklist) {\r\n documentType = (this.checklist as Checklist).documentType?.code?.trim() ?? 'OTHER';\r\n serialNo = this.checklist.serialNo ?? 'OTHER';\r\n }\r\n else if (this.checklistTemplate) {\r\n documentType = this.checklistTemplate.documentType?.code?.trim() ?? 'OTHER';\r\n serialNo = this.checklistTemplate.serialNo ?? 'OTHER';\r\n }\r\n else {\r\n documentType = 'OTHER';\r\n serialNo = 'OTHER';\r\n }\r\n const path = '/' + documentType + '/' + serialNo + '/Images/';\r\n const text = await this.imageUpload.uploadImagesToServer(textValue, path);\r\n return text;\r\n }\r\n\r\n\r\n processData(configuration: any) {\r\n configuration.data.map((d: any) => {\r\n const pvData = this.utils.JSONparse(d.data);\r\n if (pvData.user) {\r\n pvData.user = this.getUserInfo(pvData.user.id);\r\n d.data = this.utils.JSONstringify(pvData);\r\n }\r\n });\r\n return configuration;\r\n }\r\n\r\n override scrollToTop() {\r\n $('.card-footer').scrollTop(0);\r\n }\r\n\r\n @HostListener('window:resize')\r\n onResize() {\r\n this.innerWidth = window.innerWidth;\r\n this.loadImages();\r\n }\r\n\r\n}\r\nexport class ListImage {\r\n id!: number;\r\n name!: string;\r\n image!: string;\r\n imageWidth!: number;\r\n imageHeight!: number;\r\n canBeDeleted?: boolean;\r\n}\r\n\r\nexport enum Action {\r\n None = 0,\r\n AddSpot = 1,\r\n ImageOptions = 2\r\n}\r\n\r\nexport class SpotsOrder {\r\n id!: number;\r\n rowId!: number;\r\n newRowId?: string;\r\n}\r\n\r\nexport enum SpotOrigin {\r\n BUILDER = 0,\r\n CHECKLIST = 1\r\n}\r\n\r\nexport class Spot {\r\n id!: number;\r\n posx!: number;\r\n posy!: number;\r\n spotText!: string;\r\n imageid!: number;\r\n percX!: number;\r\n percY!: number;\r\n origin!: SpotOrigin;\r\n}\r\n","\r\n >\r\n\r\n add_photo_alternate\r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, ElementRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { Location, LocationGroup, Resource, ResourceRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { SaveChecklistLocationsResource } from 'src/app/components/checklists/checklists';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\n\r\n@Component({\r\n selector: 'cl-location',\r\n templateUrl: './cl-location.component.html',\r\n styleUrls: ['./cl-location.component.scss']\r\n})\r\nexport class ClLocationComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n locations!: Location[];\r\n filteredLocations!: Location[];\r\n allLocations!: Location[];\r\n locationGroups!: LocationGroup[];\r\n\r\n @ViewChild(\"locationInput\") locationInput!: ElementRef;\r\n @ViewChild(\"autoLoc\") matAutocompleteLoc!: MatAutocomplete;\r\n\r\n resources!: Resource[];\r\n resourcesFiltered!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n resourceRelations!: ResourceRelation[];\r\n resourceRelationsFiltered!: ResourceRelation[];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs!: Subscription;\r\n\r\n public get locationsCtrl(): AbstractControl | null { return this.formGroup?.get(\"locationsCtrl\"); }\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private _checklist: ChecklistsService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.initializeForm();\r\n this.loadResources();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['valueString']) {\r\n const locations = this.checklist?.locations as string;\r\n if (locations) {\r\n this.locations = this.utils.JSONparse(locations);\r\n this.loadLocations();\r\n }\r\n }\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n initializeForm() {\r\n this.formGroup = this.formBuilder.group({\r\n locationsCtrl: [\r\n { value: \"\" },\r\n [Validators.required, this.utils.IsWhiteSpaceReactiveForm],\r\n ],\r\n });\r\n this.formGroup.disable();\r\n this.formGroup.valueChanges.subscribe(() => {\r\n this.formValid();\r\n });\r\n }\r\n\r\n formValid() {\r\n if (this.locations?.length == 0) {\r\n this.locationsCtrl?.setErrors({ required: true });\r\n } else {\r\n this.locationsCtrl?.setErrors(null);\r\n }\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.loadResourceRelations();\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n this.loadLocations();\r\n }\r\n });\r\n }\r\n\r\n loadLocations() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.allLocations = this.resources\r\n .filter((x) => x.status !== 0 && x.resourceType?.location)\r\n ?.map((x) => {\r\n const location = {\r\n id: x.id,\r\n name: x.name,\r\n type: x.type,\r\n resourceType: x.resourceType,\r\n };\r\n return location;\r\n })\r\n .sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.filteredLocations = this.allLocations.filter(\r\n (x) => !this.locations?.map((l) => l.id).includes(x.id)\r\n );\r\n this.createLocationGroups();\r\n }\r\n });\r\n }\r\n\r\n createLocationGroups() {\r\n this.locationGroups = [];\r\n this.filteredLocations.map((l) => {\r\n if (l.type == ResourceType.Accelerator) {\r\n if (!this.locationGroups.map(g => g.id).includes(l.id)) {\r\n const relations = this.resourceRelations?.filter(rr => rr.parentResourceID == l.id && !this.locations?.map(x => x.id).includes(rr.childResourceID));\r\n const locs = relations?.filter(l => l.childResourceType == ResourceType.AcceleratorLocation).map(rr => {\r\n return { id: rr.childResourceID, name: rr.childResourceName, type: rr.childResourceType } as Location;\r\n });\r\n this.locationGroups.push({\r\n name: l.name,\r\n type: l.type,\r\n id: l.id,\r\n locations: locs\r\n });\r\n }\r\n } else {\r\n if (\r\n !this.locationGroups.map((g) => g.type).includes(l.type) &&\r\n l.type != ResourceType.AcceleratorLocation\r\n ) {\r\n this.locationGroups.push({\r\n name: l.resourceType?.name,\r\n type: l.type,\r\n locations: this.filteredLocations.filter((x) => x.type == l.type),\r\n });\r\n }\r\n }\r\n });\r\n this.locationGroups = this.locationGroups.sort((a, b) => this.utils.sort(a.type, b.type));\r\n }\r\n\r\n selectedLoc(event: MatAutocompleteSelectedEvent) {\r\n if (!this.locations) {\r\n this.locations = [];\r\n }\r\n if (\r\n !this.locations?.some((l) => l.id === event.option.value?.id) &&\r\n event.option.value !== null &&\r\n event.option.value !== undefined\r\n ) {\r\n this.locations.push(event.option.value);\r\n this.locationInput.nativeElement.value = \"\";\r\n this.locationsCtrl?.setValue(this.locations);\r\n this.saveLocations();\r\n }\r\n }\r\n\r\n async addLoc(event: MatChipInputEvent) {\r\n if (!this.matAutocompleteLoc.isOpen) {\r\n const input = event.input;\r\n const value = event.value;\r\n if (input) {\r\n input.value = \"\";\r\n }\r\n if (value !== \"\") {\r\n const newLocation: Location = {\r\n id: 0,\r\n name: value,\r\n type: -1,\r\n newLocation: true,\r\n };\r\n if (!this.locations) this.locations = [];\r\n this.locations.push(newLocation);\r\n }\r\n this.locationsCtrl?.setValue(this.locations);\r\n this.saveLocations();\r\n }\r\n }\r\n\r\n removeLoc(location: Location): void {\r\n const index = this.locations.indexOf(location);\r\n if (index >= 0) {\r\n this.locations.splice(index, 1);\r\n this.saveLocations();\r\n if (!this.locations.length)\r\n this.checkboxChanged({ checked: false });\r\n }\r\n }\r\n\r\n onLocChange(code?: string) {\r\n if (!code?.includes(\"Arrow\")) {\r\n this.loadLocations();\r\n this.filteredLocations = this.filteredLocations.filter((loc) =>\r\n loc.name\r\n ?.toLowerCase()\r\n .includes(this.locationsCtrl?.value?.trim().toLowerCase())\r\n );\r\n this.createLocationGroups();\r\n }\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.user = this.checked ? this.getCurrentUser() : null;\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n async saveLocations() {\r\n const saveChecklist: SaveChecklistLocationsResource = {\r\n id: this.checklist?.id ?? 0,\r\n locations: this.utils.JSONstringify(this.locations)\r\n }\r\n await this._checklist.putLocations(saveChecklist).toPromise();\r\n this.saveValues(this.locations);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ title }}
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Locations\r\n \r\n \r\n {{ location?.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ location.name }}\r\n \r\n \r\n \r\n {{\r\n getErrorMsg(locationsCtrl)\r\n }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Output, EventEmitter } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'cl-multiple-textbox',\r\n templateUrl: './cl-multiple-textbox.component.html',\r\n styleUrls: ['./cl-multiple-textbox.component.scss']\r\n})\r\nexport class ClMultipleTextboxComponent extends ClBaseComponent {\r\n\r\n @Output() data = new EventEmitter();\r\n\r\n public visible: boolean = false;\r\n\r\n allowMultiple?: boolean;\r\n\r\n ngOnChanges() {\r\n this.initials = this.user ? this.user.initials : \"\";\r\n this.setValues();\r\n this.getConfiguration();\r\n }\r\n\r\n setValues() {\r\n this.valueObjects = this.getValueObjects(this.valueString);\r\n if (this.valueObjects) {\r\n this.options = this.valueObjects?.find(x => x.key == \"values\")?.val;\r\n }\r\n }\r\n\r\n getConfiguration() {\r\n if (this.configuration) {\r\n this.allowMultiple = JSON.parse(this.configuration).multiple;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n getValues() {\r\n this.valueObjects = [];\r\n this.valueObjects.push({ key: \"values\", val: this.options });\r\n return this.valueObjects;\r\n }\r\n\r\n textChanged(o: any) {\r\n if (o.text)\r\n o.user = this.getCurrentUser(true);\r\n else o.user = null;\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ title }}
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n warning\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n {{ o?.user?.initials }}\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","import { Component, Injector, Input } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n\r\n@Component({\r\n selector: 'cl-note',\r\n templateUrl: './cl-note.component.html',\r\n styleUrls: ['./cl-note.component.scss']\r\n})\r\n/** cl-note component*/\r\nexport class ClNoteComponent extends ClBaseComponent {\r\n\r\n textSanitized!: SafeHtml;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private sanitizer: DomSanitizer\r\n ) {\r\n super(injector);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n note\r\n
    \r\n {{ label }}\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n","import { Component, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormStatusEnum, OlogNotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { PartialOlogComponent } from '../../olog/partial-olog/partial-olog.component';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\n\r\n@Component({\r\n selector: 'app-cl-olog',\r\n templateUrl: './cl-olog.component.html',\r\n styleUrls: ['./cl-olog.component.scss']\r\n})\r\nexport class ClOlogComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() btnColor!: string;\r\n @Input() btnName?: string | null;\r\n\r\n @Output() loading = new EventEmitter();\r\n\r\n currentChecklist!: Checklist;\r\n checklists!: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n toggleLabel?: string;\r\n\r\n isChecked: boolean = true;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private ologService: OLogService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.checklistsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['checklist']) {\r\n const currentChecklist = changes['checklist'].currentValue as Checklist;\r\n if (currentChecklist?.checklistStatus?.formStatusID == FormStatusEnum.Closed) {\r\n this.currentChecklist = this.checklist as Checklist;\r\n this.checkOlogStatus();\r\n }\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.toggleLabel = this.getMessage('OlogToggleLabel').description;\r\n if (!this.valueString) this.isChecked = true;\r\n else this.isChecked = this.utils.JSONparse(this.valueString).checked;\r\n }\r\n\r\n checkOlogStatus() {\r\n this.loading.emit(true);\r\n this.ologService.getOlog(this.currentChecklist.documentTypeID as number, this.currentChecklist.id, OlogNotificationType.Closed).toPromise().then(async olog => {\r\n if (olog?.id && !olog?.sent && this.ologService.ologIDPosting != olog.id && !this.currentChecklist.isOlogSent && this.isChecked) {\r\n this.ologService.ologIDPosting = olog.id;\r\n await this.ologService.postToOlog(this.currentChecklist.documentTypeID as number, this.currentChecklist.id, OlogNotificationType.Closed, 0, false, false);\r\n }\r\n this.loading.emit(false);\r\n });\r\n }\r\n\r\n openOlog() {\r\n this.currentChecklist = this.checklist as Checklist;\r\n if (this.currentChecklist.documentTypeID)\r\n this.ologService.getOlog(this.currentChecklist.documentTypeID, this.currentChecklist.id, OlogNotificationType.Closed).toPromise().then(data => {\r\n if (data) {\r\n const dialogConfig: MatDialogConfig = {\r\n data,\r\n width: '80%'\r\n };\r\n dialogConfig.data = data;\r\n const dialogRef = this.dialog.open(PartialOlogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise();\r\n }\r\n });\r\n }\r\n\r\n toggleChanged() {\r\n if (this.isChecked) {\r\n this.alert.message('OlogToggleOn');\r\n }\r\n else {\r\n this.alert.message('OlogToggleOff');\r\n }\r\n this.valueString = this.utils.JSONstringify({ checked: this.isChecked });\r\n this.changed.emit(this.valueString);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n {{ btnName }}\r\n \r\n \r\n
    \r\n
    \r\n \r\n NOYES\r\n
    \r\n
    \r\n","import { Component, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { RadNoteType } from 'src/app/common/enumerations/enumerations';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { RadMonitorService } from 'src/app/components/catalogs/rad-monitor/services/rad-monitor.service';\r\nimport { RadNote, RadNoteSaveResource } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-note';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\n\r\n@Component({\r\n selector: 'app-cl-rad-location',\r\n templateUrl: './cl-rad-location.component.html',\r\n styleUrls: ['./cl-rad-location.component.scss']\r\n})\r\nexport class ClRadLocationComponent extends ClBaseComponent implements OnInit, OnDestroy, OnChanges {\r\n public valuesToSend: any[] = [];\r\n\r\n radLocation?: RadLocation;\r\n radLocations!: RadLocation[];\r\n radLocations$!: Observable;\r\n radLocationsSubs!: Subscription;\r\n radLocationsFiltered!: RadLocation[];\r\n\r\n radMonitor?: RadMonitor | null;\r\n radMonitors?: RadMonitor[];\r\n radMonitorsFiltered?: RadMonitor[] = [];\r\n\r\n radLocationCtrl = new FormControl();\r\n radMonitorCtrl = new FormControl();\r\n reasonCtrl = new FormControl();\r\n\r\n failureMessage!: string;\r\n currentChecklist?: Checklist;\r\n\r\n public changeoutReasons = [\r\n { label: 'Routine for Calibration', value: 'calibration' },\r\n { label: 'Monitor Failure.', value: 'failure' }\r\n ];\r\n\r\n changeoutReason!: string;\r\n faultNote?: RadNote;\r\n faultNoteSave?: RadNoteSaveResource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private rmService: RadMonitorService,\r\n private placeholdersService: PlaceholdersService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.failureMessage = this.getMessage('RadMonitorComponent_Message').description;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadRadLocations();\r\n this.buildForm();\r\n this.currentChecklist = this.checklist as Checklist;\r\n }\r\n\r\n checkboxDisabled() {\r\n let enabled = !this.disabled;\r\n if (enabled) {\r\n enabled = this.radMonitor != null;\r\n if (enabled) {\r\n enabled = this.changeoutReason == 'calibration';\r\n if (!enabled) {\r\n enabled = this.faultNote?.description != null;\r\n if (!enabled) {\r\n enabled = this.checked ?? false;\r\n }\r\n }\r\n }\r\n }\r\n return !enabled;\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = new FormGroup({\r\n radLocationCtrl: this.radLocationCtrl,\r\n radMonitorCtrl: this.radMonitorCtrl,\r\n reasonCtrl: this.reasonCtrl\r\n });\r\n if (this.disabled || this.checked) {\r\n this.formGroup.disable();\r\n }\r\n else {\r\n this.formGroup.enable();\r\n }\r\n }\r\n\r\n loadRadLocations() {\r\n this.radLocations$ = this.store.select(state => state.RadLocation.data);\r\n this.radLocationsSubs = this.radLocations$.subscribe(data => {\r\n this.radLocations = data.filter(x => !x.isEMShop && x.radMonitors?.length).sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.radLocations.map(x => x.type = x.radLocationType?.name);\r\n this.radLocationsFiltered = this.radLocations;\r\n this.getValues();\r\n });\r\n }\r\n\r\n checkChecked() {\r\n if (this.checked) {\r\n if (!this.radLocation || !this.radMonitor || !this.changeoutReason || (this.changeoutReason == 'failure' && !this.faultNote))\r\n if (this.getCurrentUser())\r\n this.answered.emit(false);\r\n }\r\n }\r\n\r\n getValues() {\r\n if (this.valueString) {\r\n this.valuesToSend = JSON.parse(this.valueString);\r\n const locationId = this.valuesToSend?.find(x => x.key === 'locationId')?.val;\r\n const location = this.valuesToSend?.find(x => x.key === 'location')?.val;\r\n const monitorId = this.valuesToSend?.find(x => x.key === 'monitorId')?.val;\r\n const monitor = this.valuesToSend?.find(x => x.key === 'monitor')?.val;\r\n const reason = this.valuesToSend?.find(x => x.key == 'changeoutReason')?.val;\r\n const faultNote = this.valuesToSend?.find(x => x.key == 'faultNote')?.val;\r\n if (locationId) {\r\n if (this.checked) {\r\n this.radLocation = location;\r\n }\r\n else {\r\n this.radLocation = this.radLocations.find(x => x.id == locationId);\r\n }\r\n this.radLocationCtrl.setValue(this.radLocation);\r\n this.radMonitors = this.radLocation?.radMonitors;\r\n this.radMonitors?.map(r => r.radLocation = null);\r\n }\r\n if (this.checked) {\r\n this.radMonitor = monitor;\r\n }\r\n else if (monitorId) {\r\n this.radMonitor = this.radMonitors?.find(x => x.id == monitorId);\r\n }\r\n if (this.radMonitor) {\r\n this.radMonitor.radLocation = this.radLocations.find(x => x.id == this.radMonitor?.radLocationID);\r\n this.rmService.setOutgoingMonitor(this.radMonitor);\r\n }\r\n this.radMonitorCtrl.setValue(this.radMonitor);\r\n if (reason) {\r\n this.changeoutReason = this.valuesToSend.find(x => x.key === 'changeoutReason')?.val;\r\n this.reasonCtrl.setValue(this.changeoutReason);\r\n }\r\n if (faultNote) {\r\n this.faultNote = faultNote;\r\n }\r\n }\r\n this.initials = this.user ? this.user.initials : '';\r\n this.checkChecked();\r\n this.setPlaceHolders();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.radLocationsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n displayObjectMon(obj: any): string {\r\n return obj ? obj.ehs : '';\r\n }\r\n\r\n radLocationSelected(radLocation: RadLocation) {\r\n this.radLocation = radLocation;\r\n this.radMonitors = radLocation.radMonitors;\r\n this.radMonitorsFiltered = this.radMonitors;\r\n if (this.radMonitors?.length == 1) {\r\n this.radMonitor = this.radMonitors[0];\r\n this.rmService.setOutgoingMonitor(this.radMonitor);\r\n }\r\n else {\r\n this.radMonitor = null;\r\n }\r\n this.radMonitorCtrl.setValue(this.radMonitor);\r\n this.saveData();\r\n this.setPlaceHolders();\r\n }\r\n\r\n radMonitorSelected(radMonitor: RadMonitor) {\r\n this.radMonitor = radMonitor;\r\n this.saveData();\r\n this.setPlaceHolders();\r\n }\r\n\r\n saveData() {\r\n this.valuesToSend = [];\r\n this.initials = this.checked ? this.getCurrentUser()?.initials : null;\r\n this.addUpdateValues('monitorId', this.radMonitor?.id);\r\n if (this.radMonitor) {\r\n this.radMonitor.radLocation = null;\r\n this.addUpdateValues('monitor', this.radMonitor);\r\n this.addUpdateValues('locationId', this.radLocation?.id);\r\n this.addUpdateValues('location', this.radLocation);\r\n this.addUpdateValues('changeoutReason', this.changeoutReason);\r\n this.addUpdateValues('faultNote', this.faultNoteSave);\r\n this.rmService.setOutgoingMonitor(this.radMonitor);\r\n }\r\n this.save.emit({ text: JSON.stringify(this.valuesToSend), hasRefresh: false });\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n if (this.checked) {\r\n this.initials = this.getCurrentUser()?.initials;\r\n }\r\n else {\r\n this.initials = null;\r\n }\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n addUpdateValues(key: string, val: any) {\r\n if (this.valuesToSend.some(x => x.key === key)) {\r\n const valueIndex = this.valuesToSend.map(x => x.key).indexOf(key);\r\n this.valuesToSend.splice(valueIndex, 1, { key, val });\r\n } else {\r\n this.valuesToSend.push({ key, val });\r\n }\r\n }\r\n\r\n filterRadLocation(e: any) {\r\n const text = e.target.value;\r\n this.radLocationsFiltered = this.radLocations.filter(x => x.name?.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n filterRadMonitor(e: any) {\r\n const text = e.target.value;\r\n this.radMonitorsFiltered = this.radLocation?.radMonitors?.filter(x => x.ehs?.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n changeoutReasonChange(optionSelected: string) {\r\n this.changeoutReason = optionSelected;\r\n this.saveData();\r\n }\r\n\r\n saveFaultNote(radNoteDescription: string) {\r\n this.faultNoteSave = {\r\n description: radNoteDescription,\r\n radLocationId: this.radLocation?.id,\r\n radMonitorId: this.radMonitor?.id,\r\n type: RadNoteType.Fault,\r\n updatedBy: this.getCurrentUser()?.id,\r\n updatedOn: new Date()\r\n };\r\n this.saveData();\r\n }\r\n\r\n setPlaceHolders() {\r\n if (this.radMonitor && this.radLocation) {\r\n this.radLocation.type = this.radLocation?.radLocationType?.name;\r\n this.radMonitor.radLocation = this.radLocation;\r\n this.placeholdersService.getKeyValuesRadMonitor(this.radMonitor, 'rmco');\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ title }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Location\r\n \r\n \r\n \r\n {{ radLocation.name }}\r\n \r\n {{ radLocation.radLocationType?.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Outgoing Monitor\r\n \r\n \r\n \r\n {{ radMonitor.ehs }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Changeout Reason\r\n \r\n \r\n {{ changeoutReason.label }}\r\n \r\n \r\n \r\n {{ failureMessage }}\r\n \r\n\r\n
    \r\n
    \r\n Last updated by\r\n {{ faultNote?.updatedBy?.initials }}\r\n on\r\n {{\r\n faultNote?.updatedOn | date : \"short\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogConfig, MatDialogRef, MatDialog, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { FormControl } from '@angular/forms';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Store } from '@ngxs/store';\r\nimport moment from 'moment';\r\nimport { Observable } from 'rxjs';\r\nimport { RadMeter, RadMeterData } from 'src/app/components/catalogs/meters-catalog/rad-meters';\r\nimport { RadMetersDetailsComponent } from 'src/app/components/catalogs/meters-catalog/rad-meters-details/rad-meters-details.component';\r\n\r\n@Component({\r\n selector: 'app-cl-rad-meters-add',\r\n templateUrl: './cl-rad-meters-add.component.html',\r\n styleUrls: ['./cl-rad-meters-add.component.scss']\r\n})\r\nexport class ClRadMetersAddComponent implements OnInit {\r\n\r\n radMeterCtrl = new FormControl();\r\n\r\n radMetersList: RadMeter[];\r\n radMeters!: RadMeter[];\r\n radMeters$!: Observable;\r\n radMetersSubs!: Subscription;\r\n\r\n selected!: string;\r\n\r\n constructor(\r\n private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RadMeter[],\r\n private store: Store,\r\n private dialog: MatDialog\r\n ) {\r\n this.radMetersList = data;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadRadMeters();\r\n }\r\n\r\n loadRadMeters() {\r\n this.radMeters$ = this.store.select(state => state.RadMeters.data);\r\n this.radMetersSubs = this.radMeters$.subscribe(data => {\r\n this.radMeters = data;\r\n });\r\n }\r\n\r\n add() {\r\n this.dialogRef.close(this.radMeterCtrl.value);\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n changedRadMeter(e: any) {\r\n const value = e.target.value;\r\n }\r\n\r\n selectedRadMeter(value: RadMeter) {\r\n this.selected = 'Selected: ' + value.serialNumber;\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.serialNumber : null;\r\n }\r\n\r\n addNewMeter() {\r\n const NewRadMeter = {\r\n id: 0,\r\n serialNumber: '',\r\n calibrationDueDate: undefined,\r\n sourceReading: '',\r\n backgroundReading: '',\r\n } as RadMeter;\r\n const data = {\r\n radMeter: NewRadMeter,\r\n radMetersSerialNumbers: []\r\n } as RadMeterData\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = data;\r\n dialogConfig.disableClose = true;\r\n const dialogRef = this.dialog.open(RadMetersDetailsComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(dataReturned => {\r\n if (dataReturned != undefined) {\r\n this.dialogRef.close(dataReturned);\r\n }\r\n });\r\n }\r\n\r\n isDateExpired(d?: Date | null) {\r\n if (d) {\r\n const mdate = moment(d);\r\n return mdate.isBefore(new Date());\r\n }\r\n return false;\r\n }\r\n}\r\n","
    \r\n
    \r\n Select Rad Meter to Add\r\n
    \r\n\r\n
    \r\n \r\n RadMeter\r\n \r\n \r\n \r\n
    \r\n
    \r\n {{ radMeter.serialNumber }}\r\n
    \r\n
    \r\n Model:\r\n {{\r\n radMeter.radMeterModel?.name + \"/\" + radMeter.radMeterType?.name\r\n }}
    \r\n Cal Due:\r\n {{ radMeter.calibrationDueDate | date }}\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n","import { OnChanges, SimpleChanges, OnDestroy, Injector } from '@angular/core';\r\nimport { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { RadMeter } from '../../../components/catalogs/meters-catalog/rad-meters';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ClRadMetersAddComponent } from './cl-rad-meters-add/cl-rad-meters-add.component';\r\nimport moment from 'moment';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { RadMetersService } from 'src/app/components/catalogs/meters-catalog/services/rad-meters.service';\r\nimport { RadMetersRefresh, RadMetersUpdate } from 'src/app/components/catalogs/meters-catalog/store/rad-meters/rad-meters.action';\r\n\r\n@Component({\r\n selector: 'cl-rad-meters',\r\n templateUrl: './cl-rad-meters.component.html',\r\n styleUrls: ['./cl-rad-meters.component.scss']\r\n})\r\nexport class ClRadMetersComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n radMetersList!: RadMeter[];\r\n radMeters!: RadMeter[];\r\n radMeters$!: Observable;\r\n radMetersSubs!: Subscription;\r\n\r\n selectedRowIndex!: number;\r\n\r\n dueDateChanging?: number | null;\r\n sourceReadingChanging?: number | null;\r\n backgroundReadingChanging?: number | null;\r\n\r\n currentChecklist?: Checklist;\r\n\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n public displayedColumns!: string[];\r\n\r\n space = '_________________';\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: RadMetersService\r\n ) {\r\n super(injector);\r\n this.store.dispatch(new RadMetersRefresh());\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.radMetersSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n async ngOnChanges(changes: SimpleChanges): Promise {\r\n this.currentChecklist = this.checklist as Checklist;\r\n\r\n this.loadRadMeters();\r\n this.displayedColumns = this.canModify() ? ['serialNumber', 'calibrationDate', 'model', 'type', 'unit', 'sourceReading', 'backgroundReading', 'actions'] : ['serialNumber', 'calibrationDate', 'model', 'type', 'unit', 'sourceReading', 'backgroundReading'];\r\n this.loadData();\r\n }\r\n\r\n async ngOnInit(): Promise {\r\n\r\n }\r\n\r\n loadRadMeters() {\r\n this.radMeters$ = this.store.select(state => state.RadMeters.data);\r\n this.radMetersSubs = this.radMeters$.subscribe(data => {\r\n this.radMeters = data;\r\n this.loadData();\r\n });\r\n }\r\n\r\n loadData() {\r\n if (this.configuration) {\r\n this.radMetersList = this.utils.JSONparse(this.configuration).data;\r\n let id = 1;\r\n this.radMetersList.map(m => {\r\n m.id = id;\r\n m.backgroundReadingChangedBy = this.getUsers()?.find(u => u.id == m.backgroundReadingChangedByID);\r\n m.sourceReadingChangedBy = this.getUsers()?.find(u => u.id == m.sourceReadingChangedByID);\r\n m.calibrationDueDateChangedBy = this.getUsers()?.find(u => u.id == m.calibrationDueDateChangedByID);\r\n const radMeter = this.radMeters?.find(x => x.serialNumber == m.serialNumber);\r\n if (radMeter) {\r\n m.radMeterModel = radMeter.radMeterModel;\r\n m.radMeterModelID = radMeter.radMeterModelID;\r\n m.radMeterType = radMeter.radMeterType;\r\n m.radMeterTypeID = radMeter.radMeterTypeID;\r\n m.radMeterUnit = radMeter.radMeterUnit;\r\n m.radMeterUnitID = radMeter.radMeterUnitID;\r\n if (this.checklist?.checklistStatus?.formStatusID == FormStatusEnum.Active || this.checklist?.checklistStatus?.formStatusID == FormStatusEnum.Draft) {\r\n if (m.calibrationDueDate != radMeter.calibrationDueDate) {\r\n m.calibrationDueDate = radMeter.calibrationDueDate;\r\n m.calibrationDueDateChangedBy = radMeter.calibrationDueDateChangedBy;\r\n m.calibrationDueDateChangedByID = radMeter.calibrationDueDateChangedByID;\r\n m.calibrationDueDateChangedOn = radMeter.calibrationDueDateChangedOn;\r\n this.saveData();\r\n }\r\n }\r\n }\r\n\r\n id++;\r\n });\r\n this.dataSource.data = this.radMetersList;\r\n }\r\n else {\r\n this.radMetersList = [];\r\n }\r\n }\r\n\r\n change() {\r\n this.changed.emit(this.configuration);\r\n }\r\n\r\n accept() {\r\n this.save.emit(this.configuration);\r\n }\r\n\r\n addMeter() {\r\n const dialog = this.dialog.open(ClRadMetersAddComponent,\r\n {\r\n data: this.radMetersList,\r\n disableClose: true,\r\n width: '600px',\r\n autoFocus: false\r\n });\r\n dialog.afterClosed().subscribe(data => {\r\n if (data) {\r\n const lastID = this.radMetersList.length ? Math.max(...this.radMetersList.map(x => x.id) as number[]) : 0;\r\n data.id = lastID + 1;\r\n this.radMetersList.push(data);\r\n this.saveData();\r\n }\r\n });\r\n }\r\n\r\n deleteRowMeter(rowMeter: RadMeter) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('RadMeterDeleteConfirm').description,\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n const index = this.radMetersList.findIndex(x => x.id == rowMeter.id);\r\n this.radMetersList.splice(index, 1);\r\n this.saveData();\r\n }\r\n });\r\n }\r\n\r\n canModify() {\r\n return this.hasRoles(this.roleIds) && !this.disabled;\r\n }\r\n\r\n\r\n textSourceChanged(r: RadMeter) {\r\n const radMeter = this.radMetersList.find(x => x.id == r.id);\r\n if (radMeter) {\r\n if (!r.sourceReading) {\r\n radMeter.sourceReading = null;\r\n radMeter.sourceReadingChangedBy = null;\r\n radMeter.sourceReadingChangedByID = null;\r\n radMeter.sourceReadingChangedOn = null;\r\n }\r\n else {\r\n radMeter.sourceReadingChangedBy = this.getCurrentUser();\r\n radMeter.sourceReadingChangedByID = this.getCurrentUser()?.id;\r\n radMeter.sourceReadingChangedOn = new Date();\r\n }\r\n this.sourceReadingChanging = null;\r\n this.saveData();\r\n }\r\n }\r\n\r\n textBackgroundChanged(r: RadMeter) {\r\n const radMeter = this.radMetersList.find(x => x.id == r.id);\r\n if (radMeter) {\r\n if (!r.backgroundReading) {\r\n radMeter.backgroundReading = null;\r\n radMeter.backgroundReadingChangedBy = null;\r\n radMeter.backgroundReadingChangedByID = null;\r\n radMeter.backgroundReadingChangedOn = null;\r\n }\r\n else {\r\n radMeter.backgroundReadingChangedBy = this.getCurrentUser();\r\n radMeter.backgroundReadingChangedByID = this.getCurrentUser()?.id;\r\n radMeter.backgroundReadingChangedOn = new Date();\r\n }\r\n this.backgroundReadingChanging = null;\r\n this.saveData();\r\n }\r\n }\r\n\r\n changeCalDueDate(e: RadMeter) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n data: {\r\n message: this.getMessage('RadMeterChangeCalDate').description,\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.dueDateChanging = e.id;\r\n }\r\n });\r\n }\r\n\r\n changeSourceReading(e: RadMeter) {\r\n this.sourceReadingChanging = e.id;\r\n }\r\n\r\n changeBackgroundReading(e: RadMeter) {\r\n this.backgroundReadingChanging = e.id;\r\n }\r\n\r\n calDueDateChanged(r: RadMeter) {\r\n const date = moment(r.calibrationDueDate);\r\n if (date.isValid()) {\r\n const radMeter = this.radMetersList.find(x => x.id == r.id);\r\n if (radMeter) {\r\n radMeter.calibrationDueDate = r.calibrationDueDate;\r\n radMeter.calibrationDueDateChangedBy = this.getCurrentUser();\r\n radMeter.calibrationDueDateChangedByID = this.getCurrentUser()?.id;\r\n radMeter.calibrationDueDateChangedOn = new Date();\r\n this.dueDateChanging = null;\r\n this.saveData();\r\n this.saveCalDueDate(radMeter);\r\n }\r\n }\r\n }\r\n\r\n saveData() {\r\n const radMetersList: any[] = [];\r\n this.radMetersList.map(r => {\r\n radMetersList.push(this.utils.Serialize(r));\r\n });\r\n this.configuration = this.utils.JSONstringify({ data: radMetersList });\r\n this.dataSource.data = this.radMetersList;\r\n this.changed.emit(this.configuration);\r\n }\r\n\r\n saveCalDueDate(radMeter: RadMeter) {\r\n this.service.updateRadMeterCatalog(radMeter).toPromise();\r\n }\r\n\r\n isDateExpired(date: Date) {\r\n if (this.currentChecklist?.checklistStatus?.formStatusID !== FormStatusEnum.Closed && this.currentChecklist?.checklistStatus?.formStatusID !== FormStatusEnum.Canceled) {\r\n const mdate = moment(date);\r\n return mdate.isBefore(new Date());\r\n }\r\n return false;\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Serial No.\r\n \r\n {{ element.serialNumber }}\r\n \r\n \r\n\r\n \r\n \r\n Calibration\r\n \r\n \r\n \r\n {{ element.calibrationDueDate | date }}\r\n \r\n {{ element.calibrationDueDate | date }}\r\n \r\n \r\n Choose a date\r\n \r\n \r\n \r\n \r\n \r\n \r\n warning\r\n \r\n \r\n {{ element.calibrationDueDateChangedBy?.initials }}\r\n \r\n \r\n \r\n\r\n \r\n Model\r\n \r\n {{ element.radMeterModel?.name }}\r\n \r\n \r\n\r\n \r\n Type\r\n \r\n {{ element.radMeterType?.name }}\r\n \r\n \r\n\r\n \r\n Units\r\n \r\n {{ element.radMeterUnit?.name }}\r\n \r\n \r\n\r\n \r\n Source Reading\r\n \r\n {{\r\n element.sourceReading\r\n }}\r\n {{\r\n element.sourceReading ? element.sourceReading : space\r\n }}\r\n \r\n \r\n Source Reading\r\n \r\n \r\n \r\n \r\n {{ element.sourceReadingChangedBy?.initials }}\r\n \r\n \r\n \r\n\r\n \r\n Background Reading\r\n \r\n {{\r\n element.backgroundReading\r\n }}\r\n {{\r\n element.backgroundReading\r\n ? element.backgroundReading\r\n : space\r\n }}\r\n \r\n \r\n Background Reading\r\n \r\n \r\n \r\n \r\n {{ element.backgroundReadingChangedBy?.initials }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n
    \r\n \r\n delete\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n","import { Component, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { CalDueDateStatus, RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { FormStatusEnum, WFSaveOptions } from 'src/app/common/enumerations/enumerations';\r\nimport moment from 'moment';\r\nimport { css } from 'jquery';\r\nimport { cloneDeep } from 'lodash';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { SafeHtml } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'cl-rad-monitor-due-date',\r\n templateUrl: './cl-rad-monitor-due-date.component.html',\r\n styleUrls: ['./cl-rad-monitor-due-date.component.scss']\r\n})\r\nexport class ClRadMonitorDueDateComponent extends ClBaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n radMonitors?: RadMonitor[];\r\n radMonitorsList?: RadMonitor[];\r\n radMonitors$!: Observable;\r\n radMonitorsSubs!: Subscription;\r\n\r\n radLocations?: RadLocation[];\r\n radLocationsList?: RadLocation[];\r\n radLocationsFiltered?: RadLocation[];\r\n radLocations$!: Observable;\r\n radLocationsSubs!: Subscription;\r\n\r\n public dataSource: MatTableDataSource = new MatTableDataSource();\r\n public displayedColumns = ['ehs', 'locationType', 'location', 'description', 'dueDate'];\r\n\r\n globalStatus?: CalDueDateStatus;\r\n showWarning?: boolean;\r\n mode?: WFSaveOptions;\r\n questionSafe?: SafeHtml;\r\n\r\n saveEnabled?: boolean;\r\n valueObject?: any;\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.valueObject = this.utils.JSONparse(this.valueString);\r\n this.checked = this.valueObject?.checked;\r\n this.mode = this.valueObject?.mode;\r\n this.user = this.valueObject?.user;\r\n this.questionSafe = this.sanitize(this.question);\r\n this.loadRadLocations();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.radMonitorsSubs?.unsubscribe();\r\n this.radLocationsSubs?.unsubscribe();\r\n }\r\n\r\n loadRadLocations() {\r\n this.radLocations$ = this.store.select(state => state.RadLocation.data);\r\n this.radLocationsSubs = this.radLocations$.subscribe(data => {\r\n if (data?.length) {\r\n this.radLocations = data;\r\n this.loadRadMonitors();\r\n }\r\n });\r\n }\r\n\r\n loadRadMonitors() {\r\n this.radMonitors$ = this.store.select(state => state.RadMonitor.data);\r\n this.radMonitorsSubs = this.radMonitors$.subscribe(data => {\r\n if (data?.length) {\r\n this.radMonitors = data;\r\n this.loadData();\r\n }\r\n });\r\n }\r\n\r\n canModify() {\r\n return this.editor;\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.mode = this.checked ? WFSaveOptions.MANUAL : WFSaveOptions.AUTO;\r\n this.user = this.checked ? this.getCurrentUser() : null;\r\n this.saveData();\r\n if (!this.checked) {\r\n this.valueString = null;\r\n this.loadData();\r\n }\r\n }\r\n\r\n loadData() {\r\n if (this.configuration) {\r\n this.radMonitorsList = [];\r\n const radLocationsList = this.utils.JSONparse(this.configuration).data as RadLocation[];\r\n this.getRadMonitors(radLocationsList);\r\n // this.radMonitorsList?.sort((a, b) => this.utils.sort(a.ehs, b.ehs));\r\n this.dataSource = new MatTableDataSource(this.radMonitorsList);\r\n if (!this.disabled) this.checkStatus();\r\n }\r\n else {\r\n this.radMonitorsList = [];\r\n }\r\n }\r\n\r\n getRadMonitors(radLocationsList: RadLocation[]) {\r\n radLocationsList?.map(l => {\r\n var radMonitors: RadMonitor[] | undefined = [];\r\n if (this.editor || this.builder || (!this.disabled && (!this.valueString || this.valueObject.mode == WFSaveOptions.AUTO || (this.valueObject.mode == WFSaveOptions.MANUAL && this.checked)))) {\r\n\r\n radMonitors = this.radMonitors?.filter(x => x.radLocationID == l.id);\r\n this.saveEnabled = true;\r\n radMonitors?.map(r => {\r\n r.status = this.getStatus(r.calDueDate, r.status);\r\n r.cssClass = this.getCssClass(r.status);\r\n this.radMonitorsList?.push(r);\r\n });\r\n }\r\n else if (this.valueObject) {\r\n this.checked = this.valueObject.checked;\r\n this.radMonitorsList = this.valueObject.data;\r\n this.mode = this.valueObject.mode;\r\n this.radMonitorsList?.map(r => {\r\n r.radLocation = this.radLocations?.find(l => l.id == r.radLocationID);\r\n });\r\n this.user = this.valueObject.user;\r\n }\r\n });\r\n }\r\n\r\n getStatus(date?: Date | null, currentStatus?: CalDueDateStatus) {\r\n if (this.builder || this.editor || (!this.builder && !this.disabled)) {\r\n let status = CalDueDateStatus.Good;\r\n if (moment(date).isBefore(moment(new Date)))\r\n status = CalDueDateStatus.Expired;\r\n else if (moment(date).isBefore(moment(new Date).add(14, 'days')))\r\n status = CalDueDateStatus.CloseToExpire;\r\n return status;\r\n }\r\n else return currentStatus;\r\n }\r\n\r\n getCssClass(status?: CalDueDateStatus) {\r\n switch (status) {\r\n case CalDueDateStatus.Expired:\r\n return 'red';\r\n case CalDueDateStatus.CloseToExpire:\r\n return 'yellow';\r\n default:\r\n return 'green';\r\n }\r\n }\r\n\r\n checkStatus() {\r\n const checked = this.checked;\r\n if (this.radMonitorsList?.some(r => r.status == CalDueDateStatus.Expired)) {\r\n this.checked = false;\r\n this.user = null;\r\n this.showWarning = true;\r\n this.globalStatus = CalDueDateStatus.Expired;\r\n }\r\n else if (this.radMonitorsList?.some(r => r.status == CalDueDateStatus.CloseToExpire)) {\r\n if (!this.checked || this.user?.id == 1) {\r\n this.checked = false;\r\n this.user = null;\r\n }\r\n this.showWarning = true;\r\n this.globalStatus = CalDueDateStatus.CloseToExpire;\r\n }\r\n else {\r\n if (!this.checked) {\r\n this.checked = true;\r\n this.user = { id: -1, name: 'ASCC' };\r\n }\r\n this.showWarning = false;\r\n this.globalStatus = CalDueDateStatus.Good;\r\n }\r\n if (this.checked != checked && !this.builder && !this.editor && this.saveEnabled) {\r\n this.mode = WFSaveOptions.AUTO;\r\n this.saveData();\r\n this.saveEnabled = false;\r\n }\r\n }\r\n\r\n saveData() {\r\n const radMonitorsList: any[] = [];\r\n this.radMonitorsList?.map(r => {\r\n radMonitorsList.push(this.utils.Serialize(r));\r\n });\r\n const values = this.utils.JSONstringify({ data: radMonitorsList, checked: this.checked, user: this.user, isASCC: this.user?.id == -1, mode: this.mode });\r\n this.changed.emit(values);\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n EHS#\r\n \r\n {{ element.ehs }}\r\n \r\n \r\n\r\n \r\n \r\n Location Type\r\n \r\n \r\n {{ element.radLocation?.radLocationType?.name }}\r\n \r\n \r\n\r\n \r\n Location\r\n \r\n {{ element.radLocation?.name }}\r\n \r\n \r\n\r\n \r\n Description\r\n \r\n {{ element.description }}\r\n \r\n \r\n\r\n \r\n Calibration Due Date\r\n \r\n {{ element.calDueDate | date : \"shortDate\" }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport moment from 'moment';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { RadMonitorService } from 'src/app/components/catalogs/rad-monitor/services/rad-monitor.service';\r\nimport { RadNote } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-note';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-cl-rad-monitor',\r\n templateUrl: './cl-rad-monitor.component.html',\r\n styleUrls: ['./cl-rad-monitor.component.scss']\r\n})\r\nexport class ClRadMonitorComponent extends ClBaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n public radMonitorSubscription!: Subscription;\r\n\r\n public radMonitor?: RadMonitor;\r\n public radMonitors!: RadMonitor[];\r\n public radMonitorsFiltered!: RadMonitor[];\r\n public radMonitors$!: Observable;\r\n\r\n public valuesToSend: any[] = [];\r\n\r\n public faultNote!: RadNote;\r\n public calDueDateUpdatedBy?: User;\r\n public noteUpdatedBy!: User;\r\n\r\n public calDueDate?: Date | null;\r\n public calDueDateUpdatedOn!: Date;\r\n\r\n public changeoutReasonSelected!: string;\r\n\r\n radMonitorCtrl = new FormControl();\r\n\r\n outgoingMonitor?: RadMonitor | null;\r\n\r\n public changeoutReasons = [\r\n { label: 'Routine for Calibration', value: 'calibration' },\r\n { label: 'Monitor Failure.', value: 'failure' }\r\n ];\r\n\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private radMonitorService: RadMonitorService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = new FormGroup({\r\n radMonitorCtrl: this.radMonitorCtrl\r\n });\r\n if (this.disabled || this.checked) {\r\n this.formGroup.disable();\r\n }\r\n else {\r\n this.formGroup.enable();\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadOutgoingMonitor();\r\n }\r\n\r\n loadOutgoingMonitor() {\r\n this.radMonitorService.getOutgoingMonitor().subscribe(value => {\r\n this.outgoingMonitor = value;\r\n this.getValues();\r\n this.loadRadMonitors();\r\n });\r\n }\r\n\r\n displayObjectMon(obj: any): string {\r\n return obj ? obj.ehs : '';\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.radMonitorSubscription?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadRadMonitors(): void {\r\n this.radMonitors$ = this.store.select(state => state.RadMonitor.data);\r\n this.radMonitorSubscription = this.radMonitors$.subscribe(radMonitors => {\r\n if (!this.checked) {\r\n this.outgoingMonitor = radMonitors.find(x => x.id == this.outgoingMonitor?.id);\r\n this.radMonitors = radMonitors.filter(x => x.radLocation?.isEMShop && x.radLocation?.radLocationType?.id == this.outgoingMonitor?.radLocation?.radLocationType?.id && moment(x.calDueDate).isAfter(new Date())).sort((a, b) => this.utils.sort(a.ehs, b.ehs, true));\r\n this.radMonitorsFiltered = this.radMonitors;\r\n if (this.radMonitor)\r\n this.radMonitor = this.radMonitors.find(x => x.id == this.radMonitor?.id);\r\n }\r\n\r\n\r\n if (!this.radMonitor && this.checked) {\r\n this.calDueDate = null;\r\n this.radMonitorCtrl.setValue(null);\r\n if (this.getCurrentUser())\r\n this.answered.emit(false);\r\n }\r\n });\r\n }\r\n\r\n getRadMonitorById(id: number): RadMonitor | undefined {\r\n return this.radMonitors?.find(x => x.id === id);\r\n }\r\n\r\n radMonitorSelected(radMonitorSelected: RadMonitor) {\r\n this.addUpdateValues('monitorId', radMonitorSelected.id);\r\n this.addUpdateValues('locationId', radMonitorSelected.radLocationID);\r\n this.addUpdateValues('prevLocationId', radMonitorSelected.radLocationID);\r\n this.addUpdateValues('monitor', radMonitorSelected);\r\n this.save.emit({ text: JSON.stringify(this.valuesToSend), hasRefresh: true });\r\n }\r\n\r\n dateChanged() {\r\n if (typeof this.radMonitor?.calDueDate === 'string') { this.radMonitor.calDueDate = new Date(this.radMonitor.calDueDate); }\r\n this.radMonitor?.calDueDate?.setHours(0, 0, 0, 0);\r\n this.calDueDate?.setHours(0, 0, 0, 0);\r\n if (this.radMonitor?.calDueDate?.getTime() !== this.calDueDate?.getTime()) {\r\n const dialogConfig = new MatDialogConfig();\r\n dialogConfig.data = {\r\n message: this.getMessage('RadMonitorComponent_SureToOverwrite').description\r\n };\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, dialogConfig);\r\n dialogRef.afterClosed().toPromise().then(data => {\r\n if (data && this.radMonitor) {\r\n this.radMonitor.calDueDate = this.calDueDate;\r\n this.updateCalDueDate(this.radMonitor);\r\n } else {\r\n this.calDueDate = this.radMonitor?.calDueDate;\r\n }\r\n });\r\n }\r\n }\r\n\r\n updateCalDueDate(radMonitorToSave: RadMonitor) {\r\n if (radMonitorToSave.id)\r\n this.radMonitorService.UpdateRadMonitor(radMonitorToSave.id, radMonitorToSave).toPromise()\r\n .then(() => {\r\n this.addUpdateValues('calDueDateUpdatedBy', this.getCurrentUser());\r\n this.addUpdateValues('calDueDateUpdatedOn', new Date());\r\n this.save.emit(JSON.stringify(this.valuesToSend));\r\n this.alert.message('RadMonitorComponent_CalDueDateUpdated');\r\n })\r\n .catch(() => {\r\n this.alert.defaultError();\r\n });\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n getValues() {\r\n this.initials = this.user ? this.user.initials : '';\r\n this.valuesToSend = this.utils.JSONparse(this.valueString);\r\n this.calDueDateUpdatedBy = this.valuesToSend?.find(x => x.key === 'calDueDateUpdatedBy')?.val;\r\n this.calDueDateUpdatedOn = this.valuesToSend?.find(x => x.key === 'calDueDateUpdatedOn')?.val;\r\n this.radMonitor = this.valuesToSend?.find(x => x.key === 'monitor')?.val;\r\n this.radMonitorCtrl.setValue(this.radMonitor);\r\n if (this.radMonitor) {\r\n this.calDueDate = this.radMonitor.calDueDate;\r\n this.radMonitorService.setIncomingMonitor(this.radMonitor);\r\n }\r\n }\r\n\r\n addUpdateValues(key: string, val: any) {\r\n if (!this.valuesToSend) { this.valuesToSend = []; }\r\n if (this.valuesToSend.some(x => x.key === key)) {\r\n const valueIndex = this.valuesToSend.map(x => x.key).indexOf(key);\r\n this.valuesToSend.splice(valueIndex, 1, { key, val });\r\n } else {\r\n this.valuesToSend.push({ key, val });\r\n }\r\n }\r\n\r\n displayRadMonitorName(radMonitor: RadMonitor) {\r\n return radMonitor && radMonitor.ehs ? radMonitor.ehs : '';\r\n }\r\n\r\n filterRadMonitor(e: any) {\r\n const text = e.target.value;\r\n this.radMonitorsFiltered = this.radMonitors.filter(x => x.ehs?.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n saveData() {\r\n\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Incoming Monitor\r\n \r\n \r\n \r\n {{ radMonitor.ehs }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Cal Due Date\r\n \r\n \r\n \r\n \r\n
    \r\n Last updated by\r\n {{ calDueDateUpdatedBy.initials }}\r\n on\r\n {{\r\n calDueDateUpdatedOn | date : \"short\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Injector, OnInit, OnChanges } from '@angular/core';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\n\r\n@Component({\r\n selector: 'cl-radio-placeholder-cond',\r\n templateUrl: './cl-radio-placeholder-cond.component.html',\r\n styleUrls: ['./cl-radio-placeholder-cond.component.scss']\r\n})\r\nexport class ClRadioPlaceholderCondComponent extends ClBaseComponent implements OnInit {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private placeholderService: PlaceholdersService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n if (!this.editor && !this.builder && this.checklist?.checklistStatus?.formStatusID != FormStatusEnum.Canceled) {\r\n this.placeholderService.keyValuePairsObservable.subscribe(data => {\r\n if (this.checked && this.disabled) this.setValues();\r\n else this.placeHolderSelection();\r\n });\r\n }\r\n }\r\n\r\n setValues() {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n this.radioOptions?.map(o => o.checked = o.id == this.radioSelection);\r\n }\r\n\r\n placeHolderSelection() {\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n const placeholder = configuration?.placeholder;\r\n const value = this.placeholderService.getValue(placeholder);\r\n if (value != 'No value Set!') {\r\n if (!isNaN(value)) {\r\n this.radioOptions?.map(o => {\r\n if (o.operator) {\r\n const result = this.utils.compareNumbers(value, o.value, o.operator);\r\n if (result && !o.checked) {\r\n if (o.id != this.radioSelection) {\r\n this.radioSelected.emit(o.id);\r\n }\r\n }\r\n o.checked = result;\r\n }\r\n });\r\n if (!this.checked) {\r\n this.checked = !this.unselected();\r\n this.answered.emit(this.checked);\r\n }\r\n }\r\n else {\r\n if (this.checked) {\r\n this.checked = false;\r\n if (this.getCurrentUser())\r\n this.answered.emit(this.checked);\r\n }\r\n }\r\n }\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n radioChange(e: any) {\r\n this.radioSelected.emit(e.id);\r\n this.radioSelection = e.id;\r\n this.checked = true;\r\n this.radioOptions?.map(x => x.checked = x.id == this.radioSelection);\r\n }\r\n\r\n unselected() {\r\n return !this.radioOptions?.map(r => r.checked).includes(true);\r\n }\r\n\r\n setRadio(value: any) {\r\n this.radioOptions?.map(r => {\r\n r.checked = r.value == value;\r\n });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n 0\"\r\n >\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { RestrictionService } from 'src/app/controls/restrictions/services/restriction.service';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { Document } from 'src/app/services/documents/documents';\r\n\r\n@Component({\r\n selector: 'cl-restrictions',\r\n templateUrl: './cl-restrictions.component.html',\r\n styleUrls: ['./cl-restrictions.component.scss']\r\n})\r\nexport class ClRestrictionsComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n documents!: string;\r\n\r\n resource?: Resource;\r\n resources!: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n task?: WfTaskLocalResource;\r\n manual!: boolean;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: RestrictionService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.resourcesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n async ngOnChanges(changes: SimpleChanges): Promise {\r\n if (changes['valueString'] || changes['configuration'] || changes['disabled']) {\r\n this.loadResources();\r\n this.loadData();\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data;\r\n }\r\n });\r\n }\r\n\r\n loadData() {\r\n const { val: locationID } = this.utils.JSONparse(this.configuration);\r\n this.resource = this.resources?.find(x => x.id == locationID);\r\n const wfSectionLocal = this.checklist?.wfTable?.wfTableLocal?.wfSectionLocals.find(s => s.wfStepLocals?.some(t => t.wfTaskLocals.some(x => x.id === this.taskID)));\r\n const wfStepLocal = wfSectionLocal?.wfStepLocals?.find(s => s.wfTaskLocals.filter(x => x.id == this.taskID).length > 0);\r\n this.task = wfStepLocal?.wfTaskLocals?.find(x => x.id == this.taskID);\r\n const val = this.utils.JSONparse(this.valueString);\r\n this.checked = val?.user != null;\r\n this.manual = val?.manualCheck;\r\n this.documents = val?.documents;\r\n if (val?.user) {\r\n this.user = val.user === -1\r\n ? { id: val.user, name: 'ASCC', initials: 'ASCC' }\r\n : this.getUsers()?.find(u => u.id === val.user);\r\n if (!val.manualCheck)\r\n this.disabled = val.user === -1;\r\n }\r\n if (this.checked && !wfStepLocal?.wfStepStatusLocals?.filter(x => x.enabled || !x.hidden).map(x => x.status).includes(this.checklist?.status)) {\r\n this.displayInfo();\r\n }\r\n else {\r\n if (locationID && !val?.manualCheck && !this.disabled) {\r\n this.getRestrictions();\r\n }\r\n }\r\n }\r\n\r\n getRestrictions() {\r\n const { val: locationID } = this.utils.JSONparse(this.configuration);\r\n this.service.CheckByLocationID(locationID).toPromise().then(data => {\r\n if (data) {\r\n this.displayInfo(data);\r\n if (!this.editor && !this.builder) {\r\n this.checked = !data.length;\r\n this.disabled = !data.length;\r\n if (this.checked) {\r\n this.setValues(!data.length ? -1 : null);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n reset() {\r\n this.manual = false;\r\n this.checkboxChanged({ checked: false });\r\n }\r\n\r\n displayInfo(documents: Document[] | null | undefined = null) {\r\n if (documents) {\r\n this.documents = documents.map(x => x.serialNo).join(', ');\r\n this.warning = documents.length > 0;\r\n }\r\n this.moreInfo = this.documents;\r\n }\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n if (this.checked && this.warning) {\r\n this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: this.getMessage('RestrictionsDocuments_Warning').description.replace('{location}', this.resource?.name ?? '').replace('{documents}', this.moreInfo ?? ''),\r\n icon: 'stop',\r\n labelButtonCancel: 'Cancel',\r\n labelButtonAccept: 'Continue',\r\n changeButtonLabels: true\r\n },\r\n }).afterClosed().subscribe(data => {\r\n if (data) {\r\n this.setValues(this.getCurrentUser()?.id);\r\n }\r\n else {\r\n this.checked = false;\r\n this.loadData();\r\n }\r\n });\r\n }\r\n else if (this.checked) {\r\n this.setValues(this.getCurrentUser()?.id);\r\n }\r\n else {\r\n this.setValues();\r\n }\r\n }\r\n\r\n setValues(userID?: number | null) {\r\n const valueString = this.utils.JSONstringify({ documents: this.documents, user: userID, manualCheck: (userID && userID != -1) });\r\n if (this.valueString != valueString) {\r\n this.save.emit({ text: valueString, sign: { checked: this.checked, isASCC: userID == -1 } });\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n {{ resource?.name?.trim() }} \r\n \r\n
    \r\n
    \r\n This checkbox was manually ' +\r\n (this.checked ? 'Checked' : 'Unchecked') +\r\n '
    [Click to Reset!]
    '\r\n \"\r\n toolTipClass=\"accent-tooltip\"\r\n toolTipPosition=\"left\"\r\n >\r\n\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, EventEmitter, Output, Input, ChangeDetectorRef, OnDestroy, AfterViewInit, OnChanges, Injector } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport { ScheduleTypeService } from 'src/app/components/schedules/services/schedule-type.service';\r\nimport { ScheduleService } from 'src/app/components/schedules/services/schedule.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { RadMetersUnitsDetailsComponent } from '../../../components/catalogs/meters-catalog/rad-meters-units/rad-meters-units-details/rad-meters-units-details.component';\r\nimport { ScheduleStatusEnum } from 'src/app/components/schedules/models/enums';\r\n\r\n@Component({\r\n selector: 'cl-schedule-absi',\r\n templateUrl: './cl-schedule-absi.component.html',\r\n styleUrls: ['./cl-schedule-absi.component.scss']\r\n})\r\nexport class ClScheduleAbsiComponent extends ClBaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {\r\n\r\n adding!: boolean;\r\n type!: number;\r\n scheduleTypes$!: Observable;\r\n scheduleTypes!: ScheduleType[];\r\n location!: Schedule;\r\n locations: Schedule[] = [];\r\n filteredLocations!: Schedule[];\r\n locationCtrl = new FormControl();\r\n\r\n subscription!: Subscription;\r\n\r\n schedules?: Schedule[];\r\n schedulesFiltered?: Schedule[];\r\n schedules$!: Observable;\r\n schedulesSubs!: Subscription;\r\n\r\n comments!: string;\r\n /*--------------------------------*/\r\n\r\n editing!: boolean;\r\n public schedule!: Schedule;\r\n\r\n scheduleName?: string;\r\n\r\n checkboxChanged() {\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.subscription?.unsubscribe();\r\n this.schedulesSubs?.unsubscribe();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n if (this.configuration) {\r\n this.subscription = this.scheduleTypes$.subscribe(async data => {\r\n const st = this.utils.JSONparse(this.configuration);\r\n this.type = st.scheduleType;\r\n this.scheduleName = data.find(x => x.id == this.type)?.name;\r\n this.loadSchedules();\r\n });\r\n }\r\n }\r\n\r\n loadSchedules() {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.subscribe(data => {\r\n if (data?.length) {\r\n this.schedules = data.filter(s => s.typeId == this.type && s.isActive && s.statusId != ScheduleStatusEnum.completed && s.statusId != ScheduleStatusEnum.remove);\r\n this.filterLocations();\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges() {\r\n this.ngAfterViewInit();\r\n this.initials = this.user ? this.user.initials : '';\r\n this.setValues();\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n setValues() {\r\n this.valueObjects = this.getValueObjects(this.textValue);\r\n if (this.valueObjects) {\r\n this.comments = this.valueObjects?.find(x => x.key == 'comments').val;\r\n this.locations = this.valueObjects?.find(x => x.key == 'locations').val;\r\n }\r\n }\r\n\r\n textChanged(e: string) {\r\n this.comments = e;\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n getValues() {\r\n this.valueObjects = [];\r\n this.valueObjects.push({ key: 'comments', val: this.comments });\r\n this.valueObjects.push({ key: 'locations', val: this.locations });\r\n return this.valueObjects;\r\n }\r\n\r\n addLocation() {\r\n this.adding = true;\r\n }\r\n\r\n filterLocations() {\r\n const locations: any[] = [];\r\n this.schedules?.map(s => {\r\n s.name = s.scheduleResources.map(x => x.resource ? x.resource.name : x.resourceString ? x.resourceString : null).join(', ');\r\n if (!this.locations.map(x => x.id).includes(s.id)) {\r\n locations.push(s);\r\n }\r\n });\r\n this.filteredLocations = locations.sort((a, b) => this.utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n }\r\n\r\n onLocationChange() {\r\n this.filterLocations();\r\n this.filteredLocations = this.filteredLocations.filter(loc => loc.name?.toLowerCase().includes(this.locationCtrl.value.toLowerCase()));\r\n }\r\n\r\n selectedLocation(event: MatAutocompleteSelectedEvent) {\r\n const locations = this.locations;\r\n this.location = event.option.value;\r\n locations.push(this.location);\r\n this.locations = locations.sort((a, b) => this.utils.SortBeamlines(a.name, b.name));\r\n this.locationCtrl.setValue(null);\r\n this.adding = false;\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n displayLocation(loc: any) {\r\n return loc.name;\r\n }\r\n\r\n endAdding() {\r\n this.adding = false;\r\n }\r\n\r\n delete(location: Schedule) {\r\n this.locations.splice(this.locations.findIndex(l => l.id == location.id), 1);\r\n this.saveValues(this.getValues());\r\n }\r\n\r\n due(date?: Date) {\r\n let expired = false;\r\n if (date) {\r\n const today = new Date();\r\n const next = new Date(date);\r\n const due = new Date(next.getFullYear(), next.getMonth(), next.getDate());\r\n expired = due <= today;\r\n this.moreInfo = expired ? 'Date expired' : null;\r\n }\r\n return expired;\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ title }}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n  \r\n \r\n
    \r\n \r\n \r\n add\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Location\r\n \r\n \r\n \r\n {{ location.name }}\r\n \r\n \r\n \r\n close\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n  \r\n \r\n delete\r\n
    \r\n
    \r\n Last Completed Date:\r\n   
    \r\n Next Inspection Due Date:\r\n   \r\n \r\n
    \r\n Extended Date:\r\n  
    \r\n \r\n warning\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {{\r\n initials\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Input, OnDestroy, AfterViewInit, SimpleChanges, OnChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { Schedule } from 'src/app/components/schedules/models/schedule';\r\nimport { ScheduleType } from 'src/app/components/schedules/models/schedule-type';\r\nimport moment from 'moment';\r\n\r\n\r\n@Component({\r\n selector: 'cl-schedule-and-checkbox',\r\n templateUrl: './cl-schedule-and-checkbox.component.html',\r\n styleUrls: ['./cl-schedule-and-checkbox.component.scss']\r\n})\r\nexport class ClScheduleAndCheckboxComponent extends ClBaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {\r\n\r\n @Input() scheduleTypeId?: number;\r\n @Input() locationName?: string | null;\r\n\r\n editing!: boolean;\r\n\r\n scheduleName?: string;\r\n\r\n scheduleType?: ScheduleType;\r\n scheduleTypes?: ScheduleType[];\r\n scheduleTypesFiltered?: ScheduleType[];\r\n scheduleTypes$!: Observable;\r\n scheduleTypesSubs!: Subscription;\r\n\r\n schedule?: Schedule;\r\n schedules?: Schedule[];\r\n schedulesFiltered?: Schedule[];\r\n schedules$!: Observable;\r\n schedulesSubs!: Subscription;\r\n\r\n subscription1!: Subscription;\r\n subscription2!: Subscription;\r\n\r\n checkboxChanged(e: any) {\r\n this.checked = e.checked;\r\n this.answered.emit(this.checked);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.ngAfterViewInit();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.subscription1 = this.scheduleTypes$.subscribe(data => {\r\n const scheduleType = data.find(x => x.id == this.scheduleTypeId);\r\n this.scheduleName = scheduleType?.acronym;\r\n });\r\n\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.subscription2 = this.schedules$.subscribe(data => {\r\n this.schedules = data.filter(x => x.statusId != 2 && x.typeId == this.scheduleTypeId);\r\n this.schedule = this.schedules.find(x => x.scheduleResources.map(r => r.id).includes(this.scheduleResourceId));\r\n this.locationName = this.locationName ? this.locationName : this.schedule?.scheduleResources.find(x => x.id == this.scheduleResourceId)?.resource?.name;\r\n this.warning = moment(this.schedule?.expireDate).isBefore(new Date);\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n textChanged() {\r\n this.editing = false;\r\n this.changed.emit(this.textValue);\r\n }\r\n\r\n loadSchedules() {\r\n this.schedules$ = this.store.select(state => state.Schedules.data);\r\n this.schedulesSubs = this.schedules$.subscribe(data => {\r\n if (data?.length) {\r\n this.schedules = data;\r\n }\r\n });\r\n }\r\n\r\n loadScheduleTypes() {\r\n this.scheduleTypes$ = this.store.select(state => state.ScheduleTypes.data);\r\n this.scheduleTypesSubs = this.scheduleTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.scheduleTypes = data;\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n
    \r\n \r\n   \r\n \r\n   \r\n
    \r\n
    \r\n Last Completed Date:\r\n   \r\n Next Inspection Due Date:\r\n   \r\n \r\n Extended Date:\r\n  \r\n \r\n
    \r\n
    \r\n {{ moreInfo }}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Resource, ResourceRelation } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { RoleOption, Shielding } from 'src/app/components/checklists/checklists';\r\n\r\n@Component({\r\n selector: 'cl-shieldings',\r\n templateUrl: './cl-shieldings.component.html',\r\n styleUrls: ['./cl-shieldings.component.scss']\r\n})\r\nexport class ClShieldingsComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Output() checkShared = new EventEmitter();\r\n\r\n shieldings?: Shielding[];\r\n shieldingsToDisplay?: Shielding[];\r\n shielding0?: Shielding;\r\n\r\n roles: Role[] = [];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n resource?: Resource = new Resource;\r\n resources: Resource[] = [];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n resourceMap = new Map();\r\n\r\n resourceRelations: ResourceRelation[] = [];\r\n resourceRelationsFiltered: ResourceRelation[] = [];\r\n resourceRelations$!: Observable;\r\n resourceRelationsSubs: Subscription = new Subscription;\r\n resourceRelationsMap = new Map();\r\n\r\n lastCheckedTime: number | null = null;\r\n saveDelay = 2000; // 2 seconds\r\n defaultSaveDelay = 2000;\r\n saveTimer: ReturnType | null = null;\r\n\r\n shieldingUpdates: ShieldingUpdateResource[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ChecklistsService\r\n ) {\r\n super(injector);\r\n }\r\n override ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n this.resourcesSubs?.unsubscribe();\r\n this.resourceRelationsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.loadRoles();\r\n this.loadResources();\r\n if (this.builder || this.editor) {\r\n if ((changes['configuration'] || changes['options'])) {\r\n this.loadShieldingsFromConfiguration();\r\n this.createShielding0();\r\n }\r\n }\r\n else {\r\n if (changes['valueString']) {\r\n if (this.signature && this.service.savingShieldings && this.service.savingTaskID == this.signature.id && this.signature?.wfTaskLocal?.updatedByID != this.currentUser?.id) {\r\n this.shieldingsToDisplay = this.service.savingShieldings;\r\n }\r\n else if (this.valueString != null)\r\n this.loadShieldingsFromValueString();\r\n else {\r\n this.loadShieldingsFromConfiguration();\r\n this.createShielding0();\r\n }\r\n }\r\n }\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n });\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.resources.map(resource => this.resourceMap.set(resource.id, resource));\r\n this.loadResourceRelations();\r\n }\r\n });\r\n }\r\n\r\n loadResourceRelations() {\r\n this.resourceRelations$ = this.store.select(state => state.ResourceRelations.data);\r\n this.resourceRelationsSubs = this.resourceRelations$.subscribe(data => {\r\n if (data.length) {\r\n this.resourceRelations = data;\r\n this.resourceRelations.map(resourceRelation => this.resourceRelationsMap.set(resourceRelation.id, resourceRelation));\r\n }\r\n });\r\n }\r\n\r\n loadValues() {\r\n if (this.resources?.length && this.resourceRelations?.length)\r\n if (this.valueString)\r\n this.loadShieldingsFromValueString();\r\n else\r\n this.loadShieldingsFromConfiguration();\r\n }\r\n\r\n loadShieldingsFromValueString() {\r\n this.service.savingShieldings = null;\r\n this.service.savingTaskID = null;\r\n\r\n if (!this.shieldings) {\r\n const allShieldings = utils.JSONparse(this.valueString) as Shielding[];\r\n this.shielding0 = allShieldings.find(s => s.id === 0);\r\n if (!this.shielding0) { this.createShielding0(); }\r\n const users = this.getUsers();\r\n if (allShieldings.length) {\r\n allShieldings.map(s => {\r\n const resource = this.resourceMap.get(this.resourceRelationsMap.get(s.id)?.childResourceID);\r\n if (resource) s.resource = resource;\r\n s.isShared = (s.resource?.parentResources?.length ?? 0) > 1;\r\n s.roleOptions?.map(o => {\r\n o.user = o.user ? o.user : users?.find(u => u.id === o.userID);\r\n o.disabled = this.checkboxDisabled(o, s);\r\n });\r\n s.waiting = false;\r\n });\r\n const shieldings = allShieldings.filter(s => s.id != 0);\r\n this.shieldings = shieldings;\r\n this.shielding0?.roleOptions?.map(o => o.disabled = this.checkboxDisabled(o, this.shielding0));\r\n this.shieldingsToDisplay = this.utils.cloneDeep(this.shieldings);\r\n }\r\n else { this.loadShieldingsFromConfiguration(); }\r\n }\r\n }\r\n\r\n loadShieldingsFromConfiguration() {\r\n const configuration: ShieldingConfiguration = utils.JSONparse(this.configuration);\r\n const resourceID = configuration?.location;\r\n if (resourceID) {\r\n this.resource = this.resources?.find(r => r.id == resourceID);\r\n const parent = this.resource?.parentResources?.find(x => x.parentResourceType == ResourceType.Accelerator);\r\n const parentResource = this.resources?.find(x => x.id == parent?.parentResourceID);\r\n this.shieldings = parentResource?.childResources?.filter(s => s.childResourceType == ResourceType.Shielding && s.childResource?.checkboxVisible && utils.JSONparse(s.locationsIDs).includes(this.resource?.id))\r\n .filter(x => !configuration.longShutdown ? !x.childResource?.longShutdown : true)\r\n .filter(x => !configuration.inTunnel ? !x.childResource?.inTunnel : x.childResource?.inTunnel)\r\n .sort((a, b) => this.utils.sort(a.position, b.position))\r\n .map(r => {\r\n return { id: r.id, resourceID: r.childResource?.id, resource: r.childResource, roleOptions: this.getRoleOptions() } as Shielding;\r\n });\r\n this.shieldings?.map(s => {\r\n s.resource = this.resourceMap.get(this.resourceRelationsMap.get(s.id)?.childResourceID) as Resource;\r\n s.isShared = (this.resource?.parentResources?.length ?? 0) > 1;\r\n s.roleOptions?.map(o => {\r\n o.disabled = this.checkboxDisabled(o, s);\r\n });\r\n });\r\n this.shieldingsToDisplay = this.utils.cloneDeep(this.shieldings);\r\n }\r\n }\r\n\r\n createShielding0() {\r\n this.shielding0 = { id: 0, resourceID: 0, resource: { id: 0, type: 0 }, roleOptions: this.getRoleOptions() };\r\n this.shielding0?.roleOptions?.map(o => {\r\n o.disabled = this.checkboxDisabled(o, this.shielding0);\r\n });\r\n }\r\n\r\n getRoleOptions() {\r\n const options = utils.cloneDeep(this.options) as RoleOption[];\r\n options?.map(o => {\r\n if (!o.roleCodes) {\r\n o.roleCodes = this.roles.filter(x => o.roleIDs?.includes(x.id))?.map(r => r.code).join('/');\r\n }\r\n });\r\n return options;\r\n }\r\n\r\n checkboxChanged(e: any, id?: number, sid: number | null = null) {\r\n this.service.savingTaskID = this.signature?.id;\r\n\r\n this.saveDelay = this.defaultSaveDelay;\r\n const currentUser = this.getCurrentUser(true) as User;\r\n currentUser.userRole = [];\r\n if (sid) {\r\n const shieldingToDisplay = this.shieldingsToDisplay?.find(s => s.id == sid);\r\n if (shieldingToDisplay) {\r\n shieldingToDisplay.waiting = true;\r\n // this.cdRef.detectChanges();\r\n }\r\n this.shieldingUpdates.push({ id: 0, optionID: id, checked: false, userID: 0 } as ShieldingUpdateResource);\r\n this.shieldingUpdates.push({ id: sid, optionID: id, checked: e.checked, userID: this.currentUser?.id } as ShieldingUpdateResource);\r\n this.service.savingShieldings = this.shieldingsToDisplay;\r\n this.saveData();\r\n }\r\n else {\r\n this.checkAll(id, e.checked);\r\n }\r\n }\r\n\r\n checkAll(id?: number, checked?: boolean) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage(checked ? 'ChecklistShieldingCheckAllConfirmation' : 'ChecklistShieldingUncheckAllConfirmation').description,\r\n icon: 'stop'\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n this.service.savingTaskID = this.signature?.id;\r\n\r\n const option0 = this.shielding0?.roleOptions?.find(o => o.id == id);\r\n if (data && option0) {\r\n this.shieldingUpdates = [];\r\n this.shieldingUpdates.push({ id: 0, optionID: id, checked, userID: this.currentUser?.id } as ShieldingUpdateResource);\r\n this.shieldings?.map(shielding => {\r\n const shieldingToDisplay = this.shieldingsToDisplay?.find(s => s.id == shielding?.id);\r\n if (shieldingToDisplay)\r\n shieldingToDisplay.waiting = true;\r\n this.service.savingShieldings = this.shieldingsToDisplay;\r\n\r\n const shieldingUpdate = { id: shielding.id, optionID: id, checked, userID: this.currentUser?.id } as ShieldingUpdateResource;\r\n this.shieldingUpdates.push(shieldingUpdate);\r\n });\r\n this.saveData();\r\n }\r\n else {\r\n this.loadShieldingsFromValueString();\r\n }\r\n });\r\n }\r\n\r\n checkboxDisabled(o: RoleOption, s?: Shielding) {\r\n const currentUser = this.getCurrentUser(true) as User;\r\n if (currentUser) {\r\n if ((s?.id ?? -1) >= 0) {\r\n const userSignedOption = s?.roleOptions?.find(o => o.userID == currentUser?.id);\r\n if (o.id == userSignedOption?.id) {\r\n return false;\r\n }\r\n if (userSignedOption) {\r\n return true;\r\n }\r\n if (!utils.intersect(o.roleIDs, currentUser.userRole?.map(r => r.roleID))) {\r\n return true;\r\n }\r\n if (this.shielding0?.roleOptions?.find(r => r.userID == currentUser.id)) {\r\n const id = this.shielding0?.roleOptions?.find(r => r.userID == currentUser.id)?.id;\r\n return o.id != id;\r\n }\r\n if (s?.id == 0) {\r\n const otherOptionsChecked = this.shieldings?.some(sh =>\r\n sh.roleOptions?.some(ro => ro.checked && ro.id != o.id && ro.userID == currentUser.id)\r\n );\r\n if (otherOptionsChecked) { return true; }\r\n }\r\n return (o.checked && o.userID) ? o.userID != currentUser.id : false;\r\n }\r\n else {\r\n if (o.userID == currentUser.id) {\r\n return false;\r\n }\r\n const otherOptionsChecked = this.shieldings?.some(sh =>\r\n sh.roleOptions?.some(ro => ro.checked && ro.id != o.id && ro.userID == currentUser.id)\r\n );\r\n if (otherOptionsChecked) { return true; }\r\n const roleAllowed = utils.intersect(o.roleIDs, currentUser.userRole?.map(r => r.roleID));\r\n if (roleAllowed && !o.checked) { return false; }\r\n return true;\r\n }\r\n }\r\n else { return true; }\r\n }\r\n\r\n saveData() {\r\n this.lastCheckedTime = Date.now();\r\n if (this.saveTimer) {\r\n clearTimeout(this.saveTimer);\r\n }\r\n if (this.lastCheckedTime) {\r\n this.saveTimer = setTimeout(() => {\r\n if (this.shieldingUpdates.length) {\r\n this.save.emit({ text: JSON.stringify(this.shieldingUpdates), hasRefresh: false });\r\n this.shieldingUpdates = [];\r\n this.saveTimer = null;\r\n }\r\n }, this.saveDelay);\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\nexport class ShieldingConfiguration {\r\n location?: number;\r\n longShutdown?: boolean;\r\n inTunnel?: boolean;\r\n}\r\n\r\nexport interface ShieldingUpdateResource {\r\n id: number;\r\n optionID: number;\r\n checked: boolean;\r\n userID: number;\r\n}","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ number ?? \"#\" }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n \r\n\r\n \r\n \r\n
    \r\n
    {{ (number ?? \"#\") + \".\" + (i + 1) }}
    \r\n
    \r\n
    \r\n \r\n {{ s.resource?.name }}\r\n \r\n {{ s.resource?.keText }}\r\n Shared\r\n
    \r\n \r\n \r\n warning\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n\r\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, OnDestroy, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { config, Observable, Subscription } from 'rxjs';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { FormStatusEnum, NotificationType } from 'src/app/common/enumerations/enumerations';\r\nimport { Checklist, ChecklistTemplate, Annotation, ChecklistExecStatus, AnnotationStatus, SaveChecklistStatusResource } from 'src/app/components/checklists/checklists';\r\nimport { ChecklistsService } from 'src/app/components/checklists/checklists.service';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { map } from 'rxjs/operators';\r\nimport { NotificationTemplate } from 'src/app/components/catalogs/notifications/services/notification-template';\r\nimport { NotificationComponent } from '../../notifications/notification.component';\r\nimport { NotificationMessage } from 'src/app/components/catalogs/notifications/services/notification.models';\r\nimport { NotificationService } from 'src/app/components/catalogs/notifications/services/notification.service';\r\n\r\n@Component({\r\n selector: 'cl-status-change',\r\n templateUrl: './cl-status-change.component.html',\r\n styleUrls: ['./cl-status-change.component.scss']\r\n})\r\nexport class ClStatusChangeComponent extends ClBaseComponent implements OnInit, OnChanges, OnDestroy {\r\n\r\n @Input() currentChecklistTemplate?: ChecklistTemplate;\r\n @Output() loading = new EventEmitter();\r\n\r\n currentChecklist?: Checklist;\r\n\r\n totalAnnotations!: number;\r\n activeAnnotations!: number;\r\n\r\n annotations!: Annotation[];\r\n annotations$!: Observable;\r\n annotationsSubs!: Subscription;\r\n\r\n clStatus?: ChecklistExecStatus;\r\n statusId!: number;\r\n statuses?: ChecklistExecStatus[];\r\n\r\n rolesToNotify?: Role[];\r\n roleCodesToNotify?: string;\r\n roles?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n notificationTemplate?: NotificationTemplate;\r\n notificationTemplates$!: Observable;\r\n notificationTemplatesSubs!: Subscription;\r\n\r\n notificationMessage?: NotificationMessage;\r\n toAddresses?: string[];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: ChecklistsService,\r\n private notificationService: NotificationService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.annotationsSubs?.unsubscribe();\r\n this.rolesSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadRoles();\r\n this.currentChecklist = this.checklist as Checklist;\r\n const configuration = this.utils.JSONparse(this.configuration);\r\n this.statusId = configuration?.status;\r\n this.roleIds = configuration?.roles;\r\n this.rolesToNotify = this.roles?.filter(r => this.roleIds?.includes(r.id));\r\n this.roleCodesToNotify = this.rolesToNotify?.map(r => r.code).join(', ');\r\n\r\n if (this.currentChecklist?.checklistTemplate) {\r\n this.currentChecklistTemplate = this.currentChecklist.checklistTemplate;\r\n }\r\n this.statuses = this.currentChecklistTemplate?.documentType?.checklistExecStatuses;\r\n this.clStatus = this.statuses?.find(x => x.id == this.statusId);\r\n this.loadAnnotations();\r\n if (this.rolesToNotify?.length)\r\n this.loadNotificationTemplates();\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data?.length) {\r\n this.roles = data;\r\n }\r\n });\r\n }\r\n\r\n loadAnnotations() {\r\n this.annotations$ = this.store.select(state => state.Annotations.data);\r\n this.annotationsSubs = this.annotations$.subscribe(data => {\r\n if (this.currentChecklist) {\r\n this.annotations = data.filter(x => x.checklistID == this.currentChecklist?.id);\r\n this.activeAnnotations = this.annotations?.filter(x => x.status == AnnotationStatus.Active).length;\r\n this.totalAnnotations = this.annotations?.filter(x => x.checklistID == this.currentChecklist?.id).length;\r\n }\r\n });\r\n }\r\n\r\n loadNotificationTemplates() {\r\n this.notificationTemplates$ = this.store.select(state => state.NotificationTemplates.data);\r\n this.notificationTemplatesSubs = this.notificationTemplates$.subscribe(async data => {\r\n if (data?.length) {\r\n this.notificationTemplate = data.find(n => n.type == NotificationType.ChecklistStatusChange);\r\n const notificationMessage = await this.notificationService.getNotification(25, this.currentChecklist?.id ?? 0, [], this.statusId.toString()).toPromise().catch(error => console.log(error));\r\n if (notificationMessage && notificationMessage.toAddresses.includes('<')) {\r\n this.notificationMessage = notificationMessage;\r\n const emlObj = JSON.parse(notificationMessage.toAddresses);\r\n this.toAddresses = emlObj.computed;\r\n }\r\n else this.createNotification();\r\n }\r\n });\r\n }\r\n\r\n createNotification() {\r\n if (this.rolesToNotify?.length) {\r\n this.toAddresses = this.users.filter(u => this.utils.intersect(this.rolesToNotify?.map(r => r.id), u.userRole?.map(ur => ur.roleID))).map(u => `${u.name} <${u.emailAddress}>`);\r\n const messageBody = this.notificationTemplate?.messageBody\r\n .replaceAll('{serialNo}', this.currentChecklist?.serialNo ?? '')\r\n .replaceAll('{statusName}', this.clStatus?.name ?? '');\r\n\r\n this.notificationMessage = {\r\n serialNo: this.currentChecklist?.serialNo,\r\n notificationId: 0,\r\n documentId: this.currentChecklist?.id,\r\n toAddresses: this.utils.JSONstringify({ computed: this.toAddresses }),\r\n messageSubject: this.notificationTemplate?.messageSubject,\r\n messageBody,\r\n type: 25,\r\n code: this.statusId.toString(),\r\n messageAdditionalText: '',\r\n signature: this.notificationTemplate?.signature,\r\n } as NotificationMessage;\r\n this.notificationService.createNotification(this.notificationMessage).toPromise().then(data => {\r\n if (data)\r\n this.notificationMessage = data;\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n }\r\n\r\n viewNotification() {\r\n if (!this.editor && !this.builder) {\r\n const dialogRef = this.dialog.open(NotificationComponent, {\r\n height: \"fit-content\",\r\n width: \"80%\",\r\n data: {\r\n message: this.notificationMessage,\r\n templateID: 25,\r\n emailAddresses: this.toAddresses,\r\n readOnly: false,\r\n disableSend: true,\r\n code: this.statusId\r\n },\r\n });\r\n\r\n dialogRef\r\n .afterClosed()\r\n .toPromise()\r\n .then(data => {\r\n\r\n });\r\n }\r\n else {\r\n this.alert.warning('This only work on Checklist Execution');\r\n }\r\n }\r\n\r\n setStatus() {\r\n if (this.currentChecklist?.checklistStatus?.formStatusID == FormStatusEnum.Reviewing) {\r\n if (this.activeAnnotations) {\r\n this.clStatus = this.statuses?.find(x => x.formStatusID == FormStatusEnum.Correcting);\r\n }\r\n else {\r\n this.clStatus = this.statuses?.find(x => x.formStatusID == FormStatusEnum.Approvals);\r\n }\r\n }\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: 'Are you sure to change the Status to ' + this.clStatus?.description + ' ?',\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(async data => {\r\n if (data && !(this.editor || this.builder)) {\r\n this.loading.emit(true);\r\n const saveChecklistStatus = {\r\n id: this.currentChecklist?.id,\r\n status: this.clStatus?.id,\r\n checklistStatusID: this.clStatus?.id,\r\n rolesToNotify: this.roleIds,\r\n wfTaskLocalID: this.signature?.wfTaskLocal?.id\r\n } as SaveChecklistStatusResource;\r\n await this.service.putStatus(saveChecklistStatus).toPromise().then(() => {\r\n if (this.notificationMessage && this.rolesToNotify?.length) {\r\n this.notificationService.sendNotification(this.notificationMessage).toPromise().then(() => {\r\n this.alert.info('Email Notifications sent to ' + this.roleCodesToNotify + '');\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n }\r\n this.loading.emit(false);\r\n });\r\n }\r\n });\r\n }\r\n\r\n checkDisabled() {\r\n if (this.activeAnnotations && this.clStatus == this.statuses?.find(x => x.formStatusID == FormStatusEnum.PendingReview && this.currentChecklist?.checklistStatus?.formStatusID == FormStatusEnum.Correcting)) {\r\n return true;\r\n }\r\n else {\r\n return this.disabled;\r\n }\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n
    \r\n \r\n ' +\r\n roleCodesToNotify +\r\n '
    on Button click'\r\n \"\r\n (click)=\"viewNotification()\"\r\n >\r\n forward_to_inbox\r\n \r\n\r\n \r\n\r\n \r\n
    \r\n {{ title }}\r\n \r\n
    \r\n\r\n warning\r\n \r\n
    \r\n\r\n","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'cl-subtitle',\r\n templateUrl: './cl-subtitle.component.html',\r\n styleUrls: ['./cl-subtitle.component.scss']\r\n})\r\nexport class ClSubtitleComponent {\r\n\r\n @Input() text?: string | null;\r\n @Input() label?: string | null;\r\n @Input() editor?: boolean | null;\r\n\r\n public visible: boolean = false;\r\n}\r\n","
    \r\n
    \r\n \r\n
    \r\n
    \r\n","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'cl-text',\r\n templateUrl: './cl-text.component.html',\r\n styleUrls: ['./cl-text.component.scss']\r\n})\r\n/** cl-text component*/\r\nexport class ClTextComponent {\r\n\r\n @Input() text?: string | null;\r\n @Input() label?: string | null = '#';\r\n @Input() editor?: boolean;\r\n\r\n /** cl-text ctor */\r\n constructor() {\r\n\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    {{ label }}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { ExtraAction, WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\nimport { NormalInputDialogComponent } from '../../normal-input-dialog/normal-input-dialog.component';\r\nimport { FormService } from '../../form-table/form.service';\r\nimport { Form } from 'src/app/services/forms/form';\r\n// import { NormalInputDialogComponent } from '../../common/normal-input-dialog/normal-input-dialog.component';\r\n\r\n@Component({\r\n selector: 'extra-action-button',\r\n templateUrl: './extra-action-button.component.html',\r\n styleUrls: ['./extra-action-button.component.scss']\r\n})\r\nexport class ExtraActionButtonComponent implements OnInit {\r\n @Input() extraAction!: ExtraAction;\r\n @Input() confirm!: boolean;\r\n @Input() disabled!: boolean;\r\n @Input() form?: Form | null;\r\n\r\n @Output() error = new EventEmitter();\r\n @Output() signed = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n wfTaskSignature: WFTaskSignatureResource = new WFTaskSignatureResource();\r\n\r\n constructor(\r\n public service: FormService,\r\n public dialog: MatDialog\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n click() {\r\n if (this.confirm) {\r\n const confirm = this.dialog.open(NormalInputDialogComponent, {\r\n width: \"600px\",\r\n data: {\r\n label: \"Enter a reason to Make Bypass Permanent\",\r\n text: \"\"\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(\r\n data => {\r\n if (data) {\r\n this.loading.emit(true);\r\n this.wfTaskSignature.taskId = this.extraAction.taskID;\r\n this.wfTaskSignature.actionId = this.extraAction.id;\r\n this.wfTaskSignature.formID = this.form?.id;\r\n this.wfTaskSignature.reason = data;\r\n this.service.sign(this.wfTaskSignature).toPromise().then(() => this.signed.emit()).catch(error => this.error.emit(error));\r\n }\r\n }\r\n );\r\n } else {\r\n this.loading.emit(true);\r\n this.wfTaskSignature.taskId = this.extraAction.taskID;\r\n this.wfTaskSignature.actionId = this.extraAction.id;\r\n this.wfTaskSignature.formID = this.form?.id;\r\n this.service.sign(this.wfTaskSignature).toPromise().then(() => this.signed.emit()).catch(error => this.error.emit(error));\r\n }\r\n }\r\n\r\n}\r\n","\r\n","import { ChecklistTemplate, Option } from 'src/app/components/checklists/checklists';\r\nimport { Component, Input, EventEmitter, Output, OnInit, ViewChild } from '@angular/core';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { MessageBanner } from 'src/app/components/messages/services/message-banner';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { WfSignature } from 'src/app/services/work-flow/work-flow';\r\nimport { ComponentType } from 'src/app/common/enumerations/enumerations';\r\nimport { Tooltip } from 'src/app/common/tooltip';\r\nimport { KEResource } from 'src/app/components/kenable/ke';\r\nimport { ClShieldingsComponent } from '../cl-shieldings/cl-shieldings.component';\r\n\r\n@Component({\r\n selector: 'master-control',\r\n templateUrl: './master-control.component.html',\r\n styleUrls: ['./master-control.component.scss']\r\n})\r\nexport class MasterControlComponent implements OnInit {\r\n\r\n approval_user: any;\r\n approval_date: any;\r\n @Input() id?: number;\r\n @Input() builder?: boolean;\r\n @Input() editor?: boolean;\r\n @Input() enableColumns?: boolean;\r\n @Input() type?: number; // Control type to be displayed\r\n @Input() code?: string;\r\n @Input() number?: string | null; // Numeric label\r\n @Input() configuration?: string;\r\n\r\n @Input() header?: string | null; // Main text field for almost every control.\r\n @Input() headerAfter?: string; // Altern text field for almost every control. Displayed after button clicked.\r\n @Input() question?: string | null; // Question text field for almost every control that requieres questions.\r\n @Input() questionDisabled?: boolean;\r\n\r\n @Input() approved?: boolean; // True if task is Approved for signarures controls\r\n @Input() approvedBy?: User | null; // Approval User Object for signatures controls\r\n @Input() approvedOn?: Date | null; // Approval Date for signatures controls\r\n @Input() checkbox_checked?: boolean; //\r\n\r\n @Input() confirm?: boolean; // Confirmation flago for checkbox signature\r\n @Input() booleanValue?: boolean; // Confirmation flago for checkbox signature\r\n\r\n @Input() showApprove? = true; //\r\n @Input() showUnapprove? = true; //\r\n @Input() showDisapprove? = false; //\r\n\r\n @Input() radioQuestion?: string | null;\r\n @Input() radioOptions?: Option[]; // Options ObjectArray [{value: number, label: string}]\r\n @Input() radioSelection?: number;\r\n @Input() options?: any;\r\n\r\n @Input() roleIds?: number[] | null;\r\n @Input() roleCodes?: string;\r\n\r\n @Input() color!: string; // Primary color for several controls\r\n @Input() disabled?: boolean; // Disables control elements\r\n @Input() enabled?: boolean;\r\n @Input() visible?: boolean = true; // Visibility of the control\r\n\r\n @Input() label?: string | null; // Label for Note control\r\n @Input() text?: string | null; // Text for Note control\r\n\r\n @Input() textBefore?: string | null; // For checkbox with text input\r\n @Input() textAfter?: string | null; // For checkbox with text input\r\n @Input() textValue?: string | null;\r\n @Input() disableEdit?: boolean;\r\n @Input() textAfter2?: string | null;\r\n @Input() scheduleResourceId?: number;\r\n @Input() scheduleTypeId?: number;\r\n @Input() dateValue1?: Date;\r\n @Input() dateValue2?: Date;\r\n @Input() dateValue3?: Date | null;\r\n @Input() scheduleName?: string;\r\n @Input() locationName?: string | null;\r\n @Input() userNames?: string;\r\n\r\n @Input() formType?: number | string; // CATL Component\r\n @Input() formId?: number;\r\n @Input() sectionNumber?: number;\r\n @Input() sectionId?: number;\r\n @Input() taskId?: number;\r\n\r\n @Input() checkboxVisible?: boolean = true; // Used in Cl-Checkbox\r\n @Input() warning?: boolean;\r\n @Input() moreInfo?: string;\r\n\r\n @Input() currentChecklist?: Checklist | KEResource | null;\r\n @Input() currentChecklistTemplate?: ChecklistTemplate;\r\n @Input() serialNo?: string;\r\n\r\n @Input() editMode?: boolean;\r\n @Input() message?: MessageBanner; // Message for dialog confirmations\r\n\r\n @Input() followUpChanged?: boolean;\r\n @Input() rolesToApproveChanges?: string[];\r\n @Input() privilegeToApproveAnswer?: PrivilegeEnum;\r\n @Input() answerChangedById?: number;\r\n @Input() answerChangedBy?: User;\r\n\r\n @Input() s?: WfSignature;\r\n @Input() tooltips?: Tooltip[];\r\n @Input() saving?: boolean;\r\n\r\n @Input() required?: boolean;\r\n @Input() status?: number; //Form or Checklist Status\r\n\r\n @Output() result = new EventEmitter(); // Returns result data from editMode\r\n\r\n @Output() clicked = new EventEmitter(); // Click event for button controls\r\n @Output() checked = new EventEmitter(); // Check event for Checkboxes\r\n @Output() changed = new EventEmitter();\r\n @Output() approve = new EventEmitter(); // Click on Approve button event for Signature controls\r\n @Output() unapprove = new EventEmitter(); // Click on Unapprove button event for Signature controls\r\n @Output() disapprove = new EventEmitter(); // Click on disapprove button event for Signature controls\r\n @Output() save = new EventEmitter();\r\n @Output() sendOptions = new EventEmitter();\r\n @Output() sendCondition = new EventEmitter();\r\n @Output() sendHeaders = new EventEmitter();\r\n @Output() duplicate = new EventEmitter();\r\n @Output() approveAnswer = new EventEmitter();\r\n @Output() disapproveAnswer = new EventEmitter();\r\n @Output() close = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n @Output() checkShared = new EventEmitter();\r\n\r\n @ViewChild(ClShieldingsComponent) shieldingsComponent?: ClShieldingsComponent;\r\n\r\n componentType = ComponentType;\r\n constructor(\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n if (this.color == '' || this.color == null) { this.color = 'primary'; }\r\n // if (this.builder) { this.disabled = false; }\r\n }\r\n\r\n click_event() {\r\n this.clicked.emit();\r\n }\r\n\r\n check_event(e: any) {\r\n this.checked.emit(e);\r\n }\r\n\r\n approve_event(e: any) {\r\n this.approve.emit(e);\r\n }\r\n\r\n unapprove_event(e: any) {\r\n this.unapprove.emit(e);\r\n }\r\n\r\n disapprove_event(e: any) {\r\n this.disapprove.emit(e);\r\n }\r\n\r\n radio_event(e: any) {\r\n this.changed.emit(e);\r\n }\r\n\r\n text_changed(e: any) {\r\n this.changed.emit(e);\r\n }\r\n\r\n save_event(e: any) {\r\n this.save.emit(e);\r\n }\r\n\r\n duplicate_event(e: any) {\r\n this.duplicate.emit(e);\r\n }\r\n\r\n sendOptions_event(e: any) {\r\n this.sendOptions.emit(e);\r\n }\r\n\r\n sendCondition_event(e: any) {\r\n this.sendCondition.emit(e);\r\n }\r\n\r\n setLoading(e: any) {\r\n this.loading.emit(e);\r\n }\r\n\r\n close_event(e: any) {\r\n this.close.emit(e);\r\n }\r\n\r\n approveAnswer_event(e: any) {\r\n this.approveAnswer.emit(e);\r\n }\r\n\r\n disapproveAnswer_event(e: any) {\r\n this.disapproveAnswer.emit(e);\r\n }\r\n\r\n check_shared_event(e: any) {\r\n this.checkShared.emit(e);\r\n }\r\n\r\n\r\n}\r\n","
    \r\n \r\n {{ header }}\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n
    \r\n
    {{ header }}
    \r\n
    No Component type defined!
    \r\n
    \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Injector, Input, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { SafeHtml, DomSanitizer } from '@angular/platform-browser';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { ChecklistStatusComponent } from '../../checklist-status/checklist-status.component';\r\nimport { WfTaskLocalResource } from 'src/app/services/work-flow/work-flow';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\nimport { TextareaDialogComponent } from '../../textarea-dialog/textarea-dialog.component';\r\nimport { DocumentChip } from '../../checklist-chips/document-chips.component';\r\n\r\n@Component({\r\n selector: 'op-approval-w-checklists',\r\n templateUrl: './op-approval-w-checklists.component.html',\r\n styleUrls: ['./op-approval-w-checklists.component.scss']\r\n})\r\nexport class OpApprovalWChecklistsComponent extends ClBaseComponent implements OnInit {\r\n\r\n @Input() privilegeToApproveAnswer?: PrivilegeEnum;\r\n @Input() answerChangedById?: number;\r\n @Input() answerChangedBy?: User;\r\n @Input() answer?: boolean;\r\n @Input() approved?: boolean;\r\n @Input() rolesToApproveChanges?: string[];\r\n\r\n @Input() questionDisable?: boolean = true;\r\n @Input() followUpChanged?: boolean;\r\n\r\n @Output() approveAnswer = new EventEmitter();\r\n @Output() disapproveAnswer = new EventEmitter();\r\n @Output() loading = new EventEmitter();\r\n\r\n @ViewChild(ChecklistStatusComponent) checklistStatus?: ChecklistStatusComponent;\r\n @ViewChild('container', { read: ElementRef }) container?: ElementRef;\r\n\r\n canApproveAnswer = false;\r\n\r\n name?: string | null;\r\n\r\n visible?: boolean = false;\r\n\r\n questionSanitized!: SafeHtml;\r\n lastApproval!: SafeHtml | null;\r\n lastChange!: SafeHtml | null;\r\n lastChangeBy!: SafeHtml | null;\r\n checklistChips?: DocumentChip[];\r\n\r\n checklistsIDs!: number[];\r\n prevChecklistsIDs!: number[];\r\n checklistTypeID!: number;\r\n isChanging!: boolean;\r\n checklistNotClosed!: boolean;\r\n\r\n checklists!: Checklist[];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n\r\n task!: WfTaskLocalResource;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private sanitizer: DomSanitizer,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.checklistsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n ngOnInit() {\r\n this.setCanAnswer();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.loadChecklists();\r\n this.checklistTypeID = this.utils.JSONparse(this.configuration)?.ChecklistTypeID ?? 0;\r\n this.refresh();\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data.length) {\r\n this.checklists = data;\r\n }\r\n });\r\n }\r\n\r\n refresh() {\r\n this.checked = this.answer;\r\n this.loading.emit(false);\r\n this.questionSanitized = this.sanitizer.bypassSecurityTrustHtml(this.question ?? '');\r\n if (!this.approved) {\r\n this.label = 'Approve';\r\n this.name = null;\r\n this.date = null;\r\n this.color = 'primary';\r\n this.visible = this.showApprove != undefined ? this.showApprove : true;\r\n } else {\r\n this.label = 'Unapprove';\r\n this.color = 'accent';\r\n this.visible = this.showUnapprove;\r\n this.name = this.user?.name;\r\n }\r\n this.setCanAnswer();\r\n const opApprovalValueFromBE = this.utils.JSONparse(this.utils.getTextValue(this.valueString));\r\n if (opApprovalValueFromBE) {\r\n const opApprovalValue = this.utils.convertObjectKeysToCamelCase(opApprovalValueFromBE) as OpApprovalValue;\r\n this.checklistsIDs = opApprovalValue?.checklistIds;\r\n const checklists = this.checklists?.filter(c => this.checklistsIDs.includes(c.id));\r\n this.checklistNotClosed = checklists?.some(c => ![FormStatusEnum.Closed].includes(c.checklistStatus?.formStatus.id ?? 0));\r\n }\r\n if (!this.checklistsIDs) this.checklistsIDs = [];\r\n this.lastApproval = this.getSafeContent(this.signature?.lastFollowUpChanged ?? '');\r\n const checklistChipsData = this.signature?.lastFollowUpCheckChanged?.split(\"|\");\r\n if (checklistChipsData?.length) {\r\n this.lastChange = this.getSafeContent(checklistChipsData[0]);\r\n this.lastChangeBy = this.getSafeContent(checklistChipsData[1]);\r\n this.checklistChips = this.utils.JSONparse(checklistChipsData[2]);\r\n }\r\n }\r\n\r\n setCanAnswer() {\r\n if (this.getCurrentUser() && this.answerChangedById && this.answerChangedById !== this.getCurrentUser()?.id && this.signature?.pendingChange) {\r\n this.questionDisable = true;\r\n this.canApproveAnswer = this.hasPrivilege(this.privilegeToApproveAnswer as PrivilegeEnum);\r\n } else if (this.getCurrentUser()) {\r\n this.questionDisable = false;\r\n this.canApproveAnswer = false;\r\n }\r\n else {\r\n this.questionDisable = true;\r\n this.canApproveAnswer = false;\r\n }\r\n }\r\n\r\n checkboxChanged() {\r\n if (!this.isChanging || this.checked) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: environment.messages.answer_message\r\n }\r\n });\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data) {\r\n // uncheck box and remove checklists\r\n if (!this.checked || this.checked && (this.checklistsIDs.length || !this.checklistTypeID)) {\r\n this.checklistsIDs = this.checked ? this.checklistsIDs : [];\r\n this.valuesChanged();\r\n this.answer = this.checked;\r\n }\r\n // check box\r\n else if (this.checklistTypeID && !this.checklistsIDs.length) {\r\n if (this.status == FormStatusEnum.Draft || this.status == FormStatusEnum.New)\r\n this.valuesChanged();\r\n else this.isChanging = true;\r\n }\r\n } else {\r\n this.checked = !this.checked;\r\n }\r\n });\r\n }\r\n }\r\n\r\n textChanged(value: OpApprovalValue) {\r\n this.checklistsIDs = value.checklistIds;\r\n this.approved = value.approved;\r\n if (this.checked)\r\n this.valuesChanged()\r\n }\r\n\r\n valuesChanged() {\r\n this.isChanging = false;\r\n this.loading.emit(true);\r\n const value = { checked: this.checked, checklistIds: this.checklistsIDs, approved: this.approved };\r\n this.valueString = this.utils.JSONstringify(value);\r\n this.changed.emit(this.valueString);\r\n this.loading.emit(false);\r\n }\r\n\r\n click() {\r\n if (!this.approved) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('approve_message')?.description\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.name = this.getCurrentUser()?.name;\r\n this.date = new Date();\r\n\r\n this.approve.emit({\r\n value: !this.approved,\r\n user: !this.approved ? this.getCurrentUser()?.id : 0,\r\n date: this.date,\r\n });\r\n }\r\n });\r\n } else {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('unapprove_message')?.description\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.name = null;\r\n this.date = null;\r\n this.unapprove.emit({\r\n value: !this.approved,\r\n user: !this.approved ? this.getCurrentUser()?.id : 0,\r\n date: this.date\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n apprAns() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: environment.messages.approve_message\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading.emit(true);\r\n this.approveAnswer.emit(!this.checked);\r\n }\r\n });\r\n }\r\n\r\n disapAns() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: environment.messages.disapprove_message_no_reason\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n this.loading.emit(true);\r\n if (data) {\r\n this.disapproveAnswer.emit();\r\n }\r\n });\r\n }\r\n\r\n disap() {\r\n const confirm = this.dialog.open(TextareaDialogComponent, {\r\n width: '400px',\r\n data: {\r\n label: 'Dissaprove reason',\r\n text: ''\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data.acceptClicked) {\r\n this.name = null;\r\n this.date = null;\r\n\r\n this.disapprove.emit({\r\n value: !this.approved,\r\n user: !this.approved ? this.getCurrentUser()?.id : 0,\r\n date: this.date,\r\n text: data.text\r\n });\r\n }\r\n });\r\n }\r\n\r\n undo() {\r\n this.disapproveAnswer.emit({\r\n value: !this.approved,\r\n user: 0,\r\n date: this.date,\r\n text: ''\r\n });\r\n }\r\n\r\n getSafeContent(s: string) {\r\n if (!s) return null;\r\n return this.sanitizer.bypassSecurityTrustHtml(s);\r\n }\r\n}\r\n\r\nexport interface OpApprovalValue {\r\n checked: boolean;\r\n checklistIds: number[];\r\n changedByID: number;\r\n changedOn: string;\r\n approved: boolean;\r\n approvedByID: number;\r\n approvedOn: string;\r\n rejectedByID: number;\r\n rejectedOn: string;\r\n}\r\n","\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    Pending Changes:
    \r\n
    \r\n\r\n \r\n \r\n \r\n  \r\n \r\n
    \r\n
    \r\n \r\n \r\n undo\r\n \r\n \r\n Approve\r\n \r\n \r\n Disapprove\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ title }}\r\n
    \r\n \r\n
    \r\n \r\n \r\n {{ label }}\r\n \r\n
    \r\n \r\n \r\n Disapprove\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    By:
    \r\n
    \r\n {{ name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date:\r\n
    \r\n
    \r\n {{\r\n date | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n\r\n","import { Component, Input, Output, EventEmitter, SimpleChanges, OnInit, OnChanges, OnDestroy, Injector } from '@angular/core';\r\nimport { SafeHtml, DomSanitizer } from '@angular/platform-browser';\r\nimport { ClBaseComponent } from '../cl-base/cl-base.component';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TextareaDialogComponent } from '../../textarea-dialog/textarea-dialog.component';\r\nimport { YesNoDialogComponent } from '../../yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Component({\r\n selector: 'question-signature',\r\n templateUrl: './question-signature.component.html',\r\n styleUrls: ['./question-signature.component.scss']\r\n})\r\nexport class QuestionSignatureComponent extends ClBaseComponent implements OnDestroy, OnInit, OnChanges {\r\n @Input() privilegeToApproveAnswer?: PrivilegeEnum | null = null;\r\n @Input() answerChangedById?: number | null = null;\r\n @Input() answerChangedBy?: User | null = null;\r\n @Input() approved?: boolean;\r\n @Input() answer?: boolean;\r\n\r\n @Input() RolesToApproveChanges?: string[];\r\n @Input() questionDisabled?: boolean;\r\n @Input() followUpChanged?: boolean;\r\n\r\n @Output() approveAnswer = new EventEmitter();\r\n @Output() disapproveAnswer = new EventEmitter();\r\n\r\n public role?: string;\r\n public name?: string | null;\r\n\r\n public visible?: boolean | null = false;\r\n\r\n public loading = false;\r\n public questionSanitized!: SafeHtml;\r\n CanApproveAnswer?: boolean | 0 | null = false;\r\n constructor(\r\n private sanitizer: DomSanitizer,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit() {\r\n this.role = this.roleCodes;\r\n this.setCanAnswer();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n this.checked = this.answer;\r\n this.loading = false;\r\n this.questionSanitized = this.sanitizer.bypassSecurityTrustHtml(this.question ?? '');\r\n if (!this.approved) {\r\n this.label = 'Approve';\r\n this.name = null;\r\n this.date = null;\r\n this.color = 'primary';\r\n this.visible = this.showApprove != undefined ? this.showApprove : true;\r\n } else {\r\n this.label = 'Unapprove';\r\n this.color = 'accent';\r\n this.visible = this.showUnapprove;\r\n this.name = this.getCurrentUser()?.name;\r\n }\r\n this.setCanAnswer();\r\n }\r\n\r\n setCanAnswer() {\r\n if (this.answerChangedById) {\r\n this.questionDisabled = true;\r\n }\r\n if (this.privilegeToApproveAnswer) {\r\n this.CanApproveAnswer = this.answerChangedById && this.answerChangedById !== this.getCurrentUser()?.id && this.hasPrivilege(this.privilegeToApproveAnswer);\r\n } else {\r\n this.CanApproveAnswer = false;\r\n }\r\n }\r\n\r\n checkboxChanged() {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: environment.messages.answer_message\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.loading = true;\r\n this.answered.emit(this.checked);\r\n } else {\r\n this.checked = !this.checked;\r\n }\r\n });\r\n }\r\n\r\n click() {\r\n if (!this.approved) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('approve_message')?.description\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.name = this.getCurrentUser()?.name;\r\n this.date = new Date();\r\n\r\n this.approve.emit({\r\n value: !this.approved,\r\n user: !this.approved ? this.getCurrentUser()?.id : 0,\r\n date: this.date,\r\n });\r\n }\r\n });\r\n } else {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('unapprove_message')?.description\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.name = null;\r\n this.date = null;\r\n this.unapprove.emit({\r\n value: !this.approved,\r\n user: !this.approved ? this.getCurrentUser()?.id : 0,\r\n date: this.date\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n apprAns() {\r\n this.loading = true;\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: environment.messages.approve_message\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.approveAnswer.emit(!this.checked);\r\n }\r\n });\r\n }\r\n\r\n disapAns() {\r\n this.loading = true;\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: environment.messages.disapprove_message_no_reason\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.disapproveAnswer.emit();\r\n }\r\n });\r\n }\r\n\r\n disap() {\r\n const confirm = this.dialog.open(TextareaDialogComponent, {\r\n width: '400px',\r\n data: {\r\n label: 'Dissaprove reason',\r\n text: ''\r\n }\r\n });\r\n confirm.afterClosed().subscribe(data => {\r\n if (data.acceptClicked) {\r\n this.name = null;\r\n this.date = null;\r\n\r\n this.disapprove.emit({\r\n value: !this.approved,\r\n user: !this.approved ? this.getCurrentUser()?.id : 0,\r\n date: this.date,\r\n text: data.text\r\n });\r\n }\r\n });\r\n }\r\n\r\n undo() {\r\n this.disapproveAnswer.emit({\r\n value: !this.approved,\r\n user: 0,\r\n date: this.date,\r\n text: ''\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n undo\r\n \r\n\r\n \r\n Pending Changes\r\n \r\n \r\n
    \r\n
    \r\n \r\n Approve change\r\n \r\n \r\n Disapprove change\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ title }}\r\n
    \r\n \r\n
    \r\n \r\n \r\n {{ label }}\r\n \r\n
    \r\n \r\n \r\n Disapprove\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    By:
    \r\n
    \r\n {{ user?.name }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date:\r\n
    \r\n
    \r\n {{\r\n date | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n","import { Component, ElementRef, EventEmitter, Injector, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Checklist } from 'src/app/components/checklists/checklists';\r\nimport { FormControl } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { OpApprovalValue } from '../checklist-components/op-approval-w-checklists/op-approval-w-checklists.component';\r\n\r\n@Component({\r\n selector: 'checklist-status',\r\n templateUrl: './checklist-status.component.html',\r\n styleUrls: ['./checklist-status.component.scss']\r\n})\r\nexport class ChecklistStatusComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() disabled?: boolean;\r\n @Input() checklistsIDs: number[] = [];\r\n @Input() checklistTypeID!: number;\r\n @Input() isChanging!: boolean;\r\n @Input() formStatus?: number;\r\n @Input() checked?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() changing = new EventEmitter();\r\n\r\n checklists!: Checklist[];\r\n checklistsFiltered!: Checklist[];\r\n checklistsSaved: Checklist[] = [];\r\n checklists$!: Observable;\r\n checklistsSubs!: Subscription;\r\n documentTypes!: (DocumentType | undefined)[];\r\n\r\n changes?: boolean = false;\r\n\r\n prevChecklistsIDs!: number[];\r\n\r\n filteredStatuses: FormStatusEnum[] = [FormStatusEnum.Canceled];\r\n\r\n checklistsCtrl = new FormControl();\r\n @ViewChild(\"checklistsInput\") checklistsInput!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private router: Router,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['checklistsIDs'])\r\n this.prevChecklistsIDs = utils.cloneDeep(this.checklistsIDs);\r\n this.loadChecklists();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadChecklists();\r\n }\r\n\r\n onChange(e: any) {\r\n const val = e.target.value as string;\r\n this.filterChecklists();\r\n this.checklistsFiltered = this.checklistsFiltered.filter(c => c.serialNo?.toLowerCase().includes(val.toLowerCase()));\r\n this.getDocumentTypes();\r\n }\r\n\r\n loadChecklists() {\r\n this.checklists$ = this.store.select(state => state.Checklists.data);\r\n this.checklistsSubs = this.checklists$.subscribe(data => {\r\n if (data.length) {\r\n this.checklists = data.filter(c => c.documentTypeID == this.checklistTypeID).sort((a, b) => utils.sort(a.serialNo, b.serialNo, false));\r\n this.filterChecklists();\r\n this.checklists.map(c => {\r\n c.resourceNameSanitized = c.checklistStatus?.name + (c.resourceName ? '
    ' + c.resourceName : '');\r\n c.tooltipCssClasses = ['white-background', c.checklistStatus?.cssClass + '-border', 'shadow'];\r\n });\r\n this.checklistsSaved = this.checklists.filter(c => this.checklistsIDs?.includes(c.id)).sort((a, b) => utils.sort(a.serialNo, b.serialNo, false));;\r\n }\r\n });\r\n }\r\n\r\n filterChecklists() {\r\n this.checklistsFiltered = this.checklists.filter(c => !this.checklistsIDs?.includes(c.id));\r\n this.getDocumentTypes();\r\n }\r\n\r\n getDocumentTypes() {\r\n this.documentTypes = this.checklistsFiltered.map(c => c.documentType).filter(\r\n (obj, index, self) => self.findIndex(o => o?.id === obj?.id) === index\r\n ).sort((a, b) => utils.sort(a?.description, b?.description, true));\r\n }\r\n\r\n getFilteredChecklists(document?: DocumentType) {\r\n return this.checklistsFiltered.filter(c => c.documentTypeID == document?.id && !this.filteredStatuses.includes(c.checklistStatus?.formStatusID ?? 0));\r\n }\r\n\r\n selected(e: any) {\r\n const checklist = e.option.value as Checklist;\r\n if (this.checklistsSaved == null) this.checklistsSaved = [];\r\n this.checklistsSaved.push(checklist);\r\n this.checklistsSaved = this.checklistsSaved.sort((a, b) => utils.sort(a.serialNo, b.serialNo, false));\r\n if (this.checklistsIDs == null) this.checklistsIDs = [];\r\n this.checklistsIDs.push(checklist.id);\r\n this.filterChecklists();\r\n this.checklistsInput.nativeElement.value = \"\";\r\n this.checklistsCtrl.setValue(null);\r\n this.checkChanged();\r\n }\r\n\r\n\r\n remove(checklist: Checklist) {\r\n this.checklistsSaved = this.checklistsSaved.filter(c => c.id != checklist.id).sort((a, b) => utils.sort(a.serialNo, b.serialNo, false));\r\n this.checklistsIDs = this.checklistsIDs.filter(c => c != checklist.id);\r\n this.checkChanged();\r\n }\r\n\r\n checkChanged() {\r\n this.changes = !this.utils.compareArrays(this.checklistsIDs, this.prevChecklistsIDs);\r\n this.changing.emit(this.changes);\r\n if (this.formStatus == FormStatusEnum.Draft) this.save();\r\n else this.setFormDirty(this.changes);\r\n }\r\n\r\n save() {\r\n const value = { checklistIds: this.checklistsIDs, approved: this.formStatus == FormStatusEnum.Draft } as OpApprovalValue;\r\n this.changed.emit(value);\r\n this.setFormDirty(false);\r\n }\r\n\r\n undo() {\r\n this.checklistsIDs = utils.cloneDeep(this.prevChecklistsIDs);\r\n this.checkChanged();\r\n this.loadChecklists();\r\n }\r\n\r\n openDocument(checklist: Checklist) {\r\n localStorage.setItem('checklistID', checklist.id.toString());\r\n const formStatusID = checklist.documentType?.checklistExecStatuses?.find(x => x.id == checklist.status)?.formStatusID ?? ''\r\n localStorage.setItem('status', formStatusID.toString());\r\n const route = 'checklist-exec/' + checklist.checklistTemplate?.documentType?.id;\r\n this.router.navigate([route]);\r\n }\r\n\r\n closedChecklist() {\r\n if (this.checklistsSaved?.some(c => c.checklistStatus?.formStatus.id == FormStatusEnum.Closed)) {\r\n return this.checklistsSaved.some(s => s.checklistStatus?.formStatus.id != FormStatusEnum.Closed && s.checklistStatus?.formStatus.id != FormStatusEnum.Canceled)\r\n }\r\n else\r\n return true;\r\n }\r\n\r\n}\r\n","\r\n \r\n Checklists\r\n \r\n \r\n {{ checklist.serialNo }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {{ checklist.serialNo }}\r\n ({{ checklist.resourceName }})\r\n
    \r\n
    \r\n {{ checklist.checklistStatus?.name }}\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Changes have not been saved\r\n \r\n
    \r\n \r\n \r\n check_circle_outline\r\n \r\n \r\n undo\r\n \r\n \r\n\r\n","import { Component, Input, OnInit, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\n\r\nexport interface Color {\r\n name: string;\r\n class?: string;\r\n}\r\n\r\nconst DATA: Color[] =\r\n [\r\n { name: 'Black' },\r\n { name: 'Green' },\r\n { name: 'Blue' },\r\n { name: 'Red' },\r\n { name: 'Yellow' },\r\n { name: 'Cian' },\r\n { name: 'Orange' },\r\n { name: 'Gray' },\r\n { name: 'Purple' },\r\n { name: 'Burgundy' },\r\n { name: 'Pink' }\r\n ];\r\n\r\n@Component({\r\n selector: 'color-picker',\r\n templateUrl: './color-picker.component.html',\r\n styleUrls: ['./color-picker.component.scss']\r\n})\r\nexport class ColorPickerComponent implements OnInit, OnChanges {\r\n\r\n @Input() color?: string | null;\r\n @Output() selected = new EventEmitter();\r\n\r\n colors = DATA;\r\n colorsFiltered = DATA;\r\n colorCtrl = new FormControl();\r\n colorSelected?: Color;\r\n\r\n constructor() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (!this.color) this.color = 'Black';\r\n if (this.color) {\r\n this.colorSelected = this.colors.find(x => x.name.toLowerCase() == this.color);\r\n this.colorCtrl.setValue(this.colorSelected);\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n displayObject(e: any) {\r\n return e ? e.name : null;\r\n }\r\n\r\n\r\n selectedColor(e: any) {\r\n this.colorSelected = e.option.value;\r\n this.selected.emit(this.colorSelected?.name.toLowerCase());\r\n }\r\n\r\n getClass(color?: Color, background: boolean = false) {\r\n if (background) {\r\n return color?.name.toLowerCase() + '-background';\r\n }\r\n else {\r\n return color?.name.toLowerCase();\r\n }\r\n }\r\n\r\n}\r\n","\r\n Color\r\n \r\n \r\n \r\n check\r\n \r\n \r\n\r\n","import { Component, ViewChild, Input, OnDestroy, OnInit, OnChanges, SimpleChanges, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { FormType, FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { Comment, CommentResource } from 'src/app/controls/comments-and-attachments/services/comment';\r\nimport { CommentService } from 'src/app/controls/comments-and-attachments/services/comments.service';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\nimport { YesNoDialogComponent } from '../yes-no-dialog/yes-no-dialog.component';\r\nimport { MatFileUploadService } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { MatFileV2UploadComponent } from 'src/app/modules/file-upload/lib/mat-file-v2-upload/mat-file-v2-upload.component';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { CommentRefreshByID } from './store/comments.action';\r\n\r\n@Component({\r\n selector: 'comments-and-attachments',\r\n templateUrl: './comments-and-attachments.component.html',\r\n styleUrls: ['./comments-and-attachments.component.scss']\r\n})\r\nexport class CommentsAndAttachmentsComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() currentDocument?: any = null;\r\n @Input() FormNumber?: string;\r\n @Input() SerialNo?: string;\r\n @Input() Title = 'Comments and Attachments';\r\n @Input() ShowFiles = true;\r\n @Input() disabled?: boolean;\r\n @Input() headerClass = 'h3';\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n formTypes = FormType;\r\n\r\n comment?: string | null;\r\n\r\n comments?: CommentResource[];\r\n commentsFiltered?: CommentResource[];\r\n comments$!: Observable;\r\n commentsSubs!: Subscription;\r\n\r\n loading = false;\r\n loadingFile = false;\r\n save_files_database = '';\r\n commentFiles?: any[];\r\n typeDocument = '';\r\n formType!: string;\r\n\r\n @ViewChild(MatFileV2UploadComponent) private matFilev2Upload!: MatFileV2UploadComponent;\r\n serialNo?: string;\r\n\r\n AttachmentsDisabled?: boolean;\r\n // commentCtrl = new FormControl();\r\n // uploadCtrl = new FormControl();\r\n // addBtnCtrl = new FormControl();\r\n constructor(\r\n private commentServ: CommentService,\r\n private file2Service: FileV2Service,\r\n private uploadServ: MatFileUploadService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n // this.initForm();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loading = false;\r\n\r\n if (this.serialNo != this.currentDocument?.serialNo) {\r\n this.serialNo = this.currentDocument?.serialNo;\r\n\r\n this.refresh();\r\n }\r\n if (!this.serialNo) this.serialNo = this.SerialNo;\r\n this.formType = this.currentDocument?.documentType?.code ?? this.serialNo?.split('-')[0];\r\n }\r\n\r\n loadComments() {\r\n setTimeout(() => {\r\n this.loading = true;\r\n\r\n this.comments = [];\r\n this.comments$ = this.store.select(state => state.Comments.data);\r\n this.commentsSubs = this.comments$.subscribe(data => {\r\n if (data?.length) {\r\n this.comments = data.filter(x => x.serialNo == this.serialNo).sort((a, b) => new Date(a.createdOn).getTime() - new Date(b.createdOn).getTime());\r\n this.loading = false;\r\n }\r\n });\r\n }, 100);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.commentsSubs?.unsubscribe();\r\n }\r\n\r\n initForm() {\r\n // this.buildForm();\r\n }\r\n\r\n refresh() {\r\n setTimeout(() => {\r\n this.loading = true;\r\n this.AttachmentsDisabled = !this.currentDocument || this.currentDocument.status === FormStatusEnum.Closed;\r\n this.serialNo = this.currentDocument?.serialNo ? this.currentDocument?.serialNo : this.SerialNo;\r\n if (this.matFilev2Upload) {\r\n this.matFilev2Upload.uploadId = this.serialNo ?? '-';\r\n }\r\n this.loadComments();\r\n }, 100);\r\n }\r\n\r\n clear() {\r\n this.comments = [];\r\n this.comment = null;\r\n }\r\n\r\n create() {\r\n this.currentDocument = null;\r\n this.clear();\r\n }\r\n\r\n addComment() {\r\n this.loading = true;\r\n const newComment: Comment = {\r\n serialNo: this.serialNo,\r\n commentText: this.comment,\r\n };\r\n this.comment = '';\r\n this.commentServ.Create(newComment).toPromise().then(async res => {\r\n if (this.matFilev2Upload.selectedFiles?.length && res?.id) {\r\n this.loading = true;\r\n await this.uploadAttachments(res.id);\r\n }\r\n this.alert.success(this.getMessage('CommentAdded').description);\r\n this.changed.emit(true);\r\n this.refresh();\r\n this.loading = false;\r\n },\r\n error => {\r\n this.alert.error(error);\r\n });\r\n }\r\n\r\n uploadAttachments(id: number) {\r\n return new Promise((resolve, reject) => {\r\n this.matFilev2Upload\r\n .uploadFiles(id)\r\n .then(() => {\r\n resolve(true);\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n reject(false);\r\n })\r\n .finally(() => {\r\n this.loading = false;\r\n this.store.dispatch(new CommentRefreshByID(id));\r\n });\r\n });\r\n }\r\n\r\n commentChanged(e: any) {\r\n this.comment = e;\r\n }\r\n\r\n DeleteComment(c: CommentResource) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this.getMessage('Delete_Comments_Confirmation').description,\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().toPromise().then(data => {\r\n if (data && c.id) {\r\n this.loading = true;\r\n this.commentServ.Delete(c.id).toPromise().then((res) => {\r\n this.alert.success(this.getMessage('CommentDeleted').description);\r\n this.changed.emit(true);\r\n },\r\n (error) => {\r\n console.error(error);\r\n });\r\n }\r\n },\r\n (error) => console.error(error));\r\n }\r\n\r\n deleteCommentFile(idFileDelete: string) {\r\n this.uploadServ.deleteFile(idFileDelete).subscribe(\r\n () => console.log(idFileDelete.toString()),\r\n (error) => console.error(error));\r\n }\r\n\r\n deleteCommentFileServer(idFileDelete: number) {\r\n this.file2Service.delete(idFileDelete).subscribe(\r\n () => console.log(idFileDelete.toString()),\r\n (error) => console.error(error));\r\n }\r\n\r\n getFloatLabel(): string {\r\n return 'auto';\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n {{ Title }}\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n\r\n \r\n save Submit Comment\r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n person\r\n \r\n delete\r\n \r\n
    \r\n
    \r\n {{ c.createdByName }}
    \r\n {{ c.createdOn | date : \"medium\" }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n Submit Comment\r\n \r\n
    \r\n \r\n\r\n","import { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { CommonModule } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule, MatOptionModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { QuillModule } from 'ngx-quill';\r\n// import { LinkifyPipe } from 'src/app/Services/CustomPipes/linkify.pipe';\r\nimport { AppRoutingModule } from '../../app-routing.module';\r\n// import { MatFileUploadModule } from '../../modules/file-upload/file-upload-module';\r\nimport { CommentsAndAttachmentsComponent } from './comments-and-attachments.component';\r\nimport { MatFileUploadModule } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { LinkifyPipe } from 'src/app/modules/pipes/linkify/linkify.pipe';\r\nimport { CommentsBoxModule } from '../comments-box/comments-box.module';\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n@NgModule({\r\n declarations: [\r\n CommentsAndAttachmentsComponent,\r\n LinkifyPipe\r\n ],\r\n imports: [\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatFileUploadModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n FormsModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatOptionModule,\r\n CommonModule,\r\n MatSidenavModule,\r\n CommentsBoxModule,\r\n QuillModule.forRoot()\r\n ],\r\n exports: [\r\n CommentsAndAttachmentsComponent\r\n ],\r\n providers: [\r\n LinkifyPipe\r\n ]\r\n})\r\nexport class CommentsAndAttachmentsModule {\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { Comment, CommentResource } from './comment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CommentService {\r\n url = environment.urls.baseApiUrl + '/Comments';\r\n constructor(private http: HttpClient) { }\r\n\r\n Read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n ReadBySerialNo(serialno: string): Observable {\r\n return this.http.get(this.url + '/SerialNo/' + serialno);\r\n }\r\n\r\n ReadOne(id: number): Observable {\r\n if (!id) { id = 0; }\r\n return this.http.get(this.url + '/' + id.toString());\r\n }\r\n\r\n Create(comment: Comment): Observable {\r\n return this.http.post(this.url, comment);\r\n }\r\n\r\n Update(id: number, comment: Comment): Observable {\r\n return this.http.put(this.url + '/' + id.toString(), comment);\r\n }\r\n\r\n Delete(id: number) {\r\n return this.http.delete(this.url + '/' + id.toString());\r\n }\r\n}\r\n","import { CommentResource } from \"src/app/controls/comments-and-attachments/services/comment\";\r\n\r\nexport class CommentRefresh {\r\n static readonly type = '[Comment] Refresh';\r\n}\r\nexport class CommentRefreshByID {\r\n static readonly type = '[Comment] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\nexport class CommentCreate {\r\n static readonly type = '[Comment] Create';\r\n constructor(public item: CommentResource) { }\r\n}\r\nexport class CommentUpdate {\r\n static readonly type = '[Comment] Update';\r\n constructor(public id: number, public item: CommentResource) { }\r\n}\r\nexport class CommentDelete {\r\n static readonly type = '[Comment] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { CommentCreate, CommentDelete, CommentRefresh, CommentRefreshByID, CommentUpdate } from './comments.action';\r\nimport { CommentResource } from 'src/app/controls/comments-and-attachments/services/comment';\r\nimport { CommentService } from 'src/app/controls/comments-and-attachments/services/comments.service';\r\n\r\n\r\nexport class CommentStateModel {\r\n data: CommentResource[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Comments',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n\r\n@Injectable()\r\nexport class CommentState {\r\n constructor(\r\n private service: CommentService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: CommentStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(CommentRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.Read().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(CommentRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: CommentRefreshByID) {\r\n this.service.ReadOne(id).subscribe(\r\n item => {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(CommentCreate)\r\n create({ getState, patchState }: StateContext, { item }: CommentCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(CommentUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: CommentUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(CommentDelete)\r\n delete({ getState, patchState }: StateContext, { id }: CommentDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { GeneralSignalRResponse } from \"src/app/services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"src/app/services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"src/app/services/signal-r/signalr-enums\";\r\nimport { Channels } from \"src/app/store/channels\";\r\nimport * as CommentActions from './comments.action';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CommentStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new CommentActions.CommentRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.COMMENTS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new CommentActions.CommentCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new CommentActions.CommentUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new CommentActions.CommentDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new CommentActions.CommentRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new CommentActions.CommentRefreshByID(data.id));\r\n break;\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, Inject, OnInit, AfterViewInit, ElementRef, ChangeDetectorRef, Renderer2 } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport imageCompressor from 'quill-image-compress';\r\nimport CustomImageResize from 'src/app/modules/libs/quill/quill-custom-image-resize/custom-image-resize';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ImageUploadService } from 'src/app/services/file/image-upload.service';\r\nimport * as QuillNamespace from 'quill';\r\nlet Quill: any = QuillNamespace;\r\nimport ImageResize from 'quill-image-resize-module';\r\nimport { ImageDrop } from 'quill-image-drop-module';\r\n// import { ImageResize } from 'quill-image-resize-module';\r\nimport QuillMention from 'quill-mention';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\n\r\nQuill.register('modules/imageDrop', ImageDrop);\r\nQuill.register('modules/imageResize', ImageResize);\r\nvar Block = Quill.import('blots/block');\r\nBlock.tagName = 'DIV'; // Quill uses

    by default\r\nQuill.register(Block, true);\r\nvar bold = Quill.import('formats/bold');\r\nbold.tagName = 'b'; // Quill uses by default\r\nQuill.register(bold, true);\r\n\r\nQuill.register('modules/customImageResize', CustomImageResize);\r\nQuill.register('modules/imageCompressor', imageCompressor);\r\n// Quill.register('modules/table', QuillTable);\r\n\r\nQuill.register('modules/mention', QuillMention);\r\n\r\n// const Size = Quill.import('attributors/style/size');\r\n// Size.whitelist = ['14px']; // Add custom sizes\r\n// Quill.register(Size, true);\r\n\r\n@Component({\r\n selector: 'comments-box-edit',\r\n templateUrl: './comments-box-edit.component.html',\r\n styleUrls: ['./comments-box-edit.component.scss']\r\n})\r\nexport class CommentsBoxEditComponent implements OnInit, AfterViewInit {\r\n\r\n textValue: string;\r\n serialNo: string;\r\n formType: string;\r\n title: string;\r\n minHeight: string;\r\n maxHeight: string;\r\n mentions?: any[];\r\n selectedMentions: number[] = [];\r\n\r\n public form!: FormGroup;\r\n quillCtrl = new FormControl();\r\n showHTML!: boolean;\r\n loading!: boolean;\r\n dialogId!: string;\r\n resourceTypeEnum = ResourceType;\r\n thisQuill: any;\r\n\r\n customShielding: boolean = false;\r\n\r\n imageMaxWidth = 300;\r\n imageSizes!: [{ name: 'Small'; val: 255; }, { name: 'Medium'; val: 400; }, { name: 'Original'; val: 0; }];\r\n fullScreen = true;\r\n quillEditorRef: any;\r\n quillColors = [\"#000000\", \"#e60000\", \"#ff9900\", \"#ffff00\", \"#008a00\", \"#0066cc\", \"#9933ff\",\r\n \"#ffffff\", \"#ff5588\", \"#ffebcc\", \"#ffffcc\", \"#cce8cc\", \"#cce0f5\", \"#ebd6ff\",\r\n \"#bbbbbb\", \"#f06666\", \"#ffc266\", \"#ffff66\", \"#66b966\", \"#66a3e0\", \"#c285ff\",\r\n \"#888888\", \"#a10000\", \"#b26b00\", \"#b2b200\", \"#006100\", \"#0047b2\", \"#6b24b2\",\r\n \"#444444\", \"#5c0000\", \"#663d00\", \"#666600\", \"#003700\", \"#002966\", \"#3d1466\"];\r\n\r\n quillConfig = {\r\n mention: {\r\n dataAttributes: ['id', 'value', 'isGroup', 'groupName', 'parentResourceType', 'childResourceType', 'shared', 'sharedWith', 'color', 'title'],\r\n mentionDenotationChars: [\"@\"],\r\n showDenotationChar: false, // Hide the \"@\" symbol in the mention dropdown\r\n blotName: 'styled-mention',\r\n source: (searchTerm: string, renderList: (matches: any[], searchTerm: any) => void) => {\r\n if (!this.mentions) return;\r\n\r\n let filteredMentions = this.mentions;\r\n\r\n if (searchTerm.length > 0) {\r\n filteredMentions = this.mentions.filter(item =>\r\n item.value.toLowerCase().includes(searchTerm.toLowerCase())\r\n );\r\n }\r\n\r\n // Create group headers and organize items under them\r\n let matchesWithHeaders: any[] = [];\r\n let currentGroup: string | undefined;\r\n\r\n filteredMentions.forEach(item => {\r\n if (item.isGroup) {\r\n // Add group header\r\n if (currentGroup !== item.value) {\r\n matchesWithHeaders.push({\r\n id: `group-${item.value}`,\r\n value: item.value,\r\n isGroup: true,\r\n disabled: true\r\n });\r\n currentGroup = item.value;\r\n }\r\n } else {\r\n const isAlreadySelected = this.selectedMentions.includes(item.id);\r\n // Add shielding item\r\n matchesWithHeaders.push({\r\n id: item.id,\r\n value: item.value,\r\n groupName: item.groupName,\r\n parentResourceType: item.parentResourceType,\r\n childResourceType: item.childResourceType,\r\n shared: item.shared,\r\n sharedWith: item.sharedWith,\r\n title: item.title ?? '',\r\n isAlreadySelected // Store this property but do not use `disabled`\r\n });\r\n }\r\n });\r\n\r\n window.setTimeout(() => {\r\n renderList(matchesWithHeaders, searchTerm);\r\n setTimeout(() => this.observeDropdown(), 100); // Call with 'this'\r\n }, 500);\r\n },\r\n\r\n renderItem: (data: {\r\n isGroup?: boolean;\r\n value: string;\r\n parentResourceType?: number;\r\n childResourceType?: number;\r\n shared?: boolean;\r\n sharedWith?: any[];\r\n disabled?: boolean;\r\n color?: string;\r\n matTooltip?: string;\r\n title?: string;\r\n isAlreadySelected?: boolean;\r\n }) => {\r\n const div = document.createElement(\"div\");\r\n div.innerText = data.value;\r\n\r\n // Apply different styles for group headers and regular items\r\n if (data.isGroup) {\r\n div.style.fontWeight = \"bold\"; // Highlight group names\r\n div.style.color = \"#0366d6\";\r\n div.style.padding = \"4px\";\r\n div.style.fontSize = \"12px\";\r\n div.style.borderBottom = \"1px solid #ddd\";\r\n div.style.pointerEvents = \"none\";\r\n div.style.opacity = \"0.6\";\r\n div.style.userSelect = \"none\"; // Prevent text selection\r\n } else {\r\n div.style.paddingLeft = \"12px\"; // Indent shielding items\r\n div.style.fontSize = \"14px\"; // Smaller font size for shielding items\r\n div.title = data.title ?? '';\r\n\r\n // Apply conditional styling based on shielding properties\r\n //TODO need to disable already selected, this isn't working\r\n if (data.isAlreadySelected) {\r\n div.style.color = \"gray\";\r\n // div.style.pointerEvents = \"none\"; // Prevent selection\r\n // div.style.opacity = \"0.5\";\r\n // data.color = \"gray\";\r\n div.setAttribute('data-disabled', 'true'); // Add custom attribute\r\n }\r\n else if (data.parentResourceType === this.resourceTypeEnum.Shutter ? data.shared : (data.sharedWith?.length ?? 0) > 0) {\r\n div.style.color = \"red\";\r\n data.color = \"red\";\r\n } else if (data.childResourceType && data.childResourceType > 99) {\r\n div.style.color = \"darkorange\";\r\n data.color = \"darkorange\";\r\n }\r\n else {\r\n div.style.color = \"black\";\r\n data.color = \"black\";\r\n }\r\n }\r\n\r\n return div;\r\n },\r\n onSelect: (item: any, insertItem: any) => {\r\n if (item.isGroup) return; // Prevent inserting group headers into the editor\r\n insertItem(item); // Insert mention into Quill editor\r\n }\r\n },\r\n toolbar: {\r\n container: [\r\n [{ header: [1, 2, 3, 4, 5, 6, false] }],\r\n ['bold', 'italic', 'underline', 'strike'], // toggled buttons\r\n [{ align: [] }],\r\n [{ list: 'ordered' }, { list: 'bullet' }],\r\n [{ indent: '-1' }, { indent: '+1' }, { align: [] }],\r\n [{ script: 'sub' }, { script: 'super' }], // superscript/subscript\r\n [{ color: [] }, { background: [] }], // dropdown with defaults from theme\r\n ['table'], // Add the table option to the toolbar\r\n ['link', 'image', 'video'],\r\n ['clean'],\r\n ],\r\n },\r\n keyboard: {\r\n bindings: {\r\n enter: {\r\n key: 13,\r\n handler: (range: any, context: any) => {\r\n return true;\r\n }\r\n }\r\n }\r\n },\r\n imageDrop: true,\r\n imageResize: true,\r\n customImageResize: true,\r\n imageCompressor: {\r\n quality: 0.3, // default\r\n maxWidth: this.imageMaxWidth, // default\r\n imageType: 'image/*', // default\r\n debug: true\r\n },\r\n };\r\n\r\n defaultSelect!: string;\r\n\r\n constructor(\r\n private service: ImageUploadService,\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private elem: ElementRef,\r\n private cdRef: ChangeDetectorRef) {\r\n this.textValue = data.textValue;\r\n this.serialNo = data.serialNo;\r\n this.formType = data.formType;\r\n this.title = data.title;\r\n this.minHeight = data.minHeight;\r\n this.maxHeight = data.maxHeight;\r\n this.mentions = data.mentions;\r\n this.selectedMentions = data.selectedMentions;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildForm();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.maximize();\r\n\r\n this.quillEditorRef = this.quillCtrl.valueChanges.subscribe(() => {\r\n const editor = document.querySelector('.ql-editor'); // Get the Quill editor content\r\n if (!editor) return;\r\n\r\n // Extract mention IDs from the editor\r\n const mentionsInEditor: number[] = [];\r\n editor.querySelectorAll('span[data-id]').forEach((mention) => {\r\n const id = Number(mention.getAttribute('data-id'));\r\n if (!isNaN(id)) {\r\n mentionsInEditor.push(id);\r\n }\r\n });\r\n this.selectedMentions = mentionsInEditor;\r\n });\r\n }\r\n\r\n buildForm() {\r\n this.form = new FormGroup({\r\n quillCrtl: this.quillCtrl\r\n });\r\n }\r\n\r\n // Observe the dropdown for changes and apply pointer-events to disabled items\r\n observeDropdown() {\r\n const dropdown = document.querySelector('.ql-mention-list-container');\r\n if (!dropdown) return;\r\n\r\n const applyStyles = () => {\r\n dropdown.querySelectorAll('div[data-disabled=\"true\"]').forEach(div => {\r\n const parentLi = div.closest('li');\r\n if (parentLi) {\r\n parentLi.style.pointerEvents = 'none';\r\n parentLi.style.opacity = '0.5';\r\n }\r\n });\r\n };\r\n\r\n // Apply styles initially in case items are already present\r\n applyStyles();\r\n\r\n // Observe changes and re-apply styles when necessary\r\n const observer = new MutationObserver(() => {\r\n applyStyles();\r\n });\r\n\r\n observer.observe(dropdown, { childList: true, subtree: true });\r\n }\r\n\r\n created(quill: any) {\r\n $('.ql-container').css('min-height', this.minHeight);\r\n $('.ql-container').css('max-height', this.maxHeight);\r\n $('.ql-editor').css('max-height', this.maxHeight);\r\n $('.ql-editor').addClass('scrollbar');\r\n const dialogs = $('.mat-mdc-dialog-container');\r\n this.dialogId = dialogs[dialogs.length - 1].id;\r\n this.changed();\r\n quill.focus();\r\n setTimeout(() => quill.setSelection(quill.getLength(), 0));\r\n this.thisQuill = quill;\r\n }\r\n\r\n mouseOut() {\r\n // utils.removeExistingCustomContainers();\r\n }\r\n\r\n async save() {\r\n utils.removeExistingCustomContainers();\r\n this.loading = true;\r\n const textValue = await this.uploadImages(this.textValue);\r\n this.data.selectedMentions = this.selectedMentions;\r\n this.data.textValue = textValue;\r\n this.loading = false;\r\n this.dialog.close(this.data);\r\n }\r\n\r\n cancel() {\r\n this.dialog.close();\r\n }\r\n\r\n applyCustom() {\r\n const selected = this.thisQuill.getSelection().length;\r\n // If no selection toggle on or off\r\n if (!selected) {\r\n this.customShielding = !this.customShielding;\r\n }\r\n\r\n if (selected || this.customShielding) {\r\n this.thisQuill.format('color', 'blue');\r\n this.thisQuill.format('background', '#d3e1eb');\r\n this.thisQuill.format('bold', true);\r\n }\r\n else {\r\n this.thisQuill.format('color', false);\r\n this.thisQuill.format('background', false);\r\n this.thisQuill.format('bold', false);\r\n }\r\n }\r\n\r\n async uploadImages(textValue: string) {\r\n const text = await this.service.uploadImagesToServer(textValue, '/' + this.formType.toString()?.trim() + '/' + this.serialNo + '/Comments/');\r\n return text;\r\n }\r\n\r\n isShowHTML() {\r\n this.showHTML = !this.showHTML;\r\n this.cdRef.detectChanges();\r\n this.changed();\r\n }\r\n\r\n changed() {\r\n // const editorHeight = $('.edit-container').height() ?? 0;\r\n const windowHeight = $('#' + this.dialogId).height() ?? 0;\r\n $('.ql-container').height(windowHeight - 50);\r\n $('.html-textarea').height(windowHeight - 70);\r\n // if (editorHeight > windowHeight - 22) {\r\n // $('#' + this.dialogId).height(editorHeight - 22);\r\n // }\r\n }\r\n\r\n maximize() {\r\n this.fullScreen = true;\r\n this.dialog.addPanelClass('maximized');\r\n }\r\n\r\n restore() {\r\n this.fullScreen = false;\r\n this.dialog.removePanelClass('maximized');\r\n }\r\n\r\n imageSizeSelected(e: { label: any; value: any; }) {\r\n this.elem.nativeElement.querySelector('.imageSizes .ql-picker-label').innerHTML\r\n = e.label + this.defaultSelect;\r\n this.imageMaxWidth = e.value;\r\n this.quillConfig.imageCompressor.maxWidth = this.imageMaxWidth;\r\n Quill.register('modules/imageCompressor', imageCompressor);\r\n }\r\n\r\n addTable(e: { clipboard: { dangerouslyPasteHTML: (arg0: string) => void; }; }) {\r\n var tableHtml = '
    Cell 1Cell 2
    Cell 3Cell 4
    ';\r\n e.clipboard.dangerouslyPasteHTML(tableHtml);\r\n }\r\n\r\n}\r\n\r\n// #region Mention style\r\nconst MentionBlot = Quill.import(\"blots/mention\");\r\nclass StyledMentionBlot extends MentionBlot {\r\n static render(data: { value: string; color: string; title: string }) {\r\n const element = document.createElement(\"span\");\r\n element.innerText = data.value;\r\n element.style.color = data.color;\r\n element.title = data.title;\r\n element.style.fontWeight = \"bold\";\r\n\r\n return element;\r\n }\r\n}\r\nStyledMentionBlot['blotName'] = \"styled-mention\";\r\n\r\nQuill.register(StyledMentionBlot);\r\n// #endregion\r\n","

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n health_and_safety\r\n \r\n \r\n \r\n \r\n \r\n \r\n save\r\n \r\n \r\n cancel\r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n save\r\n \r\n \r\n cancel\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Uploading images ....\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, Output, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatDialogConfig } from '@angular/material/dialog';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { CommentsBoxEditComponent } from './comments-box-edit/comments-box-edit.component';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\nimport { FloatLabelType } from '@angular/material/form-field';\r\nimport { FormControl } from '@angular/forms';\r\nimport { ClBaseComponent } from '../checklist-components/cl-base/cl-base.component';\r\nimport { ImageUploadService } from 'src/app/services/file/image-upload.service';\r\nimport { Router } from '@angular/router';\r\nimport linkifyHtml from 'linkify-html';\r\n\r\n\r\n\r\n@Component({\r\n selector: 'comments-box',\r\n templateUrl: './comments-box.component.html',\r\n styleUrls: ['./comments-box.component.scss']\r\n})\r\nexport class CommentsBoxComponent extends ClBaseComponent implements OnChanges {\r\n\r\n @Input() minHeight?: string;\r\n @Input() maxHeight?: string;\r\n @Input() hasError!: boolean;\r\n @Input() hilite?: boolean | null;\r\n @Input() control?: FormControl;\r\n @Input() noSubscript?: boolean;\r\n @Input() placeholder?: string;\r\n @Input() cssClass?: string;\r\n @Input() noBorder?: boolean = false;\r\n @Input() hint?: SafeHtml | string | null;\r\n @Input() mentions?: any[];\r\n\r\n @Output() textChanged = new EventEmitter();\r\n @Output() mentionsChanged = new EventEmitter();\r\n @Output() cancelled = new EventEmitter();\r\n\r\n public loading!: boolean;\r\n textValueSanitized!: SafeHtml | null;\r\n selectedMentions: number[] = [];\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private sanitizer: DomSanitizer,\r\n private placeholdersService: PlaceholdersService,\r\n private service: ImageUploadService,\r\n private router: Router\r\n ) {\r\n super(injector);\r\n }\r\n\r\n\r\n async ngOnChanges(changes: SimpleChanges): Promise {\r\n if (this.textValue?.includes('data:image')) {\r\n const text = await this.uploadImages(this.textValue);\r\n if (text != this.textValue) {\r\n this.textChanged.emit(text);\r\n this.textValue = text;\r\n }\r\n }\r\n this.textValueSanitized = this.textValue ? this.transform(this.textValue) : null;\r\n if (this.textValueSanitized)\r\n\r\n if (this.control) {\r\n if (this.disabled)\r\n this.control.disable();\r\n else {\r\n this.control.enable();\r\n }\r\n if (this.hasError) this.control.setErrors({ required: true });\r\n }\r\n }\r\n\r\n editText(e?: any, parent?: any) {\r\n e?.stopPropagation();\r\n const target = e?.target as HTMLElement;\r\n const url = target?.getAttribute('href')!;\r\n if (target && target.tagName === 'A') {\r\n e?.preventDefault();\r\n // Check if the URL includes '/redirect/'\r\n if (url?.includes('/redirect/')) {\r\n const newUrl = url.replace(/.*?(\\/redirect\\/.*)/, '$1');\r\n // Ensure newUrl is formatted correctly\r\n const redirectRoute = newUrl.startsWith('/') ? newUrl : `/${newUrl}`;\r\n\r\n // Navigate to the new URL (this should trigger the guard)\r\n this.router.navigate([redirectRoute]);\r\n } else if (url.startsWith('http') || url.startsWith('www')) {\r\n // External URL: Use window.location.href\r\n const externalUrl = url.startsWith('www') ? `https://${url}` : url;\r\n window.open(externalUrl, '_blank');\r\n } else {\r\n // Internal route: Use Angular Router\r\n this.router.navigate([url]);\r\n }\r\n }\r\n else {\r\n const box = parent?.getBoundingClientRect();\r\n if (!this.disabled && !this.loading) {\r\n const dialogConfig = new MatDialogConfig();\r\n if (box) {\r\n const height = box.height + 52;\r\n let top = (((box.top ?? 0) - 38) > 0 ? ((box.top ?? 0) - 38) : 0);\r\n if (top + height > window.innerHeight) {\r\n top = window.innerHeight - height < 120 ? 120 : window.innerHeight - height;\r\n }\r\n dialogConfig.width = (box.width + 1) + 'px';\r\n dialogConfig.height = this.minHeight ? this.minHeight : height + 'px';\r\n dialogConfig.position = { left: (box.left ?? 0) + 'px', top: top + 'px' };\r\n }\r\n dialogConfig.autoFocus = false;\r\n dialogConfig.disableClose = true;\r\n dialogConfig.maxWidth = '100%';\r\n dialogConfig.maxHeight = (window.innerHeight * .9 - 105) + 'px';\r\n dialogConfig.minHeight = this.minHeight ? this.minHeight : '0';\r\n dialogConfig.data = {\r\n textValue: this.textValue,\r\n formType: this.formType,\r\n serialNo: this.serialNo,\r\n title: this.title,\r\n minHeight: this.minHeight,\r\n maxHeight: (window.innerHeight * .9 - 120) + 'px',\r\n mentions: this.mentions,\r\n selectedMentions: this.selectedMentions\r\n };\r\n const dialogRef = this.dialog.open(CommentsBoxEditComponent, dialogConfig);\r\n dialogRef.afterClosed().subscribe(async (data) => {\r\n if (data) {\r\n this.loading = true;\r\n this.textValue = data.textValue;\r\n this.selectedMentions = data.selectedMentions;\r\n console.log('selectedMentions:', this.selectedMentions);\r\n\r\n this.emit(data.textValue, data.selectedMentions);\r\n this.hasError = this.textValue ? false : true;\r\n } else if (!this.textValue) {\r\n this.hasError = true;\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n emit(textValue: any, selectedMentions: any) {\r\n this.textChanged.emit(textValue);\r\n this.mentionsChanged.emit(selectedMentions);\r\n this.loading = false;\r\n }\r\n\r\n getFloatLabel(): FloatLabelType {\r\n return this.textValue ? 'always' : 'auto';\r\n }\r\n\r\n transform(value: string): SafeHtml | null {\r\n if (value) {\r\n const res = value?.replace(new RegExp('\\{([a-z,A-Z,0-9]+)\\}', 'ig'), match => {\r\n value = this.placeholdersService.getValue(match);\r\n if (value !== undefined && !this.editor) {\r\n return '' + value + '';\r\n }\r\n else {\r\n return '' + match + '';\r\n }\r\n });\r\n return this.sanitizer.bypassSecurityTrustHtml(linkifyHtml(res));\r\n }\r\n else {\r\n return null;\r\n }\r\n }\r\n\r\n async uploadImages(textValue: string) {\r\n const text = await this.service.uploadImagesToServer(textValue, '/' + this.formType?.toString()?.trim() + '/' + this.serialNo + '/Comments/');\r\n return text;\r\n }\r\n\r\n onLinkClick(event: MouseEvent) {\r\n const target = event.target as HTMLElement;\r\n if (target.tagName === 'A') {\r\n event.preventDefault(); // Prevent default link behavior\r\n const url = target.getAttribute('href');\r\n // Implement your redirection logic here, for example:\r\n console.log(`Link clicked: ${url}`);\r\n // Optionally, you can use a service to handle routing or other logic\r\n }\r\n }\r\n}\r\n","\r\n
    \r\n {{ label ?? title }}\r\n
    \r\n This comment box is disabled because the developer forgot to add a\r\n required parameter to the component:\r\n
    \r\n
    \r\n Required Input Parameter: formType\r\n
    \r\n
    \r\n Required Input Parameter: serialNo\r\n
    \r\n
    \r\n\r\n\r\n \r\n\r\n
    \r\n \r\n {{\r\n textValue ? label ?? title : placeholder ?? label ?? title\r\n }}\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n You must enter a value\r\n \r\n \r\n \r\n\r\n \r\n edit\r\n \r\n Uploading Images ... \r\n\r\n","import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CommentsBoxComponent } from './comments-box.component';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { CommentsBoxEditComponent } from './comments-box-edit/comments-box-edit.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n CommentsBoxComponent,\r\n CommentsBoxEditComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatInputModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n QuillModule.forRoot(),\r\n ],\r\n exports: [\r\n CommentsBoxComponent\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class CommentsBoxModule { }\r\n","import { Component, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { CommentResource } from 'src/app/controls/comments-and-attachments/services/comment';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\n\r\n@Component({\r\n selector: 'comments-summary',\r\n templateUrl: './comments-summary.component.html',\r\n styleUrls: ['./comments-summary.component.scss']\r\n})\r\nexport class CommentsSummaryComponent {\r\n\r\n comments?: CommentResource[];\r\n loading: boolean = true;\r\n sections: string[] = [];\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public currentDocument: any,\r\n private _wf: WorkFlowService\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.getData();\r\n }\r\n\r\n getData() {\r\n this._wf.comments(this.currentDocument.wfTableID).subscribe(data => {\r\n this.comments = data;\r\n var section: string | undefined = \"\";\r\n this.comments.map(c => {\r\n if (c.section != section && c.section) {\r\n section = c.section;\r\n this.sections.push(c.section);\r\n }\r\n });\r\n this.loading = false;\r\n })\r\n }\r\n\r\n commentsBySection(section: string) {\r\n return this.comments?.filter(x => x.section == section);\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n Comments & Recommendations\r\n
    \r\n
    \r\n
    \r\n SerialNo: {{ currentDocument.serialNo }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Endstation(s): {{ currentDocument.resourceName }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Comments Count: {{ comments?.length }}\r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n\r\n
    \r\n
    \r\n
    \r\n Section:\r\n \r\n {{ section }}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Task: {{ comment.code }}
    \r\n Created On: {{ comment.createdOn | date }}
    \r\n Created By: {{ comment.createdByName }}\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-confirm-message',\r\n templateUrl: './confirm-message.component.html',\r\n styleUrls: ['./confirm-message.component.scss']\r\n})\r\nexport class ConfirmMessageComponent implements OnInit {\r\n\r\n constructor(public dialogRef: MatDialogRef) { }\r\n result_true = true;\r\n result_false = false;\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
    \r\n

    Are you sure you want to delete this?

    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n","import { ChangeDetectorRef, Component, EventEmitter, Input, Output, SimpleChanges } from '@angular/core';\r\nimport moment from 'moment';\r\n\r\n@Component({\r\n selector: 'datetime-picker',\r\n templateUrl: './datetime-picker.component.html',\r\n styleUrls: ['./datetime-picker.component.scss']\r\n})\r\nexport class DatetimePickerComponent {\r\n\r\n @Input() dateTime?: Date | null;\r\n @Input() valid?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n today = new Date();\r\n\r\n date?: Date;\r\n time!: string;\r\n\r\n constructor(\r\n private cdRef: ChangeDetectorRef\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (this.dateTime) {\r\n this.date = new Date(this.dateTime);\r\n let hours;\r\n let ampm;\r\n if (this.date.getHours() <= 12) {\r\n hours = this.date.getHours();\r\n ampm = 'AM';\r\n } else {\r\n hours = this.date.getHours() - 12;\r\n ampm = 'PM';\r\n }\r\n this.time = hours + ':' + this.date.getMinutes() + ' ' + ampm;\r\n }\r\n }\r\n\r\n changedDate(e: any) {\r\n this.date = e.value;\r\n this.emitDateTime();\r\n }\r\n\r\n // changedTime(e: string) {\r\n // this.time = e;\r\n // this.cdRef.detectChanges();\r\n // this.emitDateTime();\r\n // }\r\n\r\n emitDateTime() {\r\n if (this.date) {\r\n const result = this.date.toDateString();\r\n const dateTime = new Date(result);\r\n this.changed.emit(dateTime);\r\n }\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n Date\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n","import { Component, OnInit, Inject, Injector } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\n\r\n@Component({\r\n selector: 'disapproval-reason',\r\n templateUrl: './disapproval-reason.component.html',\r\n styleUrls: ['./disapproval-reason.component.scss']\r\n})\r\nexport class DisapprovalReasonComponent extends BaseComponent implements OnInit {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public disapprovalReason: string,\r\n private _alert: AlertService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n private errorMsg!: string[];\r\n private valid!: boolean;\r\n\r\n ngOnInit(): void {\r\n this.errorMsg = [];\r\n }\r\n\r\n add() {\r\n if (this.isValid()) {\r\n this.dialogRef.close(this.disapprovalReason);\r\n } else {\r\n this._alert.error(this.errorMsg.join(\", \"));\r\n var that = this;\r\n setTimeout(function () { that._alert.clear(); }, 3000);\r\n }\r\n this.errorMsg = [];\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n\r\n isValid() {\r\n this.valid = true;\r\n if (isNullOrWhiteSpace(this.disapprovalReason) == true) {\r\n this.errorMsg.push(\"Field Disapproval Reason should not be blank!\");\r\n this.valid = false;\r\n }\r\n return this.valid;\r\n }\r\n\r\n}\r\n\r\nfunction isNullOrWhiteSpace(input: string) {\r\n return !input || !input.trim();\r\n}\r\n","
    \r\n
    \r\n Disapproval Reason\r\n
    \r\n
    \r\n \r\n Disapproval Reason\r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport FileV2 from 'src/app/services/file/file-v2.model';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\n\r\n@Component({\r\n selector: 'file-upload-v2',\r\n templateUrl: './file-upload-v2.component.html',\r\n styleUrls: ['./file-upload-v2.component.scss']\r\n})\r\nexport class FileUploadV2Component implements OnInit, OnChanges {\r\n @Input() get fileID() { return this.fileIDValue; }\r\n @Input() get file() { return this.fileValue; }\r\n @Input() get processingFile() { return this.processingFileValue }\r\n @Input() path: string = \"/\";\r\n @Input() disabled!: boolean;\r\n @Input() deleteFile: boolean = true;\r\n @Input() fileName?: string;\r\n @Input() fileHelp?: boolean;\r\n @Input() buttonLabel?: string;\r\n\r\n helpPath: string = '/help/';\r\n\r\n @Output() fileIDChange = new EventEmitter();\r\n @Output() fileChange = new EventEmitter();\r\n @Output() processingFileChange = new EventEmitter();\r\n\r\n fileIDValue?: number | null;\r\n fileValue?: FileV2 | null;\r\n processingFileValue!: boolean;\r\n\r\n set fileID(val) {\r\n this.fileIDValue = val;\r\n if (this.fileIDValue)\r\n this.fileIDChange.emit(this.fileIDValue);\r\n }\r\n\r\n set file(val) {\r\n this.fileValue = val;\r\n if (this.fileValue)\r\n this.fileChange.emit(this.fileValue);\r\n }\r\n\r\n set processingFile(val) {\r\n this.processingFileValue = val;\r\n this.processingFileChange.emit(this.processingFileValue);\r\n }\r\n\r\n //messages\r\n label_select_pdf?: string;\r\n //messages\r\n\r\n constructor(\r\n private file2Service: FileV2Service,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.label_select_pdf = 'Upload PDF';\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ('fileName' in changes) {\r\n if (this.fileName != undefined && this.fileName != null) {\r\n this.fileName = this.fileName;\r\n }\r\n }\r\n }\r\n\r\n delete() {\r\n if (!this.deleteFile) {\r\n this.file = null;\r\n this.fileID = null;\r\n return;\r\n }\r\n this.processingFile = true;\r\n if (this.fileID)\r\n this.file2Service.delete(this.fileID).subscribe(\r\n () => {\r\n this.file = null;\r\n this.fileID = null;\r\n },\r\n error => console.error(error),\r\n () => this.processingFile = false\r\n );\r\n }\r\n\r\n upload(e: any) {\r\n const file = e.target?.files?.[0];\r\n let form = new FormData();\r\n if (this.fileHelp) {\r\n this.formatHelpFilePath();\r\n }\r\n\r\n form.append(\"file\", file);\r\n form.append(\"path\", this.path + file.name);\r\n\r\n this.processingFile = true;\r\n this.file2Service.createFiles(form).subscribe(\r\n (file: FileV2) => {\r\n this.file = file;\r\n this.fileID = this.file.id;\r\n },\r\n error => {\r\n console.error(error);\r\n },\r\n () => {\r\n this.processingFile = false;\r\n }\r\n );\r\n }\r\n\r\n formatHelpFilePath() {\r\n if (this.path?.length > 0) {\r\n if (this.path[this.path?.length - 1] !== '/')\r\n this.path = this.path + '/'\r\n }\r\n if (!this.path.includes(this.helpPath)) {\r\n this.path = this.helpPath + this.path;\r\n }\r\n }\r\n\r\n getFileName() {\r\n return this.fileName ?? this.file?.name;\r\n }\r\n\r\n}\r\n","
    \r\n PDF File\r\n \r\n
    \r\n\r\n add_box\r\n {{ buttonLabel ? buttonLabel : label_select_pdf }}\r\n \r\n \r\n\r\n","import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'filter-box',\r\n templateUrl: './filter-box.component.html',\r\n styleUrls: ['./filter-box.component.scss']\r\n})\r\nexport class FilterBoxComponent {\r\n\r\n @Input() data?: FilterData[];\r\n @Output() changed = new EventEmitter();\r\n @Output() selected = new EventEmitter();\r\n\r\n @ViewChild('filterBox') filterBox!: ElementRef;\r\n @ViewChild('results') results!: ElementRef;\r\n\r\n valueFilter?: string | null;\r\n filteredValues?: FilterData[];\r\n\r\n applyFilter(e: any) {\r\n if (!e) {\r\n this.valueFilter = '';\r\n this.filteredValues = undefined;\r\n }\r\n else this.valueFilter = e.target.value;\r\n if (!this.data && (this.valueFilter?.length ?? 0) >= 1 || !this.valueFilter)\r\n this.changed.emit(this.valueFilter);\r\n else {\r\n if (this.valueFilter) {\r\n this.filteredValues = this.data?.filter(x => this.valueFilter ? x.text.toLowerCase().includes(this.valueFilter.toLowerCase()) : false);\r\n const width = this.filterBox?.nativeElement.clientWidth;\r\n this.results.nativeElement.style.width = width + 'px';\r\n }\r\n else this.filteredValues = undefined;\r\n }\r\n }\r\n\r\n itemSelected(i: FilterData) {\r\n this.selected.emit(i);\r\n }\r\n}\r\n\r\nexport interface FilterData {\r\n id: number;\r\n text: string;\r\n}\r\n","
    \r\n \r\n Filter\r\n \r\n search\r\n close\r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n
    \r\n \r\n\r\n","import { Component, Input, Output, EventEmitter, OnChanges, SimpleChanges, OnDestroy, OnInit, Injector, ViewChild } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { MatSort, Sort } from '@angular/material/sort';\r\nimport { FormStatusEnum, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { FormService } from './form.service';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { EbService } from 'src/app/components/eb/eb.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { PpstbService } from 'src/app/components/ppstb/ppstb.service';\r\n\r\n@Component({\r\n selector: 'form-table',\r\n templateUrl: './form-table.component.html',\r\n styleUrls: ['./form-table.component.scss']\r\n})\r\nexport class FormTableComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() formType!: FormType;\r\n @Input() displayedColumns!: string[];\r\n @Input() filter?: string;\r\n\r\n @Output() error = new EventEmitter();\r\n @Output() rowClick = new EventEmitter
    ();\r\n @Output() loading = new EventEmitter();\r\n\r\n form?: Form | null;\r\n forms!: Form[];\r\n forms$!: Observable;\r\n formsSubs!: Subscription;\r\n\r\n allForms: Form[] = [];\r\n filteredForms: Form[] = [];\r\n\r\n showClosed!: boolean;\r\n\r\n subEditing!: Subscription;\r\n subRefreshForms!: Subscription;\r\n sortDefault: Sort = { active: 'sequenceNumber', direction: 'asc' };\r\n pendingSelect: number | null = null;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n dataSource!: MatTableDataSource;\r\n service!: EbService | PpstbService;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n public formService: FormService,\r\n private ebService: EbService,\r\n private ppstbService: PpstbService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.service = this.formType == this.formTypeEnum.PPSTB ? this.ppstbService : this.ebService;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loading.emit(true);\r\n this.loadForms();\r\n if ('filter' in changes) {\r\n this.filterForms();\r\n }\r\n }\r\n\r\n loadForms() {\r\n this.forms$ = this.store.select(state => state.Forms.data);\r\n this.formsSubs = this.forms$.subscribe(async data => {\r\n if (data?.length) {\r\n this.allForms = [];\r\n this.allForms = data.filter(x => x.type == this.formType);\r\n this.filteredForms = [];\r\n this.filterForms();\r\n\r\n const openDocument = await this.checkOpenDocument(this.formType, data);\r\n if (openDocument && this.form?.id != openDocument.document.id) {\r\n this.setFormDirty(false);\r\n this.showClosed = openDocument.closed;\r\n this.getValues(openDocument.document);\r\n }\r\n else this.loading.emit(false);\r\n this.systemAffected();\r\n }\r\n });\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.subEditing?.unsubscribe();\r\n this.subRefreshForms?.unsubscribe();\r\n this.formsSubs?.unsubscribe();\r\n }\r\n\r\n filterForms(): void {\r\n if (!this.filter) {\r\n this.filter = '';\r\n }\r\n this.filter = this.filter.toLowerCase();\r\n this.filteredForms = this.allForms.filter(x => !this.showClosed ? (x.formVersion.statusID != FormStatusEnum.Closed && x.formVersion.statusID != FormStatusEnum.Canceled) : true).filter(x =>\r\n x.sequenceNumber.number.trim().toLowerCase().includes(this.filter ?? '') ||\r\n x.formVersion.status.name.trim().toLowerCase().includes(this.filter ?? '') || x.formVersion.systemAffected?.toLowerCase().includes(this.filter ?? '')\r\n );\r\n this.dataSource = new MatTableDataSource(this.filteredForms.sort((a, b) => utils.sort(a.sequenceNumber.number, b.sequenceNumber.number, false)));\r\n this.setSortingAccessor();\r\n }\r\n\r\n async getValues(form: Form) {\r\n if (await this.canDeactivate()) {\r\n this.form = form;\r\n this.setOpenDocument(form.type, form.id);\r\n this.loading.emit(true);\r\n this.rowClick.emit(form);\r\n }\r\n }\r\n\r\n setSortingAccessor() {\r\n // Define the sorting accessor\r\n this.dataSource.sortingDataAccessor = (item, property) => {\r\n switch (property) {\r\n case 'sequenceNumber':\r\n return item.sequenceNumber.number; // Access the nested property for sequence number\r\n case 'status':\r\n return item.formVersion.status.name; // Access the nested property for status name\r\n case 'systemAffected':\r\n return item.formVersion.systemAffected ?? ''; // Access the nested property for system affected\r\n default:\r\n return (item as any)[property]; // Fallback to the default property\r\n }\r\n };\r\n this.setSort(this.dataSource, this.sort);\r\n }\r\n\r\n clear() {\r\n }\r\n\r\n systemAffected() {\r\n switch (this.formType) {\r\n case FormType.PPSTB: {\r\n this.filteredForms.map(element => {\r\n const systemAffected = [];\r\n element.description = element.formVersion.ppstb?.justificationForBypass;\r\n if (element.formVersion.ppstb?.accelerator) {\r\n if (element.formVersion.ppstb.ppstbAcceleratorLocations.length > 0) {\r\n element.formVersion.ppstb.ppstbAcceleratorLocations.map(location => {\r\n systemAffected.push(location.resource?.name);\r\n });\r\n } else { systemAffected.push('Accelerator'); }\r\n }\r\n if (element.formVersion.ppstb?.beamline) {\r\n if (element.formVersion.ppstb.ppstbShutters.length > 0) {\r\n element.formVersion.ppstb.ppstbShutters.map(shutter => {\r\n systemAffected.push(shutter.resource?.name);\r\n });\r\n } else { systemAffected.push('Beamline'); }\r\n }\r\n if (element.formVersion.ppstb?.topOff) {\r\n systemAffected.push('Top-Off');\r\n }\r\n if (element.formVersion.ppstb?.radiationMonitoringSystem) {\r\n systemAffected.push('Radiation Monitoring System');\r\n }\r\n if (element.formVersion.ppstb?.ppstbOtherSystems.length) {\r\n element.formVersion.ppstb.ppstbOtherSystems.map(otherSystem => {\r\n systemAffected.push(otherSystem.text);\r\n });\r\n }\r\n element.formVersion.systemAffected = systemAffected.join(', ');\r\n });\r\n break;\r\n }\r\n case FormType.EBF: {\r\n this.filteredForms.map(element => {\r\n const systemAffected = [];\r\n element.description = element.formVersion.eB2?.equipmentOrFunctionForBypassAndReason;\r\n if (element.formVersion.eB2?.accelerator) {\r\n if (element.formVersion.eB2.eB2AcceleratorLocations.length > 0) {\r\n element.formVersion.eB2.eB2AcceleratorLocations.map(location => {\r\n systemAffected.push(location.resource?.name);\r\n });\r\n } else { systemAffected.push('Accelerator'); }\r\n }\r\n if (element.formVersion.eB2?.beamline) {\r\n if (element.formVersion.eB2.eB2Shutters.length > 0) {\r\n element.formVersion.eB2.eB2Shutters.map(shutter => {\r\n systemAffected.push(shutter.resource?.name);\r\n });\r\n } else { systemAffected.push('Beamline'); }\r\n }\r\n if (element.formVersion.eB2?.eB2OtherSystems.length) {\r\n element.formVersion.eB2.eB2OtherSystems.map(otherSystem => {\r\n systemAffected.push(otherSystem.text);\r\n });\r\n }\r\n element.formVersion.systemAffected = systemAffected.join(', ');\r\n });\r\n break;\r\n }\r\n default: break;\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n Show Closed/Canceled\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n No. \r\n \r\n edit\r\n \r\n \r\n \r\n \r\n System Affected\r\n \r\n \r\n \r\n \r\n \r\n Status\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { Form, FormSave } from 'src/app/services/forms/form';\r\nimport { WFTaskSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FormService {\r\n FORMediting?: number | null = null;\r\n url = environment.urls.baseApiUrl;\r\n api = '/Form';\r\n currentDoc?: number | null = null;\r\n currentSN?: string | null = null;\r\n wasRouted?: boolean;\r\n\r\n SerialNumber = '/SerialNumbers/';\r\n\r\n constructor(\r\n public http: HttpClient,\r\n ) { }\r\n\r\n create(form: FormSave | null): Observable | null {\r\n if (form)\r\n return this.http.post(this.url + this.api, form);\r\n else return null;\r\n }\r\n\r\n getById(id: number): Observable {\r\n return this.http.get(this.url + this.api + '/' + id.toString());\r\n }\r\n\r\n readByType(type: FormType): Observable {\r\n return this.http.get(this.url + this.api + '/Type/' + type.toString());\r\n }\r\n\r\n setEditing(id: number, value?: boolean): Observable {\r\n const URL = this.url + this.api + '/Setediting/' + id;\r\n const httpresult2 = this.http.put(URL, { Value: value });\r\n return httpresult2;\r\n }\r\n\r\n readBySerialNumber(serial: string): Observable {\r\n return this.http.get(this.url + this.api + '/SerialNumber/' + serial);\r\n }\r\n\r\n sign(taskSignature: WFTaskSignatureResource): Observable {\r\n const httpresult = this.http.patch(this.url + this.api + '/Sign', taskSignature);\r\n return httpresult;\r\n }\r\n\r\n delete(serialNo: string) {\r\n const httpresult = this.http.delete(this.url + this.api + '/' + serialNo);\r\n return httpresult;\r\n }\r\n\r\n getSerialNo(formType: FormType): Observable {\r\n const httpresult1 = this.http.get(this.url + this.SerialNumber + formType);\r\n return httpresult1;\r\n }\r\n\r\n deleteSerialNumbers(formType: FormType, userID: number) {\r\n const httpresult1 = this.http.delete(this.url + this.SerialNumber + formType + '/' + userID);\r\n return httpresult1;\r\n }\r\n}\r\n\r\ninterface SerialNumber {\r\n serialNo: string;\r\n}\r\n","import { Form } from \"src/app/services/forms/form\";\r\n\r\nexport class FormsRefresh {\r\n static readonly type = '[Forms] Refresh';\r\n constructor(public type?: number) { }\r\n}\r\n\r\nexport class FormsRefreshByID {\r\n static readonly type = '[Forms] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class FormsCreate {\r\n static readonly type = '[Forms] Create';\r\n\r\n constructor(public item: Form) { }\r\n}\r\n\r\nexport class FormsUpdate {\r\n static readonly type = '[Forms] Update';\r\n\r\n constructor(public id: number, public item: Form) { }\r\n}\r\n\r\nexport class FormsDelete {\r\n static readonly type = '[Forms] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { FormsCreate, FormsDelete, FormsRefresh, FormsRefreshByID, FormsUpdate } from './forms.action';\r\nimport { FormService } from '../form.service';\r\nimport { Form } from 'src/app/services/forms/form';\r\n\r\nexport class FormsStateModel {\r\n data: Form[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Forms',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class FormsState {\r\n constructor(\r\n private _service: FormService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: FormsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(FormsRefresh)\r\n refresh({ patchState }: StateContext, { type }: FormsRefresh) {\r\n this._service.readByType(type ?? 0).subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(FormsRefreshByID)\r\n refreshByID({ getState, patchState }: StateContext, { id }: FormsRefreshByID) {\r\n this._service.getById(id).toPromise().then(data => {\r\n if (data) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0)\r\n state.data.splice(index, 1);\r\n\r\n patchState({\r\n data: [...state.data, data]\r\n });\r\n }\r\n });\r\n }\r\n\r\n @Action(FormsCreate)\r\n create({ getState, patchState }: StateContext, { item }: FormsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(FormsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: FormsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(FormsDelete)\r\n delete({ getState, patchState }: StateContext, { id }: FormsDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as FormsActions from './forms.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FormsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initStore(type: number) {\r\n this.store.dispatch(new FormsActions.FormsRefresh(type));\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.FORMS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new FormsActions.FormsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new FormsActions.FormsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new FormsActions.FormsDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new FormsActions.FormsRefresh(data.type));\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new FormsActions.FormsRefreshByID(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, Input } from '@angular/core';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'initials-chip',\r\n templateUrl: './initials-chip.component.html',\r\n styleUrls: ['./initials-chip.component.scss']\r\n})\r\nexport class InitialsChipComponent {\r\n @Input() user: User | undefined | null;\r\n @Input() date: Date | undefined | null;\r\n @Input() disabled?: boolean = false;\r\n\r\n getTooltip(): string {\r\n return `${this.user?.name}
    ${utils.formatDatePipe(this.date, 'MM-dd-yyyy h:mm a')}`;\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ user?.initials }}\r\n \r\n
    \r\n","import { Component, EventEmitter, Input, OnInit, Output } from \"@angular/core\";\r\nimport moment from \"moment\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\n\r\n@Component({\r\n selector: \"mat-checkbox-with-label\",\r\n templateUrl: \"./mat-checkbox-with-label.component.html\",\r\n styleUrls: [\"./mat-checkbox-with-label.component.scss\"],\r\n})\r\nexport class MatCheckboxWithLabelComponent implements OnInit {\r\n @Input() checked?: boolean;\r\n @Input() disabled?: boolean;\r\n @Input() labelPosition: \"before\" | \"after\" = 'before';\r\n @Input() color: string = \"primary\";\r\n @Input() label!: string;\r\n @Input() user?: User | null;\r\n @Input() warning?: string | null;\r\n @Input() editor!: boolean;\r\n @Input() date?: Date | null;\r\n\r\n @Output() change = new EventEmitter();\r\n\r\n constructor() { }\r\n\r\n ngOnInit() { }\r\n\r\n getTooltip() {\r\n if (this.user && this.date)\r\n return '' + this.user.name + \"
    \" + moment(this.date).format(\"M/D/YY HH:mm:ss\") + \"\";\r\n return '';\r\n }\r\n\r\n changed(e: any) {\r\n this.change.emit(e);\r\n }\r\n}\r\n","
    \r\n warning\r\n
    \r\n \r\n \r\n \r\n
    \r\n {{\r\n checked ? user?.initials : null\r\n }}\r\n \r\n check\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from \"@angular/core\";\r\nimport moment from \"moment\";\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\n\r\n@Component({\r\n selector: \"mat-checkbox-with-roles\",\r\n templateUrl: \"./mat-checkbox-with-roles.component.html\",\r\n styleUrls: [\"./mat-checkbox-with-roles.component.scss\"],\r\n})\r\nexport class MatCheckboxWithRolesComponent implements OnInit, OnChanges {\r\n\r\n @Input() checked?: boolean = false;\r\n @Input() disabled?: boolean = false;\r\n @Input() labelPosition: \"before\" | \"after\" = 'before';\r\n @Input() color: string = \"primary\";\r\n @Input() roleCodes?: string;\r\n @Input() user?: User | null;\r\n @Input() warning?: string | null;\r\n @Input() date?: Date | null;\r\n\r\n @Output() change = new EventEmitter();\r\n\r\n constructor() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n getTooltip() {\r\n if (this.user)\r\n return `${this.user.name}\r\n ${this.date ? `
    ${moment(this.date).format(\"M/D/YY HH:mm:ss\")}` : ''}\r\n`;\r\n return '';\r\n }\r\n}\r\n","
    \r\n warning\r\n \r\n \r\n \r\n \r\n
    \r\n {{\r\n checked ? user?.initials : null\r\n }}\r\n \r\n check\r\n \r\n
    \r\n
    \r\n {{ user?.initials }}\r\n
    \r\n
    \r\n\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-normal-input-dialog',\r\n templateUrl: './normal-input-dialog.component.html',\r\n styleUrls: ['./normal-input-dialog.component.scss']\r\n})\r\nexport class NormalInputDialogComponent implements OnInit {\r\n public label!: string;\r\n public inputType = 'text';\r\n text = '';\r\n constructor(\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: any\r\n ) { }\r\n ngOnInit() {\r\n this.label = this.data.label;\r\n if ('inputType' in this.data) {\r\n this.inputType = this.data.inputType;\r\n }\r\n }\r\n cancel() {\r\n this.dialog.close(null);\r\n }\r\n accept() {\r\n this.dialog.close(this.text);\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ label }}\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Note } from 'src/app/services/notes/note.model';\r\n\r\n@Component({\r\n selector: 'notes',\r\n templateUrl: './notes.component.html',\r\n styleUrls: ['./notes.component.scss']\r\n})\r\nexport class NotesComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() notes?: Note[];\r\n @Input() canDelete = false;\r\n @Input() type?: number;\r\n @Output() delete = new EventEmitter();\r\n\r\n noteTypeText = {\r\n 1: 'Note',\r\n 2: 'Extension Request',\r\n 3: 'Extension Rejected'\r\n };\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.notes = this.notes?.filter(n => n.id);\r\n }\r\n}\r\n","
    \r\n \r\n {{ notes?.length }}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {{ note.user?.name }}\r\n {{\r\n note.date | date : \"shortDate\"\r\n }}\r\n delete\r\n
    \r\n \r\n {{\r\n noteTypeText[note.type ?? 1]\r\n }}\r\n
    \r\n\r\n \r\n {{ note.description }}\r\n
    \r\n
    \r\n \r\n \r\n \r\n\r\n","import { Component, ViewChild, ElementRef, Injector } from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Inject } from '@angular/core';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { NotificationService } from 'src/app/components/catalogs/notifications/services/notification.service';\r\nimport { NotificationMessage } from 'src/app/components/catalogs/notifications/services/notification.models';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { EmailAddress } from 'src/app/components/olog/olog';\r\nimport { COMMA, ENTER, TAB } from '@angular/cdk/keycodes';\r\n// Removed invalid TAB import as it is not a numeric key code\r\n\r\n@Component({\r\n selector: 'notification',\r\n templateUrl: './notification.component.html',\r\n styleUrls: ['./notification.component.scss']\r\n})\r\n\r\nexport class NotificationComponent extends BaseComponent {\r\n @ViewChild('emailsInput') emailsInputElem?: ElementRef;\r\n emailPattern = /^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$/;\r\n\r\n emailError = false;\r\n override separatorKeysCodes: number[] = [ENTER, COMMA, TAB]; // Removed TAB as it is not a valid numeric key code\r\n\r\n emails: EmailAddress[] = [];\r\n\r\n serialNo?: string;\r\n Subject?: string;\r\n Message?: string;\r\n Signature?: string;\r\n AdditionalText?: string;\r\n AddEmailRecipients = false;\r\n usersToNotify?: User[];\r\n\r\n readOnly = false;\r\n confirmation = false;\r\n disableSend = false;\r\n disabledTooltipMessage!: string;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private notificationServ: NotificationService,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n ngOnInit() {\r\n this.readOnly = this.data.readOnly;\r\n this.confirmation = this.data.confirmation;\r\n this.serialNo = this.data.message.serialNo;\r\n this.disableSend = this.data.disableSend;\r\n\r\n if (this.isObject(this.data.message.toAddresses)) {\r\n const emlObj = JSON.parse(this.data.message.toAddresses);\r\n const curEmails = this.utils.parseEmailAddresses(this.data.emailAddresses);\r\n const newEmails = this.utils.parseEmailAddresses(emlObj.added)?.map((e) => { return { address: e.address, name: e.name, isCustom: true } as EmailAddress }) ?? [];\r\n this.emails = curEmails.concat(newEmails);\r\n }\r\n else {\r\n const curEmails = this.utils.parseEmailAddresses(this.data.emailAddresses);\r\n this.emails = curEmails;\r\n }\r\n // this.disableSend = this.curEmails.some((e: string) => e.includes('lbl.gov') && e != this.currentUser?.emailAddress);\r\n if (this.disableSend) this.disabledTooltipMessage = 'Disabled to prevent email notifications from being sent to real email addresses';\r\n this.Subject = this.data.message.messageSubject;\r\n this.Message = this.data.message.messageBody;\r\n this.Signature = this.data.message.signature;\r\n this.AdditionalText = this.data.message.messageAdditionalText;\r\n }\r\n\r\n disableAll() {\r\n\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n async sendNotification() {\r\n let notificationMessage = await this.saveNotification(this.readOnly);\r\n if (notificationMessage) {\r\n console.log(notificationMessage);\r\n this.notificationServ.sendNotification(notificationMessage).toPromise().then(res => {\r\n if (res) {\r\n notificationMessage = res;\r\n const addressObj = this.utils.JSONparse(notificationMessage.toAddresses);\r\n var addresses: string[] = [];\r\n addressObj.computed.map((e: any) => {\r\n addresses.push(e);\r\n });\r\n addressObj.added.map((e: any) => {\r\n addresses.push(e);\r\n });\r\n // this.alert.info('Notification Sent by Email to: ' + addresses.join(', '));\r\n this.dialogRef.close(true);\r\n }\r\n }).catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n this.dialogRef.close(false);\r\n });\r\n\r\n }\r\n }\r\n\r\n continue() {\r\n this.dialogRef.close(true);\r\n }\r\n\r\n async saveNotification(close: boolean = true) {\r\n // if (!this.newEmails) {\r\n // this.newEmails = [];\r\n // }\r\n // if (this.emails != '') {\r\n // const emails = this.emails.split(',');\r\n // emails.map(e => {\r\n // if (e != '') {\r\n // this.newEmails.push(e);\r\n // }\r\n // });\r\n // }\r\n\r\n let notificationMessage: NotificationMessage;\r\n notificationMessage = this.data.message;\r\n const computed = this.emails.filter(e => !e.isCustom).map(e => e.name + ' <' + e.address + '>');\r\n const added = this.emails.filter(e => e.isCustom).map(e => '<' + e.address + '>');\r\n notificationMessage.toAddresses = JSON.stringify({ computed, added });\r\n notificationMessage.messageAdditionalText = this.AdditionalText;\r\n notificationMessage.type = this.data.type;\r\n notificationMessage.code = this.data.code;\r\n\r\n if (this.readOnly) {\r\n return notificationMessage;\r\n }\r\n const result =\r\n (notificationMessage.id) ?\r\n await this.notificationServ.saveNotification(notificationMessage).toPromise().catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n })\r\n :\r\n await this.notificationServ.createNotification(notificationMessage).toPromise().catch(error => {\r\n console.log(error);\r\n this.alert.defaultError();\r\n });\r\n\r\n if (close)\r\n this.dialogRef.close(result);\r\n return result;\r\n }\r\n\r\n showAddEmailField() {\r\n this.AddEmailRecipients = true;\r\n setTimeout(() => {\r\n this.emailsInputElem?.nativeElement.focus();\r\n }, 100);\r\n\r\n }\r\n\r\n validateEmailAddresses(e: any) {\r\n if (e.keyCode == 13 || e.keyCode == 188 || e.keyCode == 9 || !e.target.value) return;\r\n const value = e.target?.value;\r\n let result = true;\r\n if (result) {\r\n result = this.emailPattern.test(value.trim());\r\n }\r\n this.emailError = !result;\r\n }\r\n\r\n checkIfEmpty() {\r\n // if (this.emails.trim() == '') {\r\n // this.AddEmailRecipients = false;\r\n // }\r\n }\r\n\r\n isObject(obj: any) {\r\n let isValidJSON = true;\r\n try {\r\n JSON.parse(obj);\r\n } catch (e) {\r\n isValidJSON = false;\r\n }\r\n return isValidJSON;\r\n }\r\n\r\n add(e: any) {\r\n if (e.input.value.trim() != '') {\r\n const result = this.emailPattern.test(e.input.value.trim());\r\n if (!result) return;\r\n this.emails.push({ address: e.input.value, isCustom: true } as EmailAddress);\r\n this.clearInputValue(e);\r\n }\r\n }\r\n\r\n remove(e: any) {\r\n this.emails.splice(this.emails.indexOf(e), 1);\r\n }\r\n}\r\n","
    \r\n
    \r\n Email Notification ({{ serialNo }})\r\n
    \r\n
    \r\n
    \r\n
    To:
    \r\n
    \r\n \r\n Emails\r\n \r\n \r\n {{\r\n mail?.name\r\n ? mail.name + \" <\" + mail?.address + \">\"\r\n : mail?.address\r\n }}\r\n cancel\r\n \r\n \r\n \r\n \r\n You have entered an invalid Email Address!\r\n \r\n Enter a valid Email address, then press Enter, Comma or Tab keys to\r\n keep adding Email addresses.\r\n \r\n
    \r\n
    \r\n
    \r\n
    Subject:
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    Message:
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    Custom text:
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    Signature:
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Continue without Sending\r\n \r\n\r\n \r\n Send Email Notification\r\n \r\n \r\n Save\r\n \r\n
    \r\n
    \r\n","import { Component, OnInit, Inject, ViewChild, ElementRef, Injector } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { FormGroup, FormBuilder, Validators, AbstractControl, FormControl } from '@angular/forms';\r\nimport { environment } from 'src/environments/environment';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { EmailAddress, OLogEntry, OLogFormData, OlogDataBaseObject } from 'src/app/components/olog/olog';\r\nimport { OLogService } from 'src/app/components/olog/olog.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { DocumentType } from 'src/app/services/documents/documents';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-partial-olog',\r\n templateUrl: './partial-olog.component.html',\r\n styleUrls: ['./partial-olog.component.scss']\r\n})\r\nexport class PartialOlogComponent extends BaseComponent implements OnInit {\r\n @ViewChild('emailsInput') emailsInputElem?: ElementRef;\r\n emailPattern = /^[ ]*[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}[ ]*$/;\r\n addOnBlur = true;\r\n serialNo?: string;\r\n ologResData?: OLogEntry;\r\n formOlog!: FormGroup;\r\n // ToAddresses: string;\r\n emailAddresses: EmailAddress[] = [];\r\n categories?: string = '';\r\n level = 'Info';\r\n highlight = 'no highlight';\r\n host = document.location.host;\r\n\r\n tmpDescription?: string;\r\n tmpDetails?: string;\r\n formType?: DocumentType;\r\n\r\n documentTypes?: DocumentType[];\r\n documentTypesFiltered?: DocumentType[];\r\n documentTypes$!: Observable;\r\n documentTypesSubs!: Subscription;\r\n\r\n disabled: boolean = false;\r\n\r\n constructor(\r\n @Inject(MAT_DIALOG_DATA) public data: OlogDataBaseObject,\r\n public dialogRef: MatDialogRef,\r\n private fb: FormBuilder,\r\n private ologService: OLogService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n\r\n }\r\n\r\n loadDocumentTypes() {\r\n this.documentTypes$ = this.store.select(state => state.DocumentType.data);\r\n this.documentTypesSubs = this.documentTypes$.subscribe(data => {\r\n if (data?.length) {\r\n this.documentTypes = data;\r\n\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadDocumentTypes();\r\n this.disabled = this.data.disabled;\r\n const body: OLogFormData = JSON.parse(this.data.xmlBody.replace('\\n', ''));\r\n this.categories = body.categories?.join(', ');\r\n let ologFormData: OLogFormData;\r\n if (body) {\r\n this.tmpDescription = body.description;\r\n this.emailAddresses = [];\r\n if (this.data?.cc && this.data?.cc?.length) {\r\n for (const mail of this.data.cc) {\r\n if (!this.emailAddresses.some(e => e?.address === mail?.address && e.name == mail?.name)) {\r\n this.emailAddresses.push({\r\n address: mail.address,\r\n isCustom: mail.isCustom,\r\n name: mail.name\r\n });\r\n }\r\n }\r\n }\r\n if (body.cc && body.cc.length) {\r\n for (const mail of body?.cc) {\r\n if (!this.emailAddresses.some(e => e?.address === mail?.address && e.name == mail?.name)) {\r\n this.emailAddresses.push({\r\n address: mail.address,\r\n isCustom: mail.isCustom,\r\n name: mail.name\r\n });\r\n }\r\n }\r\n }\r\n if (!body.extraSubject) {\r\n body.extraSubject = '';\r\n }\r\n ologFormData = {\r\n cc: [],\r\n subject: body.subject,\r\n details: body.details,\r\n description: body.description,\r\n extraSubject: body.extraSubject\r\n };\r\n this.serialNo = this.data.serialNo;\r\n this.tmpDetails = body.details ?? '';\r\n } else {\r\n ologFormData = {\r\n cc: [],\r\n subject: '',\r\n details: '',\r\n extraSubject: ''\r\n };\r\n }\r\n this.formOlog = this.fb.group(\r\n ologFormData\r\n );\r\n this.formType = this.documentTypes?.find(d => d.id == +this.data.formTypeID);\r\n this.formOlog.controls['cc'].setValidators([Validators.pattern(this.emailPattern)]);\r\n }\r\n\r\n async processData() {\r\n const body: OLogFormData = JSON.parse(this.data.xmlBody);\r\n\r\n // Extract unique custom email addresses\r\n const cc = [...new Set(this.emailAddresses.filter(mail => mail.isCustom))];\r\n\r\n // Construct OLogFormData object\r\n const ologFormData: OLogFormData = {\r\n cc,\r\n level: body.level,\r\n subject: this.formOlog.controls['subject'].value?.replace('\\n', ' '),\r\n details: this.tmpDetails,\r\n categories: body.categories,\r\n highlight: body.highlight,\r\n extraSubject: this.formOlog.controls['extraSubject'].value?.replace('\\n', ' ')\r\n };\r\n\r\n // Update data object\r\n this.data.xmlBody = JSON.stringify(ologFormData);\r\n this.data.details = ologFormData.details ?? '';\r\n\r\n let status = false;\r\n\r\n try {\r\n // Send data to the service\r\n const res = await this.ologService.Put(this.data, this.data.id ?? 0).toPromise();\r\n\r\n if (res) {\r\n this.alert.success(\r\n environment.messages.OLogEntryCreated.replace('{serialNo}', this.serialNo ?? '')\r\n );\r\n status = true;\r\n } else {\r\n this.alert.warning(environment.messages.OlogEntryError);\r\n }\r\n } catch (error) {\r\n this.alert.warning(environment.messages.OlogEntryError);\r\n } finally {\r\n // Close dialog with the status\r\n this.dialogRef.close(status);\r\n }\r\n }\r\n\r\n\r\n add(event: MatChipInputEvent): void {\r\n if (this.formOlog.controls['cc'].valid && this.formOlog.controls['cc'].value && this.formOlog.controls['cc'].value !== '') {\r\n const ccvalue = this.formOlog.controls['cc'].value.toLowerCase().trim();\r\n const test = this.emailAddresses.find(m => m.address === ccvalue);\r\n if (!this.emailAddresses.some(m => m.address === ccvalue)) {\r\n this.emailAddresses.push({\r\n name: \"\",\r\n address: ccvalue,\r\n isCustom: true\r\n });\r\n this.formOlog.controls['cc'].markAsPristine();\r\n }\r\n this.formOlog.controls['cc'].setValue('');\r\n } else {\r\n this.formOlog.controls['cc'].markAsDirty();\r\n }\r\n }\r\n\r\n keyUpCc() {\r\n this.formOlog.markAsDirty();\r\n this.formOlog.controls['cc'].markAsDirty();\r\n this.formOlog.controls['cc'].markAsTouched();\r\n }\r\n\r\n remove(mail: EmailAddress): void {\r\n const index = this.emailAddresses.indexOf(mail);\r\n if (index >= 0) {\r\n this.emailAddresses.splice(index, 1);\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n override getErrorMsg(control: AbstractControl): string | null {\r\n if (!control.valid) {\r\n return 'You must enter a valid value';\r\n } else if (this.data.hasError) {\r\n return this.data.error;\r\n }\r\n return null;\r\n }\r\n}\r\n","
    \r\n
    \r\n \r\n Cancel\r\n \r\n \r\n Save Olog\r\n \r\n
    \r\n
    \r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter, Injector } from '@angular/core';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { FormControl } from '@angular/forms';\r\nimport { OtherSystem } from './other-system';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'other-system-chips',\r\n templateUrl: './other-system-chips.component.html',\r\n styleUrls: ['./other-system-chips.component.scss']\r\n})\r\nexport class OtherSystemChipsComponent extends BaseComponent implements OnInit {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() formId?: number;\r\n @Input() formType?: FormType;\r\n @Input() otherSystems?: OtherSystem[];\r\n @Input() hilite?: boolean | null;\r\n\r\n @Output() onEdit = new EventEmitter();\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n add(event: MatChipInputEvent) {\r\n const input = event.input;\r\n const value = event.value;\r\n\r\n if (input) {\r\n input.value = '';\r\n }\r\n\r\n if (value.trim() != '') {\r\n if (!this.otherSystems) this.otherSystems = [];\r\n this.otherSystems?.push({\r\n text: value\r\n });\r\n this.onEdit.emit(this.otherSystems);\r\n }\r\n }\r\n\r\n remove(otherSystem: OtherSystem) {\r\n const index = this.otherSystems?.indexOf(otherSystem) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.otherSystems?.splice(index, 1);\r\n this.onEdit.emit(this.otherSystems);\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ otherSystem.text }}\r\n cancel\r\n \r\n \r\n \r\n {{ getErrorMsg(control) }}\r\n \r\n
    \r\n","import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'overlay-loading',\r\n templateUrl: './overlay-loading.component.html',\r\n styleUrls: ['./overlay-loading.component.scss']\r\n})\r\nexport class OverlayLoadingComponent implements OnInit {\r\n\r\n @Input() message?: string;\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ message }} \r\n
    \r\n","export enum CanDeactivateResponse {\r\n Cancel,\r\n Discard,\r\n Ok\r\n}\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { CanDeactivateResponse } from './pending-changes-dialog-response';\r\n\r\n@Component({\r\n selector: 'pending-changes-dialog',\r\n templateUrl: './pending-changes-dialog.component.html',\r\n styleUrls: ['./pending-changes-dialog.component.scss']\r\n})\r\nexport class PendingChangesDialogComponent implements OnInit {\r\n\r\n constructor(\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: any\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n cancel() {\r\n this.dialog.close(CanDeactivateResponse.Cancel);\r\n }\r\n\r\n discard() {\r\n this.dialog.close(CanDeactivateResponse.Discard);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n dangerous\r\n
    \r\n
    \r\n

    Are you sure you want to do this?

    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocomplete } from '@angular/material/autocomplete';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { ProcedureRefresh } from 'src/app/components/procedure/store/procedure/procedure.action';\r\nimport { Procedure } from 'src/app/components/procedure/models/procedure.model';\r\n// import { ProcedureRefresh } from 'src/app/Store/procedure/procedure/procedure.action';\r\n// import { Procedure } from 'src/app/_interface/procedure/procedure.model';\r\nimport { cloneDeep } from 'lodash';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'procedure-autocomplete',\r\n templateUrl: './procedure-autocomplete.component.html',\r\n styleUrls: ['./procedure-autocomplete.component.scss']\r\n})\r\nexport class ProcedureAutocompleteComponent implements OnInit, OnChanges {\r\n @Input() placeholder!: string;\r\n @Input() disabled = false;\r\n @Input() control!: FormControl;\r\n @Input() selectedProcedures?: (Procedure | undefined)[];\r\n\r\n @Output() error = new EventEmitter();\r\n @Output() select = new EventEmitter();\r\n\r\n @ViewChild('procedureAutocomplete') procedureAutocomplete!: MatAutocomplete;\r\n @ViewChild('procedureInput') procedureInput!: ElementRef;\r\n\r\n procedures$!: Observable;\r\n allProcedures: Procedure[] = [];\r\n availableProcedures: Procedure[] = [];\r\n filteredProcedures: Procedure[] = [];\r\n\r\n constructor(\r\n public store: Store\r\n ) {\r\n this.store.dispatch(ProcedureRefresh);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.procedures$ = this.store.select(state => state.Procedures.data);\r\n this.procedures$.subscribe((data) => {\r\n this.allProcedures = data.filter(x => x.status == 1 && x.active).sort((a, b) => a.procedureNumber < b.procedureNumber ? -1 : 1);\r\n this.setAvailable();\r\n });\r\n this.control = this.control ?? new FormControl();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if ('selectedProcedures' in changes) {\r\n this.setAvailable();\r\n this.clear();\r\n }\r\n }\r\n\r\n clear() {\r\n if (this.procedureInput != null) { this.procedureInput.nativeElement.value = ''; }\r\n if (this.control != null) { this.control.setValue(null); }\r\n }\r\n\r\n setAvailable() {\r\n this.availableProcedures = utils.cloneDeep(this.allProcedures);\r\n this.selectedProcedures = this.selectedProcedures ?? [];\r\n this.selectedProcedures.map(x => {\r\n if (x?.id) {\r\n const index = this.availableProcedures.map(y => y.id).indexOf(x.id);\r\n\r\n if (index >= 0) {\r\n this.availableProcedures.splice(index, 1);\r\n }\r\n }\r\n });\r\n this.onProcedureInputKeyup(this.procedureInput?.nativeElement?.value ?? '');\r\n }\r\n\r\n selected(procedure: Procedure) {\r\n this.select.emit(procedure);\r\n this.clear();\r\n this.setAvailable();\r\n }\r\n\r\n onProcedureInputKeyup(e: any) {\r\n const text = e.target.value;\r\n this.filteredProcedures = this.availableProcedures.filter(x => x.procedureNumber?.trim()?.toLowerCase()?.includes(text?.trim()?.toLowerCase()) || x?.title?.trim()?.toLowerCase()?.includes(text?.trim()?.toLowerCase()));\r\n }\r\n\r\n}\r\n","
    \r\n \r\n \r\n \r\n \r\n {{ procedure?.procedureNumber }} - {{ procedure?.title }}\r\n \r\n \r\n \r\n
    \r\n","import { AfterViewInit, Component, Injector, Input, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { PV } from 'src/app/services/pv-info/pv-info';\r\nimport { PVInfoService } from 'src/app/services/pv-info/pv-info.service';\r\nimport { PVRefresh } from 'src/app/services/pv-info/store/pv-info.action';\r\n\r\n@Component({\r\n selector: 'pv-info-details',\r\n templateUrl: './pvinfo-details.component.html',\r\n styleUrls: ['./pvinfo-details.component.scss']\r\n})\r\nexport class PvInfoDetailsComponent extends BaseComponent implements OnInit, OnChanges, AfterViewInit {\r\n\r\n @Input() filter?: string | null;\r\n\r\n pvs?: PV[];\r\n pvs$!: Observable;\r\n pvsSubs!: Subscription;\r\n\r\n resources?: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n dataSource!: MatTableDataSource;\r\n displayedColumns: string[] = [\r\n 'pvName',\r\n 'value',\r\n 'date',\r\n 'resourceName',\r\n 'resourceTypeName', 'actions'\r\n ];\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n waitingRestart: boolean = false;\r\n waitingRefresh: boolean = false;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private pvService: PVInfoService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['filter'])\r\n this.loadPVs();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n if (this.dataSource)\r\n this.dataSource.sort = this.sort;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.refresh();\r\n this.loadResources();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length) {\r\n this.resources = data;\r\n this.loadPVs();\r\n }\r\n });\r\n }\r\n\r\n refresh() {\r\n this.waitingRefresh = true;\r\n this.store.dispatch(new PVRefresh());\r\n }\r\n\r\n loadPVs() {\r\n this.pvs$ = this.store.select(state => state.PV.data);\r\n this.pvsSubs = this.pvs$.subscribe(data => {\r\n if (data?.length) {\r\n this.pvs = data;\r\n this.pvs.map(p => {\r\n const resource = this.resources?.find(r => r.id == p.resourceID);\r\n p.resourceName = resource?.name;\r\n p.resourceTypeName = resource?.resourceType?.name;\r\n });\r\n this.dataSource = new MatTableDataSource(this.pvs);\r\n this.dataSource.filter = (this.filter ?? '').trim().toLowerCase();\r\n this.dataSource.sort = this.sort;\r\n this.waitingRefresh = false;\r\n }\r\n });\r\n }\r\n\r\n refreshPV(channelName: string) {\r\n this.pvService.getPVInfo(channelName).subscribe(data => {\r\n const pv = this.pvs?.find(p => p.pvName == channelName);\r\n if (pv) {\r\n if (pv.value == data.value && pv.date == data.date)\r\n this.alert.warning(`No new data found for ${channelName} `);\r\n pv.value = data.value;\r\n pv.date = data.date;\r\n }\r\n\r\n });\r\n }\r\n\r\n restart() {\r\n this.waitingRestart = true;\r\n this.pvService.restartPVInfoService().toPromise().then(() => {\r\n this.alert.success(\"PV Info service has been restarted!\");\r\n }).catch(error => {\r\n this.alert.error(error);\r\n }).finally(() => this.waitingRestart = false);\r\n\r\n }\r\n\r\n delete(e: PV) {\r\n this.pvService.delete(e.id).toPromise().then(() => {\r\n this.alert.info(`PV ${e.pvName} Deleted`);\r\n this.alert.warning(\"Please push Restart PV Service button before refreshing Data to reflect changes!\");\r\n }).catch(() => this.alert.defaultError());\r\n\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n \r\n \r\n PV Name\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Value\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Date\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Resource\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Type\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n update\r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { AfterViewInit, Component, ElementRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSidenav } from '@angular/material/sidenav';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'pv-info',\r\n templateUrl: './pvinfo.component.html',\r\n styleUrls: ['./pvinfo.component.scss']\r\n})\r\nexport class PvInfoComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {\r\n\r\n @ViewChild(\"sidenav\") sidenav!: MatSidenav;\r\n @ViewChild(\"headerTop\") headerTop!: ElementRef;\r\n\r\n disabled: boolean = false;\r\n\r\n loading = false;\r\n\r\n resourceRequired: boolean = false;\r\n\r\n filterCtrl = new FormControl();\r\n\r\n errorMessages: string[] = [];\r\n headerOnTop: boolean = false;\r\n\r\n valueFilter!: string;\r\n createdOn!: string;\r\n\r\n ///////\r\n tmpFilter!: string;\r\n condition!: string;\r\n filteredFilter: any[] = [];\r\n currentFilter: any;\r\n filter: any;\r\n\r\n element!: any;\r\n\r\n loadingMessage!: string;\r\n\r\n showAmendmentToggle: boolean = false;\r\n //////\r\n\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.setHeights();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n }\r\n\r\n ngOnInit() {\r\n this.moduleTitle = 'PV Info'\r\n }\r\n\r\n changeToggle(e: any) {\r\n\r\n }\r\n\r\n clear() {\r\n this.errorMessages = [];\r\n }\r\n\r\n applyFilter(e: any) {\r\n if (!e)\r\n this.valueFilter = '';\r\n this.filter = e;\r\n }\r\n\r\n buttonsVisible: boolean | null = false;\r\n\r\n\r\n setLoading(e: any, origin: any) {\r\n if (!e) {\r\n setTimeout(() => {\r\n this.showLoading(e, origin);\r\n }, 2000);\r\n }\r\n else { this.showLoading(e, origin); }\r\n }\r\n\r\n showLoading(e: boolean, origin: any) {\r\n setTimeout(() => {\r\n switch (origin) {\r\n case LoadingOrigin.Side:\r\n this.loadingSide = e as boolean;\r\n break;\r\n case LoadingOrigin.Buttons:\r\n this.loadingButtons = e as boolean;\r\n break;\r\n case LoadingOrigin.Main:\r\n this.loadingMain = e as boolean;\r\n break;\r\n }\r\n // console.log('m: ' + this.loadingMain + ' b: ' + this.loadingButtons + ' s: ' + this.loadingSide);\r\n this.loading = this.loadingMain || this.loadingButtons || this.loadingSide;\r\n }, 100);\r\n }\r\n\r\n // mainValid(): boolean {\r\n // // return this.main.formValid();\r\n // }\r\n\r\n loadingSide = false;\r\n loadingButtons = false;\r\n loadingMain = false;\r\n loadingOrigin = LoadingOrigin;\r\n\r\n\r\n}\r\n\r\nenum LoadingOrigin {\r\n Side = 1, Buttons = 2, Main = 3\r\n}\r\n","
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {{ moduleTitle }}\r\n
    \r\n \r\n

    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n search\r\n \r\n \r\n\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n\r\n \r\n \r\n \r\n Refresh Data
    \r\n \r\n \r\n refresh\r\n \r\n \r\n \r\n Restart PV Service\r\n \r\n \r\n restart_alt\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n 576,\r\n amendment: false\r\n }\"\r\n >\r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'reject-dialog',\r\n templateUrl: './reject-dialog.component.html',\r\n styleUrls: ['./reject-dialog.component.scss']\r\n})\r\nexport class RejectDialogComponent implements OnInit {\r\n title: string = '';\r\n warning: string = '';\r\n placeholder: string = '';\r\n icon!: boolean;\r\n\r\n constructor(\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.data.accept = false;\r\n this.data.cancel = false;\r\n this.title = this.data.title;\r\n this.warning = this.data.waring;\r\n this.icon = this.data.icon;\r\n this.placeholder = this.data.placeholder;\r\n }\r\n\r\n cancel() {\r\n this.data.accept = false;\r\n this.data.cancel = true;\r\n this.dialog.close(this.data);\r\n }\r\n\r\n accept() {\r\n this.data.accept = true;\r\n this.data.cancel = false;\r\n this.dialog.close(this.data);\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Injector, Input, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatChipInputEvent } from '@angular/material/chips';\r\nimport { Subscription } from 'rxjs';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Document, DocumentCategory, DocumentType, RelatedDocument } from 'src/app/services/documents/documents';\r\nimport { AbstractControl } from '@angular/forms';\r\nimport { FormStatusEnum, FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'related-documents',\r\n templateUrl: './related-documents.component.html',\r\n styleUrls: ['./related-documents.component.scss']\r\n})\r\nexport class RelatedDocumentsComponent extends BaseComponent {\r\n @Input() relatedDocuments?: RelatedDocument[] | null;\r\n @Input() disabled?: boolean | null;\r\n @Input() formID?: number;\r\n @Input() formType?: FormType;\r\n @Input() hilite?: boolean | null;\r\n @Input() label?: string;\r\n @Input() disableTooltips?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n @ViewChild(\"autoDoc\") matAutocompleteDoc!: MatAutocomplete;\r\n @ViewChild(\"documentInput\") documentInput!: ElementRef;\r\n\r\n public get documentCtrl(): AbstractControl | null { return this.formGroup?.get(\"documentCtrl\"); }\r\n\r\n documents?: Document[];\r\n documentsFiltered?: Document[];\r\n documents$!: Observable;\r\n documentsSubs!: Subscription;\r\n documentTypes?: DocumentType[];\r\n\r\n filter: string = '';\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private router: Router\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.buildForm();\r\n this.loadDocuments();\r\n }\r\n\r\n getRelatedinfo() {\r\n this.relatedDocuments = this.relatedDocuments?.filter(r => r.relatedDocumentId);\r\n const relatedDocuments: RelatedDocument[] = [];\r\n this.relatedDocuments?.map(r => {\r\n const document = this.documents?.find(d => d.type == r.relatedDocumentTypeId && d.formID == r.relatedDocumentId);\r\n if (document) {\r\n const relatedDocument = r;\r\n relatedDocument.cssClass = document?.cssClass + '-background';\r\n relatedDocument.relatedDocumentSerialNo = document?.serialNo;\r\n relatedDocument.relatedDocumentStatus = document?.status;\r\n relatedDocuments.push(relatedDocument);\r\n }\r\n });\r\n this.relatedDocuments = relatedDocuments;\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n documentCtrl: [{ value: null }],\r\n });\r\n if (this.disabled) this.formGroup.disable(); else this.formGroup.enable();\r\n }\r\n\r\n loadDocuments() {\r\n this.documents$ = this.store.select(state => state.Documents.data);\r\n this.documentsSubs = this.documents$.subscribe(data => {\r\n if (data?.length) {\r\n this.documents = data.filter(d => d.category != DocumentCategory.ChecklistTemplate);\r\n this.documentsFiltered = data.filter(d => (d.status ?? 0) > FormStatusEnum.Draft && (d.status ?? 0) != FormStatusEnum.Canceled && d.category != DocumentCategory.ChecklistTemplate);\r\n this.getRelatedinfo();\r\n this.setDescriptions();\r\n this.filterDocuments();\r\n this.createGroups();\r\n }\r\n });\r\n }\r\n\r\n createGroups() {\r\n this.documentTypes = [];\r\n this.documentsFiltered?.map(d => {\r\n if (d.documentType?.id && !this.documentTypes?.map(t => t.id).includes(d.type ?? 0))\r\n if (d.documentType) {\r\n const documentType = d.documentType;\r\n documentType.documents = this.getDocuments(documentType);\r\n if (documentType.documents?.length)\r\n this.documentTypes?.push(documentType);\r\n }\r\n });\r\n this.documentTypes = this.documentTypes.sort((a, b) => utils.sort(a.id, b.id, true));\r\n }\r\n\r\n filterDocuments() {\r\n this.documentsFiltered = this.documents?.filter(d => {\r\n const relatedDocument = this.relatedDocuments?.find(r => r.relatedDocumentId == d.formID && r.relatedDocumentTypeId == d.type);\r\n if (relatedDocument) return false;\r\n return true;\r\n });\r\n }\r\n\r\n filterTypeDocuments(documents?: Document[]) {\r\n return documents?.filter((doc) => doc.serialNo?.toLowerCase().includes(this.filter) || doc.description?.toLowerCase().includes(this.filter));\r\n }\r\n\r\n setDescriptions() {\r\n this.documents?.map(d => {\r\n switch (d.type) {\r\n case FormType.KE:\r\n d.description = 'Affects ' + d.locations?.map(l => l.name).join(', ');\r\n break;\r\n case FormType.ABSI:\r\n d.description = 'ABSI Checklist for ' + d.locations?.map(l => l.name).join(', ');\r\n break;\r\n default:\r\n d.description = this.stripDesc(d.description) + (d.locationIDs ? (' (' + d.locations?.map(l => l.name).join(', ') + ')') : '');\r\n }\r\n });\r\n }\r\n\r\n removeDoc(document: RelatedDocument): void {\r\n const index = this.relatedDocuments?.indexOf(document) ?? -1;\r\n if (index >= 0) {\r\n this.relatedDocuments?.splice(index, 1);\r\n }\r\n if (!this.relatedDocuments?.length) this.filter = '';\r\n this.filterDocuments();\r\n this.createGroups();\r\n\r\n this.changed.emit(this.relatedDocuments ?? []);\r\n }\r\n\r\n openDocument(e: RelatedDocument) {\r\n const route = `redirect/${e.relatedDocumentSerialNo}`;\r\n this.router.navigate([route]);\r\n }\r\n\r\n addDoc(event: MatChipInputEvent): void {\r\n if (!this.matAutocompleteDoc.isOpen) {\r\n const input = event.input;\r\n const value = event.value;\r\n\r\n if (input) {\r\n input.value = \"\";\r\n }\r\n this.documentCtrl?.setValue(null);\r\n this.filterDocuments();\r\n this.createGroups();\r\n\r\n this.changed.emit(this.relatedDocuments ?? []);\r\n }\r\n }\r\n\r\n onDocChange(e: any) {\r\n const code = e.code;\r\n if (!code?.includes(\"Arrow\")) {\r\n this.filterDocuments();\r\n this.filter = (e.target.value as string).toLowerCase();\r\n this.documentsFiltered = this.documentsFiltered?.filter((doc) => doc.serialNo?.toLowerCase().includes(this.filter) || doc.description?.toLowerCase().includes(this.filter));\r\n this.createGroups();\r\n }\r\n }\r\n\r\n selectedDoc(event: MatAutocompleteSelectedEvent): void {\r\n if (this.relatedDocuments == null) {\r\n this.relatedDocuments = [];\r\n }\r\n const selectedDoc = event.option.value as Document;\r\n const document: RelatedDocument = {\r\n originalDocumentId: this.formID,\r\n originalDocumentTypeId: this.formType,\r\n relatedDocumentId: selectedDoc.formID,\r\n relatedDocumentStatus: selectedDoc.status,\r\n relatedDocumentSerialNo: selectedDoc.serialNo,\r\n relatedDocumentTypeId: selectedDoc.type ?? 0,\r\n };\r\n this.filter = '';\r\n if (!this.relatedDocuments.includes(document)) {\r\n this.relatedDocuments.push(document);\r\n this.filterDocuments();\r\n this.createGroups();\r\n this.documentInput.nativeElement.value = \"\";\r\n this.documentCtrl?.setValue(null);\r\n this.changed.emit(this.relatedDocuments ?? []);\r\n }\r\n }\r\n\r\n getDocuments(type: DocumentType) {\r\n return this.documents?.filter(d => d.documentType?.id == type.id).sort((a, b) => utils.sortArrayAlphabeticallyWithComplexNumbers(a.serialNo, b.serialNo, null, false));\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ label ? label : \"ASCC Links\" }}\r\n \r\n \r\n {{ document.relatedDocumentSerialNo }}\r\n cancel\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { RelatedLink } from 'src/app/common/models/related-link';\r\nimport { RelatedLinkBase } from 'src/app/components/catalogs/navigation-links/link/related-link-base';\r\nimport { AddRelatedLinkComponent } from '../add-related-link/add-related-link.component';\r\nimport { AbstractControl } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'related-link-chips',\r\n templateUrl: './related-link-chips.component.html',\r\n styleUrls: ['./related-link-chips.component.scss']\r\n})\r\nexport class RelatedLinkChipsComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() formId?: number;\r\n @Input() relatedLinks?: RelatedLinkBase[];\r\n @Input() relatedLinksJson?: string;\r\n @Input() documentNameOrHyperlinkPlaceholder?: string;\r\n @Input() webAddressPlaceholder?: string;\r\n @Input() hilite?: boolean | null;\r\n @Input() label?: string;\r\n\r\n @Output() onEdited = new EventEmitter();\r\n\r\n public get chipInputCtrl(): AbstractControl | null { return this.formGroup?.get(\"chipInputCtrl\"); }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.buildForm();\r\n if (!this.label) this.label = 'Related Documents and Links';\r\n if (this.relatedLinksJson) this.relatedLinks = this.utils.JSONparse(this.relatedLinksJson);\r\n }\r\n\r\n buildForm() {\r\n this.formGroup = this.formBuilder.group({\r\n chipInputCtrl: [{ value: null }],\r\n });\r\n if (this.disabled) this.formGroup.disable(); else this.formGroup.enable();\r\n }\r\n\r\n open() {\r\n if (!this.disabled) {\r\n const dialog = this.dialog.open(AddRelatedLinkComponent, {\r\n maxWidth: '800px',\r\n data: {\r\n obj: {\r\n Text: null,\r\n URL: null,\r\n } as RelatedLink,\r\n DocumentNameOrHyperlinkPlaceholder: this.documentNameOrHyperlinkPlaceholder,\r\n WebAddressPlaceholder: this.webAddressPlaceholder,\r\n }\r\n });\r\n dialog.afterClosed().subscribe((result: RelatedLink) => {\r\n if (result) {\r\n if (!this.relatedLinks) this.relatedLinks = [];\r\n this.relatedLinks?.push({\r\n formID: this.formId ?? 0,\r\n text: result.Text ?? '',\r\n url: result.URL ?? ''\r\n });\r\n this.onEdited.emit(this.relatedLinks);\r\n }\r\n });\r\n }\r\n }\r\n\r\n remove(relatedLink: RelatedLinkBase) {\r\n const index = this.relatedLinks?.indexOf(relatedLink) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.relatedLinks?.splice(index, 1);\r\n this.onEdited.emit(this.relatedLinks);\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ label }}\r\n \r\n \r\n {{ relatedLink.text }}\r\n {{ relatedLink.text }}\r\n cancel\r\n \r\n \r\n \r\n add_box \r\n \r\n \r\n \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { MatFileUploadService } from 'src/app/modules/file-upload/file-upload-module';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\nimport { AddRelatedLinkDocumentComponent } from '../add-related-link-document/add-related-link-document.component';\r\nimport { RelatedLinkDocumentBase } from 'src/app/common/models/related-link-document-base.model';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Component({\r\n selector: 'related-link-document-chips',\r\n templateUrl: './related-link-document-chips.component.html',\r\n styleUrls: ['./related-link-document-chips.component.scss']\r\n})\r\nexport class RelatedLinkDocumentChipsComponent implements OnInit {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() formId?: number;\r\n @Input() relatedLinksDocuments!: RelatedLinkDocumentBase[];\r\n @Input() path!: string;\r\n @Input() disabledFileUpload!: boolean;\r\n @Input() deleteFile: boolean = true;\r\n\r\n @Output() edited = new EventEmitter();\r\n\r\n constructor(\r\n public dialog: MatDialog,\r\n public fileUploadService: MatFileUploadService,\r\n public fileV2Service: FileV2Service,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n open() {\r\n if (!this.disabled) {\r\n const dialog = this.dialog.open(AddRelatedLinkDocumentComponent, {\r\n maxWidth: '800px',\r\n disableClose: true,\r\n data: {\r\n path: this.path,\r\n disabledFileUpload: this.disabledFileUpload,\r\n editing: false,\r\n }\r\n });\r\n dialog.afterClosed().subscribe((result: RelatedLinkDocumentBase) => {\r\n if (result) {\r\n this.relatedLinksDocuments.push(result);\r\n this.edited.emit();\r\n }\r\n });\r\n }\r\n }\r\n\r\n remove(relatedLinkDocument: RelatedLinkDocumentBase) {\r\n const index = this.relatedLinksDocuments.indexOf(relatedLinkDocument);\r\n\r\n if (index >= 0) {\r\n this.relatedLinksDocuments.splice(index, 1);\r\n this.edited.emit();\r\n if ((relatedLinkDocument.fileID && this.deleteFile) || !relatedLinkDocument.id) {\r\n this.fileV2Service.delete(relatedLinkDocument.fileID ?? 0).subscribe(() => { },\r\n error => console.error(error),\r\n );\r\n }\r\n }\r\n }\r\n\r\n edit(relatedLinkDocument: RelatedLinkDocumentBase) {\r\n if (!this.disabled) {\r\n this.dialog.open(AddRelatedLinkDocumentComponent, {\r\n maxWidth: '800px',\r\n disableClose: true,\r\n data: {\r\n path: this.path,\r\n disabledFileUpload: this.disabledFileUpload,\r\n relatedLinkDocument: utils.cloneDeep(relatedLinkDocument),\r\n editing: true,\r\n }\r\n }).afterClosed().subscribe(\r\n (data: RelatedLinkDocumentBase) => {\r\n if (data) {\r\n relatedLinkDocument.text = data.text;\r\n relatedLinkDocument.url = data.url;\r\n relatedLinkDocument.fileID = data.fileID;\r\n relatedLinkDocument.file = data.file;\r\n }\r\n }\r\n );\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n {{ placeholder }}\r\n {{\r\n placeholder\r\n }}\r\n \r\n \r\n
    \r\n {{ r.text }}\r\n
    \r\n
    \r\n {{ r.text }}\r\n
    \r\n
    \r\n {{ r.text }}\r\n
    \r\n create\r\n cancel\r\n \r\n
    \r\n \r\n add_box\r\n \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Input, Output, ViewChild, OnChanges, SimpleChanges, Injector, OnInit } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { Resource, ResourceGroup } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'resource-chips',\r\n templateUrl: './resource-chips.component.html',\r\n styleUrls: ['./resource-chips.component.scss']\r\n})\r\nexport class ResourceChipsComponent extends BaseComponent implements OnChanges, OnInit {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() selectedResources?: Resource[];\r\n @Input() hilite?: boolean | null;\r\n @Input() resourceTypes!: ResourceType[];\r\n\r\n @Output() onError = new EventEmitter();\r\n @Output() onEdit = new EventEmitter();\r\n\r\n @ViewChild('resourceAutocomplete') resourceAutocomplete?: MatAutocomplete;\r\n @ViewChild('resourceInput') resourceInput?: ElementRef;\r\n\r\n resources?: Resource[];\r\n resourceGroups!: ResourceGroup[];\r\n availableResources?: Resource[];\r\n filteredResources?: Resource[];\r\n\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n filter?: string | null;\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadResources();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.filterResourcces();\r\n if (this.disabled) this.control.disable();\r\n else this.control.enable();\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select(state => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe(data => {\r\n if (data?.length) {\r\n this.resources = data.filter(r => this.resourceTypes?.includes(r.type ?? 0)).sort((a, b) => utils.sortArrayAlphabeticallyWithComplexNumbers(a.name, b.name));\r\n }\r\n });\r\n }\r\n\r\n filterResourcces() {\r\n this.availableResources = this.resources?.filter(x => !this.selectedResources?.map(r => r?.id).includes(x.id));\r\n this.filteredResources = this.availableResources?.filter(x => x.name?.toLowerCase().includes(this.filter?.toLowerCase() ?? ''));\r\n }\r\n\r\n createResourceGroups() {\r\n this.resourceGroups = [];\r\n this.filteredResources?.map(l => {\r\n if (l.type == 1) {\r\n if (!this.resourceGroups.map(g => g.id).includes(l.id)) {\r\n const resources = l.childResources?.filter(x => x.childResourceType == ResourceType.AcceleratorLocation && !this.selectedResources?.map(r => r.id).includes(x.childResourceID ?? 0)).map(x => x.childResource) as Resource[];\r\n if (resources?.length)\r\n this.resourceGroups.push({ name: l.name, type: l.type, id: l.id, resources });\r\n }\r\n }\r\n else {\r\n if (!this.resourceGroups.map(g => g.type).includes(l.type) && l.type != ResourceType.AcceleratorLocation) {\r\n const resources = this.filteredResources?.filter(x => x.type == l.type && (x.name?.toLowerCase().includes(this.filter?.toLowerCase() ?? '') || !this.filter));\r\n if (resources?.length)\r\n this.resourceGroups.push({ name: l.resourceType?.name, type: l.type, resources });\r\n }\r\n }\r\n });\r\n }\r\n\r\n selected(event: MatAutocompleteSelectedEvent) {\r\n const resource: Resource = event.option.value;\r\n this.selectedResources?.push(resource);\r\n this.clear();\r\n this.loadResources();\r\n this.createResourceGroups();\r\n this.onEdit.emit(this.selectedResources ?? []);\r\n }\r\n\r\n remove(resource: Resource) {\r\n const index = this.selectedResources?.indexOf(resource) ?? -1;\r\n if (index >= 0) {\r\n this.selectedResources?.splice(index, 1);\r\n this.clear();\r\n this.loadResources();\r\n this.createResourceGroups();\r\n this.onEdit.emit(this.selectedResources);\r\n }\r\n }\r\n\r\n clear() {\r\n if (this.resourceInput) this.resourceInput.nativeElement.value = '';\r\n this.filter = null;\r\n }\r\n\r\n onKeyUp(e: any) {\r\n const code = e.code;\r\n const text = e.target.value;\r\n if (!code?.includes(\"Arrow\")) {\r\n this.filter = text;\r\n this.createResourceGroups();\r\n }\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ resource == null ? \"\" : resource?.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ resource == null ? \"\" : resource.name }}\r\n \r\n \r\n \r\n {{ getErrorMsg(control) }}\r\n \r\n
    \r\n","import { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { MatOption } from '@angular/material/core';\r\nimport { MatSelectChange } from '@angular/material/select';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\n\r\n@Component({\r\n selector: 'resource-autocomplete',\r\n templateUrl: './resource-autocomplete.component.html',\r\n styleUrls: ['./resource-autocomplete.component.scss']\r\n})\r\nexport class ResourceAutocompleteComponent implements OnInit {\r\n @Input() placeholder!: string;\r\n @Input() disabled = false;\r\n @Input() resourceType?: number;\r\n @Input() templateTypeID?: number;\r\n @Input() customResources?: Resource[];\r\n\r\n @Output() error = new EventEmitter();\r\n\r\n @Input() get resource(): Resource | undefined { return this.resourceValue; }\r\n\r\n @Output() resourceChange = new EventEmitter();\r\n\r\n set resource(val) {\r\n this.resourceValue = val;\r\n this.resourceChange.emit(this.resourceValue);\r\n }\r\n @Output() selected = new EventEmitter();\r\n @ViewChild('resourceInput') resourceInput!: ElementRef;\r\n\r\n // resource$!: Observable;\r\n // resourceSubscription!: Subscription;\r\n // resources: Resource[] = [];\r\n filteredResources?: Resource[] = [];\r\n selectedResource!: Resource | null;\r\n resourceValue?: Resource;\r\n\r\n // constructor(\r\n // private store: Store,\r\n // private resourceService: ResourcesService,\r\n // ) { }\r\n\r\n ngOnInit(): void {\r\n this.filteredResources = this.customResources;\r\n // this.resource$ = this.store.select(state => state.Resource.Resources);\r\n // this.resourceSubscription = this.resource$.subscribe(data => {\r\n // this.resources = data;\r\n // this.onResourceInputKeyup(this.resourceInput?.nativeElement?.value);\r\n // });\r\n }\r\n\r\n // ngOnChanges(changes: SimpleChanges): void {\r\n // if ('resourceType' in changes) {\r\n // if (this.resourceType != undefined && this.resourceType != null) {\r\n // this.resourceService.getByTypes([this.resourceType]).subscribe(\r\n // data => this.store.dispatch(new ResourcesRefresh()),\r\n // error => this.error.emit(error.error),\r\n // );\r\n // }\r\n // }\r\n // if ('templateTypeID' in changes) {\r\n // if (this.templateTypeID != undefined && this.templateTypeID != null) {\r\n // this.resourceService.getByTemplateType(this.templateTypeID).subscribe(\r\n // data => this.store.dispatch(new ResourcesRefresh()),\r\n // error => this.error.emit(error.error),\r\n // );\r\n // }\r\n // }\r\n // if ('customResources' in changes) {\r\n // this.store.dispatch(new ResourcesRefresh());\r\n // }\r\n // }\r\n\r\n select(e: MatAutocompleteSelectedEvent) {\r\n const resource = e.option.value;\r\n this.selectedResource = resource;\r\n this.resource = resource;\r\n this.resourceInput.nativeElement.value = resource.name ?? '';\r\n this.selected.emit();\r\n }\r\n\r\n clear() {\r\n this.selectedResource = null;\r\n this.resource = undefined;\r\n this.resourceInput.nativeElement.value = '';\r\n }\r\n\r\n onResourceInputKeyup(e: any) {\r\n const text = e.target.value;\r\n this.filteredResources = this.customResources?.filter(x => x.name?.trim()?.toLowerCase()?.includes(text?.trim()?.toLowerCase()));\r\n this.selectedResource = null;\r\n this.resource = undefined;\r\n }\r\n\r\n}\r\n","\r\n {{ placeholder }}\r\n \r\n\r\n 0 && !disabled\"\r\n (click)=\"clear()\"\r\n >close\r\n \r\n {{\r\n resource.name\r\n }}\r\n \r\n\r\n","import { Component, Input, Output, EventEmitter, OnChanges, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { FormRestriction } from 'src/app/services/forms/form-restriction';\r\nimport { RestrictionAvailableAutocompleteComponent } from '../restriction-available-autocomplete/restriction-available-autocomplete.component';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\nimport { FormControl } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'form-restriction-table',\r\n templateUrl: './form-restriction-table.component.html',\r\n styleUrls: ['./form-restriction-table.component.scss']\r\n})\r\nexport class FormRestrictionTableComponent implements OnChanges {\r\n @Input() formType!: FormType;\r\n @Input() formID?: number;\r\n @Input() formRestrictions?: FormRestriction[];\r\n @Input() locationIDs?: (number | undefined)[];\r\n @Input() disabled?: boolean | null;\r\n @Input() customTitle?: string;\r\n @Input() placeholder?: string;\r\n @Input() hilite?: boolean | null;\r\n @Input() control!: FormControl;\r\n @Input() locationAddedID?: number | null;\r\n\r\n restrictions?: FormRestriction[];\r\n dataSource!: MatTableDataSource;\r\n\r\n @Output() changed = new EventEmitter();\r\n\r\n @ViewChild(RestrictionAvailableAutocompleteComponent) restrictionsAutocomplete!: RestrictionAvailableAutocompleteComponent;\r\n\r\n displayedColumns = [\"text\", \"actions\"];\r\n\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.restrictions = utils.cloneDeep(this.formRestrictions);\r\n this.dataSource = new MatTableDataSource(this.restrictions);\r\n }\r\n\r\n refresh(restrictions?: FormRestriction[]) {\r\n this.formRestrictions = restrictions;\r\n this.restrictions = utils.cloneDeep(this.formRestrictions);\r\n this.dataSource = new MatTableDataSource(this.restrictions);\r\n }\r\n\r\n added(e: string) {\r\n const formRestriction: FormRestriction = {\r\n id: 0,\r\n formID: this.formID,\r\n text: e,\r\n }\r\n if (!this.restrictions) this.restrictions = [];\r\n this.restrictions?.push(formRestriction);\r\n this.dataSource = new MatTableDataSource(this.restrictions);\r\n this.changed.emit(this.restrictions);\r\n }\r\n\r\n selected(e: Restriction) {\r\n const formRestriction: FormRestriction = {\r\n id: 0,\r\n formID: this.formID,\r\n restrictionID: e.id,\r\n text: e.restrictionLanguage,\r\n restriction: e\r\n }\r\n if (!this.restrictions) this.restrictions = [];\r\n this.restrictions?.push(formRestriction);\r\n this.dataSource = new MatTableDataSource(this.restrictions);\r\n this.changed.emit(this.restrictions);\r\n }\r\n\r\n delete(formRestriction: FormRestriction) {\r\n const index = this.restrictions?.indexOf(formRestriction) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.formRestrictions?.splice(index, 1);\r\n this.restrictions?.splice(index, 1);\r\n this.restrictionsAutocomplete.loadRestrictions();\r\n this.dataSource = new MatTableDataSource(this.restrictions);\r\n this.changed.emit(this.restrictions);\r\n }\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n {{ customTitle }}\r\n \r\n {{\r\n element.restriction\r\n ? element.restriction.restrictionLanguage\r\n : element.text\r\n }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n","import { Component, OnInit, Input, EventEmitter, Output, ViewChild, ElementRef, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { FormType, ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { FormRestriction } from 'src/app/services/forms/form-restriction';\r\nimport { Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { Restriction } from 'src/app/controls/restrictions/services/restriction';\r\nimport { FormControl } from '@angular/forms';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\n@Component({\r\n selector: 'restriction-available-autocomplete',\r\n templateUrl: './restriction-available-autocomplete.component.html',\r\n styleUrls: ['./restriction-available-autocomplete.component.scss']\r\n})\r\nexport class RestrictionAvailableAutocompleteComponent extends BaseComponent implements OnInit, OnChanges {\r\n @Input() formType!: FormType;\r\n @Input() placeholder?: string;\r\n @Input() disabled?: boolean | null;\r\n @Input() formRestrictions?: FormRestriction[];\r\n @Input() locationIDs?: (number | undefined)[];\r\n @Input() control!: FormControl;\r\n @Input() locationAddedID?: number | null;\r\n\r\n @Output() onError = new EventEmitter();\r\n @Output() onRestrictionSelected = new EventEmitter();\r\n @Output() onFreeTextRestrictionWritten = new EventEmitter();\r\n\r\n @ViewChild('restrictionInput') restrictionInput?: ElementRef;\r\n\r\n allRestrictions?: Restriction[];\r\n availableRestrictions?: Restriction[];\r\n filteredRestrictions?: Restriction[];\r\n uniqueRestrictions?: Restriction[];\r\n\r\n resources!: Resource[];\r\n resourcesFiltered?: Resource[];\r\n resources$!: Observable;\r\n resourcesSubs!: Subscription;\r\n\r\n restrictions!: Restriction[];\r\n restrictionsFiltered?: Restriction[];\r\n restrictions$!: Observable;\r\n restrictionsSubs!: Subscription;\r\n\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.clear();\r\n this.loadResources();\r\n const valid = this.control?.valid;\r\n if (this.disabled)\r\n this.control?.disable();\r\n else this.control?.enable();\r\n if (!valid)\r\n this.control?.setErrors({ required: true });\r\n if (this.locationAddedID)\r\n this.autoRestriction(this.locationAddedID);\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n loadResources() {\r\n this.resources$ = this.store.select((state) => state.Resources.data);\r\n this.resourcesSubs = this.resources$.subscribe((data) => {\r\n if (data.length) {\r\n this.resources = data;\r\n this.loadRestrictions();\r\n }\r\n });\r\n }\r\n\r\n loadRestrictions() {\r\n this.restrictions$ = this.store.select((state) => state.Restrictions.data);\r\n this.restrictionsSubs = this.restrictions$.subscribe((data) => {\r\n this.restrictions = data.filter((x) => x.scf && this.formType == FormType.SCF || x.rsswa && this.formType == FormType.RSSWA || x.ebf && this.formType == FormType.EBF || x.ppstb && this.formType == FormType.PPSTB);\r\n let availablerestrictions: Restriction[] = [];\r\n let resources = this.resources.filter((x) => this.locationIDs?.includes(x.id));\r\n resources?.map((r) => {\r\n switch (r.type) {\r\n case ResourceType.AcceleratorLocation:\r\n availablerestrictions = availablerestrictions.concat(\r\n ...this.restrictions.filter(x => r.parentResources?.map(p => p.parentResourceID).includes(x.resourceID)));\r\n break;\r\n case ResourceType.Accelerator:\r\n availablerestrictions = availablerestrictions.concat(\r\n ...this.restrictions.filter(\r\n (x) => x.resourceID == r.id || x.locationID == r.id\r\n )\r\n );\r\n r.parentResources?.map(c => {\r\n if (\r\n c.parentResourceID &&\r\n c.parentResourceType == ResourceType.Accelerator\r\n ) {\r\n availablerestrictions = availablerestrictions.concat(\r\n ...this.restrictions.filter(\r\n (x) =>\r\n x.resourceID == c.parentResourceID ||\r\n x.locationID == c.parentResourceID\r\n )\r\n );\r\n }\r\n });\r\n break;\r\n\r\n case ResourceType.Beamline:\r\n r.parentResources?.map((c) => {\r\n if (c.parentResourceID) {\r\n availablerestrictions = availablerestrictions.concat(\r\n ...this.restrictions.filter(\r\n (x) =>\r\n x.resourceID == c.parentResourceID ||\r\n x.locationID == c.parentResourceID\r\n )\r\n );\r\n }\r\n });\r\n\r\n break;\r\n\r\n case ResourceType.Shutter:\r\n availablerestrictions = availablerestrictions.concat(\r\n ...this.restrictions.filter(\r\n (x) =>\r\n x.resourceID == r.id ||\r\n x.locationID == r.id\r\n )\r\n );\r\n\r\n break;\r\n\r\n case ResourceType.Branchline:\r\n availablerestrictions = availablerestrictions.concat(\r\n ...this.restrictions.filter(\r\n (x) => x.resourceID == r.id || x.locationID == r.id\r\n )\r\n );\r\n r.parentResources?.map((x) => {\r\n if (x.parentResourceID) {\r\n const parentResource = this.resources.find(\r\n (rr) => rr.id == x.parentResourceID\r\n );\r\n parentResource?.parentResources?.map((c) => {\r\n if (c.parentResourceID) {\r\n availablerestrictions = availablerestrictions.concat(\r\n ...this.restrictions.filter(\r\n (x) =>\r\n x.resourceID == c.parentResourceID ||\r\n x.locationID == c.parentResourceID\r\n )\r\n );\r\n }\r\n });\r\n }\r\n });\r\n break;\r\n }\r\n });\r\n\r\n this.filteredRestrictions = availablerestrictions.filter((x) => !this.formRestrictions?.map((r) => r.restrictionID).includes(x.id));\r\n this.uniqueRestrictions = [...new Set(this.filteredRestrictions)];\r\n });\r\n }\r\n\r\n refresh(resourceIds: number[], selectedRestrictions?: (Restriction | undefined)[]) {\r\n this.locationIDs = resourceIds;\r\n this.loadResources();\r\n }\r\n\r\n onRestrictionInputKeyup(event: KeyboardEvent) {\r\n if (!event.code?.includes('Arrow')) {\r\n if (event.keyCode == 13 && this.restrictionInput?.nativeElement.value.trim() != \"\") {\r\n this.onFreeTextRestrictionWritten.emit(this.restrictionInput?.nativeElement.value.trim());\r\n this.clear();\r\n } else {\r\n if (this.restrictionInput != null) {\r\n this.filteredRestrictions = this.availableRestrictions?.filter(x => x?.restrictionLanguage?.toLocaleLowerCase()?.includes(this.restrictionInput?.nativeElement?.value?.toLocaleLowerCase() ?? ''));\r\n }\r\n }\r\n }\r\n }\r\n\r\n // Auto populate restrictions whenever a location is added\r\n autoRestriction(locationID: number) {\r\n let autoRestrictions: Restriction[] = [];\r\n let resource = this.resources.find(x => x.id == locationID);\r\n if (resource) {\r\n if (resource.type == this.resourceTypeEnum.AcceleratorLocation) {\r\n autoRestrictions = this.restrictions.filter(x => resource?.parentResources?.map(p => p.parentResourceID).includes(x.resourceID));\r\n }\r\n else if (resource.type == this.resourceTypeEnum.Accelerator) {\r\n autoRestrictions = this.restrictions.filter(r => r.resourceID == locationID);\r\n autoRestrictions = autoRestrictions.concat(this.restrictions.filter(x => resource?.parentResources?.map(p => p.parentResourceID).includes(x.resourceID)));\r\n }\r\n else if (resource.type == this.resourceTypeEnum.Beamline) {\r\n autoRestrictions = this.restrictions.filter(x => resource?.parentResources?.map(p => p.parentResourceID).includes(x.resourceID || x.locationID));\r\n }\r\n else if (resource.type == this.resourceTypeEnum.Shutter) {\r\n // Not used on SCF\r\n // autoRestrictions = this.restrictions.filter(x => x.resourceID == resource?.id || x.locationID == resource?.id);\r\n }\r\n else if (resource.type == this.resourceTypeEnum.Branchline) {\r\n autoRestrictions = this.restrictions.filter(r => r.locationID == locationID);\r\n }\r\n if (autoRestrictions) {\r\n const missingRestrictions = autoRestrictions.filter(a => a.id != this.formRestrictions?.map(r => r.id));\r\n if (missingRestrictions) {\r\n missingRestrictions.forEach(restriction => {\r\n this.select(restriction);\r\n });\r\n }\r\n }\r\n }\r\n this.locationAddedID = null;\r\n }\r\n\r\n select(restriction: Restriction) {\r\n this.clear();\r\n this.onRestrictionSelected.emit(restriction);\r\n }\r\n\r\n clear() {\r\n if (this.restrictionInput)\r\n this.restrictionInput.nativeElement.value = '';\r\n this.filteredRestrictions = [];\r\n this.availableRestrictions?.map(x => {\r\n this.filteredRestrictions?.push(x);\r\n });\r\n }\r\n\r\n reset() {\r\n this.allRestrictions = [];\r\n this.clear();\r\n }\r\n\r\n blur(text: string) {\r\n if (text.trim() != \"\") {\r\n this.onFreeTextRestrictionWritten.emit(text);\r\n this.clear();\r\n }\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n {{ restriction.restrictionLanguage }}\r\n \r\n \r\n {{ getErrorMsg(control) }}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { catchError } from 'rxjs/operators';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { Restriction, SaveRestriction } from './restriction';\r\nimport { Document } from '../../../services/documents/documents';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RestrictionService {\r\n public endPoint = '/Restriction';\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error); // for demo purposes only\r\n return Promise.reject(error.message || error);\r\n }\r\n\r\n getAllRestrictions(): Observable {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Restriction')\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getByFormType(formType: FormType): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/Restriction/FormType/' + formType.toString());\r\n }\r\n\r\n postRestriction(restriction: Restriction) {\r\n if (!restriction.id) {\r\n // Save New\r\n const saveRestriction: SaveRestriction = {\r\n resourceID: restriction.resourceID,\r\n locationID: restriction.locationID,\r\n restrictionLanguage: restriction.restrictionLanguage,\r\n alternateRestrictionLanguage: restriction.alternateRestrictionLanguage\r\n };\r\n const result = this.http.post(environment.urls.baseApiUrl + '/Restriction', saveRestriction)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n } else {\r\n // Save Modified\r\n const result = this.http.put(environment.urls.baseApiUrl + '/Restriction/' + restriction.id, restriction)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n }\r\n\r\n deleteRestriction(restriction: Restriction) {\r\n const result = this.http.delete(environment.urls.baseApiUrl + '/Restriction/' + restriction.id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n getByShieldingId(id: number): Observable {\r\n let url: string;\r\n url = environment.urls.baseApiUrl + this.endPoint + '/Shielding/' + id;\r\n return this.http.get(url);\r\n }\r\n\r\n Read(): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + this.endPoint);\r\n }\r\n\r\n ReadAvailable(type: FormType, id: number): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/Restriction/Available/' + type.valueOf().toString() + '/' + id.toString());\r\n }\r\n\r\n ReadAvailableByIds(type: FormType, ids: number[]) {\r\n let url = environment.urls.baseApiUrl + this.endPoint + '/Available/' + type.valueOf().toString();\r\n let queryString = '?';\r\n ids?.map(x => {\r\n if (queryString !== '?') {\r\n queryString += '&';\r\n }\r\n queryString += 'id=' + x.toString();\r\n });\r\n\r\n url += queryString;\r\n return this.http.get(url);\r\n }\r\n\r\n CheckByLocationID(locationID: number): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/Restriction/CheckByLocation/' + locationID);\r\n }\r\n}\r\n","import { Resource } from \"../../../components/catalogs/beamline-catalog/resource/resources\";\r\n\r\nexport class Restriction {\r\n public id?: number;\r\n public resourceID?: number;\r\n public locationID?: number;\r\n public restrictionLanguage?: string;\r\n public alternateRestrictionLanguage?: string;\r\n public scf?: boolean;\r\n public rsswa?: boolean;\r\n public ebf?: boolean;\r\n public ppstb?: boolean;\r\n public resource?: Resource;\r\n public location?: Resource;\r\n public resourceName?: string;\r\n public locationName?: string;\r\n public isModified?: boolean;\r\n public isDeleted?: boolean;\r\n public isAdded?: boolean;\r\n}\r\n\r\nexport class SaveRestriction {\r\n public resourceID?: number;\r\n public locationID?: number;\r\n public restrictionLanguage?: string;\r\n public alternateRestrictionLanguage?: string;\r\n}\r\n","import { Component, Input, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\n\r\n@Component({\r\n selector: 'role-chips',\r\n templateUrl: './role-chips.component.html',\r\n styleUrls: ['./role-chips.component.scss']\r\n})\r\nexport class RoleChipsComponent implements OnChanges, OnDestroy {\r\n\r\n @Input() roleCodes?: string;\r\n @Input() userNames?: string;\r\n @Input() alignLeft!: boolean;\r\n @Input() noWrap?: boolean;\r\n\r\n roles!: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n filteredRoles!: Role[];\r\n\r\n constructor(private store: Store) { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadRoles();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.rolesSubs?.unsubscribe();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n this.roles = data;\r\n if (this.roleCodes) {\r\n const rolesArray = this.roleCodes.split('/');\r\n this.filteredRoles = this.roles.filter(val => val.code && rolesArray.includes(val.code));\r\n }\r\n });\r\n }\r\n\r\n getTooltip(role?: Role) {\r\n if (role && this.userNames) {\r\n const users = this.userNames?.split(',');\r\n return role.name + '
    ' + users?.find(u => u.includes(role.code ?? '')) + '';\r\n }\r\n else\r\n return role?.name ?? '';\r\n }\r\n\r\n\r\n}\r\n","\r\n \r\n {{ item.code }}\r\n \r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { AbstractControl, FormControl } from '@angular/forms';\r\nimport { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\n\r\n@Component({\r\n selector: 'role-selection',\r\n templateUrl: './role-selection.component.html',\r\n styleUrls: ['./role-selection.component.scss']\r\n})\r\nexport class RoleSelectionComponent extends BaseComponent implements OnInit, OnChanges {\r\n\r\n @Input() roles?: Role[] = [];\r\n @Input() label?: string = 'Roles';\r\n @Input() noSubscript?: boolean;\r\n @Input() control?: AbstractControl | FormControl | null;\r\n @Input() hint?: string;\r\n @Input() disabled?: boolean;\r\n @Input() showNames?: boolean;\r\n\r\n @Output() changed = new EventEmitter();\r\n @Output() deleted = new EventEmitter();\r\n @Output() selected = new EventEmitter();\r\n\r\n @Output() mousedown = new EventEmitter();\r\n\r\n allRoles?: Role[];\r\n rolesFiltered?: Role[];\r\n roles$!: Observable;\r\n rolesSubs!: Subscription;\r\n\r\n ngOnInit(): void {\r\n this.loadRoles();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.roles?.sort((a, b) => this.utils.sort(a.code, b.code));\r\n this.filterRoles();\r\n if (this.disabled && this.control)\r\n this.control.disable();\r\n else if (this.control)\r\n this.control.enable();\r\n }\r\n\r\n loadRoles() {\r\n this.roles$ = this.store.select(state => state.Roles.data);\r\n this.rolesSubs = this.roles$.subscribe(data => {\r\n if (data?.length) {\r\n this.allRoles = data;\r\n this.filterRoles();\r\n }\r\n });\r\n }\r\n\r\n filterRoles() {\r\n this.rolesFiltered = this.allRoles?.filter(r => !this.roles?.map(c => c.id).includes(r.id));\r\n }\r\n\r\n remove(role: Role) {\r\n const index = this.roles?.findIndex(r => r.id == role.id);\r\n if (index != undefined) this.roles?.splice(index, 1);\r\n this.deleted.emit(role);\r\n this.changed.emit(this.roles);\r\n this.filterRoles();\r\n }\r\n\r\n change(e: any) {\r\n const text = e.target.value;\r\n this.filterRoles();\r\n this.rolesFiltered = this.rolesFiltered?.filter(r => r.code?.toLowerCase().includes(text.toLowerCase()) || r.name?.toLowerCase().includes(text.toLowerCase()));\r\n }\r\n\r\n select(e: MatAutocompleteSelectedEvent) {\r\n const role = e.option.value;\r\n if (!this.roles) this.roles = [];\r\n this.roles?.push(role)\r\n this.roles?.sort((a, b) => this.utils.sort(a.code, b.code));\r\n this.selected.emit(role);\r\n this.changed.emit(this.roles);\r\n this.filterRoles();\r\n }\r\n}\r\n","\r\n {{ label }}\r\n \r\n \r\n {{ showNames ? role.name : role?.code }}\r\n cancel\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n {{ role.code }} \r\n
    \r\n
    \r\n {{ role.name }}\r\n
    \r\n
    \r\n \r\n \r\n You must choose at least one Role\r\n {{ hint }}\r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter, ViewChild, ElementRef, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { RSSTestShutterRequiredToBeClosedForTest, Resource } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\n\r\n@Component({\r\n selector: 'rss-test-shutter-chips',\r\n templateUrl: './rss-test-shutter-chips.component.html',\r\n styleUrls: ['./rss-test-shutter-chips.component.scss']\r\n})\r\nexport class RssTestShutterChipsComponent implements OnInit, OnChanges {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() resourceId?: number;\r\n @Input() selectedRssTestShutters?: RSSTestShutterRequiredToBeClosedForTest[] | null;\r\n @Input() isModified!: boolean;\r\n\r\n @Output() error = new EventEmitter();\r\n @Output() edit = new EventEmitter();\r\n\r\n @ViewChild('shutterAutocomplete')\r\n shutterAutocomplete!: MatAutocomplete;\r\n @ViewChild('shutterInput')\r\n shutterInput!: ElementRef;\r\n\r\n allResources!: Resource[];\r\n availableResources!: Resource[];\r\n filteredResources!: Resource[];\r\n\r\n loading = false;\r\n\r\n constructor(\r\n public resourceService: ResourcesService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n if (this.control == null) {\r\n this.control = new FormControl();\r\n }\r\n this.allResources = [];\r\n this.availableResources = [];\r\n this.filteredResources = [];\r\n this.loading = true;\r\n this.resourceService.getResourcesByType(ResourceType.Shutter).subscribe(\r\n (data: Resource[]) => {\r\n data.map(x => {\r\n this.allResources.push(x);\r\n this.availableResources.push(x);\r\n this.filteredResources.push(x);\r\n });\r\n },\r\n error => {\r\n this.error.emit(error.error);\r\n },\r\n () => this.loading = false\r\n );\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if ('selectedRssTestShutters' in changes) {\r\n this.formatProps()\r\n this.setAvailableResources();\r\n this.clear();\r\n }\r\n }\r\n\r\n formatProps() {\r\n this.selectedRssTestShutters?.map(s => {\r\n s.Shutter = utils.convertToResource(s.Shutter);\r\n });\r\n }\r\n\r\n selected(event: MatAutocompleteSelectedEvent) {\r\n const shutter: Resource = event.option.value;\r\n this.selectedRssTestShutters?.push({\r\n BeamlineID: this.resourceId,\r\n ShutterID: shutter.id,\r\n Shutter: shutter\r\n });\r\n this.setAvailableResources();\r\n this.clear();\r\n this.edit.emit();\r\n }\r\n\r\n remove(rssTestShutter: RSSTestShutterRequiredToBeClosedForTest) {\r\n const index = this.selectedRssTestShutters?.indexOf(rssTestShutter) ?? -1;\r\n\r\n if (index >= 0) {\r\n this.selectedRssTestShutters?.splice(index, 1);\r\n this.setAvailableResources();\r\n this.clear();\r\n this.edit.emit();\r\n }\r\n }\r\n\r\n clear() {\r\n if (this.shutterInput != null) {\r\n this.shutterInput.nativeElement.value = '';\r\n }\r\n if (this.control != null) {\r\n this.control.setValue(null);\r\n }\r\n }\r\n\r\n setAvailableResources() {\r\n this.availableResources = [];\r\n if (this.allResources == null) {\r\n this.allResources = [];\r\n }\r\n if (this.selectedRssTestShutters == null) {\r\n this.selectedRssTestShutters = [];\r\n }\r\n this.allResources.map(x => this.availableResources.push(x));\r\n this.selectedRssTestShutters.map(x => {\r\n if (x.Shutter?.id) {\r\n const index = this.availableResources.map(y => y.id).indexOf(x.Shutter.id);\r\n\r\n if (index >= 0) {\r\n this.availableResources.splice(index, 1);\r\n }\r\n }\r\n });\r\n this.filteredResources = [];\r\n this.availableResources.map(x => this.filteredResources.push(x));\r\n }\r\n\r\n onShutterInputKeyup(e: any) {\r\n const text = e.target.value;\r\n this.filteredResources = this.availableResources.filter(x => x.name?.trim().toLowerCase().includes(text.trim().toLowerCase()));\r\n }\r\n\r\n}\r\n","
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n {{ rssTestShutter.Shutter == null ? \"\" : rssTestShutter.Shutter.name }}\r\n cancel\r\n \r\n \r\n \r\n \r\n \r\n {{ resource == null ? \"\" : resource.name }}\r\n \r\n \r\n \r\n
    \r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'textarea-dialog',\r\n templateUrl: './textarea-dialog.component.html',\r\n styleUrls: ['./textarea-dialog.component.scss']\r\n})\r\n/* textarea-dialog component*/\r\nexport class TextareaDialogComponent implements OnInit {\r\n public label?: string;\r\n public acceptDisabled = true;\r\n public placeholder?: string;\r\n\r\n constructor(\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: any\r\n ) {\r\n }\r\n ngOnInit() {\r\n this.label = this.data.label;\r\n if ('placeholder' in this.data) {\r\n this.placeholder = this.data.placeholder;\r\n }\r\n }\r\n cancel() {\r\n this.data.acceptClicked = false;\r\n this.data.cancelClicked = true;\r\n this.dialog.close(this.data);\r\n }\r\n accept() {\r\n this.data.acceptClicked = true;\r\n this.data.cancelClicked = false;\r\n this.dialog.close(this.data);\r\n }\r\n textChange(text: string) {\r\n this.acceptDisabled = text.trim() === '';\r\n }\r\n}\r\n","
    \r\n
    \r\n {{ label }}\r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n
    \r\n","\r\nexport class TransactionLogRefresh {\r\n static readonly type = '[TransactionLog] RefreshBySN';\r\n constructor(public serialNo: string) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { TransactionLogRefresh } from './transaction-log.action';\r\nimport { TransactionLog } from 'src/app/services/logs/transaction-logs';\r\nimport { TransactionLogService } from 'src/app/services/logs/transaction-log.service';\r\n\r\nexport class TransactionLogStateModel {\r\n data: TransactionLog[] = [];\r\n}\r\n\r\n@State({\r\n name: 'TransactionLog',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class TransactionLogState {\r\n constructor(\r\n private _service: TransactionLogService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: TransactionLogStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(TransactionLogRefresh)\r\n refresh({ patchState }: StateContext, { serialNo }: TransactionLogRefresh) {\r\n this._service.GetBySerialNo(serialNo).subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as TransactionLogActionsActions from './transaction-log.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionLogStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.TRANSACTION_LOG, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new TransactionLogActionsActions.TransactionLogRefresh(data.obj));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, Injector, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport moment from 'moment';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { Form } from 'src/app/services/forms/form';\r\nimport { LogToShowResource } from 'src/app/services/logs/log-to-show-resource';\r\nimport { SignResource } from 'src/app/services/logs/signs';\r\nimport { WfSignatureResource } from 'src/app/services/work-flow/work-flow';\r\nimport { WorkFlowService } from 'src/app/services/work-flow/work-flow.service';\r\n\r\n@Component({\r\n selector: 'transaction-log-amendments',\r\n templateUrl: './transaction-log-amendments.component.html',\r\n styleUrls: ['./transaction-log-amendments.component.scss']\r\n})\r\nexport class TransactionLogAmendmentsComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() serialNo?: string;\r\n @Input() formType?: FormType;\r\n\r\n showUpdates = false;\r\n generalLogs?: LogToShowResource;\r\n signLogs?: SignResource[];\r\n\r\n show?: boolean;\r\n showAddedUpdates?: boolean;\r\n showDeletedUpdates?: boolean;\r\n showModifiedUpdates?: boolean;\r\n\r\n amendmentList?: any[];\r\n\r\n loading?: boolean;\r\n hasOriginal?: boolean;\r\n\r\n // form?: Form;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private wfService: WorkFlowService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n if (this.serialNo) {\r\n this.loading = true;\r\n this.wfService.getLogsBySn(this.serialNo).subscribe(response => {\r\n this.generalLogs = response;\r\n if (this.generalLogs) {\r\n this.show = true;\r\n }\r\n this.fillLogs();\r\n this.generalLogs.signs = this.generalLogs.signs?.sort((a, b) => moment(a.signedOn).isAfter(b.signedOn) ? 1 : moment(a.signedOn).isBefore(b.signedOn) ? -1 : 0);\r\n this.signLogs = this.generalLogs.signs?.filter(s => s.amendmentId === 0);\r\n this.signLogs?.map(x => {\r\n if (x.name?.includes('Disapproved') && !x.reason) {\r\n x.name = x.name.replace('Disapproved', 'Unsubmitted');\r\n }\r\n });\r\n });\r\n } else {\r\n this.show = false;\r\n }\r\n }\r\n\r\n fillLogs() {\r\n if (this.generalLogs?.originalBody) {\r\n switch (this.formType) {\r\n case FormType.EBF:\r\n this.generalLogs.originalBodyEB2 = JSON.parse(this.generalLogs.originalBody) as Form;\r\n break;\r\n case FormType.PPSTB:\r\n this.generalLogs.originalBodyPPSTB = JSON.parse(this.generalLogs.originalBody) as Form;\r\n break;\r\n }\r\n this.hasOriginal = true;\r\n }\r\n this.fillUpdates();\r\n }\r\n\r\n fillUpdates() {\r\n\r\n if (this.generalLogs?.updates?.length) {\r\n this.generalLogs.updates.map((update, i) => {\r\n if (update.oldBody && update.currentBody) {\r\n update.header = 'Amendment ' + (i + 1) + '';\r\n update.form = JSON.parse(update.currentBody);\r\n }\r\n if (update.added && update.added.length > 0) {\r\n this.showAddedUpdates = true;\r\n }\r\n if (update.deleted && update.deleted.length > 0) {\r\n this.showDeletedUpdates = true;\r\n }\r\n if (update.modified && update.modified.length > 0) {\r\n this.showModifiedUpdates = true;\r\n }\r\n this.generateAmendmentViews();\r\n });\r\n this.showUpdates = true;\r\n } else { this.showUpdates = false; }\r\n\r\n }\r\n\r\n getLogHeadText(amendmentId?: number): string {\r\n const fakeAmendmentId = this.findIndex(amendmentId);\r\n const res = (fakeAmendmentId ? ('Amendment ' + fakeAmendmentId) : 'Amendment Cancelled') + '';\r\n return res;\r\n }\r\n\r\n findIndex(amendmentId?: number): number {\r\n if (amendmentId) {\r\n let fakeAmendmentId = this.amendmentList?.findIndex(amid => amid === amendmentId);\r\n if (fakeAmendmentId)\r\n return fakeAmendmentId + 1;\r\n }\r\n return 0;\r\n }\r\n\r\n getAmendmentList(wfSignatures: WfSignatureResource[]): number[] {\r\n let olderAmendmentId = -1;\r\n let res: number[] = [];\r\n wfSignatures.map(t => {\r\n if (t.amendmentID !== olderAmendmentId) {\r\n olderAmendmentId = t.amendmentID;\r\n res.push(olderAmendmentId);\r\n }\r\n });\r\n\r\n res = [...new Set(res)].sort((a, b) => a - b);\r\n return res;\r\n }\r\n\r\n generateAmendmentViews() {\r\n this.generalLogs?.updates?.map((update, i) => {\r\n if (i == 0)\r\n update.form!.formVersion.previousVersion = this.generalLogs?.originalBodyEB2?.formVersion;\r\n else {\r\n const current = this.utils.JSONparse(this.generalLogs?.updates?.[i - 1].currentBody);\r\n const previous = this.utils.JSONparse(this.generalLogs?.updates?.[i - 1].oldBody);\r\n update.form = current;\r\n }\r\n });\r\n }\r\n\r\n getTopPosition(parent: HTMLDivElement) {\r\n const rect = parent.getBoundingClientRect();\r\n if (rect.top < 170 && rect.bottom > 250)\r\n return {\r\n position: 'fixed', top: '169px', right: '90px', 'padding-bottom': '3px', 'padding-top': '5px',\r\n 'box-shadow': '0 2px 3px #aaa'\r\n };\r\n else return { position: 'relative' };\r\n }\r\n\r\n getUserSign(name?: string) {\r\n return this.users.find(u => u.name == name);\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n Original Form \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n {{\r\n update?.amendmentDate | date : \"medium\"\r\n }}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n
    \r\n
    \r\n
    Signatures
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    There are not signatures
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { SignResource } from 'src/app/services/logs/signs';\r\nimport { TransactionLog } from 'src/app/services/logs/transaction-logs';\r\n\r\n@Component({\r\n selector: 'transaction-log-approvals',\r\n templateUrl: './transaction-log-approvals.component.html',\r\n styleUrls: ['./transaction-log-approvals.component.scss']\r\n})\r\nexport class TransactionLogApprovalsComponent extends BaseComponent implements OnChanges {\r\n\r\n @Input() transactionLogs?: TransactionLog[];\r\n\r\n signLogs?: SignResource[] = [];\r\n showBoxes?: boolean;\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.createSignLogs();\r\n }\r\n\r\n createSignLogs() {\r\n this.signLogs = [];\r\n this.transactionLogs?.filter(t => t.entityName == 'WFTask')?.map(t => {\r\n const wfTask = this.utils.JSONparse(t.objectJson);\r\n const signLog = {\r\n name: wfTask.Name,\r\n signedBy: wfTask.SignedBy,\r\n signedOn: wfTask.SignedOn,\r\n amendmentId: wfTask.AmendmentId,\r\n reason: wfTask.Reason,\r\n roleName: wfTask.RoleName\r\n } as SignResource;\r\n this.signLogs?.push(signLog);\r\n });\r\n }\r\n}\r\n","
    \r\n \r\n
    \r\n {{ signature.signedOn | date : \"medium\" }}\r\n arrow_right_alt\r\n\r\n \r\n {{ signature.name }} by\r\n {{ signature.signedBy }} \r\n comment\r\n \r\n {{ signature.reason }}\r\n
    \r\n
    \r\n
    \r\n","import { Component, Injector, Input, OnChanges, OnDestroy, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { TransactionLogService } from 'src/app/services/logs/transaction-log.service';\r\nimport { TransactionLog } from 'src/app/services/logs/transaction-logs';\r\nimport { TransactionLogAmendmentsComponent } from './transaction-log-amendments/transaction-log-amendments.component';\r\n\r\n@Component({\r\n selector: 'transaction-log',\r\n templateUrl: './transaction-log.component.html',\r\n styleUrls: ['./transaction-log.component.scss']\r\n})\r\nexport class TransactionLogComponent extends BaseComponent implements OnChanges, OnDestroy {\r\n @Input() serialNo?: string;\r\n @Input() formType?: FormType;\r\n\r\n transactionLogs?: TransactionLog[];\r\n transactionLogsFiltered?: TransactionLog[];\r\n transactionLogs$!: Observable;\r\n transactionLogsSubs!: Subscription;\r\n\r\n @ViewChild(TransactionLogAmendmentsComponent) amendments!: TransactionLogAmendmentsComponent;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n private service: TransactionLogService\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadTransactionLogs();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.transactionLogsSubs?.unsubscribe();\r\n super.ngOnDestroy();\r\n }\r\n\r\n loadTransactionLogs() {\r\n this.transactionLogs$ = this.store.select(state => state.TransactionLog.data);\r\n this.transactionLogsSubs = this.transactionLogs$.subscribe(data => {\r\n const transactionLogs = data?.filter(t => t.serialNo == this.serialNo);\r\n if (transactionLogs.length) {\r\n this.transactionLogs = transactionLogs.sort((a, b) => this.utils.sort(a.createdOn, b.createdOn));\r\n this.amendments.refresh();\r\n }\r\n else {\r\n if (this.serialNo)\r\n this.service.GetBySerialNo(this.serialNo).toPromise().then(data => {\r\n this.transactionLogs = data?.sort((a, b) => this.utils.sort(a.createdOn, b.createdOn));\r\n });\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
    History Log
    \r\n\r\n \r\n \r\n \r\n \r\n\r\n","import { Component, ElementRef, Inject, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { ProcedureSignature } from 'src/app/components/procedure/models/procedure-signature.model';\r\nimport { PrivilegeEnum } from 'src/app/services/role-privilege/privilege-enum';\r\nimport { UserService } from 'src/app/components/catalogs/user-catalog/services/user.service';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\n\r\nexport class UserAutocompletePopupParameters {\r\n public placeholder!: string;\r\n public selectedUsers!: ProcedureSignature[];\r\n public privileges?: PrivilegeEnum[];\r\n}\r\n\r\n@Component({\r\n selector: 'user-autocomplete-popup',\r\n templateUrl: './user-autocomplete-popup.component.html',\r\n styleUrls: ['./user-autocomplete-popup.component.scss']\r\n})\r\nexport class UserAutocompletePopupComponent extends BaseComponent implements OnInit {\r\n placeholder: string = '';\r\n disabled: boolean = false;\r\n selectedUsers: any[] = [];\r\n user!: User | null;\r\n\r\n allUsers: User[] = [];\r\n availableUsers: User[] = [];\r\n filteredUsers: User[] = [];\r\n\r\n @ViewChild('input') input!: ElementRef;\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n @Inject(MAT_DIALOG_DATA)\r\n public data: UserAutocompletePopupParameters,\r\n public dialogRef: MatDialogRef,\r\n ) {\r\n super(injector);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.placeholder = this.data?.placeholder ?? this.placeholder;\r\n this.selectedUsers = this.data?.selectedUsers ?? this.selectedUsers;\r\n const users = this.users.filter(u => u.status == 1);\r\n this.allUsers = this.data.privileges ? users.filter(u => u.userRole?.some(r => this.utils.intersect(r.role?.rolePrivileges?.map(p => p.privilege), this.data.privileges))) : users;\r\n this.available();\r\n this.filter();\r\n }\r\n\r\n available() {\r\n this.availableUsers = [];\r\n this.availableUsers = utils.cloneDeep(this.allUsers);\r\n this.selectedUsers.map(selectedUser => {\r\n const index = this.availableUsers.map(x => x.id).indexOf(selectedUser.userID);\r\n\r\n if (index >= 0) {\r\n this.availableUsers.splice(index, 1);\r\n }\r\n });\r\n this.filteredUsers = utils.cloneDeep(this.availableUsers);\r\n }\r\n\r\n filter(e?: any) {\r\n const text = e?.target?.value\r\n const code = e?.code;\r\n if (text)\r\n if (!(code?.includes('Arrow') || code?.includes('Enter'))) {\r\n this.user = null;\r\n this.filteredUsers = this.availableUsers.filter(x => x.name?.trim().toLowerCase().includes(text?.trim()?.toLowerCase()));\r\n }\r\n }\r\n\r\n select(user: User) {\r\n this.user = user;\r\n this.input.nativeElement.value = user.name;\r\n }\r\n\r\n accept() {\r\n this.dialogRef.close({ user: this.user });\r\n }\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n \r\n {{ placeholder }}\r\n \r\n \r\n \r\n {{ user.name }}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Accept\r\n \r\n
    \r\n
    \r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { UserService } from 'src/app/components/catalogs/user-catalog/services/user.service';\r\n\r\n\r\n@Component({\r\n selector: 'user-select',\r\n templateUrl: './user-select.component.html',\r\n styleUrls: ['./user-select.component.scss']\r\n})\r\nexport class UserSelectComponent implements OnInit {\r\n @Input() placeholder!: string;\r\n @Input() disabled!: boolean;\r\n @Input() control!: FormControl;\r\n @Input() get userID() {\r\n return this.userIDValue;\r\n }\r\n\r\n set userID(val) {\r\n this.userIDValue = val;\r\n this.userIDChange.emit(this.userIDValue);\r\n }\r\n\r\n @Output() userIDChange = new EventEmitter();\r\n @Output() error = new EventEmitter();\r\n\r\n userIDValue!: number;\r\n users!: User[];\r\n\r\n constructor(\r\n public userService: UserService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n if (this.control == null) {\r\n this.control = new FormControl();\r\n }\r\n this.userService.ReadActive().subscribe(\r\n (data: User[]) => {\r\n this.users = data;\r\n },\r\n error => {\r\n this.error.emit(error.error);\r\n }\r\n );\r\n }\r\n\r\n}\r\n","\r\n {{placeholder}}\r\n \r\n \r\n {{user.name}}\r\n \r\n \r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'waiting-dots',\r\n templateUrl: './waiting-dots.component.html',\r\n styleUrls: ['./waiting-dots.component.scss']\r\n})\r\nexport class WaitingDotsComponent {\r\n\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'waiting-text',\r\n templateUrl: './waiting-text.component.html',\r\n styleUrls: ['./waiting-text.component.scss']\r\n})\r\nexport class WaitingTextComponent {\r\n\r\n}\r\n","\r\n\r\n
    \r\n\r\n","import { WorkerVerification } from '../../../../services/worker-verification/worker-verification';\r\n\r\nexport class WorkerVerificationRefresh {\r\n static readonly type = '[WorkerVerification] Refresh';\r\n}\r\n\r\nexport class WorkerVerificationCreate {\r\n static readonly type = '[WorkerVerification] Create';\r\n\r\n constructor(public item: WorkerVerification) { }\r\n}\r\n\r\nexport class WorkerVerificationUpdate {\r\n static readonly type = '[WorkerVerification] Update';\r\n\r\n constructor(public id: number, public item: WorkerVerification) { }\r\n}\r\n\r\nexport class WorkerVerificationDelete {\r\n static readonly type = '[WorkerVerification] Delete';\r\n\r\n constructor(public id: number) { }\r\n}\r\n","import { State, Selector, Action, StateContext, Store } from '@ngxs/store';\r\nimport { Injectable } from '@angular/core';\r\nimport { WorkerVerificationCreate, WorkerVerificationDelete, WorkerVerificationRefresh, WorkerVerificationUpdate } from './worker-verification.action';\r\nimport { WorkerVerification } from '../../../../services/worker-verification/worker-verification';\r\nimport { WorkerVerificationService } from 'src/app/services/worker-verification/worker-verification.service';\r\n\r\nexport class WorkerVerificationStateModel {\r\n data: WorkerVerification[] = [];\r\n}\r\n\r\n@State({\r\n name: 'WorkerVerification',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class WorkerVerificationState {\r\n constructor(\r\n private workerverificationService: WorkerVerificationService,\r\n private store: Store\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: WorkerVerificationStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(WorkerVerificationRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.workerverificationService.getAll().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(WorkerVerificationCreate)\r\n create({ getState, patchState }: StateContext, { item }: WorkerVerificationCreate) {\r\n const state = getState();\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n\r\n @Action(WorkerVerificationUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: WorkerVerificationUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(WorkerVerificationDelete)\r\n delete({ getState, patchState }: StateContext, { id }: WorkerVerificationDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as WorkerVerificationActions from './worker-verification.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WorkerVerificationStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new WorkerVerificationActions.WorkerVerificationRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.WORKERVERIFICATION, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new WorkerVerificationActions.WorkerVerificationCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new WorkerVerificationActions.WorkerVerificationUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new WorkerVerificationActions.WorkerVerificationDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new WorkerVerificationActions.WorkerVerificationRefresh());\r\n }\r\n });\r\n\r\n }\r\n}\r\n","import { Component, OnInit, Output, EventEmitter, OnDestroy, Input, OnChanges, SimpleChanges, Injector } from '@angular/core';\r\nimport { MatTableDataSource } from '@angular/material/table';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { SCFMaster } from '../../components/scf-v2/scf';\r\nimport { WorkerVerification } from 'src/app/services/worker-verification/worker-verification';\r\nimport { WorkerVerificationService } from 'src/app/services/worker-verification/worker-verification.service';\r\nimport { BaseComponent } from 'src/app/common/base/base.component';\r\nimport { Document } from 'src/app/services/documents/documents';\r\nimport { FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport { RSSWAResource } from 'src/app/components/rsswa/rsswa';\r\nimport { WorkerVerificationRefresh } from './store/worker-verification/worker-verification.action';\r\n\r\n@Component({\r\n selector: 'worker-verification-table',\r\n templateUrl: './worker-verification.component.html',\r\n styleUrls: ['./worker-verification.component.scss']\r\n})\r\n\r\nexport class WorkerVerificationComponent extends BaseComponent implements OnInit, OnDestroy, OnChanges {\r\n\r\n @Input() currentDocument?: SCFMaster | RSSWAResource | Document | null;\r\n @Input() disabled?: boolean;\r\n @Output() on_refresh_error = new EventEmitter(false);\r\n\r\n signed: boolean = false;\r\n disableButtons?: boolean = true;\r\n\r\n dataSource = new MatTableDataSource();\r\n displayed_columns = ['user', 'date', 'action'];\r\n workerVerifications?: WorkerVerification[];\r\n workerVerifications$!: Observable;\r\n workerVerificationsSubs!: Subscription;\r\n\r\n constructor(\r\n public service: WorkerVerificationService,\r\n protected override injector: Injector\r\n ) {\r\n super(injector);\r\n this.store.dispatch(new WorkerVerificationRefresh());\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.loadWorkerVerifications();\r\n this.checkDisabled();\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.workerVerificationsSubs?.unsubscribe();\r\n }\r\n\r\n ngOnInit() {\r\n this.loadWorkerVerifications();\r\n }\r\n\r\n checkDisabled() {\r\n if (this.currentDocument)\r\n this.disableButtons = !(\r\n (this.currentDocument?.status === FormStatusEnum.Active ||\r\n this.currentDocument?.status === FormStatusEnum.HoldPoint ||\r\n this.currentDocument?.status === FormStatusEnum.ActiveBypassInstalled ||\r\n this.currentDocument?.status === FormStatusEnum.ActiveOperationsVerified ||\r\n this.currentDocument?.status === FormStatusEnum.ActiveBypassInstalled ||\r\n this.currentDocument?.status === FormStatusEnum.ActiveMitigationsInPlace ||\r\n this.currentDocument?.status === FormStatusEnum.Amendment ||\r\n this.currentDocument?.status === FormStatusEnum.RestrictionsAmendment ||\r\n this.currentDocument?.status === FormStatusEnum.AmendmentSign)\r\n );\r\n }\r\n\r\n loadWorkerVerifications() {\r\n this.workerVerifications$ = this.store.select(state => state.WorkerVerification.data);\r\n this.workerVerificationsSubs = this.workerVerifications$.subscribe(data => {\r\n this.workerVerifications = data.filter(x => x.form == this.currentDocument?.type && x.formID == this.currentDocument?.id);\r\n this.signed = this.workerVerifications.some(w => w.userID == this.getCurrentUser()?.id);\r\n this.dataSource = new MatTableDataSource(this.workerVerifications);\r\n });\r\n }\r\n\r\n refresh(form: number, formID: number) {\r\n this.dataSource = new MatTableDataSource(this.workerVerifications?.filter(x => x.form == form && x.formID == formID));\r\n }\r\n\r\n clean() {\r\n this.dataSource.data = [];\r\n }\r\n\r\n addSignature() {\r\n let worker_verification: WorkerVerification = {\r\n form: this.currentDocument?.type,\r\n formID: this.currentDocument?.id,\r\n userID: this.getCurrentUser()?.id,\r\n date: new Date(),\r\n };\r\n\r\n const message = worker_verification.form == 1 ? \"WorkerVerification_SignatureApprovement\" : \"WorkerVerification_SignatureApprovement_NonSCF\";\r\n\r\n const confirmApprovement = this.dialog.open(YesNoDialogComponent, {\r\n width: \"500px\",\r\n data: {\r\n message: this.getMessage(message).description,\r\n icon: \"warn\",\r\n },\r\n });\r\n\r\n confirmApprovement\r\n .afterClosed()\r\n .toPromise()\r\n .then(async (data) => {\r\n if (data) {\r\n this.service\r\n .create(worker_verification)\r\n .toPromise()\r\n .then(() => {\r\n this.store.dispatch(new WorkerVerificationRefresh());\r\n }\r\n // () => {\r\n // this.signed = null;\r\n // this.on_sign.emit();\r\n // },\r\n // (error) => this.on_error.emit(error.error)\r\n );\r\n } else {\r\n }\r\n });\r\n }\r\n\r\n remove() {\r\n if (this.currentDocument?.id && this.currentDocument.type)\r\n this.service\r\n .deleteByFormUser(this.currentDocument.type, this.currentDocument.id, this.getCurrentUser()?.id ?? 0)\r\n .toPromise()\r\n .then(() => {\r\n this.store.dispatch(new WorkerVerificationRefresh());\r\n }\r\n // () => {\r\n // this.signed = null;\r\n // this.on_sign.emit();\r\n // },\r\n // (error) => this.on_error.emit(error.error)\r\n );\r\n }\r\n}\r\n","
    \r\n
    Worker Verification
    \r\n
    \r\n \r\n \r\n User\r\n {{ e.user.name }}\r\n \r\n \r\n Date\r\n {{\r\n e.date | date : \"medium\"\r\n }}\r\n \r\n \r\n \r\n \r\n add\r\n \r\n \r\n \r\n delete\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-yes-no-dialog',\r\n templateUrl: './yes-no-dialog.component.html',\r\n styleUrls: ['./yes-no-dialog.component.scss']\r\n})\r\n/// Info\r\nexport class YesNoDialogComponent implements OnInit {\r\n\r\n public message!: string;\r\n public buttonCancel = 'No';\r\n public buttonAccept = 'Yes';\r\n public icon = 'question';\r\n\r\n constructor(\r\n public dialog: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: {\r\n message: string;\r\n icon: string;\r\n value: boolean;\r\n changeButtonLabels: boolean;\r\n labelButtonCancel: string;\r\n labelButtonAccept: string;\r\n }\r\n ) { }\r\n\r\n ngOnInit() {\r\n if (this.data?.changeButtonLabels) {\r\n this.buttonCancel = this.data.labelButtonCancel;\r\n this.buttonAccept = this.data.labelButtonAccept;\r\n }\r\n this.message = this.data.message;\r\n this.data.value = true;\r\n if (this.data.icon) {\r\n this.icon = this.data.icon;\r\n }\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n report\r\n warning\r\n help_outline\r\n info\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n","/* \"Barrel\" of Http Interceptors */\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\n\r\nimport { TokenInterceptor } from './token.interceptor';\r\n\r\n/** Http interceptor providers in outside-in order */\r\nexport const httpInterceptorProviders = [\r\n { provide: HTTP_INTERCEPTORS, useClass: TokenInterceptor, multi: true }\r\n];\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest, HttpErrorResponse, HttpEvent } from '@angular/common/http';\r\nimport { environment } from '../../environments/environment';\r\nimport { Router } from '@angular/router';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { Store } from '@ngxs/store';\r\nimport { AlertService } from '../services/alert/alert.service';\r\nimport { SetCurrentUser } from '../store/actions';\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TokenInterceptor implements HttpInterceptor {\r\n\r\n constructor(private router: Router, private store: Store, private alertService: AlertService) { }\r\n\r\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n if (req.url === environment.urls.ologUrl || req.url.includes('controls.als.lbl.gov')) {\r\n return next.handle(req);\r\n }\r\n const token = localStorage.getItem('Token');\r\n let authReq = req;\r\n if (token) {\r\n const authToken = 'Bearer ' + token;\r\n authReq = req.clone({\r\n headers: req.headers.set('Authorization', authToken),\r\n withCredentials: true\r\n });\r\n }\r\n else {\r\n authReq = req.clone({\r\n withCredentials: true\r\n });\r\n }\r\n\r\n // send cloned request with header to the next handler.\r\n return next.handle(authReq).pipe(\r\n catchError((err: HttpErrorResponse) => {\r\n if (err.status === 401 || err.status === 403) {\r\n const token = localStorage.getItem('Token');\r\n if (token) {\r\n this.store.dispatch(new SetCurrentUser(null));\r\n this.alertService.warning(environment.messages.sessionFinished);\r\n }\r\n this.router.navigateByUrl('/home');\r\n }\r\n return throwError(err);\r\n })\r\n );\r\n }\r\n}\r\n","/*\r\n * Public API Surface of mat-file-upload\r\n */\r\n\r\nexport * from './lib/mat-file-upload.service';\r\nexport * from './lib/mat-file-upload.component';\r\nexport * from './lib/mat-file-upload.module';\r\nexport * from './lib/mat-file/mat-file.component';\r\nexport * from './lib/mat-file-list/mat-file-list.component';\r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, OnInit } from '@angular/core';\r\nimport { MatFileUploadService } from '../mat-file-upload.service';\r\nimport { Comment } from 'src/app/controls/comments-and-attachments/services/comment';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { RadiationAreaItem } from 'src/app/components/home/radiation-area/radiation-area-item';\r\n\r\n@Component({\r\n selector: 'mat-file-list',\r\n templateUrl: './mat-file-list.component.html',\r\n styleUrls: ['./mat-file-list.component.scss']\r\n})\r\n\r\n/** mat-file-list component*/\r\nexport class MatFileListComponent implements OnChanges, OnInit {\r\n\r\n showupload = false;\r\n loading = false;\r\n\r\n attachments: Attachment[] = [];\r\n @Input() public comment?: Comment;\r\n @Input() public radArea?: RadiationAreaItem;\r\n @Input() disabled?: boolean;\r\n @Input() public uploadId?: string;\r\n @Input() save_files_database = '';\r\n @Input() typeDocument?: string;\r\n @Input() upload_when_selected: boolean = true;\r\n @Output() changed = new EventEmitter();\r\n @Output() selectedFilesChanged = new EventEmitter();\r\n\r\n constructor(private upload: MatFileUploadService) {\r\n\r\n }\r\n\r\n async ngOnInit() {\r\n }\r\n\r\n async ngOnChanges(changes: SimpleChanges) {\r\n this.refresh();\r\n }\r\n\r\n async refresh() {\r\n this.loading = true;\r\n await this.loadFiles().then(() => this.loading = false);\r\n }\r\n\r\n loadFiles() {\r\n return new Promise((resolve, reject) => {\r\n if ((this.comment?.files?.length ?? 0) > 0) {\r\n this.attachments = [];\r\n this.comment?.files?.map(file => {\r\n const attachment: Attachment = {\r\n id: file.id,\r\n fileName: file.fileName,\r\n fileSize: file.fileSize,\r\n createdon: file.createdOn,\r\n SizeKb: utils.numberWithCommas(Math.round(file.fileSize / 1024)) + ' Kb',\r\n fileExtension: file.fileExtension,\r\n fileIcon: '../../../assets/icons/files/' + file.fileExtension?.replace('.', '')?.toLocaleLowerCase() + '.png',\r\n rootDirectory: file.rootDirectory ?? ''\r\n };\r\n this.attachments.push(attachment);\r\n });\r\n this.attachments.map(a => {\r\n this.upload.iconCheck('../../../assets/icons/files/' + a.fileExtension?.replace('.', '').toLocaleLowerCase() + '.png').toPromise().then(icon => {\r\n a.fileIcon = icon ?? '';\r\n });\r\n });\r\n resolve(true);\r\n }\r\n\r\n else if ((this.radArea?.files?.length ?? 0) > 0) {\r\n this.attachments = [];\r\n this.radArea?.files?.map(file => {\r\n const attachment: Attachment = {\r\n id: file.id,\r\n fileName: file.fileName,\r\n fileSize: file.fileSize,\r\n createdon: file.createdOn,\r\n SizeKb: utils.numberWithCommas(Math.round(file.fileSize / 1024)) + ' Kb',\r\n fileExtension: file.fileExtension,\r\n fileIcon: '../../../assets/icons/files/' + file.fileExtension?.replace('.', '')?.toLocaleLowerCase() + '.png',\r\n rootDirectory: file.rootDirectory ?? ''\r\n };\r\n this.attachments.push(attachment);\r\n });\r\n this.attachments.map(a => {\r\n this.upload.iconCheck('../../../assets/icons/files/' + a.fileExtension?.replace('.', '').toLocaleLowerCase() + '.png').toPromise().then(icon => {\r\n a.fileIcon = icon ?? '';\r\n });\r\n });\r\n resolve(true);\r\n }\r\n\r\n else { resolve(true); }\r\n });\r\n }\r\n\r\n refresh_list() {\r\n this.showupload = false;\r\n }\r\n\r\n show_upload() {\r\n this.showupload = true;\r\n }\r\n\r\n OnDeletedAttachmentFile(deletedId: string): void {\r\n if (deletedId != '') {\r\n const filteredCommentFiles = this.comment?.files?.filter(file => file.id != deletedId);\r\n const filteredRadAreaFiles = this.radArea?.files?.filter(file => file.id != deletedId);\r\n if (this.comment)\r\n this.comment.files = filteredCommentFiles;\r\n else if (this.radArea)\r\n this.radArea.files = filteredRadAreaFiles;\r\n this.loadFiles();\r\n this.changed?.emit(true);\r\n }\r\n }\r\n\r\n}\r\ninterface Attachment {\r\n id: string;\r\n fileName: string;\r\n fileSize: number;\r\n createdon: Date;\r\n SizeKb?: string;\r\n fileExtension: string;\r\n fileIcon: string;\r\n rootDirectory?: string;\r\n}\r\n","
    \r\n \r\n \r\n
    \r\n\r\n\r\n","import { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild, } from '@angular/core';\r\nimport { MatFileUploadService } from './mat-file-upload.service';\r\nimport { ProgressStatus, ProgressStatusEnum } from './mat-file/mat-file-progress';\r\nimport { HttpEventType } from '@angular/common/http';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport { utils } from '../../libs/utils';\r\n\r\n@Component({\r\n selector: 'mat-file-upload',\r\n templateUrl: 'mat-file-upload.component.html',\r\n styles: [\r\n '.file-input-button { margin-right: 8px !important }',\r\n '.file-input-text { font-size: 14px !important; margin-right: 8px !important }',\r\n '.maxWidth{ max-width: fit-content; height: fit-content; }',\r\n '@media only screen and (max-width: 1600px){.maxWidth{ max-width: 6em; height: fit-content; white-space: normal; line-height: 1em; padding: 0.5em; }}'\r\n ],\r\n})\r\n\r\nexport class MatFileUploadComponent implements OnInit {\r\n @Input() labelText = 'Attach files:';\r\n @Input() selectButtonText = 'Select File(s)';\r\n @Input() uploadButtonText = 'Upload File(s)';\r\n @Input() allowMultipleFiles = true;\r\n @Input() showUploadButton = false;\r\n @Input() showFiles = false;\r\n @Input() acceptedTypes = '*.pdf';\r\n @Input() customSvgIcon?: string | null = null;\r\n @Output() uploaded: EventEmitter = new EventEmitter();\r\n @Output() selectedFilesChanged: EventEmitter = new EventEmitter();\r\n\r\n @ViewChild('fileInput') fileInputRef!: ElementRef;\r\n selectedFiles?: FileList;\r\n selectedFileText = '';\r\n loading = false;\r\n files?: FileList;\r\n attachments: Attachment[] = [];\r\n fileToUpload?: File;\r\n\r\n public percentage?: number;\r\n public showProgress: boolean = false;\r\n public showDownloadError: boolean = false;\r\n public showUploadError: boolean = false;\r\n\r\n @Input()\r\n uploadId!: string;\r\n @Input()\r\n disabled: boolean = false;\r\n @Input() upload_when_selected = false;\r\n\r\n @Output() public uploadStatus: EventEmitter;\r\n\r\n constructor(\r\n private upload: MatFileUploadService,\r\n private _alert: AlertService\r\n ) {\r\n this.uploadStatus = new EventEmitter();\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChange() {\r\n console.log(this.uploadId);\r\n }\r\n\r\n filesChanged(e: any | null): void {\r\n const files = e.target.files;\r\n this.selectedFiles = files\r\n if (files && files.length > 0) {\r\n for (let i = 0; i < files?.length; i++) {\r\n if (files[i].name.includes('.exe') || files[i].name.includes('.msi') || files[i].name.includes('.js') || files[i].name.includes('.htm')) {\r\n this._alert.error(environment.messages.upload_invalid_exe);\r\n return;\r\n }\r\n }\r\n }\r\n\r\n if (this.upload_when_selected) {\r\n const id: number = +this.uploadId;\r\n this.uploadFiles(id);\r\n }\r\n else {\r\n this.selectedFilesChanged.emit(this.selectedFiles);\r\n if (this.selectedFiles) {\r\n const numSelectedFiles = this.selectedFiles.length;\r\n this.selectedFileText =\r\n numSelectedFiles === 1\r\n ? this.selectedFiles[0].name\r\n : `${numSelectedFiles} files selected`;\r\n } else {\r\n this.selectedFileText = '';\r\n this.resetFileInput();\r\n }\r\n }\r\n\r\n }\r\n\r\n setId(id: string) {\r\n this.uploadId = id;\r\n }\r\n\r\n refresh() {\r\n this.selectedFileText = '';\r\n this.resetFileInput();\r\n this.loadFiles();\r\n }\r\n\r\n uploadFiles(id: number) {\r\n this.loading = true;\r\n const promise = new Promise((resolve, reject) => {\r\n if (this.selectedFiles) {\r\n this.uploadDocuments(this.selectedFiles, id).then(() => {\r\n this.resetFileInput();\r\n this.uploaded.emit();\r\n this.loading = false;\r\n resolve(true);\r\n });\r\n }\r\n else {\r\n this.loading = false;\r\n reject(false);\r\n }\r\n });\r\n return promise;\r\n }\r\n\r\n loadFiles() {\r\n this.attachments = [];\r\n if (this.uploadId) {\r\n this.upload.getFiles(this.uploadId).subscribe(res => {\r\n res.map((r: any) => {\r\n const attachment: Attachment = {\r\n id: r.id,\r\n fileName: r.fileName,\r\n fileSize: r.fileSize,\r\n createdon: r.createdOn,\r\n SizeKb: utils.numberWithCommas(Math.round(r.fileSize / 1024)) + ' Kb',\r\n fileExtension: r.fileExtension,\r\n fileIcon: ''\r\n };\r\n this.attachments.push(attachment);\r\n });\r\n this.attachments.map(a => {\r\n this.upload.iconCheck('../../../assets/icons/files/' + a.fileExtension.replace('.', '').toLocaleLowerCase() + '.png').subscribe(icon => {\r\n a.fileIcon = icon;\r\n });\r\n });\r\n });\r\n }\r\n }\r\n\r\n resetFileInput(): void {\r\n this.fileInputRef.nativeElement.value = '';\r\n }\r\n\r\n uploadDocuments(files: FileList, id: number) {\r\n\r\n const promise = new Promise((resolve, reject) => {\r\n this.uploadStatus.emit({ status: ProgressStatusEnum.START });\r\n this.loading = true;\r\n const formData = new FormData();\r\n let size = 0;\r\n for (var i = 0; i < files.length; i++) {\r\n this.fileToUpload = files[i];\r\n\r\n formData.append('file', this.fileToUpload, this.fileToUpload.name);\r\n formData.append('serialNo', this.uploadId);\r\n formData.append('commentId', id.toString());\r\n formData.append('size', this.fileToUpload.size.toString());\r\n formData.append('eod', 'eod');\r\n\r\n size += this.fileToUpload.size;\r\n }\r\n\r\n this.upload.postFiles(formData).subscribe(data => {\r\n if (data) {\r\n switch (data.type) {\r\n case HttpEventType.UploadProgress:\r\n this.uploadStatusShow({ status: ProgressStatusEnum.IN_PROGRESS, percentage: Math.round((data.loaded / data.total) * 100) });\r\n break;\r\n case HttpEventType.Response:\r\n this.fileInputRef.nativeElement.value = '';\r\n this.uploadStatusShow({ status: ProgressStatusEnum.COMPLETE });\r\n break;\r\n }\r\n }\r\n\r\n this.loading = false;\r\n this.refresh();\r\n resolve(data);\r\n });\r\n\r\n });\r\n return promise;\r\n }\r\n\r\n public uploadStatusShow(event: ProgressStatus) {\r\n switch (event.status) {\r\n case ProgressStatusEnum.START:\r\n this.showUploadError = false;\r\n break;\r\n case ProgressStatusEnum.IN_PROGRESS:\r\n this.showProgress = true;\r\n this.percentage = event.percentage;\r\n break;\r\n case ProgressStatusEnum.COMPLETE:\r\n this.showProgress = false;\r\n break;\r\n case ProgressStatusEnum.ERROR:\r\n this.showProgress = false;\r\n this.showUploadError = true;\r\n break;\r\n }\r\n }\r\n\r\n}\r\n\r\nclass Attachment {\r\n id!: string;\r\n fileName!: string;\r\n fileSize!: number;\r\n createdon!: Date;\r\n SizeKb?: string;\r\n fileExtension!: string;\r\n fileIcon!: string;\r\n}\r\n","{{ labelText }}\r\n\r\n \r\n {{ selectButtonText }}\r\n \r\n\r\n\r\n
    \r\n {{ uploadButtonText }}

    \r\n{{ selectedFileText }}\r\n\r\n delete\r\n \r\n\r\n

    \r\n progress {{ percentage }}%\r\n

    \r\n\r\n \r\n\r\n","import { CommonModule } from '@angular/common'\r\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'\r\nimport { FormsModule } from '@angular/forms'\r\nimport { MatButtonModule } from '@angular/material/button'\r\nimport { MatIconModule } from '@angular/material/icon'\r\nimport { MatInputModule } from '@angular/material/input'\r\nimport { MatSelectModule } from '@angular/material/select'\r\n\r\nimport { MatFileUploadComponent } from './mat-file-upload.component'\r\nimport { MatFileComponent } from './mat-file/mat-file.component'\r\nimport { MatFileListComponent } from './mat-file-list/mat-file-list.component'\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatFileV2UploadComponent } from './mat-file-v2-upload/mat-file-v2-upload.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n MatFileUploadComponent,\r\n MatFileComponent,\r\n MatFileListComponent,\r\n MatFileV2UploadComponent],\r\n imports: [\r\n CommonModule,\r\n MatButtonModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatProgressBarModule,\r\n FormsModule\r\n ],\r\n exports: [MatFileUploadComponent,\r\n MatFileComponent,\r\n MatFileListComponent,\r\n MatFileV2UploadComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class MatFileUploadModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpEvent, HttpRequest } from '@angular/common/http';\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, map } from 'rxjs/operators';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MatFileUploadService {\r\n constructor(private http: HttpClient) { }\r\n postFiles(data: FormData) {\r\n const result = this.http.post(environment.urls.baseApiUrl + '/Files', data)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n getFiles(serialNo: string) {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Files/BySerialNo/' + serialNo)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n getFilesByComment(commentId: number) {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Files/ByComment/' + commentId)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n getFilesByRadArea(radAreaId: number) {\r\n const result = this.http.get(environment.urls.baseApiUrl + '/Files/ByRadArea/' + radAreaId)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n deleteFile(id: string) {\r\n const result = this.http.delete(environment.urls.baseApiUrl + '/Files/' + id)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n public downloadFile(id: string): Observable> {\r\n return this.http.request(new HttpRequest(\r\n 'GET',\r\n `${environment.urls.baseApiUrl}/Files/${id}`,\r\n null,\r\n {\r\n reportProgress: true,\r\n responseType: 'blob'\r\n }));\r\n }\r\n\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error); // for demo purposes only\r\n return Promise.reject(error.message || error);\r\n }\r\n\r\n iconCheck(iconPath: string): Observable {\r\n return this.http.get(iconPath, { observe: 'response', responseType: 'blob' })\r\n .pipe(\r\n map(response => {\r\n return iconPath;\r\n }),\r\n catchError(error => {\r\n return of('../../../assets/icons/files/unk.png');\r\n })\r\n );\r\n }\r\n\r\n returnUnknown() {\r\n return ('.');\r\n }\r\n}\r\n","import { HttpEventType } from '@angular/common/http';\r\nimport { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { MatFileUploadService } from '../mat-file-upload.service';\r\nimport { ProgressStatus, ProgressStatusEnum } from '../mat-file/mat-file-progress';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { AlertService } from 'src/app/services/alert/alert.service';\r\nimport FileV2 from 'src/app/services/file/file-v2.model';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\n\r\n@Component({\r\n selector: 'mat-file-v2-upload',\r\n templateUrl: './mat-file-v2-upload.component.html',\r\n styles: [\r\n '.file-input-button { margin-right: 8px !important }',\r\n '.file-input-text { font-size: 14px !important; margin-right: 8px !important }',\r\n '.maxWidth{ max-width: fit-content; height: fit-content; }',\r\n '@media only screen and (max-width: 1600px){.maxWidth{ height: fit-content; white-space: normal; line-height: 1em; padding: 0.5em; }}'\r\n ]\r\n})\r\nexport class MatFileV2UploadComponent implements OnInit {\r\n // Propiedades de entrada de la clase\r\n @Input() selectButtonText = 'Add Files';\r\n @Input() uploadButtonText = 'Upload';\r\n @Input() allowMultipleFiles = true;\r\n @Input() showUploadButton = false;\r\n @Input() showFiles = false;\r\n @Input() acceptedTypes = '*.pdf';\r\n @Input() customSvgIcon?: string | null = null;\r\n @Input() uploadId!: string;\r\n @Input() commentId? = 0;\r\n @Input() radiationAreaItemId? = 0;\r\n @Input() disabled?: boolean;\r\n @Input() upload_when_selected = false;\r\n @Input() save_files_database = 'Yes';\r\n @Input() typeDocument?: string;\r\n\r\n // Propiedades de salida de la clase\r\n @Output() selectedFilesChanged = new EventEmitter();\r\n @Output() public uploadStatus: EventEmitter;\r\n\r\n selectedFiles?: FileList;\r\n selectedFileText = '';\r\n loading = false;\r\n files?: FileList;\r\n attachments: Attachment[] = [];\r\n fileUrl: any;\r\n fileToUpload?: File;\r\n fileIdServer!: number;\r\n fileServer?: FileV2;\r\n archivo?: FileV2;\r\n path?: string;\r\n\r\n fileList = new DataTransfer();\r\n\r\n public percentage?: number;\r\n public showProgress?: boolean;\r\n public showDownloadError?: boolean;\r\n public showUploadError?: boolean;\r\n\r\n uploading?: boolean;\r\n\r\n\r\n\r\n // Decorador del elemento nativo fileInput (En el .html)\r\n @ViewChild('fileInput') fileInputRef!: ElementRef;\r\n\r\n constructor(\r\n private upload: MatFileUploadService,\r\n private _alert: AlertService,\r\n private file2Service: FileV2Service\r\n ) { this.uploadStatus = new EventEmitter(); }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngOnChange() {\r\n console.log(this.uploadId);\r\n }\r\n\r\n filesChanged(e: any | null): void {\r\n const files = e.target.files\r\n if (files) {\r\n if (files && files.length > 0) {\r\n // tslint:disable-next-line: prefer-for-of\r\n for (let i = 0; i < files?.length; i++) {\r\n this.fileList.items.add(files[i]);\r\n if (\r\n files[i].name.includes('.exe') ||\r\n files[i].name.includes('.msi') ||\r\n files[i].name.includes('.js') ||\r\n files[i].name.includes('.htm')\r\n ) {\r\n this._alert.error(environment.messages.upload_invalid_exe);\r\n return;\r\n }\r\n }\r\n this.selectedFiles = this.fileList.files;\r\n }\r\n\r\n if (this.upload_when_selected) {\r\n this.uploading = true;\r\n if (this.typeDocument != 'RadAreaImages' && this.commentId) {\r\n const id: number = +this.commentId;\r\n this.uploadFiles(id);\r\n }\r\n else if (this.typeDocument == 'RadAreaImages' && this.radiationAreaItemId) {\r\n const id: number = +this.radiationAreaItemId;\r\n this.uploadFiles(id);\r\n }\r\n } else {\r\n this.selectedFilesChanged.emit(this.selectedFiles);\r\n if (this.selectedFiles) {\r\n const numSelectedFiles = this.selectedFiles.length;\r\n this.selectedFileText = `${numSelectedFiles} files selected`;\r\n } else {\r\n this.selectedFileText = '';\r\n this.resetFileInput();\r\n }\r\n }\r\n }\r\n else {\r\n this.selectedFileText = '';\r\n this.resetFileInput();\r\n }\r\n }\r\n\r\n uploadFiles(id: number) {\r\n this.loading = true;\r\n const promise = new Promise((resolve, reject) => {\r\n if (this.selectedFiles) {\r\n this.uploadDocuments(this.selectedFiles, id).then(() => {\r\n this.resetFileInput();\r\n this.loading = false;\r\n this.uploading = false;\r\n resolve(true);\r\n });\r\n } else {\r\n this.loading = false;\r\n this.uploading = false;\r\n reject(false);\r\n }\r\n });\r\n return promise;\r\n }\r\n\r\n uploadRadFiles(id: number, selectedFiles: FileList) {\r\n this.loading = true;\r\n this.selectedFiles = selectedFiles;\r\n const promise = new Promise((resolve, reject) => {\r\n if (this.selectedFiles) {\r\n this.uploadDocuments(this.selectedFiles, id).then(() => {\r\n this.resetFileInput();\r\n this.loading = false;\r\n this.uploading = false;\r\n resolve(true);\r\n });\r\n } else {\r\n this.loading = false;\r\n this.uploading = false;\r\n reject(false);\r\n }\r\n });\r\n return promise;\r\n }\r\n\r\n uploadDocuments(files: FileList, id: number) {\r\n const promise = new Promise(async (resolve, reject) => {\r\n this.uploadStatus.emit({ status: ProgressStatusEnum.START });\r\n this.loading = true;\r\n const formData = new FormData();\r\n let size = 0;\r\n this.setPath(this.typeDocument, this.uploadId);\r\n\r\n // tslint:disable-next-line: prefer-for-of\r\n for (let i = 0; i < files.length; i++) {\r\n this.fileToUpload = files[i];\r\n\r\n // Save the file in the file server and obtain the id of the record of FileV2 table\r\n await this.getIdFileServer(this.fileToUpload).then((res) => {\r\n this.fileIdServer = res;\r\n });\r\n\r\n formData.append('file', this.fileToUpload, this.fileToUpload.name);\r\n formData.append('serialNo', this.uploadId);\r\n if (this.typeDocument == 'RadAreaImages') {\r\n formData.append('radiationAreaItemId', id.toString());\r\n }\r\n else if (this.typeDocument != 'RadAreaImages') {\r\n formData.append('commentId', id.toString());\r\n }\r\n formData.append('saveFileDatabase', this.save_files_database);\r\n formData.append('rootDirectory', this.fileIdServer.toString());\r\n formData.append('size', this.fileToUpload.size.toString());\r\n formData.append('eod', 'eod');\r\n\r\n size += this.fileToUpload.size;\r\n }\r\n\r\n this.upload.postFiles(formData).subscribe((data) => {\r\n if (data) {\r\n switch (data.type) {\r\n case HttpEventType.UploadProgress:\r\n this.uploadStatusShow({\r\n status: ProgressStatusEnum.IN_PROGRESS,\r\n percentage: Math.round((data.loaded / data.total) * 100),\r\n });\r\n break;\r\n case HttpEventType.Response:\r\n this.fileInputRef.nativeElement.value = '';\r\n this.uploadStatusShow({ status: ProgressStatusEnum.COMPLETE });\r\n break;\r\n }\r\n }\r\n this.resetFileInput();\r\n this.loading = false;\r\n this.refresh();\r\n resolve(data);\r\n });\r\n });\r\n return promise;\r\n }\r\n\r\n // Save d the file in the file server and return the id of the record of file in FilesV2 table\r\n async getIdFileServer(file: File) {\r\n const promise = new Promise(async (resolve) => {\r\n const form = new FormData();\r\n let idFileServer: number = 0;\r\n\r\n form.append('file', file);\r\n form.append('path', this.path + file.name);\r\n\r\n await this.file2Service.createFiles(form).toPromise().then(\r\n (file: FileV2) => {\r\n idFileServer = file.id;\r\n this.fileIdServer = file.id;\r\n },\r\n (error) => {\r\n idFileServer = 0;\r\n this.fileIdServer = 0;\r\n console.error(error);\r\n }\r\n );\r\n resolve(idFileServer);\r\n });\r\n return promise;\r\n }\r\n\r\n loadFiles() {\r\n this.attachments = [];\r\n if (this.uploadId) {\r\n this.upload.getFiles(this.uploadId).subscribe(res => {\r\n res.map((r: any) => {\r\n const attachment: Attachment = {\r\n id: r.id,\r\n fileName: r.fileName,\r\n fileSize: r.fileSize,\r\n createdon: r.createdOn,\r\n SizeKb: utils.numberWithCommas(Math.round(r.fileSize / 1024)) + ' Kb',\r\n fileExtension: r.fileExtension,\r\n fileIcon: ''\r\n };\r\n this.attachments.push(attachment);\r\n });\r\n this.attachments.map(a => {\r\n this.upload.iconCheck('../../../assets/icons/files/' + a.fileExtension.replace('.', '').toLocaleLowerCase() + '.png').subscribe(icon => {\r\n a.fileIcon = icon;\r\n });\r\n });\r\n });\r\n }\r\n }\r\n\r\n public uploadStatusShow(event: ProgressStatus) {\r\n switch (event.status) {\r\n case ProgressStatusEnum.START:\r\n this.showUploadError = false;\r\n break;\r\n case ProgressStatusEnum.IN_PROGRESS:\r\n this.showProgress = true;\r\n this.percentage = event.percentage;\r\n break;\r\n case ProgressStatusEnum.COMPLETE:\r\n this.showProgress = false;\r\n break;\r\n case ProgressStatusEnum.ERROR:\r\n this.showProgress = false;\r\n this.showUploadError = true;\r\n break;\r\n }\r\n }\r\n\r\n resetFileInput(): void {\r\n this.fileInputRef.nativeElement.value = '';\r\n this.fileList = new DataTransfer();\r\n this.selectedFiles = this.fileList.files;\r\n }\r\n\r\n setPath(folderName?: string, holderName?: string) {\r\n this.path = '/' + folderName + '/' + holderName + '/';\r\n }\r\n\r\n refresh() {\r\n this.selectedFileText = '';\r\n this.resetFileInput();\r\n\r\n }\r\n\r\n setId(id: string) {\r\n this.uploadId = id;\r\n }\r\n\r\n}\r\ninterface Attachment {\r\n id: string;\r\n fileName: string;\r\n fileSize: number;\r\n createdon: Date;\r\n SizeKb?: string;\r\n fileExtension: string;\r\n fileIcon: string;\r\n}\r\n","\r\n \r\n {{ uploading ? \"Uploading\" : selectButtonText }}\r\n add_box\r\n\r\n\r\n
    \r\n
    \r\n {{ selectedFileText }}\r\n \r\n delete\r\n \r\n
    \r\n
    \r\n

    \r\n progress {{ percentage }}%\r\n

    \r\n\r\n \r\n\r\n","export interface ProgressStatus {\r\n status: ProgressStatusEnum;\r\n percentage?: number;\r\n}\r\n\r\nexport enum ProgressStatusEnum {\r\n START, COMPLETE, IN_PROGRESS, ERROR\r\n}\r\n","import { Component, Input, Output, EventEmitter } from '@angular/core';\r\nimport { MatFileUploadService } from '../mat-file-upload.service';\r\nimport { SafeResourceUrl } from '@angular/platform-browser';\r\nimport { ProgressStatus, ProgressStatusEnum } from './mat-file-progress';\r\nimport { HttpEventType } from '@angular/common/http';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\nimport FileV2 from 'src/app/services/file/file-v2.model';\r\nimport { FileV2Service } from 'src/app/services/file/file-v2.service';\r\nimport { MessageBannerService } from 'src/app/components/messages/services/message-banner.service';\r\n\r\n@Component({\r\n selector: 'mat-file',\r\n templateUrl: './mat-file.component.html',\r\n styleUrls: ['./mat-file.component.scss']\r\n})\r\n/** mat-file component*/\r\nexport class MatFileComponent {\r\n\r\n @Input() fileIcon!: string;\r\n @Input() fileName!: string;\r\n @Input() fileSize!: string;\r\n @Input() fileUrl!: SafeResourceUrl;\r\n @Input() id!: string;\r\n @Input() disabled?: boolean;\r\n @Input() rootDirectory!: string;\r\n @Input() save_files_database = '';\r\n\r\n @Output() public downloadStatus: EventEmitter;\r\n @Output() deletedAttachmentFile = new EventEmitter();\r\n\r\n fileServer!: FileV2 | null;\r\n\r\n constructor(\r\n private uploadServ: MatFileUploadService,\r\n private file2Service: FileV2Service,\r\n public dialog: MatDialog,\r\n public _dMessage: MessageBannerService\r\n ) {\r\n this.downloadStatus = new EventEmitter();\r\n }\r\n\r\n public async obtainFile(rootDirectoryAttachment: string) {\r\n if (rootDirectoryAttachment != '') {\r\n await this.obtainFileServer(rootDirectoryAttachment);\r\n if (this.fileServer != null) {\r\n const link = document.createElement('a');\r\n link.setAttribute('target', '_blank');\r\n link.setAttribute('href', this.fileServer.url);\r\n link.setAttribute('download', this.fileName);\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n } else {\r\n console.log('Error: Could not get file information (obtainFileServer function in mat-file component)');\r\n }\r\n } else {\r\n this.download();\r\n }\r\n }\r\n\r\n obtainFileServer(rootDirectoryAttachment: string) {\r\n const promise = new Promise(async (resolve) => {\r\n const fileServerId: number = Number(rootDirectoryAttachment ?? 0);\r\n let fileServedFound: FileV2 | null = null;\r\n\r\n await this.file2Service\r\n .obtainFile(fileServerId)\r\n .toPromise()\r\n .then(\r\n (file: FileV2) => {\r\n fileServedFound = file;\r\n this.fileServer = file;\r\n },\r\n (error) => {\r\n fileServedFound = null;\r\n this.fileServer = null;\r\n console.error(error);\r\n }\r\n );\r\n resolve(fileServedFound);\r\n });\r\n return promise;\r\n }\r\n\r\n public download() {\r\n this.downloadStatus.emit({ status: ProgressStatusEnum.START });\r\n this.uploadServ.downloadFile(this.id).subscribe(\r\n (data) => {\r\n if (data)\r\n switch (data.type) {\r\n case HttpEventType.DownloadProgress:\r\n this.downloadStatus.emit({ status: ProgressStatusEnum.IN_PROGRESS, percentage: Math.round((data.loaded / (data.total ?? 0)) * 100) });\r\n break;\r\n case HttpEventType.Response:\r\n this.downloadStatus.emit({ status: ProgressStatusEnum.COMPLETE });\r\n if (data.body) {\r\n const downloadedFile = new Blob([data.body], { type: data.body.type });\r\n const a = document.createElement('a');\r\n a.setAttribute('style', 'display:none;');\r\n document.body.appendChild(a);\r\n a.download = this.fileName;\r\n a.href = URL.createObjectURL(downloadedFile);\r\n a.target = '_blank';\r\n a.click();\r\n document.body.removeChild(a);\r\n }\r\n break;\r\n }\r\n },\r\n error => {\r\n this.downloadStatus.emit({ status: ProgressStatusEnum.ERROR });\r\n }\r\n );\r\n }\r\n\r\n deleteAttachment(id: string, rootDirectoryAttachment: string) {\r\n const confirm = this.dialog.open(YesNoDialogComponent, {\r\n width: '400px',\r\n data: {\r\n message: this._dMessage.get('attachments_Delete_File_Confirmation').description,\r\n icon: 'stop'\r\n }\r\n });\r\n\r\n confirm.afterClosed().subscribe(data => {\r\n if (data) {\r\n this.uploadServ.deleteFile(id).subscribe((res) => {\r\n const fileServerId: number = Number(rootDirectoryAttachment ?? 0);\r\n if (fileServerId != 0) {\r\n this.file2Service.delete(fileServerId).subscribe(\r\n () => this.deletedAttachmentFile.emit(id),\r\n (error) => {\r\n console.error(error);\r\n this.deletedAttachmentFile.emit(id);\r\n }\r\n );\r\n }\r\n else {\r\n this.deletedAttachmentFile.emit(id);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {{ fileName }}
    \r\n {{ fileSize }}\r\n
    \r\n
    \r\n
    \r\n delete\r\n
    \r\n","import { GeneralCondition, ReturnType } from \"src/app/common/enumerations/enumerations\";\r\nimport { WfTaskLocalResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { utils } from \"./utils\";\r\n\r\nexport class ConditionParser {\r\n\r\n\tprivate static operatorsArray() {\r\n\t\treturn Object.values(Operators);\r\n\t}\r\n\r\n\tprivate static getValues(\r\n\t\ttag: string,\r\n\t\ttasks: WfTaskLocalResource[],\r\n\t\toperator: Operators = Operators.NONE\r\n\t) {\r\n\t\tlet values: any[] = [];\r\n\t\ttasks\r\n\t\t\t.filter((t) => t.code?.trim() === tag.trim())\r\n\t\t\t.forEach((t) => {\r\n\t\t\t\tif (t.component?.returnType) {\r\n\t\t\t\t\tswitch (t.component.returnType) {\r\n\t\t\t\t\t\tcase ReturnType.Boolean:\r\n\t\t\t\t\t\t\tvalues = t.component.hasMultipleRoles\r\n\t\t\t\t\t\t\t\t? this.getRolesChecked(t, operator)\r\n\t\t\t\t\t\t\t\t: this.getBoolean(t, operator);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase ReturnType.Numeric:\r\n\t\t\t\t\t\t\tvalues = this.getChecked(t, operator);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase ReturnType.Sign:\r\n\t\t\t\t\t\t\tvalues.push(\r\n\t\t\t\t\t\t\t\toperator === Operators.NONE\r\n\t\t\t\t\t\t\t\t\t? t.wfTasks?.[0].signedBy != null\r\n\t\t\t\t\t\t\t\t\t: t.wfTasks?.[0].signedBy == null\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase ReturnType.Text:\r\n\t\t\t\t\t\t\tvalues = this.getText(t);\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tvalues.push(t.value);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\treturn values;\r\n\t}\r\n\r\n\tprivate static getText(task: WfTaskLocalResource): any[] {\r\n\t\tlet values: any[] = [];\r\n\t\tconst storedText = utils.JSONparse(task.text);\r\n\t\tif (storedText?.length) {\r\n\t\t\tif (storedText.some((x: { key: any }) => x.key)) {\r\n\t\t\t\tconst storedValues = storedText.find((x: { key: string }) => x.key === \"values\").val;\r\n\t\t\t\tvalues = storedValues.filter((x: { text: any }) => x.text).map((x: { text: any }) => x.text);\r\n\t\t\t} else {\r\n\t\t\t\tconst storedString = utils.JSONparse(storedText[0].stringValue);\r\n\t\t\t\tconst storedValues = storedString.find((x: { key: string }) => x.key === \"values\").val;\r\n\t\t\t\tvalues = storedValues.filter((x: { text: any }) => x.text).map((x: { text: any }) => x.text);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn values;\r\n\t}\r\n\r\n\tprivate static getRolesChecked(\r\n\t\ttask: WfTaskLocalResource,\r\n\t\toperator: Operators\r\n\t): any[] {\r\n\t\tlet values: any[] = [];\r\n\t\tlet roleOptions = [];\r\n\t\tconst storedText = utils.JSONparse(task.text);\r\n\t\tif (task.text?.includes(\"stringValue\")) {\r\n\t\t\troleOptions = utils.JSONparse(storedText[0].stringValue);\r\n\t\t} else {\r\n\t\t\troleOptions = storedText;\r\n\t\t}\r\n\t\tvalues.push(\r\n\t\t\toperator === Operators.NONE\r\n\t\t\t\t? roleOptions?.filter((o: { checked: any }) => o.checked).length ===\r\n\t\t\t\troleOptions?.length\r\n\t\t\t\t: roleOptions?.filter((o: { checked: any }) => o.checked).length !==\r\n\t\t\t\troleOptions?.length\r\n\t\t);\r\n\t\treturn values;\r\n\t}\r\n\r\n\tprivate static getBoolean(\r\n\t\ttask: WfTaskLocalResource,\r\n\t\toperator: Operators\r\n\t): any[] {\r\n\t\tconst values: any[] = [];\r\n\t\tconst storedText = utils.JSONparse(task.text);\r\n\t\tif (storedText?.length) {\r\n\t\t\tif (storedText.some((x: { key: any }) => x.key)) {\r\n\t\t\t\tconst storedValues = storedText.find(\r\n\t\t\t\t\t(x: { key: string }) =>\r\n\t\t\t\t\t\tx.key === (operator === Operators.NONE ? \"checkedYes\" : \"checkedNo\")\r\n\t\t\t\t).val;\r\n\t\t\t\tvalues.push(storedValues);\r\n\t\t\t} else {\r\n\t\t\t\tconst storedString = utils.JSONparse(storedText[0].stringValue);\r\n\t\t\t\tconst storedValues = storedString.find(\r\n\t\t\t\t\t(x: { key: string }) =>\r\n\t\t\t\t\t\tx.key === (operator === Operators.NONE ? \"checkedYes\" : \"checkedNo\")\r\n\t\t\t\t).val;\r\n\t\t\t\tvalues.push(storedValues);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn values;\r\n\t}\r\n\r\n\tprivate static getChecked(task: WfTaskLocalResource, operator: Operators): any[] {\r\n\t\tconst component = task.component;\r\n\t\tlet values = [];\r\n\t\tif (component?.hasMultipleCheckboxes) {\r\n\t\t\tconst storedText = utils.JSONparse(task.text);\r\n\t\t\tif (storedText?.length) {\r\n\t\t\t\tif (storedText.some((x: { key: any }) => x.key)) {\r\n\t\t\t\t\tconst storedValues = storedText.find((x: { key: string }) => x.key === \"checked\").val;\r\n\t\t\t\t\tvalues = storedValues\r\n\t\t\t\t\t\t.filter((x: { checked: any }) => x.checked)\r\n\t\t\t\t\t\t.map((x: { value: any }) => x.value);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconst storedString = utils.JSONparse(storedText[0].stringValue);\r\n\t\t\t\t\tconst storedValues = storedString.find((x: { key: string }) => x.key === \"checked\").val;\r\n\t\t\t\t\tvalues = storedValues\r\n\t\t\t\t\t\t.filter((x: { checked: any }) => x.checked)\r\n\t\t\t\t\t\t.map((x: { value: any }) => x.value);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else if (component?.hasRadioButtons) {\r\n\t\t\tvalues.push(\r\n\t\t\t\ttask.numericValue?.toString()\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tif (task.booleanValue !== undefined) {\r\n\t\t\t\tvalues.push(task.booleanValue);\r\n\t\t\t}\r\n\t\t\tif (task.isCompleted !== undefined) {\r\n\t\t\t\tvalues.push(task.isCompleted);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn values;\r\n\t}\r\n\r\n\tprivate static evaluateSingleCondition(condition: string, tasks: WfTaskLocalResource[]): boolean {\r\n\t\t// console.log(`Evaluating Condition: ${condition}`);\r\n\t\tconst operators = [Operators.EQUAL, Operators.EQUAL2, Operators.NOTEQUAL, Operators.NOTEQUAL2];\r\n\t\tlet operator = operators.find((op) => condition.includes(op));\r\n\t\tlet result = false;\r\n\t\tif (!operator) {\r\n\t\t\tif (condition.startsWith(\"!\")) {\r\n\t\t\t\t// Handle single variable evaluation (e.g., `!sign1`)\r\n\t\t\t\tresult = !this.getValues(condition.replace('!', '').trim(), tasks, Operators.NONE).includes(true);\r\n\t\t\t\t// console.log(`Single Condition (${condition}): ${result}`);\r\n\t\t\t\treturn result;\r\n\t\t\t} else {\r\n\t\t\t\tcondition = condition.replace(\"!\", \"\");\r\n\t\t\t\tconst generalConditions = utils.getENUMString(GeneralCondition);\r\n\t\t\t\tif (generalConditions.map((x) => x.value).includes(condition)) {\r\n\t\t\t\t\tresult = this.evalGeneralConditions(condition, tasks);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Handle single variable evaluation (e.g., `sign1`)\r\n\t\t\t\t\tresult = this.getValues(condition.trim(), tasks, Operators.NONE).includes(true);\r\n\t\t\t\t}\r\n\t\t\t\t// console.log(`Single Condition (${condition}): ${result}`);\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Split by operator and evaluate\r\n\r\n\t\toperator = this.operatorsArray().find((x) =>\r\n\t\t\tcondition.includes(x.toString())\r\n\t\t);\r\n\t\tlet operands: any[] = [];\r\n\t\tlet var1 = null;\r\n\t\tlet var2 = null;\r\n\t\tlet value = null;\r\n\r\n\t\tif (!operator) {\r\n\t\t\toperator = condition?.includes(Operators.NOT)\r\n\t\t\t\t? Operators.NOT\r\n\t\t\t\t: Operators.NONE;\r\n\t\t}\r\n\t\tswitch (operator) {\r\n\t\t\tcase Operators.EQUAL:\r\n\t\t\tcase Operators.EQUAL2:\r\n\t\t\t\toperands = condition.split(operator);\r\n\t\t\t\tif (operands.length == 2) {\r\n\t\t\t\t\tvar1 = operands[0].trim();\r\n\t\t\t\t\tvalue = operands[1].trim().replace(/'/g, \"\");\r\n\t\t\t\t\tresult = this.getValues(var1, tasks, operator).includes(value);\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase Operators.NOTEQUAL:\r\n\t\t\tcase Operators.NOTEQUAL2:\r\n\t\t\t\toperands = condition.split(operator);\r\n\t\t\t\tif (operands.length == 2) {\r\n\t\t\t\t\tvar1 = operands[0].trim();\r\n\t\t\t\t\tvalue = operands[1].trim();\r\n\t\t\t\t\tresult = !this.getValues(var1, tasks, operator).includes(value);\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase Operators.AND:\r\n\t\t\t\toperands = condition.split(operator);\r\n\t\t\t\tif (operands.length == 2) {\r\n\t\t\t\t\tvar1 = operands[0].trim();\r\n\t\t\t\t\tvar2 = operands[1].trim();\r\n\t\t\t\t\tresult =\r\n\t\t\t\t\t\tthis.getValues(var1, tasks).includes(true) &&\r\n\t\t\t\t\t\tthis.getValues(var2, tasks).includes(true);\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase Operators.OR:\r\n\t\t\t\toperands = condition.split(operator);\r\n\t\t\t\tif (operands.length == 2) {\r\n\t\t\t\t\tvar1 = operands[0].trim();\r\n\t\t\t\t\tvar2 = operands[1].trim();\r\n\t\t\t\t\tresult =\r\n\t\t\t\t\t\tthis.getValues(var1, tasks).includes(true) ||\r\n\t\t\t\t\t\tthis.getValues(var2, tasks).includes(true);\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase Operators.NOT:\r\n\t\t\tcase Operators.NONE:\r\n\t\t\t\tcondition = condition.replace(\"!\", \"\");\r\n\t\t\t\tconst generalConditions = utils.getENUMString(GeneralCondition);\r\n\t\t\t\tif (generalConditions.map((x) => x.value).includes(condition)) {\r\n\t\t\t\t\tresult = this.evalGeneralConditions(condition, tasks);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tresult = this.getValues(condition, tasks, operator).includes(true);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\treturn result;\r\n\t}\r\n\r\n\tprivate static evalGeneralConditions(\r\n\t\tcondition: string,\r\n\t\ttasks: WfTaskLocalResource[]\r\n\t) {\r\n\t\tlet result = true;\r\n\t\tswitch (condition) {\r\n\t\t\tcase GeneralCondition.AllTasksCompleted:\r\n\t\t\t\ttasks\r\n\t\t\t\t\t.filter((t) => t.condition != condition)\r\n\t\t\t\t\t.map((t) => {\r\n\t\t\t\t\t\tconst req = this.parseCondition(t.condition ?? '', tasks);\r\n\t\t\t\t\t\tif (req) {\r\n\t\t\t\t\t\t\tconst res = utils.taskComplete(t);\r\n\t\t\t\t\t\t\tif (!res) {\r\n\t\t\t\t\t\t\t\tresult = res ?? false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\treturn true;\r\n\t\t}\r\n\t\treturn result;\r\n\t}\r\n\r\n\tprivate static tokenize(condition: string): string[] {\r\n\t\tconst tokens: string[] = [];\r\n\t\tlet buffer = \"\";\r\n\t\tlet depth = 0;\r\n\r\n\t\tfor (let i = 0; i < condition.length; i++) {\r\n\t\t\tconst char = condition[i];\r\n\r\n\t\t\tif (char === \"(\") {\r\n\t\t\t\tif (depth > 0) buffer += char;\r\n\t\t\t\tdepth++;\r\n\t\t\t} else if (char === \")\") {\r\n\t\t\t\tdepth--;\r\n\t\t\t\tif (depth > 0) buffer += char;\r\n\t\t\t\tif (depth === 0) {\r\n\t\t\t\t\ttokens.push(`(${buffer.trim()})`);\r\n\t\t\t\t\tbuffer = \"\";\r\n\t\t\t\t}\r\n\t\t\t} else if (depth === 0 && (condition.startsWith(\"&&\", i) || condition.startsWith(\"||\", i))) {\r\n\t\t\t\tif (buffer.trim()) tokens.push(buffer.trim());\r\n\t\t\t\ttokens.push(condition.substr(i, 2)); // Push the operator\r\n\t\t\t\ti++; // Skip next character as it's part of the operator\r\n\t\t\t\tbuffer = \"\";\r\n\t\t\t} else {\r\n\t\t\t\tbuffer += char;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (buffer.trim()) tokens.push(buffer.trim());\r\n\r\n\t\t// console.log('Tokenized:', condition, '->', tokens); // Debugging output\r\n\t\treturn tokens;\r\n\t}\r\n\r\n\r\n\tprivate static parseConditionRecursive(tokens: string[], tasks: WfTaskLocalResource[]): boolean {\r\n\t\tlet result: boolean | undefined;\r\n\t\tlet operator: string | null = null;\r\n\r\n\t\tfor (const token of tokens) {\r\n\t\t\tif (token === \"&&\" || token === \"||\") {\r\n\t\t\t\toperator = token;\r\n\t\t\t} else {\r\n\t\t\t\t// Evaluate the current token\r\n\t\t\t\tconst conditionResult = token.startsWith(\"(\")\r\n\t\t\t\t\t? this.parseConditionRecursive(this.tokenize(token.slice(1, -1)), tasks) // Recursively parse nested condition\r\n\t\t\t\t\t: this.evaluateSingleCondition(token, tasks); // Evaluate single condition\r\n\r\n\t\t\t\t// Combine with previous result using the current operator\r\n\t\t\t\tif (result === undefined) {\r\n\t\t\t\t\tresult = conditionResult;\r\n\t\t\t\t} else if (operator === \"&&\") {\r\n\t\t\t\t\tresult = result && conditionResult;\r\n\t\t\t\t} else if (operator === \"||\") {\r\n\t\t\t\t\tresult = result || conditionResult;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Debugging: Print intermediate results\r\n\t\t\t\t// console.log(`Token: ${token}, Result: ${conditionResult}, Combined Result: ${result}`);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result ?? false;\r\n\t}\r\n\r\n\tstatic parseCondition(condition: string, tasks: WfTaskLocalResource[]): boolean {\r\n\t\tif (!condition) return true;\r\n\r\n\t\tconst tokens = this.tokenize(condition);\r\n\t\tconst result = this.parseConditionRecursive(tokens, tasks);\r\n\t\t// console.log('Tokenizing:', condition, '->', tokens, '->', result); // Debugging output\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\tstatic parseConditions(tasks: WfTaskLocalResource[]): WfTaskLocalResource[] {\r\n\t\treturn tasks.map((t) => {\r\n\r\n\t\t\t// console.warn(`Task ${t.id} - Condition: ${t.condition}`);\r\n\r\n\t\t\tconst value = t.condition ? this.parseCondition(t.condition, tasks) : true;\r\n\t\t\tconst hideDisable = t.configuration\r\n\t\t\t\t? utils.JSONparse(t.configuration).hideDisable\r\n\t\t\t\t: false;\r\n\r\n\t\t\t// console.log(`Task ${t.id} - Condition: ${t.condition}, Value: ${value}`);\r\n\t\t\t// console.log(`Task ${t.id} - Required: ${!hideDisable ? value : true}`);\r\n\t\t\t// console.log(`Task ${t.id} - Disabled: ${hideDisable ? !value : false}`);\r\n\t\t\t// console.log(`------------------------------------------------------------------------------------`);\r\n\r\n\t\t\tt.required = !hideDisable ? value : true;\r\n\t\t\tt.disabled = hideDisable ? !value : false;\r\n\r\n\t\t\tif (t.wfTasks?.[0]) {\r\n\t\t\t\tt.wfTasks[0].required = t.required;\r\n\t\t\t\tt.wfTasks[0].enabled = !t.disabled;\r\n\t\t\t}\r\n\t\t\tt.isCompleted = t.required ? utils.taskComplete(t) : true;\r\n\t\t\treturn t;\r\n\t\t});\r\n\t}\r\n}\r\n\r\nexport enum Operators {\r\n\tEQUAL = \"==\",\r\n\tEQUAL2 = \"===\",\r\n\tNOTEQUAL = \"!=\",\r\n\tNOTEQUAL2 = \"!==\",\r\n\tAND = \"&&\",\r\n\tOR = \"||\",\r\n\tNOT = \"!\",\r\n\tNONE = \"\",\r\n}\r\n","import * as QuillNamespace from 'quill';\r\nimport { ImageActionsIds, QuillCustomClasses } from './quill-custom-names';\r\nimport { CustomImageSizeOptions } from 'src/app/common/enumerations/enumerations';\r\nimport { utils } from '../../utils';\r\n\r\nexport default class CustomImageResize {\r\n Quill: any = QuillNamespace;\r\n container: any;\r\n resizeOptionSelected?: CustomImageSizeOptions;\r\n smallId: string = ImageActionsIds.smallId;\r\n fitId: string = ImageActionsIds.fitId;\r\n largeId: string = ImageActionsIds.largeId;\r\n imageSizesClass: string = QuillCustomClasses.custom_image_sizes_class;\r\n imageClicked: boolean = false;\r\n constructor(\r\n quill: {\r\n root: {\r\n addEventListener: (arg0: string, arg1: (ev: any) => void) => void;\r\n };\r\n getSelection: (arg0: boolean) => any;\r\n getBounds: (arg0: any, arg1: any) => any;\r\n container: { firstChild: { childNodes: any }; scrollTop: any };\r\n },\r\n options: any\r\n ) {\r\n quill.root.addEventListener('click', (ev: { target: unknown }) => {\r\n const ImageBlot = this.Quill.import('formats/image');\r\n const Parchment = this.Quill.import('parchment');\r\n const image = Parchment.find(ev.target);\r\n\r\n const Embed = Parchment.Embed; // base \"Embed\" blot without any content\r\n class CustomImageResizeBlot extends Embed {\r\n static create(data: { value: any }) {\r\n const node = super.create(data.value);\r\n\r\n node.innerHTML += data.value;\r\n return node;\r\n }\r\n\r\n static value(domNode: { getAttribute: (arg0: string) => any }) {\r\n return domNode.getAttribute('data-value');\r\n }\r\n }\r\n CustomImageResizeBlot['blotName'] = 'imageResize';\r\n CustomImageResizeBlot['tagName'] = 'span';\r\n CustomImageResizeBlot['className'] = this.imageSizesClass;\r\n this.Quill.register(CustomImageResizeBlot);\r\n\r\n if (image instanceof ImageBlot) {\r\n this.imageClicked = true;\r\n const range = quill.getSelection(true);\r\n\r\n const bounds = quill.getBounds(range?.index ?? 0, range?.length ?? 0);\r\n // utils.removeExistingCustomContainers();\r\n this.Quill.debug('error'); // Change of Quill debug setting to supress warning after inserting the custom blot\r\n let i = -1;\r\n\r\n for (const childNode of quill.container.firstChild.childNodes) {\r\n i = Array.from(childNode.childNodes).indexOf(ev.target);\r\n if (i != -1) {\r\n const nextSibling = childNode.childNodes[i + 1];\r\n this.insertCustomSpan(quill);\r\n const elements = document.getElementsByClassName(\r\n this.imageSizesClass\r\n );\r\n\r\n if (nextSibling) {\r\n childNode.insertBefore(elements[0], nextSibling);\r\n } else {\r\n childNode.childNodes[i].parentNode.appendChild(elements[0]);\r\n }\r\n const customElement = document.querySelector(\r\n '.' + this.imageSizesClass\r\n ) as HTMLElement;\r\n customElement.style.position = 'relative';\r\n const offsetLeft =\r\n childNode.childNodes[i].nodeName === 'IMG'\r\n ? childNode.childNodes[i].offsetLeft\r\n : childNode.childNodes[i + 1].offsetLeft;\r\n\r\n if (offsetLeft > 0) {\r\n customElement.style.left = (offsetLeft - 15).toString() + 'px';\r\n }\r\n\r\n const previousSiblingBeforeDotContainer =\r\n document.getElementsByClassName('ql-tooltip');\r\n\r\n // Hidding the resize dotted rectangule in mobiles\r\n if (\r\n screen.width < 1024 &&\r\n previousSiblingBeforeDotContainer.length > 0\r\n ) {\r\n const next = previousSiblingBeforeDotContainer[0]\r\n .nextSibling as HTMLElement;\r\n next.style.display = 'none';\r\n }\r\n\r\n break;\r\n }\r\n }\r\n\r\n quill.container.scrollTop = bounds.top;\r\n const smallBtn = document.getElementById(this.smallId);\r\n if (smallBtn)\r\n smallBtn.onclick = function () {\r\n utils.resizeImage(CustomImageSizeOptions.Small, ev);\r\n };\r\n const fitBtn = document.getElementById(this.fitId);\r\n if (fitBtn)\r\n fitBtn.onclick = function () {\r\n utils.resizeImage(CustomImageSizeOptions.Fit, ev);\r\n };\r\n const largeBtn = document.getElementById(this.largeId);\r\n if (largeBtn)\r\n largeBtn.onclick = function () {\r\n utils.resizeImage(CustomImageSizeOptions.Original, ev);\r\n };\r\n } else {\r\n if (this.imageClicked) {\r\n utils.removeExistingCustomContainers();\r\n this.imageClicked = false;\r\n }\r\n }\r\n });\r\n }\r\n\r\n insertCustomSpan(quill: any) {\r\n const content = `
    Small | Fit | Original
    `;\r\n const range = quill.getSelection(true);\r\n\r\n quill.insertEmbed(\r\n range.index,\r\n 'imageResize',\r\n {\r\n index: 0,\r\n id: 'id',\r\n value: content,\r\n },\r\n 'api'\r\n );\r\n }\r\n}\r\n","export const QuillCustomClasses = {\r\n custom_image_sizes_class: 'imageCustomization'\r\n}\r\n\r\nexport const ImageActionsIds = {\r\n smallId: 'smallAction',\r\n fitId: 'fitAction',\r\n largeId: 'largeAction'\r\n}","import { AbstractControl } from \"@angular/forms\";\r\nimport { CompareOperator, ComponentType, CustomImageSizeOptions, GeneralCondition, ReturnType } from \"src/app/common/enumerations/enumerations\";\r\nimport { QuillCustomClasses } from \"./quill/quill-custom-image-resize/quill-custom-names\";\r\nimport { WFSectionLocalResource, WfTaskLocalResource } from \"src/app/services/work-flow/work-flow\";\r\nimport { Option, Shielding } from \"src/app/components/checklists/checklists\";\r\nimport { RadMeter } from \"src/app/components/catalogs/meters-catalog/rad-meters\";\r\nimport _ from 'lodash';\r\nimport { Resource } from \"src/app/components/catalogs/beamline-catalog/resource/resources\";\r\nimport moment from \"moment\";\r\n\r\nimport { User } from \"src/app/components/catalogs/user-catalog/services/user\";\r\nimport { WFTableResource } from \"src/app/components/workflow/workflow\";\r\nimport { DatePipe } from \"@angular/common\";\r\nimport { EmailAddress } from \"src/app/components/olog/olog\";\r\nimport { diff } from 'deep-diff';\r\n\r\nexport class utils {\r\n\r\n static isMobileDevice() {\r\n const isTouchDevice = window.ontouchstart || navigator.maxTouchPoints > 0;\r\n return isTouchDevice;\r\n }\r\n\r\n static SortProcedures(a?: string, b?: string): number {\r\n const aSeparated = a?.match(/[a-zA-Z]+|[0-9]+/g);\r\n const bSeparated = b?.match(/[a-zA-Z]+|[0-9]+/g);\r\n\r\n for (let i = 0; i < Math.max(aSeparated?.length ?? 0, bSeparated?.length ?? 0); i++) {\r\n const aElement = aSeparated?.[i];\r\n const bElement = bSeparated?.[i];\r\n\r\n if (!aElement) {\r\n return -1;\r\n }\r\n if (!bElement) {\r\n return 1;\r\n }\r\n\r\n const aNum = Number(aElement);\r\n const bNum = Number(bElement);\r\n\r\n if (isNaN(aNum) || isNaN(bNum)) {\r\n // Compare as strings\r\n if (aElement < bElement) {\r\n return -1;\r\n } else if (aElement > bElement) {\r\n return 1;\r\n }\r\n } else {\r\n // Compare as numbers\r\n if (aNum < bNum) {\r\n return -1;\r\n } else if (aNum > bNum) {\r\n return 1;\r\n }\r\n }\r\n }\r\n // All elements are equal up to this point\r\n return 0;\r\n }\r\n\r\n static SortBeamlines(a?: string | null, b?: string | null) {\r\n // Validate emptys\r\n if (!a) {\r\n return 1;\r\n }\r\n if (!b) {\r\n return -1;\r\n }\r\n a = a.toUpperCase();\r\n b = b.toUpperCase();\r\n // Validate and sort the just-lyrics elements\r\n const aisblbr =\r\n (a.substring(0, 3) == \"BL \" || a.substring(0, 3) == \"BR \") &&\r\n a.match(/\\d+/g) != null;\r\n const bisblbr =\r\n (b.substring(0, 3) == \"BL \" || b.substring(0, 3) == \"BR \") &&\r\n b.match(/\\d+/g) != null;\r\n if (!aisblbr && !bisblbr) {\r\n if (a > b) {\r\n return 1;\r\n }\r\n if (b > a) {\r\n return -1;\r\n }\r\n return 0;\r\n }\r\n if (aisblbr && !bisblbr) {\r\n return 1;\r\n }\r\n if (!aisblbr && bisblbr) {\r\n return -1;\r\n }\r\n // Separate BL and BR\r\n const aisbl = a.substring(0, 3) == \"BL \";\r\n const bisbl = b.substring(0, 3) == \"BL \";\r\n if (!aisbl && bisbl) {\r\n return 1;\r\n }\r\n if (aisbl && !bisbl) {\r\n return -1;\r\n }\r\n a = a + \".\";\r\n b = b + \".\";\r\n // Sort the BR or BR\r\n const aLength = a.match(/\\d+[.]/g)?.length ?? 0;\r\n const bLength = b.match(/\\d+[.]/g)?.length ?? 0;\r\n if (aLength > bLength) {\r\n for (let i = 0; i < aLength; i++) {\r\n if (i > bLength - 1) {\r\n return 1;\r\n }\r\n let aMatchResult = a.match(/\\d+[.]/g);\r\n let asub = '';\r\n if (aMatchResult) {\r\n asub = aMatchResult[i];\r\n }\r\n asub = asub.substring(0, asub.length - 1);\r\n let bMatchResult = a.match(/\\d+[.]/g);\r\n let bsub = '';\r\n if (bMatchResult) {\r\n bsub = bMatchResult[i];\r\n }\r\n bsub = bsub.substring(0, bsub.length - 1);\r\n if (Number.parseInt(asub) > Number.parseInt(bsub)) {\r\n return 1;\r\n }\r\n if (Number.parseInt(asub) < Number.parseInt(bsub)) {\r\n return -1;\r\n }\r\n }\r\n } else {\r\n for (let i = 0; i < bLength; i++) {\r\n if (i > aLength - 1) {\r\n return -1;\r\n }\r\n let aMatchResult = a.match(/\\d+[.]/g);\r\n let asub = '';\r\n if (aMatchResult) {\r\n asub = aMatchResult[i];\r\n }\r\n asub = asub.substring(0, asub.length - 1);\r\n let bMatchResult = a.match(/\\d+[.]/g);\r\n let bsub = '';\r\n if (bMatchResult) {\r\n bsub = bMatchResult[i];\r\n }\r\n bsub = bsub.substring(0, bsub.length - 1);\r\n if (Number.parseInt(asub) > Number.parseInt(bsub)) {\r\n return 1;\r\n }\r\n if (Number.parseInt(asub) < Number.parseInt(bsub)) {\r\n return -1;\r\n }\r\n }\r\n }\r\n return 1;\r\n }\r\n\r\n static sortArrayAlphabeticallyWithComplexNumbers(a?: string | null, b?: string | null, dir: string | null = 'asc', ignoreCase: boolean = false) {\r\n const compareString = (strA?: string | null, strB?: string | null) => {\r\n if (ignoreCase) {\r\n strA = strA?.toLowerCase();\r\n strB = strB?.toLowerCase();\r\n }\r\n\r\n // Define regular expressions to match alphanumeric and numeric parts\r\n const regex = /(\\D+)|(\\d+(\\.\\d+)?)/g;\r\n\r\n // Extract all alphanumeric and numeric parts from the strings\r\n const aParts = strA?.match(regex) || [];\r\n const bParts = strB?.match(regex) || [];\r\n\r\n // Iterate through the parts to compare them\r\n for (let i = 0; i < Math.min(aParts.length, bParts.length); i++) {\r\n const partA = aParts[i];\r\n const partB = bParts[i];\r\n\r\n if (!isNaN(Number(partA)) && !isNaN(Number(partB))) {\r\n // If both parts are numeric, compare them as numbers\r\n const numA = parseFloat(partA);\r\n const numB = parseFloat(partB);\r\n\r\n if (numA < numB) return -1;\r\n if (numA > numB) return 1;\r\n } else {\r\n // Otherwise, compare the parts as strings\r\n const stringComparison = partA.localeCompare(partB, undefined, { numeric: true });\r\n if (stringComparison !== 0) {\r\n return stringComparison;\r\n }\r\n }\r\n }\r\n\r\n // Handle the case where one string is a prefix of the other\r\n return aParts.length - bParts.length;\r\n };\r\n\r\n return compareString(dir == 'asc' ? a : b, dir == 'asc' ? b : a);\r\n };\r\n\r\n\r\n static getNestedValue(obj: { [key: string]: any }, path: string): any {\r\n return path.split('.').reduce((acc, part) => acc && acc[part], obj);\r\n }\r\n\r\n static sortByMultipleFields(\r\n fields: string[]\r\n ): (a: T, b: T) => number {\r\n return (a: T, b: T) => {\r\n for (let field of fields) {\r\n const aValue = this.getNestedValue(a, field);\r\n const bValue = this.getNestedValue(b, field);\r\n\r\n if (aValue < bValue) {\r\n return -1;\r\n }\r\n if (aValue > bValue) {\r\n return 1;\r\n }\r\n }\r\n return 0;\r\n };\r\n }\r\n\r\n static DatePlusseconds(seconds: number) {\r\n const d1 = new Date();\r\n const d2 = new Date(d1);\r\n d2.setSeconds(d1.getSeconds() + seconds);\r\n return d2;\r\n }\r\n\r\n static cloneDeep(data: T): T {\r\n const copy = _.cloneDeep(data);\r\n return copy as T;\r\n }\r\n\r\n static Serialize(data: T): T {\r\n const result = { ...data };\r\n for (const key in result) {\r\n if (Object.prototype.toString.call(data[key]) == \"[object Object]\") {\r\n result[key] = null as any;\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n static IsNullOrWhiteSpace(input: string) {\r\n return !input || !input?.trim();\r\n }\r\n\r\n static IsWhiteSpaceReactiveForm(control: AbstractControl) {\r\n if (typeof control.value === \"string\") {\r\n if (!control.value.trim()) {\r\n return { hasWhiteSpace: true };\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n static OrderByDate(a: string | number | Date, b: string | number | Date) {\r\n a = new Date(a);\r\n b = new Date(b);\r\n return a > b ? -1 : a < b ? 1 : 0;\r\n }\r\n\r\n static JSONparse(val?: string | null) {\r\n if (val)\r\n try {\r\n return JSON.parse(val);\r\n } catch (e) {\r\n // console.log(e);\r\n return null;\r\n }\r\n }\r\n\r\n // static JSONParseClass(val: string, classType: new () => any): any {\r\n // const obj = this.JSONparse(val);\r\n // if (typeof obj !== 'object' || obj === null) {\r\n // return obj;\r\n // }\r\n\r\n // if (Array.isArray(obj)) {\r\n // return obj.map((item) => this.JSONParseClass(item, classType));\r\n // }\r\n\r\n // const result: any = {};\r\n // const myClass = new classType();\r\n // const propertyNames = Object.keys(myClass);\r\n\r\n // for (const key in obj) {\r\n // if (obj.hasOwnProperty(key)) {\r\n // const newKey = propertyNames.find((propertyName) => propertyName.toLowerCase() === key.toLowerCase());\r\n\r\n // if (newKey) {\r\n // result[newKey] = this.JSONParseClass(obj[key], classType);\r\n // } else {\r\n // result[key] = this.JSONParseClass(obj[key], classType);\r\n // }\r\n // }\r\n // }\r\n\r\n // return result;\r\n // }\r\n\r\n static JSONstringify(val: any) {\r\n const cache = new Set();\r\n return JSON.stringify(\r\n val,\r\n (key, value) => {\r\n if (typeof value === \"object\" && value !== null) {\r\n if (cache.has(value)) {\r\n // Circular reference found, discard key\r\n return;\r\n }\r\n // Store value in our collection\r\n cache.add(value);\r\n }\r\n return value;\r\n },\r\n 4\r\n );\r\n }\r\n\r\n private static operatorsArray() {\r\n return Object.values(Operators);\r\n }\r\n\r\n private static getValues(\r\n tag: string,\r\n tasks: WfTaskLocalResource[],\r\n operator: Operators = Operators.NONE\r\n ) {\r\n let values: any[] = [];\r\n tasks\r\n .filter((t) => t.code?.trim() == tag.trim())\r\n .map((t) => {\r\n if (t.component?.returnType) {\r\n switch (t.component.returnType) {\r\n case ReturnType.Boolean:\r\n if (t.component.hasMultipleRoles) {\r\n values = this.getRolesChecked(t, operator);\r\n } else {\r\n values = this.getBoolean(t, operator);\r\n }\r\n break;\r\n case ReturnType.Numeric:\r\n values = this.getChecked(t, operator);\r\n break;\r\n case ReturnType.Sign:\r\n if (operator == Operators.NONE) {\r\n values.push(t.wfTasks?.[0].signedBy != null);\r\n } else {\r\n values.push(t.wfTasks?.[0].signedBy == null);\r\n }\r\n break;\r\n case ReturnType.Text:\r\n values = this.getText(t);\r\n break;\r\n default:\r\n values.push(t.value);\r\n }\r\n }\r\n });\r\n return values;\r\n }\r\n\r\n private static getText(task: WfTaskLocalResource): any[] {\r\n let values: any[] = [];\r\n const storedText = this.JSONparse(task.text);\r\n if (storedText?.length) {\r\n if (storedText.some((x: { key: any; }) => x.key)) {\r\n const storedValues = storedText.find((x: { key: string; }) => x.key == \"values\").val;\r\n values = storedValues.filter((x: { text: any; }) => x.text).map((x: { text: any; }) => x.text);\r\n } else {\r\n const storedString = this.JSONparse(storedText[0].stringValue);\r\n const storedValues = storedString.find((x: { key: string; }) => x.key == \"values\").val;\r\n values = storedValues.filter((x: { text: any; }) => x.text).map((x: { text: any; }) => x.text);\r\n }\r\n }\r\n return values;\r\n }\r\n\r\n\r\n\r\n private static getRolesChecked(\r\n task: WfTaskLocalResource,\r\n operator: Operators\r\n ): any[] {\r\n let values: any[] = [];\r\n let roleOptions = [];\r\n const storedText = this.JSONparse(task.text);\r\n if (task.text?.includes(\"stringValue\")) {\r\n roleOptions = this.JSONparse(storedText[0].stringValue);\r\n } else {\r\n roleOptions = storedText;\r\n }\r\n if (operator == Operators.NONE) {\r\n values.push(\r\n roleOptions &&\r\n roleOptions?.filter((o: { checked: any; }) => o.checked).length == roleOptions?.length\r\n );\r\n } else {\r\n values.push(\r\n !roleOptions ||\r\n roleOptions?.filter((o: { checked: any; }) => o.checked).length != roleOptions?.length\r\n );\r\n }\r\n return values;\r\n }\r\n\r\n private static getBoolean(\r\n task: WfTaskLocalResource,\r\n operator: Operators\r\n ): any[] {\r\n const values: any[] = [];\r\n const storedText = this.JSONparse(task.text);\r\n if (storedText?.length) {\r\n if (storedText.some((x: { key: any; }) => x.key)) {\r\n const storedValues = storedText.find(\r\n (x: { key: string; }) =>\r\n x.key == (operator == Operators.NONE ? \"checkedYes\" : \"checkedNo\")\r\n ).val;\r\n values.push(storedValues);\r\n } else {\r\n const storedString = this.JSONparse(storedText[0].stringValue);\r\n const storedValues = storedString.find(\r\n (x: { key: string; }) =>\r\n x.key == (operator == Operators.NONE ? \"checkedYes\" : \"checkedNo\")\r\n ).val;\r\n values.push(storedValues);\r\n }\r\n }\r\n return values;\r\n }\r\n\r\n private static getChecked(task: WfTaskLocalResource, operator: Operators): any[] {\r\n const component = task.component;\r\n let values = [];\r\n if (component?.hasMultipleCheckboxes) {\r\n const storedText = this.JSONparse(task.text);\r\n if (storedText?.length) {\r\n if (storedText.some((x: { key: any; }) => x.key)) {\r\n const storedValues = storedText.find((x: { key: string; }) => x.key == \"checked\").val;\r\n values = storedValues.filter((x: { checked: any; }) => x.checked).map((x: { value: any; }) => x.value);\r\n } else {\r\n const storedString = this.JSONparse(storedText[0].stringValue);\r\n const storedValues = storedString.find((x: { key: string; }) => x.key == \"checked\").val;\r\n values = storedValues.filter((x: { checked: any; }) => x.checked).map((x: { value: any; }) => x.value);\r\n }\r\n }\r\n } else if (component?.hasRadioButtons) {\r\n if (operator != Operators.NONE) {\r\n values.push(task.numericValue?.toString());\r\n }\r\n else {\r\n values.push(task.numericValue != 0 && task.wfTasks?.[0]?.signedBy != null);\r\n }\r\n } else {\r\n if (task.booleanValue != undefined) {\r\n values.push(task.booleanValue);\r\n }\r\n if (task.isCompleted != undefined) {\r\n values.push(task.isCompleted);\r\n }\r\n }\r\n return values;\r\n }\r\n\r\n static conditionParse(\r\n condition: string,\r\n tasks: WfTaskLocalResource[]\r\n ): boolean {\r\n if (!condition) {\r\n return true;\r\n }\r\n let result = false;\r\n let operator = this.operatorsArray().find((x) =>\r\n condition.includes(x.toString())\r\n );\r\n let operands: any[] = [];\r\n let var1 = null;\r\n let var2 = null;\r\n let value = null;\r\n\r\n if (!operator) {\r\n operator = condition?.includes(Operators.NOT)\r\n ? Operators.NOT\r\n : Operators.NONE;\r\n }\r\n switch (operator) {\r\n case Operators.EQUAL:\r\n case Operators.EQUAL2:\r\n operands = condition.split(operator);\r\n if (operands.length == 2) {\r\n var1 = operands[0].trim();\r\n value = operands[1].trim().replace(/'/g, \"\");\r\n result = this.getValues(var1, tasks, operator).includes(value);\r\n }\r\n break;\r\n case Operators.NOTEQUAL:\r\n case Operators.NOTEQUAL2:\r\n operands = condition.split(operator);\r\n if (operands.length == 2) {\r\n var1 = operands[0].trim();\r\n value = operands[1].trim();\r\n result = !this.getValues(var1, tasks, operator).includes(value);\r\n }\r\n break;\r\n case Operators.AND:\r\n operands = condition.split(operator);\r\n if (operands.length == 2) {\r\n var1 = operands[0].trim();\r\n var2 = operands[1].trim();\r\n result =\r\n this.getValues(var1, tasks).includes(true) &&\r\n this.getValues(var2, tasks).includes(true);\r\n }\r\n break;\r\n case Operators.OR:\r\n operands = condition.split(operator);\r\n if (operands.length == 2) {\r\n var1 = operands[0].trim();\r\n var2 = operands[1].trim();\r\n result =\r\n this.getValues(var1, tasks).includes(true) ||\r\n this.getValues(var2, tasks).includes(true);\r\n }\r\n break;\r\n case Operators.NOT:\r\n case Operators.NONE:\r\n condition = condition.replace(\"!\", \"\");\r\n const generalConditions = this.getENUMString(GeneralCondition);\r\n if (generalConditions.map((x) => x.value).includes(condition)) {\r\n result = this.evalGeneralConditions(condition, tasks);\r\n } else {\r\n result = this.getValues(condition, tasks, operator).includes(true);\r\n }\r\n\r\n break;\r\n }\r\n return result;\r\n }\r\n\r\n static evalGeneralConditions(\r\n condition: string,\r\n tasks: WfTaskLocalResource[]\r\n ) {\r\n let result = true;\r\n switch (condition) {\r\n case GeneralCondition.AllTasksCompleted:\r\n tasks\r\n .filter((t) => t.condition != condition)\r\n .map((t) => {\r\n const req = this.conditionParse(t.condition ?? '', tasks);\r\n if (req) {\r\n const res = this.taskComplete(t);\r\n if (!res) {\r\n result = res ?? false;\r\n }\r\n }\r\n });\r\n\r\n break;\r\n default:\r\n return true;\r\n }\r\n return result;\r\n }\r\n\r\n static parseConditions(tasks: WfTaskLocalResource[]) {\r\n tasks.map(t => {\r\n let value = true;\r\n if (t.condition) {\r\n value = this.conditionParse(t.condition, tasks);\r\n }\r\n let hideDisable = false;\r\n if (t.configuration) {\r\n const configuration = this.JSONparse(t.configuration);\r\n hideDisable = configuration.hideDisable;\r\n }\r\n t.required = !hideDisable ? value : true;\r\n t.disabled = hideDisable ? !value : false;\r\n if (t.wfTasks?.[0]) {\r\n t.wfTasks[0].required = t.required;\r\n t.wfTasks[0].enabled = !t.disabled;\r\n }\r\n t.isCompleted = t.required ? this.taskComplete(t) : true;\r\n });\r\n return tasks;\r\n }\r\n\r\n static isEquivalent(obj1: any, obj2: any) {\r\n const dif = diff(obj1, obj2) as Record;\r\n return Object.keys(dif).length === 0;\r\n }\r\n\r\n\r\n static isNull(x: any, res: any) {\r\n if (x == undefined || x == null) {\r\n return res;\r\n } else {\r\n return x;\r\n }\r\n }\r\n\r\n /* finds the intersection of\r\n * two arrays in a simple fashion.\r\n *\r\n * PARAMS\r\n * a - first array, must already be sorted\r\n * b - second array, must already be sorted\r\n *\r\n * NOTES\r\n *\r\n * Should have O(n) operations, where n is\r\n * n = MIN(a.length(), b.length())\r\n */\r\n static intersect(a: Iterable | null | undefined, b: Iterable | null | undefined) {\r\n const setB = new Set(b);\r\n const intersect = [...new Set(a)].filter((x) => setB.has(x));\r\n return intersect.length > 0;\r\n }\r\n\r\n static compare(\r\n a?: number | string | Date | null,\r\n b?: number | string | Date | null,\r\n isAsc?: boolean\r\n ) {\r\n if (a && b)\r\n return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\r\n return 0;\r\n }\r\n\r\n // static sort(\r\n // a?: number | string | boolean | Date | null | undefined,\r\n // b?: number | string | boolean | Date | null | undefined,\r\n // isAsc: boolean = true\r\n // ) {\r\n // return (!a ? 1 : !b ? -1 : a > b ? 1 : -1) * (isAsc ? 1 : -1);\r\n // }\r\n\r\n // static sort(a?: number | null, b?: number | null, isAsc: boolean = true) {\r\n // return ((a ?? 0) - (b ?? 0)) * (isAsc ? 1 : -1);\r\n // }\r\n\r\n static sort(\r\n a: number | string | Date | boolean | null | undefined,\r\n b: number | string | Date | boolean | null | undefined,\r\n isAsc: boolean = true\r\n ) {\r\n if (a === undefined || a === null) return isAsc ? 1 : -1;\r\n if (b === undefined || b === null) return isAsc ? -1 : 1;\r\n\r\n if (typeof a === 'string' && typeof b === 'string') {\r\n return a.localeCompare(b) * (isAsc ? 1 : -1);\r\n }\r\n\r\n if (moment.isDate(a) && moment.isDate(b)) {\r\n const momentA = moment(a);\r\n const momentB = moment(b);\r\n return momentA.diff(momentB) * (isAsc ? 1 : -1);\r\n }\r\n\r\n // For numbers, booleans, and other types\r\n return (((a as number) ?? 0) - ((b as number) ?? 0)) * (isAsc ? 1 : -1);\r\n }\r\n\r\n static isNullValue(value?: string | null) {\r\n return value == null || value == \"\" || value == undefined;\r\n }\r\n\r\n static replaceAll(str: string, find: string | RegExp, replace: any) {\r\n return str?.replace(new RegExp(find, \"g\"), replace);\r\n }\r\n\r\n static getENUM(ENUM: any): any[] {\r\n const myEnum: { key: string; value: any; }[] = [];\r\n const objectEnum = Object.entries(ENUM);\r\n objectEnum.map((e) => {\r\n if (typeof e[1] === \"number\") {\r\n myEnum.push({ key: e[0], value: e[1] });\r\n }\r\n });\r\n return myEnum.filter(x => !isNaN(x.value));\r\n }\r\n\r\n static getENUMString(ENUM: any): any[] {\r\n const myEnum: any[] = [];\r\n const objectEnum = Object.entries(ENUM);\r\n objectEnum.map((e) => {\r\n myEnum.push({ key: e[0], value: e[1] });\r\n });\r\n return myEnum;\r\n }\r\n\r\n static enumToIdNameArray(enumObj: any): { id: number | string; name: string }[] {\r\n return Object.keys(enumObj)\r\n .filter(key => isNaN(Number(key))) // Exclude numeric keys\r\n .map(key => ({\r\n id: enumObj[key], // Enum value\r\n name: key // Enum key\r\n }));\r\n }\r\n\r\n // Resize images inside quill editor\r\n static resizeImage(customSize: any, event: any) {\r\n let naturalWidth;\r\n let normalWidth = 504;\r\n let smallDivider = 2;\r\n let fitDivider = 1.5;\r\n\r\n if (screen.width < 1000) {\r\n normalWidth = screen.width;\r\n smallDivider = 4;\r\n fitDivider = 2.5;\r\n }\r\n\r\n switch (customSize) {\r\n case CustomImageSizeOptions.Small:\r\n naturalWidth = normalWidth / smallDivider;\r\n break;\r\n case CustomImageSizeOptions.Fit:\r\n naturalWidth =\r\n event.target.naturalWidth > normalWidth\r\n ? normalWidth / fitDivider\r\n : event.target.naturalWidth / fitDivider;\r\n break;\r\n case CustomImageSizeOptions.Original:\r\n naturalWidth = event.target.naturalWidth;\r\n break;\r\n }\r\n event.target.width = naturalWidth;\r\n }\r\n\r\n // Removes containers for the custom image resize inside quill editor\r\n static removeExistingCustomContainers() {\r\n const html = '

    Small | Fit | Original

    ';\r\n const elements = document.getElementsByClassName(\r\n QuillCustomClasses.custom_image_sizes_class\r\n );\r\n while (elements.length > 0) {\r\n const parent = elements[0].parentNode?.parentElement;\r\n elements[0].parentNode?.removeChild(elements[0]);\r\n if (parent)\r\n this.removeHtmlInstancesFromElement(parent, html);\r\n }\r\n\r\n this.removeHtmlInstances(html);\r\n }\r\n\r\n static removeHtmlInstancesFromElement(element: HTMLElement | null, html: string) {\r\n const regex = new RegExp(html.replace(/\\|/g, '\\\\|'), 'g'); // Escape the pipe character in the regex\r\n if (element)\r\n element.innerHTML = element.innerHTML.replace(regex, '');\r\n }\r\n\r\n static removeHtmlInstances(html: string) {\r\n const quillEditors = document.getElementsByClassName('ql-editor');\r\n\r\n Array.from(quillEditors).map((editor) => {\r\n const regex = new RegExp(html.replace(/\\|/g, '\\\\|'), 'g'); // Escape the pipe character in the regex\r\n editor.innerHTML = editor.innerHTML.replace(regex, '');\r\n });\r\n }\r\n\r\n static convertToResource(object: any): Resource {\r\n const resource = new Resource();\r\n const objectProps = Object.entries(object);\r\n const resourceProps = Object.entries(resource);\r\n\r\n objectProps.map((p) => {\r\n const propName = p[0];\r\n const propValue = p[1];\r\n const resourceProp = resourceProps.find((x) => x[0].toLowerCase() === propName.toLowerCase());\r\n\r\n if (resourceProp) {\r\n // Use type assertion to access properties dynamically\r\n (resource as any)[resourceProp[0]] = propValue;\r\n }\r\n });\r\n\r\n return resource;\r\n }\r\n\r\n\r\n static convertObjectKeysToCamelCase(obj: any | any[]): T | T[] {\r\n if (obj === null || typeof obj !== 'object') {\r\n return obj;\r\n }\r\n\r\n if (Array.isArray(obj)) {\r\n return obj.map(item => this.convertObjectKeysToCamelCase(item)) as T[];\r\n }\r\n\r\n const instance = {} as { [key: string]: any };\r\n\r\n for (const key in obj) {\r\n if (obj.hasOwnProperty(key)) {\r\n const camelCaseKey = key.charAt(0).toLowerCase() + key.slice(1);\r\n instance[camelCaseKey] = this.convertObjectKeysToCamelCase(obj[key]);\r\n }\r\n }\r\n\r\n return instance as T;\r\n }\r\n\r\n // static convertToResourceSummary(object: any): ResourceSummary {\r\n // const resource = new ResourceSummary();\r\n // const objectProps = Object.entries(object);\r\n // const resourceProps = Object.entries(resource);\r\n // objectProps.map((p) => {\r\n // const prop = resourceProps.find(\r\n // (x) => x[0].toLowerCase() == p[0].toLowerCase()\r\n // );\r\n // if (prop) {\r\n // const type = typeof prop[1];\r\n // switch (type) {\r\n // case \"object\":\r\n // switch (prop.constructor.name) {\r\n // case \"Resource\":\r\n // resource[prop[0]] = this.convertToResource(p[1]);\r\n // }\r\n // break;\r\n // case \"string\":\r\n // resource[prop[0]] = p[1];\r\n // break;\r\n // }\r\n // }\r\n // });\r\n // return resource;\r\n // }\r\n\r\n // static isDate(ExpiryDate: string): boolean {\r\n // let objDate; // date object initialized from the ExpiryDate string\r\n // let mSeconds; // ExpiryDate in milliseconds\r\n // let day; // day\r\n // let month; // month\r\n // let year; // year\r\n // // date length should be 10 characters (no more no less)\r\n // if (ExpiryDate.length !== 10) {\r\n // return false;\r\n // }\r\n // // third and sixth character should be '/'\r\n // if (\r\n // ExpiryDate.substring(2, 3) !== \"/\" ||\r\n // ExpiryDate.substring(5, 6) !== \"/\"\r\n // ) {\r\n // return false;\r\n // }\r\n // // extract month, day and year from the ExpiryDate (expected format is mm/dd/yyyy)\r\n // // subtraction will cast variables to integer implicitly (needed\r\n // // for !== comparing)\r\n // month = ExpiryDate.substring(0, 2) - 1; // because months in JS start from 0\r\n // day = ExpiryDate.substring(3, 5) - 0;\r\n // year = ExpiryDate.substring(6, 10) - 0;\r\n // // test year range\r\n // if (year < 1000 || year > 3000) {\r\n // return false;\r\n // }\r\n // // convert ExpiryDate to milliseconds\r\n // mSeconds = new Date(year, month, day).getTime();\r\n // // initialize Date() object from calculated milliseconds\r\n // objDate = new Date();\r\n // objDate.setTime(mSeconds);\r\n // // compare input date and parts from Date() object\r\n // // if difference exists then date isn't valid\r\n // if (\r\n // objDate.getFullYear() !== year ||\r\n // objDate.getMonth() !== month ||\r\n // objDate.getDate() !== day\r\n // ) {\r\n // return false;\r\n // }\r\n // // otherwise return true\r\n // return true;\r\n // }\r\n\r\n static isValidDate(value: any): boolean {\r\n if (value instanceof Date) {\r\n // If the value is already a Date object, it's considered a valid date.\r\n return !isNaN(value.getTime());\r\n } else if (typeof value === 'string') {\r\n // If the value is a string, attempt to parse it as a date.\r\n const date = new Date(value);\r\n return !isNaN(date.getTime());\r\n } else {\r\n // If the value is neither a Date object nor a string, it's not a valid date.\r\n return false;\r\n }\r\n }\r\n\r\n\r\n static cleanHTML(text: string): string {\r\n return text ? text.replace(/(<([^>]+)>)/gi, \"\") : \"\";\r\n }\r\n\r\n // Clean Quill editor HTML formating\r\n // static cleanHTML(t) {\r\n // this.removeExistingCustomContainers();\r\n // if (t) {\r\n // t = t?.replaceAll('

    ', '').replaceAll('

    ', '
    ').replaceAll('', '').replaceAll('', '');\r\n // if (t.includes('
    ') && t.lastIndexOf('
    ') == t.length - 4) {\r\n // t = t.slice(0, -4);\r\n // }\r\n // }\r\n // return t;\r\n // }\r\n\r\n // static roundNumber(num: string | number, scale: string | number) {\r\n // if (!(\"\" + num).includes(\"e\")) {\r\n // return +(Math.round(+(num + \"e+\" + scale)) + \"e-\" + scale);\r\n // } else {\r\n // const arr = (\"\" + num).split(\"e\");\r\n // let sig = \"\";\r\n // if (+arr[1] + +scale > 0) {\r\n // sig = \"+\";\r\n // }\r\n // return +(\r\n // Math.round(+(+arr[0] + \"e\" + sig + (+arr[1] + +scale))) +\r\n // \"e-\" +\r\n // scale\r\n // );\r\n // }\r\n // }\r\n\r\n static roundNumber(num: string | number, scale: number): number {\r\n const numStr = \"\" + num; // Convert the input to a string\r\n\r\n if (!numStr.includes(\"e\")) {\r\n // Handle numbers without exponential notation\r\n return +(Math.round(+(num + \"e+\" + scale)) + \"e-\" + scale);\r\n } else {\r\n // Handle numbers in exponential notation\r\n const [base, exponent] = numStr.split(\"e\").map(str => +str); // Split the base and exponent\r\n const newExponent = +exponent + scale; // Adjust the exponent\r\n\r\n return +(Math.round(+(base + \"e\" + newExponent)) + \"e-\" + scale); // Round and adjust the exponent back\r\n }\r\n }\r\n\r\n static insertArrayAt(array: any, index: any, arrayToInsert: any) {\r\n array.splice(index, 0, ...arrayToInsert);\r\n return array;\r\n }\r\n\r\n static numberWithCommas(x: { toString: () => string; }) {\r\n return x.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\r\n }\r\n\r\n static pushNoRepeat(array: any[], item: any) {\r\n if (!array.includes(item)) {\r\n array.push(item);\r\n }\r\n return array;\r\n }\r\n\r\n static compareNumbers(n1: number, n2: number, op: CompareOperator) {\r\n switch (op) {\r\n case CompareOperator[\"=\"]:\r\n return n1 == n2;\r\n case CompareOperator[\"<\"]:\r\n return n1 < n2;\r\n case CompareOperator[\"<=\"]:\r\n return n1 <= n2;\r\n case CompareOperator[\">\"]:\r\n return n1 > n2;\r\n case CompareOperator[\">=\"]:\r\n return n1 >= n2;\r\n case CompareOperator[\"<>\"]:\r\n return n1 != n2;\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n static taskComplete(task: WfTaskLocalResource) {\r\n switch (task.component?.type) {\r\n case 0: // Signature\r\n if (task.componentID != ComponentType.CloseButton) {\r\n task.isCompleted = task.wfTasks?.[0]?.signedBy != null;\r\n } else {\r\n task.isCompleted = true;\r\n }\r\n break;\r\n\r\n case 1: // Normal\r\n task.isCompleted = this.checkCompletedByComponent(task);\r\n break;\r\n\r\n default:\r\n task.isCompleted = true;\r\n }\r\n return task.isCompleted;\r\n }\r\n\r\n static checkCompletedByComponent(task: WfTaskLocalResource) {\r\n let valueObjects = null;\r\n switch (task.componentID) {\r\n case ComponentType.CheckboxMultiple:\r\n case ComponentType.CheckboxMultipleWithTextbox:\r\n valueObjects = this.JSONparse(this.getTextValue(task.text));\r\n const allRequired = this.JSONparse(task.configuration)?.required;\r\n if (valueObjects) {\r\n const options = valueObjects?.find((x: { key: string; }) => x.key == \"checked\")\r\n ?.val as Option[];\r\n if (allRequired) {\r\n return options.find(x => !x.checked) == null;\r\n }\r\n else {\r\n return options.find((x) => x.checked) != null;\r\n }\r\n }\r\n return false;\r\n case ComponentType.MultipleTextbox:\r\n valueObjects = this.JSONparse(this.getTextValue(task.text));\r\n if (valueObjects) {\r\n const options = valueObjects?.find((x: { key: string; }) => x.key == \"values\")\r\n ?.val as Option[];\r\n return options.find((x) => !x.text) == null;\r\n }\r\n break;\r\n case ComponentType.CheckboxMultipleSign:\r\n const options = this.JSONparse(this.getTextValue(task.text));\r\n return options ? options.find((x: { userID: null; }) => x.userID == null) == null : false;\r\n case ComponentType.RadMeters:\r\n valueObjects = this.JSONparse(this.getTextValue(task.text));\r\n if (valueObjects && valueObjects.data?.length) {\r\n const radMeters = valueObjects.data as RadMeter[];\r\n return !radMeters.some(r => !r.backgroundReadingChangedByID && !r.sourceReadingChangedByID);\r\n }\r\n break;\r\n case ComponentType.ShieldingsComponent:\r\n const shieldings = this.JSONparse(this.getTextValue(task.text)) as Shielding[];\r\n const unchecked = shieldings?.filter(s => s.resourceID).map(s => s.roleOptions).filter(o => o?.some((r) => !r.checked));\r\n return unchecked?.length == 0;\r\n case ComponentType.Catl:\r\n case ComponentType.Olog:\r\n case ComponentType.StatusChange:\r\n return true;\r\n default:\r\n return task.wfTasks?.[0]?.signedBy != null;\r\n }\r\n return false;\r\n }\r\n\r\n static getTextValue(text: any) {\r\n const storedValues = this.JSONparse(text);\r\n if (\r\n storedValues &&\r\n storedValues[0]?.Name == null &&\r\n storedValues[0]?.stringValue\r\n ) {\r\n return storedValues[0].stringValue;\r\n }\r\n return text;\r\n }\r\n\r\n static nameToCamelCase(input: string): string {\r\n const words = input.split(' ');\r\n const camelCaseWords = words.map(word => {\r\n if (word.length > 0) {\r\n return word[0].toUpperCase() + word.slice(1).toLowerCase();\r\n }\r\n return '';\r\n });\r\n return camelCaseWords.join(' ');\r\n }\r\n\r\n static compareArrays(arr1: any[], arr2: any[]): boolean {\r\n if (arr1.length !== arr2.length) {\r\n return false; // If the arrays have different lengths, they can't be equal.\r\n }\r\n\r\n for (let i = 0; i < arr1.length; i++) {\r\n // Use a deep equality comparison (e.g., using JSON.stringify) to compare objects.\r\n if (JSON.stringify(arr1[i]) !== JSON.stringify(arr2[i])) {\r\n return false; // If any elements differ, the arrays are not equal.\r\n }\r\n }\r\n\r\n return true; // If no differences were found, the arrays are equal.\r\n }\r\n\r\n static stripHTML(html: any) {\r\n // Replace   with a space, then strip HTML tags\r\n return html.replace(/ /g, ' ').replace(/<\\/?[^>]+(>|$)/g, \"\");\r\n }\r\n\r\n\r\n static getRandomInt(min: number, max: number): number {\r\n min = Math.ceil(min);\r\n max = Math.floor(max);\r\n return Math.floor(Math.random() * (max - min + 1)) + min;\r\n }\r\n\r\n static stripSpaces(text?: string | null) {\r\n if (text)\r\n return text.replaceAll(' ', '');\r\n return null;\r\n }\r\n\r\n static isValidEmail(email: string): boolean {\r\n const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/;\r\n return emailRegex.test(email);\r\n }\r\n\r\n static getAllRequesters(wfTable?: WFTableResource): User[] {\r\n return wfTable?.wfTableLocal?.wfSectionLocals.flatMap((section: WFSectionLocalResource) => section.wfSignatures?.filter(s => s.requesterSignature)?.flatMap((signature) => signature.users.flatMap(user => user) || []) || []) || [];\r\n }\r\n\r\n static formatDate(date: Date | undefined | string | null): string | null {\r\n const datePipe = new DatePipe('en-US');\r\n return datePipe.transform(date, 'MM-dd-yyyy');\r\n }\r\n\r\n static formatDatePipe(date: Date | string | null | undefined, format: string): string {\r\n const datePipe = new DatePipe('en-US');\r\n return datePipe.transform(date, format) || '';\r\n }\r\n\r\n static parseEmailAddresses(emailStrings?: string[]) {\r\n const result = emailStrings?.filter(e => e != undefined).map((emailString) => {\r\n // Match strings in the format: \"Name \"\r\n const emailRegex = /^(.*?)[\\s]*<([\\w.-]+@[a-zA-Z\\d.-]+\\.[a-zA-Z]{2,})>$/;\r\n const match = emailString?.match(emailRegex);\r\n\r\n if (match) {\r\n const name = match[1]?.trim();\r\n const address = match[2]?.trim();\r\n return {\r\n name: name || '', // Use empty string if no name is found\r\n address,\r\n isCustom: false, // Default value, adjust as needed\r\n } as EmailAddress;\r\n }\r\n return null;\r\n }).filter((email) => email !== null);\r\n return result as EmailAddress[];\r\n }\r\n}\r\n\r\nexport enum Operators {\r\n EQUAL = \"==\",\r\n EQUAL2 = \"===\",\r\n NOTEQUAL = \"!=\",\r\n NOTEQUAL2 = \"!==\",\r\n AND = \"&&\",\r\n OR = \"||\",\r\n NOT = \"!\",\r\n NONE = 0,\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n name: 'highlightSearch'\r\n})\r\nexport class HighlightSearchPipe implements PipeTransform {\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value?: string, search?: string | null): SafeHtml {\r\n const nullValue = this.sanitizer.bypassSecurityTrustHtml('');\r\n if (search) {\r\n const valueStr = ((value ?? '') + ''); // Ensure numeric values are converted to strings\r\n return valueStr ? this.sanitizer.bypassSecurityTrustHtml(this.replace(valueStr, search)) : nullValue;\r\n }\r\n else {\r\n return value ? this.sanitizer.bypassSecurityTrustHtml(value) : nullValue;\r\n }\r\n }\r\n\r\n private replace(value: string, search: string): string {\r\n var pos = value.toLowerCase().indexOf(search.toLowerCase());\r\n var returnVal = value;\r\n if (pos >= 0) {\r\n var rby = '' + value.substring(pos, pos + search.length) + '';\r\n returnVal = value.substring(0, pos) + rby + this.replace(value.substring(pos + search.length), search);\r\n }\r\n return returnVal;\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'linkify'\r\n})\r\nexport class LinkifyPipe implements PipeTransform {\r\n // linkExp = /((s?ftp|https?):\\/\\/|(www\\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\\S*[^\\s.;,(){}<>\"\\u201d\\u2019]/i;\r\n linkExp = /(?!(https:\\/\\/ascc-docs\\.als\\.lbl\\.gov))((s?ftp|https?):\\/\\/|(www\\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\\S*[^\\s.;,(){}<>\"\\u201d\\u2019]/i;\r\n\r\n mailExp = /^mailto:/i;\r\n transform(value: string): string {\r\n return this.getHTMLText(value);\r\n }\r\n\r\n parseTextHTML = (text: string, isHTML: boolean, options: any) => {\r\n if (typeof text !== 'string') { return null; }\r\n if (text === null || text === '') { return text; }\r\n let rawText = text;\r\n const html = [];\r\n const URLS = [];\r\n let match;\r\n let i;\r\n let url;\r\n // tslint:disable-next-line: no-conditional-assignment\r\n while ((match = rawText.match(this.linkExp))) {\r\n [url] = match;\r\n if (!match[2] && !match[4]) {\r\n url = (match[3] ? 'http://' : 'mailto:') + url;\r\n }\r\n i = match.index;\r\n if (rawText.substr(0, i)) {\r\n html.push(rawText.substr(0, i));\r\n }\r\n html.push(' {\r\n html.push(`${key}=\"${options[key]}\" `);\r\n });\r\n }\r\n html.push('href=\"');\r\n URLS.push(url.replace(/\"/g, '"'));\r\n html.push(url.replace(/\"/g, '"'));\r\n html.push('\">');\r\n if (match[0].replace(this.mailExp, '')) {\r\n html.push(match[0].replace(this.mailExp, ''));\r\n }\r\n html.push('');\r\n if (i)\r\n rawText = rawText.substring(i + match[0].length);\r\n }\r\n if (rawText) {\r\n html.push(rawText);\r\n }\r\n return isHTML ? html.join('') : URLS;\r\n }\r\n\r\n getHTMLText(text: string, options: any = null): string {\r\n return this.parseTextHTML(text, true, options) as string;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { PlaceholdersService } from 'src/app/services/placeholders/placeholders.service';\r\n\r\n\r\n@Pipe({\r\n name: 'placeholderHighlight'\r\n})\r\nexport class PlaceholderHighlightPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer,\r\n private placeholdersService: PlaceholdersService) { }\r\n\r\n transform(value: string, editor: boolean = false): SafeHtml {\r\n if (value) {\r\n const res = value?.replace(new RegExp('\\{([a-z,A-Z,0-9]+)\\}', 'ig'), match => {\r\n value = this.placeholdersService.getValue(match);\r\n if (value !== undefined && !editor) {\r\n return '' + value + '';\r\n }\r\n else {\r\n return '' + match + '';\r\n }\r\n });\r\n return this.sanitizer.bypassSecurityTrustHtml(res);\r\n }\r\n else {\r\n return '';\r\n }\r\n }\r\n}\r\n","import { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatNativeDateModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldDefaultOptions, MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatTreeModule } from '@angular/material/tree';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxsReduxDevtoolsPluginModule } from '@ngxs/devtools-plugin';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { config } from 'src/assets/config';\r\nimport { AppRoutingModule } from '../app-routing.module';\r\nimport { AppComponent } from '../app.component';\r\nimport { QuillModule } from 'ngx-quill';\r\nimport { reducers } from '../store/reducers';\r\nimport { HighlightSearchPipe } from './pipes/highlightable-search.pipe';\r\nimport { httpInterceptorProviders } from '../interceptors/interceptorProviders';\r\nimport { OverlayLoadingComponent } from '../controls/overlay-loading/overlay-loading.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FilterBoxComponent } from '../controls/filter-box/filter-box.component';\r\nimport { CommentsBoxModule } from '../controls/comments-box/comments-box.module';\r\nimport { PartialOlogComponent } from '../controls/olog/partial-olog/partial-olog.component';\r\nimport { NotificationComponent } from '../controls/notifications/notification.component';\r\nimport { AddRelatedLinkComponent } from '../controls/add-related-link/add-related-link.component';\r\nimport { LocationsService } from '../components/catalogs/beamline-catalog/resource/locations.service';\r\nimport { CancelDialogComponent } from '../controls/cancel-dialog/cancel-dialog.component';\r\nimport { WorkFlowService } from '../services/work-flow/work-flow.service';\r\nimport { TextareaDialogComponent } from '../controls/textarea-dialog/textarea-dialog.component';\r\nimport { CommentsAndAttachmentsModule } from '../controls/comments-and-attachments/comments-and-attachments.module';\r\nimport { RestrictionAvailableAutocompleteComponent } from '../controls/restrictions/restriction-available-autocomplete/restriction-available-autocomplete.component';\r\nimport { FormRestrictionTableComponent } from '../controls/restrictions/form-restriction-table/form-restriction-table.component';\r\nimport { ConfirmMessageComponent } from '../controls/confirm-message/confirm-message.component';\r\nimport { RelatedDocumentsComponent } from '../controls/related-documents/related-documents.component';\r\nimport { AcceleratorLocationChipsComponent } from '../controls/accelerator-location-chips/accelerator-location-chips.component';\r\nimport { RelatedLinkChipsComponent } from '../controls/related-link-chips/related-link-chips.component';\r\nimport { WorkerVerificationComponent } from '../controls/worker-verification/worker-verification.component';\r\nimport { ResourceAutocompleteComponent } from '../controls/resources/resource-autocomplete/resource-autocomplete.component';\r\nimport { FormTableComponent } from '../controls/form-table/form-table.component';\r\nimport { UserSelectComponent } from '../controls/user/user-select/user-select.component';\r\nimport { ResourceChipsComponent } from '../controls/resource-chips/resource-chips.component';\r\nimport { OtherSystemChipsComponent } from '../controls/other-system-chips/other-system-chips.component';\r\nimport { ExtraActionButtonComponent } from '../controls/checklist-components/extra-action-button/extra-action-button.component';\r\nimport { NormalInputDialogComponent } from '../controls/normal-input-dialog/normal-input-dialog.component';\r\nimport { DisapprovalReasonComponent } from '../controls/disapproval-reason/disapproval-reason.component';\r\nimport { APLCategoryAutocompleteComponent } from '../components/apl/apl-category-v2/controls/apl-category-autocomplete/apl-category-autocomplete.component';\r\nimport { APLGroupAutocompleteComponent } from '../components/apl/apl-category-v2/controls/apl-group-autocomplete/apl-group-autocomplete.component';\r\nimport { ProcedureAutocompleteComponent } from '../controls/procedure-autocomplete/procedure-autocomplete.component';\r\nimport { ActionItemEditComponent } from '../controls/catl/action-item/action-item-edit/action-item-edit.component';\r\nimport { ActionItemService } from '../controls/catl/action-item/action-item.service';\r\nimport { CommentsSummaryComponent } from '../controls/comments-summary/comments-summary.component';\r\nimport { UserAutocompletePopupComponent } from '../controls/user-autocomplete-popup/user-autocomplete-popup.component';\r\nimport { RejectDialogComponent } from '../controls/reject-dialog/reject-dialog.component';\r\nimport { ColorPickerComponent } from '../controls/color-picker/color-picker.component';\r\nimport { ChooseUsersComponent } from '../components/schedules/dialogs/choose-users/choose-users.component';\r\nimport { ChooseRolesComponent } from '../components/schedules/dialogs/choose-roles/choose-roles.component';\r\nimport { FileUploadV2Component } from '../controls/file-upload-v2/file-upload-v2.component';\r\nimport { RelatedLinkDocumentChipsComponent } from '../controls/related-link-document-chips/related-link-document-chips.component';\r\nimport { AddRelatedLinkDocumentComponent } from '../controls/add-related-link-document/add-related-link-document.component';\r\nimport { NotesComponent } from '../controls/notes/notes.component';\r\nimport { UserChipComponent } from '../components/apl/apl-category-v2/controls/user-chip/user-chip.component';\r\nimport { RoleChipComponent } from '../components/apl/apl-category-v2/controls/role-chip/role-chip.component';\r\nimport { RssTestShutterChipsComponent } from '../controls/rss-test-shutter-chips/rss-test-shutter-chips.component';\r\nimport { DatetimePickerComponent } from '../controls/datetime-picker/datetime-picker.component';\r\nimport { NgxMaterialTimepickerModule } from 'ngx-material-timepicker';\r\nimport { ResizableDirective } from '../common/directives/resizable.directive';\r\nimport { PvInfoComponent } from '../controls/pvinfo/pvinfo.component';\r\nimport { PvInfoDetailsComponent } from '../controls/pvinfo/pvinfo-details/pvinfo-details.component';\r\nimport { OperationalRestrictionsComponent } from '../components/catalogs/operational-restrictions/operational-restrictions.component';\r\nimport { CatalogHistoryNavigationComponent } from '../controls/catalog-history-navigation/catalog-history-navigation.component';\r\nimport { MatSliderModule } from '@angular/material/slider';\r\nimport { StripSpacesDirective } from '../common/directives/strip-spaces.directive';\r\nimport { OlogButtonComponent } from '../components/olog/olog-button/olog-button.component';\r\nimport { InitialsChipComponent } from '../controls/initials-chip/initials-chip.component';\r\nimport { TransactionLogComponent } from '../controls/transaction-log/transaction-log.component';\r\nimport { TransactionLogAmendmentsComponent } from '../controls/transaction-log/transaction-log-amendments/transaction-log-amendments.component';\r\nimport { TransactionLogApprovalsComponent } from '../controls/transaction-log/transaction-log-approvals/transaction-log-approvals.component';\r\nimport { EbMainS1Component } from '../components/eb/eb-main/eb-main-s1/eb-main-s1.component';\r\nimport { ChecklistComponentsModule } from '../controls/checklist-components/checklist-components.module';\r\nimport { PpstbMainS1Component } from '../components/ppstb/ppstb-main/ppstb-main-s1/ppstb-main-s1.component';\r\n\r\nconst appearance: MatFormFieldDefaultOptions = {\r\n appearance: 'outline'\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n RelatedLinkDocumentChipsComponent,\r\n AddRelatedLinkDocumentComponent,\r\n AddRelatedLinkComponent,\r\n UserAutocompletePopupComponent,\r\n UserChipComponent,\r\n RoleChipComponent,\r\n ColorPickerComponent,\r\n FileUploadV2Component,\r\n OverlayLoadingComponent,\r\n PartialOlogComponent,\r\n WorkerVerificationComponent,\r\n NotificationComponent,\r\n HighlightSearchPipe,\r\n FilterBoxComponent,\r\n CancelDialogComponent,\r\n TextareaDialogComponent,\r\n RestrictionAvailableAutocompleteComponent,\r\n FormRestrictionTableComponent,\r\n ConfirmMessageComponent,\r\n RelatedDocumentsComponent,\r\n RelatedLinkChipsComponent,\r\n AcceleratorLocationChipsComponent,\r\n ResourceAutocompleteComponent,\r\n FormTableComponent,\r\n UserSelectComponent,\r\n ResourceChipsComponent,\r\n OtherSystemChipsComponent,\r\n ExtraActionButtonComponent,\r\n NormalInputDialogComponent,\r\n DisapprovalReasonComponent,\r\n ActionItemEditComponent,\r\n RejectDialogComponent,\r\n APLCategoryAutocompleteComponent,\r\n APLGroupAutocompleteComponent,\r\n ProcedureAutocompleteComponent,\r\n CommentsSummaryComponent,\r\n ChooseUsersComponent,\r\n ChooseRolesComponent,\r\n NotesComponent,\r\n RssTestShutterChipsComponent,\r\n DatetimePickerComponent,\r\n ResizableDirective,\r\n PvInfoComponent,\r\n PvInfoDetailsComponent,\r\n OperationalRestrictionsComponent,\r\n CatalogHistoryNavigationComponent,\r\n StripSpacesDirective,\r\n OlogButtonComponent,\r\n InitialsChipComponent,\r\n TransactionLogComponent,\r\n TransactionLogApprovalsComponent,\r\n TransactionLogAmendmentsComponent,\r\n EbMainS1Component,\r\n PpstbMainS1Component\r\n ],\r\n imports: [\r\n CommonModule,\r\n BrowserModule,\r\n NgbModule,\r\n AppRoutingModule,\r\n BrowserAnimationsModule,\r\n MatMenuModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n HttpClientModule,\r\n ScrollingModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatTableModule,\r\n MatSortModule,\r\n MatPaginatorModule,\r\n MatChipsModule,\r\n MatIconModule,\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatListModule,\r\n MatProgressSpinnerModule,\r\n MatCardModule,\r\n MatRadioModule,\r\n MatStepperModule,\r\n MatSlideToggleModule,\r\n MatTabsModule,\r\n MatTooltipModule,\r\n MatGridListModule,\r\n MatProgressBarModule,\r\n DragDropModule,\r\n MatTreeModule,\r\n MatExpansionModule,\r\n MatSidenavModule,\r\n CommentsBoxModule,\r\n CommentsAndAttachmentsModule,\r\n ChecklistComponentsModule,\r\n NgxMaterialTimepickerModule,\r\n FormsModule,\r\n MatSliderModule,\r\n QuillModule.forRoot(),\r\n NgxsModule.forRoot(reducers, {\r\n developmentMode: config.production\r\n }),\r\n NgxsReduxDevtoolsPluginModule.forRoot(),\r\n ],\r\n exports: [\r\n RouterModule,\r\n RelatedLinkDocumentChipsComponent,\r\n AddRelatedLinkDocumentComponent,\r\n AddRelatedLinkComponent,\r\n UserChipComponent,\r\n RoleChipComponent,\r\n FileUploadV2Component,\r\n ColorPickerComponent,\r\n OverlayLoadingComponent,\r\n PartialOlogComponent,\r\n NotificationComponent,\r\n WorkerVerificationComponent,\r\n HighlightSearchPipe,\r\n FilterBoxComponent,\r\n CommentsBoxModule,\r\n CancelDialogComponent,\r\n TextareaDialogComponent,\r\n CommentsAndAttachmentsModule,\r\n RestrictionAvailableAutocompleteComponent,\r\n FormRestrictionTableComponent,\r\n ConfirmMessageComponent,\r\n RelatedDocumentsComponent,\r\n AcceleratorLocationChipsComponent,\r\n RelatedLinkChipsComponent,\r\n ResourceAutocompleteComponent,\r\n FormTableComponent,\r\n UserSelectComponent,\r\n ResourceChipsComponent,\r\n OtherSystemChipsComponent,\r\n ExtraActionButtonComponent,\r\n NormalInputDialogComponent,\r\n DisapprovalReasonComponent,\r\n ActionItemEditComponent,\r\n APLCategoryAutocompleteComponent,\r\n APLGroupAutocompleteComponent,\r\n ProcedureAutocompleteComponent,\r\n NotesComponent,\r\n RssTestShutterChipsComponent,\r\n DatetimePickerComponent,\r\n ResizableDirective,\r\n PvInfoComponent,\r\n PvInfoDetailsComponent,\r\n OperationalRestrictionsComponent,\r\n StripSpacesDirective,\r\n CatalogHistoryNavigationComponent,\r\n OlogButtonComponent,\r\n InitialsChipComponent,\r\n TransactionLogComponent,\r\n TransactionLogApprovalsComponent,\r\n TransactionLogAmendmentsComponent,\r\n EbMainS1Component,\r\n PpstbMainS1Component,\r\n ChecklistComponentsModule\r\n ],\r\n providers: [\r\n LocationsService,\r\n WorkFlowService,\r\n ActionItemService,\r\n {\r\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\r\n useValue: appearance\r\n },\r\n httpInterceptorProviders,\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class SharedModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { MessageBanner } from '../../components/messages/services/message-banner';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { MessageTypeEnum } from '../../components/messages/services/message-banner.enums';\r\nimport { MessageBannerService } from '../../components/messages/services/message-banner.service';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AlertService {\r\n\r\n private prevMessage?: string;\r\n\r\n toastrConfig = {\r\n timeOut: 3000,\r\n progressBar: false,\r\n closeButton: false,\r\n extendedTimeOut: 5000,\r\n easing: 'ease-in',\r\n enableHtml: true,\r\n newestOnTop: true,\r\n toastClass: 'ngx-toastr',\r\n positionClass: 'toast-top-right',\r\n preventDuplicates: true,\r\n disableTimeOut: false\r\n };\r\n\r\n constructor(\r\n private toastr: ToastrService,\r\n private mbs: MessageBannerService\r\n ) {\r\n }\r\n\r\n getConfig(timeOut?: number | null, banner?: boolean) {\r\n const config = utils.cloneDeep(this.toastrConfig);\r\n if (timeOut == -1) {\r\n config.disableTimeOut = true;\r\n config.closeButton = true;\r\n }\r\n else if (timeOut ?? 0 > 0) {\r\n config.timeOut = timeOut ?? 3000;\r\n }\r\n if (banner) {\r\n config.toastClass = 'ngx-toastr-banner';\r\n config.disableTimeOut = true;\r\n config.closeButton = true;\r\n config.positionClass = 'toast-center';\r\n }\r\n return config;\r\n }\r\n\r\n success(message?: string, title: string = \"Success!\", timeOut: number | null = null) {\r\n if (message)\r\n this.toastr.success(message, title, this.getConfig(timeOut));\r\n }\r\n\r\n warning(message?: string, title: string = \"Warning!\", timeOut: number | null = null) {\r\n if (message)\r\n this.toastr.warning(message, title, this.getConfig(timeOut));\r\n }\r\n\r\n info(message?: string, title: string = \"Info:\", timeOut: number | null = null) {\r\n if (message)\r\n this.toastr.info(message, title, this.getConfig(timeOut));\r\n }\r\n\r\n banner(message?: string, title: string = \"Info:\", timeOut: number | null = null) {\r\n if (message)\r\n this.toastr.info(message, title, this.getConfig(timeOut, true));\r\n }\r\n\r\n error(message?: string, title: string = \"Error!\", timeOut: number | null = null) {\r\n if (message)\r\n this.toastr.error(message, title, this.getConfig(timeOut));\r\n }\r\n\r\n defaultError() {\r\n this.toastr.error(this.getMessage('defaultErrorMessage').description, \"Error!\", this.getConfig());\r\n }\r\n\r\n getMessage(val: any): MessageBanner {\r\n if (typeof (val) === 'string')\r\n return this.mbs.get(val);\r\n return new MessageBanner();\r\n }\r\n\r\n message(msg?: string | MessageBanner, placeholders: MessagePlaceholder[] = [], type?: MessageTypeEnum, title?: string, timeout?: number) {\r\n if (!msg) return;\r\n let data: MessageBanner | undefined = undefined;\r\n if (typeof msg == 'string') {\r\n data = this.getMessage(msg);\r\n }\r\n else data = msg;\r\n if (data) {\r\n let description = data?.description ?? msg;\r\n data.type = type ?? data?.type;\r\n data.timeout = timeout ?? data.timeout;\r\n\r\n placeholders.map(placeholder => description = description?.replace(placeholder.placeholder, placeholder.value ?? ''));\r\n\r\n if (description != this.prevMessage) {\r\n if (description)\r\n switch (data.type) {\r\n case MessageTypeEnum.Info:\r\n this.info(description, title ?? MessageTypeEnum[data?.type], data.timeout ? data.timeout * 1000 : null);\r\n break;\r\n case MessageTypeEnum.Warning:\r\n this.warning(description, title ?? MessageTypeEnum[data?.type], data.timeout ? data.timeout * 1000 : null);\r\n break;\r\n case MessageTypeEnum.Success:\r\n this.success(description, title ?? MessageTypeEnum[data?.type], data.timeout ? data.timeout * 1000 : null);\r\n break;\r\n case MessageTypeEnum.Error:\r\n default:\r\n this.error(description, title ?? 'Error', data.timeout ? data.timeout * 1000 : null);\r\n break;\r\n }\r\n this.prevMessage = description;\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.prevMessage = undefined;\r\n }, 2000);\r\n }\r\n }\r\n }\r\n\r\n // This is the method used from AlertService in the Backend\r\n alert(data: MessageBanner) {\r\n const description = data.description;\r\n const title = data.name;\r\n\r\n if (title + description != this.prevMessage) {\r\n if (description)\r\n switch (data.type) {\r\n case MessageTypeEnum.Info:\r\n this.info(description, title, data.timeout);\r\n break;\r\n case MessageTypeEnum.Warning:\r\n this.warning(description, title, data.timeout);\r\n break;\r\n case MessageTypeEnum.Success:\r\n this.success(description, title, data.timeout);\r\n break;\r\n case MessageTypeEnum.Error:\r\n default:\r\n this.error(description, title, data.timeout);\r\n break;\r\n }\r\n this.prevMessage = title + description;\r\n }\r\n else {\r\n setTimeout(() => {\r\n this.prevMessage = undefined;\r\n }, 2000);\r\n }\r\n }\r\n\r\n clear() {\r\n this.toastr.clear();\r\n }\r\n\r\n}\r\n","import { MessageBanner } from \"src/app/components/messages/services/message-banner\";\r\n\r\nexport class Alert {\r\n static readonly type = '[Alert] Alert';\r\n constructor(public item: MessageBanner) { }\r\n}\r\n\r\nexport class OlogAlert {\r\n static readonly type = '[Alert] OlogAlert';\r\n constructor(public response: MessageBanner) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { Alert, OlogAlert } from './alert.action';\r\nimport { AlertService } from '../alert.service';\r\nimport { XMLService } from '../../xml/xml-service.service';\r\n\r\nexport class AlertStateModel {\r\n}\r\n\r\n@State({\r\n name: 'Alert'\r\n})\r\n@Injectable()\r\nexport class AlertState {\r\n constructor(\r\n private service: AlertService,\r\n private xmlService: XMLService,\r\n ) { }\r\n\r\n @Selector()\r\n static read() {\r\n }\r\n\r\n @Action(Alert)\r\n alert({ }: StateContext, { item }: Alert) {\r\n this.service.alert(item);\r\n }\r\n\r\n @Action(OlogAlert)\r\n ologAlert({ }: StateContext, { response }: OlogAlert) {\r\n const message = this.xmlService.parseXml(response.description).root;\r\n\r\n const fields = [\r\n { label: 'Email to', value: message.entry.cc },\r\n { label: 'Subject', value: message.entry.subject },\r\n { label: 'Details', value: message.entry.details },\r\n { label: 'Categories', value: message.entry.categories.length ? message.entry.categories.join(', ') : message.entry.categories },\r\n { label: 'Highlight', value: message.entry.highlight },\r\n { label: 'Level', value: message.entry.level }\r\n ];\r\n\r\n const htmlMessage = fields\r\n .map(field => `

    ${field.label}: ${field.value}

    `)\r\n .join('');\r\n\r\n this.service.banner(htmlMessage, 'Test Olog Post:', 15000);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as AlertActions from './alert.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AlertStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.ALERT, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new AlertActions.Alert(data.obj));\r\n break;\r\n case SignalRAction.Olog:\r\n this.store.dispatch(new AlertActions.OlogAlert(data.obj));\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { catchError, map } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\nimport { Store } from '@ngxs/store';\r\nimport { SetCurrentUser } from 'src/app/store/actions';\r\nimport { User } from '../../components/catalogs/user-catalog/services/user';\r\nimport { CookieService } from 'ngx-cookie-service';\r\nimport { AuthenticationResponse } from 'src/app/common/models/authentication';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { AlertService } from '../alert/alert.service';\r\nimport { MessagePlaceholder } from 'src/app/common/models/placeholder';\r\nimport { MessageTypeEnum } from 'src/app/components/messages/services/message-banner.enums';\r\n\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AuthenticationService {\r\n\r\n private cookieSubject = new Subject();\r\n private cookieName = '_shibobj';\r\n private cookieValue?: string;\r\n private intervalId?: any;\r\n constructor(\r\n private http: HttpClient,\r\n private store: Store,\r\n private alert: AlertService,\r\n private cookieService: CookieService,\r\n ) {\r\n if (document.location.hostname === environment.productionEnvironment) {\r\n // Initialize the cookie value\r\n this.cookieValue = this.cookieService.get(this.cookieName);\r\n this.cookieSubject.next(this.cookieValue);\r\n\r\n // Poll for changes in the cookie value every 5 seconds (adjust as needed)\r\n this.intervalId = setInterval(() => {\r\n const newValue = this.cookieService.get(this.cookieName);\r\n const token = localStorage.getItem('Token');\r\n\r\n if (token && !environment.token)\r\n environment.token = token;\r\n if (environment.token && !token)\r\n this.logout();\r\n\r\n if (newValue !== this.cookieValue) {\r\n // If the value has changed, emit the new value to subscribers\r\n this.cookieValue = newValue;\r\n this.cookieSubject.next(this.cookieValue);\r\n if (!this.cookieValue)\r\n clearInterval(this.intervalId);\r\n }\r\n }, 5000); // 5000 milliseconds = 5 seconds\r\n }\r\n }\r\n\r\n getMe() {\r\n return this.http.get(environment.urls.baseApiUrl + '/Authentication');\r\n }\r\n\r\n loginMFA(email: string) {\r\n const obj = {\r\n emailAddress: email\r\n };\r\n return this.http.patch(environment.urls.baseApiUrl + '/Authentication', obj)\r\n .pipe(map(response => {\r\n // login successful if there's a jwt token in the response\r\n if (response.token) {\r\n // store user details and jwt token in local storage to keep user logged in between page refreshes\r\n this.store.dispatch(new SetCurrentUser(response.token));\r\n this.showMessage(response);\r\n }\r\n return response;\r\n }));\r\n }\r\n\r\n authenticate(user: User): Observable {\r\n return this.http.post(environment.urls.baseApiUrl + '/Authentication', user)\r\n .pipe(map(response => {\r\n if (response.code == 202 && response.token) {\r\n // store user details and jwt token in local storage to keep user logged in between page refreshes\r\n this.store.dispatch(new SetCurrentUser(response.token));\r\n }\r\n return response;\r\n }),\r\n catchError(this.handleError)\r\n );\r\n }\r\n\r\n showMessage(response: AuthenticationResponse) {\r\n this.alert.message('Hello {name}
    Welcome to ASCC!', [new MessagePlaceholder('{name}', response.user.name)], MessageTypeEnum.Success, 'Successful Login!');\r\n }\r\n\r\n logout() {\r\n environment.token = '';\r\n this.cookieService.delete('_shibobj', '/');\r\n localStorage.clear();\r\n this.store.dispatch(new SetCurrentUser(null));\r\n }\r\n\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error.message); // for demo purposes only\r\n return Promise.reject(error.message || error);\r\n }\r\n\r\n getCookieValue() {\r\n return this.cookieSubject.asObservable();\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { PrivilegeEnum } from '../role-privilege/privilege-enum';\r\nimport { RoleToken, Token } from './token-structure';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n// import { Token, RoleToken } from '../_interface/token-structure';\r\n// import { PrivilegeEnum } from './RolePrivilege/privilege-enum';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TokenInfoService {\r\n\r\n constructor() { }\r\n\r\n getFullInfo(): any {\r\n const token = localStorage.getItem('Token');\r\n if (!token) {\r\n return null;\r\n }\r\n const data = atob(token.split('.')[1]);\r\n return data;\r\n }\r\n\r\n getRoles(): RoleToken[] | null {\r\n const token = localStorage.getItem('Token');\r\n if (!token) {\r\n return null;\r\n }\r\n const data: Token = JSON.parse(atob(token.split('.')[1]));\r\n try {\r\n return data.role as RoleToken[];\r\n } catch (e) {\r\n return null;\r\n }\r\n }\r\n\r\n getPrivileges(): PrivilegeEnum[] | null {\r\n const token = localStorage.getItem('Token');\r\n if (!token) {\r\n return null;\r\n }\r\n const data: Token = JSON.parse(atob(token.split('.')[1]));\r\n return data.privilege?.map(val => {\r\n const result: number = +val;\r\n return result;\r\n }) as PrivilegeEnum[];\r\n }\r\n\r\n hasRole(roleCode: string): boolean | null {\r\n const token = localStorage.getItem('Token');\r\n if (!token) {\r\n return null;\r\n }\r\n const data: Token = JSON.parse(atob(token.split('.')[1]));\r\n const roles = data.role.map(r => utils.JSONparse(r.toString())) as RoleToken[];\r\n if (roles?.find(val => val.code == roleCode)) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n\r\n }\r\n\r\n getRole(roleCode: string): RoleToken | null {\r\n const token = localStorage.getItem('Token');\r\n if (!token) {\r\n return null;\r\n }\r\n const data: Token = JSON.parse(atob(token.split('.')[1]));\r\n const roles = data.role.map(r => utils.JSONparse(r.toString())) as RoleToken[];\r\n return roles.find(val => val.code === roleCode) ?? null;\r\n }\r\n\r\n hasPrivilege(privilege: PrivilegeEnum): boolean | null {\r\n const token = localStorage.getItem('Token');\r\n if (!token) {\r\n return null;\r\n }\r\n const data: Token = JSON.parse(atob(token.split('.')[1]));\r\n if (typeof (data.privilege) === 'string') {\r\n const y: number = +data.privilege;\r\n if (y === privilege) {\r\n return true;\r\n }\r\n } else {\r\n\r\n const allPrivilage = data.privilege?.map(val => {\r\n const result: number = +val;\r\n return result;\r\n }) as PrivilegeEnum[];\r\n if (allPrivilage) {\r\n return allPrivilage.includes(privilege);\r\n }\r\n }\r\n return false;\r\n }\r\n}\r\n","import { Injectable, Injector } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\nimport { YesNoDialogComponent } from 'src/app/controls/yes-no-dialog/yes-no-dialog.component';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DialogService extends BaseService {\r\n\r\n constructor(\r\n protected override injector: Injector,\r\n ) {\r\n super(injector, '');\r\n }\r\n\r\n /**\r\n * Opens a confirmation dialog with a customizable message and icon.\r\n * The dialog displays an action (e.g., \"delete\") and an item to be acted upon.\r\n * The method returns an observable that emits the result once the dialog is closed.\r\n *\r\n * @param {string} action - The action being confirmed (e.g., \"delete\", \"update\").\r\n * @param {string} item - The item that the action will be performed on, displayed in the message.\r\n * @param {string} icon - The icon that will be displayed on the dialog: ['stop', 'question', 'warn'].\r\n * @returns {Observable} - An observable that emits the result of the dialog (e.g., whether the user confirmed or canceled).\r\n */\r\n ConfirmationDialog(action: string, item: string, icon: string = 'stop'): Observable {\r\n const message = this.getMessage(\"GenericActionConfirmation\")\r\n .description?.replace('{action}', action)\r\n .replace('{item}', item);\r\n\r\n const dialogRef = this.dialog.open(YesNoDialogComponent, {\r\n width: '500px',\r\n data: {\r\n message: message,\r\n icon,\r\n },\r\n });\r\n\r\n return dialogRef.afterClosed(); // Return observable\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from '../../../environments/environment';\r\nimport { DocumentType, Document } from './documents';\r\nimport { DocumentID } from './store/documents.action';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DocumentsService {\r\n\r\n baseUrl = environment.urls.baseApiUrl;\r\n apiDocuments = this.baseUrl + '/Documents';\r\n apiDocumentTypes = this.baseUrl + '/DocumentTypes';\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n getDocument(documentID: DocumentID) {\r\n return this.http.patch(this.apiDocuments, documentID);\r\n }\r\n\r\n getDocuments(): Observable {\r\n return this.http.get(this.apiDocuments);\r\n }\r\n\r\n getRelatedDocuments(id?: number): Observable {\r\n if (id) {\r\n return this.http.get(this.apiDocuments + '?id=' + id);\r\n } else {\r\n return this.http.get(this.apiDocuments);\r\n }\r\n }\r\n\r\n getDocumentTypes(): Observable {\r\n return this.http.get(this.apiDocumentTypes);\r\n }\r\n\r\n createDocumentType(documentTypeToCreate: DocumentType): Observable {\r\n return this.http.post(this.apiDocumentTypes, documentTypeToCreate);\r\n }\r\n\r\n updateDocumentType(documentTypeId: number, documentTypeToUpdate: DocumentType): Observable {\r\n return this.http.put(this.apiDocumentTypes + '/' + documentTypeId, documentTypeToUpdate);\r\n }\r\n\r\n delete(id: number) {\r\n return this.http.delete(this.apiDocumentTypes + '/' + id);\r\n }\r\n\r\n getCategoryName(documentType: DocumentType) {\r\n if (documentType.id == 2 || documentType.id == 11) return 'Independent Checklist'; // KE or ABSI\r\n else if (documentType.category == 1) return 'Form';\r\n else return 'Generic Checklist';\r\n }\r\n\r\n getCategoryClass(documentType: DocumentType) {\r\n if (documentType.id == 2 || documentType.id == 11) return 'yellow'; // KE or ABSI\r\n else if (documentType.category == 1) return 'blue';\r\n else return 'green';\r\n }\r\n}\r\n","import { ChecklistExecStatus, TemplateRolePermission, TemplateType } from \"src/app/components/checklists/checklists\";\r\nimport { Location } from \"../../components/catalogs/beamline-catalog/resource/resources\";\r\nimport { OlogCategory } from \"src/app/components/catalogs/document-type/services/olog-category\";\r\nimport { OlogEmail } from \"src/app/components/catalogs/document-type/services/olog-email\";\r\nimport { FormStatus } from \"../forms/form-status\";\r\nimport { StatusType } from \"src/app/common/enumerations/enumerations\";\r\n\r\n// export interface IDocument {\r\n// id: number;\r\n// name: string;\r\n// description: string;\r\n// status: number;\r\n// statusName?: string;\r\n// type: number;\r\n// code: string;\r\n// createdOn: Date;\r\n// createdBy: number;\r\n// locations: docLocations[];\r\n// }\r\n\r\nexport interface Document {\r\n id: number;\r\n formID?: number;\r\n serialNo?: string;\r\n description?: string;\r\n type?: number | null;\r\n status?: number;\r\n statusName?: string;\r\n locationIDs?: string;\r\n locationNames?: string;\r\n code?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n createdByName?: string;\r\n requesterID?: number;\r\n requesterName?: string;\r\n updatedOn?: Date | null;\r\n updatedBy?: number | null;\r\n gen1?: string;\r\n documentType?: DocumentType;\r\n locations?: Location[];\r\n cssClass?: string;\r\n statusType?: StatusType;\r\n\r\n category?: DocumentCategory;\r\n formStatus?: FormStatus;\r\n disableLink?: boolean;\r\n}\r\n\r\nexport interface RelatedDocument {\r\n id?: number;\r\n originalDocumentId?: number;\r\n originalDocumentTypeId?: number;\r\n relatedDocumentId?: number;\r\n relatedDocumentStatus?: number;\r\n relatedDocumentTypeId?: number;\r\n relatedDocumentSerialNo?: string;\r\n\r\n cssClass?: string;\r\n disabled?: boolean; // used in SCF\r\n}\r\n\r\nexport class docLocations {\r\n id!: number;\r\n name!: string;\r\n type!: number;\r\n}\r\n\r\nexport interface DocumentType {\r\n id: number;\r\n name?: string;\r\n description?: string;\r\n status?: number;\r\n type?: number;\r\n code?: string;\r\n createdOn?: Date;\r\n createdBy?: number;\r\n updatedOn?: Date;\r\n updatedBy?: number;\r\n documentTemplateId?: number;\r\n showInCatalog?: boolean;\r\n checklistExecStatuses?: ChecklistExecStatus[];\r\n templateRolePermissions?: TemplateRolePermission[];\r\n category?: DocumentCategory;\r\n\r\n documents?: Document[];\r\n ologCategories?: OlogCategory[];\r\n ologEmails?: OlogEmail[];\r\n templateTypes?: TemplateType[];\r\n order?: number;\r\n visible?: boolean;\r\n}\r\n\r\n\r\nexport enum DocumentCategory {\r\n Form = 1,\r\n Checklist = 2,\r\n Review = 3,\r\n ChecklistTemplate = 4,\r\n ABSITemplate = 5,\r\n KETemplate = 6\r\n}\r\n","import { FormType } from \"src/app/common/enumerations/enumerations\";\r\nimport { Document } from \"../documents\";\r\n\r\nexport class DocumentsRefresh {\r\n static readonly type = '[Documents] Refresh';\r\n}\r\n\r\nexport class DocumentsRequestRefresh {\r\n static readonly type = '[Documents] RequestRefresh';\r\n constructor(public item: DocumentID) { }\r\n}\r\n\r\nexport class DocumentsCreate {\r\n static readonly type = '[Documents] Create';\r\n\r\n constructor(public item: Document) { }\r\n}\r\n\r\nexport class DocumentsUpdate {\r\n static readonly type = '[Documents] Update';\r\n constructor(public id: number, public item: Document) { }\r\n}\r\n\r\nexport class DocumentsUpdateAll {\r\n static readonly type = '[Documents] UpdateAll';\r\n constructor(public data: Document[]) { }\r\n}\r\n\r\nexport class DocumentsDelete {\r\n static readonly type = '[Documents] Delete';\r\n constructor(public item: DocumentID) { }\r\n}\r\n\r\n\r\nexport interface DocumentID {\r\n catgegory: DocumentCategory;\r\n formType: FormType;\r\n id: number;\r\n}\r\n\r\nexport enum DocumentCategory {\r\n Form = 1,\r\n Checklist = 2,\r\n Review = 3\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext, Store } from '@ngxs/store';\r\nimport { DocumentsCreate, DocumentsDelete, DocumentsRefresh, DocumentsUpdate, DocumentsRequestRefresh, DocumentsUpdateAll } from './documents.action';\r\nimport { Document } from '../documents';\r\nimport { DocumentsService } from '../documents.service';\r\n\r\n\r\nexport class DocumentsStateModel {\r\n data: Document[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Documents',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class DocumentsState {\r\n constructor(\r\n private _service: DocumentsService,\r\n private store: Store\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: DocumentsStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(DocumentsRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getDocuments().subscribe(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(DocumentsRequestRefresh)\r\n refreshById({ getState, patchState }: StateContext, { item }: DocumentsRequestRefresh) {\r\n this._service.getDocument(item).subscribe(\r\n data => {\r\n const state = getState();\r\n if (data.id) {\r\n const index = state.data.map(x => x.id).indexOf(data.id);\r\n\r\n if (index >= 0)\r\n state.data.splice(index, 1);\r\n\r\n patchState({\r\n data: [...state.data, data]\r\n });\r\n }\r\n else {\r\n this.store.dispatch(new DocumentsDelete(item))\r\n }\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(DocumentsCreate)\r\n create({ getState, patchState }: StateContext, { item }: DocumentsCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(DocumentsUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: DocumentsUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(DocumentsUpdateAll)\r\n updateAll({ patchState }: StateContext, { data }: DocumentsUpdateAll) {\r\n patchState({ data });\r\n }\r\n\r\n @Action(DocumentsDelete)\r\n delete({ getState, patchState }: StateContext, { item }: DocumentsDelete) {\r\n const state = getState();\r\n const index = state.data.findIndex(d => d.formID == item.id && d.type == item.formType && d.category == item.catgegory);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({ data: state.data });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as DocumentsActions from './documents.action';\r\nimport { Channels } from 'src/app/store/channels';\r\nimport { GeneralSignalRResponse } from '../../signal-r/general-signal-r-response';\r\nimport { SignalRService } from '../../signal-r/signal-r.service';\r\nimport { SignalRAction } from '../../signal-r/signalr-enums';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DocumentsStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new DocumentsActions.DocumentsRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.DOCUMENTS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new DocumentsActions.DocumentsCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new DocumentsActions.DocumentsUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new DocumentsActions.DocumentsDelete(data.obj));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new DocumentsActions.DocumentsRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new DocumentsActions.DocumentsRequestRefresh(data.obj));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","export default class FileV2 {\r\n public id!: number;\r\n public name!: string;\r\n public internalName!: string;\r\n public size!: number;\r\n public url!: string;\r\n public extension!: string;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FileV2Service {\r\n private url: string = environment.urls.baseApiUrl + '/FileV2';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n createFiles(data: FormData) {\r\n const result = this.http.post(environment.urls.baseApiUrl + '/FileV2', data)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n\r\n return result;\r\n }\r\n\r\n delete(id: number): Observable {\r\n return this.http.delete(this.url + '/' + id.toString());\r\n }\r\n\r\n obtainFile(id: number): Observable {\r\n return this.http.get(this.url + '/' + id.toString());\r\n }\r\n\r\n private handleError(error: any): Promise {\r\n\r\n console.error('An error occurred', error); // for demo purposes only\r\n return Promise.reject(error.message || error);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { FileV2Service } from './file-v2.service';\r\nimport FileV2 from './file-v2.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ImageUploadService {\r\n\r\n constructor(\r\n private file2Service: FileV2Service\r\n ) { }\r\n\r\n async uploadImagesToServer(text: string, path: string): Promise {\r\n if (text === undefined) {\r\n return null;\r\n }\r\n\r\n const html = new DOMParser().parseFromString(text, 'text/html');\r\n const images = Array.from(html.images)\r\n .map(i => i.src)\r\n .filter(i => i.includes('data:image'));\r\n\r\n if (images.length > 0) {\r\n const result = await this.processImages(images, path, text);\r\n console.log(result);\r\n return result as string;\r\n }\r\n\r\n return text;\r\n }\r\n\r\n\r\n async processImages(images: any[], path: string, text: any) {\r\n return new Promise(async (resolve) => {\r\n if (images.length === 0) {\r\n resolve(text);\r\n return;\r\n }\r\n\r\n const imageProcessingPromises = images.map(async (image: any) => {\r\n const base64 = image.split(',')[1];\r\n const imageType = image.split(',')[0].replace('data:', '').replace(';base64', '');\r\n const imageBlob = this.dataURItoBlob(base64, imageType);\r\n const imageExt = 'img.' + imageType.split('/')[1];\r\n const imageFile = new File([imageBlob], imageExt, { type: imageType });\r\n\r\n const file: FileV2 = await this.upload(imageFile, path);\r\n text = text.replace(image, file.url);\r\n });\r\n\r\n await Promise.all(imageProcessingPromises);\r\n resolve(text);\r\n });\r\n }\r\n\r\n upload(file: File, path: string): any {\r\n return new Promise((resolve) => {\r\n const form = new FormData();\r\n form.append('file', file);\r\n form.append('path', path + file.name);\r\n this.file2Service.createFiles(form).toPromise().then(\r\n (file: FileV2) => {\r\n resolve(file);\r\n },\r\n error => {\r\n console.error(error);\r\n resolve(error);\r\n }\r\n );\r\n });\r\n }\r\n\r\n dataURItoBlob(data: string, type: any) {\r\n const byteString = window.atob(data);\r\n const arrayBuffer = new ArrayBuffer(byteString.length);\r\n const int8Array = new Uint8Array(arrayBuffer);\r\n for (let i = 0; i < byteString.length; i++) {\r\n int8Array[i] = byteString.charCodeAt(i);\r\n }\r\n const blob = new Blob([int8Array], { type });\r\n return blob;\r\n }\r\n}\r\n","import { Restriction } from \"src/app/controls/restrictions/services/restriction\";\r\n\r\nexport class FormRestriction {\r\n public id?: number;\r\n public formID?: number | null;\r\n public restrictionID?: number;\r\n public text?: string | null;\r\n public restriction?: Restriction;\r\n public hilite?: boolean | null;\r\n}\r\n\r\nexport class FormRestrictionSave {\r\n public id?: number;\r\n public formID?: number | null;\r\n public restrictionID?: number;\r\n public text?: string;\r\n}\r\n\r\nexport class FormRestrictionHandler {\r\n static toSave(formRestriction: FormRestriction): FormRestrictionSave {\r\n var save = new FormRestrictionSave();\r\n\r\n save.id = formRestriction.id;\r\n save.formID = formRestriction.formID;\r\n save.restrictionID = formRestriction.restrictionID;\r\n save.text = formRestriction.text ?? '';\r\n\r\n return save;\r\n }\r\n}\r\n","import { FormStatusEnum } from \"src/app/common/enumerations/enumerations\";\r\n\r\nexport class FormStatus {\r\n public id!: number;\r\n public name: string;\r\n public description!: string;\r\n public code!: string;\r\n public cancelStatus: boolean;\r\n public recycleSerialOnCancel: boolean;\r\n public closedStatus: boolean;\r\n public editing: boolean;\r\n public amendment: boolean;\r\n public activeWork: boolean;\r\n public hidden: boolean;\r\n public color: string;\r\n\r\n constructor() {\r\n this.id = FormStatusEnum.New;\r\n this.name = 'New';\r\n this.cancelStatus = false;\r\n this.recycleSerialOnCancel = false;\r\n this.closedStatus = false;\r\n this.editing = true;\r\n this.amendment = false;\r\n this.activeWork = false;\r\n this.hidden = false;\r\n this.color = 'yellow';\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { FormVersionSave, FormVersion } from './form-version';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FormVersionService {\r\n url = environment.urls.baseApiUrl;\r\n page = '/FormVersion';\r\n\r\n constructor(\r\n public http: HttpClient,\r\n ) { }\r\n\r\n update(formVersion: FormVersionSave): Observable {\r\n return this.http.put(this.url + this.page, formVersion);\r\n }\r\n\r\n read(id: number): Observable {\r\n return this.http.get(this.url + this.page + '/' + id.toString());\r\n }\r\n\r\n readActiveByForm(formID: number): Observable {\r\n return this.http.get(this.url + this.page + '/Active/Form/' + formID.toString());\r\n }\r\n\r\n newVersion(id: number): Observable {\r\n return this.http.put(this.url + this.page + '/NewVersion/' + id.toString(), null);\r\n }\r\n}\r\n","import { FormType } from \"src/app/common/enumerations/enumerations\";\r\nimport { EB2, EB2Save, EB2Handler } from \"src/app/components/eb/eb\";\r\nimport { User } from \"../../components/catalogs/user-catalog/services/user\";\r\nimport { FormStatus } from \"./form-status\";\r\nimport { PPSTB, PPSTBHandler, PPSTBSave } from \"src/app/components/ppstb/ppstb\";\r\n\r\nexport class FormVersion {\r\n public id!: number;\r\n public version!: number;\r\n public active!: boolean;\r\n public description!: string;\r\n public formID?: number;\r\n public statusID!: number;\r\n public previousVersionID?: number;\r\n public operatorInitiatingFormID!: number;\r\n public requesterID?: number;\r\n public cancelReason!: string;\r\n public disapprovalReason!: string;\r\n public createdBy?: number;\r\n public createdOn?: Date;\r\n public updatedBy?: number;\r\n public updatedOn?: Date;\r\n public status: FormStatus;\r\n public previousVersion?: FormVersion;\r\n public ppstb?: PPSTB;\r\n public eB2?: EB2;\r\n public operatorInitiatingForm: User;\r\n public requester: User;\r\n public createdByUser!: User;\r\n public updatedByUser!: User;\r\n public systemAffected? = '';\r\n\r\n constructor(type?: FormType) {\r\n if (type != null) {\r\n switch (type) {\r\n case FormType.PPSTB:\r\n this.ppstb = new PPSTB();\r\n break;\r\n\r\n case FormType.EBF:\r\n this.eB2 = new EB2();\r\n break;\r\n }\r\n }\r\n this.operatorInitiatingForm = new User();\r\n this.requester = new User();\r\n this.status = new FormStatus();\r\n this.statusID = 0;\r\n }\r\n}\r\n\r\nexport class FormVersionSave {\r\n public id!: number;\r\n public version!: number;\r\n public active!: boolean;\r\n public description!: string;\r\n public formID?: number;\r\n public statusID!: number;\r\n public previousVersionID?: number;\r\n public operatorInitiatingFormID!: number;\r\n public requesterID?: number;\r\n public ppstb: PPSTBSave = new PPSTBSave;\r\n public eB2: EB2Save = new EB2Save;\r\n\r\n constructor(type: FormType | null) {\r\n switch (type) {\r\n case FormType.PPSTB:\r\n this.ppstb = new PPSTBSave();\r\n break;\r\n\r\n case FormType.EBF:\r\n this.eB2 = new EB2Save();\r\n break;\r\n }\r\n }\r\n}\r\n\r\nexport class FormVersionHandler {\r\n static toSave(formVersion: FormVersion): FormVersionSave {\r\n const save = new FormVersionSave(null);\r\n\r\n save.id = formVersion.id;\r\n save.version = formVersion.version;\r\n save.active = formVersion.active;\r\n save.description = formVersion.description;\r\n save.formID = formVersion.formID;\r\n save.statusID = formVersion.statusID;\r\n save.previousVersionID = formVersion.previousVersionID;\r\n save.operatorInitiatingFormID = formVersion.operatorInitiatingFormID;\r\n save.requesterID = formVersion.requesterID;\r\n if (formVersion.ppstb != null) {\r\n save.ppstb = PPSTBHandler.toSave(formVersion.ppstb);\r\n }\r\n if (formVersion.eB2 != null) {\r\n save.eB2 = EB2Handler.toSave(formVersion.eB2);\r\n }\r\n\r\n return save;\r\n }\r\n}\r\n","import { FormType } from \"src/app/common/enumerations/enumerations\";\r\nimport { User } from \"../../components/catalogs/user-catalog/services/user\";\r\nimport { FormVersion, FormVersionSave, FormVersionHandler } from \"./form-version\";\r\nimport { SequenceNumber } from \"./sequence-number\";\r\nimport { WFTableResource } from \"src/app/components/workflow/workflow\";\r\n\r\nexport class Form {\r\n id!: number;\r\n type!: FormType;\r\n sequenceNumberID?: number;\r\n date?: Date;\r\n wfTableID?: number;\r\n wfTable?: WFTableResource;\r\n createdBy?: number;\r\n createdOn?: Date;\r\n updatedBy?: number;\r\n updatedOn?: Date;\r\n sequenceNumber: SequenceNumber = new SequenceNumber;\r\n formVersion: FormVersion;\r\n editingUntil?: Date;\r\n editingById?: number | null;\r\n editingBy?: User;\r\n createdByUser?: User;\r\n updatedByUser?: User;\r\n description?: string;\r\n retrievedBy?: User | null;\r\n\r\n constructor(type: FormType) {\r\n this.type = type;\r\n this.formVersion = new FormVersion(type);\r\n }\r\n}\r\n\r\nexport class FormSave {\r\n id?: number;\r\n type: FormType;\r\n date?: Date;\r\n formVersion: FormVersionSave;\r\n sequenceNumber!: SequenceNumber;\r\n\r\n constructor(type: FormType) {\r\n this.type = type;\r\n this.formVersion = new FormVersionSave(type);\r\n }\r\n}\r\n\r\nexport class FormHandler {\r\n static toSave(form?: Form | null): FormSave | null {\r\n if (form) {\r\n const save = new FormSave(form.type);\r\n\r\n save.id = form.id <= 0 ? 0 : form.id;\r\n save.type = form.type;\r\n save.date = form.date;\r\n save.formVersion = FormVersionHandler.toSave(form.formVersion);\r\n save.sequenceNumber = form.sequenceNumber;\r\n return save;\r\n }\r\n return null;\r\n }\r\n}\r\n","export class SequenceNumber {\r\n public id!: number;\r\n public sequenceID!: number;\r\n public counter!: number;\r\n public year!: number;\r\n public number!: string;\r\n public inUse!: boolean;\r\n}\r\n","\r\nimport { HttpErrorResponse, HttpHeaders, HttpClient } from '@angular/common/http';\r\nimport { throwError, Observable, Subject } from 'rxjs';\r\nimport { environment } from '../../environments/environment';\r\nimport { catchError } from 'rxjs/operators';\r\n\r\nexport abstract class GenericHttpService {\r\n\r\n protected componentMethodCallSource = new Subject();\r\n componentMethodCalled$ = this.componentMethodCallSource.asObservable();\r\n\r\n protected rootURL: string;\r\n protected genericMsgError: string;\r\n protected httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n }),\r\n observe: 'body' as const,\r\n };\r\n\r\n constructor(\r\n private httpClient: HttpClient,\r\n private endpoint: string\r\n ) {\r\n this.rootURL = environment.urls.baseApiUrl + this.endpoint;\r\n this.genericMsgError = environment.messages.genericError;\r\n }\r\n\r\n create(data: T): Observable {\r\n return this.httpClient.post(this.rootURL, data, this.httpOptions).pipe(catchError(e => this.handleError(e)));\r\n }\r\n\r\n readAll(): Observable {\r\n return this.httpClient.get(this.rootURL, this.httpOptions).pipe(catchError(e => this.handleError(e)));\r\n }\r\n\r\n read(id: K): Observable {\r\n const url = this.rootURL + '/' + id;\r\n return this.httpClient.get(url, this.httpOptions).pipe(catchError(e => this.handleError(e)));\r\n }\r\n\r\n update(data: T): Observable {\r\n return this.httpClient.put(this.rootURL, data, this.httpOptions).pipe(catchError(e => this.handleError(e)));\r\n }\r\n\r\n delete(id: K): Observable {\r\n const url = this.rootURL + '/' + id;\r\n return this.httpClient.delete(url, this.httpOptions).pipe(catchError(e => 'Delete: ' + id));\r\n }\r\n\r\n public handleError(error: HttpErrorResponse) {\r\n let result: string = '';\r\n if (error.error instanceof ErrorEvent) {\r\n console.error('An error occurred:', error.error.message);\r\n } else {\r\n result = '';\r\n if (error.message) {\r\n result += ' msg: ' + error.message + '\\n';\r\n }\r\n if (error.error) {\r\n result += 'full error: ' + JSON.stringify(error.error);\r\n if (error.error.result) {\r\n result += ' result: ' + error.message + '\\n';\r\n }\r\n if (error.error.message) {\r\n result += ' err msg: ' + error.error.message + '\\n';\r\n }\r\n }\r\n }\r\n if (typeof error?.error === 'string') {\r\n this.callComponentMethod(error.error);\r\n } else {\r\n this.callComponentMethod(this.genericMsgError);\r\n }\r\n console.log('Error in handler ');\r\n console.error(result);\r\n return throwError(this.genericMsgError);\r\n }\r\n\r\n // Service message commands\r\n callComponentMethod(error: string) {\r\n this.componentMethodCallSource.next(error);\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\nimport { TransactionLog } from './transaction-logs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionLogService {\r\n constructor(private _http: HttpClient) {\r\n }\r\n\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error);\r\n return Promise.reject(error.message || error);\r\n }\r\n\r\n public Post(log: TransactionLog) {\r\n var result = this._http.post(environment.urls.baseApiUrl + '/TransactionLogs', log)\r\n .pipe(\r\n catchError(this.handleError)\r\n );\r\n return result;\r\n }\r\n\r\n public UpdateStatus(logID: number) {\r\n return this._http.put(environment.urls.baseApiUrl + '/TransactionLogs/' + logID, null);\r\n }\r\n\r\n public GetBySerialNo(serialNo: string) {\r\n return this._http.get(environment.urls.baseApiUrl + '/TransactionLogs/BySerialNo/' + serialNo);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { AuthenticationService } from '../authentication/authentication.service';\r\nimport { NavigationLink } from './navigation-link';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NavigationLinkService {\r\n domain = environment.urls.baseApiUrl;\r\n controller = '/NavigationLink';\r\n constructor(\r\n public http: HttpClient,\r\n public auth: AuthenticationService\r\n ) { }\r\n\r\n create(link: NavigationLink): Observable {\r\n const url = this.domain + this.controller;\r\n return this.http.post(url, link);\r\n }\r\n\r\n readAll(): Observable {\r\n const url = this.domain + this.controller;\r\n return this.http.get(url);\r\n }\r\n\r\n readActive(): Observable {\r\n const url = this.domain + this.controller;\r\n return this.http.get(url + '/active');\r\n }\r\n\r\n read(id: number): Observable {\r\n const url = this.domain + this.controller + '/' + id.toString();\r\n return this.http.get(url);\r\n }\r\n\r\n update(id: number, link: NavigationLink): Observable {\r\n const url = this.domain + this.controller + '/' + id.toString();\r\n return this.http.put(url, link);\r\n }\r\n\r\n updateOrder(navigationLinks: NavigationLink[]) {\r\n return this.http.put(this.domain + this.controller, navigationLinks);\r\n }\r\n\r\n delete(id: number): Observable {\r\n const url = this.domain + this.controller + '/' + id.toString();\r\n return this.http.delete(url);\r\n }\r\n}\r\n","export class NavigationLink {\r\n public id?: number;\r\n public hyperlink?: string;\r\n public webAddress?: string;\r\n public isActive?: boolean;\r\n public order!: number;\r\n}\r\n","import { User } from \"../../components/catalogs/user-catalog/services/user\";\r\n\r\nexport class Note {\r\n id!: number;\r\n noteName?: string;\r\n isModified?: boolean;\r\n description?: string;\r\n\r\n date?: Date;\r\n userID?: number;\r\n user?: User;\r\n type?: NoteType;\r\n\r\n // id: number;\r\n // isActive: boolean;\r\n createdOn?: Date;\r\n // createdBy?: number;\r\n // updatedOn?: Date;\r\n // updatedBy?: number;\r\n // deletedOn?: Date;\r\n // deletedBy?: number;\r\n // description: string;\r\n // scheduleId?: number;\r\n // schedule: Schedule;\r\n // userId: number;\r\n\r\n isDeleted?: boolean;\r\n isAdded?: boolean;\r\n}\r\n\r\nexport enum NoteType {\r\n Normal = 1,\r\n Extension = 2,\r\n Rejection = 3\r\n}\r\n","import { ActionPendingCatalog, PendingResourcesType, StatusPendingCatalog } from 'src/app/common/enumerations/enumerations';\r\nimport { AcceleratorCatalog } from '../../components/catalogs/accelerator-catalog/services/accelerator-catalog';\r\nimport { User } from '../../components/catalogs/user-catalog/services/user';\r\nimport { ModifyingResult } from '../../components/catalogs/services/catalog-model';\r\n\r\nexport class PendingAccelerator {\r\n public id!: number;\r\n public acceleratorId!: number;\r\n public acceleratorName!: string;\r\n public createdBy!: number;\r\n public statusBy!: number;\r\n public statusByUser?: User;\r\n public createdOn!: Date;\r\n public statusOn!: Date;\r\n public disapprovalReason!: string;\r\n public acceleratorData!: string;\r\n public acceleratorCatalog!: AcceleratorCatalog;\r\n public status!: number;\r\n public action!: number;\r\n public statusName!: string;\r\n public actionName!: string;\r\n public userCreatedBy?: User;\r\n}\r\n\r\nexport class PendingResource {\r\n public id!: number;\r\n public resourceId!: number;\r\n public resourceName!: string;\r\n public beamlineName!: string;\r\n public shutterName!: string;\r\n public createdBy!: number;\r\n public statusBy!: number;\r\n public statusByUser?: User;\r\n public createdOn!: Date;\r\n public statusOn!: Date;\r\n public disapprovalReason!: string;\r\n public resourceData!: string;\r\n public resourceTypeId!: number;\r\n public status!: number;\r\n public action!: number;\r\n public statusName!: string;\r\n public actionName!: string;\r\n public userCreatedBy?: User;\r\n public type!: PendingResourcesType;\r\n}\r\n\r\nexport class PendingUser {\r\n public id!: number;\r\n public userId!: number;\r\n public userName?: string;\r\n public createdBy!: number;\r\n public statusBy!: number;\r\n public statusByUser?: User;\r\n public createdOn!: Date;\r\n public statusOn!: Date;\r\n public disapprovalReason!: string;\r\n public userData!: string;\r\n public status!: number;\r\n public action!: number;\r\n public statusName!: string;\r\n public actionName!: string;\r\n public userCreatedBy!: User;\r\n}\r\n\r\nexport class PendingRole {\r\n public id!: number;\r\n public name!: string;\r\n public roleId!: number;\r\n public roleName!: string;\r\n public roleCode!: string;\r\n public createdBy!: number;\r\n public statusBy!: number;\r\n public statusByUser?: User;\r\n public createdOn!: Date;\r\n public statusOn!: Date;\r\n public disapprovalReason!: string;\r\n public roleData!: string;\r\n public status!: number;\r\n public action!: number;\r\n public statusName!: string;\r\n public actionName!: string;\r\n public userCreatedBy!: User;\r\n public show?: boolean;\r\n public modifyingResult!: ModifyingResult;\r\n public changes!: string;\r\n}\r\n\r\nexport class PendingNotificationTemplate {\r\n public id!: number;\r\n public notificationTemplateId!: number;\r\n public notificationTemplateName!: string;\r\n public notificationTemplateCode!: string;\r\n public notificationTemplateMessageSubject!: string;\r\n public notificationTemplateMessageBody!: string;\r\n public notificationTemplateSignature!: string;\r\n public createdBy!: number;\r\n public statusBy!: number;\r\n public statusByUser?: User;\r\n public createdOn!: Date;\r\n public statusOn!: Date;\r\n public disapprovalReason!: string;\r\n public notificationTemplateData!: string;\r\n public status!: number;\r\n public action!: number;\r\n public statusName!: string;\r\n public actionName!: string;\r\n public userCreatedBy!: User;\r\n}\r\n\r\nexport class detailsUsers {\r\n approverUserName?: string;\r\n updateUserName?: string;\r\n approvedOn?: Date;\r\n updatedOn?: Date;\r\n}\r\n\r\nexport class PendingResourceUsers {\r\n approverId?: number;\r\n updateById?: number;\r\n approvedOn?: Date;\r\n updatedOn?: Date;\r\n}\r\n\r\nexport interface PendingApprovals {\r\n pendingAccelerators: PendingCatalog[];\r\n pendingResources: PendingCatalog[];\r\n pendingUsers: PendingCatalog[];\r\n pendingRoles: PendingCatalog[];\r\n pendingNotificationTemplates: PendingCatalog[];\r\n pendingRSSDb: PendingCatalog[];\r\n pendingChecklistTemplates?: PendingCatalog[];\r\n pendingAPLCategories: PendingCatalog[];\r\n pendingAPLGroups: PendingCatalog[];\r\n total?: number;\r\n}\r\n\r\nexport interface PendingCatalog {\r\n approvalType: PendingCatalogType;\r\n pendingID: number;\r\n id: number;\r\n name: string;\r\n createdBy: number;\r\n createdByUser: User;\r\n statusBy: number | null;\r\n statusByUser: User;\r\n createdOn: string;\r\n statusOn: string;\r\n disapprovalReason: string;\r\n show: boolean;\r\n status: number;\r\n statusName: string;\r\n action: ActionPendingCatalog;\r\n actionName: string;\r\n}\r\n\r\nexport enum PendingCatalogType {\r\n Accelerator = 1,\r\n Beamline = 2,\r\n User = 3,\r\n Role = 4,\r\n NotificationTemplate = 5,\r\n RSSDb = 6,\r\n KET = 10,\r\n ABSI = 11,\r\n ChecklistTemplate = 12,\r\n APLCategories = 20,\r\n APLGroups = 21\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { ResourceType } from 'src/app/common/enumerations/enumerations';\r\nimport { RadMonitor } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-monitor';\r\nimport { Resource, ResourceSummary } from 'src/app/components/catalogs/beamline-catalog/resource/resources';\r\nimport { ResourcesService } from 'src/app/components/catalogs/beamline-catalog/resource/resources.service';\r\nimport { RadLocation } from 'src/app/components/catalogs/rad-monitor/rad-monitor/rad-location';\r\nimport { Placeholder } from 'src/app/components/checklists/checklists';\r\nimport { Store } from '@ngxs/store';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PlaceholdersService {\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Api = '/Placeholders';\r\n\r\n public isBuilder?: boolean;\r\n\r\n keyValuePairs: any[] = [];\r\n keyValuePairsObservable = new BehaviorSubject(this.keyValuePairs);\r\n\r\n request?: boolean;\r\n\r\n placeholders?: Placeholder[];\r\n placeholdersFiltered?: Placeholder[];\r\n placeholders$!: Observable;\r\n placeholdersSubs!: Subscription;\r\n\r\n rmco!: RadMonitor;\r\n rmci!: RadMonitor;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n public resourceService: ResourcesService,\r\n private store: Store\r\n ) {\r\n this.loadPlaceholders();\r\n }\r\n\r\n getAll(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api);\r\n httpresult.toPromise().then(data => this.placeholders = data);\r\n return httpresult;\r\n }\r\n\r\n get(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api + '/' + id);\r\n return httpresult;\r\n }\r\n\r\n create(placeholder: Placeholder): Observable {\r\n return this.http.put(this.BASE_URL + this.Api, placeholder);\r\n }\r\n\r\n update(placeholder: Placeholder): Observable {\r\n return this.http.put(this.BASE_URL + this.Api, placeholder);\r\n }\r\n\r\n delete(placeholder: Placeholder, text: string): Observable {\r\n return this.http.delete(this.BASE_URL + this.Api + '/' + placeholder.id + '/' + text);\r\n }\r\n\r\n getValue(placeholder: string) {\r\n if (this.keyValuePairs) {\r\n const object = this.placeholders?.find(x => x.placeholderString.toLowerCase() == placeholder?.toLowerCase())?.object;\r\n if (object) {\r\n const obj = object?.split('|');\r\n let value = this.keyValuePairs.find(x => x.key.toLowerCase() == obj[0]?.toLowerCase())?.value;\r\n value = (obj && obj[1]) ? (value ? value[(obj[1])] : 'No value Set!') : value;\r\n if (typeof value === 'object') {\r\n if (Array.isArray(value)) {\r\n value = value.map(x => x.Shutter.name).join(', ');\r\n }\r\n }\r\n if (!this.isBuilder && !value) {\r\n return `Value for ${placeholder} not found!`;\r\n } else {\r\n return value;\r\n }\r\n }\r\n else {\r\n return 'No Value Set!';\r\n }\r\n }\r\n else {\r\n return 'Wrong Placeholder Found: ' + placeholder + '';\r\n }\r\n }\r\n\r\n loadPlaceholders() {\r\n this.placeholders$ = this.store.select(state => state.Placeholders.data);\r\n this.placeholdersSubs = this.placeholders$.subscribe(data => {\r\n if (data?.length) {\r\n this.placeholders = data;\r\n }\r\n });\r\n }\r\n\r\n async setKeyValuePairs(resource?: Resource | RadMonitor | null, isBuilder?: boolean) {\r\n return new Promise(async (resolve, reject) => {\r\n if (!this.placeholders?.length)\r\n this.loadPlaceholders();\r\n\r\n this.isBuilder = isBuilder;\r\n if (!this.request) {\r\n this.request = true;\r\n if (resource?.id && resource?.type == ResourceType.Shutter) {\r\n const resourceSummary = await this.resourceService.getResourceSummaryByShutter(resource.id).toPromise();\r\n if (resourceSummary)\r\n this.getKeyValues(resourceSummary);\r\n this.request = false;\r\n resolve(true);\r\n }\r\n else if (resource?.id && resource?.type == ResourceType.Beamline) {\r\n const resourceSummary = await this.resourceService.getResourceSummaryByBeamline(resource.id).toPromise();\r\n if (resourceSummary)\r\n this.getKeyValues(resourceSummary);\r\n this.request = false;\r\n resolve(true);\r\n }\r\n else {\r\n this.request = false;\r\n const radMonitor = resource as RadMonitor;\r\n if (radMonitor)\r\n this.getKeyValuesRadMonitor(radMonitor, 'rmco');\r\n if (radMonitor?.radLocation)\r\n this.getKeyValuesRadMonitor(radMonitor.radLocation as RadLocation, 'radLocation');\r\n resolve(true);\r\n }\r\n }\r\n else resolve(true);\r\n });\r\n }\r\n\r\n getKeyValues(rs: ResourceSummary) {\r\n const keyValues: any[] = [];\r\n if (rs.shutter != undefined)\r\n keyValues.push.apply(keyValues, Object.entries(rs.shutter).map(([key, value]) => ({ key: 'shutter.' + key, value })));\r\n if (rs.beamline)\r\n keyValues.push.apply(keyValues, Object.entries(rs.beamline).map(([key, value]) => ({ key: 'beamline.' + key, value })));\r\n this.keyValuePairs = keyValues;\r\n this.keyValuePairsObservable.next(this.keyValuePairs);\r\n }\r\n\r\n getKeyValuesRadMonitor(radItem: RadMonitor | RadLocation, type: string) {\r\n const keyValues: any[] = [];\r\n if (radItem) {\r\n keyValues.push.apply(keyValues, Object.entries(radItem).map(([key, value]) => ({ key: type + '.' + key, value })));\r\n }\r\n this.keyValuePairs = keyValues;\r\n this.keyValuePairsObservable.next(this.keyValuePairs);\r\n }\r\n\r\n clearkeyValues() {\r\n this.keyValuePairs = [];\r\n this.keyValuePairsObservable.next(this.keyValuePairs);\r\n }\r\n}\r\n","\r\nimport { Placeholder } from \"src/app/components/checklists/checklists\";\r\n\r\nexport class PlaceholdersRefresh {\r\n static readonly type = '[Placeholders] Refresh';\r\n}\r\n\r\nexport class PlaceholdersCreate {\r\n static readonly type = '[Placeholders] Create';\r\n constructor(public item: Placeholder) { }\r\n}\r\n\r\nexport class PlaceholdersUpdate {\r\n static readonly type = '[Placeholders] Update';\r\n constructor(public id: number, public item: Placeholder) { }\r\n}\r\n\r\nexport class PlaceholdersDelete {\r\n static readonly type = '[Placeholders] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { PlaceholdersCreate, PlaceholdersDelete, PlaceholdersRefresh, PlaceholdersUpdate } from './placeholder.action';\r\nimport { Placeholder } from 'src/app/components/checklists/checklists';\r\nimport { PlaceholdersService } from '../placeholders.service';\r\n\r\n\r\nexport class PlaceholdersStateModel {\r\n data: Placeholder[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Placeholders',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class PlaceholdersState {\r\n constructor(\r\n private _service: PlaceholdersService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: PlaceholdersStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(PlaceholdersRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().toPromise().then(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(PlaceholdersCreate)\r\n create({ getState, patchState }: StateContext, { item }: PlaceholdersCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(PlaceholdersUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: PlaceholdersUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(PlaceholdersDelete)\r\n delete({ getState, patchState }: StateContext, { id }: PlaceholdersDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as PlaceholdersActions from './placeholder.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PlaceholdersStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new PlaceholdersActions.PlaceholdersRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PLACEHOLDERS, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new PlaceholdersActions.PlaceholdersCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new PlaceholdersActions.PlaceholdersUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new PlaceholdersActions.PlaceholdersDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new PlaceholdersActions.PlaceholdersRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { PV, PVInfo } from './pv-info';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PVInfoService {\r\n\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n Api = '/PVInfo';\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n getPVInfo(channel: any): Observable {\r\n const pv = { pvName: channel } as PV;\r\n const httpresult = this.http.patch(this.BASE_URL + this.Api + '/GetOne', pv);\r\n return httpresult;\r\n }\r\n\r\n getAll(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.Api);\r\n return httpresult;\r\n }\r\n\r\n subscribe(channel: string) {\r\n const pv = { pvName: channel } as PV;\r\n const httpresult = this.http.patch(this.BASE_URL + this.Api + '/SubscribePV', pv);\r\n return httpresult;\r\n }\r\n\r\n restartPVInfoService() {\r\n const httpresult = this.http.post(this.BASE_URL + '/BackgroundProcess/RestartPVS', null);\r\n return httpresult;\r\n }\r\n\r\n delete(id: number) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.Api + '/' + id);\r\n return httpresult;\r\n }\r\n\r\n}\r\n","import { PV } from \"../pv-info\";\r\n\r\nexport class PVRefresh {\r\n static readonly type = '[PVResource] Refresh';\r\n}\r\nexport class PVCreate {\r\n static readonly type = '[PVResource] Create';\r\n constructor(public item: PV) { }\r\n}\r\nexport class PVUpdate {\r\n static readonly type = '[PVResource] Update';\r\n constructor(public id: number, public item: PV) { }\r\n}\r\nexport class PVDelete {\r\n static readonly type = '[PVResource] Delete';\r\n constructor(public id: number) { }\r\n}\r\n\r\nexport class PVRefreshByID {\r\n static readonly type = '[PVResource] RefreshByID';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { PVRefresh, PVCreate, PVUpdate, PVDelete } from './pv-info.action';\r\nimport { PV } from '../pv-info';\r\nimport { PVInfoService } from '../pv-info.service';\r\n\r\nexport class PVStateModel {\r\n data: PV[] = [];\r\n}\r\n\r\n@State({\r\n name: 'PV',\r\n defaults: {\r\n data: [],\r\n }\r\n})\r\n@Injectable()\r\nexport class PVState {\r\n constructor(\r\n private service: PVInfoService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: PVStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(PVRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.service.getAll().subscribe(data => {\r\n patchState({ data });\r\n },\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(PVCreate)\r\n create({ getState, patchState }: StateContext, { item }: PVCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(PVUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: PVUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n\r\n @Action(PVDelete)\r\n delete({ getState, patchState }: StateContext, { id }: PVDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id != id)\r\n });\r\n }\r\n\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as PVActions from './pv-info.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PVStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new PVActions.PVRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PVINFO, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new PVActions.PVCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new PVActions.PVUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new PVActions.PVDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new PVActions.PVRefresh());\r\n break;\r\n\r\n case SignalRAction.RequestRefresh:\r\n this.store.dispatch(new PVActions.PVRefreshByID(data.id));\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { environment } from 'src/environments/environment';\r\nimport { PrivilegeCategory } from '../../components/catalogs/roles/services/role-privilege';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PrivilegeCategoryService {\r\n\r\n public url: string = environment.urls.baseApiUrl;\r\n public api: string = this.url + '/PrivilegeCategories';\r\n\r\n constructor(\r\n public http: HttpClient\r\n ) { }\r\n\r\n getAll(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n getByType(type: number): Observable {\r\n return this.http.get(this.api + '/Type/' + type.toString());\r\n\r\n }\r\n}\r\n","export enum PrivilegeEnum {\r\n ViewSCFAmendment = 1,\r\n EditSCFAmendment = 2,\r\n RequestAmendment = 3,\r\n SCFOperationalApproval = 4,\r\n SCFNewForm = 5,\r\n ViewRSSWAAmendment = 6,\r\n EditRSSWAAmendment = 7,\r\n RequestRSSWAAmendment = 8,\r\n BulletinBoardEditor = 9,\r\n RadAreaView = 1004,\r\n RadAreaCreate = 1005,\r\n RadAreaModify = 1006,\r\n RadAreaDelete = 1007,\r\n SCFSubmit = 10,\r\n SCFSubmitAmendment = 11,\r\n // Schedules privilages\r\n CreateSchedule = 12,\r\n EditSchedule = 13,\r\n RequestScheduleExtension = 14,\r\n GrantScheduleExtension = 15,\r\n CompleteSchedule = 16,\r\n CreateScheduleNote = 17,\r\n // Reminder Schedule privilages\r\n CreateReminder = 18,\r\n UpdateReminder = 19,\r\n DeleteReminder = 20,\r\n SubscribePeopleReminder = 21,\r\n // Suscribe Role Privilages\r\n SubscribePeopleRequestExtension = 22,\r\n ToxicGasEditor = 23,\r\n // Branchline status privilege\r\n BranchlineStatusToggle = 24,\r\n LinksCatalogView = 25,\r\n LinksCatalogCreate = 26,\r\n LinksCatalogModify = 27,\r\n LinksCatalogInactive = 28,\r\n LinksCatalogDelete = 29,\r\n RSSWA = 30,\r\n CopySCF = 31,\r\n RemoveSchedule = 32,\r\n RefuseScheduleExtension = 33,\r\n EditScheduleDates = 34,\r\n PPSTBNewForm = 35,\r\n PPSTBOperationalApproval = 36,\r\n PPSTBRequestAmendment = 37,\r\n PPSTBViewAmendment = 38,\r\n PPSTBEditAmendment = 39,\r\n // Equipment Bypass Privileges\r\n EBNewForm = 40,\r\n EBOperationalApproval = 41,\r\n EBRequestAmendment = 42,\r\n EBViewAmendment = 43,\r\n EBEditAmendment = 44,\r\n AdminDisplayMessages = 45,\r\n PPSTBFollowUp = 46,\r\n RPAnswerSCFS4 = 48,\r\n CompleteABSI = 49,\r\n CompleteEPS = 50,\r\n CompleteTOCA = 51,\r\n CompleteABCRS = 52,\r\n CompleteRSS = 53,\r\n RSSTestDBEdit = 58,\r\n RSSTestDBAuth = 59,\r\n BeamlineCatalog = 60,\r\n BlRequiringApprovalAdd = 62,\r\n BlRequiringApprovalEdit = 63,\r\n BlRequiringApprovalDelete = 64,\r\n BlRequiringApprovalApprove = 65,\r\n BlRequiringApprovalUnapprove = 66,\r\n RSSWACancel = 69,\r\n EBCancel = 71,\r\n PPSTBRepairReplaceComponent = 72,\r\n PPSTBModifyInterlock = 73,\r\n PPSTBOther = 74,\r\n ApproveABSITemplate = 75,\r\n CreateABSITemplate = 76,\r\n CancelABSIChecklist = 170,\r\n\r\n //#region RadMonitor\r\n RadMonitorSettings = 78,\r\n CreateRadMonitor = 79,\r\n CreateEditRadMonitorType = 80,\r\n CreateEditRadMonitorDescription = 81,\r\n CreateRadLocation = 82,\r\n CreateEditRadLocationType = 83,\r\n CreateEditRadLocationInterlock = 84,\r\n CreateRadMonitorNote = 85,\r\n CreateRadLocationNote = 86,\r\n CreateRadMonitorFaultNote = 112,\r\n DeleteRadMonitorNote = 113,\r\n DeleteRadLocationNote = 114,\r\n EditRadMonitor = 115,\r\n EditRadLocation = 116,\r\n DeleteRadMonitor = 117,\r\n DeleteRadLocation = 118,\r\n\r\n RSSWACancelAmendment = 120,\r\n RSSWASubmit = 160,\r\n\r\n DeleteRadMonitorFaultNote = 152,\r\n AddRadLocationEMShop = 153,\r\n //#endregion\r\n\r\n //#region Schedules\r\n EditABSI = 87,\r\n EditEPS = 88,\r\n EditTOCA = 89,\r\n EditABCRS = 90,\r\n EditRSS = 91,\r\n RequestExtensionABSI = 92,\r\n RequestExtensionEPS = 93,\r\n RequestExtensionTOCA = 94,\r\n RequestExtensionABCRS = 95,\r\n RequestExtensionRSS = 96,\r\n CreateNoteABSI = 97,\r\n CreateNoteEPS = 98,\r\n CreateNoteTOCA = 99,\r\n CreateNoteABCRS = 100,\r\n CreateNoteRSS = 101,\r\n AddReminderABSI = 102,\r\n AddReminderEPS = 103,\r\n AddReminderTOCA = 104,\r\n AddReminderABCRS = 105,\r\n AddReminderRSS = 106,\r\n EditReminderABSI = 107,\r\n EditReminderEPS = 108,\r\n EditReminderTOCA = 109,\r\n EditReminderABCRS = 110,\r\n EditReminderRSS = 111,\r\n EditScheduledFor = 119,\r\n CompleteSRVIS = 1009,\r\n EditSRVIS = 1010,\r\n CreateNoteSRVIS = 1011,\r\n EditScheduledForSRVIS = 1012,\r\n RequestExtensionSRVIS = 1013,\r\n EditReminderSRVIS = 1014,\r\n AddReminderSRVIS = 1015,\r\n //#endregion\r\n\r\n //#region RSSFunctionalTest\r\n RSSFunctionalTestCreate = 121,\r\n RSSFunctionalTestEdit = 123,\r\n RSSFunctionalTestDelete = 124,\r\n //#endregion\r\n\r\n //#region PC\r\n ALSProcedureCategory = 61,\r\n ALSProcedureActions = 67,\r\n ALSProcedureAddNew = 68,\r\n ALSProcedureSignatureAdmin = 70,\r\n ALSProcedureTrainingAdmin = 77,\r\n PCEPSPreparer = 125,\r\n PCEPSReviewer = 126,\r\n PCEPSApprover = 127,\r\n PCRSSPreparer = 128,\r\n PCRSSReviewer = 129,\r\n PCRSSApprover = 130,\r\n PCRADPreparer = 1501,\r\n PCRADReviewer = 1502,\r\n PCRADApprover = 1503,\r\n PCNotifications = 1504,\r\n PCViewRadTab = 1008,\r\n //#endregion\r\n\r\n //#region DocumentType\r\n CreateDocumentType = 131,\r\n ModifyDocumentType = 132,\r\n CreateTemplateType = 133,\r\n UpdateTemplateType = 134,\r\n DeleteTemplateType = 135,\r\n //#endregion\r\n\r\n //#region APL\r\n APLCategoryCreate = 136,\r\n APLCategoryApproval = 137,\r\n APLCategoryEdit = 138,\r\n APLCategoryDelete = 141,\r\n APLGroupCreate = 142,\r\n APLGroupApproval = 149,\r\n APLGroupEdit = 150,\r\n APLGroupDelete = 151,\r\n //#endregion\r\n\r\n AddEditBlOverviewComment = 139,\r\n DeleteBlOverviewComment = 140,\r\n\r\n //#region OlogCategory\r\n CreateOlogCategory = 143,\r\n UpdateOlogCategory = 144,\r\n DeleteOlogCategory = 145,\r\n CreateOlogEmail = 146,\r\n UpdateOlogEmail = 147,\r\n DeleteOlogEmail = 148,\r\n CreateOlogMessage = 154,\r\n UpdateOlogMessage = 155,\r\n DeleteOlogMessage = 156,\r\n //#endregion\r\n\r\n // Home\r\n BeamlineRestrictions = 200,\r\n BeamlineRestrictionsApprove = 201,\r\n\r\n //#region Reviews\r\n CreateReviewRequest = 600,\r\n EvaluateReviewRequest = 601,\r\n CreateReview = 602,\r\n ExecuteReviewActions = 603,\r\n ChangeReviewDate = 604,\r\n ChangeReviewTemplate = 605,\r\n ManageActionItemCategories = 606,\r\n ManageRosterCategories = 607,\r\n ManageDocumentCategories = 608,\r\n ChangeSettings = 609,\r\n AddRemoveRosterMembers = 610,\r\n AddRemoveActionItems = 611,\r\n AddRemoveDocuments = 612,\r\n CompleteActionItems = 613,\r\n AddBRCComments = 614,\r\n RegisterAttendance = 615,\r\n MemberConfirmation = 616,\r\n ReviewChecklistBLDevCheck = 617,\r\n ReviewChecklistBARCol = 618,\r\n CreateCustomResources = 619,\r\n //#endregion Reviews\r\n\r\n RadMetersCatalogChanges = 700,\r\n RadSurveyReviewer = 705,\r\n //#region SCFV2\r\n\r\n CreateHoldPoints = 800,\r\n CreateHoldPointsDraft = 801,\r\n\r\n CreateKEChecklist = 900,\r\n CancelKEChecklist = 901,\r\n\r\n AcceleratorCatalogCreate = 1000,\r\n AcceleratorCatalogApprove = 1001,\r\n\r\n UserCatalogCreate = 1002,\r\n UserCatalogApprove = 1003,\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Privilege } from '../../components/catalogs/roles/services/role-privilege';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PrivilegeService {\r\n\r\n public url: string = environment.urls.baseApiUrl;\r\n public api: string = this.url + '/Privileges';\r\n\r\n constructor(\r\n public http: HttpClient\r\n ) { }\r\n\r\n getAll(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n getByType(type: number): Observable {\r\n return this.http.get(this.api + '/Type/' + type.toString());\r\n\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\nimport { AuthenticationService } from '../authentication/authentication.service';\r\nimport { RolePrivilege, RolePrivilegePending } from '../../components/catalogs/roles/services/role-privilege';\r\nimport { PrivilegeEnum } from './privilege-enum';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RolePrivilegeService {\r\n\r\n public url: string = environment.urls.baseApiUrl;\r\n public api: string = this.url + '/RolePrivilege';\r\n public apiPending: string = this.url + '/RolePrivilegePending';\r\n\r\n constructor(\r\n public http: HttpClient,\r\n public auth: AuthenticationService\r\n ) { }\r\n\r\n getAllRolePrivileges(): Observable {\r\n return this.http.get(this.api);\r\n }\r\n\r\n ByPrivilege(privilege: PrivilegeEnum): Observable {\r\n return this.http.get(this.url + '/RolePrivilege/ByPrivilege/' + privilege.toString());\r\n\r\n }\r\n\r\n HasAccess(privilege: PrivilegeEnum): Observable {\r\n return this.http.get(this.url + '/RolePrivilege/HasAccess/' + privilege.toString());\r\n }\r\n\r\n createRolePrivilege(rolePrivilege: RolePrivilege): Observable {\r\n return this.http.post(this.api, rolePrivilege);\r\n }\r\n\r\n createRolePrivilegePending(rolePrivilegePending: RolePrivilegePending): Observable {\r\n return this.http.post(this.apiPending, rolePrivilegePending);\r\n }\r\n\r\n deleteRolePrivilege(id: number) {\r\n return this.http.delete(this.api + '/' + id);\r\n }\r\n\r\n}\r\n","import { PrivilegeCategory } from \"src/app/components/catalogs/roles/services/role-privilege\";\r\n\r\n\r\nexport class PrivilegeCategoryRefresh {\r\n static readonly type = '[PrivilegeCategory] Refresh';\r\n}\r\n\r\nexport class PrivilegeCategoryCreate {\r\n static readonly type = '[PrivilegeCategory] Create';\r\n constructor(public item: PrivilegeCategory) { }\r\n}\r\n\r\nexport class PrivilegeCategoryUpdate {\r\n static readonly type = '[PrivilegeCategory] Update';\r\n constructor(public id: number, public item: PrivilegeCategory) { }\r\n}\r\n\r\nexport class PrivilegeCategoryDelete {\r\n static readonly type = '[PrivilegeCategory] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\n\r\nimport { PrivilegeCategoryCreate, PrivilegeCategoryDelete, PrivilegeCategoryRefresh, PrivilegeCategoryUpdate } from './privilege-categories.action';\r\nimport { PrivilegeCategory } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { PrivilegeCategoryService } from '../../privilege-category.service';\r\n\r\nexport class PrivilegeCategoryStateModel {\r\n data: PrivilegeCategory[] = [];\r\n}\r\n\r\n@State({\r\n name: 'PrivilegeCategories',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class PrivilegeCategoryState {\r\n constructor(\r\n private _service: PrivilegeCategoryService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: PrivilegeCategoryStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(PrivilegeCategoryRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(PrivilegeCategoryCreate)\r\n create({ getState, patchState }: StateContext, { item }: PrivilegeCategoryCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(PrivilegeCategoryUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: PrivilegeCategoryUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(PrivilegeCategoryDelete)\r\n delete({ getState, patchState }: StateContext, { id }: PrivilegeCategoryDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as PrivilegeCategoryActions from './privilege-categories.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PrivilegeCategoryStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new PrivilegeCategoryActions.PrivilegeCategoryRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PRIVILEGE_CATEGORIES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new PrivilegeCategoryActions.PrivilegeCategoryCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new PrivilegeCategoryActions.PrivilegeCategoryUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new PrivilegeCategoryActions.PrivilegeCategoryDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new PrivilegeCategoryActions.PrivilegeCategoryRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Privilege } from \"src/app/components/catalogs/roles/services/role-privilege\";\r\n\r\nexport class PrivilegeRefresh {\r\n static readonly type = '[Privilege] Refresh';\r\n}\r\n\r\nexport class PrivilegeCreate {\r\n static readonly type = '[Privilege] Create';\r\n constructor(public item: Privilege) { }\r\n}\r\n\r\nexport class PrivilegeUpdate {\r\n static readonly type = '[Privilege] Update';\r\n constructor(public id: number, public item: Privilege) { }\r\n}\r\n\r\nexport class PrivilegeDelete {\r\n static readonly type = '[Privilege] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { PrivilegeService } from '../../privilege.service';\r\n\r\nimport { PrivilegeCreate, PrivilegeDelete, PrivilegeRefresh, PrivilegeUpdate } from './privilege.action';\r\nimport { Privilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\n\r\nexport class PrivilegeStateModel {\r\n data: Privilege[] = [];\r\n}\r\n\r\n@State({\r\n name: 'Privileges',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class PrivilegeState {\r\n constructor(\r\n private _service: PrivilegeService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: PrivilegeStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(PrivilegeRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getAll().toPromise().then(data => {\r\n patchState({ data });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(PrivilegeCreate)\r\n create({ getState, patchState }: StateContext, { item }: PrivilegeCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(PrivilegeUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: PrivilegeUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = state.data;\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, item);\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(PrivilegeDelete)\r\n delete({ getState, patchState }: StateContext, { id }: PrivilegeDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as PrivilegeActions from './privilege.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PrivilegeStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new PrivilegeActions.PrivilegeRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.PRIVILEGES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new PrivilegeActions.PrivilegeCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new PrivilegeActions.PrivilegeUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new PrivilegeActions.PrivilegeDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new PrivilegeActions.PrivilegeRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { RolePrivilege } from \"src/app/components/catalogs/roles/services/role-privilege\";\r\n\r\nexport class RolePrivilegeRefresh {\r\n static readonly type = '[RolePrivilege] Refresh';\r\n}\r\n\r\nexport class RolePrivilegeCreate {\r\n static readonly type = '[RolePrivilege] Create';\r\n constructor(public item: RolePrivilege) { }\r\n}\r\n\r\nexport class RolePrivilegeUpdate {\r\n static readonly type = '[RolePrivilege] Update';\r\n constructor(public id: number, public item: RolePrivilege) { }\r\n}\r\n\r\nexport class RolePrivilegeDelete {\r\n static readonly type = '[RolePrivilege] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { RolePrivilegeService } from '../../role-privilege.service';\r\n\r\n\r\nimport { RolePrivilegeCreate, RolePrivilegeDelete, RolePrivilegeRefresh, RolePrivilegeUpdate } from './role-privilege.action';\r\nimport { RolePrivilege } from 'src/app/components/catalogs/roles/services/role-privilege';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\nexport class RolePrivilegeStateModel {\r\n data: RolePrivilege[] = [];\r\n}\r\n\r\n@State({\r\n name: 'RolePrivileges',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class RolePrivilegeState {\r\n constructor(\r\n private rolePrivilegeService: RolePrivilegeService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: RolePrivilegeStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(RolePrivilegeRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this.rolePrivilegeService.getAllRolePrivileges().toPromise().then(data => {\r\n patchState({ data: utils.cloneDeep(data) });\r\n }).catch(error => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n @Action(RolePrivilegeCreate)\r\n create({ getState, patchState }: StateContext, { item }: RolePrivilegeCreate) {\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(RolePrivilegeUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: RolePrivilegeUpdate) {\r\n const state = getState();\r\n const index = state.data.findIndex(x => x.id === id);\r\n const currentState = utils.cloneDeep(state.data);\r\n\r\n if (index >= 0) {\r\n currentState.splice(index, 1, utils.cloneDeep(item));\r\n patchState({ data: currentState });\r\n }\r\n }\r\n\r\n @Action(RolePrivilegeDelete)\r\n delete({ getState, patchState }: StateContext, { id }: RolePrivilegeDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport * as RolePrivilegeActions from './role-privilege.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from 'src/app/store/channels';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RolePrivilegeStoreAndListenersService {\r\n\r\n constructor(\r\n private store: Store,\r\n private signalRService: SignalRService\r\n ) { }\r\n\r\n initStore() {\r\n this.store.dispatch(new RolePrivilegeActions.RolePrivilegeRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.ROLE_PRIVILEGES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new RolePrivilegeActions.RolePrivilegeCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new RolePrivilegeActions.RolePrivilegeUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new RolePrivilegeActions.RolePrivilegeDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RolePrivilegeActions.RolePrivilegeRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RSSFunctionalTest } from 'src/app/components/rsswa/rss-functional-test';\r\nimport { environment } from \"src/environments/environment\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RSSFunctionalTestService {\r\n url = environment.urls.baseApiUrl + '/RSSFunctionalTest';\r\n\r\n constructor(\r\n private http: HttpClient,\r\n ) { }\r\n\r\n create(rssFunctionalTest: RSSFunctionalTest, amendment: boolean = false): Observable {\r\n return this.http.post(this.url + '?amendment=' + (amendment ? 'true' : 'false'), rssFunctionalTest);\r\n }\r\n\r\n readByChecklistID(id: number): Observable {\r\n return this.http.get(this.url + '/checklist/' + id.toString());\r\n }\r\n\r\n update(id: number, rssFunctionalTest: RSSFunctionalTest, amendment: boolean = false): Observable {\r\n return this.http.put(this.url + '/' + id.toString() + '?amendment=' + (amendment ? 'true' : 'false'), rssFunctionalTest);\r\n }\r\n\r\n delete(id: number, amendment: boolean = false): Observable {\r\n return this.http.delete(this.url + '/' + id.toString() + '?amendment=' + (amendment ? 'true' : 'false'));\r\n }\r\n\r\n activate(id: number): Observable {\r\n return this.http.put(this.url + '/Active/' + id.toString(), null);\r\n }\r\n\r\n deleteActive(id: number, amendment: boolean = false): Observable {\r\n return this.http.delete(this.url + '/Active/' + id.toString() + '?amendment=' + (amendment ? 'true' : 'false'));\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { SignalRService } from \"./signal-r.service\";\r\nimport { RSSWAStoreAndListenersService } from 'src/app/components/rsswa/store/rsswa.store';\r\nimport { UsersStoreAndListenersService } from \"../../components/catalogs/user-catalog/store/users.store\";\r\nimport { SetCurrentUser } from \"src/app/store/actions\";\r\nimport { AcceleratorStatusListener } from \"src/app/components/home/accelerator-status/store/accelerator-status.listener\";\r\nimport { BeamlineStatusStoreAndListenersService } from \"src/app/components/home/beamline-status/store/bl-status.store\";\r\nimport { BulletinBoardStoreAndListenersService } from \"src/app/components/home/bulletin-board/store/bulletin-board.store\";\r\nimport { BranchlineStatusStoreAndListenersService } from \"src/app/components/home/branchline-status/store/branchline-status.store\";\r\nimport { SCFMastersStoreAndListenersService } from \"src/app/components/scf-v2/store/scf-master/scf-masters.store\";\r\nimport { ResourceRelationsStoreAndListenersService } from \"src/app/components/catalogs/store/resources-relations/resource-relations.store\";\r\nimport { ResourcesStoreAndListenersService } from \"src/app/components/catalogs/store/resources/resources.store\";\r\nimport { DocumentsStoreAndListenersService } from \"../documents/store/documents.store\";\r\nimport { RestrictionsStoreAndListenersService } from \"src/app/components/scf-v2/store/restrictions/restrictions.store\";\r\nimport { RoleStoreAndListenersService } from \"../../components/catalogs/roles/store/role.store\";\r\nimport { CommentStoreAndListenersService } from \"src/app/controls/comments-and-attachments/store/comments.store\";\r\nimport { SchedulesStoreAndListenersService } from \"src/app/components/schedules/store/schedules/schedule.store\";\r\nimport { ScheduleTypesStoreAndListenersService } from \"src/app/components/schedules/store/schedule-types/schedule-types.store\";\r\nimport { MenuItemStoreAndListenersService } from \"src/app/components/head-page/store/menu-item.store\";\r\nimport { WorkerVerificationStoreAndListenersService } from \"src/app/controls/worker-verification/store/worker-verification/worker-verification.store\";\r\nimport { TemplateTypesStoreAndListenersService } from \"src/app/components/checklists/store/template-types/template-types.store\";\r\nimport { FormsStoreAndListenersService } from \"src/app/controls/form-table/store/forms.store\";\r\nimport { RolePrivilegeStoreAndListenersService } from \"../role-privilege/store/role-privilege/role-privilege.store\";\r\nimport { PrivilegeCategoryStoreAndListenersService } from \"../role-privilege/store/privilege-categories/privilege-categories.store\";\r\nimport { PrivilegeStoreAndListenersService } from \"../role-privilege/store/privilege/privilege.store\";\r\nimport { APLCategoryStoreAndListenersService } from \"src/app/components/apl/store/apl-category/apl-category.store\";\r\nimport { AplGroupStoreAndListenersService } from \"src/app/components/apl/store/apl-group/apl-group.store\";\r\nimport { ProcedureStoreAndListenersService } from \"src/app/components/procedure/store/procedure/procedure.store\";\r\nimport { KEnableStoreAndListenersService } from \"src/app/components/kenable/store/ke/kenable.store\";\r\nimport { FormStatusesStoreAndListenersService } from \"src/app/store/form-status/form-status.store\";\r\nimport { ComponentsStoreAndListenersService } from \"src/app/components/checklists/store/components/components.store\";\r\nimport { AbsiTemplateVersionStoreAndListenersService } from \"src/app/components/absi/store/absi-template/absi-template.store\";\r\nimport { ActionItemsStoreAndListenersService } from \"src/app/controls/catl/action-item/store/actionItems.store\";\r\nimport { AbsiStoreAndListenersService } from \"src/app/components/absi/store/absi/absi.store\";\r\nimport { DocumentTypeStoreAndListenersService } from \"src/app/components/catalogs/document-type/store/document-type/document-type.store\";\r\nimport { ChecklistsStoreAndListenersService } from \"src/app/components/checklists/store/checklists/checklists.store\";\r\nimport { ResourceTypesStoreAndListenersService } from \"src/app/components/catalogs/store/resource-types/resource-types.store\";\r\nimport { BeamlineShutterStoreAndListenersService } from \"src/app/components/catalogs/store/beamline-shutter/beamline-shutter.store\";\r\nimport { ChecklistTemplatesStoreAndListenersService } from \"src/app/components/checklists/store/checklist-templates/checklist-templates.store\";\r\nimport { ChecklistTemplateStatusesStoreAndListenersService } from \"src/app/components/checklists/store/checklist-status/checklist-status.store\";\r\nimport { RadMetersStoreAndListenersService } from \"src/app/components/catalogs/meters-catalog/store/rad-meters/rad-meters.store\";\r\nimport { AnnotationsStoreAndListenersService } from \"src/app/components/checklists/store/annotations/annotations.store\";\r\nimport { TasksStoreAndListenersService } from \"src/app/components/checklists/store/tasks/task.store\";\r\nimport { ReviewCyclesStoreAndListenersService } from \"src/app/components/reviews/store/review-cycles/review-cycles.store\";\r\nimport { ReviewPermissionsStoreAndListenersService } from \"src/app/components/reviews/store/review-permissions/review-permissions.store\";\r\nimport { ScheduleRemindersStoreAndListenersService } from \"src/app/components/schedules/store/schedule-reminder/schedule-reminder.store\";\r\nimport { ProcedureTemplateStoreAndListenersService } from \"src/app/components/procedure/store/procedure-template/procedure-template.store\";\r\nimport { ProcedureCreditedStoreAndListenersService } from \"src/app/components/procedure/store/procedure-credited/procedure-credited.store\";\r\nimport { ProcedureCategoryStoreAndListenersService } from \"src/app/components/procedure/store/procedure-category/procedure-category.store\";\r\nimport { ProcedureTrainingStoreAndListenersService } from \"src/app/components/procedure/store/procedure-training/procedure-training.store\";\r\nimport { RadLocationTypetoreAndListenersService } from \"src/app/components/catalogs/rad-monitor/store/rad-location-type/rad-location-type.store\";\r\nimport { RadLocationStoreAndListenersService } from \"src/app/components/catalogs/rad-monitor/store/rad-location/rad-location.store\";\r\nimport { RadInterlockStoreAndListenersService } from \"src/app/components/catalogs/rad-monitor/store/rad-interlock/rad-interlock.store\";\r\nimport { RadLocationInterlockRelationStoreAndListenersService } from \"src/app/components/catalogs/rad-monitor/store/rad-interlock-relations/rad-interlock-relation.store\";\r\nimport { RadMonitorStoreAndListenersService } from \"src/app/components/catalogs/rad-monitor/store/rad-monitor/rad-monitor.store\";\r\nimport { PendingResourcesStoreAndListenersService } from \"src/app/components/catalogs/store/pending-resources/pending-resources.store\";\r\nimport { OlogCategoryStoreAndListenersService } from \"src/app/components/catalogs/document-type/store/olog-category/olog-category.store\";\r\nimport { OlogEmailStoreAndListenersService } from \"src/app/components/catalogs/document-type/store/olog-email/olog-email.store\";\r\nimport { AbsiTemplateTypeStoreAndListenersService } from \"src/app/components/absi/store/absi-template-type/absi-template-type.store\";\r\nimport { NavigationLinkStoreAndListenersService } from \"src/app/components/catalogs/navigation-links/store/navigation-links.store\";\r\nimport { PendingApprovalsStoreAndListenersService } from \"src/app/components/pending-approvals-v2/store/pending-approvals/pending-approvals.store\";\r\nimport { BratoiStoreAndListenersService } from \"src/app/components/catalogs/bratoi/store/bratoi/bratoi.store\";\r\nimport { ScheduleSubtypesStoreAndListenersService } from \"src/app/components/schedules/store/schedule-subtypes/schedule-subtypes.store\";\r\nimport { ProcedureTypeStoreAndListenersService } from \"src/app/components/procedure/store/procedure-types/procedure-types.store\";\r\nimport { NotificationTemplateStoreAndListenersService } from \"src/app/components/catalogs/notifications/store/notification-template.store\";\r\nimport { AbsiSectionStoreAndListenersService } from \"src/app/components/absi/store/absi-sections/absi-section.store\";\r\nimport { ReviewBoardTypesStoreAndListenersService } from \"src/app/components/reviews/store/review-board-types/review-board-types.store\";\r\nimport { ToxicGasStoreAndListenersService } from \"src/app/components/home/toxic-gas-panel/store/toxic-gas/toxic-gas.store\";\r\nimport { BakeoutsStoreAndListenersService } from \"src/app/components/home/bakeouts-panel/store/bakeouts/bakeouts.store\";\r\nimport { ReviewAttendanceSaveStoreAndListenersService } from \"src/app/components/reviews/store/review-attendance-save/review-attendance-save.store\";\r\nimport { TocaStoreAndListenersService } from \"src/app/components/catalogs/bratoi/store/toca/toca.store\";\r\nimport { ReviewActionItemsStoreAndListenersService } from \"src/app/components/reviews/store/review-action-items/review-action-items.store\";\r\nimport { ReviewActionItemTypesStoreAndListenersService } from \"src/app/components/reviews/store/review-action-item-types/review-action-item-types.store\";\r\nimport { ReviewsStoreAndListenersService } from \"src/app/components/reviews/store/reviews/reviews.store\";\r\nimport { ReviewSatisfactionChecksStoreAndListenersService } from \"src/app/components/reviews/store/review-satisfaction-checks/review-satisfaction-checks.store\";\r\nimport { PVStoreAndListenersService } from \"../pv-info/store/pv-info.store\";\r\nimport { MessageBannerStoreAndListenersService } from \"src/app/components/messages/store/message-banner.store\";\r\nimport { KEVersionStoreAndListenersService } from \"src/app/components/kenable/store/ke-version/ke-version.store\";\r\nimport { AlertStoreAndListenersService } from \"../alert/store/alert.store\";\r\nimport { RadiationAreaStoreAndListenersService } from \"src/app/components/home/radiation-area/store/radiation-area.store\";\r\nimport { DeletedTasksStoreAndListenersService } from \"src/app/components/checklists/store/deleted-tasks/deleted-task.store\";\r\nimport { DeletedStepsStoreAndListenersService } from \"src/app/components/checklists/store/deleted-steps/deleted-step.store\";\r\nimport { DeletedSectionsStoreAndListenersService } from \"src/app/components/checklists/store/deleted-sections/deleted-section.store\";\r\nimport { BeamlineRestrictionStoreAndListenersService } from \"src/app/components/catalogs/operational-restrictions/store/beamline-restrictions/beamline-restrictions.store\";\r\nimport { PlaceholdersStoreAndListenersService } from \"../placeholders/store/placeholder.store\";\r\nimport { BuilderTasksStoreAndListenersService } from \"src/app/components/checklists/store/builder-tasks/builder-task.store\";\r\nimport { OlogMessageStoreAndListenersService } from \"src/app/components/catalogs/document-type/store/olog-message/olog-message.store\";\r\nimport { MissingTrainingStoreAndListenersService } from \"src/app/components/procedure/store/procedure-missing-training/procedure-missing-training.store\";\r\nimport { TransactionLogStoreAndListenersService } from \"src/app/controls/transaction-log/store/transaction-log.store\";\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class InitStoreAndListenersService {\r\n constructor(\r\n private store: Store,\r\n private absiSectionStore: AbsiSectionStoreAndListenersService,\r\n private absiStore: AbsiStoreAndListenersService,\r\n private absiTemplateTypeStore: AbsiTemplateTypeStoreAndListenersService,\r\n private absiTemplateVersionStore: AbsiTemplateVersionStoreAndListenersService,\r\n private acceleratorStatusListener: AcceleratorStatusListener,\r\n private actionItemStore: ActionItemsStoreAndListenersService,\r\n private annotationsStore: AnnotationsStoreAndListenersService,\r\n private aplCategoryStore: APLCategoryStoreAndListenersService,\r\n private aplGroupStore: AplGroupStoreAndListenersService,\r\n private bakeoutStore: BakeoutsStoreAndListenersService,\r\n private beamlineShutters: BeamlineShutterStoreAndListenersService,\r\n private beamlineStatusStore: BeamlineStatusStoreAndListenersService,\r\n private branchlineStatusStore: BranchlineStatusStoreAndListenersService,\r\n private bratoiStore: BratoiStoreAndListenersService,\r\n private bulletinBoardStore: BulletinBoardStoreAndListenersService,\r\n private radiationAreaStore: RadiationAreaStoreAndListenersService,\r\n private checklistTemplateStatusStore: ChecklistTemplateStatusesStoreAndListenersService,\r\n private checklistsStore: ChecklistsStoreAndListenersService,\r\n private checklistTemplatesStore: ChecklistTemplatesStoreAndListenersService,\r\n private commentsStore: CommentStoreAndListenersService,\r\n private componentsStore: ComponentsStoreAndListenersService,\r\n private documentTypeStore: DocumentTypeStoreAndListenersService,\r\n private documentsStore: DocumentsStoreAndListenersService,\r\n private formStatusStore: FormStatusesStoreAndListenersService,\r\n private formsStore: FormsStoreAndListenersService,\r\n private kEnableStore: KEnableStoreAndListenersService,\r\n private menuItemStore: MenuItemStoreAndListenersService,\r\n private messageBannerStore: MessageBannerStoreAndListenersService,\r\n private navigationLinkStore: NavigationLinkStoreAndListenersService,\r\n private notificationTemplateStore: NotificationTemplateStoreAndListenersService,\r\n private ologCategoryStore: OlogCategoryStoreAndListenersService,\r\n private ologEmailStore: OlogEmailStoreAndListenersService,\r\n private pendingCatalogsStore: PendingApprovalsStoreAndListenersService,\r\n private pendingResourcesStore: PendingResourcesStoreAndListenersService,\r\n private privilegeCategoryStore: PrivilegeCategoryStoreAndListenersService,\r\n private privilegeStore: PrivilegeStoreAndListenersService,\r\n private procedureCategoryStore: ProcedureCategoryStoreAndListenersService,\r\n private procedureCreditedStore: ProcedureCreditedStoreAndListenersService,\r\n private procedureStore: ProcedureStoreAndListenersService,\r\n private procedureTemplateStore: ProcedureTemplateStoreAndListenersService,\r\n private procedureTrainingStore: ProcedureTrainingStoreAndListenersService,\r\n private procedureTypeStore: ProcedureTypeStoreAndListenersService,\r\n private radInterlockRelationsStore: RadLocationInterlockRelationStoreAndListenersService,\r\n private radInterlockStore: RadInterlockStoreAndListenersService,\r\n private radLocationStore: RadLocationStoreAndListenersService,\r\n private radLocationTypeStore: RadLocationTypetoreAndListenersService,\r\n private radMetersStore: RadMetersStoreAndListenersService,\r\n private radMonitorStore: RadMonitorStoreAndListenersService,\r\n private resourceRelationsStore: ResourceRelationsStoreAndListenersService,\r\n private resourceTypesStore: ResourceTypesStoreAndListenersService,\r\n private resourcesStore: ResourcesStoreAndListenersService,\r\n private restrictionsStore: RestrictionsStoreAndListenersService,\r\n private reviewActionItemsStore: ReviewActionItemsStoreAndListenersService,\r\n private reviewActionItemTypesStore: ReviewActionItemTypesStoreAndListenersService,\r\n private reviewAttendanceSaveStore: ReviewAttendanceSaveStoreAndListenersService,\r\n private pvStore: PVStoreAndListenersService,\r\n private reviewBoardTypesStore: ReviewBoardTypesStoreAndListenersService,\r\n private reviewCyclesStore: ReviewCyclesStoreAndListenersService,\r\n private reviewPermissionsStore: ReviewPermissionsStoreAndListenersService,\r\n private reviewSatisfactionCheckStore: ReviewSatisfactionChecksStoreAndListenersService,\r\n private reviewsStore: ReviewsStoreAndListenersService,\r\n private rolePrivilegeStore: RolePrivilegeStoreAndListenersService,\r\n private roleStore: RoleStoreAndListenersService,\r\n private rsswaStore: RSSWAStoreAndListenersService,\r\n private scheduleReminderStore: ScheduleRemindersStoreAndListenersService,\r\n private scheduleStore: SchedulesStoreAndListenersService,\r\n private scheduleSubtypesStore: ScheduleSubtypesStoreAndListenersService,\r\n private scheduleTypesStore: ScheduleTypesStoreAndListenersService,\r\n private scfMastersStore: SCFMastersStoreAndListenersService,\r\n private signalRService: SignalRService,\r\n private templateTypesStore: TemplateTypesStoreAndListenersService,\r\n private tasksStore: TasksStoreAndListenersService,\r\n private tocaStore: TocaStoreAndListenersService,\r\n private toxicGasStore: ToxicGasStoreAndListenersService,\r\n private usersStore: UsersStoreAndListenersService,\r\n private workerVerificationStore: WorkerVerificationStoreAndListenersService,\r\n private keVersionStore: KEVersionStoreAndListenersService,\r\n private alertStore: AlertStoreAndListenersService,\r\n private deletedTasksStore: DeletedTasksStoreAndListenersService,\r\n private deletedStepsStore: DeletedStepsStoreAndListenersService,\r\n private deletedSectionsStore: DeletedSectionsStoreAndListenersService,\r\n private beamlineRestrictionStore: BeamlineRestrictionStoreAndListenersService,\r\n private placeholderStore: PlaceholdersStoreAndListenersService,\r\n private builderTaskStore: BuilderTasksStoreAndListenersService,\r\n private ologMesssageStore: OlogMessageStoreAndListenersService,\r\n private missingTrainingStore: MissingTrainingStoreAndListenersService,\r\n private transactionLogstore: TransactionLogStoreAndListenersService\r\n ) {\r\n this.checkReconnection();\r\n }\r\n\r\n checkReconnection() {\r\n setTimeout(() => {\r\n if (this.signalRService.reconnected) {\r\n this.initListeners();\r\n this.signalRService.reconnected = false;\r\n }\r\n this.checkReconnection();\r\n }, 5000);\r\n }\r\n\r\n initStore() {\r\n this.store.dispatch(new SetCurrentUser(localStorage.getItem('Token')));\r\n this.documentsStore.initStore();\r\n this.checklistTemplatesStore.initStore(0);\r\n this.missingTrainingStore.initStore();\r\n\r\n // Init\r\n this.menuItemStore.initStore();\r\n this.usersStore.initStore();\r\n this.privilegeStore.initStore();\r\n this.privilegeCategoryStore.initStore();\r\n this.pendingCatalogsStore.initStore();\r\n\r\n // Home\r\n this.bulletinBoardStore.initStore();\r\n this.radiationAreaStore.initStore();\r\n this.messageBannerStore.initStore();\r\n this.beamlineStatusStore.initStore();\r\n this.branchlineStatusStore.initStore();\r\n this.acceleratorStatusListener.initStore();\r\n this.toxicGasStore.initStore();\r\n this.bakeoutStore.initStore();\r\n this.commentsStore.initStore();\r\n this.beamlineRestrictionStore.initStore();\r\n\r\n // Catalogs\r\n this.roleStore.initStore();\r\n this.rolePrivilegeStore.initStore();\r\n this.documentTypeStore.initStore();\r\n this.resourceRelationsStore.initStore();\r\n this.resourcesStore.initStore();\r\n this.resourceTypesStore.initStore();\r\n this.beamlineShutters.initStore();\r\n this.radLocationStore.initStore();\r\n this.radLocationTypeStore.initStore();\r\n this.radInterlockStore.initStore();\r\n this.radInterlockRelationsStore.initStore();\r\n this.radMonitorStore.initStore();\r\n this.radMetersStore.initStore();\r\n this.navigationLinkStore.initStore();\r\n this.bratoiStore.initStore();\r\n this.tocaStore.initStore();\r\n this.notificationTemplateStore.initStore();\r\n this.pendingResourcesStore.initStore();\r\n this.ologCategoryStore.initStore();\r\n this.ologEmailStore.initStore();\r\n this.ologMesssageStore.initStore();\r\n\r\n // Forms\r\n this.formStatusStore.initStore();\r\n this.restrictionsStore.initStore();\r\n this.scfMastersStore.initStore();\r\n this.rsswaStore.initStore();\r\n this.workerVerificationStore.initStore();\r\n\r\n // Checklists\r\n this.componentsStore.initStore();\r\n this.checklistsStore.initStore();\r\n\r\n this.checklistTemplateStatusStore.initStore();\r\n this.templateTypesStore.initStore();\r\n this.kEnableStore.initStore();\r\n this.keVersionStore.initStore();\r\n this.absiStore.initStore();\r\n this.absiSectionStore.initStore();\r\n\r\n this.absiTemplateVersionStore.initStore();\r\n this.absiTemplateTypeStore.initStore();\r\n this.annotationsStore.initStore();\r\n this.actionItemStore.initStore(0);\r\n\r\n this.placeholderStore.initStore();\r\n\r\n // Schedules\r\n this.scheduleStore.initStore();\r\n this.scheduleTypesStore.initStore();\r\n this.scheduleSubtypesStore.initStore();\r\n this.scheduleReminderStore.initStore();\r\n\r\n // Procedure\r\n this.procedureStore.initStore();\r\n this.procedureTemplateStore.initStore();\r\n this.procedureCreditedStore.initStore();\r\n this.procedureCategoryStore.initStore()\r\n this.procedureTrainingStore.initStore();\r\n this.procedureTypeStore.initStore();\r\n\r\n // Reviews\r\n this.reviewsStore.initStore();\r\n this.reviewPermissionsStore.initStore();\r\n this.reviewCyclesStore.initStore();\r\n this.reviewBoardTypesStore.initStore();\r\n this.reviewAttendanceSaveStore.initStore();\r\n this.reviewActionItemsStore.initStore();\r\n this.reviewActionItemTypesStore.initStore();\r\n this.reviewSatisfactionCheckStore.initStore();\r\n\r\n // APL\r\n this.aplCategoryStore.initStore();\r\n this.aplGroupStore.initStore();\r\n\r\n // PV\r\n this.pvStore.initStore();\r\n\r\n }\r\n\r\n initListeners() {\r\n // Init\r\n this.documentsStore.initListeners();\r\n this.menuItemStore.initListeners();\r\n this.usersStore.initListeners();\r\n this.missingTrainingStore.initListeners();\r\n this.privilegeStore.initListeners();\r\n this.privilegeCategoryStore.initListeners();\r\n // this.myPendingApprovalsStore.initListeners();\r\n this.pendingCatalogsStore.initListeners();\r\n this.alertStore.initListeners();\r\n\r\n // Home\r\n this.bulletinBoardStore.initListeners();\r\n this.radiationAreaStore.initListeners();\r\n this.messageBannerStore.initListeners();\r\n this.beamlineStatusStore.initListeners();\r\n this.branchlineStatusStore.initListeners();\r\n this.messageBannerStore.initListeners();\r\n this.acceleratorStatusListener.initListeners();\r\n this.toxicGasStore.initListeners();\r\n this.bakeoutStore.initListeners();\r\n this.commentsStore.initListeners();\r\n this.beamlineRestrictionStore.initListeners();\r\n\r\n // Catalogs\r\n this.roleStore.initListeners();\r\n this.rolePrivilegeStore.initListeners();\r\n this.documentTypeStore.initListeners();\r\n this.resourceRelationsStore.initListeners();\r\n this.resourcesStore.initListeners();\r\n this.resourceTypesStore.initListeners();\r\n this.beamlineShutters.initListeners();\r\n this.radLocationStore.initListeners();\r\n this.radLocationTypeStore.initListeners();\r\n this.radInterlockStore.initListeners();\r\n this.radInterlockRelationsStore.initListeners();\r\n this.radMonitorStore.initListeners();\r\n this.radMetersStore.initListeners();\r\n this.navigationLinkStore.initListeners();\r\n this.bratoiStore.initListeners();\r\n this.tocaStore.initListeners();\r\n this.notificationTemplateStore.initListeners();\r\n this.pendingResourcesStore.initListeners();\r\n this.ologCategoryStore.initListeners();\r\n this.ologEmailStore.initListeners();\r\n this.ologMesssageStore.initListeners();\r\n\r\n // Forms\r\n this.formsStore.initListeners();\r\n this.formStatusStore.initListeners();\r\n this.restrictionsStore.initListeners();\r\n this.scfMastersStore.initListeners();\r\n this.rsswaStore.initListeners();\r\n this.workerVerificationStore.initListeners();\r\n\r\n // Checklists\r\n this.componentsStore.initListeners();\r\n this.checklistsStore.initListeners();\r\n this.kEnableStore.initListeners();\r\n this.keVersionStore.initListeners();\r\n this.absiStore.initListeners();\r\n this.absiSectionStore.initListeners();\r\n this.annotationsStore.initListeners();\r\n this.actionItemStore.initListeners();\r\n this.tasksStore.initListeners();\r\n\r\n this.placeholderStore.initListeners();\r\n\r\n // Checklist Builder\r\n this.absiTemplateVersionStore.initListeners();\r\n this.absiTemplateTypeStore.initListeners();\r\n this.checklistTemplatesStore.initListeners();\r\n this.checklistTemplateStatusStore.initListeners();\r\n this.templateTypesStore.initListeners();\r\n this.deletedTasksStore.initListeners();\r\n this.deletedStepsStore.initListeners();\r\n this.deletedSectionsStore.initListeners();\r\n this.builderTaskStore.initListeners();\r\n\r\n // Schedules\r\n this.scheduleStore.initListeners();\r\n this.scheduleTypesStore.initListeners();\r\n this.scheduleSubtypesStore.initListeners();\r\n this.scheduleReminderStore.initListeners();\r\n\r\n // Procedure\r\n this.procedureStore.initListeners();\r\n this.procedureTemplateStore.initListeners();\r\n this.procedureCreditedStore.initListeners();\r\n this.procedureCategoryStore.initListeners();\r\n this.procedureTrainingStore.initListeners();\r\n this.procedureTypeStore.initListeners();\r\n\r\n // Reviews\r\n this.reviewsStore.initListeners();\r\n this.reviewPermissionsStore.initListeners();\r\n this.reviewCyclesStore.initListeners();\r\n this.reviewBoardTypesStore.initListeners();\r\n this.reviewAttendanceSaveStore.initListeners();\r\n this.reviewActionItemsStore.initListeners();\r\n this.reviewActionItemTypesStore.initListeners();\r\n this.reviewSatisfactionCheckStore.initListeners();\r\n\r\n // APL\r\n this.aplCategoryStore.initListeners();\r\n this.aplGroupStore.initListeners();\r\n\r\n // PV\r\n this.pvStore.initListeners();\r\n\r\n // Transations\r\n this.transactionLogstore.initListeners();\r\n\r\n\r\n }\r\n\r\n closeListener(channel: string) {\r\n this.signalRService.hubConnection?.off(channel);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport * as signalR from '@microsoft/signalr';\r\nimport { environment } from 'src/environments/environment';\r\nimport { AlertService } from '../alert/alert.service';\r\nimport { ILogger, LogLevel } from '@microsoft/signalr';\r\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\r\n\r\nexport class MyLogger implements ILogger {\r\n\r\n public logLevel!: BehaviorSubject;\r\n\r\n constructor() {\r\n this.logLevel = new BehaviorSubject(null);\r\n }\r\n log(logLevel: LogLevel) {\r\n if (logLevel > 0) {\r\n this.setLogLevel(logLevel);\r\n }\r\n }\r\n\r\n private setLogLevel(value: number) {\r\n this.logLevel.next(value);\r\n }\r\n\r\n getLogLevel(): Observable {\r\n return this.logLevel.asObservable();\r\n }\r\n\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SignalRService {\r\n BASE_URL = environment.urls.baseApiUrl.replace('api', 'apphub');\r\n public hubConnection?: signalR.HubConnection;\r\n firstLoad = true;\r\n connection = false;\r\n reconnected = false;\r\n\r\n logger = new MyLogger();\r\n\r\n logLevelSubscription?: Subscription;\r\n\r\n constructor(\r\n private alert: AlertService,\r\n ) {\r\n this.checkLogger();\r\n }\r\n\r\n private checkLogger() {\r\n this.logger.logLevel?.subscribe(() => {\r\n const state = this.hubConnection?.state;\r\n if (state == 'Disconnected') {\r\n this.connection = false;\r\n }\r\n if (state == 'Connected') {\r\n this.connection = true;\r\n if (!this.firstLoad)\r\n this.reconnected = true;\r\n }\r\n });\r\n }\r\n\r\n public startConnection() {\r\n this.hubConnection = new signalR.HubConnectionBuilder()\r\n .withUrl(this.BASE_URL)\r\n .withAutomaticReconnect([0, 2000, 5000, 10000, 15000])\r\n .configureLogging(this.logger)\r\n .build();\r\n\r\n this.hubConnection.keepAliveIntervalInMilliseconds = 5000;\r\n this.hubConnection.serverTimeoutInMilliseconds = 60000;\r\n\r\n this.startHubConnection();\r\n\r\n this.hubConnection.onreconnecting(() => {\r\n this.connection = false;\r\n this.alert.error(\"Lost Connection to Server. Attempting to Reconnect...\");\r\n });\r\n\r\n this.hubConnection.onreconnected(connectionId => {\r\n this.connection = true;\r\n this.alert.success('Reconnected successfully!');\r\n console.log('Reconnected successfully with connection ID:', connectionId);\r\n });\r\n\r\n this.hubConnection.onclose(() => {\r\n this.connection = false;\r\n console.log(\"Connection closed. Trying to reconnect...\");\r\n this.alert.error('Connection closed. Trying to reconnect...');\r\n setTimeout(() => { this.startConnection(); }, 2000); // Reconnect logic\r\n });\r\n }\r\n\r\n public listenOn(tag: string) {\r\n this.hubConnection?.on(tag, (data) => {\r\n console.log(data);\r\n });\r\n }\r\n\r\n startHubConnection() {\r\n this.hubConnection?.start()\r\n .then(() => {\r\n this.connection = true;\r\n if (!this.firstLoad) {\r\n this.firstLoad = false;\r\n console.log('Connection started');\r\n this.reconnected = true;\r\n this.alert.info('Connection Restablished!');\r\n }\r\n })\r\n .catch(err => {\r\n console.log('Error while starting connection: ' + err);\r\n setTimeout(() => this.startHubConnection(), 3000); // Reconnect logic\r\n }\r\n );\r\n }\r\n\r\n public listenOn2 = (tag: string, funct: (...args: any[]) => any) => this.hubConnection?.on(tag, funct);\r\n}\r\n","export enum SignalRAction {\r\n Add = 1,\r\n Update = 2,\r\n Delete = 3,\r\n Get = 4,\r\n PartialUpdate = 5,\r\n RequestRefresh = 6,\r\n\r\n //\r\n Olog = 100\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../environments/environment';\r\nimport { SiteConfiguration } from './site-configuration';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SiteConfigurationService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n getById(id: number): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/SiteConfiguration/' + id);\r\n }\r\n getFirst(): Observable {\r\n return this.http.get(environment.urls.baseApiUrl + '/SiteConfiguration');\r\n }\r\n update(value: SiteConfiguration) {\r\n return this.http.put(environment.urls.baseApiUrl + '/SiteConfiguration', value);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { MatTooltipDefaultOptions } from '@angular/material/tooltip';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TooltipConfigService implements MatTooltipDefaultOptions {\r\n // Define your default tooltip class here\r\n tooltipClass = 'ascc-tooltip';\r\n showDelay = 0;\r\n hideDelay = 100;\r\n touchendHideDelay = 3000;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { UserRole } from './user-role';\r\nimport { environment } from '../../../environments/environment';\r\nimport { AuthenticationService } from 'src/app/services/authentication/authentication.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserRoleService {\r\n constructor(private http: HttpClient, public authentication: AuthenticationService) { }\r\n\r\n Read(userID?: number | null, roleID?: number): Observable {\r\n let url: string;\r\n let first = false;\r\n\r\n url = environment.urls.baseApiUrl + '/UserRoles';\r\n\r\n if (userID != null || roleID != null) {\r\n url += '?';\r\n }\r\n\r\n if (userID != null) {\r\n if (!first) {\r\n first = true;\r\n } else {\r\n url += '&';\r\n }\r\n\r\n url += 'userID=' + userID.toString();\r\n }\r\n\r\n if (roleID != null) {\r\n if (!first) {\r\n first = true;\r\n } else {\r\n url += '&';\r\n }\r\n\r\n url += 'roleID=' + roleID.toString();\r\n }\r\n\r\n return this.http.get(url);\r\n }\r\n\r\n Create(userRole: UserRole): Observable {\r\n return this.http.post(environment.urls.baseApiUrl + '/UserRoles', userRole);\r\n }\r\n\r\n Delete(id: number): Observable {\r\n return this.http.delete(environment.urls.baseApiUrl + '/UserRoles/' + id.toString());\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { EventEmitter, Injectable, Injector } from '@angular/core';\r\nimport { environment } from '../../../environments/environment';\r\nimport { WFComponent } from '../../components/workflow/workflow';\r\nimport { Observable } from 'rxjs';\r\nimport { BaseService } from 'src/app/common/base/base.service';\r\n\r\n@Injectable()\r\nexport class ComponentService extends BaseService {\r\n refreshTableData: EventEmitter = new EventEmitter();\r\n url = environment.urls.baseApiUrl + '/Components';\r\n constructor(\r\n protected override injector: Injector\r\n ) {\r\n super(injector, '/components');\r\n }\r\n\r\n Read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n ReadById(id: number): Observable {\r\n return this.http.get(this.url + '/' + id);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { WFTableResource, WFMasterResource, WFStepConfig, WFRoleConfig, WFActionConfig, WFTaskConfig, ReorderResource } from 'src/app/components/workflow/workflow';\r\nimport { CommentResource } from '../../controls/comments-and-attachments/services/comment';\r\nimport { FormType } from 'src/app/common/enumerations/enumerations';\r\nimport { WfTaskResource, WfTaskLocalResource, WFSectionLocalResource, WFConfiguration, WFTaskSignatureResource, SaveTaskResource, WfSignatureResource } from './work-flow';\r\nimport { LogToShowResource } from '../logs/log-to-show-resource';\r\n\r\n\r\n@Injectable()\r\nexport class WorkFlowService {\r\n BASE_URL = environment.urls.baseApiUrl; // Api URL\r\n WorkFlowTask = '/WorkFlowTask';\r\n WFConfiguration = '/WFConfiguration';\r\n WorkFlow = '/WorkFlow';\r\n TransactionLogs = '/TransactionLogs';\r\n constructor(\r\n private http: HttpClient) {\r\n }\r\n public readPending(id: number) {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlowTask + '/Pending/' + id);\r\n return httpresult;\r\n }\r\n public readByWorkFlow(id: number) {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlowTask + '/ByWorkFlow/' + id);\r\n return httpresult;\r\n }\r\n public readBySection(id: number, sectionNumber: number, showInactive: boolean = false, amendmentId: number = 0) {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlowTask + '/BySection/' + id + '?SectionNumber=' + sectionNumber + '&showInactive=' + (showInactive ? 'true' : 'false') + '&amendmentId=' + amendmentId);\r\n return httpresult;\r\n }\r\n public readAllBySection(id: number, sectionNumber: number) {\r\n const httpResult = this.http.get(this.BASE_URL + this.WorkFlowTask + '/AllBySection/' + id + '?SectionNumber=' + sectionNumber);\r\n return httpResult;\r\n }\r\n\r\n public readAllSections(wfTableId: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlow + '/WFSectionLocals/' + wfTableId);\r\n return httpresult;\r\n }\r\n\r\n public readByWorkFlowBySection(id: number, sectionId: number) {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlowTask + '/ByWorkFlow/' + id + '?wfSectionConfig=' + sectionId);\r\n return httpresult;\r\n }\r\n\r\n public readConfiguration(type: number, wfTableId: number) {\r\n const httpresult = this.http.get(this.BASE_URL + this.WFConfiguration + '/' + type + '/' + wfTableId);\r\n return httpresult;\r\n }\r\n\r\n public sign(taskSignature: WFTaskSignatureResource) {\r\n const url: string = this.BASE_URL + this.WorkFlowTask + '/Sign';\r\n const httpresult = this.http.put(url, taskSignature);\r\n return httpresult;\r\n }\r\n\r\n public save(s: SaveTaskResource) {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlowTask + '/Save/' + s.id, s);\r\n return httpresult;\r\n }\r\n\r\n public saveOpApproval(s: SaveTaskResource) {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlowTask + '/SaveOpApproval/' + s.id, s);\r\n return httpresult;\r\n }\r\n\r\n public approveOpApproval(id: number, approve: boolean) {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlowTask + '/ApproveOpApproval/' + id + '/' + approve, null);\r\n return httpresult;\r\n }\r\n\r\n public copyTask(wfTaskLocalId: number, duplicatedTag: string | null = null): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlowTask + '/CopyTask/' + wfTaskLocalId + '/' + duplicatedTag, null);\r\n return httpresult;\r\n }\r\n\r\n public removeTask(wfTaskLocalId: number) {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlowTask + '/RemoveTask/' + wfTaskLocalId, null);\r\n return httpresult;\r\n }\r\n\r\n public readAmendmentTasks(wfTableID: number): Observable {\r\n return this.http.get(this.BASE_URL + this.WorkFlowTask + '/Amendments/' + wfTableID.toString());\r\n }\r\n\r\n public readCurrentAmendmentID(wfTableID: number): Observable {\r\n return this.http.get(this.BASE_URL + this.WorkFlow + '/CurrentAmendmentID/' + wfTableID.toString());\r\n }\r\n\r\n public getLogsBySn(SN: string): Observable {\r\n return this.http.get(this.BASE_URL + this.WorkFlow + '/GetLogsBySn/' + SN);\r\n }\r\n\r\n ////#region WF Configurator\r\n\r\n public getWFTable(): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlow);\r\n return httpresult;\r\n }\r\n\r\n public getWFTableByForm(formType: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlow + '/ByFormType/' + formType);\r\n return httpresult;\r\n }\r\n\r\n public getWFSectionsByForm(formType: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlow + '/SectionsByFormType/' + formType);\r\n return httpresult;\r\n }\r\n\r\n public getWFTableById(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlow + '/TableConfig/' + id);\r\n return httpresult;\r\n }\r\n\r\n public getWFMaster(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlow + '/MasterConfig/' + id);\r\n return httpresult;\r\n }\r\n\r\n public getWFSteps(id: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WorkFlow + '/StepConfig/' + id);\r\n return httpresult;\r\n }\r\n\r\n public getDocumentTypeByWFTableID(wfTableID: number): Observable {\r\n const httpresult = this.http.get(this.BASE_URL + this.WFConfiguration + '/' + wfTableID);\r\n return httpresult;\r\n }\r\n\r\n /// WFRoleConfig\r\n\r\n public postWFRole(wfRole: WFRoleConfig): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlow + '/RoleConfig', wfRole);\r\n return httpresult;\r\n }\r\n\r\n public putWFRole(wfRole: WFRoleConfig): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/RoleConfig/' + wfRole.id, wfRole);\r\n return httpresult;\r\n }\r\n\r\n public delWFRole(wfRole: WFRoleConfig) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.WorkFlow + '/RoleConfig/' + wfRole.id);\r\n return httpresult;\r\n }\r\n\r\n /// WFActionConfig\r\n\r\n public postWFAction(wfAction: WFActionConfig): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlow + '/ActionConfig', wfAction);\r\n return httpresult;\r\n }\r\n\r\n public putWFAction(wfAction: WFActionConfig): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/ActionConfig/' + wfAction.id, wfAction);\r\n return httpresult;\r\n }\r\n\r\n public delWFAction(wfAction: WFActionConfig) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.WorkFlow + '/ActionConfig/' + wfAction.id);\r\n return httpresult;\r\n }\r\n\r\n /// WFTaskConfig\r\n\r\n public postWFTask(wfTask: WFTaskConfig): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlow + '/TaskConfig', wfTask);\r\n return httpresult;\r\n }\r\n\r\n public putWFTask(wfTask: WFTaskConfig): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/TaskConfig/' + wfTask.id, wfTask);\r\n return httpresult;\r\n }\r\n\r\n public putWFTasks(wfTasks: WFTaskConfig[]): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/TaskConfigs/', wfTasks);\r\n return httpresult;\r\n }\r\n\r\n public delWFTask(wfTask: WFTaskConfig) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.WorkFlow + '/TaskConfig/' + wfTask.id);\r\n return httpresult;\r\n }\r\n\r\n /// WFStepConfig\r\n\r\n public postWFStep(wfStep: WFStepConfig): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlow + '/StepConfig', wfStep);\r\n return httpresult;\r\n }\r\n\r\n public putWFStep(wfStep: WFStepConfig): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/StepConfig/' + wfStep.id, wfStep);\r\n return httpresult;\r\n }\r\n\r\n public delWFStep(wfStep: WFStepConfig) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.WorkFlow + '/StepConfig/' + wfStep.id);\r\n return httpresult;\r\n }\r\n\r\n /// WFSectionConfig\r\n\r\n public postWFSection(wfSection: WFMasterResource): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlow + '/SectionConfig', wfSection);\r\n return httpresult;\r\n }\r\n\r\n public putWFSection(wfSection: WFMasterResource): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/SectionConfig/' + wfSection.id, wfSection);\r\n return httpresult;\r\n }\r\n\r\n public delWFSection(wfSection: WFMasterResource) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.WorkFlow + '/SectionConfig/' + wfSection.id);\r\n return httpresult;\r\n }\r\n\r\n /// WFSectionConfig\r\n\r\n public postWFTable(wfTable: WFTableResource): Observable {\r\n const httpresult = this.http.post(this.BASE_URL + this.WorkFlow + '/TableConfig', wfTable);\r\n return httpresult;\r\n }\r\n\r\n public putWFTable(wfTable: WFTableResource): Observable {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/TableConfig/' + wfTable.id, wfTable);\r\n return httpresult;\r\n }\r\n\r\n public delWFTable(wfTable: WFTableResource) {\r\n const httpresult = this.http.delete(this.BASE_URL + this.WorkFlow + '/TableConfig/' + wfTable.id);\r\n return httpresult;\r\n }\r\n\r\n public copyWFTable(wfTable: WFTableResource) {\r\n const httpresult = this.http.put(this.BASE_URL + this.WorkFlow + '/DuplicateWF/' + wfTable.id, null);\r\n return httpresult;\r\n }\r\n\r\n //////#endregion\r\n public reorderItems(reorder: ReorderResource[], level: number) {\r\n const httpresult = this.http.patch(this.BASE_URL + this.WorkFlow + '/ReorderItems/' + level, reorder);\r\n return httpresult;\r\n }\r\n public cancelTask(wfTableID: number): Observable {\r\n return this.http.get(this.BASE_URL + this.WorkFlowTask + '/Cancel/' + wfTableID.toString());\r\n }\r\n public amendmendTask(wfTableID: number, type: FormType): Observable {\r\n return this.http.get(this.BASE_URL + this.WorkFlowTask + '/Amendment/' + type.toString() + '/' + wfTableID.toString());\r\n }\r\n public comments(wfTableID: number): Observable {\r\n return this.http.get(this.BASE_URL + this.WorkFlowTask + '/Comments/' + wfTableID.toString());\r\n }\r\n}\r\n","import { WFComponent, WFStepConfig } from '../../components/workflow/workflow';\r\nimport { PrivilegeEnum } from '../role-privilege/privilege-enum';\r\nimport { ComponentType, FormStatusEnum } from 'src/app/common/enumerations/enumerations';\r\nimport { ChecklistExecStatus, Annotation } from 'src/app/components/checklists/checklists';\r\nimport { SCFHoldPointResource } from 'src/app/components/scf-v2/scf';\r\nimport { ReviewSatisfactionCheck } from 'src/app/components/reviews/reviews.models';\r\nimport { Role } from 'src/app/components/catalogs/roles/services/role';\r\nimport { User } from 'src/app/components/catalogs/user-catalog/services/user';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\nimport { ActionItem } from 'src/app/common/models/action-item';\r\nimport { Tooltip } from 'src/app/common/tooltip';\r\nimport { ResourceBaseV2 } from 'src/app/common/models/model-base';\r\n\r\nexport class WfActionLocalResource {\r\n id?: number;\r\n name?: string;\r\n label?: string;\r\n wfActionConfigID?: number;\r\n action?: number;\r\n wfTaskLocalID?: number;\r\n wfNextStepLocalID?: number;\r\n subAction?: number;\r\n nextStatusID?: number | null;\r\n nextStatus?: ChecklistExecStatus;\r\n}\r\nexport class WfTaskLocalResource {\r\n\r\n id?: number;\r\n name!: string;\r\n description?: string;\r\n status?: number;\r\n type?: number | null;\r\n code?: string;\r\n createdOn?: string;\r\n createdByID?: number | null;\r\n createdBy?: User;\r\n updatedOn?: string | null;\r\n updatedByID?: number | null;\r\n updatedBy?: User;\r\n\r\n name2?: string | null;\r\n name3?: string | null;\r\n name4?: string | null;\r\n value?: boolean;\r\n numericValue?: number;\r\n doubleValue?: number;\r\n text?: string;\r\n enabled?: boolean;\r\n order?: number;\r\n wfTaskConfigID?: number;\r\n wfActionLocals?: WfActionLocalResource[];\r\n wfRoleLocals?: WFRoleLocal[];\r\n wfTasks?: WfTaskResource[];\r\n wfStepLocalID?: number;\r\n wfStepLocal?: WFStepLocalResource;\r\n scheduleResourceId?: number;\r\n scheduleType?: number;\r\n resourceId?: number;\r\n resourceName?: string | null;\r\n configuration?: string;\r\n condition?: string;\r\n options?: string;\r\n componentID?: number;\r\n component?: WFComponent;\r\n hashCode?: string;\r\n disabled?: boolean;\r\n reviewSatisfactionChecks?: ReviewSatisfactionCheck[];\r\n booleanValue?: boolean;\r\n amendmentID?: number;\r\n holdPointID?: number;\r\n holdPoint?: SCFHoldPointResource;\r\n requesterSignature?: boolean;\r\n required?: boolean;\r\n annotations?: Annotation[];\r\n isCompleted?: boolean;\r\n isTouched?: boolean;\r\n\r\n // Checklist Builder Undo Feature Properties\r\n logID?: number;\r\n checklistTemplateID?: number;\r\n}\r\n\r\nexport interface WFSectionLocalResource {\r\n id: number;\r\n number?: number;\r\n name?: string;\r\n description?: string;\r\n code?: string;\r\n type?: number;\r\n status?: WFSectionLocalStatus;\r\n order?: number;\r\n wfTableID?: number;\r\n wfTableLocalID?: number;\r\n wfSectionConfigID?: number;\r\n actionItems?: ActionItem[];\r\n collapsible?: boolean;\r\n collapsed?: boolean;\r\n wfStepLocals?: WFStepLocalResource[];\r\n wfSignatures?: WfSignatureResource[];\r\n createdBy?: User;\r\n createdOn?: Date;\r\n updatedBy?: User;\r\n updatedOn?: Date;\r\n configuration?: string;\r\n\r\n //---\r\n expanded?: boolean;\r\n\r\n // Checklist Builder Undo Feature Properties\r\n logID?: number;\r\n checklistTemplateID?: number;\r\n}\r\n\r\nexport class WFStepLocalResource {\r\n id!: number;\r\n name!: string;\r\n description!: string;\r\n type!: number;\r\n status!: WFStepLocalStatus;\r\n start!: boolean;\r\n end!: boolean;\r\n order!: number;\r\n code!: string;\r\n collapsible?: boolean;\r\n collapsed?: boolean;\r\n avoidUnapprove!: boolean;\r\n wfSectionLocalID!: number;\r\n wfSectionLocal!: WFSectionLocalResource;\r\n wfTaskLocals!: WfTaskLocalResource[];\r\n wfStepStatusLocals!: WFStepStatusLocal[];\r\n createdBy!: User;\r\n createdOn!: Date;\r\n updatedBy!: User;\r\n updatedOn!: Date;\r\n wfSteps!: WFStep[];\r\n wfStepConfig!: WFStepConfig;\r\n configuration?: string;\r\n\r\n // Checklist Builder Undo Feature Properties\r\n logID?: number;\r\n checklistTemplateID?: number;\r\n}\r\n\r\nexport class WFStep {\r\n id!: number;\r\n name!: string;\r\n start!: boolean;\r\n end!: boolean;\r\n wfTableID!: number;\r\n active!: boolean;\r\n wfStepLocalID!: number;\r\n status!: FormStatusEnum;\r\n}\r\n\r\nexport interface WFStepStatusLocal {\r\n id: number;\r\n wfStepLocalID: number;\r\n status?: FormStatusEnum;\r\n checklistExecStatus?: ChecklistExecStatus;\r\n hidden: boolean;\r\n enabled: boolean;\r\n cssClass: string;\r\n}\r\n\r\nexport class SaveTaskResource {\r\n id!: number;\r\n value?: boolean;\r\n numericValue?: number;\r\n text?: string | null;\r\n doubleValue?: number | null;\r\n field?: string;\r\n formType?: number;\r\n option?: number;\r\n resourceId?: number;\r\n answerChangedById?: number | null;\r\n disabled?: boolean;\r\n booleanValue?: boolean;\r\n isCompleted?: boolean;\r\n pendingChange?: boolean;\r\n}\r\n\r\nexport class WfTaskResource {\r\n id?: number;\r\n name?: string;\r\n required?: boolean;\r\n order?: number;\r\n enabled?: boolean;\r\n signedOn?: Date;\r\n signedBy!: sign | null;\r\n}\r\n\r\nexport class WFTaskSignatureResource {\r\n taskId?: number;\r\n actionId?: number;\r\n reason?: string | null;\r\n formID?: number;\r\n amendment?: boolean;\r\n options?: string;\r\n}\r\n\r\nexport class WFConfiguration {\r\n ID?: number;\r\n form?: number;\r\n identificator?: number;\r\n wfSectionLocalID?: number;\r\n wfTaskLocalID?: number;\r\n wfTableID?: number;\r\n}\r\n\r\nexport class WfSignatureResource {\r\n amendmentID!: number;\r\n order?: number;\r\n id!: number;\r\n code?: string;\r\n condition?: string;\r\n taskID!: number;\r\n titleBefore!: string;\r\n titleAfter!: string;\r\n titleAfter2!: string;\r\n enabled?: boolean;\r\n required?: boolean;\r\n visible?: boolean;\r\n question!: string;\r\n signed!: boolean;\r\n signedBy?: User | null;\r\n signedOn!: Date | null;\r\n roles!: Role[];\r\n users!: User[];\r\n approveID!: number;\r\n unapproveID?: number;\r\n disapproveID?: number;\r\n cancelID?: number;\r\n approveEnabled!: boolean;\r\n unapproveEnabled!: boolean;\r\n disapproveEnabled!: boolean;\r\n disapproveReason!: string;\r\n amendmentEnabled!: boolean;\r\n cancelEnabled!: boolean;\r\n value!: boolean;\r\n text!: string;\r\n type!: number;\r\n options!: string;\r\n numericValue?: number;\r\n doubleValue!: number | null;\r\n wfTaskConfigID?: number;\r\n wfTaskLocal!: WfTaskLocalResource;\r\n sectionNumber!: number;\r\n sectionName!: string;\r\n iterable!: boolean;\r\n status!: number;\r\n warning!: boolean;\r\n moreInfo?: string | null;\r\n disabled?: boolean;\r\n amendmentNumber?: number;\r\n resourceId?: number;\r\n scheduleResourceId?: number;\r\n scheduleType?: number;\r\n dateValue1?: Date;\r\n dateValue2?: Date;\r\n dateValue3?: Date;\r\n scheduleName?: string;\r\n locationName?: string;\r\n privilegeToApproveAnswer?: PrivilegeEnum;\r\n answerChangedBy?: User;\r\n answerChangedById?: number;\r\n requesterSignature?: boolean;\r\n component?: WFComponent;\r\n configuration?: string;\r\n extraActions!: ExtraAction[];\r\n followUpChanged?: boolean;\r\n lastFollowUpChanged?: string;\r\n lastFollowUpCheckChanged?: string;\r\n holdPointID?: number;\r\n isCompleted?: boolean;\r\n pendingChange?: boolean;\r\n pendingChangeObj?: string;\r\n\r\n public static toWFSignatureResource(signature: WfSignatureResource, showRoleCodes: boolean = true): WfSignature {\r\n return {\r\n id: signature.id,\r\n approveId: signature.approveID,\r\n unapproveId: signature.unapproveID,\r\n disapproveId: signature.disapproveID,\r\n amendmentId: signature.amendmentID,\r\n name: signature.titleBefore,\r\n question: signature.question,\r\n roles: signature.roles.map(r => r.id as number),\r\n roleCodes: showRoleCodes ? signature.roles.map(r => r.code).join('/') : signature.roles.map(r => r.name).join('/'),\r\n userNames: signature.users.map(user => user.name).join('/'),\r\n disabled: !(signature.approveEnabled || signature.unapproveEnabled),\r\n approvedBy: signature.signedBy,\r\n approved: signature.signed,\r\n approvedOn: signature.signedOn,\r\n approve: signature.approveEnabled,\r\n unapprove: signature.unapproveEnabled,\r\n disapprove: signature.disapproveEnabled,\r\n amendment: signature.amendmentEnabled,\r\n required: signature.required,\r\n taskId: signature.taskID,\r\n value: signature.value,\r\n cancelID: signature.cancelID,\r\n cancel: signature.cancelEnabled,\r\n enabled: signature.enabled,\r\n text: signature.text,\r\n warning: false,\r\n options: utils.JSONparse(signature.options),\r\n titleAfter: signature.titleAfter,\r\n followUpChanged: signature.followUpChanged,\r\n lastFollowUpChanged: signature.lastFollowUpChanged,\r\n lastFollowUpCheckChanged: signature.lastFollowUpCheckChanged,\r\n isCompleted: signature.isCompleted,\r\n type: !signature.type ? ComponentType.ButtonSignature : signature.type,\r\n visible: true,\r\n };\r\n }\r\n\r\n public static toWFSignatureResourceWithPerson(signature: WfSignatureResource, signatures: WfSignatureResource[], leftPersons?: WFConfiguration[][], rightPersons?: WFConfiguration[][], userID?: number): WfSignature {\r\n let previousSigned = false;\r\n if (leftPersons?.length && rightPersons?.length)\r\n for (let j = 0; j < leftPersons.length; j++) {\r\n if (leftPersons[j].some(x => x.wfTaskLocalID === signature.id)) {\r\n for (let i = 0; i < rightPersons[j].length; i++) {\r\n if (signatures.find(x => x.id != signature.id && x.id === rightPersons[j][i].wfTaskLocalID && x.amendmentID === signature.amendmentID)?.signedBy?.id === userID) {\r\n previousSigned = true;\r\n break;\r\n }\r\n }\r\n } else if (rightPersons[j].some(x => x.wfTaskLocalID === signature.id)) {\r\n for (let i = 0; i < leftPersons[j].length; i++) {\r\n\r\n if (signatures.find(x => x.id != signature.id && x.id === leftPersons[j][i].wfTaskLocalID && x.amendmentID === signature.amendmentID)?.signedBy?.id === userID) {\r\n previousSigned = true;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (previousSigned) {\r\n break;\r\n }\r\n }\r\n\r\n return {\r\n id: signature.id,\r\n visible: true,\r\n approveId: signature.approveID,\r\n unapproveId: signature.unapproveID,\r\n disapproveId: signature.disapproveID,\r\n amendmentId: signature.amendmentID,\r\n amendmentNumber: signature.amendmentNumber,\r\n name: signature.titleBefore,\r\n question: signature.question,\r\n roles: signature.roles.map(r => r.id as number),\r\n roleCodes: signature.roles.map(r => r.code).join('/'),\r\n userNames: signature.users.map(user => user.name).join('/'),\r\n disabled: !(signature.approveEnabled || signature.unapproveEnabled || signature.disapproveEnabled) || previousSigned,\r\n approvedBy: signature.signedBy,\r\n approved: signature.signed,\r\n approvedOn: signature.signedOn,\r\n approve: signature.approveEnabled,\r\n unapprove: signature.unapproveEnabled,\r\n disapprove: signature.disapproveEnabled,\r\n amendment: signature.amendmentEnabled,\r\n required: signature.required,\r\n taskId: signature.taskID,\r\n value: signature.value,\r\n warning: false,\r\n options: utils.JSONparse(signature.options),\r\n cancelID: signature.cancelID,\r\n cancel: signature.cancelEnabled,\r\n enabled: signature.enabled,\r\n followUpChanged: signature.followUpChanged,\r\n lastFollowUpChanged: signature.lastFollowUpChanged,\r\n lastFollowUpCheckChanged: signature.lastFollowUpCheckChanged,\r\n type: !signature.type ? ComponentType.ButtonSignature : signature.type\r\n };\r\n }\r\n}\r\n\r\nexport class WfSignature {\r\n id?: number;\r\n number?: string | null;\r\n taskId?: number;\r\n name?: string | null;\r\n disabled?: boolean;\r\n disableEdit?: boolean;\r\n required?: boolean;\r\n visible?: boolean;\r\n question?: string | null;\r\n question2?: string | null;\r\n question3?: string | null;\r\n approved?: boolean;\r\n approvedBy?: User | null;\r\n approvedOn?: Date | null;\r\n roles?: number[] | null;\r\n roleCodes?: string;\r\n userNames?: string;\r\n approveId?: number;\r\n unapproveId?: number;\r\n disapproveId?: number;\r\n amendmentId?: number;\r\n amendmentNumber?: number;\r\n approve?: boolean;\r\n unapprove?: boolean;\r\n disapprove?: boolean;\r\n amendment?: boolean;\r\n value?: boolean;\r\n value2?: number;\r\n textValue?: string | null;\r\n type?: number;\r\n options?: any[];\r\n sectionName?: string;\r\n sectionNumber?: number;\r\n iterable?: boolean;\r\n order?: number;\r\n cancelID?: number;\r\n cancel?: boolean;\r\n isVacuum?: boolean;\r\n warning?: boolean;\r\n moreInfo?: string;\r\n resourceId?: number;\r\n scheduleResourceId?: number;\r\n scheduleTypeId?: number;\r\n dateValue1?: Date;\r\n dateValue2?: Date;\r\n dateValue3?: Date | null;\r\n scheduleName?: string;\r\n locationName?: string | null;\r\n editMode?: boolean;\r\n condition?: string;\r\n code?: string;\r\n enabled?: boolean;\r\n component?: WFComponent;\r\n configuration?: string;\r\n requesterSignature?: boolean;\r\n privilegeToApproveAnswer?: PrivilegeEnum;\r\n answerChangedBy?: User;\r\n answerChangedById?: number;\r\n text?: string | null;\r\n titleAfter?: string;\r\n status?: number;\r\n stepId?: number;\r\n followUpChanged?: boolean;\r\n lastFollowUpChanged?: string;\r\n lastFollowUpCheckChanged?: string;\r\n booleanValue?: boolean;\r\n holdPointID?: number;\r\n isCompleted?: boolean;\r\n wfTaskLocal?: WfTaskLocalResource;\r\n cssClass?: string;\r\n pendingChange?: boolean;\r\n pendingChangeObj?: string;\r\n\r\n invalid?: boolean;\r\n errors?: string;\r\n tooltips?: Tooltip[];\r\n}\r\n\r\nclass sign {\r\n id?: number | null;\r\n name?: string | null;\r\n initials?: string | null;\r\n}\r\n\r\nexport class WFRoleLocal {\r\n id!: number;\r\n role?: role;\r\n roleID!: number;\r\n roleCode?: string;\r\n wfTaskLocalID!: number;\r\n wfRoleConfigID?: number;\r\n}\r\n// tslint:disable-next-line: class-name\r\nclass role {\r\n id!: number;\r\n name!: string;\r\n code!: string;\r\n}\r\n\r\nexport class ExtraAction {\r\n public id!: number;\r\n public taskID!: number;\r\n public name!: string;\r\n}\r\n\r\nexport enum WFStepLocalStatus {\r\n NONE = 0,\r\n DUPLICATED = 1\r\n}\r\n\r\nexport enum WFSectionLocalStatus {\r\n NONE = 0,\r\n DUPLICATED = 1\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../environments/environment';\r\nimport { WorkPerformer } from './work-performer';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WorkPerformerService {\r\n url = environment.urls.baseApiUrl + '/WorkPerformers';\r\n constructor(private http: HttpClient) { }\r\n\r\n Read(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n\r\n ReadOne(id: number): Observable {\r\n if (id == null) { id = 0 }\r\n return this.http.get(this.url + '/' + id.toString());\r\n }\r\n\r\n ReadByIdAndType(id: number, type: number): Observable {\r\n if (id == null) { id = 0 }\r\n return this.http.get(this.url + '/' + type.toString() + '/' + id.toString());\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Observable } from 'rxjs';\r\nimport { WorkerVerification } from './worker-verification';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WorkerVerificationService {\r\n baseUrl = environment.urls.baseApiUrl;\r\n endPoint = '/WorkerVerification';\r\n byForm = '/ByForm';\r\n byFormUser = '/ByFormUser';\r\n\r\n constructor(\r\n public http: HttpClient,\r\n ) { }\r\n\r\n public getAll(): Observable {\r\n return this.http.get(this.baseUrl + this.endPoint);\r\n }\r\n\r\n public getByForm(form: number, formID: number): Observable {\r\n return this.http.get(this.baseUrl + this.endPoint + this.byForm + '?form=' + form.toString() + '&formID=' + formID.toString());\r\n }\r\n\r\n public getByFormUser(form: number, formID: number): Observable {\r\n return this.http.get(this.baseUrl + this.endPoint + this.byFormUser + '?form=' + form.toString() + '&formID=' + formID.toString());\r\n }\r\n\r\n public create(workerVerification: WorkerVerification): Observable {\r\n return this.http.post(this.baseUrl + this.endPoint, workerVerification);\r\n }\r\n\r\n public delete(id: number): Observable {\r\n return this.http.delete(this.baseUrl + this.endPoint + '/' + id.toString());\r\n }\r\n\r\n public deleteByFormUser(form: number, formID: number, userID: number): Observable {\r\n return this.http.delete(this.baseUrl + this.endPoint + this.byFormUser + '?form=' + form.toString() + '&formID=' + formID.toString() + '&userID=' + userID.toString());\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { utils } from 'src/app/modules/libs/utils';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class XMLService {\r\n parseXml(xmlString: string): any {\r\n const parser = new DOMParser();\r\n const xmlDoc = parser.parseFromString(xmlString, 'application/xml');\r\n // Handle CDATA in the 'details' field\r\n const detailsElement = xmlDoc.getElementsByTagName('details')[0];\r\n const cdataContent = detailsElement?.textContent?.trim() ?? '';\r\n\r\n return {\r\n root: {\r\n author: xmlDoc.getElementsByTagName('author')[0]?.textContent,\r\n password: xmlDoc.getElementsByTagName('password')[0]?.textContent,\r\n entry: {\r\n cc: xmlDoc.getElementsByTagName('cc')[0]?.textContent,\r\n level: xmlDoc.getElementsByTagName('level')[0]?.textContent,\r\n subject: xmlDoc.getElementsByTagName('subject')[0]?.textContent,\r\n details: cdataContent,\r\n categories: Array.from(xmlDoc.getElementsByTagName('category')).map(\r\n (cat) => cat.textContent\r\n ),\r\n highlight: xmlDoc.getElementsByTagName('highlight')[0]?.textContent,\r\n },\r\n },\r\n };\r\n // const jsonObj = this.xmlToJson(xmlDoc);\r\n\r\n // const jsonText = utils.JSONstringify(jsonObj).replaceAll('#text', 'value');\r\n // return utils.JSONparse(jsonText);\r\n }\r\n\r\n private xmlToJson(xml: any): any {\r\n // Create the return object\r\n let obj: any = {};\r\n\r\n // If the node is an element\r\n if (xml.nodeType === 1) {\r\n // Do attributes\r\n if (xml.attributes.length > 0) {\r\n obj['@attributes'] = {};\r\n for (let j = 0; j < xml.attributes.length; j++) {\r\n const attribute = xml.attributes.item(j);\r\n obj['@attributes'][attribute.nodeName] = attribute.nodeValue;\r\n }\r\n }\r\n } else if (xml.nodeType === 3) {\r\n // text node\r\n obj = xml.nodeValue.trim();\r\n }\r\n\r\n // Do children nodes\r\n if (xml.hasChildNodes()) {\r\n for (let i = 0; i < xml.childNodes.length; i++) {\r\n const item = xml.childNodes.item(i);\r\n const nodeName = item.nodeName;\r\n if (typeof obj[nodeName] === 'undefined') {\r\n const nodeValue = this.xmlToJson(item);\r\n if (nodeValue !== '') {\r\n obj[nodeName] = nodeValue;\r\n }\r\n } else {\r\n if (typeof obj[nodeName].push === 'undefined') {\r\n const old = obj[nodeName];\r\n obj[nodeName] = [old];\r\n }\r\n const nodeValue = this.xmlToJson(item);\r\n if (nodeValue !== '') {\r\n obj[nodeName].push(nodeValue);\r\n }\r\n }\r\n }\r\n }\r\n return obj;\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Store } from \"@ngxs/store\";\r\nimport { FormType } from \"../common/enumerations/enumerations\";\r\nimport { GeneralSignalRResponse } from \"../services/signal-r/general-signal-r-response\";\r\nimport { SignalRService } from \"../services/signal-r/signal-r.service\";\r\nimport { SignalRAction } from \"../services/signal-r/signalr-enums\";\r\nimport { Channels } from \"./channels\";\r\n\r\nexport class SetCurrentUser {\r\n constructor(public token: string | null) { }\r\n static readonly type = '[Users] Set current user';\r\n}\r\n\r\nexport class RefreshCurrentUser {\r\n static readonly type = '[Users] Refresh current user';\r\n}\r\n\r\nexport class RefreshFormsByType {\r\n static readonly type = '[Form] Refresh forms by type';\r\n constructor(public ftype: FormType) { }\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class AuthenticationStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.AUTHENTICATION, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Get:\r\n this.store.dispatch(new RefreshCurrentUser());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Select } from '@ngxs/store';\r\nimport { AppState, AppStateModel } from './reducer';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppStateService {\r\n @Select(AppState)\r\n AppState!: Observable;\r\n\r\n}\r\n","export const Channels = {\r\n BRANCHLINESTATUS: 'BranchlineStatusHome',\r\n ACCELERATORSTATUS: 'AcceleratorStatus',\r\n BULLETINBOARD: 'BulletinBoard',\r\n RADIATIONAREA: 'RadiationArea',\r\n MESSAGEBANNER: 'MessageBanner',\r\n WFTASK: 'WFTask',\r\n PROCEDURECATEGORY: 'ProcedureCategory',\r\n PROCEDURE: 'Procedure',\r\n PROCEDURETRAINING: 'ProcedureTraining',\r\n MISSINGTRAINING: 'MissingTraining',\r\n PROCEDURECREDITED: 'ProcedureCredited',\r\n PROCEDURETEMPLATE: 'ProcedureTemplate',\r\n PROCEDURECONFIGURATION: 'ProcedureConfiguration',\r\n CLOCKTIMER: 'ClockTimerStatus',\r\n ALLABSIS: 'AllAbsis',\r\n ABSI_TEMPLATES: 'AbsiTemplates',\r\n ABSITEMPLATETYPES: 'AbsiTemplateTypes',\r\n ABSISECTION: 'AbsiSection',\r\n CATLACTIONITEMS: 'CatlActionItems',\r\n CHECKLISTS: 'Checklists',\r\n CHECKLIST_TEMPLATES: 'ChecklistTemplates',\r\n TEMPLATETYPES: 'TemplateTypes',\r\n RADINTERLOCK: 'RadInterlock',\r\n RADINTERLOCKRELATION: 'RadInterlockRelation',\r\n RADLOCATION: 'RadLocation',\r\n RADLOCATIONTYPE: 'RadLocationType',\r\n RADMONITOR: 'RadMonitor',\r\n RADMONITORDESCRIPTION: 'RadMonitorDescription',\r\n RADMONITORTYPE: 'RadMonitorType',\r\n RADNOTE: 'RadNote',\r\n CHECKLISTSECTION: 'ChecklistSection',\r\n SCHEDULES: 'Schedules',\r\n SCHEDULE_TYPES: 'ScheduleTypes',\r\n SCHEDULE_SUBTYPES: 'ScheduleSubtypes',\r\n SCHEDULE_REMINDERS: 'ScheduleReminders',\r\n DOCUMENTTYPES: 'DocumentTypes',\r\n ALLBRANCHLINES: 'Branchlines',\r\n KENABLE: 'KEnable',\r\n KEVERSION: 'KEVersion',\r\n CHECKLISTTEMPLATES: 'ChecklistTemplates',\r\n MENUITEMS: 'MenuItems',\r\n ANNOTATIONS: 'Annotations',\r\n APLCATEGORY: 'APLCategory',\r\n REVIEW_BOARD_TYPES: 'ReviewBoardTypes',\r\n REVIEW_BOARDS: 'ReviewBoards',\r\n REVIEWS: 'Reviews',\r\n REVIEW_TYPES: 'ReviewTypes',\r\n REVIEW_CYCLES: 'ReviewCycles',\r\n RESOURCE_TYPES: 'ResourceTypes',\r\n REVIEW_ACTION_ITEMS: 'ReviewActionItems',\r\n REVIEW_ACTION_ITEM_TYPES: 'ReviewActionItemTypes',\r\n REVIEW_SATISFACTION_CHECKS: 'ReviewSatisfactionChecks',\r\n REVIEW_PERMISSIONS: 'ReviewPermissions',\r\n RESOURCES: 'Resources',\r\n PENDING_RESOURCES: 'PendingResources',\r\n REVIEW_STATUS: 'ReviewStatus',\r\n FORMS: 'Forms',\r\n FORMSTATUSES: 'FormStatus',\r\n OLOGCATEGORY: 'OlogCategory',\r\n OLOGEMAIL: 'OlogEmail',\r\n OLOG_MESSAGE: 'OlogMessage',\r\n APLGROUP: 'APLGroup',\r\n REVIEW_ATTENDANCE_CATEGORY: 'ReviewAttendanceCategory',\r\n REVIEW_ATTENDANCE_ROSTER: 'ReviewAttendanceRoster',\r\n REVIEW_ATTENDANCE_SAVE: 'ReviewAttendanceSave',\r\n ROLE: 'Role',\r\n ROLE_PRIVILEGES: 'RolePrivileges',\r\n USERS: 'Users',\r\n COMPONENTS: 'Components',\r\n RADMETERS: 'RadMeters',\r\n BEAMLINE_SHUTTER: 'BeamlineShutter',\r\n SCF_MASTERS: 'SCFMasters',\r\n BRATOI: 'Bratoi',\r\n RESTRICTIONS: 'Restrictions',\r\n DOCUMENTS: 'Documents',\r\n WORKERVERIFICATION: 'WorkerVerification',\r\n CHECKLIST_STATUSES: 'ChecklistStatus',\r\n PRIVILEGES: 'Privileges',\r\n PRIVILEGE_CATEGORIES: 'PrivilegeCategories',\r\n PENDING_APPROVALS: 'PendingApprovals',\r\n MY_PENDING_CATALOGS: 'MyPendingChanges',\r\n PENDING_CATALOGS: 'PendingCatalogs',\r\n COMMENTS: 'Comments',\r\n TASKS: 'Tasks',\r\n RESOURCE_RELATIONS: 'ResourceRelations',\r\n BEAMLINE_STATUS: 'BeamlineStatus',\r\n RSSWA: 'Rsswa',\r\n NAVIGATIONLINKS: 'NavigationLinks',\r\n NOTIFICATIONS: 'Notifications',\r\n TOCAS: 'Tocas',\r\n TOXIC_GAS: 'ToxicGas',\r\n BAKEOUT: 'Bakeout',\r\n PVINFO: 'PVInfo',\r\n AUTHENTICATION: 'Authentication',\r\n ALERT: 'Alert',\r\n DELETED_TASKS: 'DeletedTasks',\r\n DELETED_STEPS: 'DeletedSteps',\r\n DELETED_SECTIONS: 'DeletedSections',\r\n BEAMLINE_RESTRICTIONS: 'BeamlineRestrictions',\r\n PLACEHOLDERS: 'Placeholders',\r\n BUILDER_TASKS: 'BuilderTasks',\r\n TRANSACTION_LOG: 'TransactionLog'\r\n};\r\n","// import { WFSectionLocalResource } from '../../../../Services/WorkFlow/work-flow';\r\n// import { FormType } from \"src/app/_interface/Enumerations\";\r\n// import { FormStatus } from 'src/app/_interface/Form/FormStatus';\r\n\r\nimport { FormStatus } from \"src/app/services/forms/form-status\";\r\n\r\nexport class FormStatusesRefresh {\r\n static readonly type = '[FormStatuses] Refresh';\r\n}\r\n\r\nexport class FormStatusesCreate {\r\n static readonly type = '[FormStatuses] Create';\r\n\r\n constructor(public item: FormStatus) { }\r\n}\r\n\r\nexport class FormStatusesUpdate {\r\n static readonly type = '[FormStatuses] Update';\r\n\r\n constructor(public id: number, public item: FormStatus) { }\r\n}\r\n\r\nexport class FormStatusesDelete {\r\n static readonly type = '[FormStatuses] Delete';\r\n constructor(public id: number) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { FormStatusesCreate, FormStatusesDelete, FormStatusesRefresh, FormStatusesUpdate } from './form-status.action';\r\nimport { ChecklistBuilderService } from 'src/app/components/checklists/checklist-builder/checklist-builder.service';\r\nimport { FormStatus } from 'src/app/services/forms/form-status';\r\n// import { FormStatus } from 'src/app/_interface/Form/FormStatus';\r\n// import { ChecklistBuilderService } from '../../checklist-builder/checklist-builder.service';\r\n\r\n\r\nexport class FormStatusesStateModel {\r\n data: FormStatus[] = [];\r\n}\r\n\r\n@State({\r\n name: 'FormStatuses',\r\n defaults: {\r\n data: []\r\n }\r\n})\r\n@Injectable()\r\nexport class FormStatusesState {\r\n constructor(\r\n private _service: ChecklistBuilderService\r\n ) { }\r\n\r\n @Selector()\r\n static read(state: FormStatusesStateModel) {\r\n return state.data;\r\n }\r\n\r\n @Action(FormStatusesRefresh)\r\n refresh({ patchState }: StateContext) {\r\n this._service.getFormStatuses().toPromise().then(\r\n data => patchState({ data }),\r\n error => console.error(error)\r\n );\r\n }\r\n\r\n @Action(FormStatusesCreate)\r\n create({ getState, patchState }: StateContext, { item }: FormStatusesCreate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(item.id);\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n }\r\n patchState({\r\n data: [...getState().data, item]\r\n });\r\n }\r\n\r\n @Action(FormStatusesUpdate)\r\n update({ getState, patchState }: StateContext, { id, item }: FormStatusesUpdate) {\r\n const state = getState();\r\n const index = state.data.map(x => x.id).indexOf(id);\r\n\r\n if (index >= 0) {\r\n state.data.splice(index, 1);\r\n patchState({\r\n data: [...state.data, item]\r\n });\r\n }\r\n }\r\n\r\n @Action(FormStatusesDelete)\r\n delete({ getState, patchState }: StateContext, { id }: FormStatusesDelete) {\r\n patchState({\r\n data: getState().data.filter(x => x.id !== id)\r\n });\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\n// import { SignalRAction } from 'src/app/enums/signalr-enums';\r\n// import { SignalRService } from 'src/app/Services/SignalR/signal-r.service';\r\n// import { GeneralSignalRResponse } from 'src/app/_interface/signal-r-models/GeneralSignalRResponse';\r\nimport * as FormStatusesActions from '../form-status/form-status.action';\r\nimport { GeneralSignalRResponse } from 'src/app/services/signal-r/general-signal-r-response';\r\nimport { SignalRService } from 'src/app/services/signal-r/signal-r.service';\r\nimport { SignalRAction } from 'src/app/services/signal-r/signalr-enums';\r\nimport { Channels } from '../channels';\r\n// import { Channels } from 'src/app/Store/channels';\r\n// import { FormType } from 'src/app/_interface/Enumerations';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FormStatusesStoreAndListenersService {\r\n constructor(private store: Store, private signalRService: SignalRService) { }\r\n initStore() {\r\n this.store.dispatch(new FormStatusesActions.FormStatusesRefresh());\r\n }\r\n\r\n initListeners() {\r\n this.signalRService.hubConnection?.on(Channels.FORMSTATUSES, (data: GeneralSignalRResponse) => {\r\n switch (data.action) {\r\n case SignalRAction.Add:\r\n this.store.dispatch(new FormStatusesActions.FormStatusesCreate(data.obj));\r\n break;\r\n\r\n case SignalRAction.Update:\r\n this.store.dispatch(new FormStatusesActions.FormStatusesUpdate(data.id, data.obj));\r\n break;\r\n\r\n case SignalRAction.Delete:\r\n this.store.dispatch(new FormStatusesActions.FormStatusesDelete(data.id));\r\n break;\r\n\r\n case SignalRAction.Get:\r\n this.store.dispatch(new FormStatusesActions.FormStatusesRefresh());\r\n break;\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, State, StateContext } from '@ngxs/store';\r\nimport { User } from '../components/catalogs/user-catalog/services/user';\r\nimport { RefreshCurrentUser, SetCurrentUser } from './actions';\r\nimport { AuthenticationService } from '../services/authentication/authentication.service';\r\n\r\n@Injectable()\r\nexport class AppStateModel {\r\n currentUser!: User | null;\r\n}\r\n\r\n@State({\r\n name: 'ASCC',\r\n defaults: {\r\n currentUser: null,\r\n },\r\n})\r\n\r\n@Injectable()\r\nexport class AppState {\r\n constructor(\r\n private service: AuthenticationService,\r\n ) { }\r\n\r\n @Action(SetCurrentUser)\r\n SetCurrentUser(ctx: StateContext, { token }: SetCurrentUser) {\r\n if (token) {\r\n localStorage.setItem('Token', token);\r\n this.service.getMe().subscribe((res: User) => {\r\n ctx.patchState({ currentUser: res });\r\n }, error => {\r\n console.error(error);\r\n ctx.patchState({ currentUser: null });\r\n localStorage.removeItem('Token');\r\n });\r\n } else {\r\n ctx.patchState({ currentUser: null });\r\n localStorage.removeItem('Token');\r\n }\r\n }\r\n\r\n @Action(RefreshCurrentUser)\r\n async RefreshCurrentUser({ getState, patchState }: StateContext) {\r\n const state = getState();\r\n if (state.currentUser) {\r\n var response = await this.service.authenticate(state.currentUser).toPromise();\r\n if (response?.code == 202 && response.token) {\r\n // store user details and jwt token in local storage to keep user logged in between page refreshes\r\n localStorage.setItem('Token', response.token);\r\n patchState({ currentUser: response.user });\r\n }\r\n }\r\n }\r\n\r\n}\r\n","import { AppState } from './reducer';\r\nimport { UsersState } from '../components/catalogs/user-catalog/store/users.state';\r\nimport { AcceleratorStatusState } from '../components/home/accelerator-status/store/accelerator-status.state';\r\nimport { BeamlineStatusState } from '../components/home/beamline-status/store/bl-status.state';\r\nimport { BulletinBoardState } from '../components/home/bulletin-board/store/bulletin-board.state';\r\nimport { BranchlineStatusState } from '../components/home/branchline-status/store/branchline-status.state';\r\nimport { SCFMastersState } from '../components/scf-v2/store/scf-master/scf-masters.state';\r\nimport { ResourceRelationsState } from '../components/catalogs/store/resources-relations/resource-relations.state';\r\nimport { ResourcesState } from '../components/catalogs/store/resources/resources.state';\r\nimport { DocumentsState } from '../services/documents/store/documents.state';\r\nimport { RestrictionsState } from '../components/scf-v2/store/restrictions/restrictions.state';\r\nimport { RoleState } from '../components/catalogs/roles/store/role.state';\r\nimport { CommentState } from '../controls/comments-and-attachments/store/comments.state';\r\nimport { SchedulesState } from '../components/schedules/store/schedules/schedule.state';\r\nimport { ScheduleTypesState } from '../components/schedules/store/schedule-types/schedule-types.state';\r\nimport { MenuItemState } from '../components/head-page/store/menu-item.state';\r\nimport { RSSWAState } from '../components/rsswa/store/rsswa.state';\r\nimport { WorkerVerificationState } from '../controls/worker-verification/store/worker-verification/worker-verification.state';\r\nimport { TemplateTypesState } from '../components/checklists/store/template-types/template-types.state';\r\nimport { FormsState } from '../controls/form-table/store/forms.state';\r\nimport { RolePrivilegeState } from '../services/role-privilege/store/role-privilege/role-privilege.state';\r\nimport { PrivilegeCategoryState } from '../services/role-privilege/store/privilege-categories/privilege-categories.state';\r\nimport { PrivilegeState } from '../services/role-privilege/store/privilege/privilege.state';\r\nimport { APLCategoryState } from '../components/apl/store/apl-category/apl-category.state';\r\nimport { APLGroupState } from '../components/apl/store/apl-group/apl-group.state';\r\nimport { ProcedureState } from '../components/procedure/store/procedure/procedure.state';\r\nimport { KEnableState } from '../components/kenable/store/ke/kenable.state';\r\nimport { FormStatusesState } from './form-status/form-status.state';\r\nimport { ComponentsState } from '../components/checklists/store/components/components.state';\r\nimport { AbsiTemplateVersionState } from '../components/absi/store/absi-template/absi-template.state';\r\nimport { ActionItemsState } from '../controls/catl/action-item/store/actionItems.state';\r\nimport { AbsiState } from '../components/absi/store/absi/absi.state';\r\nimport { DocumentTypeState } from '../components/catalogs/document-type/store/document-type/document-type.state';\r\nimport { ChecklistsState } from '../components/checklists/store/checklists/checklists.state';\r\nimport { ResourceTypesState } from '../components/catalogs/store/resource-types/resource-types.state';\r\nimport { BeamlineShutterState } from '../components/catalogs/store/beamline-shutter/beamline-shutter.state';\r\nimport { ChecklistTemplateStatusesState } from '../components/checklists/store/checklist-status/checklist-status.state';\r\nimport { ChecklistTemplatesState } from '../components/checklists/store/checklist-templates/checklist-templates.state';\r\nimport { RadMetersState } from '../components/catalogs/meters-catalog/store/rad-meters/rad-meters.state';\r\nimport { AnnotationsState } from '../components/checklists/store/annotations/annotations.state';\r\nimport { ReviewCyclesState } from '../components/reviews/store/review-cycles/review-cycles.state';\r\nimport { ReviewPermissionsState } from '../components/reviews/store/review-permissions/review-permissions.state';\r\nimport { ReviewBoardTypesState } from '../components/reviews/store/review-board-types/review-board-types.state';\r\nimport { ReviewTypesState } from '../components/reviews/store/review-types/review-types.state';\r\nimport { ReviewBoardsState } from '../components/reviews/store/review-boards/review-boards.state';\r\nimport { ReviewStatusState } from '../components/reviews/store/review-status/review-status.state';\r\nimport { ReviewAttendanceCategoriesState } from '../components/reviews/store/review-attendance-category/review-attendance-category.state';\r\nimport { ReviewActionItemTypesState } from '../components/reviews/store/review-action-item-types/review-action-item-types.state';\r\nimport { ReviewActionItemsState } from '../components/reviews/store/review-action-items/review-action-items.state';\r\nimport { ReviewsState } from '../components/reviews/store/reviews/reviews.state';\r\nimport { ReviewAttendanceRosterState } from '../components/reviews/store/review-attendance-roster/review-attendance-roster.state';\r\nimport { ScheduleRemindersState } from '../components/schedules/store/schedule-reminder/schedule-reminder.state';\r\nimport { ProcedureTemplateState } from '../components/procedure/store/procedure-template/procedure-template.state';\r\nimport { ProcedureCreditedState } from '../components/procedure/store/procedure-credited/procedure-credited.state';\r\nimport { ProcedureConfigurationState } from '../components/procedure/store/procedure-configuration/procedure-configuration.state';\r\nimport { ProcedureCategoryState } from '../components/procedure/store/procedure-category/procedure-category.state';\r\nimport { ProcedureTrainingState } from '../components/procedure/store/procedure-training/procedure-training.state';\r\nimport { RadLocationTypeState } from '../components/catalogs/rad-monitor/store/rad-location-type/rad-location-type.state';\r\nimport { RadLocationState } from '../components/catalogs/rad-monitor/store/rad-location/rad-location.state';\r\nimport { RadInterlockState } from '../components/catalogs/rad-monitor/store/rad-interlock/rad-interlock.state';\r\nimport { RadLocationInterlockRelationState } from '../components/catalogs/rad-monitor/store/rad-interlock-relations/rad-interlock-relation.state';\r\nimport { RadMonitorState } from '../components/catalogs/rad-monitor/store/rad-monitor/rad-monitor.state';\r\nimport { PendingResourcesState } from '../components/catalogs/store/pending-resources/pending-resources.state';\r\nimport { OlogCategoryState } from '../components/catalogs/document-type/store/olog-category/olog-category.state';\r\nimport { OlogEmailState } from '../components/catalogs/document-type/store/olog-email/olog-email.state';\r\nimport { AbsiTemplateTypeState } from '../components/absi/store/absi-template-type/absi-template-type.state';\r\nimport { NavigationLinkState } from '../components/catalogs/navigation-links/store/navigation-links.state';\r\nimport { PendingApprovalsState } from '../components/pending-approvals-v2/store/pending-approvals/pending-approvals.state';\r\nimport { BratoiState } from '../components/catalogs/bratoi/store/bratoi/bratoi.state';\r\nimport { ProcedureTypeState } from '../components/procedure/store/procedure-types/procedure-types.state';\r\nimport { ScheduleSubtypesState } from '../components/schedules/store/schedule-subtypes/schedule-subtypes.state';\r\nimport { NotificationTemplateState } from '../components/catalogs/notifications/store/notification-template.state';\r\nimport { AbsiSectionState } from '../components/absi/store/absi-sections/absi-section.state';\r\nimport { TOCAState } from '../components/catalogs/bratoi/store/toca/toca.state';\r\nimport { ToxicGasState } from '../components/home/toxic-gas-panel/store/toxic-gas/toxic-gas.state';\r\nimport { BakeoutsState } from '../components/home/bakeouts-panel/store/bakeouts/bakeouts.state';\r\nimport { ReviewAttendanceSaveState } from '../components/reviews/store/review-attendance-save/review-attendance-save.state';\r\nimport { PVState } from '../services/pv-info/store/pv-info.state';\r\nimport { ReviewSatisfactionChecksState } from '../components/reviews/store/review-satisfaction-checks/review-satisfaction-checks.state';\r\nimport { KEVersionState } from '../components/kenable/store/ke-version/ke-version.state';\r\nimport { MessageBannerState } from '../components/messages/store/message-banner.state';\r\nimport { AlertState } from '../services/alert/store/alert.state';\r\nimport { TasksState } from '../components/checklists/store/tasks/task.state';\r\nimport { RadiationAreaState } from '../components/home/radiation-area/store/radiation-area.state';\r\nimport { DeletedTasksState } from '../components/checklists/store/deleted-tasks/deleted-task.state';\r\nimport { DeletedStepsState } from '../components/checklists/store/deleted-steps/deleted-step.state';\r\nimport { DeletedSectionsState } from '../components/checklists/store/deleted-sections/deleted-section.state';\r\nimport { BeamlineRestrictionState } from '../components/catalogs/operational-restrictions/store/beamline-restrictions/beamline-restrictions.state';\r\nimport { PlaceholdersState } from '../services/placeholders/store/placeholder.state';\r\nimport { BuilderTasksState } from '../components/checklists/store/builder-tasks/builder-task.state';\r\nimport { OlogMessageState } from '../components/catalogs/document-type/store/olog-message/olog-message.state';\r\nimport { MissingTrainingState } from '../components/procedure/store/procedure-missing-training/procedure-missing-training.state';\r\nimport { TransactionLogState } from '../controls/transaction-log/store/transaction-log.state';\r\n\r\n\r\nexport const reducers = [\r\n AppState,\r\n AcceleratorStatusState,\r\n BulletinBoardState,\r\n RadiationAreaState,\r\n // WFTaskReducer,\r\n BranchlineStatusState,\r\n MessageBannerState,\r\n ProcedureCategoryState,\r\n ProcedureState,\r\n ProcedureTrainingState,\r\n ProcedureCreditedState,\r\n ProcedureTemplateState,\r\n ProcedureConfigurationState,\r\n // ClockTimerReducer,\r\n ActionItemsState,\r\n ChecklistsState,\r\n RadInterlockState,\r\n RadLocationInterlockRelationState,\r\n RadLocationState,\r\n RadLocationTypeState,\r\n RadMonitorState,\r\n // RadMonitorDescriptionState,\r\n // RadMonitorTypeState,\r\n TemplateTypesState,\r\n SchedulesState,\r\n DocumentTypeState,\r\n // BranchlineState,\r\n BratoiState,\r\n MenuItemState,\r\n ResourcesState,\r\n APLCategoryState,\r\n AbsiTemplateTypeState,\r\n ReviewBoardTypesState,\r\n ReviewBoardsState,\r\n ReviewsState,\r\n ResourceTypesState,\r\n ReviewCyclesState,\r\n ReviewStatusState,\r\n ReviewTypesState,\r\n ReviewActionItemsState,\r\n ReviewActionItemTypesState,\r\n FormStatusesState,\r\n OlogCategoryState,\r\n OlogEmailState,\r\n APLGroupState,\r\n ReviewAttendanceCategoriesState,\r\n ReviewAttendanceRosterState,\r\n // ReviewAttendanceSaveState,\r\n ReviewSatisfactionChecksState,\r\n ReviewPermissionsState,\r\n RoleState,\r\n RolePrivilegeState,\r\n UsersState,\r\n KEnableState,\r\n ComponentsState,\r\n TOCAState,\r\n // LinkTypesState,\r\n RadMetersState,\r\n ScheduleTypesState,\r\n ScheduleSubtypesState,\r\n ProcedureTypeState,\r\n BeamlineShutterState,\r\n SCFMastersState,\r\n RestrictionsState,\r\n DocumentsState,\r\n WorkerVerificationState,\r\n ChecklistTemplateStatusesState,\r\n ScheduleRemindersState,\r\n ChecklistTemplatesState,\r\n PrivilegeState,\r\n PrivilegeCategoryState,\r\n AnnotationsState,\r\n PendingApprovalsState,\r\n FormsState,\r\n CommentState,\r\n TasksState,\r\n ResourceRelationsState,\r\n PendingResourcesState,\r\n BeamlineStatusState,\r\n RSSWAState,\r\n AbsiTemplateVersionState,\r\n AbsiState,\r\n AbsiSectionState,\r\n NavigationLinkState,\r\n NotificationTemplateState,\r\n ToxicGasState,\r\n BakeoutsState,\r\n ReviewAttendanceSaveState,\r\n PVState,\r\n ReviewActionItemsState,\r\n ReviewActionItemTypesState,\r\n PVState,\r\n KEVersionState,\r\n AlertState,\r\n DeletedTasksState,\r\n DeletedStepsState,\r\n DeletedSectionsState,\r\n BeamlineRestrictionState,\r\n PlaceholdersState,\r\n BuilderTasksState,\r\n OlogMessageState,\r\n MissingTrainingState,\r\n BuilderTasksState,\r\n TransactionLogState\r\n];\r\n","// Production Normal\r\n//export const config = {\r\n// toggle: false,\r\n// production: true\r\n//}\r\n\r\n// Production with Toggle Users\r\n/* export const config = {\r\n toggle: true,\r\n production: true\r\n} */\r\n\r\n//// Development \r\nexport const config = {\r\n toggle: true,\r\n production: false\r\n}\r\n","import { messages } from './messages';\r\nimport { urls } from './urls';\r\nimport { urlsProd } from './urls.prod';\r\nimport { config } from '../assets/config';\r\nimport { Servers } from 'src/app/common/enumerations/servers-enum';\r\n\r\n\r\n// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n config,\r\n messages,\r\n token: '',\r\n production: config.production,\r\n productionEnvironment: Servers.PRODUCTION,\r\n toggle: config.toggle,\r\n urls: config.production ? urlsProd : urls,\r\n name: 'ALS Safety Configuration Control',\r\n version: '4.5.0'\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","// import APLMessages from \"src/app/messages/apl.messages\";\r\n// import EB2Messages from \"src/app/messages/eb2.messages\";\r\n// import ALSPCMessages from \"../app/messages/als-pc.messages\";\r\n\r\nexport const messages = {\r\n approve_message: `Are you sure you want to approve?`,\r\n request_amendment: `Are you sure you want to Request an Amendment for this form?`,\r\n unapprove_message: `Are you sure you want to unapprove?`,\r\n disapprove_message: `Enter a detailed reason for the disapprove:`,\r\n disapprove_message_no_reason: `Are you sure you want to disapprove?`,\r\n answer_message: \"Are you sure you want to change this required status?\",\r\n finish_message: `Are you sure you want to Close this form?

    If you click Yes, you won't be able to revert this action!`,\r\n toActiveWarning: `Are you sure you want to Activate this form?

    If you click Yes, you won't be able to revert this action!`,\r\n toWorkCompleteWarning: `Are you sure you want to Complete the Work for this form?

    If you click Yes, you won't be able to revert this action!`,\r\n toHandshakeWarning: `Are you sure you want to finish Key Enabling?

    If you click Yes, you won't be able to revert this action and status will set to Handshake!`,\r\n formStateChanged: `{serialNo} is now {status} !`,\r\n user_not_logged: `You have to Login in order to perform any task in this screen.`,\r\n LocationAdded: `Location: {location} was added to Locations list.`,\r\n NewChecklistCreated: `New form {serialNo} has been created!`,\r\n KEResetVacuumValues: `This action will reset all vacuum values and clear all the checkboxes. Are you sure to continue?`,\r\n KENoVersionsFound: `No Active or New Versions Found for this Resource`,\r\n DraftSaved: `{serialNo} Form Saved as Draft!`,\r\n DraftUpdated: `{serialNo} Form Draft Updated!`,\r\n FormUpdated: \"{serialNo} Form Updated!\",\r\n Submitted: `{serialNo} has been Submmited!`,\r\n amendment_saved: \"{serialNo} amendment saved!\",\r\n amendment_Submitted: \"{serialNo} amendment has been Submitted!\",\r\n Section1Updated: `{serialNo} Section 1 Updated!`,\r\n Section2Updated: `{serialNo} Section 2 Updated!`,\r\n Section3Updated: `{serialNo} Section 3 Updated!`,\r\n Section4Updated: `{serialNo} Section 4 Updated!`,\r\n Section5Updated: `{serialNo} Section 5 Updated!`,\r\n Section6Updated: `{serialNo} Section 6 Updated!`,\r\n FormClosed: `{serialNo} is Closed!`,\r\n OLogEntryCreated: `OLOG Entry has been saved for {serialNo}.`,\r\n CommentAdded: `New comment Added successfully!`,\r\n CommentDeleted: `Comment Deleted successfully!`,\r\n invalidLocation: `You should add at least one Location`,\r\n invalidStartDate: `Please enter a valid Estimated Start Date`,\r\n invalidEndDate: `Please enter a valid Estimated End Date`,\r\n invalidRequester: `Please select a Requester`,\r\n // invalidRelatedLinks: `Please enter a Related Links`,\r\n invalidDescription: `Please enter a Description of work being performed.`,\r\n upload_invalid_exe: `Executable files are not allowed to be Uploaded`,\r\n no_ketemplate: `No {0} KE Checklist Template found for this Shutter and/or Branchline.`,\r\n no_absiTemplate: `No Active ABSI Checklist Template found for this ABSI Type.`,\r\n cancelForm: `Enter a reason to cancel the form`,\r\n cancelAmendment: `Enter a reason to cancel the amendment`,\r\n deleteFormConfirmation: `Are you sure to Delete this form?`,\r\n finishTime: `Time is up.`,\r\n oneMinuteUntilTime: `You have one minute left, reset the timer or save the form.`,\r\n editingByTimer: `This form is being edited by {username}.`,\r\n OlogEntrySent: \"OLOG Entry has been sent for {serialNo}.\",\r\n OlogEntryError: \"System error (OLOG). Please contact Control Room\",\r\n OlogPasswordWrong: \"Your OLOG password is wrong!\",\r\n OlogDevEnv: `Olog don't works on Development Environment`,\r\n KEChecklistAlreadyOpen:\r\n \"There is already an Open Key Enable Checklist for this Resource\",\r\n AbsiChecklistAlreadyOpen:\r\n \"There is already an Open ABSI Checklist for this Resource\",\r\n defaultErrorMessage: \"System error. Please contact Control Room.\",\r\n HassDisapprovalReason:\r\n \"This form has disapproval reason: {DisapprovalReason}.\",\r\n removeRelatedDoc: `Are you sure you want to remove this related document?`,\r\n KEVacuumEditTextWarning:\r\n \"Are you sure you want to edit this comment? This will remove the current initials.\",\r\n KERadioChangedWarning:\r\n \"Are you sure you want to change this value? This will remove the current initials.\",\r\n KEResetToActive:\r\n \"This will remove all initials from Section 4 to allow editing of Sections 1-3.
    Continue?\",\r\n ppstbRequesterValidation: \"no requester was specified\",\r\n ppstbJustificationValidation: \"no justifications were specified\",\r\n ppstbBypassDetailsValidation: \"no bypass details were specified\",\r\n ppstbPermittedStartDateValidation: \"no permitted start date was specified\",\r\n ppstbEstimatedCompletionValidation:\r\n \"no estimated completion date was specified\",\r\n ppstbEstimatedCompletionLessThanPermittedStartDateValidation:\r\n \"the estimated completion date is less than the permitted start date\",\r\n ppstbPermittedStartDateGreaterThanEstimatedCompletion:\r\n \"the permitted start date is greater than estimated completion\",\r\n ppstbConditionsAndLimitationsValidations:\r\n \"no conditions or limitations were specified\",\r\n ppstbSystemsValidation: \"no systems were specified\",\r\n noStandarRestrictionsWereAdded: \"no standard restrictions werer added\",\r\n KEResetShieldings:\r\n \"This will remove all initials from Section 4 to allow to start clean checklist.
    Continue?\",\r\n KEResetedToShieldings:\r\n \"All Initials were removed from Section 4. You can start checking it now.\",\r\n pleaseCheckOnAtLeastOneSystemAffected:\r\n \"please check on at least one system affected\",\r\n CopyForm: \"The form was copied successfully with Serial No. \",\r\n AccAdded:\r\n \"Congratulations !! The New Accelerator Has Been Sent To Approve Successfully!!\",\r\n AccApr: \"Congratulations !! Accelerator Approved Successfully!!\",\r\n AccDisapp: \"Congratulations !! Accelerator Disapproved Successfully!!\",\r\n AccMod:\r\n \"Congratulations !! The Accelerator Modification Has Been Sent To Approve Successfully!!\",\r\n inactiveUsers: \"Please contact Control Room to re-activate your User\",\r\n sessionFinished: \"Your previous session has ended, please login again!!\",\r\n logoutShib:\r\n \"You MUST close your browser to complete the logout process.\",\r\n verifyPassword: \"Please verify User/Password, or contact Control Room\",\r\n KEBlSciErrorSignature:\r\n \"Initials for FO in 6.1 are missing. A Floor Opeartor must check step 6.1 first.\",\r\n ChangeBranchlineStatus:\r\n \"Are you sure you want to change this Branchline Status?\",\r\n NoRestrictionsWereAdded: \"No restrictions were added\",\r\n NoMitigationsWereAdded: \"no mitigations were added\",\r\n AreYouSureYouWantToCopyThisForm: \"are you sure you want to copy this form?\",\r\n Enter_A_Reason_To_Disable: \"Enter a reason to disable\",\r\n Enter_your_password_to_submit_the_entry_to_olog:\r\n \"Enter your password to submit the entry to olog\",\r\n DocumentNameOrHyperlink: \"Document or Link Name\",\r\n webAddress: \"URL\",\r\n AddRelatedDocumentOrLink: \"Add Related Document or Link\",\r\n YouMustEnterAValidaValue: \"You must enter a valid value\",\r\n PPSTB_Filter: \"Filter\",\r\n PPSTB_PPSTB_Forms: \"PPSTB Forms\",\r\n PPSTB_Show_Closed_Canceled_PPSTB: \"Show Closed/Canceled PPSTB\",\r\n PPSTB_Loading_Data: \"Loading data...\",\r\n PPSTB_Start_New: \"Start new\",\r\n PPSTB_Edit_Form: \"Edit Form\",\r\n PPSTB_Need_More_Time: \"Need more time?\",\r\n PPSTB_Release_Form: \"Release form\",\r\n PPSTB_Force_Release_Form: \"Force release form\",\r\n PPSTB_Create_An_Amendment: \"Create an amendment\",\r\n PPSTB_Bypass_Initiation: \"Bypass
    Initiation\",\r\n PPSTB_Controls_And_Approvals: \"Controls and
    Approvals\",\r\n PPSTB_Mitigations_Installation: \"Mitigations
    Installation\",\r\n PPSTB_Bypass_Installation: \"Bypass
    Installation\",\r\n PPSTB_Operation_Verification: \"Operation
    Verification\",\r\n PPSTB_Bypass_Removal: \"Bypass
    Removal\",\r\n PPSTB_Mitigations_And_Conditions: \"Mitigations &
    Conditions\",\r\n PPSTB_Close_Out: \"Close
    Out\",\r\n PPSTB_Comments_And_Attachments: \"Comments and
    Attachments\",\r\n PPSTB_1_Bypass_Initiation: \"1. Bypass Initiation\",\r\n PPSTB_Creation_Date: \"Creation Date\",\r\n PPSTB_User_Initiating_Form: \"User Initiating Form\",\r\n PPSTB_Requester: \"Requester\",\r\n PPSTB_Related_Forms: \"Related Forms\",\r\n PPSTB_Related_Documents_And_Links: \"Related Documents and Links\",\r\n PPSTB_Justification_For_Bypass: \"Justification for Bypass\",\r\n PPSTB_Systems_Affected: \"Systems Affected:\",\r\n PPSTB_Top_Off: \"Top-off\",\r\n PPSTB_Radiation_Monitoring_System: \"Radiation Monitoring System\",\r\n PPSTB_Beamline: \"Beamline\",\r\n PPSTB_Accelerator: \"Accelerator\",\r\n PPSTB_Shutters: \"Shutters\",\r\n PPSTB_Other_Systems: \"Other systems\",\r\n PPSTB_2_Controls_And_Approvals: \"2. Controls and Approvals\",\r\n PPSTB_Edit_Olog: \"Edit Olog\",\r\n PPSTB_Mitigations: \"Mitigations\",\r\n PPSTB_Add_Mitigation: \"Add mitigation\",\r\n PPSTB_Conditions_And_Limitations: \"Conditions and limitations\",\r\n PPSTB_Systems_And_Print_Number: \"Systems & Print Number\",\r\n PPSTB_Bypass_Details: \"Bypass Details\",\r\n PPSTB_Permitted_Start_Date: \"Permitted Start Date\",\r\n PPSTB_Estimated_Completion: \"Estimated Completion\",\r\n PPSTB_Cancel: \"Cancel\",\r\n PPSTB_Submit: \"Submit\",\r\n PPSTB_Unsubmit: \"Unsubmit\",\r\n PPSTB_Save_As_Draft: \"Save as Draft\",\r\n PPSTB_Update_Draft: \"Update Draft\",\r\n PPSTB_3_Mitigation_Installation_And_Conditions_Limitations_In_Place:\r\n \"3. Mitigation Installation & Conditions / Limitations in Place\",\r\n PPSTB_Save_And_Continue: \"Save and Continue\",\r\n PPSTB_Undo: \"Undo\",\r\n PPSTB_Mitigation_Not_Required: \"Mitigation Not Required\",\r\n PPSTB_4_Bypass_Installation: \"4. Bypass Installation\",\r\n PPSTB_Bypass_Not_Required: \"Bypass Not Required\",\r\n PPSTB_5_Operation_Verification: \"5. Operation Verification\",\r\n PPSTB_6_Bypass_Removal_And_Verification_Of_Operation:\r\n \"6. Bypass Removal and Verification of Operation\",\r\n PPSTB_7_Mitigation_And_Conditions_Limitations_Removal:\r\n \"7. Mitigation and Conditions / Limitations Removal\",\r\n PPSTB_Follow_Up: \"Follow Up\",\r\n PPSTB_Repair_Replace_Component: \"Repair / replace component\",\r\n PPSTB_Modify_Interlock: \"Modify interlock\",\r\n PPSTB_Re_Design_Interlock: \"Re-design interlock\",\r\n PPSTB_Other: \"Other\",\r\n PPSTB_Save: \"Save\",\r\n PPSTB_8_Close_Out: \"8. Close Out\",\r\n PPSTB_Close_PPSTB: \"Close PPSTB\",\r\n PPSTB_History_Log: \"History Log\",\r\n PPSTB_Initial_Values: \"Initial Values\",\r\n PPSTB_Empty: \"Empty\",\r\n PPSTB_Operational_Restrictions: \"Operational Restrictions\",\r\n PPSTB_Approvals: \"Approvals\",\r\n PPSTB_Reason: \"Reason\",\r\n PPSTB_Amendments: \"Amendments\",\r\n PPSTB_Amendment: \"Amendment\",\r\n PPSTB_Created_On: \"Created on\",\r\n PPSTB_By: \"by\",\r\n PPSTB_On: \"on\",\r\n PPSTB_Added: \"Added\",\r\n PPSTB_Deleted: \"Deleted\",\r\n PPSTB_Modified: \"Modified\",\r\n PPSTB_Signatures: \"Signatures\",\r\n PPSTB_There_Are_No_Signatures: \"There are not signatures\",\r\n PPSTB_Date: \"Date\",\r\n Rad_Survey_Image_Component_Delete_Row:\r\n \"Are you sure to delete the row and its reference points\",\r\n Rad_Survey_Image_Component_Delete_Image:\r\n \"Are you sure to delete the image and its reference points\",\r\n Rad_Survey_Image_Component_Delete_Column:\r\n \"Are you sure to delete the column of the survey\",\r\n Rad_Survey_Image_Component_Delete_Spot:\r\n \"Are you sure to delete the reference point\",\r\n Rad_Survey_Cancel_Boton_Component_Properties:\r\n \"Are you sure to cancel the editing of the component? (changes will be discarded)\",\r\n PPSTB_label_testing_required:\r\n \"Testing Required Before Operation (Full Test, Functional Test, etc.)?\",\r\n // ...EB2Messages,\r\n // ...ALSPCMessages,\r\n // ...APLMessages,\r\n label_training_complete_option: `I have completed training for this procedure per my supervisor's requirements and I am confident in my ability to fulfill my responsibilities specific to this procedure.`,\r\n label_training_remove_option: `Are you sure you want to remove this training credit?`,\r\n genericError: \"System error. Please contact Control Room.\",\r\n};\r\n\r\nexport const genericMessage = {\r\n create: (what: any) => `${what} has been created successfully.`,\r\n update: (what: any) => `${what} has been updated successfully.`,\r\n add: (what: any) => `${what} has been added successfully.`,\r\n remove: (what: any) => `${what} has been removed successfully.`,\r\n read: (what: any) => `${what} has been * successfully`,\r\n creates: (what: any) => `${what} have been created successfully.`,\r\n updates: (what: any) => `${what} have been updated successfully.`,\r\n adds: (what: any) => `${what} have been added successfully.`,\r\n removes: (what: any) =>\r\n `${what} have been removed successfully.`,\r\n reads: (what: any) => `${what} have been * successfully`,\r\n genericError: \"System error. Please contact Control Room\",\r\n};\r\n\r\nexport const shceduleMessage = {\r\n requestExtension: () => `Extension has been requested.`,\r\n};\r\n","\r\nexport const urlsProd = {\r\n production: true,\r\n ologUrl: location.origin === 'https://ascc.als.lbl.gov' ? 'https://controls.als.lbl.gov/olog/rpc.php' : 'https://controls.als.lbl.gov/olog_test/rpc.php',\r\n baseApiUrl:\r\n location.origin === 'https://ascc.als.lbl.gov' ? 'https://ascc.als.lbl.gov:8443/api' : // PROD\r\n location.origin === 'https://ascc-stg.als.lbl.gov' ? 'https://ascc-stg.als.lbl.gov:8443/api' : // stg\r\n location.origin === 'https://ascc-dev.als.lbl.gov' ? 'https://ascc-dev.als.lbl.gov:8443/api' : // dev\r\n location.origin === 'http://localhost:4200' ? 'http://localhost:58894/api' : // Local\r\n ''\r\n};\r\n","\r\nexport const urls = {\r\n production: true,\r\n ologUrl: location.origin === 'https://ascc.als.lbl.gov' ? 'https://controls.als.lbl.gov/olog/rpc.php' : 'https://controls.als.lbl.gov/olog_test/rpc.php',\r\n baseApiUrl:\r\n location.origin === 'https://ascc.als.lbl.gov' ? 'https://ascc.als.lbl.gov:8443/api' : // PROD\r\n location.origin === 'https://ascc-stg.als.lbl.gov' ? 'https://ascc-stg.als.lbl.gov:8443/api' : // stg\r\n location.origin === 'https://ascc-dev.als.lbl.gov' ? 'https://ascc-dev.als.lbl.gov:8443/api' : // dev\r\n location.origin === 'http://localhost:4200' ? 'http://localhost:58894/api' : // Local\r\n location.origin === 'http://localhost:4201' ? 'http://localhost:58895/api' : // Local\r\n '',\r\n pvwsURL: ''\r\n\r\n};\r\n","\r\nimport { 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)\r\n .catch(err => console.error(err));\r\n","var map = {\n\t\"./af\": 35528,\n\t\"./af.js\": 35528,\n\t\"./ar\": 1036,\n\t\"./ar-dz\": 17579,\n\t\"./ar-dz.js\": 17579,\n\t\"./ar-kw\": 69588,\n\t\"./ar-kw.js\": 69588,\n\t\"./ar-ly\": 11650,\n\t\"./ar-ly.js\": 11650,\n\t\"./ar-ma\": 93258,\n\t\"./ar-ma.js\": 93258,\n\t\"./ar-ps\": 25467,\n\t\"./ar-ps.js\": 25467,\n\t\"./ar-sa\": 54085,\n\t\"./ar-sa.js\": 54085,\n\t\"./ar-tn\": 90287,\n\t\"./ar-tn.js\": 90287,\n\t\"./ar.js\": 1036,\n\t\"./az\": 89757,\n\t\"./az.js\": 89757,\n\t\"./be\": 59620,\n\t\"./be.js\": 59620,\n\t\"./bg\": 31139,\n\t\"./bg.js\": 31139,\n\t\"./bm\": 4042,\n\t\"./bm.js\": 4042,\n\t\"./bn\": 19641,\n\t\"./bn-bd\": 19126,\n\t\"./bn-bd.js\": 19126,\n\t\"./bn.js\": 19641,\n\t\"./bo\": 494,\n\t\"./bo.js\": 494,\n\t\"./br\": 20934,\n\t\"./br.js\": 20934,\n\t\"./bs\": 26274,\n\t\"./bs.js\": 26274,\n\t\"./ca\": 45831,\n\t\"./ca.js\": 45831,\n\t\"./cs\": 92354,\n\t\"./cs.js\": 92354,\n\t\"./cv\": 79692,\n\t\"./cv.js\": 79692,\n\t\"./cy\": 58774,\n\t\"./cy.js\": 58774,\n\t\"./da\": 38955,\n\t\"./da.js\": 38955,\n\t\"./de\": 21557,\n\t\"./de-at\": 24954,\n\t\"./de-at.js\": 24954,\n\t\"./de-ch\": 81881,\n\t\"./de-ch.js\": 81881,\n\t\"./de.js\": 21557,\n\t\"./dv\": 16475,\n\t\"./dv.js\": 16475,\n\t\"./el\": 38877,\n\t\"./el.js\": 38877,\n\t\"./en-au\": 70454,\n\t\"./en-au.js\": 70454,\n\t\"./en-ca\": 67356,\n\t\"./en-ca.js\": 67356,\n\t\"./en-gb\": 10456,\n\t\"./en-gb.js\": 10456,\n\t\"./en-ie\": 28789,\n\t\"./en-ie.js\": 28789,\n\t\"./en-il\": 85471,\n\t\"./en-il.js\": 85471,\n\t\"./en-in\": 39664,\n\t\"./en-in.js\": 39664,\n\t\"./en-nz\": 97672,\n\t\"./en-nz.js\": 97672,\n\t\"./en-sg\": 80805,\n\t\"./en-sg.js\": 80805,\n\t\"./eo\": 87390,\n\t\"./eo.js\": 87390,\n\t\"./es\": 1564,\n\t\"./es-do\": 51473,\n\t\"./es-do.js\": 51473,\n\t\"./es-mx\": 92089,\n\t\"./es-mx.js\": 92089,\n\t\"./es-us\": 84156,\n\t\"./es-us.js\": 84156,\n\t\"./es.js\": 1564,\n\t\"./et\": 6513,\n\t\"./et.js\": 6513,\n\t\"./eu\": 7856,\n\t\"./eu.js\": 7856,\n\t\"./fa\": 2378,\n\t\"./fa.js\": 2378,\n\t\"./fi\": 22687,\n\t\"./fi.js\": 22687,\n\t\"./fil\": 80032,\n\t\"./fil.js\": 80032,\n\t\"./fo\": 46845,\n\t\"./fo.js\": 46845,\n\t\"./fr\": 8875,\n\t\"./fr-ca\": 56425,\n\t\"./fr-ca.js\": 56425,\n\t\"./fr-ch\": 41746,\n\t\"./fr-ch.js\": 41746,\n\t\"./fr.js\": 8875,\n\t\"./fy\": 67037,\n\t\"./fy.js\": 67037,\n\t\"./ga\": 11217,\n\t\"./ga.js\": 11217,\n\t\"./gd\": 37010,\n\t\"./gd.js\": 37010,\n\t\"./gl\": 51931,\n\t\"./gl.js\": 51931,\n\t\"./gom-deva\": 64488,\n\t\"./gom-deva.js\": 64488,\n\t\"./gom-latn\": 8032,\n\t\"./gom-latn.js\": 8032,\n\t\"./gu\": 34984,\n\t\"./gu.js\": 34984,\n\t\"./he\": 69090,\n\t\"./he.js\": 69090,\n\t\"./hi\": 42085,\n\t\"./hi.js\": 42085,\n\t\"./hr\": 38787,\n\t\"./hr.js\": 38787,\n\t\"./hu\": 2901,\n\t\"./hu.js\": 2901,\n\t\"./hy-am\": 59819,\n\t\"./hy-am.js\": 59819,\n\t\"./id\": 44074,\n\t\"./id.js\": 44074,\n\t\"./is\": 70715,\n\t\"./is.js\": 70715,\n\t\"./it\": 31746,\n\t\"./it-ch\": 77040,\n\t\"./it-ch.js\": 77040,\n\t\"./it.js\": 31746,\n\t\"./ja\": 3180,\n\t\"./ja.js\": 3180,\n\t\"./jv\": 34346,\n\t\"./jv.js\": 34346,\n\t\"./ka\": 65538,\n\t\"./ka.js\": 65538,\n\t\"./kk\": 79772,\n\t\"./kk.js\": 79772,\n\t\"./km\": 87905,\n\t\"./km.js\": 87905,\n\t\"./kn\": 79125,\n\t\"./kn.js\": 79125,\n\t\"./ko\": 69140,\n\t\"./ko.js\": 69140,\n\t\"./ku\": 2354,\n\t\"./ku-kmr\": 44662,\n\t\"./ku-kmr.js\": 44662,\n\t\"./ku.js\": 2354,\n\t\"./ky\": 63768,\n\t\"./ky.js\": 63768,\n\t\"./lb\": 14016,\n\t\"./lb.js\": 14016,\n\t\"./lo\": 83169,\n\t\"./lo.js\": 83169,\n\t\"./lt\": 62353,\n\t\"./lt.js\": 62353,\n\t\"./lv\": 83243,\n\t\"./lv.js\": 83243,\n\t\"./me\": 52338,\n\t\"./me.js\": 52338,\n\t\"./mi\": 35555,\n\t\"./mi.js\": 35555,\n\t\"./mk\": 85794,\n\t\"./mk.js\": 85794,\n\t\"./ml\": 53151,\n\t\"./ml.js\": 53151,\n\t\"./mn\": 46458,\n\t\"./mn.js\": 46458,\n\t\"./mr\": 69165,\n\t\"./mr.js\": 69165,\n\t\"./ms\": 8680,\n\t\"./ms-my\": 87477,\n\t\"./ms-my.js\": 87477,\n\t\"./ms.js\": 8680,\n\t\"./mt\": 79684,\n\t\"./mt.js\": 79684,\n\t\"./my\": 40285,\n\t\"./my.js\": 40285,\n\t\"./nb\": 45922,\n\t\"./nb.js\": 45922,\n\t\"./ne\": 29040,\n\t\"./ne.js\": 29040,\n\t\"./nl\": 5066,\n\t\"./nl-be\": 74460,\n\t\"./nl-be.js\": 74460,\n\t\"./nl.js\": 5066,\n\t\"./nn\": 53693,\n\t\"./nn.js\": 53693,\n\t\"./oc-lnc\": 88676,\n\t\"./oc-lnc.js\": 88676,\n\t\"./pa-in\": 92341,\n\t\"./pa-in.js\": 92341,\n\t\"./pl\": 57416,\n\t\"./pl.js\": 57416,\n\t\"./pt\": 84344,\n\t\"./pt-br\": 30113,\n\t\"./pt-br.js\": 30113,\n\t\"./pt.js\": 84344,\n\t\"./ro\": 72643,\n\t\"./ro.js\": 72643,\n\t\"./ru\": 61305,\n\t\"./ru.js\": 61305,\n\t\"./sd\": 96095,\n\t\"./sd.js\": 96095,\n\t\"./se\": 74486,\n\t\"./se.js\": 74486,\n\t\"./si\": 58742,\n\t\"./si.js\": 58742,\n\t\"./sk\": 96722,\n\t\"./sk.js\": 96722,\n\t\"./sl\": 3345,\n\t\"./sl.js\": 3345,\n\t\"./sq\": 52416,\n\t\"./sq.js\": 52416,\n\t\"./sr\": 39450,\n\t\"./sr-cyrl\": 50501,\n\t\"./sr-cyrl.js\": 50501,\n\t\"./sr.js\": 39450,\n\t\"./ss\": 32222,\n\t\"./ss.js\": 32222,\n\t\"./sv\": 9454,\n\t\"./sv.js\": 9454,\n\t\"./sw\": 19638,\n\t\"./sw.js\": 19638,\n\t\"./ta\": 96494,\n\t\"./ta.js\": 96494,\n\t\"./te\": 94435,\n\t\"./te.js\": 94435,\n\t\"./tet\": 25003,\n\t\"./tet.js\": 25003,\n\t\"./tg\": 13706,\n\t\"./tg.js\": 13706,\n\t\"./th\": 16025,\n\t\"./th.js\": 16025,\n\t\"./tk\": 59780,\n\t\"./tk.js\": 59780,\n\t\"./tl-ph\": 22068,\n\t\"./tl-ph.js\": 22068,\n\t\"./tlh\": 39167,\n\t\"./tlh.js\": 39167,\n\t\"./tr\": 32494,\n\t\"./tr.js\": 32494,\n\t\"./tzl\": 58707,\n\t\"./tzl.js\": 58707,\n\t\"./tzm\": 91296,\n\t\"./tzm-latn\": 34532,\n\t\"./tzm-latn.js\": 34532,\n\t\"./tzm.js\": 91296,\n\t\"./ug-cn\": 12086,\n\t\"./ug-cn.js\": 12086,\n\t\"./uk\": 85069,\n\t\"./uk.js\": 85069,\n\t\"./ur\": 29304,\n\t\"./ur.js\": 29304,\n\t\"./uz\": 95115,\n\t\"./uz-latn\": 97609,\n\t\"./uz-latn.js\": 97609,\n\t\"./uz.js\": 95115,\n\t\"./vi\": 34802,\n\t\"./vi.js\": 34802,\n\t\"./x-pseudo\": 65605,\n\t\"./x-pseudo.js\": 65605,\n\t\"./yo\": 88456,\n\t\"./yo.js\": 88456,\n\t\"./zh-cn\": 23272,\n\t\"./zh-cn.js\": 23272,\n\t\"./zh-hk\": 9402,\n\t\"./zh-hk.js\": 9402,\n\t\"./zh-mo\": 48101,\n\t\"./zh-mo.js\": 48101,\n\t\"./zh-tw\": 40262,\n\t\"./zh-tw.js\": 40262\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 = 46700;"],"names":["RouterModule","HomeComponent","ScfV2Component","RsswaComponent","UnsavedChangesGuard","EbComponent","TemplateComponent","RolesComponent","PpstbComponent","KEComponent","AbsiBuilderComponent","AbsiComponent","PendingApprovalsV2Component","MenuConfigComponent","RedirectComponent","OlogComponent","BeamlineOverviewComponent","RedirectGuard","PvInfoComponent","routes","path","redirectTo","pathMatch","component","canDeactivate","AppRoutingModule","_","_2","_3","forRoot","useHash","imports","i1","exports","SetCurrentUser","environment","AppComponent","constructor","signalrService","cookieService","authService","alert","initService","store","redirect","title","expired","window","addEventListener","updateMousePosition","bind","ngOnInit","startConnection","initListeners","login","getCookieValue","subscribe","data","event","mouseX","clientX","mouseY","clientY","document","location","hostname","productionEnvironment","cookieValue","get","userEmail","JSON","parse","email","loginMFA","toPromise","then","response","code","console","log","error","logout","catch","errorMsg","status","message","defaultError","finally","initStore","warning","dispatch","localStorage","getItem","i0","ɵɵdirectiveInject","SignalRService","i2","CookieService","i3","AuthenticationService","i4","AlertService","i5","InitStoreAndListenersService","i6","Store","i7","RedirectService","selectors","decls","vars","consts","template","AppComponent_Template","rf","ctx","ɵɵelement","ɵɵelementStart","ɵɵelementEnd","BrowserModule","NgxsModule","BrowserAnimationsModule","NgbModule","CommonModule","reducers","HttpClientModule","ScrollingModule","FormsModule","ReactiveFormsModule","ResizableModule","MatMenuModule","MatButtonModule","MatDialogModule","MatFormFieldModule","MAT_FORM_FIELD_DEFAULT_OPTIONS","MatSelectModule","MatNativeDateModule","MatInputModule","MatCheckboxModule","MatDatepickerModule","MatTableModule","MatSortModule","MatPaginatorModule","MatChipsModule","MatIconModule","MatAutocompleteModule","MatListModule","MatProgressSpinnerModule","MatCardModule","MatRadioModule","MatStepperModule","MatSlideToggleModule","MatTabsModule","MAT_TAB_GROUP","MatGridListModule","MatProgressBarModule","DragDropModule","MatTreeModule","MatExpansionModule","MatSidenavModule","MatTooltipModule","MAT_TOOLTIP_DEFAULT_OPTIONS","QuillModule","BaseComponent","HeadPageComponent","HeadLogoComponent","HeadMenuComponent","HeadMenuDropmenuComponent","HeadMenuSubmenuComponent","ToastrModule","provideToastr","HeadLoginComponent","LoginComponent","LogoutComponent","httpInterceptorProviders","HeadActionButtonsComponent","AcceleratorStatusComponent","BeamStatusComponent","CurrentActivityComponent","BulletinBoardComponent","ModalHistoryBBComponent","ModalAddToBBComponent","BranchlineStatusComponent","YesNoDialogComponent","ResourcesService","SendIdService","ToxicGasPanelComponent","ToxicGasArchiveComponent","ToxicGasEditorComponent","BakeoutsPanelComponent","BakeoutArchiveComponent","BakeoutEditorComponent","PendingChangesDialogComponent","TooltipConfigService","SharedModule","ScfV2Module","RsswaModule","KenableModule","EbModule","TemplateModule","RolesModule","CanDeactivateService","PpstbModule","ComponentService","AbsiModule","ChecklistsModule","CatalogsModule","ReviewsModule","ScheduleModule","ProcedureModule","AplModule","PendingApprovalsV2Module","BratoiModule","SiteConfigurationComponent","ComponentRegistry","MessagesModule","MenuConfigHeadComponent","MenuConfigActionsComponent","MenuConfigEditComponent","SearchDialogComponent","OlogMainComponent","HighlightModule","HIGHLIGHT_OPTIONS","RadiationAreaComponent","ModalAddToRAComponent","MatFileUploadModule","BeamlineOverviewDetailsComponent","RedirectDialogComponent","MatSliderModule","HeadLogoTooltipComponent","HeadLogoAboutComponent","appearance","AppModule","bootstrap","provide","useValue","undefined","fullLibraryLoader","useExisting","timeOut","positionClass","preventDuplicates","declarations","ɵNgxsRootModule","ChangeDetectorRef","MatDialog","TooltipComponent","Subscription","TokenInfoService","MessageBannerService","PrivilegeEnum","AppStateService","FormStatusEnum","FormType","ResourceType","Roles","FormBuilder","DatePipe","utils","HttpClient","DomSanitizer","COMMA","ENTER","MessagePlaceholder","DocumentCategory","Servers","ImageUploadService","DialogService","injector","subs","users","usersSubs","formStatusEnum","formTypeEnum","privilegeEnum","resourceTypeEnum","roleEnum","servers","moduleTitle","isExpanded","showSubmenu","isShowing","showSubSubMenu","innerWidth","innerHeight","separatorKeysCodes","_mbs","_ass","_tis","_cds","_san","_http","dialog","formBuilder","imageUpload","dialogService","cdRef","loadUsers","loadMessages","enableHTMLCodeOnTooltips","observeResize","loadCurrentUser","messageBanners$","select","state","MessageBanners","items","messageBannersSubs","length","messageBanners","AppState","appstate","currentUser","currentUserUpdated","users$","Users","getCurrentUser","min","id","name","initials","emailAddress","username","userRole","getCurrentUserInfo","getUsers","getUser","find","u","getUserInfo","user","getMessage","val","hasPrivilege","privilege","hasRoles","roles","roleIds","some","r","isRole","map","intersect","x","roleID","isSA","SA","ngOnDestroy","unsubscribe","Object","defineProperty","prototype","set","v","el","querySelectorAll","innerHTML","disableTitleAttribute","element","$","buttons","resizeObserver","ResizeObserver","setHeights","observe","formatDate","date","datePipe","transform","formatDatePipe","format","stripDesc","html","doc","DOMParser","parseFromString","body","textContent","offset","setTimeout","sideNav","querySelector","sideNavHeight","clientHeight","buttonsElement","buttonsHeight","tableContainer","style","height","setFormDirty","formDirty","isFormDirty","_this","_asyncToGenerator","displayObject","e","getErrorMsg","control","hasError","errors","invalid","scrollToTop","scrollTop","animate","mouseenter","toggleSidenav","mouseleave","deleteSerialNo","serialNo","BASE_URL","urls","baseApiUrl","delete","sanitize","value","bypassSecurityTrustHtml","clearInputValue","input","validateRequiredControl","label","prop","setErrors","required","checkOpenDocument","type","documents","_this2","getDocument","found","a","formID","closed","PPSTB","EBF","formVersion","statusID","Closed","Canceled","category","Checklist","checklistStatus","formStatusID","setOpenDocument","open","openDocuments","o","push","index","findIndex","splice","showAproveToActiveMessage","_this3","confirm","width","description","icon","afterClosed","isAnyDialogOpen","openDialogs","setSort","dataSource","sort","sortData","active","direction","b","valueA","sortingDataAccessor","valueB","comparatorResult","sortArrayAlphabeticallyWithComplexNumbers","toString","getEmailAddressesFromRoles","emails","forEach","filter","ur","includes","Injector","hostVars","hostBindings","BaseComponent_HostBindings","LoadingOrigin","MessageBanner","BaseService","endpoint","http","URL","create","post","createRange","getAll","getById","update","put","ResizableDirective","renderer","resizableGrabWidth","resizableMinWidth","resizableMinHeight","draggingCorner","fullscreen","setStyle","nativeElement","card","resizer","createElement","addClass","setProperty","appendChild","fullscreenIcon","setAttribute","listen","toggleFullScreen","originalWidth","clientWidth","originalHeight","onMouseDown","target","initDrag","onMouseMove","startWidth","startX","startHeight","startY","resizeTo","onMouseUp","preventDefault","elem","viewportWidth","Math","max","documentElement","viewportHeight","ElementRef","Renderer2","ResizableDirective_HostBindings","$event","ɵɵresolveDocument","ResizableDirective_mousemove_HostBindingHandler","ResizableDirective_mouseup_HostBindingHandler","StripSpacesDirective","onInput","strippedValue","replace","StripSpacesDirective_HostBindings","NotificationType","AffectedSystemType","Action","ActionPendingCatalog","StatusPendingCatalog","Catalog","WFSaveOptions","PendingCatalogColor","RSSTestType","RadNoteType","PendingResourcesType","CustomImageSizeOptions","ReviewCycleStatus","StatusType","ComponentType","WorkRequired","OperationalApprovalCode","SignatureAction","ReturnType","CompareOperator","GeneralCondition","MenuItemType","OlogNotificationType","Fields","icons","registerComponent","components","factory","ɵfac","providedIn","RegisterComponent","String","hasValue","trim","myString","EventEmitter","WfSignatureResource","ɵɵtext","ɵɵproperty","ɵɵpureFunction2","_c0","a_r1","ctx_r2","getLastAmendment","ɵɵadvance","ɵɵtextInterpolate1","ɵɵlistener","FormWorkflowComponent_div_0_div_4_Template_master_control_approve_1_listener","restoredCtx","ɵɵrestoreView","_r7","s_r5","$implicit","ctx_r6","ɵɵnextContext","ɵɵresetView","approve","FormWorkflowComponent_div_0_div_4_Template_master_control_checked_1_listener","ctx_r8","check","FormWorkflowComponent_div_0_div_4_Template_master_control_unapprove_1_listener","ctx_r9","unnaprove","taskId","unapproveId","FormWorkflowComponent_div_0_div_4_Template_master_control_disapprove_1_listener","ctx_r10","service","sign","form","disapproveId","text","visible","roleCodes","userNames","approvedBy","approved","disabled","options","unapprove","disapprove","cancel","cancelID","approvedOn","enabled","ɵɵtemplate","FormWorkflowComponent_div_0_span_1_Template","FormWorkflowComponent_div_0_div_4_Template","_c1","ctx_r0","getSignaturesByAmendment","FormWorkflowComponent","ebService","ppstbService","workflowService","amendmentSectionNumbers","loading","extraActions","ngOnChanges","changes","refresh","wfTable","emit","readConfiguration","wfTableID","configuration","leftPersons","leftConfigs","identificator","rightPersons","rightConfigs","wfSignatures","wfTableLocal","wfSectionLocals","number","sectionNumber","s","amendmentNumber","concat","signatures","wfSignaturesToValidate","signature","toWFSignatureResourceWithPerson","toWFSignatureResource","amendments","last","JSONstringify","signed","confirmSign","approveId","taskID","unnaproveID","checked","EbService","PpstbService","WorkFlowService","inputs","outputs","features","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","FormWorkflowComponent_Template","FormWorkflowComponent_div_0_Template","currentRoute","currentState","nextState","url","setItem","removeLocalStorageUrl","dialogRef","disableClose","backdropClass","targetUrl","position","left","top","removeItem","ɵɵinject","CanDeactivateResponse","confirmation","isDiscard","Discard","placeholder","KeyValuePair","RelatedLinkDocumentBase","RelatedLinkDocumentBaseSave","RelatedLinkDocumentBaseHandler","toSave","relatedLinkDocumentBase","save","fileID","AbsiBuilderButtonsComponent_button_3_Template_button_click_0_listener","_r3","canceled","AbsiBuilderButtonsComponent_button_5_Template_button_click_0_listener","_r5","ctx_r4","ctx_r1","AbsiBuilderButtonsComponent","t","version","AbsiBuilderButtonsComponent_Template","AbsiBuilderButtonsComponent_button_3_Template","AbsiBuilderButtonsComponent_button_5_Template","ApproveABSITemplate","statusName","CreateABSITemplate","AbsiBuilderSectionComponent","AbsiBuilderMainComponent_div_1_Template_absi_builder_section_loading_1_listener","_r4","section_r1","ctx_r3","setLoading","wfTableId","tmp_3_0","tmp_4_0","AbsiBuilderMainComponent","loadings","sections","wfTableConfig","wfSectionConfigs","l","section","viewQuery","AbsiBuilderMainComponent_Query","AbsiBuilderMainComponent_div_1_Template","moveItemInArray","MatDialogConfig","WFTaskSignatureResource","ClEditorComponent","AbsiBuilderSectionComponent_div_1_div_2_Template","AbsiBuilderSectionComponent_div_1_div_7_Template","ɵɵtextInterpolate2","sectionName","AbsiBuilderSectionComponent_div_3_div_3_Template_mat_checkbox_ngModelChange_5_listener","_r13","AbsiBuilderSectionComponent_div_3_div_3_Template_mat_checkbox_change_5_listener","ctx_r14","tmp_b_0","changeRequired","ɵɵclassProp","question","question2","value2","scheduleResourceId","question3","textValue","dateValue1","dateValue2","dateValue3","scheduleName","locationName","editMode","ctx_r7","formType","tmp_0_0","AbsiBuilderSectionComponent_div_3_div_7_div_1_Template_mat_icon_click_1_listener","_r23","ctx_r21","edit","AbsiBuilderSectionComponent_div_3_div_7_div_2_Template_mat_icon_click_1_listener","_r26","ctx_r24","AbsiBuilderSectionComponent_div_3_div_7_div_1_Template","AbsiBuilderSectionComponent_div_3_div_7_div_2_Template","iterable","AbsiBuilderSectionComponent_div_3_div_8_div_1_Template_mat_icon_click_1_listener","_r31","ctx_r29","AbsiBuilderSectionComponent_div_3_div_8_div_1_Template","AbsiBuilderSectionComponent_div_3_div_3_Template","AbsiBuilderSectionComponent_div_3_div_4_Template","AbsiBuilderSectionComponent_div_3_div_5_Template","AbsiBuilderSectionComponent_div_3_div_7_Template","AbsiBuilderSectionComponent_div_3_div_8_Template","ɵɵpropertyInterpolate","editing","editingId","AbsiBuilderSectionComponent_div_4_button_3_Template_button_click_0_listener","_r35","ctx_r34","AbsiBuilderSectionComponent_div_4_button_3_Template","adding","_builder","_gBuilder","requestRefresh","chbTypes","ABSI","wfTaskSignature","controlOptions","ReadWFBySection","isOrdered","checkOrders","approvals","wfTaskLocal","componentID","getErrors","approveID","unapproveID","disapproveID","amendmentId","amendmentID","titleBefore","titleAfter","titleAfter2","join","signedBy","signedOn","amendment","amendmentEnabled","numericValue","name3","name2","order","condition","renumberArray","changeOrder","i","result","stepId","wfStepLocalID","dialogConfig","autoFocus","updateWFTaskLocal","createWFTaskLocal","task","deleteTask","SaveRequired","UpdateUpdater","absiTemplateID","SaveOrder","numericHeader","reorderTable","previousIndex","currentIndex","hasErrors","AbsiBuilderService","ChecklistBuilderService","AbsiBuilderSectionComponent_Template","AbsiBuilderSectionComponent_div_1_Template","AbsiBuilderSectionComponent_Template_div_cdkDropListDropped_2_listener","AbsiBuilderSectionComponent_div_3_Template","AbsiBuilderSectionComponent_div_4_Template","FormControl","MatTableDataSource","moment","AbsiTemplateVersionRefresh","MatSort","elem_r10","AbsiBuilderSideComponent_mat_cell_13_mat_icon_3_Template","e_r11","statusClass","ɵɵpipeBind2","ctx_r5","ɵɵsanitizeHtml","editingById","e_r13","AbsiBuilderSideComponent_mat_row_18_Template_mat_row_click_0_listener","_r16","row_r14","ctx_r15","onRowClick","ɵɵpureFunction1","AbsiBuilderSideComponent","selectedRow","selectedType","typeCtrl","displayedColumns","loadAbsiTemplateTypes","loadVersions","absiTemplateTypesSubs","versionsSubs","absiTemplateTypes$","AbsiTemplateType","_ref","absiTemplateTypes","ABSIT","gen1","_x","apply","arguments","displayType","selected","option","versions$","AbsiTemplateVersions","_ref2","versions","setStatus","_x2","activeVersion","createdOn","isBefore","isAfter","row","AbsiBuilderSideComponent_Query","AbsiBuilderSideComponent_Template_mat_autocomplete_optionSelected_5_listener","AbsiBuilderSideComponent_mat_option_8_Template","ɵɵelementContainerStart","AbsiBuilderSideComponent_mat_header_cell_12_Template","AbsiBuilderSideComponent_mat_cell_13_Template","ɵɵelementContainerEnd","AbsiBuilderSideComponent_mat_header_cell_15_Template","AbsiBuilderSideComponent_mat_cell_16_Template","AbsiBuilderSideComponent_mat_header_row_17_Template","AbsiBuilderSideComponent_mat_row_18_Template","_r1","AbsiBuilderComponent_div_20_span_4_Template","AbsiBuilderComponent_div_20_span_5_Template","ɵɵtextInterpolate","globalTemplate","updatedByName","ɵɵpipeBind1","updatedOn","ctx_r11","AbsiBuilderComponent_div_22_div_2_Template","AbsiBuilderComponent_div_22_div_3_Template","AbsiBuilderComponent_mat_list_item_31_Template_mat_list_item_click_0_listener","_r14","ctx_r13","AbsiBuilderComponent_mat_list_item_31_span_1_Template","AbsiBuilderComponent_mat_list_item_32_Template_mat_list_item_click_0_listener","_r17","ctx_r16","duplicate","AbsiBuilderComponent_mat_list_item_32_span_1_Template","errorMessages","ɵɵpureFunction0","_c2","resourceRequired","filterCtrl","headerOnTop","filteredFilter","buttonsVisible","loadingSide","loadingButtons","loadingMain","loadingSelf","loadingOrigin","ngAfterViewInit","Self","clear","absiTemplate","requesterId","CreateChecklistTemplate","success","side","DeleteVersion","ApproveVersion","onResize","isHeaderOnTop","elemRec","headerTop","getBoundingClientRect","docViewTop","screenTop","elemTop","changedFilter","clearFilter","selectedFilter","createDisabled","editDisabled","action","main","sectionComponents","errorMessage","applyFilter","valueFilter","origin","showLoading","Side","Buttons","Main","AbsiBuilderComponent_Query","ɵɵresolveWindow","AbsiBuilderComponent_scroll_HostBindingHandler","AbsiBuilderComponent_Template_button_click_3_listener","AbsiBuilderComponent_span_18_Template","AbsiBuilderComponent_div_20_Template","AbsiBuilderComponent_div_22_Template","AbsiBuilderComponent_Template_mat_sidenav_mouseenter_24_listener","AbsiBuilderComponent_Template_mat_sidenav_mouseleave_24_listener","AbsiBuilderComponent_Template_absi_builder_side_loading_29_listener","AbsiBuilderComponent_Template_absi_builder_side_selectedRow_29_listener","AbsiBuilderComponent_Template_absi_builder_side_selectedType_29_listener","AbsiBuilderComponent_mat_list_item_31_Template","AbsiBuilderComponent_mat_list_item_32_Template","AbsiBuilderComponent_checklist_builder_reject_36_Template","AbsiBuilderComponent_Template_absi_builder_main_loading_37_listener","AbsiBuilderComponent_Template_absi_builder_buttons_canceled_38_listener","AbsiBuilderComponent_Template_absi_builder_buttons_approved_38_listener","AbsiBuilderComponent_overlay_loading_39_Template","_c3","_c4","_c5","Api","GetTemplateVersionsByType","typeId","GetTemplateVersionsByID","UpdateText","wfTaskLocalResource","patch","GetTemplateTypes","absiVersion","ActionItemsRefresh","AbsiMainPanelComponent_div_2_Template_absi_section_wrapper_loading_1_listener","_r6","section_r3","absi","AbsiMainPanelComponent_absi_review_and_concurrence_3_Template_absi_review_and_concurrence_loading_0_listener","_r9","sectionInfo","AbsiMainPanelComponent","formStatus","panelOpenState","detectChanges","loadAbsiSections","sections$","AbsiSections","sectionsSubs","AbsiMainPanelComponent_Template","AbsiMainPanelComponent_div_2_Template","AbsiMainPanelComponent_absi_review_and_concurrence_3_Template","AbsiMainPanelComponent_comments_and_attachments_5_Template","ScheduleStatusEnum","PartialOlogComponent","AbsiResource","AbsiReviewAndConcurrenceComponent_div_0_span_8_Template_button_click_1_listener","disableButtons","AbsiReviewAndConcurrenceComponent_div_0_span_9_Template_button_click_1_listener","_r11","complete","AbsiReviewAndConcurrenceComponent_div_0_span_10_Template_button_click_1_listener","ctx_r12","revert","AbsiReviewAndConcurrenceComponent_div_0_waiting_dots_6_Template","AbsiReviewAndConcurrenceComponent_div_0_span_8_Template","AbsiReviewAndConcurrenceComponent_div_0_span_9_Template","AbsiReviewAndConcurrenceComponent_div_0_span_10_Template","AbsiReviewAndConcurrenceComponent_div_0_Template_absi_sectionX_setButtons_11_listener","_r15","setButtons","sectionLoading","showReloadButton","showCompleteButton","Active","showCloseButton","ReviewAndConcurrence","AbsiReviewAndConcurrenceComponent_span_3_Template_button_click_1_listener","editOlog","AbsiReviewAndConcurrenceComponent_div_4_Template_cl_close_action_loading_1_listener","_r19","ctx_r18","AbsiReviewAndConcurrenceComponent_div_4_Template_cl_close_action_closed_1_listener","ctx_r20","close","closeSignature","AbsiReviewAndConcurrenceComponent","_absi","serviceSchedule","_olog","_actionItems","sectionLoaded","ologButton","getSection","OIC","FO","showOlogButton","completeSignature","count","remove","res","revertToActive","closeSchedule","scheduleId","postToOlog","ok","schedule","openCompleteSchedule","completed","emailByForm","actionId","_this4","_this5","getFirstSignatureDate","completedDate","_this6","statusId","updateStatus","_this7","_ref3","refreshRnC","_x3","_this8","getOlog","isSaved","AbsiService","ScheduleService","OLogService","ActionItemService","AbsiReviewAndConcurrenceComponent_Template","AbsiReviewAndConcurrenceComponent_div_0_Template","AbsiReviewAndConcurrenceComponent_span_3_Template","AbsiReviewAndConcurrenceComponent_div_4_Template","AbsiSectionSignatureComponent","dMessages","inspector","signatureDate","pendingActions","loadMessagesToShow","catl","AbsiSectionSignatureComponent_Template","AbsiSectionSignatureComponent_waiting_text_5_Template","AbsiSectionSignatureComponent_waiting_text_12_Template","AbsiSectionSignatureComponent_waiting_text_18_Template","User","AbsiSectionWrapperComponent","actionItemsSubs","panelOpen","expanded","getActionItems","actionItems$","ActionItems","actionItems","wfSectionId","wfSignature","ButtonSignature","showInfo","sectionComponent","isLoading","AbsiSectionWrapperComponent_Query","AbsiSectionWrapperComponent_Template_mat_expansion_panel_opened_0_listener","AbsiSectionWrapperComponent_Template_mat_expansion_panel_closed_0_listener","AbsiSectionWrapperComponent_div_5_Template","AbsiSectionWrapperComponent_mat_progress_bar_6_Template","AbsiSectionWrapperComponent_Template_absi_sectionX_loading_7_listener","distinctUntilChanged","SaveTaskResource","AbsiSectionXComponent_div_1_div_1_Template_master_control_approve_2_listener","s_r1","AbsiSectionXComponent_div_1_div_1_Template_master_control_unapprove_2_listener","AbsiSectionXComponent_div_1_div_1_Template_master_control_checked_2_listener","AbsiSectionXComponent_div_1_div_1_Template_master_control_save_2_listener","disableEdit","moreInfo","AbsiSectionXComponent_div_1_div_1_Template","AbsiSectionXComponent","isVacuumSection","isShieldingsSection","loaded","loadComponents","componentsSubs","components$","Components","pipe","getData","setTasks","createSignature","cloneDeep","setDisabledTask","approveEnabled","unapproveEnabled","disapproveEnabled","isVacuum","updateSignature","enable","Shielding","VAC","validateRole","approveDisable","valid","taskLocalId","saveTaskResource","wfTaskLocals","conditionParse","field","MANUAL","saveTask","saveWFTask","statusText","getChecked","keyValues","values","key","y","signedAll","signaturesCount","collapse","AbsiSectionXComponent_Template","AbsiSectionXComponent_div_1_Template","ViewContainerRef","AbsiUpdate","AbsiSectionRefresh","element_r8","color","element_r9","breakByComma","resourceName","element_r10","AbsiSidePanelComponent_mat_row_18_Template_mat_row_click_0_listener","row_r11","getValues","selectedRowIndex","ɵɵattribute","getPosition","AbsiSidePanelComponent","rowSelected","selectedIndex","showClosed","allowNew","setSortingAccessor","loadAbsis","absis$","Absi","absisSubs","toLowerCase","absis","absisFiltered","openDocument","item","property","changeClosed","replaceAll","AbsiSidePanelComponent_Query","AbsiSidePanelComponent_Template_mat_slide_toggle_change_3_listener","AbsiSidePanelComponent_Template_mat_slide_toggle_ngModelChange_3_listener","AbsiSidePanelComponent_mat_header_cell_9_Template","AbsiSidePanelComponent_mat_cell_10_Template","AbsiSidePanelComponent_mat_header_cell_12_Template","AbsiSidePanelComponent_mat_cell_13_Template","AbsiSidePanelComponent_mat_header_cell_15_Template","AbsiSidePanelComponent_mat_cell_16_Template","AbsiSidePanelComponent_mat_header_row_17_Template","AbsiSidePanelComponent_mat_row_18_Template","CatlReportComponent","CommentsSummaryComponent","RejectDialogComponent","MessageTypeEnum","AbsiComponent_span_16_span_2_Template","AbsiComponent_mat_form_field_18_Template_input_ngModelChange_3_listener","typeName","versionName","AbsiComponent_button_22_Template_button_click_0_listener","_r18","ctx_r17","cancelReason","AbsiComponent_filter_box_30_Template_filter_box_changed_0_listener","_r20","ctx_r19","AbsiComponent_mat_list_item_36_Template_mat_list_item_click_0_listener","ctx_r22","catlReport","AbsiComponent_mat_list_item_36_span_1_Template","AbsiComponent_mat_list_item_37_Template_mat_list_item_click_0_listener","ctx_r25","commentsSummary","AbsiComponent_mat_list_item_37_span_1_Template","AbsiComponent_absi_main_panel_41_Template_absi_main_panel_loading_0_listener","_r28","ctx_r27","showAmendmentToggle","report","cancelDialog","accept","Error","minHeight","AbsiComponent_Query","AbsiComponent_scroll_HostBindingHandler","AbsiComponent_Template_button_click_3_listener","AbsiComponent_span_15_Template","AbsiComponent_span_16_Template","AbsiComponent_mat_form_field_18_Template","AbsiComponent_mat_form_field_20_Template","AbsiComponent_button_22_Template","AbsiComponent_span_23_Template","AbsiComponent_Template_mat_sidenav_mouseenter_25_listener","AbsiComponent_Template_mat_sidenav_mouseleave_25_listener","AbsiComponent_mat_icon_29_Template","AbsiComponent_filter_box_30_Template","AbsiComponent_Template_absi_side_panel_rowSelected_33_listener","AbsiComponent_Template_absi_side_panel_loading_33_listener","AbsiComponent_mat_list_item_36_Template","AbsiComponent_mat_list_item_37_Template","AbsiComponent_absi_main_panel_41_Template","AbsiComponent_overlay_loading_43_Template","CancelABSIChecklist","MatOptionModule","ErrorStateMatcher","ChecklistComponentsModule","TouchedErrorStateMatcher","isErrorState","dirty","touched","useClass","SerialNumber","KE","Locations","apiAbsiTemplateTypes","getSerialNo","httpresult1","httpresult","readAllSections","getAllAbsiTemplateTypes","getAbsiTemplateTypeById","absiTemplateTypeId","createAbsiTemplateType","absiTemplateType","updateAbsiTemplateType","deleteAbsiTemplateType","deleteReason","SaveAbsiResource","AbsiStatusResource","AbsiTemplateResource","AbsiTemplateVersionResource","AbsiTemplateTypeResource","ABSITStatusResource","AbsiSection","AbsiSectionCreate","AbsiSectionUpdate","AbsiSectionDelete","Selector","State","ActionItemsUpdateBySection","AbsiSectionStateModel","AbsiSectionState","absiService","read","patchState","getState","newData","indexOf","__decorate","defaults","AbsiSectionActions","SignalRAction","Channels","AbsiSectionStoreAndListenersService","signalRService","hubConnection","on","ABSISECTION","Add","obj","Update","Delete","Get","AbsiTemplateTypeRefresh","AbsiTemplateTypeCreate","AbsiTemplateTypeUpdate","AbsiTemplateTypeDelete","AbsiTemplateTypeStateModel","AbsiTemplateTypeState","AbsiTemplateTypeActions","AbsiTemplateTypeStoreAndListenersService","ABSITEMPLATETYPES","AbsiTemplateVersionRefreshByID","AbsiTemplateVersionCreate","AbsiTemplateVersionUpdate","AbsiTemplateVersionDelete","AbsiTemplateVersionStateModel","AbsiTemplateVersionState","refreshByID","AbsiTemplateVersionActions","AbsiTemplateVersionStoreAndListenersService","ABSI_TEMPLATES","RequestRefresh","AbsiRefresh","AbsiRefreshByID","AbsiCreate","AbsiDelete","AbsiStateModel","AbsiState","AbsiActions","AbsiStoreAndListenersService","ALLABSIS","APLCategoryApprovalPopupComponent","APLCategoryPopupComponent","APLGroupPopupComponent","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_div_6_Template_div_click_0_listener","stopPropagation","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_27_Template_button_click_0_listener","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_30_Template_button_click_0_listener","aplCategory_r1","openApprovalPopup","labelApproveDisapprove","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_31_Template_button_click_0_listener","openEditCategoryPopup","labelEdit","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_32_Template_button_click_0_listener","_r22","deleteCategory","labelDelete","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_39_Template_button_click_0_listener","_r25","ctx_r23","openCreateGroupPopup","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template_mat_expansion_panel_closed_0_listener","_r27","ctx_r26","categoryOpen","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template_mat_expansion_panel_opened_0_listener","ctx_r28","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template_mat_expansion_panel_cdkDragStarted_0_listener","i_r2","onDragStarted","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_div_6_Template","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_mat_icon_12_Template","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template_button_click_13_listener","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template_button_click_18_listener","ctx_r31","copyLink","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template_button_click_22_listener","ctx_r32","copyLinkEmbedded","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_27_Template","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_30_Template","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_31_Template","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_32_Template","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_button_39_Template","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template_apl_category_v2_groups_loading_41_listener","ctx_r33","hasActions","enableMove","aplCategoryApproval","aplCategoryEdit","aplCategoryDelete","pendingGroups","canApproveOrReject","canEdit","canDelete","labelCategoryManagers","getManagers","canAddGroup","AplCategoryV2CategoriesComponent","aplCategoryService","router","route","clipboard","loadGroups","setPermissions","aplCategorySubscription","setLabels","loadCategories","aplCategory$","APLCategory","APLCategories","aplCategories","createCategoryPrivilege","aplCategoriesPending","c","p","aplCategoryMasterID","aplGroups","g","aplGroupMaster","previousVersionID","newVersion","aplCategoryMaster","aplCategoriesFiltered","aplGroups$","APLGroup","all","aplGroupsSubscription","group","aplGroupRoles","groupRole","role","loadCategoriesPending","gr","information","aplGroupManagers","gm","aplProcedureTrainingCoordinators","aplCategoryManagers","cm","APLCategoriesWithPending","drop","from","to","reorder","dragIndex","APLCategoryApproval","APLCategoryEdit","APLCategoryDelete","APLCategoryCreate","aplCategory","createGroupPrivilege","userID","APLGroupCreate","labelAreYouSureYouWantToDelete","m","link","getCurrentURL","copy","info","fullPath","urlSegments","split","lastSegment","isNaN","Number","pop","pathWithoutLastSegment","APLCategoryService","Router","ActivatedRoute","Clipboard","AplCategoryV2CategoriesComponent_Template","AplCategoryV2CategoriesComponent_Template_mat_accordion_cdkDropListDropped_2_listener","AplCategoryV2CategoriesComponent_mat_expansion_panel_3_Template","APLGroupApprovalPopupComponent","AplCategoryV2GroupCardComponent_mat_icon_6_Template_mat_icon_click_0_listener","AplCategoryV2GroupCardComponent_button_10_Template_button_click_0_listener","_r2","AplCategoryV2GroupCardComponent_button_13_Template_button_click_0_listener","_r10","AplCategoryV2GroupCardComponent_button_14_Template_button_click_0_listener","_r12","openEditPopup","AplCategoryV2GroupCardComponent_button_15_Template_button_click_0_listener","deleteGroup","AplCategoryV2GroupCardComponent_div_38_div_1_Template_div_click_0_listener","note_r22","AplCategoryV2GroupCardComponent_div_38_div_26_label_5_Template","userRole_r20","notes","AplCategoryV2GroupCardComponent_div_38_div_1_Template","AplCategoryV2GroupCardComponent_div_38_div_26_Template","isGroupManager","isSuperAdmin","reorderable","aplGroup","groupRole_r15","ɵɵsanitizeUrl","relatedLinks","labelMembers","AplCategoryV2GroupCardComponent","aplGroupService","aplGroupCategoryManager","aplGroupApproval","aplGroupEdit","aplGroupDelete","aplCategories$","aplCategoriesSubscription","APLGroupApproval","APLGroupEdit","APLGroupDelete","groupStatus","categoryStatus","isPreviousGroupManager","previousVersion","isCategoryManager","isPreviousCategoryManager","maxHeight","rolesSelected","getPTCs","dropRole","reorderRole","labelGroupManagers","labelInfo","labelDescription","labelProcedureTrainingCoordinators","APLGroupService","AplCategoryV2GroupCardComponent_Template","AplCategoryV2GroupCardComponent_Template_mat_expansion_panel_opened_1_listener","AplCategoryV2GroupCardComponent_Template_mat_expansion_panel_closed_1_listener","AplCategoryV2GroupCardComponent_mat_icon_6_Template","AplCategoryV2GroupCardComponent_button_10_Template","AplCategoryV2GroupCardComponent_button_13_Template","AplCategoryV2GroupCardComponent_button_14_Template","AplCategoryV2GroupCardComponent_button_15_Template","AplCategoryV2GroupCardComponent_Template_div_cdkDropListDropped_37_listener","AplCategoryV2GroupCardComponent_div_38_Template","APLGroupCard","AplCategoryV2GroupsComponent_div_1_Template_apl_category_v2_group_card_loading_2_listener","isManager","aplGroup_r1","AplCategoryV2GroupsComponent","loadPendingGroups","aplGroupsPendingSubscription","loadGlobalGroups","aplGroupGlobal$","aplGroupGlobalSubscription","aplGroupsPending$","allPendingGlobal","aplGroupsPending","normalAplGroup","aplGroupMasterID","AplCategoryV2GroupsComponent_Template","AplCategoryV2GroupsComponent_Template_div_cdkDropListDropped_0_listener","AplCategoryV2GroupsComponent_div_1_Template","PendingCatalogType","AplCategoryV2ListComponent_mat_cell_4_span_2_Template","e_r4","AplCategoryV2ListComponent_mat_row_6_Template_mat_row_click_0_listener","_r8","row_r6","openCategory","AplCategoryV2ListComponent","catalog","paramMap","params","pendingCatalog","approvalType","APLGroups","pendingID","aplCategoryID","divElement","getElementById","scrollIntoView","behavior","CatalogService","AplCategoryV2ListComponent_Template","AplCategoryV2ListComponent_mat_header_cell_3_Template","AplCategoryV2ListComponent_mat_cell_4_Template","AplCategoryV2ListComponent_mat_header_row_5_Template","AplCategoryV2ListComponent_mat_row_6_Template","APLGroupRefresh","APLCategoryV2Component_button_12_Template_button_click_0_listener","APLCategoryV2Component_filter_box_19_Template_filter_box_changed_0_listener","APLCategoryV2Component_mat_list_item_24_Template_mat_list_item_click_0_listener","APLCategoryV2Component_mat_list_item_24_span_1_Template","loadingMessage","APLCategoryV2Component","labelTitle","labelFilter","labelCategories","APLCategoryV2Component_Template","APLCategoryV2Component_Template_button_click_3_listener","APLCategoryV2Component_button_12_Template","APLCategoryV2Component_Template_mat_sidenav_mouseenter_14_listener","APLCategoryV2Component_Template_mat_sidenav_mouseleave_14_listener","APLCategoryV2Component_mat_icon_18_Template","APLCategoryV2Component_filter_box_19_Template","APLCategoryV2Component_mat_list_item_24_Template","APLCategoryV2Component_Template_apl_category_v2_categories_loading_28_listener","APLCategoryV2Component_overlay_loading_30_Template","aplCategory_r2","APLCategoryAutocompleteComponent","aplCategoryIDChange","allAplCategories","filteredAplCategories","APLCategoryAutocompleteComponent_Template","APLCategoryAutocompleteComponent_Template_input_keyup_3_listener","APLCategoryAutocompleteComponent_Template_input_ngModelChange_3_listener","APLCategoryAutocompleteComponent_Template_mat_autocomplete_optionSelected_4_listener","APLCategoryAutocompleteComponent_mat_option_6_Template","_r0","aplGroup_r2","APLGroupAutocompleteComponent","aplGroupIDChange","aplGroup$","aplGroupSubscription","allAplGroups","filteredAplGroups","aplGroupID","APLGroupAutocompleteComponent_Template","APLGroupAutocompleteComponent_Template_input_keyup_3_listener","APLGroupAutocompleteComponent_Template_input_ngModelChange_3_listener","APLGroupAutocompleteComponent_Template_mat_autocomplete_optionSelected_4_listener","APLGroupAutocompleteComponent_mat_option_6_Template","RoleChipComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","roleRelated_r5","RoleChipComponent_mat_chip_row_6_mat_icon_2_Template","role_r9","RoleChipComponent","allRoles","availableRoles","filteredRoles","localSelectedRoles","loadRoles","setAvailableRoles","selectedRoles","roles$","rolesSubs","roleRelated","relatedId","roleIndex","roleInput","setValue","available","onRoleInputKeyup","RoleChipComponent_Query","RoleChipComponent_mat_chip_row_6_Template","RoleChipComponent_Template_input_keyup_7_listener","RoleChipComponent_Template_mat_autocomplete_optionSelected_9_listener","RoleChipComponent_mat_option_11_Template","UserChipComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","userRelated_r5","UserChipComponent_mat_chip_row_6_mat_icon_2_Template","user_r9","UserChipComponent","availableUsers","filteredUsers","allUsers","setAvailableUsers","userRelated","selectedUsers","algo","userInput","onUserInputKeyup","UserChipComponent_Query","UserChipComponent_mat_chip_row_6_Template","UserChipComponent_Template_input_keyup_7_listener","UserChipComponent_Template_mat_autocomplete_optionSelected_9_listener","UserChipComponent_mat_option_11_Template","MAT_DIALOG_DATA","APLCategoryApprovalPopupComponent_button_1_Template_button_click_0_listener","APLCategoryApprovalPopupComponent_div_7_Template_mat_slide_toggle_ngModelChange_3_listener","showPrevious","labelShowPrevious","APLCategoryApprovalPopupComponent_button_31_Template_button_click_0_listener","unSubmit","APLCategoryApprovalPopupParameters","disableApproveDisapprove","submitted","createdBy","labelCreateCategory","labelEditCategory","labelDeleteCategory","labelName","labelInitials","labelManagers","labelDisapprove","labelApprove","labelAreYouSureYouWantToApprove","labelAreYouSureYouWantToDisapprove","labelAreYouSureYouWantToUnsubmit","labelGeneralError","MatDialogRef","APLCategoryApprovalPopupComponent_Template","APLCategoryApprovalPopupComponent_button_1_Template","APLCategoryApprovalPopupComponent_mat_progress_bar_5_Template","APLCategoryApprovalPopupComponent_div_7_Template","APLCategoryApprovalPopupComponent_Template_input_ngModelChange_18_listener","APLCategoryApprovalPopupComponent_Template_input_ngModelChange_23_listener","APLCategoryApprovalPopupComponent_Template_user_chip_error_26_listener","APLCategoryApprovalPopupComponent_Template_button_click_29_listener","APLCategoryApprovalPopupComponent_Template_button_click_30_listener","APLCategoryApprovalPopupComponent_button_31_Template","APLCategoryPopupParameters","labelManager","labelCancel","labelAccept","submit","APLCategoryPopupComponent_Template","APLCategoryPopupComponent_Template_input_ngModelChange_9_listener","APLCategoryPopupComponent_Template_input_ngModelChange_14_listener","APLCategoryPopupComponent_Template_user_chip_error_17_listener","APLCategoryPopupComponent_Template_button_click_20_listener","APLCategoryPopupComponent_Template_button_click_21_listener","APLGroupApprovalPopupComponent_button_1_Template_button_click_0_listener","APLGroupApprovalPopupComponent_div_7_Template_mat_slide_toggle_ngModelChange_3_listener","APLGroupApprovalPopupComponent_button_38_Template_button_click_0_listener","APLGroupApprovalPopupParameters","labelDeleteGroup","labelCreateGroup","labelEditGroup","labelRoles","APLGroupApprovalPopupComponent_Template","APLGroupApprovalPopupComponent_button_1_Template","APLGroupApprovalPopupComponent_mat_progress_bar_5_Template","APLGroupApprovalPopupComponent_div_7_Template","APLGroupApprovalPopupComponent_Template_user_chip_error_25_listener","APLGroupApprovalPopupComponent_Template_role_chip_error_28_listener","APLGroupApprovalPopupComponent_Template_user_chip_error_31_listener","APLGroupApprovalPopupComponent_Template_button_click_34_listener","APLGroupApprovalPopupComponent_Template_button_click_36_listener","APLGroupApprovalPopupComponent_button_38_Template","tmp_11_0","tmp_13_0","tmp_16_0","tmp_18_0","tmp_21_0","tmp_23_0","APLGroupPopupParameters","aplGroupApprovalPrivilege","labelSelectImage","labelAreYouSureToDiscardChanges","imageLoaded","file","APLGroupPopupComponent_Template","APLGroupPopupComponent_mat_progress_bar_4_Template","APLGroupPopupComponent_Template_input_ngModelChange_11_listener","APLGroupPopupComponent_Template_comments_box_textChanged_14_listener","APLGroupPopupComponent_Template_user_chip_error_17_listener","APLGroupPopupComponent_Template_role_chip_error_20_listener","APLGroupPopupComponent_Template_user_chip_error_23_listener","APLGroupPopupComponent_Template_button_click_26_listener","APLGroupPopupComponent_Template_button_click_28_listener","tmp_12_0","readWithPending","fromID","toID","readAllPending","readPendingByAPLCategoryMasterID","PreloadAllModules","appRoutes","enableTracing","anchorScrolling","preloadingStrategy","APLCategoryRoleCatalog","APLCategoryMasterRoleCatalog","APLGroupMasterRoleCatalog","APLGroupRoleCatalog","APLGroupRoleRoleCatalog","APLCategoryRefresh","APLCategoryUpdate","APLCategoryRefreshByID","APLCategoryStateModel","APLCategoryState","APLCategoryActions","APLCategoryStoreAndListenersService","APLCATEGORY","APLGroupAllPendingRefresh","APLGroupRefreshByAPLCategoryMasterID","APLGroupUpdate","APLGroupStateModel","allPending","APLGroupState","refreshAllPending","refreshByAPLCategoryMasterID","AplGroupActions","AplGroupStoreAndListenersService","APLGROUP","Validators","DisapprovalReasonComponent","AcceleratorCatalog","AcceleratorCatalogDetails","Resource","CatalogModel","AcceleratorLocationComponent","element_r12","AcceleratorCatalogDetailsComponent_mat_header_cell_44_Template_mat_icon_click_1_listener","openAddLocationDialog","AcceleratorCatalogDetailsComponent_mat_cell_45_Template_mat_icon_click_1_listener","element_r15","openEditLocationDialog","AcceleratorCatalogDetailsComponent_mat_cell_45_Template_mat_icon_click_3_listener","deleteLocation","ɵɵpureFunction3","row_r19","isAdded","showModification","isDeleted","isModified","AcceleratorCatalogDetailsComponent_button_53_Template_button_click_0_listener","_r21","AcceleratorCatalogDetailsComponent_button_54_Template_button_click_0_listener","AcceleratorCatalogDetailsComponent_div_61_button_2_Template_button_click_0_listener","ctx_r30","AcceleratorCatalogDetailsComponent_div_61_button_3_Template_button_click_0_listener","_r33","AcceleratorCatalogDetailsComponent_div_61_button_5_Template_button_click_0_listener","modifyAccelerator","canModify","isEditing","AcceleratorCatalogDetailsComponent_div_61_button_6_Template_button_click_0_listener","_r37","ctx_r36","AcceleratorCatalogDetailsComponent_div_61_button_7_Template_button_click_0_listener","_r39","ctx_r38","AcceleratorCatalogDetailsComponent_div_61_button_8_Template_button_click_0_listener","_r41","ctx_r40","openAddDisapprovalDialog","AcceleratorCatalogDetailsComponent_div_61_button_2_Template","AcceleratorCatalogDetailsComponent_div_61_button_3_Template","AcceleratorCatalogDetailsComponent_div_61_button_5_Template","AcceleratorCatalogDetailsComponent_div_61_button_6_Template","AcceleratorCatalogDetailsComponent_div_61_button_7_Template","AcceleratorCatalogDetailsComponent_div_61_button_8_Template","canCancel","formGroup","isCreating","acceleratorCatalog","pendingDetails","pendingAcceleratorCatalog","canApprove","AcceleratorCatalogDetailsComponent_catalog_history_navigation_62_Template_catalog_history_navigation_selectedAccelerator_0_listener","_r43","ctx_r42","selectedHistory","acceleratorHistory","AcceleratorCatalogDetailsComponent","nameCtrl","desciptionCtrl","showCtrl","activeCtrl","restrictionsStore","catalogService","saved","changed","showModificationChanged","displayedColumnsLocations","shieldings","restrictionsCtrl","locationsCtrl","shieldingsCtrl","restrictionsSubs","resourcesSubs","initializeForm","loadResources","loadRestrictions","originalAccelerator","showHistory","getDetails","getHistory","restrictions$","Restrictions","restrictions","resources$","Resources","resources","IsWhiteSpaceReactiveForm","descriptionCtrl","disableControls","formGroupSubs","valueChanges","formValue","disable","markAsPristine","AcceleratorCatalogCreate","setValues","details","accelerator","pendingAccelerator","AcceleratorCatalogApprove","catalogModel","isValid","SaveAsDraft","alertError","Approve","disapprovalReason","Unapprove","isResourceRepeated","dataSourceLocation","addNewResource","locationsParent","list","resource","addExistingResource","ConfirmationDialog","setAcceleratorName","createNewResource","getDataFromRestriction","dataSourceRestriction","shieldingsChanged","dataSourceResource","AcceleratorLocation","dataToUpdate","resourceCreated","getColumns","checkboxVisible","locations","longShutdown","inTunnel","isRSSD","cssClass","parentResources","parentResource","parentResourceID","childResources","childResource","fields","f","checkAddedAndDeletedRows","childResourceID","childResourceType","childResourceName","restrictionsParent","oldAcceleratorName","getShieldings","getSubLocations","shielding","resourceID","subLocationNames","resourceRelations","locationIDs","locs","locationsIDs","JSONparse","rr","reset","toUpperCase","isInit","that","fieldName","r1","r2","restrictionLanguage","scf","rsswa","ebf","ppstb","locationID","l1","l2","s1","s2","keText","GetHistory","acceleratorCatalogs","h","userCreatedBy","statusByUser","statusBy","currentRestrictions","prevRestrictions","currentLocations","prevLocations","currentShieldings","prevShieldings","noDataFound","RestrictionsStoreAndListenersService","AcceleratorCatalogDetailsComponent_Template","AcceleratorCatalogDetailsComponent_Template_input_change_9_listener","AcceleratorCatalogDetailsComponent_Template_input_change_14_listener","AcceleratorCatalogDetailsComponent_Template_mat_slide_toggle_change_17_listener","AcceleratorCatalogDetailsComponent_Template_mat_slide_toggle_change_21_listener","AcceleratorCatalogDetailsComponent_Template_app_restriction_table_emitData_29_listener","AcceleratorCatalogDetailsComponent_mat_header_cell_41_Template","AcceleratorCatalogDetailsComponent_mat_cell_42_Template","AcceleratorCatalogDetailsComponent_mat_header_cell_44_Template","AcceleratorCatalogDetailsComponent_mat_cell_45_Template","AcceleratorCatalogDetailsComponent_mat_header_row_46_Template","AcceleratorCatalogDetailsComponent_mat_row_47_Template","AcceleratorCatalogDetailsComponent_button_53_Template","AcceleratorCatalogDetailsComponent_button_54_Template","AcceleratorCatalogDetailsComponent_Template_accelerator_shielding_changed_58_listener","AcceleratorCatalogDetailsComponent_div_59_Template","AcceleratorCatalogDetailsComponent_div_61_Template","AcceleratorCatalogDetailsComponent_catalog_history_navigation_62_Template","shielding_r13","shieldingCtrl","ketextCtrl","AcceleratorShieldingDialogComponent_mat_chip_row_25_Template_mat_chip_row_removed_0_listener","location_r14","removeLoc","location_r17","locationCtrl","AcceleratorShieldingDialogComponent","colorCtrl","inputData","shieldingKeText","shieldingColor","isAdding","subLocations","filterSubLocations","resourceRelationsSubs","shieldingInput","loadResourceRelations","SortBeamlines","shieldingsFiltered","resourceRelations$","ResourceRelations","pristine","selectedLoc","locationInput","subLocation","subLocationsFiltered","onLocChange","selectedColor","markAsDirty","AcceleratorShieldingDialogComponent_Query","AcceleratorShieldingDialogComponent_Template_input_keyup_9_listener","AcceleratorShieldingDialogComponent_Template_mat_autocomplete_optionSelected_11_listener","AcceleratorShieldingDialogComponent_mat_option_13_Template","AcceleratorShieldingDialogComponent_mat_error_14_Template","AcceleratorShieldingDialogComponent_Template_textarea_ngModelChange_18_listener","AcceleratorShieldingDialogComponent_mat_error_19_Template","AcceleratorShieldingDialogComponent_mat_chip_row_25_Template","AcceleratorShieldingDialogComponent_Template_input_keyup_26_listener","AcceleratorShieldingDialogComponent_Template_mat_autocomplete_optionSelected_29_listener","AcceleratorShieldingDialogComponent_mat_option_32_Template","AcceleratorShieldingDialogComponent_mat_error_33_Template","AcceleratorShieldingDialogComponent_Template_color_picker_selected_34_listener","AcceleratorShieldingDialogComponent_Template_button_click_37_listener","AcceleratorShieldingDialogComponent_Template_button_click_39_listener","AcceleratorShieldingComponent_mat_cell_7_mat_icon_1_Template","element_r23","element_r25","element_r26","AcceleratorShieldingComponent_mat_cell_16_Template_mat_slide_toggle_ngModelChange_1_listener","_r29","element_r27","AcceleratorShieldingComponent_mat_cell_16_Template_mat_slide_toggle_change_1_listener","longChanged","AcceleratorShieldingComponent_mat_cell_19_Template_mat_slide_toggle_ngModelChange_1_listener","element_r31","AcceleratorShieldingComponent_mat_cell_19_Template_mat_slide_toggle_change_1_listener","checkedChange","AcceleratorShieldingComponent_mat_cell_22_Template_mat_slide_toggle_ngModelChange_1_listener","element_r35","AcceleratorShieldingComponent_mat_cell_22_Template_mat_slide_toggle_change_1_listener","someChange","element_r39","element_r40","sharedWithNames","AcceleratorShieldingComponent_mat_cell_31_Template_mat_slide_toggle_ngModelChange_1_listener","element_r41","AcceleratorShieldingComponent_mat_cell_31_Template_mat_slide_toggle_change_1_listener","ctx_r44","AcceleratorShieldingComponent_mat_header_cell_33_Template_mat_icon_click_1_listener","_r46","ctx_r45","openAddShieldingDialog","AcceleratorShieldingComponent_mat_cell_34_Template_mat_icon_click_1_listener","_r49","element_r47","ctx_r48","openEditShieldingDialog","AcceleratorShieldingComponent_mat_cell_34_Template_mat_icon_click_3_listener","ctx_r50","deleteShielding","row_r51","AcceleratorShieldingComponent","createTableData","sharedWithLocations","getSharedWith","sharedWithParents","parentResourceType","Accelerator","parentResourceName","ordererShieldings","sharedWith","ls","reorderPositions","addPosition","getID","ID","older","newer","abs","showPrev","AcceleratorShieldingComponent_Template","AcceleratorShieldingComponent_Template_mat_table_cdkDropListDropped_3_listener","AcceleratorShieldingComponent_mat_header_cell_6_Template","AcceleratorShieldingComponent_mat_cell_7_Template","AcceleratorShieldingComponent_mat_header_cell_9_Template","AcceleratorShieldingComponent_mat_cell_10_Template","AcceleratorShieldingComponent_mat_header_cell_12_Template","AcceleratorShieldingComponent_mat_cell_13_Template","AcceleratorShieldingComponent_mat_header_cell_15_Template","AcceleratorShieldingComponent_mat_cell_16_Template","AcceleratorShieldingComponent_mat_header_cell_18_Template","AcceleratorShieldingComponent_mat_cell_19_Template","AcceleratorShieldingComponent_mat_header_cell_21_Template","AcceleratorShieldingComponent_mat_cell_22_Template","AcceleratorShieldingComponent_mat_header_cell_24_Template","AcceleratorShieldingComponent_mat_cell_25_Template","AcceleratorShieldingComponent_mat_header_cell_27_Template","AcceleratorShieldingComponent_mat_cell_28_Template","AcceleratorShieldingComponent_mat_header_cell_30_Template","AcceleratorShieldingComponent_mat_cell_31_Template","AcceleratorShieldingComponent_mat_header_cell_33_Template","AcceleratorShieldingComponent_mat_cell_34_Template","AcceleratorShieldingComponent_mat_header_row_35_Template","AcceleratorShieldingComponent_mat_row_36_Template","MatPaginator","ɵɵpureFunction4","element_r6","element_r7","actionName","AcceleratorCatalogListComponent_mat_cell_7_span_1_Template","AcceleratorCatalogListComponent_mat_cell_7_span_2_Template","AcceleratorCatalogListComponent_mat_row_9_Template_mat_row_click_0_listener","AcceleratorCatalogListComponent","displayedColumnsAccelerator","loadAccelerators","paginator","canCreate","GetJoinCreated","lastPendingAccelerator","showIndex","newID","Create","selectRow","createResource","filterValue","getColor","Modify","showElement","indexstr","rows","getAttribute","rect","AcceleratorCatalogListComponent_Query","AcceleratorCatalogListComponent_mat_header_cell_3_Template","AcceleratorCatalogListComponent_mat_cell_4_Template","AcceleratorCatalogListComponent_mat_header_cell_6_Template","AcceleratorCatalogListComponent_mat_cell_7_Template","AcceleratorCatalogListComponent_mat_header_row_8_Template","AcceleratorCatalogListComponent_mat_row_9_Template","statusOn","AcceleratorCatalogComponent_div_17_div_3_mat_slide_toggle_9_Template_mat_slide_toggle_ngModelChange_0_listener","AcceleratorCatalogComponent_div_17_div_3_span_1_Template","AcceleratorCatalogComponent_div_17_div_3_span_2_Template","AcceleratorCatalogComponent_div_17_div_3_mat_slide_toggle_9_Template","AcceleratorCatalogComponent_div_17_ng_template_1_Template","ɵɵtemplateRefExtractor","AcceleratorCatalogComponent_div_17_div_3_Template","AcceleratorCatalogComponent_filter_box_24_Template_filter_box_changed_0_listener","AcceleratorCatalogComponent_div_26_Template_app_accelerator_catalog_list_rowSelected_1_listener","AcceleratorCatalogComponent_div_26_Template_app_accelerator_catalog_list_loading_1_listener","AcceleratorCatalogComponent_mat_list_item_28_Template_mat_list_item_click_0_listener","history","AcceleratorCatalogComponent_mat_list_item_28_span_1_Template","AcceleratorCatalogComponent_mat_list_item_29_Template_mat_list_item_click_0_listener","AcceleratorCatalogComponent_mat_list_item_29_span_1_Template","AcceleratorCatalogComponent_mat_list_item_30_Template_mat_list_item_click_0_listener","_r32","AcceleratorCatalogComponent_mat_list_item_30_span_1_Template","AcceleratorCatalogComponent","refreshSaved","acceleratorCatalogList","originalAcceleratorCatalog","AcceleratorCatalogComponent_Query","AcceleratorCatalogComponent_Template_button_click_3_listener","AcceleratorCatalogComponent_span_15_Template","AcceleratorCatalogComponent_span_16_Template","AcceleratorCatalogComponent_div_17_Template","AcceleratorCatalogComponent_Template_mat_sidenav_mouseenter_19_listener","AcceleratorCatalogComponent_Template_mat_sidenav_mouseleave_19_listener","AcceleratorCatalogComponent_mat_icon_23_Template","AcceleratorCatalogComponent_filter_box_24_Template","AcceleratorCatalogComponent_div_26_Template","AcceleratorCatalogComponent_mat_list_item_28_Template","AcceleratorCatalogComponent_mat_list_item_29_Template","AcceleratorCatalogComponent_mat_list_item_30_Template","AcceleratorCatalogComponent_Template_app_accelerator_catalog_details_loading_34_listener","AcceleratorCatalogComponent_Template_app_accelerator_catalog_details_saved_34_listener","AcceleratorCatalogComponent_Template_app_accelerator_catalog_details_showModificationChanged_34_listener","AcceleratorCatalogComponent_overlay_loading_35_Template","PendingResourcesRefresh","pendingResourcesSubs","locationToSend","oldLocationName","resourcesFiltered","add","AcceleratorLocationComponent_Template","AcceleratorLocationComponent_Template_input_ngModelChange_8_listener","AcceleratorLocationComponent_Template_button_click_11_listener","AcceleratorLocationComponent_Template_button_click_13_listener","BeamlineShutterRelation","ResourcesListNewComponent","BeamlineCatalogComponent_a_20_Template_a_click_0_listener","link_r21","onTabChanged","links","selectedTab","detailResourceUsers","updateUserName","approverUserName","BeamlineCatalogComponent_ng_template_25_div_0_Template","beamlineShutter","BeamlineCatalogComponent_div_27_mat_slide_toggle_9_Template_mat_slide_toggle_ngModelChange_0_listener","showChanges","BeamlineCatalogComponent_div_27_mat_slide_toggle_9_Template_mat_slide_toggle_change_0_listener","changeShow","BeamlineCatalogComponent_div_27_span_2_Template","BeamlineCatalogComponent_div_27_mat_slide_toggle_9_Template","pendingResource","toggleVisible","BeamlineCatalogComponent_filter_box_34_Template_filter_box_changed_0_listener","BeamlineCatalogComponent_mat_list_item_39_Template_mat_list_item_click_0_listener","_r34","BeamlineCatalogComponent_mat_list_item_39_span_1_Template","BeamlineCatalogComponent_mat_list_item_40_Template_mat_list_item_click_0_listener","BeamlineCatalogComponent_mat_list_item_40_span_1_Template","BeamlineCatalogComponent_mat_list_item_41_Template_mat_list_item_click_0_listener","_r40","ctx_r39","BeamlineCatalogComponent_mat_list_item_41_span_1_Template","BeamlineCatalogComponent_mat_list_item_42_Template_mat_list_item_click_0_listener","ɵɵreference","BeamlineCatalogComponent_mat_list_item_42_span_1_Template","BeamlineCatalogComponent_mat_list_item_43_Template_mat_list_item_click_0_listener","BeamlineCatalogComponent_mat_list_item_43_span_1_Template","BeamlineCatalogComponent_mat_list_item_44_Template_mat_list_item_click_0_listener","recreate","BeamlineCatalogComponent_mat_list_item_44_span_1_Template","BeamlineCatalogComponent_mat_list_item_45_Template_mat_list_item_click_0_listener","_r52","BeamlineCatalogComponent_mat_list_item_45_span_1_Template","BeamlineCatalogComponent_mat_list_item_46_Template_mat_list_item_click_0_listener","_r55","approveVersion","BeamlineCatalogComponent_mat_list_item_46_span_1_Template","BeamlineCatalogComponent_app_resource_details_new_49_Template_app_resource_details_new_loading_0_listener","_r57","ctx_r56","Details","BeamlineCatalogComponent_app_resource_details_new_49_Template_app_resource_details_new_cancelAdd_0_listener","ctx_r58","BeamlineCatalogComponent_rss_test_database_50_Template_rss_test_database_loading_0_listener","_r61","ctx_r60","RSSDb","BeamlineCatalogComponent","_route","privileges","checkPrivileges","loadBeamlineShutterRelations","tab","snapshot","queryParams","setShowChanges","setUpdaterAndApprovalNames","beamlineId","beamlineShutterRelations$","BeamlineShutter","beamlineShutterRelationsSubs","beamlineShutterRelations","pendingResources","BeamlineCatalog","beamlineName","beamlineStatus","ADM","Both","Rss_Database","originalBeamlineShutterRelation","KEBuilder","GetPendingResourcesUsersByResourceId","PendingResourceUsers","approverId","updateById","BeamlineCatalogComponent_Query","BeamlineCatalogComponent_Template_button_click_3_listener","BeamlineCatalogComponent_a_20_Template","BeamlineCatalogComponent_ng_template_25_Template","BeamlineCatalogComponent_div_27_Template","BeamlineCatalogComponent_Template_mat_sidenav_mouseenter_29_listener","BeamlineCatalogComponent_Template_mat_sidenav_mouseleave_29_listener","BeamlineCatalogComponent_mat_icon_33_Template","BeamlineCatalogComponent_filter_box_34_Template","BeamlineCatalogComponent_Template_resources_list_new_selectedRow_37_listener","BeamlineCatalogComponent_Template_resources_list_new_loading_37_listener","BeamlineCatalogComponent_mat_list_item_39_Template","BeamlineCatalogComponent_mat_list_item_40_Template","BeamlineCatalogComponent_mat_list_item_41_Template","BeamlineCatalogComponent_mat_list_item_42_Template","BeamlineCatalogComponent_mat_list_item_43_Template","BeamlineCatalogComponent_mat_list_item_44_Template","BeamlineCatalogComponent_mat_list_item_45_Template","BeamlineCatalogComponent_mat_list_item_46_Template","BeamlineCatalogComponent_app_resource_details_new_49_Template","BeamlineCatalogComponent_rss_test_database_50_Template","BeamlineCatalogComponent_Template_ke_checklist_builder_loading_51_listener","BeamlineCatalogComponent_overlay_loading_53_Template","_c6","createAllowed","approveAllowed","_c7","LinkComponent","Link","element_r11","webAddress","hyperlink","ResourceLinkRelationComponent_mat_cell_11_a_1_Template","ResourceLinkRelationComponent_mat_cell_11_a_2_Template","element_r16","ResourceLinkRelationComponent_mat_header_cell_16_Template_mat_icon_click_1_listener","openAddLinkDialog","ResourceLinkRelationComponent_mat_cell_17_Template_mat_icon_click_1_listener","element_r19","openEditLinkDialog","ResourceLinkRelationComponent_mat_cell_17_Template_mat_icon_click_3_listener","deleteLink","ResourceLinkRelationComponent_mat_header_cell_19_mat_slide_toggle_1_Template_mat_slide_toggle_ngModelChange_0_listener","ResourceLinkRelationComponent_mat_header_cell_19_mat_slide_toggle_1_Template_mat_slide_toggle_change_0_listener","changesLinks","ResourceLinkRelationComponent_mat_header_cell_19_mat_slide_toggle_1_Template","row_r28","ResourceLinkRelationComponent","resourceService","displayedColumnsLink","dataSourceLink","currentValue","addShowChanges","removeColumnOfDisplayColumns","linkChanges","changesAvailable","resourceId","typeLink","getLinkChangesByResourceId","dialogTitle","linkType","displayColumn","columnRemove","isEdition","componentTitle","ResourceLinkRelationComponent_Template","ResourceLinkRelationComponent_mat_header_cell_10_Template","ResourceLinkRelationComponent_mat_cell_11_Template","ResourceLinkRelationComponent_mat_header_cell_13_Template","ResourceLinkRelationComponent_mat_cell_14_Template","ResourceLinkRelationComponent_mat_header_cell_16_Template","ResourceLinkRelationComponent_mat_cell_17_Template","ResourceLinkRelationComponent_mat_header_cell_19_Template","ResourceLinkRelationComponent_mat_cell_20_Template","ResourceLinkRelationComponent_mat_header_row_21_Template","ResourceLinkRelationComponent_mat_row_22_Template","ResourceUserRelationComponent","ResourceUserRelation","userTitle","joinEndstations","element_r13","joinBranchlines","ResourceUserRelationTableComponent_mat_header_cell_13_Template_mat_icon_click_1_listener","openAddResourceUserRelation","ResourceUserRelationTableComponent_mat_cell_14_Template_mat_icon_click_1_listener","elementIndex_r17","openEditResourceUserRelation","ResourceUserRelationTableComponent_mat_cell_14_Template_mat_icon_click_3_listener","deleteResourceUserRelatio","row_r21","ResourceUserRelationTableComponent","displayedColumnsResourceUserRelation","dataSourceResourceUserRelation","checkModified","curr","prev","q","endstation","branchline","resourceUserRelations","usersIds","Array","Set","d","userId","userRelations","endstations","n","branchlines","resourceUserRelation","roleTitle","roleSelected","isUserRepeated","addResourceUserRelation","dataJoin","resourceUserRlations","endstationsList","branchlinesList","updateResourceUserRelations","dataSourceRUR","RURToUpdate","hilite","ResourceUserRelationTableComponent_Template","ResourceUserRelationTableComponent_mat_header_cell_4_Template","ResourceUserRelationTableComponent_mat_cell_5_Template","ResourceUserRelationTableComponent_mat_header_cell_7_Template","ResourceUserRelationTableComponent_mat_cell_8_Template","ResourceUserRelationTableComponent_mat_header_cell_10_Template","ResourceUserRelationTableComponent_mat_cell_11_Template","ResourceUserRelationTableComponent_mat_header_cell_13_Template","ResourceUserRelationTableComponent_mat_cell_14_Template","ResourceUserRelationTableComponent_mat_header_row_15_Template","ResourceUserRelationTableComponent_mat_row_16_Template","UserRelation","Restriction","RestrictionComponent","element_r17","RestrictionTableComponent_mat_cell_10_Template_mat_checkbox_ngModelChange_1_listener","element_r18","RestrictionTableComponent_mat_cell_10_Template_mat_checkbox_change_1_listener","emitData","RestrictionTableComponent_mat_cell_13_Template_mat_checkbox_ngModelChange_1_listener","_r24","element_r22","RestrictionTableComponent_mat_cell_13_Template_mat_checkbox_change_1_listener","RestrictionTableComponent_mat_cell_16_Template_mat_checkbox_ngModelChange_1_listener","RestrictionTableComponent_mat_cell_16_Template_mat_checkbox_change_1_listener","RestrictionTableComponent_mat_cell_19_Template_mat_checkbox_ngModelChange_1_listener","element_r30","RestrictionTableComponent_mat_cell_19_Template_mat_checkbox_change_1_listener","element_r34","RestrictionTableComponent_mat_header_cell_24_Template_mat_icon_click_1_listener","_r36","ctx_r35","openAddRestrictionDialog","RestrictionTableComponent_mat_cell_25_Template_mat_icon_click_1_listener","element_r37","openEditRestrictionDialog","RestrictionTableComponent_mat_cell_25_Template_mat_icon_click_3_listener","deleteRestriction","row_r41","RestrictionTableComponent","_catalogService","displayedColumnsRestrictions","shutter","dataSourceBranchline","restriction","accelerators","dataSourceAcc","addRestriction","isEditionChild","restrictionsChild","branchlinesChild","shutterChild","RestrictionTableComponent_Template","RestrictionTableComponent_mat_header_cell_6_Template","RestrictionTableComponent_mat_cell_7_Template","RestrictionTableComponent_mat_header_cell_9_Template","RestrictionTableComponent_mat_cell_10_Template","RestrictionTableComponent_mat_header_cell_12_Template","RestrictionTableComponent_mat_cell_13_Template","RestrictionTableComponent_mat_header_cell_15_Template","RestrictionTableComponent_mat_cell_16_Template","RestrictionTableComponent_mat_header_cell_18_Template","RestrictionTableComponent_mat_cell_19_Template","RestrictionTableComponent_mat_header_cell_21_Template","RestrictionTableComponent_mat_cell_22_Template","RestrictionTableComponent_mat_header_cell_24_Template","RestrictionTableComponent_mat_cell_25_Template","RestrictionTableComponent_mat_header_row_26_Template","RestrictionTableComponent_mat_row_27_Template","BranchlineComponent","branchlineName","oldBranchline","isSaving","isRepeated","IsFieldRepeatedResource","Branchline","BranchlineComponent_Template","BranchlineComponent_Template_input_ngModelChange_8_listener","BranchlineComponent_Template_button_click_11_listener","BranchlineComponent_Template_button_click_13_listener","absiType_r1","EndstationComponent","endstationName","oldEndstation","absiTypes","absiType","absiTemplateTypeID","Endstation","absiTypeChange","absiTypeSelected","absiTemplateName","EndstationComponent_Template","EndstationComponent_Template_input_ngModelChange_8_listener","EndstationComponent_Template_mat_select_valueChange_12_listener","EndstationComponent_Template_mat_select_selectionChange_12_listener","EndstationComponent_mat_option_13_Template","EndstationComponent_Template_button_click_16_listener","EndstationComponent_Template_button_click_18_listener","FastValveSensorComponent","fvsName","fvsKeText","FastValveSensorComponent_Template","FastValveSensorComponent_Template_input_ngModelChange_8_listener","FastValveSensorComponent_Template_textarea_ngModelChange_12_listener","FastValveSensorComponent_Template_button_click_15_listener","FastValveSensorComponent_Template_button_click_17_listener","link_r2","LinkComponent_div_6_Template_mat_select_ngModelChange_5_listener","linkSelected","LinkComponent_div_6_mat_option_6_Template","linkTypes","urlRegex","RegExp","typeAvailable","getLinkTypes","linkTypes$","LinkTypes","substr","test","LinkComponent_Template","LinkComponent_div_6_Template","LinkComponent_Template_textarea_ngModelChange_12_listener","LinkComponent_Template_textarea_ngModelChange_19_listener","LinkComponent_Template_button_click_24_listener","LinkComponent_Template_button_click_27_listener","NoteComponent","note","noteName","NoteComponent_Template","NoteComponent_Template_textarea_ngModelChange_11_listener","NoteComponent_Template_button_click_16_listener","NoteComponent_Template_button_click_19_listener","organization_r4","endstation_r5","branchline_r6","OrganizationComponent","organizationService","loadOrganizations","resourceOrganization","organization","Read","organizations","organizationsFiltered","displayOrganizationName","compareResource","resource1","resource2","organizationSelected","toLocaleLowerCase","OrganizationService","OrganizationComponent_Template","OrganizationComponent_Template_input_ngModelChange_8_listener","OrganizationComponent_Template_input_keyup_8_listener","OrganizationComponent_mat_option_11_Template","OrganizationComponent_Template_mat_select_ngModelChange_15_listener","OrganizationComponent_mat_option_16_Template","OrganizationComponent_Template_mat_select_ngModelChange_20_listener","OrganizationComponent_mat_option_21_Template","OrganizationComponent_Template_button_click_24_listener","OrganizationComponent_Template_button_click_26_listener","retry","supervisor_r3","endstation_r4","branchline_r5","userRoleService","supervisorsRole","resourceUserRelationToSend","endstationListSelected","branchlineListSelected","userSelected","endstationSelected","branchlineSelected","dataToSend","endSelected","brSelected","getInfoEndstations","getInfoBranchlines","branchines","UserRoleService","ResourceUserRelationComponent_Template","ResourceUserRelationComponent_Template_mat_select_ngModelChange_8_listener","ResourceUserRelationComponent_mat_option_9_Template","ResourceUserRelationComponent_Template_mat_select_ngModelChange_13_listener","ResourceUserRelationComponent_Template_mat_select_selectionChange_13_listener","ResourceUserRelationComponent_mat_option_14_Template","ResourceUserRelationComponent_Template_mat_select_valueChange_18_listener","ResourceUserRelationComponent_Template_mat_select_selectionChange_18_listener","ResourceUserRelationComponent_mat_option_19_Template","ResourceUserRelationComponent_Template_button_click_22_listener","ResourceUserRelationComponent_Template_button_click_24_listener","appliesTo_r1","idAux","appliesToList","acceleratorList","appliesToSelected","appliesToSend","getInfoAppliesTo","appliesToSelectedId","RestrictionComponent_Template","RestrictionComponent_Template_textarea_ngModelChange_8_listener","RestrictionComponent_Template_mat_select_ngModelChange_12_listener","RestrictionComponent_Template_mat_select_selectionChange_12_listener","RestrictionComponent_mat_option_13_Template","RestrictionComponent_Template_button_click_16_listener","RestrictionComponent_Template_button_click_18_listener","ShieldingComponent_mat_option_11_Template_mat_option_onSelectionChange_0_listener","shielding_r2","getInfoShielding","ShieldingComponent","checkIsRepeated","shieldingId","shieldingName","shieldingSharedWith","oldShielding","resourceRelationsFiltered","Shutter","ShieldingComponent_Template","ShieldingComponent_Template_input_ngModelChange_8_listener","ShieldingComponent_Template_input_keyup_8_listener","ShieldingComponent_mat_option_11_Template","ShieldingComponent_Template_textarea_ngModelChange_15_listener","ShieldingComponent_Template_button_click_18_listener","ShieldingComponent_Template_button_click_20_listener","PVRefresh","VacuumComponent_mat_option_11_Template_mat_option_onSelectionChange_0_listener","vacuum_r4","getInfoVacuum","vacuumCtrl","VacuumComponent","pvService","vacuumId","vacuumName","vacuumMinPressure","MinPressureString","vacuumMaxPressure","MaxPressureString","vacuumChannelName","channelName","vacuumLocation","vacuumSharedWith","oldVacuum","loadPVs","vacuums","Vacuum","vacuumsFiltered","pVs$","PV","pVsSubs","pVs","pvName","formatValue","vacuum","keVacuumMinRequirement","keVacuumMaxRequirement","stripSpaces","formatSciNotation","RemoveInfo","numberString","toPrecision","changeFormatMin","changeFormatMax","ClImageUploadTableDataService","PVInfoService","VacuumComponent_Template","VacuumComponent_Template_input_ngModelChange_8_listener","VacuumComponent_Template_input_keyup_8_listener","VacuumComponent_Template_input_blur_8_listener","VacuumComponent_mat_option_11_Template","VacuumComponent_Template_input_ngModelChange_15_listener","VacuumComponent_Template_input_blur_15_listener","VacuumComponent_Template_input_ngModelChange_19_listener","VacuumComponent_Template_input_blur_19_listener","VacuumComponent_Template_input_ngModelChange_23_listener","VacuumComponent_Template_input_change_23_listener","VacuumComponent_span_24_Template","VacuumComponent_mat_error_25_Template","VacuumComponent_Template_input_ngModelChange_29_listener","VacuumComponent_Template_button_click_32_listener","VacuumComponent_Template_button_click_34_listener","Note","ResourceSummary","ResourceOrganization","ResourceDetailsNewComponent_mat_form_field_9_Template_input_ngModelChange_3_listener","_r59","ResourceDetailsNewComponent_mat_form_field_9_Template_input_change_3_listener","setShutterSelected","modifying","ResourceDetailsNewComponent_mat_form_field_11_Template_input_ngModelChange_3_listener","_r62","ctx_r61","beamline","ResourceDetailsNewComponent_mat_form_field_11_Template_input_change_3_listener","ctx_r63","ctx_r66","rssCtrl","ResourceDetailsNewComponent_form_12_mat_form_field_3_Template_input_ngModelChange_3_listener","_r68","ctx_r67","rssChannelName","ResourceDetailsNewComponent_form_12_mat_form_field_3_Template_input_change_3_listener","ctx_r69","validateChannel","ResourceDetailsNewComponent_form_12_mat_form_field_3_mat_error_4_Template","ctx_r64","ctx_r70","pssCtrl","ResourceDetailsNewComponent_form_12_mat_form_field_7_Template_input_ngModelChange_3_listener","_r72","ctx_r71","pssChannelName","ResourceDetailsNewComponent_form_12_mat_form_field_7_Template_input_change_3_listener","ctx_r73","ResourceDetailsNewComponent_form_12_mat_form_field_7_mat_error_4_Template","ctx_r65","ResourceDetailsNewComponent_form_12_mat_form_field_3_Template","ResourceDetailsNewComponent_form_12_mat_form_field_7_Template","rssValue","pssValue","ResourceDetailsNewComponent_mat_form_field_15_Template_input_ngModelChange_3_listener","_r75","ctx_r74","ResourceDetailsNewComponent_mat_form_field_15_Template_input_change_3_listener","ctx_r76","ResourceDetailsNewComponent_mat_form_field_17_Template_input_ngModelChange_3_listener","_r78","ctx_r77","beamLineExtension","ResourceDetailsNewComponent_mat_form_field_17_Template_input_change_3_listener","ctx_r79","status_r81","ResourceDetailsNewComponent_div_19_Template_mat_radio_group_ngModelChange_4_listener","_r83","ctx_r82","statusResourceId","ResourceDetailsNewComponent_div_19_Template_mat_radio_group_change_4_listener","ctx_r84","ResourceDetailsNewComponent_div_19_mat_radio_button_5_Template","resourceStatuses","element_r85","element_r86","ResourceDetailsNewComponent_mat_header_cell_40_Template_mat_icon_click_1_listener","_r88","ctx_r87","openAddEndstationDialog","ResourceDetailsNewComponent_mat_cell_41_Template_mat_icon_click_1_listener","_r92","element_r89","elementIndex_r90","ctx_r91","openEditEndstationDialog","ResourceDetailsNewComponent_mat_cell_41_Template_mat_icon_click_3_listener","ctx_r93","deleteEndstation","row_r94","element_r95","ResourceDetailsNewComponent_mat_header_cell_57_Template_mat_icon_click_1_listener","_r97","ctx_r96","openAddBranchlineDialog","ResourceDetailsNewComponent_mat_cell_58_Template_mat_icon_click_1_listener","_r101","element_r98","elementIndex_r99","ctx_r100","openEditBranchlineDialog","ResourceDetailsNewComponent_mat_cell_58_Template_mat_icon_click_3_listener","ctx_r102","deleteBranchline","row_r103","ResourceDetailsNewComponent_div_61_Template_app_restriction_table_emitData_5_listener","_r105","ctx_r104","branchlineParent","element_r106","ResourceDetailsNewComponent_mat_header_cell_76_Template_mat_slide_toggle_ngModelChange_1_listener","_r108","ctx_r107","showChangesTOCA","ResourceDetailsNewComponent_mat_header_cell_76_Template_mat_slide_toggle_change_1_listener","ctx_r109","onShowChangesTOCA","row_r111","element_r129","element_r130","element_r131","ResourceDetailsNewComponent_div_80_mat_cell_21_Template_mat_slide_toggle_ngModelChange_1_listener","_r134","element_r132","ResourceDetailsNewComponent_div_80_mat_cell_21_Template_mat_slide_toggle_toggleChange_1_listener","ctx_r135","ctx_r120","element_r136","ResourceDetailsNewComponent_div_80_mat_cell_27_Template_mat_slide_toggle_ngModelChange_1_listener","_r139","element_r137","ResourceDetailsNewComponent_div_80_mat_cell_27_Template_mat_slide_toggle_toggleChange_1_listener","ctx_r140","ctx_r124","ResourceDetailsNewComponent_div_80_mat_header_cell_29_Template_mat_icon_click_1_listener","_r142","ctx_r141","ResourceDetailsNewComponent_div_80_mat_cell_30_Template_mat_icon_click_1_listener","_r145","element_r143","ctx_r144","ResourceDetailsNewComponent_div_80_mat_cell_30_Template_mat_icon_click_3_listener","ctx_r146","row_r147","ResourceDetailsNewComponent_div_80_Template_mat_table_cdkDropListDropped_8_listener","_r149","ctx_r148","dataSourceShielding","ResourceDetailsNewComponent_div_80_mat_header_cell_11_Template","ResourceDetailsNewComponent_div_80_mat_cell_12_Template","ResourceDetailsNewComponent_div_80_mat_header_cell_14_Template","ResourceDetailsNewComponent_div_80_mat_cell_15_Template","ResourceDetailsNewComponent_div_80_mat_header_cell_17_Template","ResourceDetailsNewComponent_div_80_mat_cell_18_Template","ResourceDetailsNewComponent_div_80_mat_header_cell_20_Template","ResourceDetailsNewComponent_div_80_mat_cell_21_Template","ResourceDetailsNewComponent_div_80_mat_header_cell_23_Template","ResourceDetailsNewComponent_div_80_mat_cell_24_Template","ResourceDetailsNewComponent_div_80_mat_header_cell_26_Template","ResourceDetailsNewComponent_div_80_mat_cell_27_Template","ResourceDetailsNewComponent_div_80_mat_header_cell_29_Template","ResourceDetailsNewComponent_div_80_mat_cell_30_Template","ResourceDetailsNewComponent_div_80_mat_header_row_31_Template","ResourceDetailsNewComponent_div_80_mat_row_32_Template","resourceType","element_r169","element_r170","element_r171","element_r172","element_r173","element_r174","element_r175","ResourceDetailsNewComponent_div_81_mat_header_cell_32_Template_mat_icon_click_1_listener","_r177","ctx_r176","openAddVacuumDialog","ResourceDetailsNewComponent_div_81_mat_cell_33_Template_mat_icon_click_1_listener","_r180","element_r178","ctx_r179","openEditVacuumDialog","ResourceDetailsNewComponent_div_81_mat_cell_33_Template_mat_icon_click_3_listener","ctx_r181","deleteVacuum","row_r182","ResourceDetailsNewComponent_div_81_Template_mat_table_cdkDropListDropped_8_listener","_r184","ctx_r183","dataSourceVacuum","ResourceDetailsNewComponent_div_81_mat_header_cell_11_Template","ResourceDetailsNewComponent_div_81_mat_cell_12_Template","ResourceDetailsNewComponent_div_81_mat_header_cell_14_Template","ResourceDetailsNewComponent_div_81_mat_cell_15_Template","ResourceDetailsNewComponent_div_81_mat_header_cell_17_Template","ResourceDetailsNewComponent_div_81_mat_cell_18_Template","ResourceDetailsNewComponent_div_81_mat_header_cell_20_Template","ResourceDetailsNewComponent_div_81_mat_cell_21_Template","ResourceDetailsNewComponent_div_81_mat_header_cell_23_Template","ResourceDetailsNewComponent_div_81_mat_cell_24_Template","ResourceDetailsNewComponent_div_81_mat_header_cell_26_Template","ResourceDetailsNewComponent_div_81_mat_cell_27_Template","ResourceDetailsNewComponent_div_81_mat_header_cell_29_Template","ResourceDetailsNewComponent_div_81_mat_cell_30_Template","ResourceDetailsNewComponent_div_81_mat_header_cell_32_Template","ResourceDetailsNewComponent_div_81_mat_cell_33_Template","ResourceDetailsNewComponent_div_81_mat_header_row_34_Template","ResourceDetailsNewComponent_div_81_mat_row_35_Template","element_r185","element_r186","element_r187","ResourceDetailsNewComponent_mat_header_cell_101_Template_mat_icon_click_1_listener","_r189","ctx_r188","openAddOrganizationDialog","ResourceDetailsNewComponent_mat_cell_102_Template_mat_icon_click_1_listener","_r193","element_r190","elementIndex_r191","ctx_r192","openEditOrganizationDialog","ResourceDetailsNewComponent_mat_cell_102_Template_mat_icon_click_3_listener","ctx_r194","deleteOrganization","row_r195","element_r196","ResourceDetailsNewComponent_mat_header_cell_139_Template_mat_icon_click_1_listener","_r198","ctx_r197","openAddNoteDialog","ResourceDetailsNewComponent_mat_cell_140_Template_mat_icon_click_1_listener","_r201","element_r199","ctx_r200","openEditNoteDialog","ResourceDetailsNewComponent_mat_cell_140_Template_mat_icon_click_3_listener","ctx_r202","deleteNote","row_r203","ResourceDetailsNewComponent_div_150_Template_app_resource_link_relation_changed_1_listener","_r205","ctx_r204","ctx_r52","dataSourceOtherLinks","ResourceDetailsNewComponent_div_151_mat_form_field_2_Template_input_ngModelChange_3_listener","_r209","ctx_r208","rssRackLocation","ResourceDetailsNewComponent_div_151_mat_form_field_2_Template_input_change_3_listener","ctx_r210","ctx_r206","ResourceDetailsNewComponent_div_151_mat_form_field_4_Template_input_ngModelChange_3_listener","_r212","ctx_r211","epsRackLocation","ResourceDetailsNewComponent_div_151_mat_form_field_4_Template_input_change_3_listener","ctx_r213","ctx_r207","ResourceDetailsNewComponent_div_151_mat_form_field_2_Template","ResourceDetailsNewComponent_div_151_mat_form_field_4_Template","ctx_r53","element_r225","element_r226","element_r227","ResourceDetailsNewComponent_div_152_mat_header_cell_20_Template_mat_icon_click_1_listener","_r229","ctx_r228","openAddFastValveSensorDialog","ResourceDetailsNewComponent_div_152_mat_cell_21_Template_mat_icon_click_1_listener","_r232","element_r230","ctx_r231","openEditFastValveSensorDialog","ResourceDetailsNewComponent_div_152_mat_cell_21_Template_mat_icon_click_3_listener","ctx_r233","deleteFastValveSensor","row_r234","ResourceDetailsNewComponent_div_152_Template_mat_table_cdkDropListDropped_8_listener","_r236","ctx_r235","dataSourceFastValveSensor","ResourceDetailsNewComponent_div_152_mat_header_cell_11_Template","ResourceDetailsNewComponent_div_152_mat_cell_12_Template","ResourceDetailsNewComponent_div_152_mat_header_cell_14_Template","ResourceDetailsNewComponent_div_152_mat_cell_15_Template","ResourceDetailsNewComponent_div_152_mat_header_cell_17_Template","ResourceDetailsNewComponent_div_152_mat_cell_18_Template","ResourceDetailsNewComponent_div_152_mat_header_cell_20_Template","ResourceDetailsNewComponent_div_152_mat_cell_21_Template","ResourceDetailsNewComponent_div_152_mat_header_row_22_Template","ResourceDetailsNewComponent_div_152_mat_row_23_Template","ctx_r54","FastValveSensor","ResourceDetailsNewComponent_div_153_mat_form_field_2_Template_input_ngModelChange_3_listener","_r240","ctx_r239","fvsemLocation","ResourceDetailsNewComponent_div_153_mat_form_field_2_Template_input_change_3_listener","ctx_r241","ctx_r237","ResourceDetailsNewComponent_div_153_mat_form_field_4_Template_input_ngModelChange_3_listener","_r243","ctx_r242","drawingPostLocation","ResourceDetailsNewComponent_div_153_mat_form_field_4_Template_input_change_3_listener","ctx_r244","ctx_r238","ResourceDetailsNewComponent_div_153_mat_form_field_2_Template","ResourceDetailsNewComponent_div_153_mat_form_field_4_Template","ctx_r55","ResourceDetailsNewComponent_div_155_button_2_Template_button_click_0_listener","_r252","ctx_r251","cancelChanges","ResourceDetailsNewComponent_div_155_button_3_Template_button_click_0_listener","_r254","ctx_r253","ctx_r246","ResourceDetailsNewComponent_div_155_button_5_Template_button_click_0_listener","_r256","ctx_r255","modifyResource","ResourceDetailsNewComponent_div_155_button_6_Template_button_click_0_listener","_r258","ctx_r257","saveResource","ctx_r248","ResourceDetailsNewComponent_div_155_button_7_Template_button_click_0_listener","_r260","ctx_r259","ResourceDetailsNewComponent_div_155_button_8_Template_button_click_0_listener","_r262","ctx_r261","ResourceDetailsNewComponent_div_155_button_2_Template","ResourceDetailsNewComponent_div_155_button_3_Template","ResourceDetailsNewComponent_div_155_button_5_Template","ResourceDetailsNewComponent_div_155_button_6_Template","ResourceDetailsNewComponent_div_155_button_7_Template","ResourceDetailsNewComponent_div_155_button_8_Template","showCancelButton","deleting","showModifyButton","showApproveDisapprove","ResourceDetailsNewComponent_catalog_history_navigation_156_Template_catalog_history_navigation_selectedBeamline_0_listener","_r264","ctx_r263","ctx_r57","beamlineHistory","ResourceDetailsNewComponent","keBuilder","updateKE","cancelAdd","displayedColumnsShielding","displayedColumnsVacuum","displayedColumnsOrganization","displayedColumnsNote","displayedColumnsEndStation","displayedColumnsBranchline","displayedColumnsFastValveSensor","displayedColumnsTOCA","dataSourceOrganization","dataSourceSupervisor","dataSourceScientist","dataSourceAlternateScientist","dataSourceNote","dataSourceEndStation","dataSourceMEDrawing","dataSourceAPPhaseSpace","dataSourceSASurvey","dataSourceTOCA","gettingRS","oldShutterName","shutterName","oldBeamlineName","getResourceSummary","showPrevResource","currentResourceSummary","getResourceSummaryByBeamline","GetPendingCatalogById","resourceSummary","addResourceSummaryInfo","fillUserInfo","alternateScientists","scientists","supervisors","buildForm","isShowModification","hasShutter","getPVValues","convertSciNotationToString","joinRURs","otherLinks","meDrawing","apPhaseSpace","saSurvey","fastValveSensors","toca","Default","addInputDataToResourceSummary","SaveAsDraftType","addEndstation","endstationUpdated","updateResourceNames","addBranchline","branchlineUpdated","addShielding","addVacuum","isOrganizationRepeted","addOrganization","addNote","addFastValveSensor","fastValveSensor","createNewEndstation","createNewBranchline","createNewShielding","createNewVacuum","createNewFastValveSensor","savedId","UpdateTemplatesAfterUpdate","Info","deleteResourceNames","deleteResourceNamesNtype","endstationCreated","branchlineCreated","shieldingCreated","vacuumCreated","keRequirement","createNewShutter","shutterCreated","createNewBeamline","beamlineCreated","Beamline","fastValveSensorCreated","CancelPending","fieldRepeatedShutter","fieldRepeatedBeamline","resetRURAuxData","Organization","TOCA","resourceOrganizations","oldResourceOrganization","isOrganizationNameEqual","resourceOrg","convertSciNotationToNumber","addRURs","oldResourceName","updateResourceNamesOfRURs","resourceToDelete","deleteResourceNamesOfRURs","endstationId","branchlineId","RURs","RURsToSend","RURTable","RUR","exit","RURsJoined","addInfoRUR","RURAux","deleteRURsByUserId","roleId","vaccums","getTOCAChangesByResourceId","tocas","resourceUpdated","rur","obj1","obj2","isEquivalent","sum1","sum2","channel","validate","beamlineCatalogs","beamlineCatalog","currentEndstations","prevEndstations","currentBranchlines","prevBranchlines","currentVacuums","prevVacuums","currentOrganizations","prevOrganizations","currentSupervisors","prevSupervisors","currentScientists","prevScientists","currentAlternateScientists","prevAlternateScientists","currentNotes","prevNotes","currentOtherLinks","prevOtherLinks","currentMeDrawings","prevMeDrawings","currentAPPhaseSpace","prevAPPhaseSpace","currentSASurveys","prevSASurveys","currentFastValveSensors","prevFastValveSensors","KeChecklistBuilderService","ResourceDetailsNewComponent_Template","ResourceDetailsNewComponent_mat_form_field_9_Template","ResourceDetailsNewComponent_mat_form_field_11_Template","ResourceDetailsNewComponent_form_12_Template","ResourceDetailsNewComponent_mat_form_field_15_Template","ResourceDetailsNewComponent_mat_form_field_17_Template","ResourceDetailsNewComponent_div_19_Template","ResourceDetailsNewComponent_mat_header_cell_34_Template","ResourceDetailsNewComponent_mat_cell_35_Template","ResourceDetailsNewComponent_mat_header_cell_37_Template","ResourceDetailsNewComponent_mat_cell_38_Template","ResourceDetailsNewComponent_mat_header_cell_40_Template","ResourceDetailsNewComponent_mat_cell_41_Template","ResourceDetailsNewComponent_mat_header_row_42_Template","ResourceDetailsNewComponent_mat_row_43_Template","ResourceDetailsNewComponent_mat_header_cell_54_Template","ResourceDetailsNewComponent_mat_cell_55_Template","ResourceDetailsNewComponent_mat_header_cell_57_Template","ResourceDetailsNewComponent_mat_cell_58_Template","ResourceDetailsNewComponent_mat_header_row_59_Template","ResourceDetailsNewComponent_mat_row_60_Template","ResourceDetailsNewComponent_div_61_Template","ResourceDetailsNewComponent_mat_header_cell_73_Template","ResourceDetailsNewComponent_mat_cell_74_Template","ResourceDetailsNewComponent_mat_header_cell_76_Template","ResourceDetailsNewComponent_mat_cell_77_Template","ResourceDetailsNewComponent_mat_header_row_78_Template","ResourceDetailsNewComponent_mat_row_79_Template","ResourceDetailsNewComponent_div_80_Template","ResourceDetailsNewComponent_div_81_Template","ResourceDetailsNewComponent_mat_header_cell_92_Template","ResourceDetailsNewComponent_mat_cell_93_Template","ResourceDetailsNewComponent_mat_header_cell_95_Template","ResourceDetailsNewComponent_mat_cell_96_Template","ResourceDetailsNewComponent_mat_header_cell_98_Template","ResourceDetailsNewComponent_mat_cell_99_Template","ResourceDetailsNewComponent_mat_header_cell_101_Template","ResourceDetailsNewComponent_mat_cell_102_Template","ResourceDetailsNewComponent_mat_header_row_103_Template","ResourceDetailsNewComponent_mat_row_104_Template","ResourceDetailsNewComponent_Template_app_resource_user_relation_table_changed_111_listener","ResourceDetailsNewComponent_Template_app_resource_user_relation_table_changed_118_listener","ResourceDetailsNewComponent_Template_app_resource_user_relation_table_changed_125_listener","ResourceDetailsNewComponent_mat_header_cell_136_Template","ResourceDetailsNewComponent_mat_cell_137_Template","ResourceDetailsNewComponent_mat_header_cell_139_Template","ResourceDetailsNewComponent_mat_cell_140_Template","ResourceDetailsNewComponent_mat_header_row_141_Template","ResourceDetailsNewComponent_mat_row_142_Template","ResourceDetailsNewComponent_Template_app_resource_link_relation_changed_145_listener","ResourceDetailsNewComponent_Template_app_resource_link_relation_changed_147_listener","ResourceDetailsNewComponent_Template_app_resource_link_relation_changed_149_listener","ResourceDetailsNewComponent_div_150_Template","ResourceDetailsNewComponent_div_151_Template","ResourceDetailsNewComponent_div_152_Template","ResourceDetailsNewComponent_div_153_Template","ResourceDetailsNewComponent_div_155_Template","ResourceDetailsNewComponent_catalog_history_navigation_156_Template","LocationsService","getLocations","httpresult2","GetLocationByShieldingID","GetShuttersByShieldingID","catchError","api","getAllResources","handleError","getResourcesByType","getIResourcesByType","getBranchlines","updateOperationalLockOut","getAllResourceTypes","getRelatedResources","getResourcesRelationsByChildId","getResourceById","getResourcesRelatedTreeByChildId","getResourcesRelatedTreeByParent","getRelationResources","getStatusResources","getResourceUserRelationsById","resIds","slice","getShutters","getBeamlines","getShutter","getEpicsValues","resourceTypeID","beamLineSupervisorID","beamLineScientistID","beamLineAlternateScientistID","beamLineNotes","keRestricted","reviewRestrictedResourceID","getResourceSummaryByShutter","getAllResourceSummaries","getAllResourceStaff","getResourceSummaryPendingById","getResourceSummaryPendingByResourceId","getResourcesJoinCreatedResources","getResourceIsModifiyingById","approveCreateResourceSummaryById","approveUpdateResourceSummaryById","unapproveResourceSummaryById","unapprovalReason","reason","postResourceSummary","putResourceSummary","deleteResource","saveResourceRelations","oldResourceRelations","rel","postResourceRelation","putResourceRelation","deleteResourceRelation","Promise","reject","getAllShutters","getShieldingByBeamlineId","getByCodes","codes","query","getByTypes","types","getBeamlinesByShutterRestrictions","ids","getAllBranchlines","getFromChecklistTemplateByDocumentType","documentTypeID","getByTemplateType","templateType","reviewRestrictedResource","wfTableIDAbreviated","modifyingById","statusModel","operationalLockOut","newResource","comment","lastCommentByUser","lastCommentByUserId","lastCommentOn","RSSTestProcedureNumber","RSSTestShutterKeyCode","RSSTestWiringDiagramPrint","RSSTestSafetyInterlockControlsChassisPrint","RSSTestBeamlineHutchInterlockControlsPrint","RSSTestRackLocation","RSSTestSectorNumber","RSSTestEPSPLCLocation","RSSTestHutchInterlockControlsChassisLocation","RSSTestInternalCrashOffSearchBoxLocations","RSSTestExternalCrashOffSearchBoxLocations","RSSTestSRRFINTLKSOKLampsLocation","RSSTestTimeDelay","RSSTestArcSectorInterlockSummingChassisLocation","RSSTestESVacuumSwitchInterfaceBox","RSSTestShortingPlugs","RSSTestMagnetPlate","RSSTestMicroswitchClamps","RSSTestShuttersRequiredToBeClosedForTest","ResourceTOCARelation","StatusResource","SaveResource","ShutterResource","keVersions","BeamlineResource","templateVersions","RSSTestShutterRequiredToBeClosedForTest","ShieldingGroup","ResourcesListNewComponent_td_13_mat_icon_5_Template","ResourcesListNewComponent_td_13_mat_icon_6_Template","getClass","ketStatus","templateStatus","ResourcesListNewComponent_tr_15_Template_tr_click_0_listener","row_r16","pending","createAvailable","loadAllResources","editPrivilege","RSSTestDBEdit","authPrivilege","RSSTestDBAuth","priv","pendingKET","KET","shutterID","shutterId","activeFullVersion","newFullVersions","activeAbbrVersion","newAbbrVersions","ResourcesListNewComponent_Query","ResourcesListNewComponent_th_3_Template","ResourcesListNewComponent_td_4_Template","ResourcesListNewComponent_th_6_Template","ResourcesListNewComponent_td_7_Template","ResourcesListNewComponent_th_9_Template","ResourcesListNewComponent_td_10_Template","ResourcesListNewComponent_th_12_Template","ResourcesListNewComponent_td_13_Template","ResourcesListNewComponent_tr_14_Template","ResourcesListNewComponent_tr_15_Template","KeChecklistBuilderComponent","MatTabGroup","RssTestDatabaseComponent","ResourcesNewComponent_mat_slide_toggle_4_Template_mat_slide_toggle_ngModelChange_0_listener","ResourcesNewComponent","isShutter","showChangesToggle","tabGroup","blPrivilege","tabClicked","ResourcesNewComponent_Query","ResourcesNewComponent_mat_slide_toggle_4_Template","ResourcesNewComponent_Template_mat_tab_group_selectedIndexChange_6_listener","ResourcesNewComponent_mat_tab_8_Template","ResourcesNewComponent_Template_rss_test_database_pending_10_listener","detailsUsers","RssTestDatabaseComponent_mat_form_field_23_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_25_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_28_Template_mat_select_ngModelChange_3_listener","isModifying","RssTestDatabaseComponent_mat_form_field_30_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_36_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_38_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_41_Template_input_ngModelChange_3_listener","_r45","RssTestDatabaseComponent_mat_form_field_43_Template_input_ngModelChange_3_listener","_r47","ctx_r46","RssTestDatabaseComponent_mat_form_field_49_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_51_Template_input_ngModelChange_3_listener","_r51","RssTestDatabaseComponent_mat_form_field_54_Template_input_ngModelChange_3_listener","_r53","RssTestDatabaseComponent_mat_form_field_56_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_59_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_61_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_64_Template_input_ngModelChange_3_listener","RssTestDatabaseComponent_mat_form_field_66_Template_input_ngModelChange_3_listener","_r63","ctx_r62","RssTestDatabaseComponent_mat_form_field_69_Template_input_ngModelChange_3_listener","_r65","RssTestDatabaseComponent_mat_form_field_71_Template_input_ngModelChange_3_listener","_r67","RssTestDatabaseComponent_mat_form_field_74_Template_input_ngModelChange_3_listener","_r69","ctx_r68","RssTestDatabaseComponent_div_75_Template_mat_slide_toggle_ngModelChange_1_listener","_r71","RssTestDatabaseComponent_div_76_Template_mat_slide_toggle_ngModelChange_1_listener","_r73","ctx_r72","RssTestDatabaseComponent_button_83_Template_button_click_0_listener","RssTestDatabaseComponent_button_84_Template_button_click_0_listener","_r77","RssTestDatabaseComponent_button_86_Template_button_click_0_listener","_r79","ctx_r78","modifyAvailable","RssTestDatabaseComponent_button_87_Template_button_click_0_listener","_r81","ctx_r80","RssTestDatabaseComponent_button_88_Template_button_click_0_listener","RssTestDatabaseComponent_button_89_Template_button_click_0_listener","_r85","refreshResources","prevResource","idApproverUser","idLastUpdateUser","onShowPrevResource","currentBeamline","currentShutter","resourceData","convertToResource","RssTestDatabaseComponent_Query","RssTestDatabaseComponent_div_2_Template","RssTestDatabaseComponent_div_3_Template","RssTestDatabaseComponent_Template_input_ngModelChange_15_listener","RssTestDatabaseComponent_Template_input_ngModelChange_20_listener","RssTestDatabaseComponent_mat_form_field_23_Template","RssTestDatabaseComponent_mat_form_field_25_Template","RssTestDatabaseComponent_mat_form_field_28_Template","RssTestDatabaseComponent_mat_form_field_30_Template","RssTestDatabaseComponent_div_34_Template","RssTestDatabaseComponent_mat_form_field_36_Template","RssTestDatabaseComponent_mat_form_field_38_Template","RssTestDatabaseComponent_mat_form_field_41_Template","RssTestDatabaseComponent_mat_form_field_43_Template","RssTestDatabaseComponent_div_47_Template","RssTestDatabaseComponent_mat_form_field_49_Template","RssTestDatabaseComponent_mat_form_field_51_Template","RssTestDatabaseComponent_mat_form_field_54_Template","RssTestDatabaseComponent_mat_form_field_56_Template","RssTestDatabaseComponent_mat_form_field_59_Template","RssTestDatabaseComponent_mat_form_field_61_Template","RssTestDatabaseComponent_mat_form_field_64_Template","RssTestDatabaseComponent_mat_form_field_66_Template","RssTestDatabaseComponent_mat_form_field_69_Template","RssTestDatabaseComponent_mat_form_field_71_Template","RssTestDatabaseComponent_mat_form_field_74_Template","RssTestDatabaseComponent_div_75_Template","RssTestDatabaseComponent_div_76_Template","RssTestDatabaseComponent_button_83_Template","RssTestDatabaseComponent_button_84_Template","RssTestDatabaseComponent_button_86_Template","RssTestDatabaseComponent_button_87_Template","RssTestDatabaseComponent_button_88_Template","RssTestDatabaseComponent_button_89_Template","userName","endStations","branchLines","BeamlineStaffMainPanelComponent_div_1_div_7_mat_header_cell_4_Template","BeamlineStaffMainPanelComponent_div_1_div_7_mat_cell_5_Template","BeamlineStaffMainPanelComponent_div_1_div_7_mat_header_cell_7_Template","BeamlineStaffMainPanelComponent_div_1_div_7_mat_cell_8_Template","BeamlineStaffMainPanelComponent_div_1_div_7_mat_header_cell_10_Template","BeamlineStaffMainPanelComponent_div_1_div_7_mat_cell_11_Template","BeamlineStaffMainPanelComponent_div_1_div_7_mat_header_row_12_Template","BeamlineStaffMainPanelComponent_div_1_div_7_mat_row_13_Template","beamline_r1","displayedColumnsSupervisor","element_r29","BeamlineStaffMainPanelComponent_div_1_div_8_mat_header_cell_4_Template","BeamlineStaffMainPanelComponent_div_1_div_8_mat_cell_5_Template","BeamlineStaffMainPanelComponent_div_1_div_8_mat_header_cell_7_Template","BeamlineStaffMainPanelComponent_div_1_div_8_mat_cell_8_Template","BeamlineStaffMainPanelComponent_div_1_div_8_mat_header_cell_10_Template","BeamlineStaffMainPanelComponent_div_1_div_8_mat_cell_11_Template","BeamlineStaffMainPanelComponent_div_1_div_8_mat_header_row_12_Template","BeamlineStaffMainPanelComponent_div_1_div_8_mat_row_13_Template","displayedColumnsScientist","element_r43","element_r44","element_r45","BeamlineStaffMainPanelComponent_div_1_div_9_mat_header_cell_4_Template","BeamlineStaffMainPanelComponent_div_1_div_9_mat_cell_5_Template","BeamlineStaffMainPanelComponent_div_1_div_9_mat_header_cell_7_Template","BeamlineStaffMainPanelComponent_div_1_div_9_mat_cell_8_Template","BeamlineStaffMainPanelComponent_div_1_div_9_mat_header_cell_10_Template","BeamlineStaffMainPanelComponent_div_1_div_9_mat_cell_11_Template","BeamlineStaffMainPanelComponent_div_1_div_9_mat_header_row_12_Template","BeamlineStaffMainPanelComponent_div_1_div_9_mat_row_13_Template","displayedColumnsAlternateScientist","emptyBeamlineStaffMessage","BeamlineStaffMainPanelComponent_div_1_div_7_Template","BeamlineStaffMainPanelComponent_div_1_div_8_Template","BeamlineStaffMainPanelComponent_div_1_div_9_Template","BeamlineStaffMainPanelComponent_div_1_div_10_Template","ɵɵpropertyInterpolate1","beamlineID","BeamlineStaffMainPanelComponent","beamlines","filteredBeamlines","clearRURAuxData","scrollToBeamline","BeamlineStaffMainPanelComponent_Template","BeamlineStaffMainPanelComponent_div_1_Template","BeamlineStaffSidePanelComponent_mat_row_9_Template_mat_row_click_0_listener","row_r8","selectBeamline","BeamlineStaffSidePanelComponent","beamlineSelected","beamLineListColumns","BeamlineStaffSidePanelComponent_Template","BeamlineStaffSidePanelComponent_mat_header_cell_3_Template","BeamlineStaffSidePanelComponent_mat_cell_4_Template","BeamlineStaffSidePanelComponent_mat_header_cell_6_Template","BeamlineStaffSidePanelComponent_mat_cell_7_Template","BeamlineStaffSidePanelComponent_mat_header_row_8_Template","BeamlineStaffSidePanelComponent_mat_row_9_Template","BeamlineStaffComponent_filter_box_17_Template_filter_box_changed_0_listener","BeamlineStaffComponent","getBeamlinesStaff","scrollTo","release","setEditing","requestAmendment","BeamlineStaffComponent_Query","BeamlineStaffComponent_scroll_HostBindingHandler","BeamlineStaffComponent_Template_button_click_3_listener","BeamlineStaffComponent_Template_mat_sidenav_mouseenter_12_listener","BeamlineStaffComponent_Template_mat_sidenav_mouseleave_12_listener","BeamlineStaffComponent_mat_icon_16_Template","BeamlineStaffComponent_filter_box_17_Template","BeamlineStaffComponent_Template_beamline_staff_side_panel_beamlineSelected_20_listener","BeamlineStaffComponent_overlay_loading_26_Template","TocaComponent","beamline_r6","BratoiAddEditComponent_mat_form_field_5_Template_input_keyup_3_listener","BratoiAddEditComponent_mat_form_field_5_Template_mat_autocomplete_optionSelected_4_listener","selectedBeamline","BratoiAddEditComponent_mat_form_field_5_mat_option_6_Template","beamlineCtrl","beamlinesFiltered","link_r10","BratoiAddEditComponent_div_21_div_1_Template","BratoiAddEditComponent_div_21_div_2_Template","BratoiAddEditComponent_div_21_Template_button_click_4_listener","elementIndex_r11","linkDialog","BratoiAddEditComponent_div_21_Template_button_click_7_listener","deleteList","disableSubmmit","BratoiAddEditComponent_div_35_Template_button_click_6_listener","toca_r19","elementIndex_r20","tocaDialog","BratoiAddEditComponent_div_35_Template_button_click_9_listener","getTocaSharedWith","BratoiAddEditComponent","bratoi","resourceString","getResources","beamlines$","beamlinesSubs","bratois","displayBeamlineName","linkToUpdate","updateLink","tocaToUpdate","inputTitle","minWidth","updateTOCA","listToDelete","textToFilter","relations","beamlineRequiringApprovalRelations","beamlineRequiringApprovalId","beamlineRequiringApproval","BratoiAddEditComponent_Template","BratoiAddEditComponent_span_4_Template","BratoiAddEditComponent_mat_form_field_5_Template","BratoiAddEditComponent_Template_button_click_17_listener","BratoiAddEditComponent_div_21_Template","BratoiAddEditComponent_Template_button_click_31_listener","BratoiAddEditComponent_div_35_Template","BratoiAddEditComponent_Template_button_click_38_listener","BratoiAddEditComponent_Template_button_click_40_listener","IsActive","ResourceString","link_r14","LinkType","Name","WebAddress","Hyperlink","BratoiHistoryComponent_mat_cell_16_div_1_Template","Links","toca_r17","BratoiHistoryComponent_mat_cell_19_div_1_Template","Tocas","ActionBy","ActionOn","BratoiHistoryComponent","getInfo","GetHistoryByBlRequiring","objectJson","BratoiService","BratoiHistoryComponent_Template","BratoiHistoryComponent_Template_button_click_4_listener","BratoiHistoryComponent_mat_progress_bar_7_Template","BratoiHistoryComponent_mat_header_cell_12_Template","BratoiHistoryComponent_mat_cell_13_Template","BratoiHistoryComponent_mat_header_cell_15_Template","BratoiHistoryComponent_mat_cell_16_Template","BratoiHistoryComponent_mat_header_cell_18_Template","BratoiHistoryComponent_mat_cell_19_Template","BratoiHistoryComponent_mat_header_cell_21_Template","BratoiHistoryComponent_mat_cell_22_Template","BratoiHistoryComponent_mat_header_row_23_Template","BratoiHistoryComponent_mat_row_24_Template","BratoiRefreshById","BratoiComponent_filter_box_17_Template_filter_box_changed_0_listener","BratoiComponent_mat_list_item_19_Template_mat_list_item_click_0_listener","AddEditDialog","BratoiComponent_mat_list_item_19_span_1_Template","isActive","link_r30","BratoiComponent_mat_cell_35_div_1_div_1_Template","BratoiComponent_mat_cell_35_div_1_div_2_Template","BratoiComponent_mat_cell_35_div_1_Template","element_r28","toca_r37","tmp_1_0","BratoiComponent_mat_cell_38_div_1_Template","BratoiComponent_mat_cell_41_div_1_div_1_Template_button_click_1_listener","ctx_r43","updateAction","disableAction","BratoiComponent_mat_cell_41_div_1_div_1_Template","actionBy","actionOn","BratoiComponent_mat_cell_41_div_1_Template","BratoiComponent_mat_cell_41_div_2_Template","BlRequiringApprovalApprove","element_r48","BratoiComponent_mat_cell_47_div_1_button_7_Template_button_click_0_listener","_r58","element_r49","BratoiComponent_mat_cell_47_div_1_button_8_Template_button_click_0_listener","ctx_r59","confirmDeleteDialog","BratoiComponent_mat_cell_47_div_1_button_9_Template_button_click_0_listener","_r64","BratoiComponent_mat_cell_47_div_1_button_10_Template_button_click_0_listener","BratoiComponent_mat_cell_47_div_1_button_7_Template","BratoiComponent_mat_cell_47_div_1_button_8_Template","BratoiComponent_mat_cell_47_div_1_button_9_Template","BratoiComponent_mat_cell_47_div_1_button_10_Template","BlRequiringApprovalEdit","BlRequiringApprovalDelete","BlRequiringApprovalUnapprove","BratoiComponent_mat_cell_47_div_1_Template","validateShowMenu","BratoiComponent_button_51_Template_button_click_0_listener","BratoiComponent","getBratoi","queryRoute","bratoisSubs","bratois$","Bratoi","bl","blToUpdateAction","oldBratoi","dialogDiscardChanges","updateBratoi","createBratoi","backdropClick","bratoiToCreate","CreateBlApproval","refreshRelated","bratoiToUpdate","UpdateBlApproval","bratoiTmp","blrToUpdateAction","UpdateActionBlApproval","messageName","resourceTOCARelations","BratoiComponent_Query","BratoiComponent_Template_button_click_3_listener","BratoiComponent_Template_mat_sidenav_mouseenter_12_listener","BratoiComponent_Template_mat_sidenav_mouseleave_12_listener","BratoiComponent_mat_icon_16_Template","BratoiComponent_filter_box_17_Template","BratoiComponent_mat_list_item_19_Template","BratoiComponent_span_22_Template","BratoiComponent_mat_header_cell_31_Template","BratoiComponent_mat_cell_32_Template","BratoiComponent_mat_header_cell_34_Template","BratoiComponent_mat_cell_35_Template","BratoiComponent_mat_header_cell_37_Template","BratoiComponent_mat_cell_38_Template","BratoiComponent_mat_header_cell_40_Template","BratoiComponent_mat_cell_41_Template","BratoiComponent_mat_header_cell_43_Template","BratoiComponent_mat_cell_44_Template","BratoiComponent_mat_header_cell_46_Template","BratoiComponent_mat_cell_47_Template","BratoiComponent_mat_header_row_48_Template","BratoiComponent_mat_row_49_Template","BratoiComponent_overlay_loading_50_Template","BratoiComponent_button_51_Template","BlRequiringApprovalAdd","ClipboardModule","MatToolbarModule","CommentsAndAttachmentsModule","GetBeamlinelApprovals","GetBeamlinelApproval","blRequiringApproval","DeleteBlApproval","GetActiveTOCAs","BratoiRefresh","BratoiCreate","BratoiUpdate","BratoiUpdateAction","BratoiDelete","TOCARefresh","BratoiStateModel","BratoiState","bratoiService","refreshById","BratoiActions","BratoiStoreAndListenersService","BRATOI","TOCACreate","TOCAUpdate","TOCADelete","TOCAStateModel","TOCAState","TocaActions","TocaStoreAndListenersService","TOCAS","toca_r2","tocasCtrl","tmpTocas","tocas$","tocasSubs","tocasFiltered","wasDelete","selectedToca","TocaComponent_Template","TocaComponent_Template_input_keyup_4_listener","TocaComponent_Template_mat_autocomplete_optionSelected_5_listener","TocaComponent_mat_option_7_Template","TocaComponent_Template_button_click_9_listener","TocaComponent_Template_button_click_11_listener","CatalogModelList","Catalogs","Move","apiPendingResources","apiPendingApproval","GetBeamlineShutter","IsModifiyingById","GetAllPendingResources","idRosurce","typePendingResource","IsFieldRepeated","RemoveRow","confirmationDialog","RadMonitorModule","RadMonitorComponent","UserCatalogComponent","UserCatalogListComponent","UserRoleComponent","UserCatalogRolesComponent","UserCatalogDetailsComponent","DocumentTypeComponent","DocumentTypeListComponent","DocumentTypeDetailsComponent","DocumentTypeTabComponent","TemplateTypeTabComponent","AddEditTemplateTypeComponent","OlogCategoryTabComponent","AddEditOlogCategoryComponent","OlogEmailTabComponent","AddEditOlogEmailComponent","NavigationLinksComponent","NavigationLinksModule","MetersCatalogComponent","MetersCatalogModule","ScheduleTypesComponent","ScheduleTypesModule","NotificationsComponent","NotificationsSideComponent","NotificationsDetailsComponent","RssdListComponent","RssdListSideComponent","RssdListMainComponent","OlogMessagesComponent","OlogMessagesTabComponent","OlogMessageDialogComponent","PrivilegesCatalogComponent","PrivilegesCatalogTableComponent","PrivilegesCatalogMainComponent","NgIf","NgControlStatus","MatSlideToggle","MatTab","NgModel","ologCategoryNameCtrl","ologCategory","markAllAsTouched","AddEditOlogCategoryComponent_Template","AddEditOlogCategoryComponent_Template_input_ngModelChange_9_listener","AddEditOlogCategoryComponent_mat_error_10_Template","AddEditOlogCategoryComponent_Template_button_click_13_listener","AddEditOlogCategoryComponent_Template_button_click_15_listener","user_r3","userNameCtrl","userEmailCtrl","ologEmail","usersFiltered","displayUserName","AddEditOlogEmailComponent_Template","AddEditOlogEmailComponent_Template_input_ngModelChange_11_listener","AddEditOlogEmailComponent_Template_input_keyup_11_listener","AddEditOlogEmailComponent_mat_option_14_Template","AddEditOlogEmailComponent_mat_error_15_Template","AddEditOlogEmailComponent_Template_input_ngModelChange_19_listener","AddEditOlogEmailComponent_Template_button_click_22_listener","AddEditOlogEmailComponent_Template_button_click_24_listener","ChecklistPriv","templateTypeNameCtrl","templateTypeDescriptionCtrl","templateTypeCodeCtrl","itemList_r11","resourceTypeCtrl","AddEditTemplateTypeComponent_div_29_mat_form_field_6_Template_mat_select_valueChange_3_listener","AddEditTemplateTypeComponent_div_29_mat_form_field_6_Template_mat_select_selectionChange_3_listener","onResourceTypeChange","AddEditTemplateTypeComponent_div_29_mat_form_field_6_mat_option_4_Template","AddEditTemplateTypeComponent_div_29_mat_form_field_6_mat_error_5_Template","resourceTypes","AddEditTemplateTypeComponent_div_29_mat_form_field_12_mat_chip_row_5_Template_mat_chip_row_removed_0_listener","item_r20","removeRole","role_r23","AddEditTemplateTypeComponent_div_29_mat_form_field_12_mat_chip_row_5_Template","AddEditTemplateTypeComponent_div_29_mat_form_field_12_Template_input_keyup_6_listener","onRoleChange","AddEditTemplateTypeComponent_div_29_mat_form_field_12_Template_mat_autocomplete_optionSelected_7_listener","selectedRole","AddEditTemplateTypeComponent_div_29_mat_form_field_12_mat_option_10_Template","templateRolePermissions","rolesFiltered","itemList_r29","scheduleTypeCtrl","AddEditTemplateTypeComponent_div_29_mat_form_field_28_Template_mat_select_valueChange_3_listener","scheduleTypeID","AddEditTemplateTypeComponent_div_29_mat_form_field_28_Template_mat_select_selectionChange_3_listener","onScheduleTypeChange","AddEditTemplateTypeComponent_div_29_mat_form_field_28_mat_option_4_Template","AddEditTemplateTypeComponent_div_29_mat_form_field_28_mat_error_5_Template","scheduleTypes","itemList_r35","scheduleSubtypeCtrl","AddEditTemplateTypeComponent_div_29_mat_form_field_29_Template_mat_select_valueChange_3_listener","scheduleSubtypeID","AddEditTemplateTypeComponent_div_29_mat_form_field_29_Template_mat_select_selectionChange_3_listener","onScheduleSubtypeChange","AddEditTemplateTypeComponent_div_29_mat_form_field_29_mat_option_4_Template","AddEditTemplateTypeComponent_div_29_mat_form_field_29_mat_error_5_Template","scheduleSubtypes","AddEditTemplateTypeComponent_div_29_mat_slide_toggle_30_Template_mat_slide_toggle_ngModelChange_0_listener","scToggleHide","AddEditTemplateTypeComponent_div_29_mat_slide_toggle_30_Template_mat_slide_toggle_change_0_listener","ctx_r41","scToggleHideChanged","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_change_1_listener","rtToggleChanged","AddEditTemplateTypeComponent_div_29_mat_form_field_6_Template","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_ngModelChange_7_listener","rxToggle","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_change_7_listener","rxToggleChanged","AddEditTemplateTypeComponent_div_29_mat_form_field_12_Template","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_ngModelChange_13_listener","aiToggle","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_change_13_listener","ctx_r47","aiToggleChanged","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_ngModelChange_18_listener","atToggle","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_change_18_listener","ctx_r49","atToggleChanged","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_ngModelChange_23_listener","scToggle","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_change_23_listener","ctx_r51","scToggleChanged","AddEditTemplateTypeComponent_div_29_mat_form_field_28_Template","AddEditTemplateTypeComponent_div_29_mat_form_field_29_Template","AddEditTemplateTypeComponent_div_29_mat_slide_toggle_30_Template","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_ngModelChange_31_listener","mvToggle","AddEditTemplateTypeComponent_div_29_Template_mat_slide_toggle_change_31_listener","mvToggleChanged","rtToggle","reviewInExec","createScheduleTabCtrl","removeScheduleTabCtrl","scheduleResourceTypeCtrl","rtToggleCtrl","scToggleCtrl","scToggleHideCtrl","procedureTypeCtrl","procedureCategoryCtrl","prToggleCtrl","rxToggleCtrl","aiToggleCtrl","atToggleCtrl","roleCtrl","tbToggleCtrl","dtToggleCtrl","mvToggleCtrl","templateTypeData","disableTabButton","resourceTypeSubs","scheduleTypesSubs","proceureTypesSubs","documentType","getProcedures","getResourceTypes","getScheduleTypes","getRoles","scheduleType","tabColumns","dtToggle","scheduleSubtype","dateFormat","tbToggle","allowActionItems","allSignaturesRequired","allowMultipleVersions","valur","assignTabToSchedules","controls","removeTabFromSchedules","schedules","procedureTypes$","ProcedureType","procedureTypes","resourceTypes$","ResourceTypes","filterResourceTypes","scheduleTypes$","ScheduleTypes","hideCustomSchedules","prToggle","procedureType","procedureTypeID","procedureCategories","unshift","procedureCategoryID","documentTypeId","documentTemplateId","resourceTypeArray","resourceTypeIds","scheduleResourceTypes","resourceTypesFiltered","prToggleChanged","dtToggleChanged","templateRolePermission","checklistPrivilege","ReviewChecklist","templateTypeID","tbToggleChanged","removeResourceType","selectedScheduleResource","onProcedureTypeChange","onProcedureCategoryChange","procedureCategory","AddEditTemplateTypeComponent_Template","AddEditTemplateTypeComponent_Template_input_ngModelChange_11_listener","AddEditTemplateTypeComponent_mat_error_14_Template","AddEditTemplateTypeComponent_Template_input_ngModelChange_18_listener","AddEditTemplateTypeComponent_mat_error_21_Template","AddEditTemplateTypeComponent_Template_input_ngModelChange_25_listener","AddEditTemplateTypeComponent_mat_error_28_Template","AddEditTemplateTypeComponent_div_29_Template","AddEditTemplateTypeComponent_Template_button_click_32_listener","AddEditTemplateTypeComponent_Template_button_click_34_listener","DocumentTypeDetailsComponent_app_template_type_tab_1_Template_app_template_type_tab_changed_0_listener","templateTypesChanged","isDisabled","DocumentTypeDetailsComponent_div_3_button_3_Template_button_click_0_listener","DocumentTypeDetailsComponent_div_3_button_4_Template_button_click_0_listener","templateTypeTab","hasChecklistTemplates","DocumentTypeDetailsComponent_div_3_button_6_Template_button_click_0_listener","modify","DocumentTypeDetailsComponent_div_3_button_7_Template_button_click_0_listener","isSaveAvailable","DocumentTypeDetailsComponent_div_3_button_3_Template","DocumentTypeDetailsComponent_div_3_button_4_Template","DocumentTypeDetailsComponent_div_3_button_6_Template","DocumentTypeDetailsComponent_div_3_button_7_Template","isModifyAvailable","ModifyDocumentType","documentTypeService","documentCategory","getDocumentType","documentTypeSelected","loadTemplateTypesByDocTypeId","originalDocumentType","saveDocumentType","documentTypeTab","isDocumentTypeValid","updateDocumentType","createDocumentType","showInCatalog","documentTypeCreated","documentTypeUpdated","setDocumentTemplateId","documentTypeChanged","templateTypes","DocumentsService","DocumentTypeDetailsComponent_Query","DocumentTypeDetailsComponent_Template_app_document_type_tab_loading_0_listener","DocumentTypeDetailsComponent_Template_app_document_type_tab_sendDocumentTemplateId_0_listener","DocumentTypeDetailsComponent_Template_app_document_type_tab_changed_0_listener","DocumentTypeDetailsComponent_app_template_type_tab_1_Template","DocumentTypeDetailsComponent_olog_messages_2_Template","DocumentTypeDetailsComponent_div_3_Template","codeCtrl","DocumentTypeTabComponent_div_21_Template_mat_slide_toggle_ngModelChange_5_listener","menuItemChk","DocumentTypeTabComponent_div_21_Template_mat_slide_toggle_toggleChange_5_listener","createMenu","menuType","removeMenu","DocumentTypeTabComponent_div_21_Template_mat_slide_toggle_ngModelChange_7_listener","menuItemBld","DocumentTypeTabComponent_div_21_Template_mat_slide_toggle_toggleChange_7_listener","Builder","menuService","sendDocumentTemplateId","getMenuItem","enableDisabledForm","loadMenuItems","menuItems$","MenuItem","subsMenuItem","menuItems","markAsUntouched","createBuilderMenuEntryLabel","createChecklistMenuEntryLabel","removeMenuEntryBuilderMenuLabel","removeMenuEntryChecklistMenuLabel","parent","menuItem","parentMenuItemID","menuValidation","isSeparator","Success","deleteMenu","Warning","nameChanged","descriptionChanged","codeChanged","HeadMenuService","DocumentTypeTabComponent_Template","DocumentTypeTabComponent_Template_input_change_7_listener","DocumentTypeTabComponent_mat_error_8_Template","DocumentTypeTabComponent_Template_input_change_13_listener","DocumentTypeTabComponent_mat_error_14_Template","DocumentTypeTabComponent_Template_input_change_19_listener","DocumentTypeTabComponent_mat_error_20_Template","DocumentTypeTabComponent_div_21_Template","TextareaDialogComponent","OlogCategory","OlogCategoryTabComponent_mat_header_cell_9_Template_button_click_1_listener","ologCategoryDialog","OlogCategoryTabComponent_mat_cell_10_button_1_Template_button_click_0_listener","OlogCategoryTabComponent_mat_cell_10_button_2_Template_button_click_0_listener","OlogCategoryTabComponent_mat_cell_10_button_1_Template","OlogCategoryTabComponent_mat_cell_10_button_2_Template","UpdateOlogCategory","DeleteOlogCategory","row_r20","ologCategoryService","displayedColumnsOlogCategory","removeAddColumn","CreateOlogCategory","loadOlogCategorysByDocTypeId","ologCategorySubscription","ologCategories$","ologCategories","addUpdate","dialogRefSureToDelete","acceptClicked","OlogCategoryService","OlogCategoryTabComponent_Template","OlogCategoryTabComponent_mat_header_cell_6_Template","OlogCategoryTabComponent_mat_cell_7_Template","OlogCategoryTabComponent_mat_header_cell_9_Template","OlogCategoryTabComponent_mat_cell_10_Template","OlogCategoryTabComponent_mat_header_row_11_Template","OlogCategoryTabComponent_mat_row_12_Template","OlogEmail","OlogEmailTabComponent_mat_header_cell_12_Template_button_click_1_listener","ologEmailDialog","OlogEmailTabComponent_mat_cell_13_button_1_Template_button_click_0_listener","OlogEmailTabComponent_mat_cell_13_button_2_Template_button_click_0_listener","deleteOlogEmailReason","OlogEmailTabComponent_mat_cell_13_button_1_Template","OlogEmailTabComponent_mat_cell_13_button_2_Template","UpdateOlogEmail","DeleteOlogEmail","row_r22","ologEmailService","displayedColumnsOlogEmail","CreateOlogEmail","loadOlogEmailsByDocTypeId","ologEmailSubscription","ologEmails$","ologEmails","ologEmailToSave","OlogEmailService","OlogEmailTabComponent_Template","OlogEmailTabComponent_mat_header_cell_6_Template","OlogEmailTabComponent_mat_cell_7_Template","OlogEmailTabComponent_mat_header_cell_9_Template","OlogEmailTabComponent_mat_cell_10_Template","OlogEmailTabComponent_mat_header_cell_12_Template","OlogEmailTabComponent_mat_cell_13_Template","OlogEmailTabComponent_mat_header_row_14_Template","OlogEmailTabComponent_mat_row_15_Template","inject","LiveAnnouncer","type_r18","status_r19","class","status_r20","OlogMessageDialogComponent_mat_chip_row_63_Template_mat_chip_row_removed_0_listener","email_r21","removeEmail","address","email_r24","subjectCtrl","OlogMessageDialogComponent_mat_chip_row_91_Template_mat_chip_row_removed_0_listener","category_r25","removeCategory","category_r28","ologCategoriesService","fromCtrl","toCtrl","messageCtrl","notificationTypeCtrl","emailsCtrl","categoriesCtrl","filteredEmails","announcer","categories","ologMessage","initializeCategories","initializeEmails","notifications","enumToIdNameArray","loadFormStatuses","loadChecklistExecStatuses","GetOlogCategoryByDocumentTypeID","categoryNames","filteredCategories","filterEmails","emailAddresses","extractEmailAddresses","isCustom","customEmails","notificationType","subject","fromStatusID","toStatusID","formStatuses$","FormStatuses","formStatusesSubs","formStatuses","filterFromStatuses","filterToStatuses","checklistExecStatuses$","ChecklistExecStatuses","checklistExecStatusesSubs","checklistExecStatuses","fromStatusesFiltered","Form","fromStatus","toStatusesFiltered","toStatus","validateForm","emailRegex","match","addCategory","chipInput","filterCategories","announce","selectedCategory","viewValue","categoryInput","selectedEmail","emailInput","addEmail","isValidEmail","copyToClipboard","OlogMessageService","OlogCategoriesService","OlogMessageDialogComponent_Query","OlogMessageDialogComponent_mat_error_14_Template","OlogMessageDialogComponent_mat_option_26_Template","OlogMessageDialogComponent_Template_input_keyup_36_listener","OlogMessageDialogComponent_mat_option_39_Template","OlogMessageDialogComponent_Template_input_keyup_44_listener","OlogMessageDialogComponent_mat_option_47_Template","OlogMessageDialogComponent_Template_comments_box_textChanged_50_listener","OlogMessageDialogComponent_mat_chip_row_63_Template","OlogMessageDialogComponent_Template_input_keyup_64_listener","OlogMessageDialogComponent_Template_input_matChipInputTokenEnd_64_listener","OlogMessageDialogComponent_Template_mat_autocomplete_optionSelected_66_listener","OlogMessageDialogComponent_mat_option_68_Template","OlogMessageDialogComponent_Template_input_ngModelChange_73_listener","OlogMessageDialogComponent_mat_error_74_Template","OlogMessageDialogComponent_Template_comments_box_textChanged_77_listener","OlogMessageDialogComponent_Template_span_click_80_listener","OlogMessageDialogComponent_Template_span_click_83_listener","OlogMessageDialogComponent_mat_chip_row_91_Template","OlogMessageDialogComponent_Template_input_matChipInputTokenEnd_92_listener","OlogMessageDialogComponent_Template_input_keyup_92_listener","OlogMessageDialogComponent_Template_mat_autocomplete_optionSelected_94_listener","OlogMessageDialogComponent_mat_option_96_Template","OlogMessageDialogComponent_Template_button_click_99_listener","OlogMessageDialogComponent_Template_button_click_101_listener","OlogMessagesTabComponent_mat_cell_10_Template_mat_slide_toggle_ngModelChange_1_listener","element_r14","OlogMessagesTabComponent_mat_header_cell_18_Template_button_click_1_listener","ologMessageDialog","OlogMessagesTabComponent_mat_cell_19_button_1_Template_button_click_0_listener","element_r21","OlogMessagesTabComponent_mat_cell_19_button_2_Template_button_click_0_listener","_r30","OlogMessagesTabComponent_mat_cell_19_button_1_Template","OlogMessagesTabComponent_mat_cell_19_button_2_Template","UpdateOlogMessage","DeleteOlogMessage","row_r31","CreateOlogMessage","loadOlogMessages","ologMessageSubscription","ologMessages$","OlogMessage","ologMessages","setStatuses","statuses","deleteOlogMessage","OlogMessagesTabComponent_Template","OlogMessagesTabComponent_mat_header_cell_6_Template","OlogMessagesTabComponent_mat_cell_7_Template","OlogMessagesTabComponent_mat_header_cell_9_Template","OlogMessagesTabComponent_mat_cell_10_Template","OlogMessagesTabComponent_mat_header_cell_12_Template","OlogMessagesTabComponent_mat_cell_13_Template","OlogMessagesTabComponent_mat_header_cell_15_Template","OlogMessagesTabComponent_mat_cell_16_Template","OlogMessagesTabComponent_mat_header_cell_18_Template","OlogMessagesTabComponent_mat_cell_19_Template","OlogMessagesTabComponent_mat_header_row_20_Template","OlogMessagesTabComponent_mat_row_21_Template","OlogMessagesComponent_Template","TemplateTypesRefreshByDocument","TemplateTypesRefresh","TemplateTypesDelete","ScheduleTypesRefresh","DocumentTypeRefresh","ChecklistTemplatesRefreshByDocument","TemplateTypeTabComponent_ng_container_14_mat_header_cell_1_button_1_Template_button_click_0_listener","templateTypeDialog","TemplateTypeTabComponent_ng_container_14_mat_header_cell_1_button_1_Template","CreateTemplateType","TemplateTypeTabComponent_ng_container_14_mat_cell_2_button_1_Template_button_click_0_listener","TemplateTypeTabComponent_ng_container_14_mat_cell_2_button_2_Template_button_click_0_listener","checklistTemplates","TemplateTypeTabComponent_ng_container_14_mat_cell_2_button_1_Template","TemplateTypeTabComponent_ng_container_14_mat_cell_2_button_2_Template","UpdateTemplateType","DeleteTemplateType","TemplateTypeTabComponent_ng_container_14_mat_header_cell_1_Template","TemplateTypeTabComponent_ng_container_14_mat_cell_2_Template","row_r29","checklistBuilderService","displayedColumnsTemplateType","loadChecklistTemplates","templateTypeSubscription","absiTemplateTypeSubscription","checklistTemplatesSubs","checklistTemplates$","ChecklistTemplates","checkChecklistTemplates","isAbsiTemplateType","templateTypes$","TemplateTypes","isAbsi","templateTypesFormatted","templateTypeFormatted","absiTemplates","openTemplateTypeDialog","templateTypeToSave","addUpdateTable","addUpdateDeleteDb","addUpdateDeleteTemplates","actionPending","updateTemplateType","deleteTemplateType","createTemplateType","None","templateTypeToDelete","refreshStore","Serialize","deleteTemplate","deleteTemplateTypeReason","templateTypeIndex","openDeleteTemplateTypeReasonModal","TemplateTypeTabComponent_Template","TemplateTypeTabComponent_mat_header_cell_6_Template","TemplateTypeTabComponent_mat_cell_7_Template","TemplateTypeTabComponent_mat_header_cell_9_Template","TemplateTypeTabComponent_mat_cell_10_Template","TemplateTypeTabComponent_mat_header_cell_12_Template","TemplateTypeTabComponent_mat_cell_13_Template","TemplateTypeTabComponent_ng_container_14_Template","TemplateTypeTabComponent_mat_header_row_15_Template","TemplateTypeTabComponent_mat_row_16_Template","getCategoryClass","getCategoryName","DocumentTypeListComponent_mat_row_12_Template_mat_row_click_0_listener","row_r12","documentTypeSelectedIndex","displayedColumnsDocumentType","loadDocumentTypes","documentTypeSubscription","documentTypes$","DocumentType","documentTypes","dataToSort","isAsc","DocumentTypeListComponent_Template","DocumentTypeListComponent_Template_mat_table_matSortChange_1_listener","DocumentTypeListComponent_mat_header_cell_3_Template","DocumentTypeListComponent_mat_cell_4_Template","DocumentTypeListComponent_mat_header_cell_6_Template","DocumentTypeListComponent_mat_cell_7_Template","DocumentTypeListComponent_mat_header_cell_9_Template","DocumentTypeListComponent_mat_cell_10_Template","DocumentTypeListComponent_mat_header_row_11_Template","DocumentTypeListComponent_mat_row_12_Template","DocumentTypeComponent_filter_box_18_Template_filter_box_changed_0_listener","DocumentTypeComponent_mat_list_item_24_Template_mat_list_item_click_0_listener","DocumentTypeComponent_mat_list_item_24_span_1_Template","documentTypesSubs","DocumentTypeComponent_Query","DocumentTypeComponent_Template_button_click_3_listener","DocumentTypeComponent_div_11_Template","DocumentTypeComponent_Template_mat_sidenav_mouseenter_13_listener","DocumentTypeComponent_Template_mat_sidenav_mouseleave_13_listener","DocumentTypeComponent_mat_icon_17_Template","DocumentTypeComponent_filter_box_18_Template","DocumentTypeComponent_Template_app_document_type_list_documentTypeSelected_21_listener","DocumentTypeComponent_Template_app_document_type_list_loading_21_listener","DocumentTypeComponent_mat_list_item_24_Template","DocumentTypeComponent_Template_app_document_type_details_loading_27_listener","DocumentTypeComponent_Template_app_document_type_details_changed_27_listener","DocumentTypeComponent_overlay_loading_28_Template","CreateDocumentType","GetOlogCategories","GetOlogCategoryById","OlogCategories","GetOlogEmails","GetOlogEmailById","DocumentTypeCreate","DocumentTypeUpdate","DocumentTypeDelete","DocumentTypeStateModel","DocumentTypeState","getDocumentTypes","DocumentTypeActions","DocumentTypeStoreAndListenersService","DOCUMENTTYPES","OlogCategoryRefresh","OlogCategoryCreate","OlogCategoryUpdate","OlogCategoryDelete","OlogCategoryStateModel","OlogCategoryState","OlogCategoryActions","OlogCategoryStoreAndListenersService","OLOGCATEGORY","OlogEmailRefresh","OlogEmailCreate","OlogEmailUpdate","OlogEmailDelete","OlogEmailStateModel","OlogEmailState","OlogEmailActions","OlogEmailStoreAndListenersService","OLOGEMAIL","OlogMessageRefresh","OlogMessageCreate","OlogMessageUpdate","OlogMessageDelete","OlogMessageStateModel","OlogMessageState","OlogMessageActions","OlogMessageStoreAndListenersService","OLOG_MESSAGE","MetersCatalogSettingsComponent","MetersCatalogSettingsComponent_Template","MetersCatalogSettingsComponent_Template_button_click_4_listener","RadMetersComponent","MetersCatalogComponent_filter_box_17_Template_filter_box_changed_0_listener","MetersCatalogComponent_mat_list_item_21_Template_mat_list_item_click_0_listener","MetersCatalogComponent_mat_list_item_21_span_1_Template","MetersCatalogComponent_mat_list_item_22_Template_mat_list_item_click_0_listener","settings","MetersCatalogComponent_mat_list_item_22_span_1_Template","addMeterCatalog","MetersCatalogComponent_Query","MetersCatalogComponent_scroll_HostBindingHandler","MetersCatalogComponent_Template_button_click_3_listener","MetersCatalogComponent_Template_mat_sidenav_mouseenter_12_listener","MetersCatalogComponent_Template_mat_sidenav_mouseleave_12_listener","MetersCatalogComponent_mat_icon_16_Template","MetersCatalogComponent_filter_box_17_Template","MetersCatalogComponent_mat_list_item_21_Template","MetersCatalogComponent_mat_list_item_22_Template","MetersCatalogComponent_Template_rad_meters_loading_26_listener","MetersCatalogComponent_overlay_loading_27_Template","RadMeterModelDetailsComponent","RadMeterModelsComponent","RadMetersDetailsComponent","RadMetersTypesDetailsComponent","RadMetersTypesComponent","RadMetersUnitsDetailsComponent","RadMetersUnitsComponent","RCstatus_r1","_service","statusList","meterModelsList","oldName","oldDescription","currentMeterModel","obtainMeterModels","getRadMeterModels","saveMeterModel","meterModel","createMeterModel","meterModelSearch","cat","createRadMeterModel","updateRadMeterModel","radMeterModel","disabledStatus","oldStaus","isModifiying","disabledTimer","onNoClick","RadMetersService","RadMeterModelDetailsComponent_Template","RadMeterModelDetailsComponent_Template_input_ngModelChange_8_listener","RadMeterModelDetailsComponent_Template_input_ngModelChange_12_listener","RadMeterModelDetailsComponent_Template_mat_select_ngModelChange_16_listener","RadMeterModelDetailsComponent_mat_option_17_Template","RadMeterModelDetailsComponent_Template_button_click_20_listener","RadMeterModelDetailsComponent_Template_button_click_22_listener","RadMeterModelsComponent_mat_header_cell_12_Template_button_click_1_listener","RadMeterModelsComponent_mat_cell_13_button_4_Template_button_click_0_listener","deleteMeterModel","RadMeterModelsComponent_mat_cell_13_Template_button_click_1_listener","EditMeterModel","RadMeterModelsComponent_mat_cell_13_button_4_Template","radMeters","RadMeterModelsComponent_mat_row_15_Template_mat_row_click_0_listener","highlight","loadMeterModels","showInactive","firstPage","radMetersModelList","refreshMeterModels","showMetersModelsInactive","sortedData","isDesc","compare","newRadMeterModel","openDetailsMeterModel","dataDialog","deleteRadMeterModel","RadMeterModelsComponent_Template","RadMeterModelsComponent_Template_mat_table_matSortChange_1_listener","RadMeterModelsComponent_mat_header_cell_3_Template","RadMeterModelsComponent_mat_cell_4_Template","RadMeterModelsComponent_mat_header_cell_6_Template","RadMeterModelsComponent_mat_cell_7_Template","RadMeterModelsComponent_mat_header_cell_9_Template","RadMeterModelsComponent_mat_cell_10_Template","RadMeterModelsComponent_mat_header_cell_12_Template","RadMeterModelsComponent_mat_cell_13_Template","RadMeterModelsComponent_mat_header_row_14_Template","RadMeterModelsComponent_mat_row_15_Template","RadMetersRefresh","itemList_r5","itemList_r6","itemList_r7","RadMetersDetailsComponent_button_39_Template_button_click_0_listener","radMeterService","radMetersSubs","obtainMeterUnitsList","obtainMeterTypesList","getMeterModelsList","loadRadMeters","radMeter","radMeterUnitID","unitSelected","radMeterTypeID","typeSelected","radMeterModelID","modelSelected","radMeters$","RadMeters","saveCatalog","dataValid","serialNumber","calibrationDueDate","updateRadMeterCatalog","createRadMeterCatalog","getRadMeterTypes","listMeterTypes","getRadMeterUnits","listMeterUnits","unit","listMeterModels","model","manageMeterTypes","manageMeterUnits","manageMeterModels","RadMetersDetailsComponent_Template","RadMetersDetailsComponent_Template_input_ngModelChange_10_listener","RadMetersDetailsComponent_Template_mat_select_valueChange_15_listener","RadMetersDetailsComponent_mat_option_16_Template","RadMetersDetailsComponent_Template_mat_select_valueChange_21_listener","RadMetersDetailsComponent_mat_option_22_Template","RadMetersDetailsComponent_Template_mat_select_valueChange_27_listener","RadMetersDetailsComponent_mat_option_28_Template","RadMetersDetailsComponent_Template_input_ngModelChange_33_listener","RadMetersDetailsComponent_button_39_Template","RadMetersDetailsComponent_Template_button_click_40_listener","currentMeterType","obtainMeterTypes","saveMeterType","meterType","createMeterType","meterTypeSearch","createRadMeterType","updateRadMeterType","isNullOrWhiteSpace","radMeterType","RadMetersTypesDetailsComponent_Template","RadMetersTypesDetailsComponent_Template_input_ngModelChange_8_listener","RadMetersTypesDetailsComponent_Template_input_ngModelChange_12_listener","RadMetersTypesDetailsComponent_Template_mat_select_ngModelChange_16_listener","RadMetersTypesDetailsComponent_mat_option_17_Template","RadMetersTypesDetailsComponent_Template_button_click_20_listener","RadMetersTypesDetailsComponent_Template_button_click_22_listener","RadMetersTypesComponent_mat_header_cell_12_Template_button_click_1_listener","RadMetersTypesComponent_mat_cell_13_button_4_Template_button_click_0_listener","deleteMeterType","RadMetersTypesComponent_mat_cell_13_Template_button_click_1_listener","EditMeterType","RadMetersTypesComponent_mat_cell_13_button_4_Template","RadMetersTypesComponent_mat_row_15_Template_mat_row_click_0_listener","loadMeterTypes","radMetersTypesList","refreshMeterTypes","showMetersTypesInactive","MeterTypeNew","openDetailsMeterType","deleteRadMeterType","RadMetersTypesComponent_Template","RadMetersTypesComponent_Template_mat_table_matSortChange_1_listener","RadMetersTypesComponent_mat_header_cell_3_Template","RadMetersTypesComponent_mat_cell_4_Template","RadMetersTypesComponent_mat_header_cell_6_Template","RadMetersTypesComponent_mat_cell_7_Template","RadMetersTypesComponent_mat_header_cell_9_Template","RadMetersTypesComponent_mat_cell_10_Template","RadMetersTypesComponent_mat_header_cell_12_Template","RadMetersTypesComponent_mat_cell_13_Template","RadMetersTypesComponent_mat_header_row_14_Template","RadMetersTypesComponent_mat_row_15_Template","currentMeterUnit","obtainMeterUnits","saveMeterUnit","meterUnit","createMeterUnit","meterUnitSearch","createRadMeterUnit","updateRadMeterUnit","radMeterUnit","RadMetersUnitsDetailsComponent_Template","RadMetersUnitsDetailsComponent_Template_input_ngModelChange_8_listener","RadMetersUnitsDetailsComponent_Template_input_ngModelChange_12_listener","RadMetersUnitsDetailsComponent_Template_mat_select_ngModelChange_16_listener","RadMetersUnitsDetailsComponent_mat_option_17_Template","RadMetersUnitsDetailsComponent_Template_button_click_20_listener","RadMetersUnitsDetailsComponent_Template_button_click_22_listener","RadMetersUnitsComponent_mat_header_cell_13_Template_button_click_1_listener","RadMetersUnitsComponent_mat_cell_14_button_4_Template_button_click_0_listener","deleteMeterUnit","RadMetersUnitsComponent_mat_cell_14_Template_button_click_1_listener","EditMeterUnit","RadMetersUnitsComponent_mat_cell_14_button_4_Template","RadMetersUnitsComponent_mat_row_16_Template_mat_row_click_0_listener","row_r23","loadMeterUnits","radMetersUnitsList","refreshMeterUnits","showMetersUnitsInactive","MeterUnitNew","openDetailsMeterUnit","deleteRadMeterUnit","RadMetersUnitsComponent_Template","RadMetersUnitsComponent_mat_progress_bar_1_Template","RadMetersUnitsComponent_Template_mat_table_matSortChange_2_listener","RadMetersUnitsComponent_mat_header_cell_4_Template","RadMetersUnitsComponent_mat_cell_5_Template","RadMetersUnitsComponent_mat_header_cell_7_Template","RadMetersUnitsComponent_mat_cell_8_Template","RadMetersUnitsComponent_mat_header_cell_10_Template","RadMetersUnitsComponent_mat_cell_11_Template","RadMetersUnitsComponent_mat_header_cell_13_Template","RadMetersUnitsComponent_mat_cell_14_Template","RadMetersUnitsComponent_mat_header_row_15_Template","RadMetersUnitsComponent_mat_row_16_Template","RadMeterData","RadMetersComponent_div_1_Template_button_click_4_listener","RadMetersComponent_div_1_Template_button_click_7_listener","RadMetersComponent_div_1_Template_button_click_9_listener","RadMetersComponent_div_1_Template_button_click_11_listener","element_r20","RadMetersComponent_mat_cell_9_mat_icon_3_Template","showWarning","element_r24","RadMetersComponent_mat_cell_21_Template_button_click_6_listener","EditRowMeter","RadMetersComponent_mat_cell_21_Template_button_click_11_listener","deleteRowMeter","radMetersFiltered","sourceReading","backgroundReading","toLocaleString","NewRadMeter","radMeterData","dataReturned","meterCatalog","deleteRadMeterCatalog","mdate","Date","RadMetersComponent_Template","RadMetersComponent_div_1_Template","RadMetersComponent_Template_mat_table_matSortChange_3_listener","RadMetersComponent_mat_header_cell_5_Template","RadMetersComponent_mat_cell_6_Template","RadMetersComponent_mat_header_cell_8_Template","RadMetersComponent_mat_cell_9_Template","RadMetersComponent_mat_header_cell_11_Template","RadMetersComponent_mat_cell_12_Template","RadMetersComponent_mat_header_cell_14_Template","RadMetersComponent_mat_cell_15_Template","RadMetersComponent_mat_header_cell_17_Template","RadMetersComponent_mat_cell_18_Template","RadMetersComponent_mat_header_cell_20_Template","RadMetersComponent_mat_cell_21_Template","RadMetersComponent_mat_header_row_22_Template","RadMetersComponent_mat_row_23_Template","ApiMetersType","ApiMetersUnit","ApiMeterModels","ApiRadMeterCatalog","getRadMeterCatalogById","radMeterCatalogId","radMeterCatalog","getRadMeterTypeById","radMeterTypeId","getRadMeterUnitById","radMeterUnitId","getRadMeterModelById","radMeterModelId","RadMetersCreate","RadMetersUpdate","RadMetersDelete","RadMetersStateModel","RadMetersState","RadMetersActions","RadMetersStoreAndListenersService","RADMETERS","RelatedLinkBase","RelatedLinkBaseSave","RelatedLinkBaseHandler","relatedLinkBase","NavigationLinksDetailsComponent_div_20_button_1_Template_button_click_0_listener","NavigationLinksDetailsComponent_div_20_button_2_Template_button_click_0_listener","LinksCatalogDelete","NavigationLinksDetailsComponent_div_20_button_1_Template","NavigationLinksDetailsComponent_div_20_button_2_Template","NavigationLinksDetailsComponent_button_22_Template_button_click_0_listener","LinksCatalogModify","NavigationLinksDetailsComponent_button_23_Template_button_click_0_listener","NavigationLinksDetailsComponent","navigationLinkService","deleted","loadNavigationLinks","navigationLinksSubs","navigationLinks$","NavigationLinks","navigationLinks","navigationLink","disabledFields","originalNavigationLink","hyperLinkChanged","webAddressChanged","isActiveChanged","getPositionToCreate","updateOrder","NavigationLinkService","NavigationLinksDetailsComponent_Template","NavigationLinksDetailsComponent_Template_input_change_7_listener","NavigationLinksDetailsComponent_Template_input_change_13_listener","NavigationLinksDetailsComponent_Template_mat_slide_toggle_change_16_listener","NavigationLinksDetailsComponent_div_20_Template","NavigationLinksDetailsComponent_button_22_Template","NavigationLinksDetailsComponent_button_23_Template","NavigationLink","NavigationLinksListComponent_mat_row_9_Template_mat_row_click_0_listener","NavigationLinksListComponent","navigationLinksFiltered","createLink","indexStr","refreshLinks","NavigationLinksListComponent_Query","NavigationLinksListComponent_Template_mat_table_matSortChange_1_listener","NavigationLinksListComponent_Template_mat_table_cdkDropListDropped_1_listener","NavigationLinksListComponent_mat_header_cell_3_Template","NavigationLinksListComponent_mat_cell_4_Template","NavigationLinksListComponent_mat_header_cell_6_Template","NavigationLinksListComponent_mat_cell_7_Template","NavigationLinksListComponent_mat_header_row_8_Template","NavigationLinksListComponent_mat_row_9_Template","NavigationLinksComponent_div_11_span_3_Template","NavigationLinksComponent_filter_box_18_Template_filter_box_changed_0_listener","NavigationLinksComponent_mat_list_item_24_Template_mat_list_item_click_0_listener","NavigationLinksComponent_mat_list_item_24_span_1_Template","NavigationLinksComponent_Query","NavigationLinksComponent_scroll_HostBindingHandler","NavigationLinksComponent_Template_button_click_3_listener","NavigationLinksComponent_div_11_Template","NavigationLinksComponent_Template_mat_sidenav_mouseenter_13_listener","NavigationLinksComponent_Template_mat_sidenav_mouseleave_13_listener","NavigationLinksComponent_mat_icon_17_Template","NavigationLinksComponent_filter_box_18_Template","NavigationLinksComponent_Template_navigation_links_list_loading_21_listener","NavigationLinksComponent_Template_navigation_links_list_rowSelected_21_listener","NavigationLinksComponent_mat_list_item_24_Template","NavigationLinksComponent_overlay_loading_29_Template","LinksCatalogCreate","NavigationLinkRefresh","NavigationLinkCreate","NavigationLinkUpdate","NavigationLinkDelete","NavigationLinkStateModel","NavigationLinkState","readAll","NavigationLinkActions","NavigationLinkStoreAndListenersService","NAVIGATIONLINKS","NotificationsDetailsComponent_button_26_Template_button_click_0_listener","NotificationsDetailsComponent_button_27_Template_button_click_0_listener","NotificationsDetailsComponent_button_29_Template_button_click_0_listener","NotificationsDetailsComponent_button_30_Template_button_click_0_listener","saveNotificationTemplate","NotificationsDetailsComponent_button_31_Template_button_click_0_listener","NotificationsDetailsComponent_button_32_Template_button_click_0_listener","Item","notificationTemplate","clearForm","EmailNotificationCatalog","showApproveUnapprove","isModifier","tmpNotificationTemplate","Body","messageBody","Signature","Subject","messageSubject","disapproveReason","NotificationsDetailsComponent_Template","NotificationsDetailsComponent_Template_input_ngModelChange_6_listener","NotificationsDetailsComponent_Template_input_ngModelChange_12_listener","NotificationsDetailsComponent_Template_comments_box_textChanged_18_listener","NotificationsDetailsComponent_Template_comments_box_textChanged_22_listener","NotificationsDetailsComponent_button_26_Template","NotificationsDetailsComponent_button_27_Template","NotificationsDetailsComponent_button_29_Template","NotificationsDetailsComponent_button_30_Template","NotificationsDetailsComponent_button_31_Template","NotificationsDetailsComponent_button_32_Template","element_r4","NotificationsSideComponent_mat_row_10_Template_mat_row_click_0_listener","row_r5","loadNotificationTemplates","notificationTemplatesSubs","filterNotifications","notificationTemplates$","NotificationTemplates","notificationTemplates","notificationTemplatesFiltered","showInactiveNotificationTemplates","NotificationsSideComponent_Template","NotificationsSideComponent_Template_mat_slide_toggle_ngModelChange_2_listener","NotificationsSideComponent_Template_mat_slide_toggle_change_2_listener","NotificationsSideComponent_mat_header_cell_7_Template","NotificationsSideComponent_mat_cell_8_Template","NotificationsSideComponent_mat_header_row_9_Template","NotificationsSideComponent_mat_row_10_Template","NotificationsComponent_div_16_Template_mat_slide_toggle_ngModelChange_1_listener","NotificationsComponent_filter_box_23_Template_filter_box_changed_0_listener","NotificationsComponent_Query","NotificationsComponent_scroll_HostBindingHandler","NotificationsComponent_Template_button_click_3_listener","NotificationsComponent_div_16_Template","NotificationsComponent_Template_mat_sidenav_mouseenter_18_listener","NotificationsComponent_Template_mat_sidenav_mouseleave_18_listener","NotificationsComponent_mat_icon_22_Template","NotificationsComponent_filter_box_23_Template","NotificationsComponent_Template_notifications_side_loading_26_listener","NotificationsComponent_Template_notifications_side_selectedRow_26_listener","NotificationsComponent_overlay_loading_34_Template","NotificationService","getNotification","docId","parseInt","documentId","createNotification","notification","saveNotification","sendNotification","notificationMessage","NotificationTemplateRefresh","NotificationTemplateRefreshByID","NotificationTemplateCreate","NotificationTemplateUpdate","NotificationTemplateDelete","NotificationTemplateStateModel","NotificationTemplateState","NotificationTemplateActions","NotificationTemplateStoreAndListenersService","NOTIFICATIONS","CommentsBoxComponent","customTitle","updatedBy","OperationalRestrictionsComponent_mat_cell_7_div_2_Template","OperationalRestrictionsComponent_mat_cell_7_div_3_Template","OperationalRestrictionsComponent_mat_cell_7_div_4_Template","OperationalRestrictionsComponent_mat_cell_7_div_5_Template","OperationalRestrictionsComponent_mat_cell_7_div_6_Template","OperationalRestrictionsComponent_mat_cell_7_div_7_Template","OperationalRestrictionsComponent_mat_cell_7_div_8_Template","BeamlineRestrictions","BeamlineRestrictionsApprove","OperationalRestrictionsComponent_mat_header_cell_9_button_1_Template_button_click_0_listener","OperationalRestrictionsComponent_mat_header_cell_9_button_1_Template","OperationalRestrictionsComponent_mat_cell_10_button_1_Template_button_click_0_listener","OperationalRestrictionsComponent_mat_cell_10_button_2_Template_button_click_0_listener","ctx_r37","OperationalRestrictionsComponent_mat_cell_10_button_3_Template_button_click_0_listener","_r42","OperationalRestrictionsComponent_mat_cell_10_button_4_Template_button_click_0_listener","cancelDeletion","OperationalRestrictionsComponent_mat_cell_10_button_5_Template_button_click_0_listener","_r48","OperationalRestrictionsComponent_mat_cell_10_button_6_Template_button_click_0_listener","OperationalRestrictionsComponent_mat_cell_10_button_7_Template_button_click_0_listener","_r54","OperationalRestrictionsComponent_mat_cell_10_button_1_Template","OperationalRestrictionsComponent_mat_cell_10_button_2_Template","OperationalRestrictionsComponent_mat_cell_10_button_3_Template","OperationalRestrictionsComponent_mat_cell_10_button_4_Template","OperationalRestrictionsComponent_mat_cell_10_button_5_Template","OperationalRestrictionsComponent_mat_cell_10_button_6_Template","OperationalRestrictionsComponent_mat_cell_10_button_7_Template","createdByID","updatedByID","row_r55","isPending","OperationalRestrictionsComponent","math","loadBeamlineRestrictions","beamlineRestrictions$","beamlineRestrictionsSubs","beamlineRestrictions","beamlineRestrictionsFiltered","hasPending","beamlineRestriction","commentBox","editText","BeamlineRestrictionService","OperationalRestrictionsComponent_Query","OperationalRestrictionsComponent_mat_header_cell_3_Template","OperationalRestrictionsComponent_mat_cell_4_Template","OperationalRestrictionsComponent_mat_header_cell_6_Template","OperationalRestrictionsComponent_mat_cell_7_Template","OperationalRestrictionsComponent_mat_header_cell_9_Template","OperationalRestrictionsComponent_mat_cell_10_Template","OperationalRestrictionsComponent_mat_header_row_11_Template","OperationalRestrictionsComponent_mat_row_12_Template","OperationalRestrictionsComponent_Template_comments_box_textChanged_13_listener","OperationalRestrictionsComponent_Template_comments_box_cancelled_13_listener","tmp_7_0","getByBeamlineID","BeamlineRestrictionRefresh","BeamlineRestrictionRefreshByBeamlineID","BeamlineRestrictionCreate","BeamlineRestrictionUpdate","BeamlineRestrictionDelete","BeamlineRestrictionStateModel","BeamlineRestrictionState","newState","BeamlineRestrictionActions","BeamlineRestrictionStoreAndListenersService","BEAMLINE_RESTRICTIONS","rolePrivilege_r10","PrivilegesCatalogMainComponent_td_9_div_1_Template","privilegeCategory","loadRolePrivileges","rolePrivilegesSubs","rolePrivileges$","RolePrivileges","rolePrivileges","PrivilegesCatalogMainComponent_Template","PrivilegesCatalogMainComponent_th_5_Template","PrivilegesCatalogMainComponent_td_6_Template","PrivilegesCatalogMainComponent_th_8_Template","PrivilegesCatalogMainComponent_td_9_Template","PrivilegesCatalogMainComponent_tr_10_Template","PrivilegesCatalogMainComponent_tr_11_Template","PrivilegesCatalogTableComponent_mat_row_7_Template_mat_row_click_0_listener","rowClicked","privilegeCategoriesSubs","loadPrivilegeCategorys","privilegeCategories$","PrivilegeCategories","privilegeCategories","PrivilegesCatalogTableComponent_Template","PrivilegesCatalogTableComponent_mat_header_cell_4_Template","PrivilegesCatalogTableComponent_mat_cell_5_Template","PrivilegesCatalogTableComponent_mat_header_row_6_Template","PrivilegesCatalogTableComponent_mat_row_7_Template","PrivilegesCatalogComponent_filter_box_20_Template_filter_box_changed_0_listener","PrivilegesCatalogComponent_Template","PrivilegesCatalogComponent_Template_button_click_3_listener","PrivilegesCatalogComponent_h1_12_Template","PrivilegesCatalogComponent_Template_mat_sidenav_mouseenter_15_listener","PrivilegesCatalogComponent_Template_mat_sidenav_mouseleave_15_listener","PrivilegesCatalogComponent_mat_icon_19_Template","PrivilegesCatalogComponent_filter_box_20_Template","PrivilegesCatalogComponent_Template_privileges_catalog_table_rowSelected_23_listener","PrivilegesCatalogComponent_overlay_loading_29_Template","radLocationType_r5","radInterlock_r6","interlocks","RadMonitorAddEditLocationComponent","radInterlockIds","setInterlockIds","radLocation","radLocationInterlockRelations","radInterlockId","interlockId","radLocInterlockRelation","radLocationId","rpixName","summation","controllerLocation","controllerPower","resetLocation","tripsetA1","tripsetI1","tripset","RadMonitorAddEditLocationComponent_Template","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_11_listener","RadMonitorAddEditLocationComponent_mat_error_12_Template","RadMonitorAddEditLocationComponent_Template_mat_select_ngModelChange_16_listener","RadMonitorAddEditLocationComponent_mat_option_17_Template","RadMonitorAddEditLocationComponent_mat_error_18_Template","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_22_listener","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_26_listener","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_30_listener","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_34_listener","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_38_listener","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_42_listener","RadMonitorAddEditLocationComponent_Template_mat_select_ngModelChange_46_listener","RadMonitorAddEditLocationComponent_mat_option_47_Template","RadMonitorAddEditLocationComponent_mat_error_48_Template","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_52_listener","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_56_listener","RadMonitorAddEditLocationComponent_Template_input_ngModelChange_60_listener","RadMonitorAddEditLocationComponent_Template_button_click_63_listener","RadMonitorAddEditLocationComponent_Template_button_click_65_listener","radLocationTypes","radInterlocks","RadNoteComponent","noteForm","noteDescription","RadNoteComponent_Template","RadNoteComponent_Template_textarea_ngModelChange_11_listener","RadNoteComponent_mat_error_12_Template","RadNoteComponent_Template_button_click_15_listener","RadNoteComponent_Template_button_click_17_listener","inputLabel","RadLocation","RadLocationRefresh","element_r33","radLocationType","element_r36","element_r38","interlockNames","element_r42","RadMonitorLocationTabComponent_mat_cell_33_div_1_Template","RadMonitorLocationTabComponent_mat_cell_36_div_1_Template","RadMonitorLocationTabComponent_mat_cell_39_div_1_Template","RadMonitorLocationTabComponent_mat_cell_42_Template_notes_delete_1_listener","RadMonitorLocationTabComponent_mat_cell_42_Template_notes_delete_2_listener","element_r51","notesf","headerEMShop","RadMonitorLocationTabComponent_mat_cell_45_Template_mat_checkbox_ngModelChange_1_listener","element_r55","isEMShop","RadMonitorLocationTabComponent_mat_cell_45_Template_mat_checkbox_change_1_listener","setEMShop","RadMonitorLocationTabComponent_mat_cell_48_div_1_button_7_Template_button_click_0_listener","element_r59","locationDialog","RadMonitorLocationTabComponent_mat_cell_48_div_1_button_8_Template_button_click_0_listener","_r70","noteDialog","radNoteType","Normal","RadMonitorLocationTabComponent_mat_cell_48_div_1_button_9_Template_button_click_0_listener","RadMonitorLocationTabComponent_mat_cell_48_div_1_button_7_Template","RadMonitorLocationTabComponent_mat_cell_48_div_1_button_8_Template","RadMonitorLocationTabComponent_mat_cell_48_div_1_button_9_Template","EditRadLocation","CreateRadLocationNote","DeleteRadLocation","RadMonitorLocationTabComponent_mat_cell_48_div_1_Template","RadMonitorLocationTabComponent","radLocationService","radNoteService","radLocations","radLocationsFiltered","displayedColumnsRadMonitor","dataSourceRadLocation","tableWidth","loadLocationTypes","loadLocations","loadRadInterlocks","radLocationTypes$","RadLocationType","radLocTypeSubscription","radLocations$","radLocSubscription","setRadNotes","joinLocInterlockRelation","radInterlocks$","RadInterlock","radInterlockSubscription","dialogRefLoc","radLocationToSave","UpdateRadLocation","CreateRadLocation","radNote","CreateRadNote","deleteConfirmationMsg","Fault","DeleteRadNote","isSure","resolve","radLoc","radNotes","createdByUser","radMonitor","radMonitors","radMonitorId","ehs","radInterlock","locinterlockRelation","validateDisableEMShop","AddRadLocationEMShop","RadLocationService","RadNoteService","RadMonitorLocationTabComponent_Query","RadMonitorLocationTabComponent_Template_mat_table_matSortChange_3_listener","RadMonitorLocationTabComponent_mat_header_cell_5_Template","RadMonitorLocationTabComponent_mat_cell_6_Template","RadMonitorLocationTabComponent_mat_header_cell_8_Template","RadMonitorLocationTabComponent_mat_cell_9_Template","RadMonitorLocationTabComponent_mat_header_cell_11_Template","RadMonitorLocationTabComponent_mat_cell_12_Template","RadMonitorLocationTabComponent_mat_header_cell_14_Template","RadMonitorLocationTabComponent_mat_cell_15_Template","RadMonitorLocationTabComponent_mat_header_cell_17_Template","RadMonitorLocationTabComponent_mat_cell_18_Template","RadMonitorLocationTabComponent_mat_header_cell_20_Template","RadMonitorLocationTabComponent_mat_cell_21_Template","RadMonitorLocationTabComponent_mat_header_cell_23_Template","RadMonitorLocationTabComponent_mat_cell_24_Template","RadMonitorLocationTabComponent_mat_header_cell_26_Template","RadMonitorLocationTabComponent_mat_cell_27_Template","RadMonitorLocationTabComponent_mat_header_cell_29_Template","RadMonitorLocationTabComponent_mat_cell_30_Template","RadMonitorLocationTabComponent_mat_header_cell_32_Template","RadMonitorLocationTabComponent_mat_cell_33_Template","RadMonitorLocationTabComponent_mat_header_cell_35_Template","RadMonitorLocationTabComponent_mat_cell_36_Template","RadMonitorLocationTabComponent_mat_header_cell_38_Template","RadMonitorLocationTabComponent_mat_cell_39_Template","RadMonitorLocationTabComponent_mat_header_cell_41_Template","RadMonitorLocationTabComponent_mat_cell_42_Template","RadMonitorLocationTabComponent_mat_header_cell_44_Template","RadMonitorLocationTabComponent_mat_cell_45_Template","RadMonitorLocationTabComponent_mat_header_cell_47_Template","RadMonitorLocationTabComponent_mat_cell_48_Template","RadMonitorLocationTabComponent_mat_header_row_49_Template","RadMonitorLocationTabComponent_mat_row_50_Template","radLocation_r6","getRadLocationWithTypeByRadLocation","calDueDate","RadMonitorAddEditMonitorComponent","installedDate","mfr","getDefaultModel","defaultValue","radLocationID","manufacturer","RadMonitorAddEditMonitorComponent_Template","RadMonitorAddEditMonitorComponent_Template_input_ngModelChange_12_listener","RadMonitorAddEditMonitorComponent_mat_error_13_Template","RadMonitorAddEditMonitorComponent_Template_mat_select_ngModelChange_17_listener","RadMonitorAddEditMonitorComponent_mat_option_18_Template","RadMonitorAddEditMonitorComponent_mat_error_19_Template","RadMonitorAddEditMonitorComponent_Template_input_ngModelChange_23_listener","RadMonitorAddEditMonitorComponent_Template_input_ngModelChange_27_listener","RadMonitorAddEditMonitorComponent_Template_input_ngModelChange_31_listener","RadMonitorAddEditMonitorComponent_mat_error_35_Template","RadMonitorAddEditMonitorComponent_Template_input_ngModelChange_39_listener","RadMonitorAddEditMonitorComponent_Template_button_click_45_listener","RadMonitorAddEditMonitorComponent_Template_button_click_47_listener","RadMonitor","element_r32","RadMonitorTabComponent_mat_cell_33_div_1_Template","RadMonitorTabComponent_mat_cell_36_Template_notes_delete_1_listener","RadMonitorTabComponent_mat_cell_36_Template_notes_delete_2_listener","RadMonitorTabComponent_mat_cell_39_div_1_button_6_Template_button_click_0_listener","monitorDialog","RadMonitorTabComponent_mat_cell_39_div_1_button_7_Template_button_click_0_listener","RadMonitorTabComponent_mat_cell_39_div_1_button_8_Template_button_click_0_listener","RadMonitorTabComponent_mat_cell_39_div_1_button_9_Template_button_click_0_listener","deleteMonitor","RadMonitorTabComponent_mat_cell_39_div_1_button_6_Template","RadMonitorTabComponent_mat_cell_39_div_1_button_7_Template","RadMonitorTabComponent_mat_cell_39_div_1_button_8_Template","RadMonitorTabComponent_mat_cell_39_div_1_button_9_Template","EditRadMonitor","CreateRadMonitorNote","CreateRadMonitorFaultNote","DeleteRadMonitor","RadMonitorTabComponent_mat_cell_39_div_1_Template","ɵɵstyleProp","row_r63","RadMonitorTabComponent","radMonitorService","radMonitorsFiltered","radMonitorTypes","radMonitorDescriptions","dataSourceRadMonitor","radMonitorSubscription","radMonitorTypeSubscription","radMonitorDescSubscription","loadRadMonitors","radMonitors$","sortCalDueDate","radMonitorToSave","UpdateRadMonitor","CreateRadMonitor","msg","currentDate","isSameOrBefore","diff","radMonitorType","radMonitorDescription","RadMonitorService","RadMonitorTabComponent_Query","RadMonitorTabComponent_Template_mat_table_matSortChange_3_listener","RadMonitorTabComponent_mat_header_cell_5_Template","RadMonitorTabComponent_mat_cell_6_Template","RadMonitorTabComponent_mat_header_cell_8_Template","RadMonitorTabComponent_mat_cell_9_Template","RadMonitorTabComponent_mat_header_cell_11_Template","RadMonitorTabComponent_mat_cell_12_Template","RadMonitorTabComponent_mat_header_cell_14_Template","RadMonitorTabComponent_mat_cell_15_Template","RadMonitorTabComponent_mat_header_cell_17_Template","RadMonitorTabComponent_mat_cell_18_Template","RadMonitorTabComponent_mat_header_cell_20_Template","RadMonitorTabComponent_mat_cell_21_Template","RadMonitorTabComponent_mat_header_cell_23_Template","RadMonitorTabComponent_mat_cell_24_Template","RadMonitorTabComponent_mat_header_cell_26_Template","RadMonitorTabComponent_mat_cell_27_Template","RadMonitorTabComponent_mat_header_cell_29_Template","RadMonitorTabComponent_mat_cell_30_Template","RadMonitorTabComponent_mat_header_cell_32_Template","RadMonitorTabComponent_mat_cell_33_Template","RadMonitorTabComponent_mat_header_cell_35_Template","RadMonitorTabComponent_mat_cell_36_Template","RadMonitorTabComponent_mat_header_cell_38_Template","RadMonitorTabComponent_mat_cell_39_Template","RadMonitorTabComponent_mat_header_row_40_Template","RadMonitorTabComponent_mat_row_41_Template","RadMonitorSettingsComponent","RadMonitorComponent_a_14_Template_a_click_0_listener","link_r11","RadMonitorComponent_filter_box_21_Template_filter_box_changed_0_listener","RadMonitorComponent_mat_list_item_25_Template_mat_list_item_click_0_listener","RadMonitorComponent_mat_list_item_25_span_1_Template","RadMonitorComponent_mat_list_item_26_Template_mat_list_item_click_0_listener","createLocation","RadMonitorComponent_mat_list_item_26_span_1_Template","RadMonitorComponent_mat_list_item_27_Template_mat_list_item_click_0_listener","RadMonitorComponent_mat_list_item_27_span_1_Template","RadMonitorComponent_rad_monitor_tab_31_Template_rad_monitor_tab_loading_0_listener","RadMonitorComponent_rad_monitor_location_tab_32_Template_rad_monitor_location_tab_loading_0_listener","monitors","RadMonitorComponent_Query","RadMonitorComponent_Template_button_click_3_listener","RadMonitorComponent_a_14_Template","RadMonitorComponent_Template_mat_sidenav_mouseenter_16_listener","RadMonitorComponent_Template_mat_sidenav_mouseleave_16_listener","RadMonitorComponent_mat_icon_20_Template","RadMonitorComponent_filter_box_21_Template","RadMonitorComponent_mat_list_item_25_Template","RadMonitorComponent_mat_list_item_26_Template","RadMonitorComponent_mat_list_item_27_Template","RadMonitorComponent_rad_monitor_tab_31_Template","RadMonitorComponent_rad_monitor_location_tab_32_Template","RadMonitorComponent_overlay_loading_34_Template","RadMonitorSettings","RadMonitorAddEditPrivilegeComponent","RadMonitorAddEditRadLocationTypeComponent","RadMonitorAddEditRadInterlockComponent","CalDueDateStatus","RadInterlockService","GetRadInterlocks","GetRadInterlockRelations","GetRadInterlockById","CreateRadInterlock","UpdateRadInterlock","UpdateRadInterlocks","DeleteRadInterlock","RadLocationTypeService","GetRadLocationTypes","GetRadLocationTypeById","CreateRadLocationType","UpdateRadLocationType","UpdateRadLocationTypes","DeleteRadLocationType","GetRadLocations","GetRadLocationById","BehaviorSubject","WfTaskLocalResource","placeholdersService","incomingMonitor","outgoingMonitor","GetRadMonitors","GetRadMonitorById","SwapRadMonitors","inId","findRadMonitor","wfStepLocals","RadMonitorIncoming","RadMonitorOutgoing","storedValues","stringValue","getIncomingMonitor","asObservable","setIncomingMonitor","incomingMonitorValue","next","getOutgoingMonitor","setOutgoingMonitor","outgoingMonitorValue","setKeyValuePairs","monitor","PlaceholdersService","GetRadNotes","GetRadNoteById","UpdateRadNote","Role","RadMonitorAddEditPrivilegeComponent_div_2_mat_chip_row_9_Template_mat_chip_row_removed_0_listener","rolePrivilege_r7","radMonitorPrivilege_r2","privilegeId","RadMonitorAddEditPrivilegeComponent_div_2_mat_chip_row_9_mat_icon_2_Template","removable","role_r12","RadMonitorAddEditPrivilegeComponent_div_2_mat_chip_row_9_Template","RadMonitorAddEditPrivilegeComponent_div_2_Template_input_matChipInputTokenEnd_10_listener","RadMonitorAddEditPrivilegeComponent_div_2_Template_input_keyup_10_listener","RadMonitorAddEditPrivilegeComponent_div_2_Template_mat_autocomplete_optionSelected_11_listener","RadMonitorAddEditPrivilegeComponent_div_2_mat_option_13_Template","rolePrivilegeService","radMonitorPrivileges","saving","selectable","addOnBlur","getRadMonitorPrivileges","rolePrivilege","createRolePrivilege","rolePrivilegeCreated","radMonitorPrivilege","deleteRolePrivilege","RolePrivilegeService","RadMonitorAddEditPrivilegeComponent_Template","RadMonitorAddEditPrivilegeComponent_mat_progress_bar_0_Template","RadMonitorAddEditPrivilegeComponent_div_2_Template","PrivilegeManagement","RadMonitorAddEditRadInterlockComponent_mat_cell_8_mat_form_field_2_Template_input_ngModelChange_1_listener","preName","RadMonitorAddEditRadInterlockComponent_mat_cell_8_div_1_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_8_mat_form_field_2_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_11_input_2_Template_input_ngModelChange_0_listener","preDefaultValue","RadMonitorAddEditRadInterlockComponent_mat_cell_11_div_1_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_11_input_2_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_14_button_2_Template_button_click_0_listener","discardChanges","RadMonitorAddEditRadInterlockComponent_mat_cell_14_button_3_Template_button_click_0_listener","RadMonitorAddEditRadInterlockComponent_mat_cell_14_button_4_Template_button_click_0_listener","saveChanges","RadMonitorAddEditRadInterlockComponent_mat_cell_14_button_2_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_14_button_3_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_14_button_4_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_14_Template_button_click_5_listener","_r38","deleteDisabled","displayedColumnsRadManagement","dataSourceRadManagement","loadRadLocationInterlockRelations","radInterlocksSubs","radLocationInterlockRelations$","RadLocationInterlockRelation","radLocationInterlockRelationsSubs","radManagement","RadMonitorAddEditRadInterlockComponent_Template","RadMonitorAddEditRadInterlockComponent_mat_header_cell_7_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_8_Template","RadMonitorAddEditRadInterlockComponent_mat_header_cell_10_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_11_Template","RadMonitorAddEditRadInterlockComponent_mat_header_cell_13_Template","RadMonitorAddEditRadInterlockComponent_mat_cell_14_Template","RadMonitorAddEditRadInterlockComponent_mat_header_row_15_Template","RadMonitorAddEditRadInterlockComponent_mat_row_16_Template","RadMonitorAddEditRadInterlockComponent_Template_input_ngModelChange_23_listener","RadMonitorAddEditRadInterlockComponent_Template_button_click_25_listener","RadManagement","RadMonitorAddEditRadLocationTypeComponent_mat_cell_8_mat_form_field_2_Template_input_ngModelChange_1_listener","RadMonitorAddEditRadLocationTypeComponent_mat_cell_8_div_1_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_8_mat_form_field_2_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_11_input_2_Template_input_ngModelChange_0_listener","RadMonitorAddEditRadLocationTypeComponent_mat_cell_11_div_1_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_11_input_2_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_button_2_Template_button_click_0_listener","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_button_3_Template_button_click_0_listener","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_button_4_Template_button_click_0_listener","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_button_2_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_button_3_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_button_4_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_Template_button_click_5_listener","loadRadLocations","loadRadLocationTypes","radLocationTypesSubs","radLocationsSubs","RadMonitorAddEditRadLocationTypeComponent_Template","RadMonitorAddEditRadLocationTypeComponent_mat_header_cell_7_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_8_Template","RadMonitorAddEditRadLocationTypeComponent_mat_header_cell_10_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_11_Template","RadMonitorAddEditRadLocationTypeComponent_mat_header_cell_13_Template","RadMonitorAddEditRadLocationTypeComponent_mat_cell_14_Template","RadMonitorAddEditRadLocationTypeComponent_mat_header_row_15_Template","RadMonitorAddEditRadLocationTypeComponent_mat_row_16_Template","RadMonitorAddEditRadLocationTypeComponent_Template_input_ngModelChange_23_listener","RadMonitorAddEditRadLocationTypeComponent_Template_button_click_25_listener","RadMonitorSettingsComponent_Template","RadMonitorSettingsComponent_Template_button_click_4_listener","RadLocationInterlockRelationRefresh","RadLocationInterlockRelationCreate","RadLocationInterlockRelationUpdate","RadLocationInterlockRelationDelete","RadLocationInterlockRelationStateModel","RadLocationInterlockRelationState","radLocationInterlockRelationService","RadLocationInterlockRelationActions","RadLocationInterlockRelationStoreAndListenersService","RADINTERLOCKRELATION","RadInterlockRefresh","RadInterlockCreate","RadInterlockUpdate","RadInterlockDelete","RadInterlockStateModel","RadInterlockState","radInterlockService","RadInterlockActions","RadInterlockStoreAndListenersService","RADINTERLOCK","RadLocationTypeRefresh","RadLocationTypeCreate","RadLocationTypeUpdate","RadLocationTypeDelete","RadLocationTypeStateModel","RadLocationTypeState","radLocationTypeService","RadLocationTypeActions","RadLocationTypetoreAndListenersService","RADLOCATIONTYPE","RadLocationCreate","RadLocationUpdate","RadLocationDelete","RadLocationStateModel","RadLocationState","RadLocationActions","RadLocationStoreAndListenersService","RADLOCATION","RadMonitorRefresh","RadMonitorCreate","RadMonitorUpdate","RadMonitorDelete","RadMonitorStateModel","RadMonitorState","RadMonitorActions","RadMonitorStoreAndListenersService","RADMONITOR","AddUserRoleNoteComponent","formNote","noteId","initForm","onSubmit","desc","userRoleNote","AddUserRoleNoteComponent_Template","AddUserRoleNoteComponent_mat_error_8_Template","AddUserRoleNoteComponent_Template_button_click_10_listener","AddUserRoleNoteComponent_Template_button_click_12_listener","transferArrayItem","ProcedureObligationType","ProcedureTraining","ProcedureTrainingRefresh","RoleUserComponent","ProcedureMaster","PendingApprovalsRefresh","modifyingCatalogs","roleModified","status_r29","RoleDetailsComponent_mat_select_18_Template_mat_select_ngModelChange_0_listener","tmpStatus","RoleDetailsComponent_mat_select_18_Template_mat_select_selectionChange_0_listener","changeStatusRole","RoleDetailsComponent_mat_select_18_mat_option_1_Template","isOnlyPTC","RoleDetailsComponent_mat_select_19_Template_mat_select_ngModelChange_0_listener","RoleDetailsComponent_button_63_Template_button_click_0_listener","deleteRole","dataSourceRoleUsers","RoleDetailsComponent_mat_cell_75_mat_icon_1_Template","dragEnabled","note_r42","RoleDetailsComponent_mat_cell_78_label_1_Template","RoleDetailsComponent_ng_container_79_mat_cell_2_mat_list_item_2_mat_icon_1_Template_mat_icon_click_0_listener","note_r47","openNoteEditor","RoleDetailsComponent_ng_container_79_mat_cell_2_mat_list_item_2_mat_icon_2_Template_mat_icon_click_0_listener","RoleDetailsComponent_ng_container_79_mat_cell_2_mat_list_item_2_mat_icon_1_Template","RoleDetailsComponent_ng_container_79_mat_cell_2_mat_list_item_2_mat_icon_2_Template","RoleDetailsComponent_ng_container_79_mat_cell_2_mat_list_item_2_mat_divider_3_Template","RoleDetailsComponent_ng_container_79_mat_cell_2_mat_list_item_2_Template","RoleDetailsComponent_ng_container_79_mat_header_cell_1_Template","RoleDetailsComponent_ng_container_79_mat_cell_2_Template","RoleDetailsComponent_mat_header_cell_81_mat_icon_1_Template_mat_icon_click_0_listener","openAddRoleUser","RoleDetailsComponent_mat_header_cell_81_mat_icon_1_Template","RoleDetailsComponent_mat_header_cell_81_mat_icon_2_Template","_r66","RoleDetailsComponent_mat_cell_82_button_5_Template_button_click_0_listener","element_r64","RoleDetailsComponent_mat_cell_82_button_2_Template","RoleDetailsComponent_mat_cell_82_button_5_Template","RoleDetailsComponent_mat_cell_82_Template_button_click_6_listener","deleteRoleUser","Trainings","ctx_r75","e_r84","procedureMaster","procedure","procedureNumber","RoleDetailsComponent_mat_tab_90_mat_cell_10_Template_mat_select_selectionChange_1_listener","_r87","ctx_r86","updateTraining","RoleDetailsComponent_mat_tab_90_mat_cell_10_Template_mat_select_ngModelChange_1_listener","e_r85","obligationType","RoleDetailsComponent_mat_tab_90_mat_cell_13_Template_button_click_1_listener","_r91","e_r89","ctx_r90","deleteTraining","RoleDetailsComponent_mat_tab_90_procedure_autocomplete_16_Template_procedure_autocomplete_select_0_listener","_r95","ctx_r94","createTraining","ctx_r83","selectedProcedures","RoleDetailsComponent_mat_tab_90_ng_template_1_Template","RoleDetailsComponent_mat_tab_90_mat_header_cell_6_Template","RoleDetailsComponent_mat_tab_90_mat_cell_7_Template","RoleDetailsComponent_mat_tab_90_mat_header_cell_9_Template","RoleDetailsComponent_mat_tab_90_mat_cell_10_Template","RoleDetailsComponent_mat_tab_90_mat_header_cell_12_Template","RoleDetailsComponent_mat_tab_90_mat_cell_13_Template","RoleDetailsComponent_mat_tab_90_mat_header_row_14_Template","RoleDetailsComponent_mat_tab_90_mat_row_15_Template","RoleDetailsComponent_mat_tab_90_procedure_autocomplete_16_Template","_c8","procedureTrainingsDS","trainingColumns","RoleDetailsComponent_div_93_button_1_Template_button_click_0_listener","_r99","ctx_r98","RoleDetailsComponent_div_93_button_2_Template_button_click_0_listener","cancelPendingChanges","RoleDetailsComponent_div_93_button_1_Template","RoleDetailsComponent_div_93_button_2_Template","showRoleModified","showCancelPending","RoleDetailsComponent_button_95_Template_button_click_0_listener","_r103","modifyRole","RoleDetailsComponent_button_96_Template_button_click_0_listener","saveRole","RoleDetailsComponent_button_97_Template_button_click_0_listener","_r107","ctx_r106","RoleDetailsComponent_button_98_Template_button_click_0_listener","_r109","ctx_r108","RoleDetailsComponent","_roleService","procedureTrainingService","tokenService","refreshRoles","restoreRole","roleCreated","modifyingAsPTC","showTabRoles","selectingUserRole","statusInactive","displayedColumnsRoleUsers","procedureTrainingAdmin","notesList","setAvailableOptions","loadTrainings","loadProcedures","procedureTraining$","procedureTrainings","setTrainingDS","ALSProcedureTrainingAdmin","procedures$","Procedures","proceduresSubs","procedures","aplGroupRole","tmpRoleCode","tmpPerformingWork","performingWork","tmpTrainingRole","trainingRole","tmpName","tmpInformation","pendingTrainings","updatedByUser","rolePrivilegesPending","catalogs","isPC","ValidateCategoryManagerCanApprove","ValidateGroupManagerCanApprove","ValidateProcedureTrainingCoordinatorCanApprove","onShowRoleModified","setActiveTab","getUsersOrderedWithOrderField","oldRoleCode","oldRoleName","previousContainer","container","reorderRoleUserData","sortDataSourceOrderByUserRoleId","setUserRolesOrder","maximumOrder","categoryManager","setApproveUnnapprove","groupManager","ptc","newProcedureTraining","procedureMasterID","RequiredFollowUp","procedureTrainingsRole","procedureTraining","setTemplate","procedureTemplateMaster","createFromTemplate","roleALSPCSupervisors","roleALSPCDesignees","training","createRole","restoreInfo","modifyRolePrivileges","modifyingRolePrivileges","endModifyRolePrivileges","aplCategoryIDChanged","aplGroupIDChanged","trainingsToSend","getTrainingsModified","trainings","fieldRepeatedRoleCode","fieldRepeatedRoleName","item1","item2","addUserRole","isUserRoleRepeated","roleUsers","removeClass","originalRole","approvedByID","approvedDate","ReadOne","keydown","keyCode","getGroupManagers","getCategoryManagers","getProcedureCenterCoordinators","updateNote","createNoteInCatalog","userRoleID","noteData","setRolePrivilegesPending","roleChanged","relatedLinksChanged","RoleService","ProcedureTrainingService","RoleDetailsComponent_Query","RoleDetailsComponent_ng_template_4_Template","RoleDetailsComponent_Template_input_ngModelChange_12_listener","RoleDetailsComponent_mat_select_18_Template","RoleDetailsComponent_mat_select_19_Template","RoleDetailsComponent_Template_mat_slide_toggle_ngModelChange_22_listener","RoleDetailsComponent_Template_mat_slide_toggle_change_22_listener","RoleDetailsComponent_Template_mat_slide_toggle_ngModelChange_25_listener","RoleDetailsComponent_Template_mat_slide_toggle_change_25_listener","RoleDetailsComponent_Template_input_ngModelChange_31_listener","RoleDetailsComponent_Template_input_change_31_listener","RoleDetailsComponent_Template_textarea_ngModelChange_37_listener","RoleDetailsComponent_Template_textarea_keydown_37_listener","RoleDetailsComponent_Template_textarea_change_37_listener","RoleDetailsComponent_Template_apl_category_autocomplete_aplCategoryIDChange_42_listener","RoleDetailsComponent_Template_apl_group_autocomplete_aplGroupIDChange_49_listener","RoleDetailsComponent_Template_related_link_chips_onEdited_61_listener","RoleDetailsComponent_button_63_Template","RoleDetailsComponent_p_64_Template","RoleDetailsComponent_ng_template_66_Template","RoleDetailsComponent_Template_mat_table_cdkDropListDropped_69_listener","RoleDetailsComponent_mat_header_cell_74_Template","RoleDetailsComponent_mat_cell_75_Template","RoleDetailsComponent_mat_header_cell_77_Template","RoleDetailsComponent_mat_cell_78_Template","RoleDetailsComponent_ng_container_79_Template","RoleDetailsComponent_mat_header_cell_81_Template","RoleDetailsComponent_mat_cell_82_Template","RoleDetailsComponent_mat_header_row_83_Template","RoleDetailsComponent_mat_row_84_Template","RoleDetailsComponent_ng_template_86_Template","RoleDetailsComponent_Template_role_privilege_rolePrivilegesPending_89_listener","RoleDetailsComponent_mat_tab_90_Template","RoleDetailsComponent_div_93_Template","RoleDetailsComponent_button_95_Template","RoleDetailsComponent_button_96_Template","RoleDetailsComponent_button_97_Template","RoleDetailsComponent_button_98_Template","tmp_8_0","tmp_15_0","tmp_17_0","tmp_34_0","elem_r8","elem_r9","RolePrivilegeAddComponent","loadPrivilegeCategories","privilegeCategoriesFiltered","changedCategory","changedPrivilege","privilegesFiltered","selectedPriv","RolePrivilegeAddComponent_Template","RolePrivilegeAddComponent_Template_input_keyup_10_listener","RolePrivilegeAddComponent_Template_mat_autocomplete_optionSelected_12_listener","RolePrivilegeAddComponent_mat_option_15_Template","RolePrivilegeAddComponent_Template_input_keyup_19_listener","RolePrivilegeAddComponent_Template_mat_autocomplete_optionSelected_21_listener","RolePrivilegeAddComponent_mat_option_24_Template","RolePrivilegeAddComponent_Template_button_click_26_listener","RolePrivilegeAddComponent_Template_button_click_28_listener","PrivilegeCategoryRefresh","isFirstElem","getRowSpan","privilegeObj","RolePrivilegeComponent_th_10_mat_icon_1_Template_mat_icon_click_0_listener","openAddRolePrivilege","RolePrivilegeComponent_th_10_mat_icon_1_Template","RolePrivilegeComponent_th_10_mat_icon_2_Template","RolePrivilegeComponent_td_11_button_1_Template_button_click_0_listener","RolePrivilegeComponent_td_11_button_1_Template","RolePrivilegeComponent","showChangesPending","privilegesSubs","loadPrivileges","privileges$","Privileges","sortByMultipleFields","rolePrivilegesOriginal","privilegeCategoryID","privilegesJson","dialogData","RolePrivilegeComponent_Template","RolePrivilegeComponent_th_4_Template","RolePrivilegeComponent_td_5_Template","RolePrivilegeComponent_th_7_Template","RolePrivilegeComponent_td_8_Template","RolePrivilegeComponent_th_10_Template","RolePrivilegeComponent_td_11_Template","RolePrivilegeComponent_tr_12_Template","RolePrivilegeComponent_tr_13_Template","RoleUserComponent_mat_option_12_Template_mat_option_onSelectionChange_0_listener","user_r2","getUserSelected","source","isSelected","RoleUserComponent_Template","RoleUserComponent_Template_input_keyup_9_listener","RoleUserComponent_mat_option_12_Template","RoleUserComponent_Template_button_click_17_listener","RoleUserComponent_Template_button_click_20_listener","RolesListComponent_mat_row_20_Template_mat_row_click_0_listener","getRoleInfo","rowHighlighted","RolesListComponent","clearEvent","displayedColumnsRoles","paramRoleID","PC","selectParam","pendingRole","roleCreatedCode","showRolesInactive","setOriginalRole","RolesListComponent_Query","RolesListComponent_Template_mat_slide_toggle_ngModelChange_3_listener","RolesListComponent_Template_mat_slide_toggle_change_3_listener","RolesListComponent_mat_header_cell_8_Template","RolesListComponent_mat_cell_9_Template","RolesListComponent_mat_header_cell_11_Template","RolesListComponent_mat_cell_12_Template","RolesListComponent_mat_header_cell_14_Template","RolesListComponent_mat_cell_15_Template","RolesListComponent_mat_header_cell_17_Template","RolesListComponent_mat_cell_18_Template","RolesListComponent_mat_header_row_19_Template","RolesListComponent_mat_row_20_Template","RolesComponent_div_18_mat_slide_toggle_1_Template_mat_slide_toggle_ngModelChange_0_listener","RolesComponent_div_18_mat_slide_toggle_1_Template_mat_slide_toggle_change_0_listener","RolesComponent_div_18_mat_slide_toggle_1_Template","RolesComponent_filter_box_25_Template_filter_box_changed_0_listener","RolesComponent_mat_list_item_32_Template_mat_list_item_click_0_listener","RolesComponent_mat_list_item_32_span_1_Template","roleDetails","RolesComponent_Query","RolesComponent_Template_button_click_3_listener","RolesComponent_h1_12_Template","RolesComponent_span_13_Template","RolesComponent_span_15_Template","RolesComponent_span_16_Template","RolesComponent_span_17_Template","RolesComponent_div_18_Template","RolesComponent_Template_mat_sidenav_mouseenter_20_listener","RolesComponent_Template_mat_sidenav_mouseleave_20_listener","RolesComponent_mat_icon_24_Template","RolesComponent_filter_box_25_Template","RolesComponent_Template_app_roles_list_loading_28_listener","RolesComponent_Template_app_roles_list_rowSelected_28_listener","RolesComponent_Template_app_roles_list_clearEvent_28_listener","RolesComponent_mat_list_item_32_Template","RolesComponent_Template_app_role_details_refreshRoles_36_listener","RolesComponent_Template_app_role_details_restoreRole_36_listener","RolesComponent_Template_app_role_details_roleCreated_36_listener","RolesComponent_overlay_loading_39_Template","Post","Put","RoleRefresh","RoleCreate","RoleUpdate","RoleDelete","RoleStateModel","RoleState","roleService","RoleActions","RoleStoreAndListenersService","ROLE","rssd_r3","RssdListMainComponent_div_0_div_7_Template","resource_r1","displayName","getRSSDs","RssdListMainComponent_Template","RssdListMainComponent_div_0_Template","RssdListSideComponent_mat_row_10_Template_mat_row_click_0_listener","rowsFiltered","createDataSource","hasRSSDs","rowUnselected","unselect","formatLocationNames","locationNames","RssdListSideComponent_Query","RssdListSideComponent_mat_header_cell_4_Template","RssdListSideComponent_mat_cell_5_Template","RssdListSideComponent_mat_header_cell_7_Template","RssdListSideComponent_mat_cell_8_Template","RssdListSideComponent_mat_header_row_9_Template","RssdListSideComponent_mat_row_10_Template","RssdListComponent_filter_box_22_Template_filter_box_changed_0_listener","changeToggle","RssdListComponent_Query","RssdListComponent_scroll_HostBindingHandler","RssdListComponent_Template_button_click_3_listener","RssdListComponent_Template_mat_sidenav_mouseenter_17_listener","RssdListComponent_Template_mat_sidenav_mouseleave_17_listener","RssdListComponent_mat_icon_21_Template","RssdListComponent_filter_box_22_Template","RssdListComponent_Template_rssd_list_side_rowSelected_25_listener","RssdListComponent_Template_rssd_list_side_rowsFiltered_25_listener","RssdListComponent_Template_rssd_list_side_loading_25_listener","RssdListComponent_overlay_loading_32_Template","ScheduleSubtypesRefresh","acronymCtrl","graceTimeCtrl","dueDateCtrl","dateFormatCtrl","documentType_r19","procedureType_r20","ScheduleSubtypesDetailsComponent_mat_chip_row_76_Template_mat_chip_row_removed_0_listener","item_r21","resourceType_r24","ScheduleSubtypesDetailsComponent_button_98_Template_button_click_0_listener","ScheduleSubtypesDetailsComponent_button_99_Template_button_click_0_listener","ScheduleSubtypesDetailsComponent_button_101_Template_button_click_0_listener","ScheduleSubtypesDetailsComponent_button_102_Template_button_click_0_listener","ScheduleSubtypesDetailsComponent","activeToggleCtrl","tabsToggleCtrl","documentTypeCtrl","templateTypeCtrl","customToggleCtrl","today","now","loadProcedureTypes","loadResourceTypes","loadScheduleTypes","loadTemplateTypes","loadSchedules","procedureTypesSubs","resourceTypesSubs","templateTypesSubs","scheduleSubtypeTemp","scheduleTypeId","acronym","graceTime","nextDueDateTime","allowCustomSchedules","getRelatedInfo","getTemplateType","getSchedules","schedules$","Schedules","schedulesSubs","changedResourceType","autoInput","selectedProcedureType","ScheduleSubTypeService","ScheduleSubtypesDetailsComponent_Query","ScheduleSubtypesDetailsComponent_mat_error_8_Template","ScheduleSubtypesDetailsComponent_mat_error_14_Template","ScheduleSubtypesDetailsComponent_mat_error_20_Template","ScheduleSubtypesDetailsComponent_mat_error_32_Template","ScheduleSubtypesDetailsComponent_mat_error_40_Template","ScheduleSubtypesDetailsComponent_Template_input_ngModelChange_47_listener","ScheduleSubtypesDetailsComponent_mat_error_48_Template","ScheduleSubtypesDetailsComponent_mat_option_63_Template","ScheduleSubtypesDetailsComponent_Template_mat_select_selectionChange_68_listener","ScheduleSubtypesDetailsComponent_mat_option_69_Template","ScheduleSubtypesDetailsComponent_mat_chip_row_76_Template","ScheduleSubtypesDetailsComponent_Template_input_keyup_77_listener","ScheduleSubtypesDetailsComponent_Template_mat_autocomplete_optionSelected_79_listener","ScheduleSubtypesDetailsComponent_mat_option_82_Template","ScheduleSubtypesDetailsComponent_div_94_Template","ScheduleSubtypesDetailsComponent_button_98_Template","ScheduleSubtypesDetailsComponent_button_99_Template","ScheduleSubtypesDetailsComponent_button_101_Template","ScheduleSubtypesDetailsComponent_button_102_Template","documentType_r21","procedureType_r22","ScheduleTypesDetailsComponent_mat_chip_row_78_Template_mat_chip_row_removed_0_listener","item_r23","resourceType_r26","ScheduleTypesDetailsComponent_button_97_Template_button_click_0_listener","ScheduleTypesDetailsComponent_button_98_Template_button_click_0_listener","disableDelete","ScheduleTypesDetailsComponent_button_101_Template_button_click_0_listener","ScheduleTypesDetailsComponent_button_102_Template_button_click_0_listener","ScheduleTypesDetailsComponent","selectedScheduleSubtype","pattern","scheduleTypeTemp","createSubtype","ScheduleTypeService","ScheduleTypesDetailsComponent_Query","ScheduleTypesDetailsComponent_mat_error_8_Template","ScheduleTypesDetailsComponent_mat_error_14_Template","ScheduleTypesDetailsComponent_mat_error_20_Template","ScheduleTypesDetailsComponent_mat_error_32_Template","ScheduleTypesDetailsComponent_mat_error_40_Template","ScheduleTypesDetailsComponent_Template_input_ngModelChange_47_listener","ScheduleTypesDetailsComponent_mat_error_48_Template","ScheduleTypesDetailsComponent_div_58_Template","ScheduleTypesDetailsComponent_mat_option_65_Template","ScheduleTypesDetailsComponent_mat_option_71_Template","ScheduleTypesDetailsComponent_mat_chip_row_78_Template","ScheduleTypesDetailsComponent_Template_input_keyup_79_listener","ScheduleTypesDetailsComponent_Template_mat_autocomplete_optionSelected_81_listener","ScheduleTypesDetailsComponent_mat_option_84_Template","ScheduleTypesDetailsComponent_mat_form_field_92_Template","ScheduleTypesDetailsComponent_div_93_Template","ScheduleTypesDetailsComponent_button_97_Template","ScheduleTypesDetailsComponent_button_98_Template","ScheduleTypesDetailsComponent_button_101_Template","ScheduleTypesDetailsComponent_button_102_Template","trigger","transition","innerColumn_r19","ScheduleTypesListComponent_mat_cell_16_div_1_ng_container_4_mat_cell_1_Template","ScheduleTypesListComponent_mat_cell_16_div_1_mat_row_5_Template_mat_row_click_0_listener","seletedSubtype","selectedScheduleSubtypeIndex","ScheduleTypesListComponent_mat_cell_16_div_1_ng_container_4_Template","ScheduleTypesListComponent_mat_cell_16_div_1_mat_row_5_Template","selectedScheduleTypeIndex","scheduleSubtypesTable","innerDisplayedColumns","ScheduleTypesListComponent_mat_cell_16_div_1_Template","ScheduleTypesListComponent_mat_row_18_Template_mat_row_click_0_listener","toggleRow","ScheduleTypesListComponent","selectedScheduleType","filterDataSource","scheduleTypesTable","scheduleTypesNested","showInactiveItems","innerTables","table","innerSort","toArray","ScheduleTypesListComponent_Query","ScheduleTypesListComponent_Template_mat_slide_toggle_ngModelChange_2_listener","ScheduleTypesListComponent_Template_mat_slide_toggle_change_2_listener","ScheduleTypesListComponent_mat_header_cell_7_Template","ScheduleTypesListComponent_mat_cell_8_Template","ScheduleTypesListComponent_mat_header_cell_10_Template","ScheduleTypesListComponent_mat_cell_11_Template","ScheduleTypesListComponent_mat_header_cell_13_Template","ScheduleTypesListComponent_mat_cell_14_Template","ScheduleTypesListComponent_mat_cell_16_Template","ScheduleTypesListComponent_mat_header_row_17_Template","ScheduleTypesListComponent_mat_row_18_Template","ScheduleTypesListComponent_mat_row_19_Template","ScheduleTypesComponent_filter_box_22_Template_filter_box_changed_0_listener","ScheduleTypesComponent_mat_list_item_28_Template_mat_list_item_click_0_listener","ScheduleTypesComponent_mat_list_item_28_span_1_Template","ScheduleTypesComponent_mat_list_item_29_Template_mat_list_item_click_0_listener","ScheduleTypesComponent_mat_list_item_29_span_1_Template","ScheduleTypesComponent_schedule_types_details_33_Template_schedule_types_details_selectedScheduleSubtype_0_listener","ScheduleTypesComponent_Query","ScheduleTypesComponent_scroll_HostBindingHandler","ScheduleTypesComponent_Template_button_click_3_listener","ScheduleTypesComponent_Template_mat_sidenav_mouseenter_17_listener","ScheduleTypesComponent_Template_mat_sidenav_mouseleave_17_listener","ScheduleTypesComponent_mat_icon_21_Template","ScheduleTypesComponent_filter_box_22_Template","ScheduleTypesComponent_Template_schedule_types_list_loading_25_listener","ScheduleTypesComponent_Template_schedule_types_list_selectedScheduleType_25_listener","ScheduleTypesComponent_Template_schedule_types_list_selectedScheduleSubtype_25_listener","ScheduleTypesComponent_mat_list_item_28_Template","ScheduleTypesComponent_mat_list_item_29_Template","ScheduleTypesComponent_schedule_types_details_33_Template","ScheduleTypesComponent_schedule_subtypes_details_34_Template","ScheduleTypesComponent_overlay_loading_35_Template","BeamlineShutterRefresh","BeamlineShutterCreate","BeamlineShutterUpdate","BeamlineShutterRefreshById","BeamlineShutterDelete","BeamlineShutterStateModel","BeamlineShutterState","_catalog","beamlineShutters","BeamlineShutterActions","BeamlineShutterStoreAndListenersService","BEAMLINE_SHUTTER","PendingResourcesCreate","PendingResourcesUpdate","PendingResourcesDelete","PendingResourcesStateModel","PendingResourcesState","PendingResourcesActions","PendingResourcesStoreAndListenersService","PENDING_RESOURCES","ResourceTypesRefresh","ResourceTypesCreate","ResourceTypesUpdate","ResourceTypesDelete","ResourceTypesStateModel","ResourceTypesState","ResourceTypesActions","ResourceTypesStoreAndListenersService","RESOURCE_TYPES","ResourceRelationsRefresh","ResourceRelationsCreate","ResourceRelationsUpdate","ResourceRelationsDelete","ResourceRelationsStateModel","ResourceRelationsState","ResourceRelationsActions","ResourceRelationsStoreAndListenersService","RESOURCE_RELATIONS","ResourcesRefresh","ResourcesRefreshShutters","ResourcesCreate","ResourcesUpdate","ResourcesDelete","ResourcesRefreshByID","ResourcesStateModel","shutters","epics","ResourcesState","refreshShutters","refreshEpicsValues","ResourcesActions","ResourcesStoreAndListenersService","RESOURCES","UserService","ReadByRole","urlRoles","getEmailsByRoles","ReadActive","readSupervisedForTraining","readByPrivilege","first","PendingUser","pendingUsers","UserCatalog","UserCatalogDetails","pendingUser","UsersRefresh","UsersCreate","UsersUpdate","UsersDelete","UsersStateModel","minData","UsersState","UsersActions","UsersStoreAndListenersService","USERS","userCtrl","emailCtrl","initialsCtrl","status_r21","organization_r22","supervisor_r23","UserCatalogDetailsComponent_mat_chip_row_71_Template_mat_chip_row_removed_0_listener","role_r24","UserCatalogDetailsComponent_mat_chip_row_71_mat_icon_2_Template","tmp_2_0","showRoleNames","role_r28","rolesCtrl","UserCatalogDetailsComponent_div_90_mat_header_cell_3_Template","UserCatalogDetailsComponent_div_90_mat_cell_4_Template","UserCatalogDetailsComponent_div_90_mat_header_row_5_Template","UserCatalogDetailsComponent_div_90_mat_row_6_Template","UserCatalogDetailsComponent_button_94_Template_button_click_0_listener","UserCatalogDetailsComponent_button_96_Template_button_click_0_listener","modifyUser","UserCatalogDetailsComponent_button_97_Template_button_click_0_listener","UserCatalogDetailsComponent_button_98_Template_button_click_0_listener","UserCatalogDetailsComponent_button_99_Template_button_click_0_listener","_r44","phoneCtrl","mobileCtrl","statusCtrl","issupCtrl","organizationCtrl","supervisorCtrl","_organizationService","showSupervisor","userCatalog","validators","UserCatalogCreate","UserCatalogApprove","compareName","userCatalogs","PRODUCTION","phoneExt","mobile","organizationID","supervisorID","userCatalogDetails","filterRoles","changeRole","numericOnly","charCode","which","UserCatalogDetailsComponent_Template","UserCatalogDetailsComponent_Template_input_keyup_10_listener","UserCatalogDetailsComponent_mat_error_11_Template","UserCatalogDetailsComponent_Template_input_keyup_17_listener","UserCatalogDetailsComponent_mat_error_18_Template","UserCatalogDetailsComponent_Template_input_keyup_24_listener","UserCatalogDetailsComponent_mat_error_25_Template","UserCatalogDetailsComponent_Template_input_keypress_31_listener","UserCatalogDetailsComponent_Template_input_keypress_36_listener","UserCatalogDetailsComponent_mat_error_43_Template","UserCatalogDetailsComponent_mat_option_49_Template","UserCatalogDetailsComponent_mat_option_56_Template","UserCatalogDetailsComponent_mat_option_63_Template","UserCatalogDetailsComponent_mat_chip_row_71_Template","UserCatalogDetailsComponent_Template_input_keyup_72_listener","UserCatalogDetailsComponent_Template_input_matChipInputTokenEnd_72_listener","UserCatalogDetailsComponent_Template_mat_autocomplete_optionSelected_75_listener","UserCatalogDetailsComponent_mat_option_77_Template","UserCatalogDetailsComponent_mat_hint_78_Template","UserCatalogDetailsComponent_mat_error_79_Template","UserCatalogDetailsComponent_Template_mat_slide_toggle_change_80_listener","UserCatalogDetailsComponent_div_90_Template","UserCatalogDetailsComponent_button_94_Template","UserCatalogDetailsComponent_button_96_Template","UserCatalogDetailsComponent_button_97_Template","UserCatalogDetailsComponent_button_98_Template","UserCatalogDetailsComponent_button_99_Template","UserCatalogRolesComponent_mat_header_cell_10_Template_mat_icon_click_1_listener","openAddUserRole","UserCatalogRolesComponent_mat_cell_11_Template_mat_icon_click_2_listener","deletUserRole","UserCatalogRolesComponent_Template","UserCatalogRolesComponent_mat_header_cell_4_Template","UserCatalogRolesComponent_mat_cell_5_Template","UserCatalogRolesComponent_mat_header_cell_7_Template","UserCatalogRolesComponent_mat_cell_8_Template","UserCatalogRolesComponent_mat_header_cell_10_Template","UserCatalogRolesComponent_mat_cell_11_Template","UserCatalogRolesComponent_mat_header_row_12_Template","UserCatalogRolesComponent_mat_row_13_Template","UserRoleComponent_mat_option_26_Template_mat_option_click_0_listener","role_r2","getRoleSelected","UserRoleComponent_Template","UserRoleComponent_Template_button_click_12_listener","UserRoleComponent_Template_button_click_15_listener","UserRoleComponent_Template_input_keyup_23_listener","UserRoleComponent_mat_option_26_Template","UserRoleComponent_Template_button_click_29_listener","UserRoleComponent_Template_button_click_31_listener","getRoleCodes","UserCatalogListComponent_mat_cell_15_span_1_Template","UserCatalogListComponent_mat_cell_15_span_2_Template","UserCatalogListComponent_mat_row_17_Template_mat_row_click_0_listener","loadUserCatalogs","filterUsers","showActiveInactive","createUser","UserCatalogListComponent_Query","UserCatalogListComponent_Template_mat_slide_toggle_ngModelChange_3_listener","UserCatalogListComponent_Template_mat_slide_toggle_change_3_listener","UserCatalogListComponent_mat_header_cell_8_Template","UserCatalogListComponent_mat_cell_9_Template","UserCatalogListComponent_mat_header_cell_11_Template","UserCatalogListComponent_mat_cell_12_Template","UserCatalogListComponent_mat_header_cell_14_Template","UserCatalogListComponent_mat_cell_15_Template","UserCatalogListComponent_mat_header_row_16_Template","UserCatalogListComponent_mat_row_17_Template","UserCatalogComponent_mat_slide_toggle_18_Template_mat_slide_toggle_ngModelChange_0_listener","UserCatalogComponent_filter_box_25_Template_filter_box_changed_0_listener","UserCatalogComponent_div_27_Template_app_user_catalog_list_rowSelected_1_listener","UserCatalogComponent_div_27_Template_app_user_catalog_list_loading_1_listener","UserCatalogComponent_mat_list_item_29_Template_mat_list_item_click_0_listener","UserCatalogComponent_mat_list_item_29_span_1_Template","userCatalogList","UserCatalogComponent_Query","UserCatalogComponent_Template_button_click_3_listener","UserCatalogComponent_span_15_Template","UserCatalogComponent_span_16_Template","UserCatalogComponent_mat_slide_toggle_18_Template","UserCatalogComponent_Template_mat_sidenav_mouseenter_20_listener","UserCatalogComponent_Template_mat_sidenav_mouseleave_20_listener","UserCatalogComponent_mat_icon_24_Template","UserCatalogComponent_filter_box_25_Template","UserCatalogComponent_div_27_Template","UserCatalogComponent_mat_list_item_29_Template","UserCatalogComponent_Template_user_catalog_details_loading_33_listener","UserCatalogComponent_Template_user_catalog_details_saved_33_listener","UserCatalogComponent_overlay_loading_34_Template","ChecklistBuilderAnnotationEditComponent","_serv","_image","quillConfig","toolbar","background","script","align","keyboard","bindings","enter","handler","imageDrop","imageResize","isResponse","annotation","annotationText","responseText","templateId","currentVersion","getWFTaskLocal","isComment","wfTaskLocalID","checklistTemplateID","uploadImages","wfStepLocal","wfSectionLocalID","responseBy","responseByName","responseDate","uploadImagesToServer","ChecklistBuilderAnnotationsService","ChecklistBuilderAnnotationEditComponent_Template","ChecklistBuilderAnnotationEditComponent_div_4_Template","ChecklistBuilderAnnotationEditComponent_Template_quill_editor_ngModelChange_8_listener","ChecklistBuilderAnnotationEditComponent_Template_button_click_11_listener","ChecklistBuilderAnnotationEditComponent_Template_button_click_14_listener","ProcedureSignatureType","ChecklistTemplateStatusEnum","AnnotationStatus","ChecklistBuilderAnnotationComponent_div_5_button_1_Template_button_click_0_listener","ChecklistBuilderAnnotationComponent_div_5_button_2_Template_button_click_0_listener","ChecklistBuilderAnnotationComponent_div_5_button_1_Template","ChecklistBuilderAnnotationComponent_div_5_button_2_Template","checklistTemplateStatusEnum","InReview","isReviewer","procedureSignature","isCreator","Suggesting","isApprover","isRCP","ChecklistBuilderAnnotationComponent_button_6_Template_button_click_0_listener","respond","ChecklistBuilderAnnotationComponent_button_7_Template_button_click_0_listener","done","ChecklistBuilderAnnotationComponent_button_8_Template_button_click_0_listener","undone","ChecklistBuilderAnnotationComponent_div_18_button_6_Template_button_click_0_listener","ChecklistBuilderAnnotationComponent_div_18_button_7_Template_button_click_0_listener","deleteResponse","ChecklistBuilderAnnotationComponent_div_18_button_6_Template","ChecklistBuilderAnnotationComponent_div_18_button_7_Template","responseTextSanitized","CorrectionsInProgress","Draft","isPreparer","ChecklistBuilderAnnotationComponent","sanitizer","annotationStatus","annotationTextSanitized","createdByName","loadProcedure","setPrivs","getProcedure","is","Preparer","Reviewer","Approver","procedureSignatures","editor","hasBackdrop","yesno","Done","signatureType","ChecklistBuilderAnnotationComponent_Template","ChecklistBuilderAnnotationComponent_div_5_Template","ChecklistBuilderAnnotationComponent_button_6_Template","ChecklistBuilderAnnotationComponent_button_7_Template","ChecklistBuilderAnnotationComponent_button_8_Template","ChecklistBuilderAnnotationComponent_div_18_Template","ChecklistBuilderAnnotationsComponent_div_0_div_3_Template_checklist_builder_annotation_changed_1_listener","annotation_r2","ChecklistBuilderAnnotationsComponent_div_0_div_3_Template","annotations","ChecklistBuilderAnnotationsComponent","annotationsSubs","loadAnnotations","annotations$","Annotations","hasAnnotations","ChecklistBuilderAnnotationsComponent_Template","ChecklistBuilderAnnotationsComponent_div_0_Template","Statuses","getByTemplateId","getByChecklistId","ChecklistRolesChipsComponent_mat_form_field_0_mat_chip_row_5_Template_mat_chip_row_removed_0_listener","role_r8","role_r11","ChecklistRolesChipsComponent_mat_form_field_0_mat_chip_row_5_Template","ChecklistRolesChipsComponent_mat_form_field_0_Template_input_ngModelChange_6_listener","tmpRole","ChecklistRolesChipsComponent_mat_form_field_0_Template_input_keyup_6_listener","change","ChecklistRolesChipsComponent_mat_form_field_0_Template_input_matChipInputTokenEnd_6_listener","ChecklistRolesChipsComponent_mat_form_field_0_Template_mat_autocomplete_optionSelected_9_listener","ChecklistRolesChipsComponent_mat_form_field_0_mat_option_11_Template","rolesTaken","ChecklistRolesChipsComponent","configurationChanged","roleIDs","ChecklistRolesChipsComponent_Template","ChecklistRolesChipsComponent_mat_form_field_0_Template","ChecklistRolesChipsComponent_app_role_labels_2_Template","ChecklistBuilderDuplicateComponent_mat_form_field_19_Template_input_ngModelChange_3_listener","templateVersion","ChecklistBuilderDuplicateComponent_mat_form_field_20_Template_input_ngModelChange_3_listener","ChecklistBuilderDuplicateComponent_mat_form_field_21_Template_input_ngModelChange_3_listener","revision","type_r21","currentTemplateType","ChecklistBuilderDuplicateComponent_mat_form_field_46_Template_input_ngModelChange_3_listener","schedule_r29","objectInfo","currentSchedule","ChecklistBuilderDuplicateComponent_mat_form_field_47_Template_input_ngModelChange_3_listener","tmpSchedule","ChecklistBuilderDuplicateComponent_mat_form_field_47_Template_input_keyup_3_listener","changedSchedule","ChecklistBuilderDuplicateComponent_mat_form_field_47_Template_mat_autocomplete_optionSelected_4_listener","selectedSchedule","ChecklistBuilderDuplicateComponent_mat_form_field_47_mat_option_7_Template","ChecklistBuilderDuplicateComponent_mat_form_field_47_mat_hint_8_Template","ChecklistBuilderDuplicateComponent_mat_form_field_47_mat_hint_9_Template","filteredSchedules","resource_r39","currentResource","ChecklistBuilderDuplicateComponent_mat_form_field_48_Template_input_ngModelChange_3_listener","tmpResource","ChecklistBuilderDuplicateComponent_mat_form_field_48_Template_input_keyup_3_listener","changedResource","ChecklistBuilderDuplicateComponent_mat_form_field_48_Template_mat_autocomplete_optionSelected_4_listener","selectedResource","ChecklistBuilderDuplicateComponent_mat_form_field_48_mat_option_7_Template","ChecklistBuilderDuplicateComponent_mat_form_field_48_mat_hint_8_Template","ChecklistBuilderDuplicateComponent_mat_form_field_48_mat_hint_9_Template","filteredResources","ChecklistBuilderDuplicateComponent","procedureService","messageType","targetDocumentTypeID","documentRolePermissions","temp","subscription","duplicatedVersion","filteredTemplateTypes","subsProcedures","filterSchedulesByTemplateType","setResources","checklistTemplatesInProgress","Archived","RSSFT","subdetail","filterTemplateTypes","subscribeAsPreparer","alertAndDisplayMessage","exists","procedureID","scheduleID","existing","getPrivilege","scheduleResources","checklistTemplate","getNewChecklistTemplate","duplicateChecklistTemplate","ProcedureService","ChecklistBuilderDuplicateComponent_Template","ChecklistBuilderDuplicateComponent_Template_button_click_4_listener","ChecklistBuilderDuplicateComponent_mat_progress_bar_7_Template","ChecklistBuilderDuplicateComponent_Template_input_ngModelChange_18_listener","ChecklistBuilderDuplicateComponent_mat_form_field_19_Template","ChecklistBuilderDuplicateComponent_mat_form_field_20_Template","ChecklistBuilderDuplicateComponent_mat_form_field_21_Template","ChecklistBuilderDuplicateComponent_mat_form_field_22_Template","ChecklistBuilderDuplicateComponent_Template_input_ngModelChange_26_listener","ChecklistBuilderDuplicateComponent_Template_button_click_28_listener","ChecklistBuilderDuplicateComponent_Template_mat_autocomplete_optionSelected_40_listener","ChecklistBuilderDuplicateComponent_mat_option_43_Template","ChecklistBuilderDuplicateComponent_mat_hint_44_Template","ChecklistBuilderDuplicateComponent_mat_hint_45_Template","ChecklistBuilderDuplicateComponent_mat_form_field_46_Template","ChecklistBuilderDuplicateComponent_mat_form_field_47_Template","ChecklistBuilderDuplicateComponent_mat_form_field_48_Template","ChecklistBuilderDuplicateComponent_mat_form_field_49_Template","ChecklistBuilderDuplicateComponent_Template_input_ngModelChange_53_listener","ChecklistBuilderDuplicateComponent_span_55_Template","ChecklistBuilderEditPopupParameters","ChecklistBuilderEditPopupComponent","rssFunctionalTestService","rssFunctionalTest","getchecklistTemplateById","RSSFunctionalTestService","ChecklistBuilderEditPopupComponent_Template","ChecklistBuilderEditPopupComponent_mat_progress_bar_0_Template","ChecklistBuilderEditPopupComponent_Template_input_ngModelChange_10_listener","ChecklistBuilderEditPopupComponent_Template_input_ngModelChange_15_listener","ChecklistBuilderEditPopupComponent_Template_input_ngModelChange_20_listener","ChecklistBuilderEditPopupComponent_Template_button_click_22_listener","ChecklistBuilderEditPopupComponent_div_24_Template","ChecklistBuilderListComponent_mat_cell_14_span_2_Template","ChecklistBuilderListComponent_mat_row_19_Template_mat_row_click_0_listener","ChecklistBuilderListComponent","init","loadStatuses","setStatusName","renderTable","subSchedules","checklistTemplateStatuses","statusEnum","statusOrder","sortTable","dir","ChecklistBuilderListComponent_Query","ChecklistBuilderListComponent_Template_mat_table_matSortChange_2_listener","ChecklistBuilderListComponent_mat_header_cell_4_Template","ChecklistBuilderListComponent_mat_cell_5_Template","ChecklistBuilderListComponent_mat_header_cell_7_Template","ChecklistBuilderListComponent_mat_cell_8_Template","ChecklistBuilderListComponent_mat_header_cell_10_Template","ChecklistBuilderListComponent_mat_cell_11_Template","ChecklistBuilderListComponent_mat_header_cell_13_Template","ChecklistBuilderListComponent_mat_cell_14_Template","ChecklistBuilderListComponent_mat_header_cell_16_Template","ChecklistBuilderListComponent_mat_cell_17_Template","ChecklistBuilderListComponent_mat_header_row_18_Template","ChecklistBuilderListComponent_mat_row_19_Template","MatTreeFlatDataSource","MatTreeFlattener","FlatTreeControl","ChecklistTemplatesUpdate","ChecklistBuilderMapComponent_mat_tree_node_2_Template_mat_tree_node_mouseenter_0_listener","node_r2","dragHover","ChecklistBuilderMapComponent_mat_tree_node_2_Template_mat_tree_node_mouseleave_0_listener","dragHoverEnd","ChecklistBuilderMapComponent_mat_tree_node_2_Template_mat_tree_node_cdkDragStarted_0_listener","dragStart","ChecklistBuilderMapComponent_mat_tree_node_2_Template_mat_tree_node_cdkDragReleased_0_listener","dragEnd","ChecklistBuilderMapComponent_mat_tree_node_2_Template_mat_tree_node_click_0_listener","scrollToNode","deletedChildren","visibleElementIds","ChecklistBuilderMapComponent_mat_tree_node_3_Template_mat_tree_node_mouseenter_0_listener","node_r9","ChecklistBuilderMapComponent_mat_tree_node_3_Template_mat_tree_node_mouseleave_0_listener","ChecklistBuilderMapComponent_mat_tree_node_3_Template_mat_tree_node_cdkDragStarted_0_listener","ChecklistBuilderMapComponent_mat_tree_node_3_Template_mat_tree_node_cdkDragReleased_0_listener","ChecklistBuilderMapComponent_mat_tree_node_3_Template_mat_tree_node_cdkDropListDropped_0_listener","ChecklistBuilderMapComponent_mat_tree_node_3_Template_mat_tree_node_click_0_listener","ChecklistBuilderMapComponent_mat_tree_node_3_Template_button_click_1_listener","onNodeToggle","treeControl","ChecklistBuilderMapComponent","expandedNodeSet","_transformer","node","level","expandable","children","treeFlattener","hasChild","dragging","expandDelay","currentTemplate","loadDeletedSections","loadDeletedSteps","loadDeletedTasks","buildTree","saveExpandedState","dataNodes","restoreExpandedState","has","expand","deletedSectionLocals$","DeletedWFSectionLocals","deletedSectionLocalsSubs","deletedSectionLocals","deletedStepLocals$","DeletedWFStepLocals","deletedStepLocalsSubs","deletedStepLocals","deletedTaskLocals$","DeletedWFTaskLocals","deletedTaskLocalsSubs","deletedTaskLocals","sectionNodes","showDeleted","stepNodes","steps","taskNodes","tasks","taskNode","formatTaskName","ChecklistElement","TASK","logID","stepNode","STEP","sectionNode","SECTION","hasDeleted","textFields","stripHTML","selectedElement","setSelectedNodes","step","selectedNode","nodeParent","nodeSiblings","saveDropChanges","nodeChanges","updateSectionsOrder","updateStepsOrder","updateTasksOrder","getConnectedDropLists","dropLists","parentParent","child","visibleNodes","isPointerOverContainer","changedData","nodeAtDest","nodeLevel","destLevel","newParent","oldParent","newSiblings","insertIndex","siblings","siblingIndex","nodeToInsert","siblingsChanges","getChangedData","previousSiblingsChanges","wfSection","findWFSection","parentSection","parentWFSection","wfStep","flatMap","wfSectionLocal","parentStep","parentWFStep","findWFStep","wfTask","sectionID","stepID","findWFTask","clearTimeout","expandTimeout","ChecklistBuilderMapComponent_Template","ChecklistBuilderMapComponent_Template_mat_tree_cdkDropListDropped_1_listener","ChecklistBuilderMapComponent_mat_tree_node_2_Template","ChecklistBuilderMapComponent_mat_tree_node_3_Template","SelectedElement","object","placeholderString","ChecklistBuilderPlaceholdersComponent_mat_row_23_Template_mat_row_click_0_listener","ChecklistBuilderPlaceholdersComponent","load","placeholders","pl","getValue","ChecklistBuilderPlaceholdersComponent_Query","ChecklistBuilderPlaceholdersComponent_Template_button_click_6_listener","ChecklistBuilderPlaceholdersComponent_mat_header_cell_14_Template","ChecklistBuilderPlaceholdersComponent_mat_cell_15_Template","ChecklistBuilderPlaceholdersComponent_mat_header_cell_17_Template","ChecklistBuilderPlaceholdersComponent_mat_cell_18_Template","ChecklistBuilderPlaceholdersComponent_mat_header_cell_20_Template","ChecklistBuilderPlaceholdersComponent_mat_cell_21_Template","ChecklistBuilderPlaceholdersComponent_mat_header_row_22_Template","ChecklistBuilderPlaceholdersComponent_mat_row_23_Template","ChecklistBuilderRejectComponent_div_1_div_3_Template_span_click_1_listener","e_r3","ChecklistBuilderRejectComponent_div_1_div_3_Template","displayedErrors","getMoreErrors","notDisplayedErrors","ChecklistBuilderRejectComponent","elementRef","scrollParentToChild","parentRect","parentViewableArea","childRect","isViewable","ChecklistBuilderRejectComponent_Template","ChecklistBuilderRejectComponent_div_1_Template","ChecklistBuilderRejectComponent_div_2_Template","UserAutocompletePopupComponent","signature_r4","ChecklistBuilderReviewSignaturesComponent_div_0_span_6_span_4_Template_span_click_0_listener","ChecklistBuilderReviewSignaturesComponent_div_0_span_6_span_3_Template","ChecklistBuilderReviewSignaturesComponent_div_0_span_6_span_4_Template","userCanBeRemoved","ChecklistBuilderReviewSignaturesComponent_div_0_mat_icon_7_Template_mat_icon_click_0_listener","ChecklistBuilderReviewSignaturesComponent_div_0_mat_icon_8_Template_mat_icon_click_0_listener","addOther","ChecklistBuilderReviewSignaturesComponent_div_0_span_6_Template","ChecklistBuilderReviewSignaturesComponent_div_0_mat_icon_7_Template","ChecklistBuilderReviewSignaturesComponent_div_0_mat_icon_8_Template","userCanBeAdded","otherUserCanBeAdded","ChecklistBuilderReviewSignaturesComponent","deleteSignature","setProcedure","addUser","statusCheckRemove","statusCheck","CorrectionsPending","Temp","PendingRev","PendingApr","Approving","ChecklistBuilderReviewSignaturesComponent_Template","ChecklistBuilderReviewSignaturesComponent_div_0_Template","totalAnnotations","activeAnnotations","ChecklistBuilderReviewSummaryComponent_div_0_div_2_Template_checklist_builder_review_signatures_requestRefresh_22_listener","ChecklistBuilderReviewSummaryComponent_div_0_div_2_Template_checklist_builder_review_signatures_requestRefresh_24_listener","ChecklistBuilderReviewSummaryComponent_div_0_div_2_Template_checklist_builder_review_signatures_requestRefresh_26_listener","ChecklistBuilderReviewSummaryComponent_div_0_div_2_div_27_Template","ChecklistBuilderReviewSummaryComponent_div_0_div_2_ng_template_28_Template","preparers","reviewers","approvers","ChecklistBuilderReviewSummaryComponent_div_0_div_1_Template","ChecklistBuilderReviewSummaryComponent_div_0_div_2_Template","ChecklistBuilderReviewSummaryComponent","countAnnotations","ChecklistBuilderReviewSummaryComponent_Query","ChecklistBuilderReviewSummaryComponent_div_0_Template","ChecklistBuilderStepsComponent","ChecklistBuilderSectionComponent_h4_7_Template_h4_click_0_listener","ChecklistBuilderSectionComponent_h4_8_Template_textarea_change_1_listener","ChecklistBuilderSectionComponent_h4_8_Template_textarea_ngModelChange_1_listener","ChecklistBuilderSectionComponent_checklist_roles_chips_12_Template_checklist_roles_chips_configurationChanged_0_listener","ChecklistBuilderSectionComponent_mat_slide_toggle_17_Template_mat_slide_toggle_ngModelChange_0_listener","collapsed","ChecklistBuilderSectionComponent_mat_slide_toggle_17_Template_mat_slide_toggle_change_0_listener","ChecklistBuilderSectionComponent_div_18_button_1_Template_button_click_0_listener","ChecklistBuilderSectionComponent_div_18_button_2_Template_button_click_0_listener","ChecklistBuilderSectionComponent_div_18_button_1_Template","ChecklistBuilderSectionComponent_div_18_button_2_Template","ChecklistBuilderSectionComponent","refreshPreviousStep","Configuration","updateSection","deleteSection","scrollDeletedSteps","block","inline","duplicateSection","ChecklistBuilderSectionComponent_Query","ChecklistBuilderSectionComponent_h4_7_Template","ChecklistBuilderSectionComponent_h4_8_Template","ChecklistBuilderSectionComponent_Template_mat_checkbox_ngModelChange_10_listener","ChecklistBuilderSectionComponent_Template_mat_checkbox_change_10_listener","ChecklistBuilderSectionComponent_checklist_roles_chips_12_Template","ChecklistBuilderSectionComponent_Template_mat_slide_toggle_ngModelChange_15_listener","collapsible","ChecklistBuilderSectionComponent_Template_mat_slide_toggle_change_15_listener","ChecklistBuilderSectionComponent_mat_slide_toggle_17_Template","ChecklistBuilderSectionComponent_div_18_Template","ChecklistBuilderSectionComponent_Template_checklist_builder_steps_loading_20_listener","ChecklistBuilderSectionComponent_Template_checklist_builder_steps_refreshPreviousStep_20_listener","sectionDropLists","stepDropLists","section_r2","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_mat_panel_title_2_button_1_Template","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_div_3_div_2_Template_button_click_1_listener","restore","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_div_3_div_2_Template_button_click_4_listener","deleteForever","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_div_3_div_2_Template","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_div_3_Template_checklist_builder_section_loading_4_listener","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_div_3_Template_checklist_builder_section_refreshPreviousStep_4_listener","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_Template_mat_expansion_panel_afterExpand_0_listener","showSection","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_Template_mat_expansion_panel_afterCollapse_0_listener","hideSection","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_Template_mat_expansion_panel_cdkDragMoved_0_listener","onDragMoved","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_mat_panel_title_2_Template","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_div_3_Template","ChecklistBuilderSectionsComponent_button_5_Template_button_click_0_listener","ChecklistBuilderSectionsComponent","logService","getChecklistTemplate","getSections","Map","updateDropLists","createSection","sectionsToUpdate","updateSections","stepComponent","stepsComponent","stepComponents","tasksComponent","refreshTasks","restoreSection","scrollToSection","UpdateStatus","refreshRestored","TransactionLogService","ChecklistBuilderSectionsComponent_Query","ChecklistBuilderSectionsComponent_Template_div_cdkDropListDropped_3_listener","ChecklistBuilderSectionsComponent_mat_expansion_panel_4_Template","ChecklistBuilderSectionsComponent_button_5_Template","TemplateTypesUpdate","resourceType_r10","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_mat_form_field_15_Template_mat_autocomplete_optionSelected_4_listener","e_r2","selectedResourceType","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_mat_form_field_15_mat_option_7_Template","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_mat_form_field_15_mat_hint_8_Template","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_mat_form_field_15_mat_hint_9_Template","rtError","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_Template_mat_checkbox_ngModelChange_7_listener","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_Template_mat_checkbox_change_7_listener","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_Template_mat_slide_toggle_ngModelChange_12_listener","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_Template_mat_slide_toggle_change_12_listener","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_mat_form_field_15_Template","ChecklistBuilderSettingsGeneralComponent","_srv","selectTemplateType","loadScheduleSubtypes","templateTypesExpansions","filteredResourceTypes","tmpResourceType","filteredScheduleTypes","scheduleSubtypes$","ScheduleSubtypes","scheduleSubtypesSubs","filteredScheduleSubtypes","scError","rxError","resfToggleChanged","templateTypeUpdated","filterRevRoles","deleteTemplateRolePermission","ChecklistBuilderSettingsGeneralComponent_Query","ChecklistBuilderSettingsGeneralComponent_Template_input_ngModelChange_5_listener","ChecklistBuilderSettingsGeneralComponent_Template_input_ngModelChange_9_listener","ChecklistBuilderSettingsGeneralComponent_Template_input_ngModelChange_13_listener","ChecklistBuilderSettingsGeneralComponent_Template_div_cdkDropListDropped_17_listener","ChecklistBuilderSettingsGeneralComponent_mat_accordion_18_Template","ChecklistBuilderSettingsGeneralComponent_div_21_Template","ChecklistBuilderSettingsPermissionsComponent","_role","_blds","addRolePermissions","addRoleCtrl","apprRolePermissions","apprRoleCtrl","chklRolePermissions","chklRoleCtrl","subsDocumentTypes","subsTemplateTypes","getTemplateRolePermissionsByDocumentTypeID","Prepare","addRoles","apprRoles","CreateChecklist","chklRoles","documentTypeExec","sameToggle","samePersonCanApprove","selectedAddRole","createTemplateRolePersmission","removeAddRole","permission","selectedApprRole","removeApprRole","selectedChklRole","removeChklRole","sameToggleChanged","ChecklistBuilderSettingsPermissionsComponent_Template","ChecklistBuilderSettingsPermissionsComponent_Template_role_selection_selected_8_listener","ChecklistBuilderSettingsPermissionsComponent_Template_role_selection_deleted_8_listener","ChecklistBuilderSettingsPermissionsComponent_Template_mat_slide_toggle_ngModelChange_17_listener","ChecklistBuilderSettingsPermissionsComponent_Template_mat_slide_toggle_change_17_listener","ChecklistBuilderSettingsPermissionsComponent_Template_role_selection_selected_20_listener","ChecklistBuilderSettingsPermissionsComponent_Template_role_selection_deleted_20_listener","ChecklistBuilderSettingsPermissionsComponent_Template_role_selection_selected_29_listener","ChecklistBuilderSettingsPermissionsComponent_Template_role_selection_deleted_29_listener","ChecklistBuilderSettingsPermissionsComponent_div_30_Template","FormGroup","type_r5","ChecklistBuilderSettingsStatusComponent","statusNameCtrl","statusDescriptionCtrl","statusCodeCtrl","statusesSubs","statuses$","statusesFiltered","changedStatus","selectedStatus","formValid","isNullValue","ChecklistBuilderSettingsStatusComponent_Template","ChecklistBuilderSettingsStatusComponent_Template_input_keyup_8_listener","ChecklistBuilderSettingsStatusComponent_Template_mat_autocomplete_optionSelected_10_listener","ChecklistBuilderSettingsStatusComponent_mat_option_13_Template","ChecklistBuilderSettingsStatusComponent_mat_hint_14_Template","ChecklistBuilderSettingsStatusComponent_Template_color_picker_selected_23_listener","ChecklistBuilderSettingsStatusComponent_Template_button_click_26_listener","ChecklistBuilderSettingsStatusComponent_Template_button_click_28_listener","ChecklistBuilderSettingsStatusesComponent_div_11_Template_button_click_10_listener","ChecklistBuilderSettingsStatusesComponent_div_11_Template_button_click_13_listener","ChecklistBuilderSettingsStatusesComponent","documentTypeSubs","updateChecklistExecStatus","deleteChecklistExecStatus","createChecklistExecStatus","ChecklistBuilderSettingsStatusesComponent_Template","ChecklistBuilderSettingsStatusesComponent_Template_div_cdkDropListDropped_10_listener","ChecklistBuilderSettingsStatusesComponent_div_11_Template","ChecklistBuilderSettingsStatusesComponent_Template_button_click_12_listener","ChecklistBuilderSettingsComponent_mat_tab_16_Template_checklist_builder_settings_permissions_refresh_1_listener","ChecklistBuilderSettingsComponent_mat_tab_16_Template_checklist_builder_settings_permissions_loading_1_listener","ChecklistBuilderSettingsComponent_mat_tab_17_Template_checklist_builder_settings_statuses_refresh_1_listener","ChecklistBuilderSettingsComponent_mat_tab_17_Template_checklist_builder_settings_statuses_loading_1_listener","ChecklistBuilderSettingsComponent","loads","selectedTemplateType","ChecklistBuilderSettingsComponent_Query","ChecklistBuilderSettingsComponent_Template_button_click_8_listener","ChecklistBuilderSettingsComponent_mat_progress_bar_11_Template","ChecklistBuilderSettingsComponent_Template_checklist_builder_settings_general_disableClose_15_listener","ChecklistBuilderSettingsComponent_Template_checklist_builder_settings_general_selectTemplateType_15_listener","ChecklistBuilderSettingsComponent_Template_checklist_builder_settings_general_loading_15_listener","ChecklistBuilderSettingsComponent_mat_tab_16_Template","ChecklistBuilderSettingsComponent_mat_tab_17_Template","ChecklistBuilderStepConfigComponent_div_14_Template_mat_checkbox_click_5_listener","ChecklistBuilderStepConfigComponent_div_14_Template_mat_checkbox_change_5_listener","status_r4","enabledChange","ChecklistBuilderStepConfigComponent_div_14_Template_mat_checkbox_click_7_listener","ChecklistBuilderStepConfigComponent_div_14_Template_mat_checkbox_change_7_listener","hiddenChange","hidden","ChecklistBuilderStepConfigComponent_button_18_Template_button_click_0_listener","ChecklistBuilderStepConfigComponent_button_19_Template_button_click_0_listener","ChecklistBuilderStepConfigComponent_button_20_Template_button_click_0_listener","ChecklistBuilderStepConfigComponent","statusChanged","checkVisible","wfStatuses","wfStepStatusLocals","allStatuses","checklistExecStatus","wfStatus","elm","evalType","vpH","st","elementHeight","ChecklistBuilderStepConfigComponent_Template","ChecklistBuilderStepConfigComponent_div_14_Template","ChecklistBuilderStepConfigComponent_button_18_Template","ChecklistBuilderStepConfigComponent_button_19_Template","ChecklistBuilderStepConfigComponent_button_20_Template","ChecklistBuilderTasksComponent","ChecklistBuilderStepComponent_h5_5_Template_h5_click_0_listener","ChecklistBuilderStepComponent_h5_6_Template_textarea_change_1_listener","ChecklistBuilderStepComponent_h5_6_Template_textarea_ngModelChange_1_listener","ChecklistBuilderStepComponent_checklist_roles_chips_10_Template_checklist_roles_chips_configurationChanged_0_listener","ChecklistBuilderStepComponent_mat_slide_toggle_15_Template_mat_slide_toggle_ngModelChange_0_listener","ChecklistBuilderStepComponent_mat_slide_toggle_15_Template_mat_slide_toggle_change_0_listener","ChecklistBuilderStepComponent_div_20_span_3_Template","enabledOn","item_r22","ChecklistBuilderStepComponent_div_21_span_3_Template","hiddenOn","ChecklistBuilderStepComponent_div_22_button_7_Template_button_click_0_listener","ChecklistBuilderStepComponent_div_22_button_8_Template_button_click_0_listener","ChecklistBuilderStepComponent_div_22_Template_checklist_builder_step_config_statusChanged_6_listener","saveStatus","ChecklistBuilderStepComponent_div_22_button_7_Template","ChecklistBuilderStepComponent_div_22_button_8_Template","ChecklistBuilderStepComponent","deletedTasks","wfTaskLocals$","BuilderWFTaskLocals","wfTaskLocalsSubs","visibleOn","statusError","updateStep","deleteStep","show","displaySettings","wfStepStatuses","showStatusList","showStatus","scrollDeletedTasks","duplicateStep","ChecklistBuilderStepComponent_Query","ChecklistBuilderStepComponent_h5_5_Template","ChecklistBuilderStepComponent_h5_6_Template","ChecklistBuilderStepComponent_Template_mat_checkbox_ngModelChange_8_listener","ChecklistBuilderStepComponent_Template_mat_checkbox_change_8_listener","ChecklistBuilderStepComponent_checklist_roles_chips_10_Template","ChecklistBuilderStepComponent_Template_mat_slide_toggle_ngModelChange_13_listener","ChecklistBuilderStepComponent_Template_mat_slide_toggle_change_13_listener","ChecklistBuilderStepComponent_mat_slide_toggle_15_Template","ChecklistBuilderStepComponent_div_17_Template","ChecklistBuilderStepComponent_div_18_Template","ChecklistBuilderStepComponent_div_20_Template","ChecklistBuilderStepComponent_div_21_Template","ChecklistBuilderStepComponent_div_22_Template","ChecklistBuilderStepComponent_Template_checklist_builder_tasks_loading_24_listener","ChecklistBuilderStepComponent_Template_checklist_builder_tasks_refreshPreviousStep_24_listener","isDeletedSection","tmp_14_0","tmp_20_0","ChecklistBuilderStepsComponent_div_2_div_7_Template_button_click_1_listener","step_r2","ChecklistBuilderStepsComponent_div_2_div_7_Template_button_click_4_listener","ChecklistBuilderStepsComponent_div_2_Template_div_cdkDragMoved_1_listener","ChecklistBuilderStepsComponent_div_2_div_7_Template","ChecklistBuilderStepsComponent_div_2_Template_checklist_builder_step_deleted_9_listener","ChecklistBuilderStepsComponent_div_2_Template_checklist_builder_step_loading_9_listener","ChecklistBuilderStepsComponent_div_2_Template_checklist_builder_step_refreshPreviousStep_9_listener","ChecklistBuilderStepsComponent_button_3_Template_button_click_0_listener","refreshDeletedSteps","createStep","stepsToUpdate","updateSteps","restoreStep","scrollToStep","stepsLoading","tasksLoading","ChecklistBuilderStepsComponent_Query","ChecklistBuilderStepsComponent_Template_div_cdkDropListDropped_1_listener","ChecklistBuilderStepsComponent_div_2_Template","ChecklistBuilderStepsComponent_button_3_Template","ChecklistBuilderTaskMoreComponent_span_10_span_3_Template","role_r7","i_r8","wfRoleLocals","ChecklistBuilderTaskMoreComponent_span_14_span_3_Template","action_r10","i_r11","wfActionLocals","ChecklistBuilderTaskMoreComponent","ChecklistBuilderTaskMoreComponent_Template","ChecklistBuilderTaskMoreComponent_span_10_Template","ChecklistBuilderTaskMoreComponent_span_11_Template","ChecklistBuilderTaskMoreComponent_span_14_Template","ChecklistBuilderTaskMoreComponent_span_15_Template","ChecklistBuilderTaskMoreComponent_div_16_Template","ChecklistBuilderTaskMoreComponent_div_17_Template","ChecklistBuilderTaskMoreComponent_div_18_Template","ChecklistBuilderTaskComponent_mat_checkbox_2_Template_mat_checkbox_ngModelChange_0_listener","ChecklistBuilderTaskComponent_mat_checkbox_2_Template_mat_checkbox_change_0_listener","ChecklistBuilderTaskComponent_div_7_mat_icon_2_Template","ChecklistBuilderTaskComponent_div_7_mat_icon_4_Template","ChecklistBuilderTaskComponent_div_11_Template_button_click_1_listener","ChecklistBuilderTaskComponent_div_11_Template_button_click_4_listener","ChecklistBuilderTaskComponent_div_11_Template_button_click_7_listener","ChecklistBuilderTaskComponent_ng_template_12_Template_button_click_0_listener","ChecklistBuilderTaskComponent_button_14_Template_button_click_0_listener","annotate","ChecklistBuilderTaskComponent_checklist_builder_annotations_19_Template_checklist_builder_annotations_changed_0_listener","annotationChanged","ChecklistBuilderTaskComponent","deletedTask","updated","duplicated","taskLoading","componentsToSwapText","CheckboxAndRadio","CheckboxAndTextInput","ScheduleAndCheckbox","refreshSignature","getSignature","wfTasks","name4","Disapprove","maxWidth","duplicateTask","saveRequired","widths","stringify","wf","taskError","ChecklistBuilderTaskComponent_Query","ChecklistBuilderTaskComponent_mat_checkbox_2_Template","ChecklistBuilderTaskComponent_Template_master_control_changed_4_listener","ChecklistBuilderTaskComponent_div_5_Template","ChecklistBuilderTaskComponent_div_7_Template","ChecklistBuilderTaskComponent_ng_template_8_Template","ChecklistBuilderTaskComponent_div_11_Template","ChecklistBuilderTaskComponent_ng_template_12_Template","ChecklistBuilderTaskComponent_button_14_Template","ChecklistBuilderTaskComponent_Template_button_click_15_listener","ChecklistBuilderTaskComponent_mat_icon_16_Template","ChecklistBuilderTaskComponent_mat_icon_17_Template","ChecklistBuilderTaskComponent_checklist_builder_task_more_18_Template","ChecklistBuilderTaskComponent_checklist_builder_annotations_19_Template","tmp_30_0","tmp_31_0","ChecklistBuilderTasksComponent_div_2_div_6_Template_button_click_1_listener","task_r2","ChecklistBuilderTasksComponent_div_2_div_6_Template_button_click_4_listener","ChecklistBuilderTasksComponent_div_2_Template_div_cdkDragMoved_1_listener","ChecklistBuilderTasksComponent_div_2_div_6_Template","ChecklistBuilderTasksComponent_div_2_Template_checklist_builder_task_deletedTask_9_listener","ChecklistBuilderTasksComponent_div_2_Template_checklist_builder_task_renumber_9_listener","ChecklistBuilderTasksComponent_div_2_Template_checklist_builder_task_updated_9_listener","updateTask","ChecklistBuilderTasksComponent_div_2_Template_checklist_builder_task_duplicated_9_listener","ChecklistBuilderTasksComponent_div_2_Template_checklist_builder_task_loading_9_listener","isDeletedStep","ChecklistBuilderTasksComponent_button_3_Template_button_click_0_listener","util","reduce","Infinity","taskComponents","currentStep","setChecklistTemplate","unorderedTasks","changedTasks","getChanges","saveOrder","orderedTasks","orderedTask","previosStepID","restoreTask","scrollToTask","ChecklistBuilderTasksComponent_Query","ChecklistBuilderTasksComponent_Template_div_cdkDropListDropped_1_listener","ChecklistBuilderTasksComponent_div_2_Template","ChecklistBuilderTasksComponent_button_3_Template","CancelDialogComponent","ProcedureUpdate","DeletedTasksRefresh","DeletedStepsRefresh","DeletedSectionsRefresh","BuilderTasksUpdateAll","ChecklistBuilderComponent_div_13_mat_icon_7_Template_mat_icon_click_0_listener","clearTemplateTypes","openPanel","type_r32","ChecklistBuilderComponent_div_13_Template_input_keyup_5_listener","changedType","ChecklistBuilderComponent_div_13_mat_icon_7_Template","ChecklistBuilderComponent_div_13_Template_mat_autocomplete_optionSelected_8_listener","checkCreateEnabled","ChecklistBuilderComponent_div_13_mat_option_11_Template","ChecklistBuilderComponent_div_13_mat_hint_12_Template","ChecklistBuilderComponent_div_13_mat_hint_13_Template","ChecklistBuilderComponent_div_14_mat_icon_6_Template_mat_icon_click_0_listener","clearCustomFilter","ChecklistBuilderComponent_div_14_mat_option_10_Template_mat_option_onSelectionChange_0_listener","other_r42","customNameSelected","ChecklistBuilderComponent_div_14_Template_input_keyup_5_listener","ChecklistBuilderComponent_div_14_mat_icon_6_Template","ChecklistBuilderComponent_div_14_Template_mat_autocomplete_optionSelected_7_listener","ChecklistBuilderComponent_div_14_mat_option_10_Template","filteredOther","ChecklistBuilderComponent_div_15_mat_icon_7_Template_mat_icon_click_0_listener","_r56","clearSchedules","schedule_r57","ChecklistBuilderComponent_div_15_Template_input_keyup_5_listener","ChecklistBuilderComponent_div_15_mat_icon_7_Template","ChecklistBuilderComponent_div_15_Template_mat_autocomplete_optionSelected_8_listener","ChecklistBuilderComponent_div_15_mat_option_11_Template","ChecklistBuilderComponent_div_15_mat_hint_12_Template","ChecklistBuilderComponent_div_15_mat_hint_13_Template","scheduleCtrl","_r50","ChecklistBuilderComponent_div_16_mat_icon_7_Template_mat_icon_click_0_listener","clearResources","resource_r70","ChecklistBuilderComponent_div_16_Template_input_keyup_5_listener","ChecklistBuilderComponent_div_16_mat_icon_7_Template","ChecklistBuilderComponent_div_16_Template_mat_autocomplete_optionSelected_8_listener","ChecklistBuilderComponent_div_16_mat_option_11_Template","ChecklistBuilderComponent_div_16_mat_hint_12_Template","ChecklistBuilderComponent_div_16_mat_hint_13_Template","resourceCtrl","version_r78","getStatus","ChecklistBuilderComponent_div_17_Template_input_keyup_6_listener","_r80","changedVersion","ChecklistBuilderComponent_div_17_Template_mat_autocomplete_optionSelected_7_listener","ctx_r81","selectedVersion","ChecklistBuilderComponent_div_17_mat_option_10_Template","versionCtrl","displayVersion","filteredVersions","tmp_5_0","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_1_Template_mat_list_item_mouseenter_0_listener","_r90","ctx_r89","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_1_Template_mat_list_item_click_0_listener","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_1_span_1_Template","createEnabled","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_2_Template_mat_list_item_click_0_listener","_r94","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_2_span_1_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_3_Template_mat_list_item_click_0_listener","rework","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_3_span_1_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_4_Template_mat_list_item_click_0_listener","_r100","ctx_r99","submitToReview","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_4_span_1_Template","ctx_r85","reviewDisabled","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_5_Template_mat_list_item_click_0_listener","submitToApprove","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_5_span_1_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_6_Template_mat_list_item_click_0_listener","_r106","ctx_r105","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_6_span_1_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_1_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_2_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_3_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_4_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_5_Template","ChecklistBuilderComponent_mat_nav_list_24_mat_list_item_6_Template","hasPreparerPriv","showRework","showSubmitToReview","procedurePreparerSignature","ChecklistBuilderComponent_mat_nav_list_26_span_2_span_2_Template_span_click_0_listener","_r111","ctx_r110","hideNavLists","ChecklistBuilderComponent_mat_nav_list_26_span_2_span_3_Template_span_click_0_listener","_r113","ctx_r112","ChecklistBuilderComponent_mat_nav_list_26_span_2_span_2_Template","ChecklistBuilderComponent_mat_nav_list_26_span_2_span_3_Template","ChecklistBuilderComponent_mat_nav_list_26_span_2_Template","ChecklistBuilderComponent_mat_nav_list_26_Template_checklist_builder_map_loading_6_listener","_r115","ctx_r114","ChecklistBuilderComponent_mat_nav_list_26_Template_checklist_builder_map_changed_6_listener","ctx_r116","ChecklistBuilderComponent_mat_nav_list_27_mat_list_item_1_Template_mat_list_item_click_0_listener","_r121","setShowDeleted","ChecklistBuilderComponent_mat_nav_list_27_mat_list_item_1_span_1_Template","ctx_r117","ChecklistBuilderComponent_mat_nav_list_27_mat_list_item_2_Template_mat_list_item_click_0_listener","_r124","ctx_r123","ChecklistBuilderComponent_mat_nav_list_27_mat_list_item_2_span_1_Template","ctx_r118","ChecklistBuilderComponent_mat_nav_list_27_mat_list_item_1_Template","ChecklistBuilderComponent_mat_nav_list_27_mat_list_item_2_Template","ChecklistBuilderComponent_mat_nav_list_28_mat_list_item_1_Template_mat_list_item_click_0_listener","_r129","ctx_r128","review","ChecklistBuilderComponent_mat_nav_list_28_mat_list_item_1_span_1_Template","ctx_r125","ChecklistBuilderComponent_mat_nav_list_28_mat_list_item_2_Template_mat_list_item_click_0_listener","_r132","ctx_r131","reviewed","ChecklistBuilderComponent_mat_nav_list_28_mat_list_item_2_span_1_Template","ctx_r126","ChecklistBuilderComponent_mat_nav_list_28_mat_list_item_1_Template","ChecklistBuilderComponent_mat_nav_list_28_mat_list_item_2_Template","procedureReviewerSignature","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_1_Template_mat_list_item_click_0_listener","_r140","ctx_r139","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_1_span_1_Template","ctx_r133","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_2_Template_mat_list_item_click_0_listener","_r143","ctx_r142","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_2_span_1_Template","ctx_r134","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_3_Template_mat_list_item_click_0_listener","_r146","ctx_r145","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_3_span_1_Template","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_4_Template_mat_list_item_click_0_listener","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_4_span_1_Template","ctx_r136","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_5_Template_mat_list_item_click_0_listener","_r152","ctx_r151","suggest","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_5_span_1_Template","ctx_r137","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_1_Template","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_2_Template","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_3_Template","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_4_Template","ChecklistBuilderComponent_mat_nav_list_29_mat_list_item_5_Template","procedureApproverSignature","reviewSummary","ChecklistBuilderComponent_mat_nav_list_30_Template_mat_list_item_click_1_listener","_r155","ctx_r154","setArchived","ChecklistBuilderComponent_mat_nav_list_30_span_2_Template","ChecklistBuilderComponent_mat_nav_list_31_span_2_Template","ChecklistBuilderComponent_mat_nav_list_32_mat_selection_list_5_mat_list_option_2_Template_mat_list_option_click_0_listener","_r163","status_r161","ctx_r162","filterChanged","ChecklistBuilderComponent_mat_nav_list_32_mat_selection_list_5_mat_list_option_2_Template","ctx_r158","filteredStatuses","ChecklistBuilderComponent_mat_nav_list_32_span_2_Template","ChecklistBuilderComponent_mat_nav_list_32_mat_selection_list_5_Template","ChecklistBuilderComponent_mat_nav_list_33_mat_list_item_1_Template_mat_list_item_click_0_listener","_r168","ctx_r167","ChecklistBuilderComponent_mat_nav_list_33_mat_list_item_1_span_3_Template","ctx_r164","ChecklistBuilderComponent_mat_nav_list_33_mat_list_item_2_Template_mat_list_item_click_0_listener","_r171","ctx_r170","ChecklistBuilderComponent_mat_nav_list_33_mat_list_item_2_span_1_Template","ctx_r165","ChecklistBuilderComponent_mat_nav_list_33_mat_list_item_1_Template","ChecklistBuilderComponent_mat_nav_list_33_mat_list_item_2_Template","ChecklistBuilderComponent_checklist_builder_review_summary_35_Template_checklist_builder_review_summary_requestRefresh_0_listener","_r173","ctx_r172","ChecklistBuilderComponent_checklist_builder_sections_39_Template_checklist_builder_sections_loading_0_listener","_r175","ctx_r174","disableSections","ChecklistBuilderComponent_checklist_builder_list_40_Template_checklist_builder_list_rowSelected_0_listener","rowSelectedFromList","filteredChecklistTemplates","ChecklistBuilderComponent","_procedure","checklisttemplatesStore","pointerY","loadPlaceholders","clearkeyValues","sub","docType","checklistBuilderMap","getPermissions","version1","version2","loadTemplateFromRoute","getMoreInfo","setSchedule","filterCustomNameTemplates","setLoadingFalse","scheduleSubtypeSubs","checklistTemplateStatusesSubs","filterChecklistTemplates","renew","checklistTemplateStatuses$","ChecklistTemplateStatuses","createEnable","createChecklistTemplate","updateTemplateTypes","checklistBuilderList","deleteChecklistTemplate","acc","current","other","filteredChecklistTemplateStatuses","storeTasks","filterSchedules","hasTemplatesInProgress","enableR","enableS","enableSchedProc","scheduleSubtypeId","isNewVersion","getSchedule","comments","updateChecklistTemplate","checklistTemplateStatus","updateRejectionComment","Rejected","canBePreparer","checklistPriv","Review","z","approveSignature","preparerSignature","finished","unsubmit","approverSignature","publishProcedure","correctionsStatusWarning","unapproveSignature","empty","commentText","removeSignatures","reactivate","_this9","reviewerSignature","reviewersignature","checkReviewers","_this10","sectionsComponent","statusErrorMessage","resolveRejection","prevRevision","newProcedure","procedureAppendices","appendix","checkPreparers","checkApprovers","scrollDeletedSections","loadingList","loadingSections","loadingMap","onScroll","scrollableContainer","checkVisibleElements","ChecklistTemplatesStoreAndListenersService","ChecklistBuilderComponent_Query","ChecklistBuilderComponent_resize_HostBindingHandler","ChecklistBuilderComponent_scroll_HostBindingHandler","ChecklistBuilderComponent_Template_button_click_3_listener","ChecklistBuilderComponent_div_13_Template","ChecklistBuilderComponent_div_14_Template","ChecklistBuilderComponent_div_15_Template","ChecklistBuilderComponent_div_16_Template","ChecklistBuilderComponent_div_17_Template","ChecklistBuilderComponent_div_19_Template","ChecklistBuilderComponent_div_20_Template","ChecklistBuilderComponent_Template_mat_sidenav_mouseenter_22_listener","ChecklistBuilderComponent_Template_mat_sidenav_mouseleave_22_listener","ChecklistBuilderComponent_mat_nav_list_24_Template","ChecklistBuilderComponent_mat_nav_list_26_Template","ChecklistBuilderComponent_mat_nav_list_27_Template","ChecklistBuilderComponent_mat_nav_list_28_Template","ChecklistBuilderComponent_mat_nav_list_29_Template","ChecklistBuilderComponent_mat_nav_list_30_Template","ChecklistBuilderComponent_mat_nav_list_31_Template","ChecklistBuilderComponent_mat_nav_list_32_Template","ChecklistBuilderComponent_mat_nav_list_33_Template","ChecklistBuilderComponent_checklist_builder_review_summary_35_Template","ChecklistBuilderComponent_checklist_builder_reject_36_Template","ChecklistBuilderComponent_Template_div_scroll_37_listener","ChecklistBuilderComponent_checklist_builder_sections_39_Template","ChecklistBuilderComponent_checklist_builder_list_40_Template","ChecklistBuilderComponent_overlay_loading_41_Template","_token","ApiTT","ApiStatus","ApiKE","ApiChecklistExecStatus","visibleElements","procedureSubject","currentTemplateValue","getPendingTemplates","checklistTemplateToDuplicate","getChecklistTemplatesByTypeAndResource","getChecklistTemplatesByDocumentTypeID","getAllTemplateTypes","getConfigTemplateTypes","getTemplateTypesByDocumentId","getDeletedSections","getDeletedSteps","getTasksByWFStepLocalID","createEmptyTask","createTask","getDeletedTasks","CreateWFActionLocal","wfActionLocalResource","UpdateWFActionLocal","DeleteWFActionLocal","CreateWFRoleLocal","wfRoleLocal","DeleteWFRoleLocal","createWFTaskLocalResource","actions","nextStatusID","approveNextStatus","unapproveNextStatus","disapproveNextStatus","getStatuses","getFormStatuses","scheduleResource","getProcedureByMasterID","getProcedureValue","interD","firstScheduleSubtype","new","extensionGranted","refuseExtension","requestExtension","names","descs","checkSchedule","checkProcedure","updateProcedure","updateResource","updateTemplate","procedureSignatureType","addedAlready","statusCheckAdd","isSubscribedAsApprover","hasRole","isSubscribedAsPreparer","isSubscribedAsReviewer","headerH","scrollThreshold","scrollDistance","scrollBy","Subtitle","TextNumericHead","CheckboxMultipleSign","ShieldingsComponent","StatusChange","CheckboxMultiple","CheckboxMultipleWithTextbox","optionsx","CheckboxRadioLocation","options1","idBRATOIRelated","PlaceholderCondition","Comments","Catl","checkExistingTemplates","existingTemplate","existingActiveTemplate","classNames","elements","cls","containerRect","topHalf","bottomHalf","bottom","allVisibleElements","addParentContainers","combined","parentElement","classList","contains","documentChips","ChecklistExecRelatedComponent","loadDocuments","documents$","Documents","documentsSubs","checklist","relatedDocuments","originalDocumentId","originalDocumentTypeId","documentChip","ChecklistExecRelatedComponent_Template","ChecklistExecRelatedComponent_fieldset_0_Template","ChecklistExecReviewSummaryComponent","currentChecklist","checklistID","ChecklistExecReviewSummaryComponent_Template","ChecklistExecReviewSummaryComponent_div_0_Template","Correcting","Reviewing","PendingReview","ChecklistsUpdate","reviewType","reviewCycle","reviewStatus","ChecklistExecSideComponent_mat_row_27_Template_mat_row_click_0_listener","ChecklistExecSideComponent","inactiveFormStatuses","loadReviews","loadChecklists","checklistsSubs","setColumns","filteredChecklists","statusIndex","checklists$","Checklists","checklists","setReviews","checkStatus","setLocations","reviews$","Reviews","reviewsSubs","reviews","formatLocation","resourceNameSanitized","newLocation","currentStatus","verificationList","verifiedOK","selectCreatedRow","selectCanceledRow","ChecklistsService","ChecklistExecSideComponent_Query","ChecklistExecSideComponent_Template_mat_slide_toggle_change_3_listener","ChecklistExecSideComponent_Template_mat_slide_toggle_ngModelChange_3_listener","ChecklistExecSideComponent_mat_header_cell_9_Template","ChecklistExecSideComponent_mat_cell_10_Template","ChecklistExecSideComponent_mat_header_cell_12_Template","ChecklistExecSideComponent_mat_cell_13_Template","ChecklistExecSideComponent_mat_header_cell_15_Template","ChecklistExecSideComponent_mat_cell_16_Template","ChecklistExecSideComponent_mat_header_cell_18_Template","ChecklistExecSideComponent_mat_cell_19_Template","ChecklistExecSideComponent_mat_header_cell_21_Template","ChecklistExecSideComponent_mat_cell_22_Template","ChecklistExecSideComponent_mat_header_cell_24_Template","ChecklistExecSideComponent_mat_cell_25_Template","ChecklistExecSideComponent_mat_header_row_26_Template","ChecklistExecSideComponent_mat_row_27_Template","ChecklistsRefreshById","ChecklistExecStandaloneComponent_span_4_span_2_Template","ChecklistExecStandaloneComponent","hideToggle","ChecklistExecStandaloneComponent_Template","ChecklistExecStandaloneComponent_Template_mat_expansion_panel_afterExpand_0_listener","ChecklistExecStandaloneComponent_Template_mat_expansion_panel_afterCollapse_0_listener","ChecklistExecStandaloneComponent_span_4_Template","ChecklistExecStandaloneComponent_span_5_Template","ChecklistExecStandaloneComponent_waiting_dots_6_Template","ChecklistExecStandaloneComponent_checklist_sections_13_Template","ɵɵclassMapInterpolate1","MatAutocompleteTrigger","ChecklistExecComponent_div_15_mat_icon_7_Template_mat_icon_click_0_listener","clearSelection","procedure_r30","hasTemplate","currentProcedure","ChecklistExecComponent_div_15_Template_input_keyup_5_listener","changedProcedure","ChecklistExecComponent_div_15_mat_icon_7_Template","ChecklistExecComponent_div_15_Template_mat_autocomplete_optionSelected_8_listener","selectedProcedure","ChecklistExecComponent_div_15_mat_option_11_Template","ChecklistExecComponent_div_15_mat_hint_12_Template","ChecklistExecComponent_div_15_mat_hint_13_Template","procedureCtrl","creating","displayProcedure","filteredProcedures","ChecklistExecComponent_div_16_mat_icon_7_Template_mat_icon_click_0_listener","type_r43","ChecklistExecComponent_div_16_mat_icon_7_Template","ChecklistExecComponent_div_16_Template_mat_autocomplete_optionSelected_8_listener","ChecklistExecComponent_div_16_mat_option_11_Template","ChecklistExecComponent_div_16_mat_hint_12_Template","ChecklistExecComponent_div_16_mat_hint_13_Template","ChecklistExecComponent_div_17_mat_form_field_2_mat_icon_4_Template_mat_icon_click_0_listener","template_r55","currentChecklistTemplate","ChecklistExecComponent_div_17_mat_form_field_2_Template_input_keyup_3_listener","filterTemplates","ChecklistExecComponent_div_17_mat_form_field_2_mat_icon_4_Template","ChecklistExecComponent_div_17_mat_form_field_2_Template_mat_autocomplete_optionSelected_5_listener","selectedTemplate","ChecklistExecComponent_div_17_mat_form_field_2_mat_option_8_Template","ChecklistExecComponent_div_17_mat_form_field_2_mat_hint_9_Template","ChecklistExecComponent_div_17_mat_form_field_2_mat_hint_10_Template","templateCtrl","displayTemplate","checklistTemplatesFiltered","ChecklistExecComponent_div_17_mat_form_field_2_Template","resourceBased","scheduleBased","ChecklistExecComponent_div_18_mat_form_field_2_mat_icon_4_Template_mat_icon_click_0_listener","template_r67","ChecklistExecComponent_div_18_mat_form_field_2_mat_icon_4_Template","ChecklistExecComponent_div_18_mat_form_field_2_Template_mat_autocomplete_optionSelected_5_listener","selectedTemplateName","ChecklistExecComponent_div_18_mat_form_field_2_mat_option_8_Template","ChecklistExecComponent_div_18_mat_form_field_2_mat_hint_9_Template","ChecklistExecComponent_div_18_mat_form_field_2_Template","ChecklistExecComponent_div_19_button_10_Template_button_click_0_listener","openVerificationList","ChecklistExecComponent_div_19_button_11_Template_button_click_0_listener","ChecklistExecComponent_div_19_button_12_Template_button_click_0_listener","ChecklistExecComponent_div_19_mat_icon_6_Template","ChecklistExecComponent_div_19_mat_icon_7_Template","ChecklistExecComponent_div_19_mat_icon_8_Template","ChecklistExecComponent_div_19_button_10_Template","ChecklistExecComponent_div_19_button_11_Template","ChecklistExecComponent_div_19_button_12_Template","canceledComments","ChecklistExecComponent_button_26_Template_button_click_0_listener","ChecklistExecComponent_button_28_Template_button_click_0_listener","noCreate","ChecklistExecComponent_button_30_Template_button_click_0_listener","ChecklistExecComponent_div_31_button_1_Template_button_click_0_listener","expandCollapse","expandedAll","ChecklistExecComponent_div_31_button_1_mat_icon_1_Template","ChecklistExecComponent_div_31_button_1_mat_icon_2_Template","ctx_r88","ChecklistExecComponent_div_31_button_1_Template","ChecklistExecComponent_filter_box_39_Template_filter_box_changed_0_listener","ChecklistExecComponent_mat_list_item_44_Template_mat_list_item_click_0_listener","createNew","ChecklistExecComponent_mat_list_item_44_span_1_Template","ChecklistExecComponent_mat_list_item_45_Template_mat_list_item_click_0_listener","openReview","ChecklistExecComponent_mat_list_item_45_span_1_Template","ChecklistExecComponent_checklist_exec_precheck_toggle_47_Template_checklist_exec_precheck_toggle_prechecChanged_0_listener","_r102","ctx_r101","precheckChanged","ChecklistExecComponent","builderService","rmService","actionItemsStore","scheduleStore","formStatusStore","toggleSidePanel","showLoader","checklistOpen","checklistDocumentType","RadSurveyReviewer","keyValuePairs","getChecklist","loadInfo","hutchFunctionalProcedures","filterProcedures","isProcedureRelated","proceduresVisible","SortProcedures","getTemplate","activeStatusOrder","readByChecklistID","checkPriv","getReview","getParticipants","isCollapsible","checkDisabled","participantSections","participants","taskSigned","saveExpansionStatus","canceledStatus","checklistStatusResource","checklistStatusID","getVerifiedById","precheck","arr","hours","getHours","minutes","getMinutes","seconds","getSeconds","milliseconds","getMilliseconds","findDocument","reviewCycleID","REVIEW","ActionItemsStoreAndListenersService","i8","SchedulesStoreAndListenersService","i9","FormStatusesStoreAndListenersService","ChecklistExecComponent_Query","ChecklistExecComponent_Template_button_click_3_listener","ChecklistExecComponent_div_12_Template","ChecklistExecComponent_div_15_Template","ChecklistExecComponent_div_16_Template","ChecklistExecComponent_div_17_Template","ChecklistExecComponent_div_18_Template","ChecklistExecComponent_div_19_Template","ChecklistExecComponent_div_20_Template","ChecklistExecComponent_div_21_Template","ChecklistExecComponent_div_22_Template","ChecklistExecComponent_button_26_Template","ChecklistExecComponent_button_28_Template","ChecklistExecComponent_button_30_Template","ChecklistExecComponent_div_31_Template","ChecklistExecComponent_checklist_exec_review_summary_32_Template","ChecklistExecComponent_Template_mat_sidenav_mouseenter_34_listener","ChecklistExecComponent_Template_mat_sidenav_mouseleave_34_listener","ChecklistExecComponent_mat_icon_38_Template","ChecklistExecComponent_filter_box_39_Template","ChecklistExecComponent_Template_checklist_exec_side_rowSelected_42_listener","ChecklistExecComponent_Template_checklist_exec_side_loading_42_listener","ChecklistExecComponent_mat_list_item_44_Template","ChecklistExecComponent_mat_list_item_45_Template","ChecklistExecComponent_checklist_exec_precheck_toggle_47_Template","ChecklistExecComponent_Template_checklist_sections_loading_48_listener","ChecklistExecComponent_overlay_loading_49_Template","WFSectionLocalStatus","ChecklistStepsComponent","ChecklistSectionComponent_button_9_Template_button_click_0_listener","userCanDuplicate","tooltip","ChecklistSectionComponent_button_11_Template_button_click_0_listener","ChecklistSectionComponent_checklist_steps_15_Template_checklist_steps_loading_0_listener","ChecklistSectionComponent_checklist_steps_15_Template_checklist_steps_checkShared_0_listener","checkShared","ChecklistSectionComponent","wfSectionLocalStatus","config","checklistClosed","closedStatus","cancelStatus","tooltipd","isSectionExpanded","saveState","saveSectionExpanded","ChecklistSectionComponent_Query","ChecklistSectionComponent_Template_mat_expansion_panel_opened_0_listener","ChecklistSectionComponent_Template_mat_expansion_panel_closed_0_listener","ChecklistSectionComponent_button_9_Template","ChecklistSectionComponent_div_10_Template","ChecklistSectionComponent_button_11_Template","ChecklistSectionComponent_checklist_steps_15_Template","NONE","DUPLICATED","hasCompletedTasks","ChecklistSectionsComponent_mat_accordion_2_ng_container_1_Template_checklist_section_loading_3_listener","ChecklistSectionsComponent_mat_accordion_2_ng_container_1_Template_checklist_section_checkShared_3_listener","checkSharedComponents","ChecklistSectionsComponent_mat_accordion_2_ng_container_1_Template","ChecklistSectionsComponent","updating","previousValue","scrolled","loadSections","sectionTypes","fromCharCode","setAllTasks","elementOffsetTop","offsetTop","ChecklistSectionsComponent_Query","ChecklistSectionsComponent_mat_accordion_2_Template","fullHeight","WFStepLocalStatus","ChecklistTasksComponent","ChecklistStepComponent_mat_expansion_panel_0_mat_expansion_panel_header_1_button_5_Template_button_click_0_listener","canDuplicate","ChecklistStepComponent_mat_expansion_panel_0_mat_expansion_panel_header_1_button_7_Template_button_click_0_listener","ChecklistStepComponent_mat_expansion_panel_0_mat_expansion_panel_header_1_button_5_Template","ChecklistStepComponent_mat_expansion_panel_0_mat_expansion_panel_header_1_div_6_Template","ChecklistStepComponent_mat_expansion_panel_0_mat_expansion_panel_header_1_button_7_Template","wfStepLocalStatus","disableTasks","ChecklistStepComponent_mat_expansion_panel_0_Template_mat_expansion_panel_opened_0_listener","ChecklistStepComponent_mat_expansion_panel_0_Template_mat_expansion_panel_closed_0_listener","ChecklistStepComponent_mat_expansion_panel_0_mat_expansion_panel_header_1_Template","ChecklistStepComponent_mat_expansion_panel_0_Template_checklist_tasks_loading_3_listener","ChecklistStepComponent_mat_expansion_panel_0_Template_checklist_tasks_checkShared_3_listener","isStepExpanded","tmp_6_0","ChecklistStepComponent","tasksSubs","getTasks","loadWFTaskLocals","WFTaskLocals","setDisabled","taskTouched","isTouched","saveStepExpanded","ChecklistStepComponent_Query","ChecklistStepComponent_mat_expansion_panel_0_Template","ChecklistStepsComponent_ng_container_2_Template_checklist_step_loading_3_listener","ChecklistStepsComponent_ng_container_2_Template_checklist_step_checkShared_3_listener","step_r1","ChecklistStepsComponent_Query","ChecklistStepsComponent_ng_container_2_Template","totalTasks","ChecklistTaskCounterComponent_div_0_mat_icon_1_Template","ChecklistTaskCounterComponent_div_0_span_7_Template","ChecklistTaskCounterComponent_div_0_b_8_Template","completedTasks","ChecklistTaskCounterComponent","componentsToCheck","getCompletedTasks","isCompleted","ChecklistTaskCounterComponent_Template","ChecklistTaskCounterComponent_div_0_Template","actionItem_r2","endDate","ChecklistTaskActionitemsComponent_div_0_div_1_span_14_Template","responsible","startDate","hasEndDate","reviewActionItemType","isStopper","ChecklistTaskActionitemsComponent_div_0_div_1_Template","reviewActionItems","ChecklistTaskActionitemsComponent","reviewActionItemsSubs","loadActionItems","reviewActionItems$","ReviewActionItems","actionItem","ChecklistTaskActionitemsComponent_Template","ChecklistTaskActionitemsComponent_div_0_Template","ReviewStatusEnum","ChecklistTasksAnnotationsEditComponent","ReviewsActionItemsDetailsComponent","ChecklistTaskRcpactionsComponent_button_1_Template_button_click_0_listener","addActionItem","ChecklistTaskRcpactionsComponent","reviewActionItem","reviewID","openActionItemDetail","checkActionItemsEnabled","checkPrivilege","AddRemoveActionItems","reviewBoard","reviewBoardType","Completed","addComment","ReviewsService","ChecklistTaskRcpactionsComponent_Template","ChecklistTaskRcpactionsComponent_button_1_Template","ChecklistTaskRcpactionsComponent_Template_button_click_2_listener","Satisfaction","ReviewSatisfactionChecksCreate","ReviewSatisfactionChecksUpdate","satisfactionCheck_r3","satisfaction","Indeterminate","preCheck","Satisfied","Unsatisfied","preCheckBy","preCheckOn","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_Template_button_click_3_listener","preCheckMilestone","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_mat_icon_4_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_mat_icon_5_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_mat_icon_6_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_div_7_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_span_8_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_div_9_Template","ReviewChecklistBLDevCheck","ChecklistTaskReviewSatisfactionCheckComponent_div_2_div_1_Template","satisfactionChecks","satisfactionCheck_r14","satisfactionCheckBy","satisfactionCheckOn","ChecklistTaskReviewSatisfactionCheckComponent_div_4_div_9_comments_box_4_Template_comments_box_textChanged_0_listener","textChanged","satisfactionCheckByID","ChecklistTaskReviewSatisfactionCheckComponent_div_4_div_9_span_2_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_div_9_span_3_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_div_9_comments_box_4_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_Template_button_click_3_listener","satCheckMilestone","ChecklistTaskReviewSatisfactionCheckComponent_div_4_mat_icon_4_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_mat_icon_5_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_mat_icon_6_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_div_7_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_span_8_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_div_9_Template","ReviewChecklistBARCol","ChecklistTaskReviewSatisfactionCheckComponent","reviewsService","satisfactionChecksSubs","loadSatisfactionChecks","satisfactionChecks$","ReviewSatisfactionChecks","reviewsatisfactionCheck","satisfactionCheck","preCheckByID","createReviewSatisfactionCheck","updateReviewSatisfactionCheck","ChecklistTaskReviewSatisfactionCheckComponent_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_2_Template","ChecklistTaskReviewSatisfactionCheckComponent_div_4_Template","ChecklistTaskReviewComponent","ChecklistTaskReviewComponent_Template","ChecklistTaskReviewComponent_Template_button_click_1_listener","MasterControlComponent","DuplicateAction","TasksCreate","TasksDelete","ChecklistTaskComponent_div_0_checklist_task_review_6_Template_checklist_task_review_changed_0_listener","annotationsChanged","ChecklistTaskComponent_div_0_checklist_tasks_annotations_8_Template_checklist_tasks_annotations_changed_0_listener","ChecklistTaskComponent_div_0_Template_master_control_changed_4_listener","ChecklistTaskComponent_div_0_Template_master_control_save_4_listener","ChecklistTaskComponent_div_0_Template_master_control_checked_4_listener","ChecklistTaskComponent_div_0_Template_master_control_approve_4_listener","ChecklistTaskComponent_div_0_Template_master_control_unapprove_4_listener","ChecklistTaskComponent_div_0_Template_master_control_disapprove_4_listener","ChecklistTaskComponent_div_0_Template_master_control_duplicate_4_listener","ChecklistTaskComponent_div_0_Template_master_control_loading_4_listener","ChecklistTaskComponent_div_0_Template_master_control_checkShared_4_listener","ChecklistTaskComponent_div_0_Template_master_control_close_4_listener","ChecklistTaskComponent_div_0_div_5_Template","ChecklistTaskComponent_div_0_checklist_task_review_6_Template","ChecklistTaskComponent_div_0_checklist_task_actionitems_7_Template","ChecklistTaskComponent_div_0_checklist_tasks_annotations_8_Template","disabledClose","booleanValue","ChecklistTaskComponent","checklistsService","initRefresh","disableUser","getTextValue","getBooleanValue","CloseButton","readyToClose","isArray","isASCC","taskComplete","processTags","Duplicate","RadMonitorDueDate","hasRefresh","ChecklistTaskComponent_Query","ChecklistTaskComponent_div_0_Template","Value","ChecklistTasksAnnotationsAnnotationComponent_button_6_Template_button_click_0_listener","ChecklistTasksAnnotationsAnnotationComponent_button_7_Template_button_click_0_listener","ChecklistTasksAnnotationsAnnotationComponent_button_8_Template_button_click_0_listener","ChecklistTasksAnnotationsAnnotationComponent_button_9_Template_button_click_0_listener","ChecklistTasksAnnotationsAnnotationComponent_button_10_Template_button_click_0_listener","ChecklistTasksAnnotationsAnnotationComponent_div_20_button_9_Template_button_click_0_listener","ChecklistTasksAnnotationsAnnotationComponent_div_20_button_10_Template_button_click_0_listener","ChecklistTasksAnnotationsAnnotationComponent_div_20_button_9_Template","ChecklistTasksAnnotationsAnnotationComponent_div_20_button_10_Template","isResponder","ChecklistTasksAnnotationsAnnotationComponent","annotationService","ChecklistTasksAnnotationsAnnotationComponent_Template","ChecklistTasksAnnotationsAnnotationComponent_button_6_Template","ChecklistTasksAnnotationsAnnotationComponent_button_7_Template","ChecklistTasksAnnotationsAnnotationComponent_button_8_Template","ChecklistTasksAnnotationsAnnotationComponent_button_9_Template","ChecklistTasksAnnotationsAnnotationComponent_button_10_Template","ChecklistTasksAnnotationsAnnotationComponent_div_20_Template","annotationsService","ChecklistTasksAnnotationsEditComponent_Template","ChecklistTasksAnnotationsEditComponent_div_4_Template","ChecklistTasksAnnotationsEditComponent_Template_comments_box_textChanged_8_listener","ChecklistTasksAnnotationsEditComponent_Template_button_click_11_listener","ChecklistTasksAnnotationsEditComponent_Template_button_click_14_listener","ChecklistTasksAnnotationsComponent_div_0_div_3_Template_checklist_tasks_annotations_annotation_changed_1_listener","ChecklistTasksAnnotationsComponent_div_0_div_3_Template","annotationsFiltered","ChecklistTasksAnnotationsComponent","ChecklistTasksAnnotationsComponent_Template","ChecklistTasksAnnotationsComponent_div_0_Template","ChecklistTasksComponent_ng_container_1_Template_checklist_task_updateTask_4_listener","ChecklistTasksComponent_ng_container_1_Template_checklist_task_loading_4_listener","ChecklistTasksComponent_ng_container_1_Template_checklist_task_checkShared_4_listener","task_r1","checklistService","renumbering","renumber","ChecklistTasksComponent_Query","ChecklistTasksComponent_ng_container_1_Template","SchedulesRefresh","ProcedureTypeEnum","ChecklistTempComponent_button_14_Template_button_click_0_listener","sendPrintView","ChecklistTempComponent","checklistTempServ","isPrintView","scheduleSubscribe","templateTypeSubscribe","procedureMasterId","procedureTypeEnum","RSSTest","createChecklistFromTemplate","EPSTest","createChecklist","loadingTemplateTypes","loadingSchedules","Temporal","dialogContent","printWindow","clone","cloneNode","write","head","clonedHead","focus","print","ChecklistTempComponent_Template","ChecklistTempComponent_Template_button_click_6_listener","ChecklistTempComponent_mat_progress_bar_9_Template","ChecklistTempComponent_button_14_Template","NgClass","NgForOf","MatIconButton","MatFormField","MatLabel","MatHint","MatOption","MatInput","MatIcon","DefaultValueAccessor","FormControlDirective","i10","MatAutocomplete","i11","MatNavList","MatSelectionList","MatListItem","MatListOption","MatListItemIcon","i12","MatTooltip","i13","MatToolbar","i14","MatSidenav","MatSidenavContainer","MatSidenavContent","i15","OverlayLoadingComponent","i16","MatCheckbox","i17","MatButton","i18","CdkDropList","CdkDrag","CdkDragHandle","i19","MatMenu","MatMenuTrigger","TasksUpdateAll","ConditionParser","expansionStatus","getAllByDocument","getAllByDocumentMin","getBySerialNo","sn","getStatusComplete","showAmmendment","getWFTaskLocalsByStepLocalId","stepLocalId","putStatus","putLocations","refreshSection","deleteChecklist","getTasksByStepID","statusValue","parsedTasks","parseConditions","loadWFTaskLocalResources","wfTaskLocal$","wfTaskLocalSubs","unsignedTasks","checkTouchedByComponent","valueObjects","MultipleTextbox","backgroundReadingChangedByID","sourceReadingChangedByID","roleOptions","Olog","tag","faultNote","faultNotes","faultNoteSave","outgoingSave","changeOutReason","expansion","getExpansionByChecklist","ExpansionStatus","setExpansions","expansions","VerificationList","checklistTasks","templateTasks","ChecklistTemplateStatusResource","SaveChecklistStatusResource","SaveChecklistLocationsResource","Placeholder","ChecklistTemplateStatus","RadMonitorChecklistTasks","taskLoc","taskOut","taskIn","sign1","sign2","signSwap","Option","AnnotationsRefresh","AnnotationsCreate","AnnotationsUpdate","AnnotationsDelete","AnnotationsStateModel","AnnotationsState","AnnotationsActions","AnnotationsStoreAndListenersService","ANNOTATIONS","BuilderTasksRefresh","BuilderTasksCreate","BuilderTasksUpdate","BuilderTasksDelete","BuilderTasksStateModel","BuilderTasksState","updateAll","updatedTasks","currentTask","IDs","BuilderTasksActions","BuilderTasksStoreAndListenersService","BUILDER_TASKS","ChecklistTemplateStatusesRefresh","ChecklistTemplateStatusesCreate","ChecklistTemplateStatusesUpdate","ChecklistTemplateStatusesDelete","ChecklistTemplateStatusesStateModel","ChecklistTemplateStatusesState","ChecklistTemplateStatusesActions","ChecklistTemplateStatusesStoreAndListenersService","CHECKLIST_STATUSES","ChecklistTemplatesRefreshPending","ChecklistTemplatesRefreshById","ChecklistTemplatesCreate","ChecklistTemplatesDelete","ChecklistTemplatesUpdateSection","ChecklistTemplatesRefreshSection","ChecklistTemplatesStateModel","ChecklistTemplatesState","refreshPending","refreshByByID","refreshStoredTasks","refreshByDocument","ChecklistTemplatesActions","CHECKLIST_TEMPLATES","ChecklistsRefresh","ChecklistsRefreshByDocument","ChecklistsRefreshByDocumentMin","ChecklistsCreate","ChecklistsDelete","ChecklistsUpdateSection","ChecklistsRefreshSection","ChecklistsStateModel","ChecklistsState","refreshByDocumentMin","ChecklistsActions","ChecklistsStoreAndListenersService","CHECKLISTS","PartialUpdate","ComponentsRefresh","ComponentsCreate","ComponentsUpdate","ComponentsDelete","ComponentsStateModel","ComponentsState","ComponentsActions","ComponentsStoreAndListenersService","COMPONENTS","DeletedSectionsStateModel","DeletedSectionsState","DeletedSectionsActions","DeletedSectionsStoreAndListenersService","DELETED_SECTIONS","DeletedStepsCreate","DeletedStepsDelete","DeletedStepsStateModel","DeletedStepsState","DeletedStepsActions","DeletedStepsStoreAndListenersService","DELETED_STEPS","DeletedTasksCreate","DeletedTasksDelete","DeletedTasksStateModel","DeletedTasksState","DeletedTasksActions","DeletedTasksStoreAndListenersService","DELETED_TASKS","TasksRefresh","TasksUpdate","TasksStateModel","TasksState","TasksActions","TasksStoreAndListenersService","TASKS","TemplateTypesLoad","TemplateTypesCreate","TemplateTypesStateModel","TemplateTypesState","TemplateTypesActions","TemplateTypesStoreAndListenersService","TEMPLATETYPES","EB2AcceleratorLocation","EB2AcceleratorLocationSave","EB2AcceleratorLocationHandler","eb2AcceleratorLocation","eB2ID","FormHandler","FormVersionHandler","requesterCtrl","startDateCtrl","completionDateCtrl","EbMainS1Component_div_69_button_2_Template_button_click_0_listener","EbMainS1Component_div_69_button_3_Template_button_click_0_listener","EbMainS1Component_div_69_button_4_Template_button_click_0_listener","cancelDraft","EbMainS1Component_div_69_button_6_Template_button_click_0_listener","EbMainS1Component_div_69_button_7_Template_button_click_0_listener","EbMainS1Component_div_69_button_8_Template_button_click_0_listener","submitAmendment","EbMainS1Component_div_69_button_9_Template_button_click_0_listener","Amendment","EbMainS1Component_div_69_button_10_Template_button_click_0_listener","EbMainS1Component_div_69_button_11_Template_button_click_0_listener","EbMainS1Component_div_69_button_12_Template_button_click_0_listener","unsubmitAmendment","EbMainS1Component_div_69_button_2_Template","EbMainS1Component_div_69_button_3_Template","EbMainS1Component_div_69_button_4_Template","EbMainS1Component_div_69_button_6_Template","EbMainS1Component_div_69_button_7_Template","EbMainS1Component_div_69_button_8_Template","EbMainS1Component_div_69_button_9_Template","EbMainS1Component_div_69_button_10_Template","EbMainS1Component_div_69_button_11_Template","EbMainS1Component_div_69_button_12_Template","cancelAvailable","showAmendment","EBCancel","New","EBEditAmendment","canUnsubmit","WorkApprovals","disapproveAvailable","PendingActivation","RestrictionsAmendment","EBRequestAmendment","EbMainS1Component","formService","formVersionService","formCreated","shuttersCtrl","acceleratorCtrl","otherSystemCtrl","chkBeamlineCtrl","chkAcceleratorCtrl","bypassCtrl","conditionsCtrl","systemCtrl","checkEnableControls","EBNewForm","disapproveSignature","requester","eB2","tmpOtherSystems","eB2OtherSystems","os","permittedStartDate","estimatedCompletion","getLocationIDs","amendmentSignature","clearFields","selectedReq","requesterID","onReqChange","equipmentOrFunctionForBypassAndReason","relatedDocumentsChanged","onShutterEdited","eB2Shutters","onAcceleratorEdited","eB2AcceleratorLocations","onOtherSystemsEdited","blCheckboxChanged","accCheckboxChanged","restrictionsChanged","eB2Restrictions","bypassDetailsChanged","bypassDetails","conditionsAndlimitationsChanged","conditionsAndLimitations","systemAndPrintChanged","systemAndPrintNumbers","startDateChanged","completionDateChanged","keepLoading","sequenceNumber","validateSubmit","invalidDate","deleteSerialNumbers","cancelEnabled","_x4","diffRelatedDocuments","relatedDocumentId","original","diffRelatedLinks","eB2RelatedLinks","diffRestrictions","restrictionID","diffShutters","diffAccelerators","diffOtherSystems","FormService","FormVersionService","EbMainS1Component_Template","EbMainS1Component_Template_form_keydown_enter_1_listener","EbMainS1Component_Template_input_keyup_11_listener","EbMainS1Component_Template_mat_autocomplete_optionSelected_13_listener","EbMainS1Component_mat_option_15_Template","EbMainS1Component_mat_error_16_Template","EbMainS1Component_Template_related_documents_changed_18_listener","EbMainS1Component_Template_related_link_chips_onEdited_20_listener","EbMainS1Component_Template_comments_box_textChanged_23_listener","EbMainS1Component_Template_mat_checkbox_change_26_listener","EbMainS1Component_Template_resource_chips_onEdit_28_listener","EbMainS1Component_Template_resource_chips_onError_28_listener","EbMainS1Component_Template_mat_checkbox_change_30_listener","EbMainS1Component_Template_resource_chips_onEdit_32_listener","EbMainS1Component_Template_resource_chips_onError_32_listener","EbMainS1Component_Template_other_system_chips_onEdit_36_listener","EbMainS1Component_Template_form_restriction_table_changed_39_listener","EbMainS1Component_Template_comments_box_textChanged_43_listener","EbMainS1Component_Template_comments_box_textChanged_46_listener","EbMainS1Component_Template_comments_box_textChanged_49_listener","EbMainS1Component_Template_input_dateChange_55_listener","EbMainS1Component_mat_error_59_Template","EbMainS1Component_Template_input_dateChange_64_listener","EbMainS1Component_mat_error_68_Template","EbMainS1Component_div_69_Template","editingBy","EbMainS2Component","EbMainS2Component_Template","EbMainS2Component_Template_form_workflow_loading_4_listener","EbMainS3Component","EbMainS3Component_Template","EbMainS3Component_Template_form_workflow_loading_4_listener","permanentBypassReason","EbMainS4Component_extra_action_button_8_Template_extra_action_button_error_0_listener","EbMainS4Component_extra_action_button_8_Template_extra_action_button_loading_0_listener","action_r4","EbMainS4Component_div_10_button_signature_1_Template_button_signature_approve_0_listener","s_r8","EbMainS4Component_div_10_button_signature_1_Template_button_signature_unapprove_0_listener","EbMainS4Component_div_10_button_signature_1_Template_button_signature_disapprove_0_listener","EbMainS4Component_div_10_button_signature_1_Template_button_signature_onError_0_listener","EbMainS4Component_div_10_button_signature_1_Template","EbMainS4Component_div_12_button_signature_1_Template_button_signature_approve_0_listener","s_r20","EbMainS4Component_div_12_button_signature_1_Template_button_signature_unapprove_0_listener","EbMainS4Component_div_12_button_signature_1_Template_button_signature_disapprove_0_listener","EbMainS4Component_div_12_button_signature_1_Template_button_signature_onError_0_listener","EbMainS4Component_div_12_button_signature_1_Template","EbMainS4Component","section4ExtraActions","section41Signatures","section42Signatures","technicalApprover2Signature","technicalApprover3Signature","oicApproval2Signature","makeBypassPermanentSignature","technicalApprover2Configuration","oicApproval2Configuration","makeBypassPermanentConfiguration","EbMainS4Component_Template","EbMainS4Component_div_6_Template","EbMainS4Component_extra_action_button_8_Template","EbMainS4Component_div_10_Template","EbMainS4Component_div_12_Template","EbMainS5Component_div_0_Template_form_workflow_loading_1_listener","EbMainS5Component","EbMainS5Component_Template","EbMainS5Component_div_0_Template","EbMainS6Component","closeDisabled","EbMainS6Component_Template","EbMainS6Component_Template_form_workflow_loading_1_listener","CommentsAndAttachmentsComponent","EbMainComponent_div_2_eb_main_s2_1_Template_eb_main_s2_loading_0_listener","EbMainComponent_div_2_eb_main_s3_2_Template_eb_main_s3_loading_0_listener","EbMainComponent_div_2_eb_main_s4_3_Template_eb_main_s4_loading_0_listener","EbMainComponent_div_2_eb_main_s5_4_Template_eb_main_s5_loading_0_listener","EbMainComponent_div_2_eb_main_s6_5_Template_eb_main_s6_loading_0_listener","EbMainComponent_div_2_eb_main_s2_1_Template","EbMainComponent_div_2_eb_main_s3_2_Template","EbMainComponent_div_2_eb_main_s4_3_Template","EbMainComponent_div_2_eb_main_s5_4_Template","EbMainComponent_div_2_eb_main_s6_5_Template","EbMainComponent_div_2_comments_and_attachments_7_Template","EbMainComponent","currentDocument","EbMainComponent_Query","EbMainComponent_Template_eb_main_s1_loading_1_listener","EbMainComponent_Template_eb_main_s1_formCreated_1_listener","EbMainComponent_div_2_Template","EB2OtherSystem","EB2OtherSystemSave","EB2OtherSystemHandler","eb2OtherSystem","EB2Shutter","EB2ShutterSave","EB2ShutterHandler","eb2Shutter","FormTableComponent","FormsUpdate","EbSideComponent","rowSelectedEvent","retrievedBy","formTable","loadForms","EbSideComponent_Query","EbSideComponent_Template_form_table_rowClick_0_listener","EbSideComponent_Template_form_table_error_0_listener","EbSideComponent_Template_form_table_loading_0_listener","showAllForms","formsFilter","SequenceNumber","FormVersion","EB2","EbComponent_mat_form_field_16_Template_input_ngModelChange_3_listener","operatorInitiatingForm","EbComponent_div_20_Template_mat_slide_toggle_change_1_listener","changeAmendmentToggle","EbComponent_filter_box_28_Template_filter_box_changed_0_listener","EbComponent_mat_list_item_34_Template_mat_list_item_click_0_listener","EbComponent_mat_list_item_34_span_1_Template","EbComponent_mat_list_item_35_Template_mat_list_item_click_0_listener","EbComponent_mat_list_item_35_span_1_Template","EbComponent_mat_list_item_36_Template_mat_list_item_click_0_listener","editAmendment","EbComponent_mat_list_item_36_span_1_Template","EbComponent_mat_list_item_38_Template_mat_list_item_click_0_listener","EbComponent_mat_list_item_38_span_1_Template","EbComponent_mat_list_item_39_Template_mat_list_item_click_0_listener","EbComponent_mat_list_item_39_span_1_Template","EbComponent_mat_list_item_40_Template_mat_list_item_click_0_listener","EbComponent_mat_list_item_40_span_1_Template","formStore","forms","formsSubs","forms$","Forms","showStatusChangeMessage","cancelSerialNumbers","operatorInitiatingFormID","formUnchanged","showAmendmentButton","section1","eb2","FormsStoreAndListenersService","EbComponent_Query","EbComponent_Template_button_click_3_listener","EbComponent_span_14_Template","EbComponent_mat_form_field_16_Template","EbComponent_mat_form_field_18_Template","EbComponent_div_20_Template","EbComponent_div_21_Template","EbComponent_Template_mat_sidenav_mouseenter_23_listener","EbComponent_Template_mat_sidenav_mouseleave_23_listener","EbComponent_mat_icon_27_Template","EbComponent_filter_box_28_Template","EbComponent_Template_eb_side_rowSelected_31_listener","EbComponent_Template_eb_side_loading_31_listener","EbComponent_mat_list_item_34_Template","EbComponent_mat_list_item_35_Template","EbComponent_mat_list_item_36_Template","EbComponent_olog_button_37_Template","EbComponent_mat_list_item_38_Template","EbComponent_mat_list_item_39_Template","EbComponent_mat_list_item_40_Template","EbComponent_Template_eb_main_loading_44_listener","EbComponent_Template_eb_main_formCreated_44_listener","EbComponent_overlay_loading_45_Template","tmp_19_0","ologService","keService","confirmMessage","getConfirmMessage","confirmed","showDialog","handleKES","restrictedResourceIDs","processKES","Activate","KEService","FormRestrictionHandler","mitigationDetails","getFullYear","getMonth","getDate","EB2Save","EB2Handler","formVersionID","NavigationEnd","HeadActionButtonsComponent_button_7_Template_button_click_0_listener","openDocumentHelp","HeadActionButtonsComponent_button_11_Template_button_click_0_listener","toggleToolbar","file2service","initialize","initMenuItems","checkToolbar","events","screen","hasToolbar","menuItemsSubs","initIconHelp","helpFile","formatUrlPath","fileV2Id","obtainFile","charAt","substring","openSearchDialog","newTab","innerText","containsNUmbers","href","string","printPage","FileV2Service","HeadActionButtonsComponent_HostBindings","HeadActionButtonsComponent_Template_button_click_1_listener","HeadActionButtonsComponent_Template_button_click_4_listener","HeadActionButtonsComponent_button_7_Template","HeadActionButtonsComponent_Template_button_click_8_listener","HeadActionButtonsComponent_button_11_Template","HeadLoginComponent_div_1_Template_a_click_1_listener","showUserInfo","HeadLoginComponent_div_2_Template_a_click_1_listener","HeadLoginComponent_button_11_Template_button_click_0_listener","logOut","role_r13","authenticationService","appState","loggedIn","rolesList","assSubs","setUser","openDialog","token","navigate","userCheck","HeadLoginComponent_Template","HeadLoginComponent_div_1_Template","HeadLoginComponent_div_2_Template","HeadLoginComponent_Template_div_mouseleave_3_listener","HeadLoginComponent_mat_icon_8_Template","HeadLoginComponent_img_9_Template","HeadLoginComponent_button_11_Template","HeadLoginComponent_div_19_Template","HeadLoginComponent_iframe_20_Template","HeadLogoAboutComponent_Template","HeadLogoAboutComponent_Template_button_click_0_listener","tooltipText","HeadLogoTooltipComponent_Template","HeadLogoTooltipComponent_Template_div_click_0_listener","signalR","toolTipText","HeadLogoComponent_Template","HeadLogoComponent_mat_icon_9_Template","HeadLogoComponent_mat_icon_10_Template","connection","MenuItemTypes","Orientation","missingTrainings","HeadMenuDropmenuComponent_span_7_a_1_Template_a_click_0_listener","menuItem_r4","routerLink","HeadMenuDropmenuComponent_span_7_a_2_Template_a_click_0_listener","HeadMenuDropmenuComponent_span_7_a_3_Template_a_click_0_listener","openComponent","i_r5","orientationEnum","Vertical","HeadMenuDropmenuComponent_span_7_a_1_Template","HeadMenuDropmenuComponent_span_7_a_2_Template","HeadMenuDropmenuComponent_span_7_a_3_Template","HeadMenuDropmenuComponent_span_7_head_menu_submenu_4_Template","HeadMenuDropmenuComponent_span_7_hr_5_Template","HeadMenuDropmenuComponent_span_7_menu_config_actions_6_Template","menuItemTypes","PopUp","childMenuItems","Submenu","Separator","procedureReport","loadMissingTrainings","calculateRouterLinks","menuitem","missingTrainings$","MissingTraining","missingTrainingsSubs","ProcedureReportService","HeadMenuDropmenuComponent_Query","HeadMenuDropmenuComponent_div_4_Template","HeadMenuDropmenuComponent_span_7_Template","HeadMenuSubmenuComponent_a_0_Template_a_mouseleave_0_listener","closeMenu","HeadMenuSubmenuComponent_a_0_Template_a_mouseover_0_listener","openMenu","HeadMenuSubmenuComponent_span_3_a_1_Template_a_click_0_listener","menuItem_r7","HeadMenuSubmenuComponent_span_3_a_2_Template_a_click_0_listener","HeadMenuSubmenuComponent_span_3_Template_span_mouseover_0_listener","menuOver","HeadMenuSubmenuComponent_span_3_Template_span_mouseout_0_listener","menuOut","HeadMenuSubmenuComponent_span_3_a_1_Template","HeadMenuSubmenuComponent_span_3_a_2_Template","HeadMenuSubmenuComponent_span_3_menu_config_actions_3_Template","menuOpen","menuHovered","HeadMenuSubmenuComponent_Query","HeadMenuSubmenuComponent_a_0_Template","HeadMenuSubmenuComponent_span_3_Template","HeadMenuComponent_div_0_li_3_Template_button_click_1_listener","pendingApprovals","myPendingChanges","HeadMenuComponent_div_0_li_4_a_1_div_3_Template","HeadMenuComponent_div_0_li_4_a_1_div_4_Template","HeadMenuComponent_div_0_li_4_a_2_Template_a_click_0_listener","HeadMenuComponent_div_0_li_4_a_1_Template","HeadMenuComponent_div_0_li_4_a_2_Template","HeadMenuComponent_div_0_li_4_head_menu_dropmenu_3_Template","Table","HeadMenuComponent_div_0_li_5_Template_button_click_1_listener","HeadMenuComponent_div_0_li_3_Template","HeadMenuComponent_div_0_li_4_Template","HeadMenuComponent_div_0_li_5_Template","showCarrousel","showingMenu","ass","pendingApprovalsService","unsubs","pendingApprovalsSubject","total","pageAmount","goNext","lastItem","firstItem","PendingApprovalsV2Service","HeadMenuComponent_Template","HeadMenuComponent_div_0_Template","HeadMenuComponent_div_1_Template","MenuValidation","componentRegistry","menuItemId","ByRole","calculateRoles","menuItemRoles","componentType","environmentLabel","showMenu","showBerkeley","updatePixelRatio","pr","devicePixelRatio","host","DEVELOPMENT","STAGING","PREPROD","HeadPageComponent_HostBindings","HeadPageComponent_div_7_Template","HeadPageComponent_head_action_buttons_13_Template","HeadPageComponent_div_14_Template","ɵɵpureFunction7","FormStatus","document_r15","year_r16","SearchDialogComponent_mat_cell_36_span_4_Template","requesterName","SearchDialogComponent_mat_row_50_Template_mat_row_click_0_listener","row_r24","SCF","RSSWA","years","year","workRel","condRel","initiator","documentsFiltered","formatGen","filterData","filterType","filterYear","generateHTML","TypeOfWork","Shieldings","SearchDialogComponent_Template","SearchDialogComponent_Template_filter_box_changed_7_listener","SearchDialogComponent_Template_mat_select_selectionChange_12_listener","SearchDialogComponent_mat_option_15_Template","SearchDialogComponent_Template_mat_select_selectionChange_20_listener","SearchDialogComponent_mat_option_23_Template","SearchDialogComponent_Template_button_click_24_listener","SearchDialogComponent_mat_progress_bar_27_Template","SearchDialogComponent_Template_mat_table_matSortChange_33_listener","SearchDialogComponent_mat_header_cell_35_Template","SearchDialogComponent_mat_cell_36_Template","SearchDialogComponent_mat_header_cell_38_Template","SearchDialogComponent_mat_cell_39_Template","SearchDialogComponent_mat_header_cell_41_Template","SearchDialogComponent_mat_cell_42_Template","SearchDialogComponent_mat_header_cell_44_Template","SearchDialogComponent_mat_cell_45_Template","SearchDialogComponent_mat_header_cell_47_Template","SearchDialogComponent_mat_cell_48_Template","SearchDialogComponent_mat_header_row_49_Template","SearchDialogComponent_mat_row_50_Template","MenuItemRefresh","MenuItemCreate","MenuItemUpdate","MenuItemDelete","MenuItemStateModel","MenuItemState","headMenuService","MenuItemActions","MenuItemStoreAndListenersService","MENUITEMS","element_r2","acceleratorStatus$","AcceleratorStatus","acceleratorStatus","accStatusSubscription","AcceleratorStatusComponent_Template","AcceleratorStatusComponent_mat_progress_bar_4_Template","AcceleratorStatusComponent_div_7_Template","AcceleratorService","getAcceleratorStatus","AcceleratorStatusRefresh","AcceleratorStatusActions","AcceleratorStatusListener","ACCELERATORSTATUS","AcceleratorStatusStateModel","AcceleratorStatusState","acceleratorService","BakeoutArchiveComponent_div_30_button_2_Template_button_click_0_listener","item_r1","temperatureNotes","additionalNotes","BakeoutArchiveComponent_div_30_button_2_Template","BakeoutArchiveComponent_div_30_div_18_Template","BakeoutArchiveComponent_div_30_div_19_Template","BakeoutArchiveComponent_div_30_span_25_Template","estimatedStart","estimatedEnd","temperature","temperatureUnit","modal","copyItemEvent","archives","filtered","numberOnly","currentMonth","Month","testMonth","currentYear","Year","testYear","filterHistory","searchMonth","Filter","searchTerm","self","getArchive","loadArchives","BakeoutService","BakeoutArchiveComponent_Template","BakeoutArchiveComponent_Template_input_keyup_12_listener","BakeoutArchiveComponent_Template_input_ngModelChange_12_listener","BakeoutArchiveComponent_Template_input_keyup_19_listener","BakeoutArchiveComponent_Template_input_keypress_19_listener","BakeoutArchiveComponent_Template_input_ngModelChange_19_listener","BakeoutArchiveComponent_Template_input_keyup_26_listener","BakeoutArchiveComponent_Template_input_keypress_26_listener","BakeoutArchiveComponent_Template_input_ngModelChange_26_listener","BakeoutArchiveComponent_div_30_Template","OrderBy","loadActives","getActive","insert","archive","DOCUMENT","BakeoutsPanelComponent_button_9_Template_button_click_0_listener","showAdd","item_r5","updatedByInitials","BakeoutsPanelComponent_div_12_Template_button_click_7_listener","showEdit","BakeoutsPanelComponent_div_12_Template_button_click_12_listener","BakeoutsPanelComponent_div_12_div_49_Template","BakeoutsPanelComponent_div_12_div_50_Template","BakeoutsPanelComponent_div_12_div_56_Template","checkExpired","tmp_10_0","createdByInitials","actives","showArchive","componentInstance","itemToCopy","dataItem","confirmDiscardChanges","returnedItemEvent","returnedItem","handleReturnedItem","closeAllMenus","updatedActives","archiveItem","toggleMenu","toggle","right","menu","getUserTable","loadBakeouts","checkUsers","setInterval","clearInterval","bakeouts$","Bakeouts","bakeoutsSubs","bakeouts","estimatedDate","responsiveFunction","toFixed","BakeoutsPanelComponent_HostBindings","BakeoutsPanelComponent_Template_button_click_6_listener","BakeoutsPanelComponent_button_9_Template","BakeoutsPanelComponent_mat_progress_bar_10_Template","BakeoutsPanelComponent_div_12_Template","phone","BakeoutEditorComponent_button_27_Template_button_click_0_listener","EstimatedStartOutput","BakeoutEditorComponent_button_33_Template_button_click_0_listener","EstimatedEndOutput","bakeoutForm","Id","IsNullOrWhiteSpace","Phonenumber","Location","Temperature","isInteger","TemperatureUnit","TemperatureNotes","AdditionalNotes","subtitle","Username","DateNow","changeDate","blur","BakeoutEditorComponent_Template","BakeoutEditorComponent_Template_input_ngModelChange_11_listener","BakeoutEditorComponent_Template_input_ngModelChange_15_listener","BakeoutEditorComponent_mat_error_16_Template","BakeoutEditorComponent_Template_input_ngModelChange_20_listener","BakeoutEditorComponent_mat_error_21_Template","BakeoutEditorComponent_Template_input_ngModelChange_26_listener","BakeoutEditorComponent_Template_input_change_26_listener","BakeoutEditorComponent_Template_input_blur_26_listener","BakeoutEditorComponent_button_27_Template","BakeoutEditorComponent_mat_error_28_Template","BakeoutEditorComponent_Template_input_ngModelChange_32_listener","BakeoutEditorComponent_Template_input_blur_32_listener","BakeoutEditorComponent_button_33_Template","BakeoutEditorComponent_mat_error_34_Template","BakeoutEditorComponent_Template_input_ngModelChange_39_listener","BakeoutEditorComponent_Template_input_keypress_39_listener","BakeoutEditorComponent_mat_error_40_Template","BakeoutEditorComponent_Template_mat_radio_group_ngModelChange_42_listener","BakeoutEditorComponent_Template_textarea_ngModelChange_50_listener","BakeoutEditorComponent_Template_textarea_ngModelChange_54_listener","BakeoutEditorComponent_Template_button_click_58_listener","BakeoutEditorComponent_Template_button_click_61_listener","BakeoutsRefresh","BakeoutsCreate","BakeoutsUpdate","BakeoutsDelete","BakeoutsStateModel","BakeoutsState","BakeoutsActions","BakeoutsStoreAndListenersService","BAKEOUT","ScheduleStatusTimeEnum","pssChannelStatus","BeamlineOverviewDetailsComponent_td_16_div_1_Template","BeamlineOverviewDetailsComponent_td_16_div_2_Template","rssChannelStatus","keReady","ready","BeamlineOverviewDetailsComponent_div_27_button_27_Template_button_click_0_listener","deleteBlComment","BeamlineOverviewDetailsComponent_div_27_div_32_div_7_Template_button_click_4_listener","_r151","document_r149","ctx_r150","navigateToForm","BeamlineOverviewDetailsComponent_div_27_div_32_div_9_Template_button_click_4_listener","_r154","document_r152","ctx_r153","BeamlineOverviewDetailsComponent_div_27_div_32_div_11_Template_button_click_4_listener","_r157","document_r155","ctx_r156","BeamlineOverviewDetailsComponent_div_27_div_32_div_7_Template","BeamlineOverviewDetailsComponent_div_27_div_32_div_9_Template","BeamlineOverviewDetailsComponent_div_27_div_32_div_11_Template","scfDocuments","rsswaDocuments","ebDocuments","element_r158","element_r160","element_r162","element_r163","element_r164","element_r166","element_r167","element_r168","element_r176","BeamlineOverviewDetailsComponent_div_27_mat_cell_166_Template_button_click_1_listener","_r182","element_r180","navigateToSchedule","element_r183","element_r184","nextDue","cssColor","statusTimeName","BeamlineOverviewDetailsComponent_div_27_mat_cell_189_Template_button_click_1_listener","BeamlineOverviewDetailsComponent_div_27_mat_cell_201_Template_button_click_1_listener","_r194","element_r192","ctx_r193","element_r195","BeamlineOverviewDetailsComponent_div_27_mat_cell_213_Template_button_click_1_listener","_r199","element_r197","ctx_r198","element_r200","BeamlineOverviewDetailsComponent_div_27_mat_cell_225_Template_button_click_1_listener","_r204","element_r202","ctx_r203","element_r205","BeamlineOverviewDetailsComponent_div_27_mat_cell_238_Template_button_click_1_listener","element_r207","element_r210","BeamlineOverviewDetailsComponent_div_27_mat_cell_250_Template_button_click_1_listener","_r214","element_r212","element_r215","BeamlineOverviewDetailsComponent_div_27_mat_cell_262_Template_button_click_1_listener","_r219","element_r217","ctx_r218","element_r220","BeamlineOverviewDetailsComponent_div_27_Template_input_ngModelChange_7_listener","_r223","ctx_r222","BeamlineOverviewDetailsComponent_div_27_Template_input_ngModelChange_12_listener","ctx_r224","BeamlineOverviewDetailsComponent_div_27_Template_input_ngModelChange_17_listener","ctx_r225","BeamlineOverviewDetailsComponent_div_27_Template_comments_box_textChanged_25_listener","ctx_r226","commentChanged","BeamlineOverviewDetailsComponent_div_27_button_27_Template","BeamlineOverviewDetailsComponent_div_27_div_32_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_43_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_44_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_45_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_46_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_57_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_58_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_59_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_60_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_71_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_72_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_74_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_75_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_77_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_78_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_79_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_80_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_91_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_92_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_94_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_95_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_97_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_98_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_99_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_100_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_111_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_112_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_114_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_115_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_117_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_118_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_119_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_120_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_131_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_132_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_134_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_135_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_137_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_138_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_139_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_140_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_151_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_152_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_153_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_154_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_165_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_166_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_168_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_169_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_171_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_172_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_174_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_175_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_176_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_177_Template","BeamlineOverviewDetailsComponent_div_27_mat_progress_bar_184_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_188_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_189_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_191_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_192_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_193_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_194_Template","BeamlineOverviewDetailsComponent_div_27_mat_progress_bar_196_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_200_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_201_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_203_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_204_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_205_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_206_Template","BeamlineOverviewDetailsComponent_div_27_mat_progress_bar_208_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_212_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_213_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_215_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_216_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_217_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_218_Template","BeamlineOverviewDetailsComponent_div_27_mat_progress_bar_220_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_224_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_225_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_227_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_228_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_229_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_230_Template","BeamlineOverviewDetailsComponent_div_27_mat_progress_bar_233_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_237_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_238_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_240_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_241_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_242_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_243_Template","BeamlineOverviewDetailsComponent_div_27_mat_progress_bar_245_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_249_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_250_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_252_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_253_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_254_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_255_Template","BeamlineOverviewDetailsComponent_div_27_mat_progress_bar_257_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_261_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_262_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_cell_264_Template","BeamlineOverviewDetailsComponent_div_27_mat_cell_265_Template","BeamlineOverviewDetailsComponent_div_27_mat_header_row_266_Template","BeamlineOverviewDetailsComponent_div_27_mat_row_267_Template","overviewCtrl","overviewCtrlText","isAbleToEditComment","tmp_9_0","getHint","isAbleToDeleteComment","displayedColumnsResource","displayedColumnsOrgUserRelation","dataSourceSchedule","displayedColumnsSchedule","loading2","scfs","displayedColumnsForms","ppstbs","kes","rads","rsswas","ebs","beamlineOverviewService","formId","displayedColumnsBlStatus","loadBeamlineOverview","GetBeamlineOverviewById","addBeamlineOverviewData","getDocs","docs","matchesLocationOrShutterID","matchesParentID","parentID","filterDocs","docTypeID","beamlineOverview","orderDocumentsByType","dataSourceBlStatus","setScheduleStatusName","statusTime","beamlineUpdated","onWindowScroll","pageYOffset","windowScrolled","scheduleElement","currentDocSchedule","formDocument","getUpdateText","AddEditBlOverviewComment","DeleteBlOverviewComment","dataSourceSCF","dataSourceRSSWA","dataSourcePPSTB","dataSourceEB","BeamlineOverviewService","BeamlineOverviewDetailsComponent_HostBindings","BeamlineOverviewDetailsComponent_th_9_Template","BeamlineOverviewDetailsComponent_td_10_Template","BeamlineOverviewDetailsComponent_th_12_Template","BeamlineOverviewDetailsComponent_td_13_Template","BeamlineOverviewDetailsComponent_th_15_Template","BeamlineOverviewDetailsComponent_td_16_Template","BeamlineOverviewDetailsComponent_th_18_Template","BeamlineOverviewDetailsComponent_td_19_Template","BeamlineOverviewDetailsComponent_th_21_Template","BeamlineOverviewDetailsComponent_td_22_Template","BeamlineOverviewDetailsComponent_tr_23_Template","BeamlineOverviewDetailsComponent_tr_24_Template","BeamlineOverviewDetailsComponent_mat_progress_bar_25_Template","BeamlineOverviewDetailsComponent_div_27_Template","_sendIdService","currentId","beamlineOverviewDetails","BeamlineOverviewComponent_Query","BeamlineOverviewComponent_Template_app_beam_status_sendId_4_listener","BeamlineServService","getBeamlineStatus","BeamlineStatusRefresh","BeamStatusComponent_mat_cell_42_div_1_Template","BeamStatusComponent_mat_cell_45_div_1_Template","BeamStatusComponent_mat_cell_45_span_2_Template","hasPendingRestrictions","restrictionsTooltip","BeamStatusComponent_mat_cell_51_span_1_Template","routerPath","headerBottom","BeamStatusComponent_mat_row_53_Template_mat_row_click_0_listener","row_r32","rowClick","sendIdService","selectedRowID","spanningColumns","spans","sendId","loadBeamlineStatuses","beamlineStatuses$","BeamlineStatus","beamlineStatusesSubs","beamlineStatuses","getAdditionalInfo","pvs$","pvsSubs","pvs","SendId","tablePercentage","percent","beamStatus","offsetWidth","getKeReadyStatus","getRestrictions","pssPV","rssPV","allRestrictions","pendingMessage","autoDelete","BeamStatusComponent_Query","BeamStatusComponent_Template_filter_box_changed_9_listener","BeamStatusComponent_mat_progress_bar_29_Template","BeamStatusComponent_mat_header_cell_35_Template","BeamStatusComponent_mat_cell_36_Template","BeamStatusComponent_mat_header_cell_38_Template","BeamStatusComponent_mat_cell_39_Template","BeamStatusComponent_mat_header_cell_41_Template","BeamStatusComponent_mat_cell_42_Template","BeamStatusComponent_mat_header_cell_44_Template","BeamStatusComponent_mat_cell_45_Template","BeamStatusComponent_mat_header_cell_47_Template","BeamStatusComponent_mat_cell_48_Template","BeamStatusComponent_mat_header_cell_50_Template","BeamStatusComponent_mat_cell_51_Template","BeamStatusComponent_mat_header_row_52_Template","BeamStatusComponent_mat_row_53_Template","_c9","idSource","BeamlineStatusCreate","BeamlineStatusUpdate","BeamlineStatusDelete","BeamlineStatusStateModel","BeamlineStatusState","BeamlineStatusActions","BeamlineStatusStoreAndListenersService","BEAMLINE_STATUS","BranchlineStatusState","Select","BranchlineStatusComponent_mat_cell_16_Template_button_click_1_listener","BranchlineStatusComponent_mat_cell_19_button_1_Template_button_click_0_listener","doToggle","BranchlineStatusToggle","BranchlineStatusComponent_mat_cell_19_button_2_Template_button_click_0_listener","BranchlineStatusComponent_mat_cell_19_button_1_Template","BranchlineStatusComponent_mat_cell_19_button_2_Template","keColor","resourcesService","suscriptionBSS","loadBranchlines","branchlines$","Branchlines","branchlinesSubs","branchBody","elemBottom","header2","BranchlineStatusComponent_Query","BranchlineStatusComponent_scroll_HostBindingHandler","BranchlineStatusComponent_Template_filter_box_changed_9_listener","BranchlineStatusComponent_mat_progress_bar_10_Template","BranchlineStatusComponent_mat_header_cell_15_Template","BranchlineStatusComponent_mat_cell_16_Template","BranchlineStatusComponent_mat_header_cell_18_Template","BranchlineStatusComponent_mat_cell_19_Template","BranchlineStatusComponent_mat_header_cell_21_Template","BranchlineStatusComponent_mat_cell_22_Template","BranchlineStatusComponent_mat_header_row_23_Template","BranchlineStatusComponent_mat_row_24_Template","BLSActions","RefreshBranchStatus","UpdateBranchStatus","payload","AddBranchStatus","DeleteBranchStatus","Refresh","BranchlineStatusActions","BranchlineStatusStoreAndListenersService","BRANCHLINESTATUS","BulletinBoardService","apiBulletinBoard","selectedItem","getAllActives","getAllInactives","insertBBI","updateBBI","archiveBBI","BulletinBoardComponent_button_9_Template_button_click_0_listener","AddToBB","BulletinBoardComponent_div_11_div_6_button_6_Template_button_click_0_listener","item_r4","PinBB","BulletinBoardComponent_div_11_div_6_button_7_Template_button_click_0_listener","UnPinBB","BulletinBoardComponent_div_11_div_6_button_6_Template","BulletinBoardComponent_div_11_div_6_button_7_Template","BulletinBoardComponent_div_11_div_6_Template_button_click_9_listener","EditBB","BulletinBoardComponent_div_11_div_6_Template_button_click_14_listener","ArchiveBB","isPined","expirationDate","nowdate","BulletinBoardComponent_div_11_mat_icon_2_Template","BulletinBoardComponent_div_11_Template_span_click_3_listener","seeMore","BulletinBoardComponent_div_11_a_5_Template","BulletinBoardComponent_div_11_div_6_Template","BulletinBoardComponent_div_11_span_11_Template","BulletinBoardComponent_div_11_span_12_Template","BulletinBoardEditor","bulletinBoardService","bulletinBoardItemSubscription","currentUserSubscription","activesHistory","getBulletinBoardItems","bulletinBoardItems$","BulletinBoard","bulletinBoardItems","bb","nodeName","parentNode","firstElementChild","lastChild","className","ItemBackup","itemToSave","BBHistory","BulletinBoardComponent_HostBindings","BulletinBoardComponent_Template_button_click_6_listener","BulletinBoardComponent_button_9_Template","BulletinBoardComponent_div_11_Template","ModalAddToBBComponent_button_18_Template_button_click_0_listener","ExpirationDate","BBService","Tittle","Description","EmisionDate","IsPined","CreatedBy","Validate","Save","ModalAddToBBComponent_Template","ModalAddToBBComponent_mat_progress_bar_1_Template","ModalAddToBBComponent_Template_textarea_ngModelChange_10_listener","ModalAddToBBComponent_mat_error_13_Template","ModalAddToBBComponent_Template_input_ngModelChange_17_listener","ModalAddToBBComponent_button_18_Template","ModalAddToBBComponent_Template_button_click_24_listener","ModalHistoryBBComponent_div_30_button_12_Template_button_click_0_listener","DisarchiveBB","updates","ModalHistoryBBComponent_div_30_Template_P_click_3_listener","SeeMore","ModalHistoryBBComponent_div_30_a_6_Template","ModalHistoryBBComponent_div_30_button_12_Template","ModalHistoryBBComponent_div_30_span_17_Template","ModalHistoryBBComponent_div_30_span_18_Template","ModalHistoryBBComponent_div_30_hr_19_Template","FilteredInactivesHistory","inactivesHistory","InitialLoadBB","ModalHistoryBBComponent_Template","ModalHistoryBBComponent_Template_input_keyup_12_listener","ModalHistoryBBComponent_Template_input_ngModelChange_12_listener","ModalHistoryBBComponent_Template_input_keyup_19_listener","ModalHistoryBBComponent_Template_input_keypress_19_listener","ModalHistoryBBComponent_Template_input_ngModelChange_19_listener","ModalHistoryBBComponent_Template_input_keyup_26_listener","ModalHistoryBBComponent_Template_input_keypress_26_listener","ModalHistoryBBComponent_Template_input_ngModelChange_26_listener","ModalHistoryBBComponent_div_30_Template","BulletinBoardRefresh","BulletinBoardCreate","BulletinBoardUpdate","BulletinBoardDelete","BulletinBoardStateModel","BulletinBoardState","BulletinBoardActions","BulletinBoardStoreAndListenersService","BULLETINBOARD","CurrentActivityComponent_div_8_Template_span_click_1_listener","item_r3","addMoreInfo","CurrentActivityComponent_div_10_Template_span_click_1_listener","item_r6","inactive","default","loadReviewCycles","reviewCycles$","ReviewCycles","reviewCyclesSubs","reviewCycles","disableLink","documentTypesFiltered","formsAndReviewsFiltered","checklistsFiltered","CurrentActivityComponent_HostBindings","CurrentActivityComponent_div_8_Template","CurrentActivityComponent_div_10_Template","CurrentActivityComponent_mat_progress_bar_11_Template","registry","HomeComponent_Template","HomeComponent_div_16_Template","RadAreaView","RadiationAreaAttachmentComponent","MatFileV2UploadComponent","RadiationAreaRefresh","RAService","radAreas","radiationAreaItemSubscription","save_files_database","typeDocument","radArea","radAreaUploadID","loadRadiationAreas","radiationAreaItems$","RadiationArea","radiationAreaItems","ra","insertRAI","selectedFiles","uploadAttachments","updateRAI","getSelectedFiles","matFilev2Upload","uploadRadFiles","Cancel","RadiationAreaService","ModalAddToRAComponent_Query","ModalAddToRAComponent_mat_progress_bar_1_Template","ModalAddToRAComponent_Template_textarea_ngModelChange_10_listener","ModalAddToRAComponent_mat_error_13_Template","ModalAddToRAComponent_Template_textarea_ngModelChange_17_listener","ModalAddToRAComponent_mat_error_20_Template","ModalAddToRAComponent_Template_mat_file_list_changed_23_listener","ModalAddToRAComponent_Template_mat_file_list_selectedFilesChanged_23_listener","ModalAddToRAComponent_Template_mat_file_v2_upload_selectedFilesChanged_25_listener","ModalAddToRAComponent_Template_button_click_28_listener","ModalAddToRAComponent_Template_button_click_30_listener","files","getFileExtension","file_r2","formatBytes","size","barProgressStatus","onFileDropped","prepareFilesList","fileBrowseHandler","prepareFilesList2","deleteFile","progress","attachedFiles","fileDropEl","uploadFilesSimulator","existNameFile","fileAdded","CategoryId","fileName","parts","bytes","decimals","k","dm","sizes","floor","parseFloat","pow","progressInterval","SaveFiles","setPath","folderName","holderName","RadiationAreaAttachmentComponent_Query","RadiationAreaAttachmentComponent_Template_div_fileDropped_1_listener","RadiationAreaAttachmentComponent_Template_input_change_2_listener","RadiationAreaAttachmentComponent_div_12_Template","apiRadiationArea","deleteRAI","RadiationAreaComponent_button_6_Template_button_click_0_listener","addRA","RadiationAreaComponent_div_9_button_10_Template_button_click_0_listener","radArea_r4","editRA","RadiationAreaComponent_div_9_button_11_Template_button_click_0_listener","deleteRA","file_r17","RadiationAreaComponent_div_9_button_6_Template","RadiationAreaComponent_div_9_button_10_Template","RadiationAreaComponent_div_9_button_11_Template","RadiationAreaComponent_div_9_div_13_Template","RadAreaModify","RadAreaDelete","radiationAreaService","file2Service","getRadiationAreaItems","RadiationAreaComponent_Template","RadiationAreaComponent_button_6_Template","RadiationAreaComponent_div_9_Template","RadAreaCreate","RadiationAreaCreate","RadiationAreaUpdate","RadiationAreaDelete","RadiationAreaStateModel","RadiationAreaState","RadiationAreaActions","RadiationAreaStoreAndListenersService","RADIATIONAREA","ToxicGasArchiveComponent_div_30_button_2_Template_button_click_0_listener","ToxicGasArchiveComponent_div_30_button_2_Template","ToxicGasArchiveComponent_div_30_span_16_Template","roofAccess","ToxicGasEditor","responsibleParty","ToxicGasService","ToxicGasArchiveComponent_Template","ToxicGasArchiveComponent_Template_input_keyup_12_listener","ToxicGasArchiveComponent_Template_input_ngModelChange_12_listener","ToxicGasArchiveComponent_Template_input_keyup_19_listener","ToxicGasArchiveComponent_Template_input_keypress_19_listener","ToxicGasArchiveComponent_Template_input_ngModelChange_19_listener","ToxicGasArchiveComponent_Template_input_keyup_26_listener","ToxicGasArchiveComponent_Template_input_keypress_26_listener","ToxicGasArchiveComponent_Template_input_ngModelChange_26_listener","ToxicGasArchiveComponent_div_30_Template","ToxicGasEditorComponent_button_14_Template_button_click_0_listener","gas","toxicGasForm","Gas","RoofAccess","ResponsibleParty","ToxicGasEditorComponent_Template","ToxicGasEditorComponent_Template_input_ngModelChange_9_listener","ToxicGasEditorComponent_Template_input_ngModelChange_13_listener","ToxicGasEditorComponent_button_14_Template","ToxicGasEditorComponent_mat_error_18_Template","ToxicGasEditorComponent_Template_input_ngModelChange_22_listener","ToxicGasEditorComponent_mat_error_23_Template","ToxicGasEditorComponent_Template_input_ngModelChange_27_listener","ToxicGasEditorComponent_mat_error_28_Template","ToxicGasEditorComponent_Template_input_ngModelChange_32_listener","ToxicGasEditorComponent_Template_mat_radio_group_ngModelChange_36_listener","ToxicGasEditorComponent_mat_error_41_Template","ToxicGasEditorComponent_Template_button_click_44_listener","ToxicGasEditorComponent_Template_button_click_46_listener","ToxicGasRefresh","ToxicGasCreate","ToxicGasUpdate","ToxicGasDelete","ToxicGasStateModel","ToxicGasState","ToxicGasActions","ToxicGasStoreAndListenersService","TOXIC_GAS","ToxicGasPanelComponent_button_8_Template_button_click_0_listener","ToxicGasPanelComponent_div_11_button_7_Template","ToxicGasPanelComponent_div_11_Template_button_click_10_listener","ToxicGasPanelComponent_div_11_Template_button_click_14_listener","ToxicGasPanelComponent_div_11_div_38_Template","toxicGasService","loadToxicGases","toxicGases$","ToxicGas","toxicGasesSubs","toxicGases","toxicGas","ToxicGasPanelComponent_HostBindings","ToxicGasPanelComponent_Template_button_click_5_listener","ToxicGasPanelComponent_button_8_Template","ToxicGasPanelComponent_mat_progress_bar_9_Template","ToxicGasPanelComponent_div_11_Template","OrderByDate","KeClBuilderSectionComponent","elem_r29","KeChecklistBuilderComponent_mat_form_field_10_Template_mat_autocomplete_optionSelected_5_listener","selectedBranchline","KeChecklistBuilderComponent_mat_form_field_10_mat_option_8_Template","branchlineCtrl","KeChecklistBuilderComponent_mat_radio_button_13_Template_mat_radio_button_change_0_listener","radioChanged","r_r32","KeChecklistBuilderComponent_mat_option_23_span_3_Template","KeChecklistBuilderComponent_mat_option_23_span_4_Template","elem_r35","KeChecklistBuilderComponent_button_34_Template_button_click_0_listener","buttonText","KeChecklistBuilderComponent_button_35_Template_button_click_0_listener","KeChecklistBuilderComponent_button_36_Template_button_click_0_listener","KeChecklistBuilderComponent_button_37_Template_button_click_0_listener","KeChecklistBuilderComponent_button_38_Template_button_click_0_listener","_res","_keBuilder","_placeholder","componentsStore","showBranchlines","allShutters","filteredShutters","proceduresFiltered","brOptions","procedureCategoriesSubscription","procedureSubscription","keVersionsSubs","loadKEVersions","keVersions$","KEVersions","refreshSections","loadAllLocations","locLoading","filterShutters","procedureCategories$","ProcedureCategory","ProcedureCategories","KEChecklist","loc","tmpShutter","showBeamline","tmpBranchline","getVersion","refreshDetails","filterVersions","radioSelection","keGlobal","tmpVersion","KEE","displayShutter","displayBranchline","section2","section3","section4","section5","section6","refreshHead","bls","keVersion","lastVersion","ReCreateChecklistTemplate","showSelectedVersion","versionChange","reloadShutter","onProcedureNumberChange","KeChecklistBuilderComponent_Query","KeChecklistBuilderComponent_mat_form_field_10_Template","KeChecklistBuilderComponent_mat_radio_button_13_Template","KeChecklistBuilderComponent_Template_input_change_18_listener","KeChecklistBuilderComponent_Template_mat_autocomplete_optionSelected_20_listener","KeChecklistBuilderComponent_mat_option_23_Template","KeChecklistBuilderComponent_span_25_Template","KeChecklistBuilderComponent_span_26_Template","KeChecklistBuilderComponent_span_27_Template","KeChecklistBuilderComponent_button_34_Template","KeChecklistBuilderComponent_button_35_Template","KeChecklistBuilderComponent_button_36_Template","KeChecklistBuilderComponent_button_37_Template","KeChecklistBuilderComponent_button_38_Template","KeChecklistBuilderComponent_div_47_Template","KeChecklistBuilderComponent_div_48_Template","KeChecklistBuilderComponent_Template_ke_cl_builder_section_refreshHead_50_listener","KeChecklistBuilderComponent_Template_ke_cl_builder_section_refreshHead_52_listener","KeChecklistBuilderComponent_Template_ke_cl_builder_section_refreshHead_54_listener","KeChecklistBuilderComponent_Template_ke_cl_builder_section_refreshHead_56_listener","KeChecklistBuilderComponent_Template_ke_cl_builder_section_refreshHead_58_listener","KeChecklistBuilderComponent_Template_ke_cl_builder_section_refreshHead_60_listener","getByID","ReadGlobal","saveLastUpdater","ScheduleResource","KeClBuilderSectionComponent_div_0_div_2_p_3_Template","KeClBuilderSectionComponent_div_0_div_6_div_1_Template","s_r7","KeClBuilderSectionComponent_div_0_div_8_div_9_mat_icon_2_Template","KeClBuilderSectionComponent_div_0_div_8_div_9_mat_icon_4_Template","KeClBuilderSectionComponent_div_0_div_8_div_13_mat_icon_1_Template_mat_icon_click_0_listener","KeClBuilderSectionComponent_div_0_div_8_div_13_mat_icon_2_Template_mat_icon_click_0_listener","KeClBuilderSectionComponent_div_0_div_8_div_13_mat_icon_1_Template","KeClBuilderSectionComponent_div_0_div_8_div_13_mat_icon_2_Template","KeClBuilderSectionComponent_div_0_div_8_div_14_mat_icon_1_Template_mat_icon_click_0_listener","KeClBuilderSectionComponent_div_0_div_8_div_14_mat_icon_1_Template","KeClBuilderSectionComponent_div_0_div_8_Template_mat_checkbox_ngModelChange_6_listener","KeClBuilderSectionComponent_div_0_div_8_Template_mat_checkbox_change_6_listener","KeClBuilderSectionComponent_div_0_div_8_div_7_Template","KeClBuilderSectionComponent_div_0_div_8_div_9_Template","KeClBuilderSectionComponent_div_0_div_8_ng_template_10_Template","KeClBuilderSectionComponent_div_0_div_8_div_13_Template","KeClBuilderSectionComponent_div_0_div_8_div_14_Template","KeClBuilderSectionComponent_div_0_div_9_button_3_Template_button_click_0_listener","KeClBuilderSectionComponent_div_0_div_9_button_3_Template","KeClBuilderSectionComponent_div_0_div_2_Template","KeClBuilderSectionComponent_div_0_div_6_Template","KeClBuilderSectionComponent_div_0_Template_div_cdkDropListDropped_7_listener","KeClBuilderSectionComponent_div_0_div_8_Template","KeClBuilderSectionComponent_div_0_div_9_Template","Signatures","scheduleTypeForm","keForm","locationsForm","scheduleTypeFormEdit","keFormEdit","locationsFormEdit","_scheduleTypeService","_scheduleService","tmpSchedules","tmpSchedulesFiltered","scheduleResourceEdit","getControls","wfStepLocalId","taskLocal","save_last_updater","click","KeClBuilderSectionComponent_HostBindings","KeClBuilderSectionComponent_div_0_Template","KESection0Component","KEMainPanelComponent_ke_sectionX_2_Template_ke_sectionX_requestRefresh_0_listener","request_refresh","KEMainPanelComponent_ke_sectionX_2_Template_ke_sectionX_loadingChanged_0_listener","ke","KEMainPanelComponent_ke_sectionX_3_Template_ke_sectionX_requestRefresh_0_listener","KEMainPanelComponent_ke_sectionX_3_Template_ke_sectionX_loadingChanged_0_listener","KEMainPanelComponent_ke_sectionX_4_Template_ke_sectionX_requestRefresh_0_listener","KEMainPanelComponent_ke_sectionX_4_Template_ke_sectionX_loadingChanged_0_listener","KEMainPanelComponent_ke_sectionX_5_Template_ke_sectionX_requestRefresh_0_listener","KEMainPanelComponent_ke_sectionX_5_Template_ke_sectionX_loadingChanged_0_listener","KEMainPanelComponent_ke_sectionX_6_Template_ke_sectionX_requestRefresh_0_listener","KEMainPanelComponent_ke_sectionX_6_Template_ke_sectionX_loadingChanged_0_listener","KEMainPanelComponent_ke_sectionX_7_Template_ke_sectionX_requestRefresh_0_listener","KEMainPanelComponent_ke_sectionX_7_Template_ke_sectionX_loadingChanged_0_listener","KEMainPanelComponent","_checklist","_ke","unselectTable","displayDocument","newDocument","showComments","loadKEs","kes$","KEnables","kesSubs","section0","showDocument","togglePanel","KEMainPanelComponent_Query","KEMainPanelComponent_resize_HostBindingHandler","KEMainPanelComponent_ke_sectionX_2_Template","KEMainPanelComponent_ke_sectionX_3_Template","KEMainPanelComponent_ke_sectionX_4_Template","KEMainPanelComponent_ke_sectionX_5_Template","KEMainPanelComponent_ke_sectionX_6_Template","KEMainPanelComponent_ke_sectionX_7_Template","KEMainPanelComponent_comments_and_attachments_9_Template","shutter_r9","branchline_r15","KESection0Component_div_0_div_14_Template_mat_autocomplete_optionSelected_8_listener","selectedBran","KESection0Component_div_0_div_14_mat_option_11_Template","KESection0Component_div_0_mat_radio_button_21_Template_mat_radio_button_change_0_listener","r_r18","KESection0Component_div_0_Template_input_keyup_7_listener","KESection0Component_div_0_Template_mat_autocomplete_optionSelected_10_listener","KESection0Component_div_0_mat_option_13_Template","KESection0Component_div_0_div_14_Template","KESection0Component_div_0_mat_radio_button_21_Template","showbranch","shutterCtrl","branCtrl","_wf","keChange","reqLoading","validRoles","tmpDate","tmpOperator","tmpSerialNo","tmpRequester","tmpRequesterName","disapproved","showCreate","loadOpenKEs","loadAllShutters","setRadio","checkRoles","KeyEnable","Handshake","openKEs","formDisabled","validateWFTableID","shutterBranchine","KESection0Component_Query","KESection0Component_div_0_Template","KEnableUpdate","KESectionXComponent_span_6_Template_button_click_1_listener","saveEpicsValues","KESectionXComponent_span_7_Template_button_click_1_listener","resetStatusShieldings","resetSection4","KESectionXComponent_span_8_Template_button_click_1_listener","resetStatusToActive","KESectionXComponent_span_9_Template_button_click_1_listener","KESectionXComponent_div_10_div_1_Template_master_control_changed_2_listener","s_r15","KESectionXComponent_div_10_div_1_Template_master_control_duplicate_2_listener","KESectionXComponent_div_10_div_1_Template_master_control_close_2_listener","KESectionXComponent_div_10_div_1_Template_master_control_checked_2_listener","checkOrChange","KESectionXComponent_div_10_div_1_Template_master_control_approve_2_listener","KESectionXComponent_div_10_div_1_Template_master_control_unapprove_2_listener","KESectionXComponent_div_10_div_1_Template_master_control_save_2_listener","KESectionXComponent_div_10_div_1_Template_master_control_loading_2_listener","tooltips","tmp_27_0","tmp_40_0","tmp_41_0","KESectionXComponent_div_10_div_1_Template","KESectionXComponent_span_13_Template_button_click_1_listener","skipStatusToShieldings","KESectionXComponent_span_14_Template_button_click_1_listener","KESectionXComponent","_scf","refreshVacuum","loadingChanged","epicaValiesSubs","componentSubs","scfMastersSubs","loadShutters","loadSCFMasters","scfMasters$","SCFMasters","scfMasters","loadEpicsValues","shutters$","shuttersSubs","restrictedResources","brcRestrictedShutters","abbreviated","shieldingsUserId","checkConditions","signaturePromises","refreshAndSaveVacuum","getEpicsValue","doubleValue","formatMoreInfo","formatOptions","getVacuumTootip","content","scfMasterIds","scfRSObjs","getSCFMasters","yesOption","formatLabel","scfrsObj","formatDocumentChip","scfMaster","chip","scfMasterPromises","scfRSObjects","s4","rsTask","checklistIds","BLSCI","ALTBLSCI","BRC","validateWarningValues","changeButtonLabels","labelButtonCancel","labelButtonAccept","signaturesCloned","hasRadioButtons","oldValue","str","moreInfos","verificator","ShowAproveTohandshakeMessage","_ref4","_this11","createObject","AUTO","vacuumValue","epicsResource","epicsValues","dvalue","epicsValues$","vacummValue","_this12","saveTasks","_ref5","_x5","saveWFTasks","_this13","_ref6","wfSignatureResource","_x6","_this14","statusResource","numberToFormat","toExponential","_this15","cc","ignoredComponentsTypes","wfSignaturesFiltered","_this16","returnButton","canRestartShieldings","_this17","showResetConfirmationDialog","resetSignatures","updateStatusAndSignTasks","_this18","resetSignature","_this19","dataSection4","readWFBySection","dataSection5","signTasks","_this20","_this21","tags","filteredSignatures","_ref8","allTasks","saveRequiredWFTask","_x7","hasMultipleCheckboxes","ScfV2Service","KESectionXComponent_Template","KESectionXComponent_span_6_Template","KESectionXComponent_span_7_Template","KESectionXComponent_span_8_Template","KESectionXComponent_span_9_Template","KESectionXComponent_div_10_Template","KESectionXComponent_span_13_Template","KESectionXComponent_span_14_Template","completeActive","KESidePanelComponent_mat_row_24_Template_mat_row_click_0_listener","KESidePanelComponent","discard","CreateKEChecklist","_superprop_getCanDeactivate","call","newDoc","KESidePanelComponent_Query","KESidePanelComponent_Template_mat_slide_toggle_change_6_listener","KESidePanelComponent_Template_mat_slide_toggle_ngModelChange_6_listener","KESidePanelComponent_mat_header_cell_12_Template","KESidePanelComponent_mat_cell_13_Template","KESidePanelComponent_mat_header_cell_15_Template","KESidePanelComponent_mat_cell_16_Template","KESidePanelComponent_mat_header_cell_18_Template","KESidePanelComponent_mat_cell_19_Template","KESidePanelComponent_mat_header_cell_21_Template","KESidePanelComponent_mat_cell_22_Template","KESidePanelComponent_mat_header_row_23_Template","KESidePanelComponent_mat_row_24_Template","allTasksObservable","getOpen","saveKE","saveKEStatus","convertToSignatures","wfTaskLoclas","updateAllTasks","KEResource","SaveKEResource","KEStatusResource","SaveKEStatusResource","KEVersionResource","KETStatusResource","KEComponent_mat_form_field_18_Template_input_ngModelChange_3_listener","KEComponent_button_22_Template_button_click_0_listener","KEComponent_button_23_Template_button_click_0_listener","KEComponent_button_24_Template_button_click_0_listener","KEComponent_filter_box_32_Template_filter_box_changed_0_listener","KEComponent_mat_list_item_38_Template_mat_list_item_click_0_listener","KEComponent_mat_list_item_38_span_1_Template","KEComponent_ke_main_panel_44_Template_ke_main_panel_unselectTable_0_listener","KEComponent_ke_main_panel_44_Template_ke_main_panel_loading_0_listener","KEComponent_ke_main_panel_44_Template_ke_main_panel_requestRefresh_0_listener","cancelAllowStatuses","CancelKEChecklist","mainPanel","sidePanel","saveKEResource","KEComponent_Query","KEComponent_Template_button_click_3_listener","KEComponent_span_15_Template","KEComponent_span_16_Template","KEComponent_mat_form_field_18_Template","KEComponent_mat_form_field_20_Template","KEComponent_button_22_Template","KEComponent_button_23_Template","KEComponent_button_24_Template","KEComponent_mat_label_25_Template","KEComponent_Template_mat_sidenav_mouseenter_27_listener","KEComponent_Template_mat_sidenav_mouseleave_27_listener","KEComponent_mat_icon_31_Template","KEComponent_filter_box_32_Template","KEComponent_Template_ke_side_panel_newDocument_35_listener","KEComponent_Template_ke_side_panel_rowSelected_35_listener","KEComponent_Template_ke_side_panel_discard_35_listener","KEComponent_Template_ke_side_panel_loading_35_listener","KEComponent_mat_list_item_38_Template","KEComponent_Template_ke_section0_keChange_42_listener","KEComponent_Template_ke_section0_requestRefresh_42_listener","KEComponent_Template_ke_section0_unselectTable_42_listener","KEComponent_Template_ke_section0_newDocument_42_listener","KEComponent_Template_ke_section0_loading_42_listener","KEComponent_ke_main_panel_44_Template","KEComponent_overlay_loading_45_Template","KEVersionRefresh","KEVersionCreate","KEVersionUpdate","KEVersionDelete","KEVersionRefreshByID","KEVersionStateModel","KEVersionState","KEVersionActions","KEVersionStoreAndListenersService","KEVERSION","KEnableRefresh","KEnableCreate","KEnableDelete","KEnableRefreshByID","KEnableStateModel","KEnableState","KEnableActions","KEnableStoreAndListenersService","KENABLE","LoginComponent_div_8_Template_mat_select_selectionChange_2_listener","LoginComponent_div_8_mat_option_3_Template","LoginComponent_div_8_span_4_Template","dropdown","devMode","usernameCtrl","passwordCtrl","password","production","authenticate","LoginComponent_Template","LoginComponent_div_8_Template","LogoutComponent_Template","MenuConfigActionsComponent_button_0_Template_button_click_0_listener","buttonClass","MenuConfigActionsComponent_button_3_Template_button_click_0_listener","changeVisible","MenuConfigActionsComponent_button_4_Template_button_click_0_listener","MenuConfigActionsComponent_button_6_Template_button_click_0_listener","MenuConfigActionsComponent_button_12_Template_button_click_0_listener","move","MenuConfigActionsComponent_button_13_Template_button_click_0_listener","MenuConfigActionsComponent_button_14_Template_button_click_0_listener","MenuConfigActionsComponent_button_15_Template_button_click_0_listener","MenuConfigActionsComponent_button_22_Template_button_click_0_listener","addDivider","menuItemType","updateMenuOption","setMenuItem","deleteMenuOption","createNewMenuOption","way","updateMenuOptions","MenuService","orientation","MenuConfigActionsComponent_Template","MenuConfigActionsComponent_button_0_Template","MenuConfigActionsComponent_button_3_Template","MenuConfigActionsComponent_button_4_Template","MenuConfigActionsComponent_button_6_Template","MenuConfigActionsComponent_Template_button_click_7_listener","MenuConfigActionsComponent_button_12_Template","MenuConfigActionsComponent_button_13_Template","MenuConfigActionsComponent_button_14_Template","MenuConfigActionsComponent_button_15_Template","MenuConfigActionsComponent_Template_button_click_17_listener","MenuConfigActionsComponent_mat_divider_21_Template","MenuConfigActionsComponent_button_22_Template","Divider","Horizontal","MenuItemTypeEnum","labelCtrl","menuItemType_r11","menuItemTypeCtrl","MenuConfigEditComponent_div_1_mat_form_field_30_mat_option_7_Template_mat_option_onSelectionChange_0_listener","route_r15","MenuConfigEditComponent_div_1_mat_form_field_30_Template_input_change_3_listener","validateRoute","MenuConfigEditComponent_div_1_mat_form_field_30_mat_option_7_Template","displayRoute","getRouteErrorMsg","table_r22","tableCtrl","MenuConfigEditComponent_div_1_mat_form_field_31_Template_mat_select_selectionChange_1_listener","MenuConfigEditComponent_div_1_mat_form_field_31_mat_option_2_Template","MenuConfigEditComponent_div_1_mat_form_field_31_mat_error_5_Template","tables","MenuConfigEditComponent_div_1_mat_optgroup_42_mat_option_1_Template_mat_option_onSelectionChange_0_listener","menuItem_r27","MenuConfigEditComponent_div_1_mat_optgroup_42_mat_option_1_Template","group_r25","getGroupItems","MenuConfigEditComponent_div_1_fieldset_45_div_3_Template_a_click_2_listener","item_r31","routeCtrl","MenuConfigEditComponent_div_1_fieldset_45_div_3_Template","getRouteTable","helpers","MenuConfigEditComponent_div_1_Template_mat_slide_toggle_change_6_listener","MenuConfigEditComponent_div_1_Template_input_change_13_listener","MenuConfigEditComponent_div_1_mat_error_14_Template","MenuConfigEditComponent_div_1_Template_mat_select_selectionChange_17_listener","MenuConfigEditComponent_div_1_mat_option_18_Template","MenuConfigEditComponent_div_1_mat_error_21_Template","MenuConfigEditComponent_div_1_Template_role_selection_changed_23_listener","MenuConfigEditComponent_div_1_Template_input_change_28_listener","MenuConfigEditComponent_div_1_mat_form_field_30_Template","MenuConfigEditComponent_div_1_mat_form_field_31_Template","MenuConfigEditComponent_div_1_Template_file_upload_v2_fileIDChange_33_listener","setFileID","MenuConfigEditComponent_div_1_mat_optgroup_42_Template","MenuConfigEditComponent_div_1_mat_hint_43_Template","MenuConfigEditComponent_div_1_fieldset_45_Template","Route","menuItemGroups","parentCtrl","visibleToggleCtrl","fileService","getRouteReplacements","getMenuItemTypes","reviewBoardTypesSubs","getAllTypes","currentItem","loadReviewBoardTypes","reviewBoardTypes$","ReviewBoardTypes","reviewBoardTypes","getRouteHelpers","createMenuGroups","parentMenuItems","routeTables","routeTable","param","helper","execDocumentType","routeCtrlValue","formControlName","menuItemRole","menuItemID","getRouteColonMessage","MenuConfigEditComponent_Template","MenuConfigEditComponent_div_1_Template","MenuConfigHeadComponent_div_2_li_3_Template_button_click_1_listener","MenuConfigHeadComponent_div_2_li_4_a_1_Template_a_click_0_listener","MenuConfigHeadComponent_div_2_li_4_a_2_Template_a_click_0_listener","MenuConfigHeadComponent_div_2_li_4_a_1_Template","MenuConfigHeadComponent_div_2_li_4_a_2_Template","MenuConfigHeadComponent_div_2_li_4_head_menu_dropmenu_3_Template","MenuConfigHeadComponent_div_2_li_5_Template_button_click_1_listener","MenuConfigHeadComponent_div_2_li_3_Template","MenuConfigHeadComponent_div_2_li_4_Template","MenuConfigHeadComponent_div_2_li_5_Template","MenuConfigHeadComponent_Query","MenuConfigHeadComponent_div_2_Template","MenuConfigHeadComponent_div_3_Template","MenuConfigComponent_mat_form_field_15_Template_input_ngModelChange_3_listener","MenuConfigComponent_filter_box_25_Template_filter_box_changed_0_listener","MenuConfigComponent_filter_box_25_Template_filter_box_selected_0_listener","filterResutSelected","menuItemsFilterData","MenuConfigComponent_mat_list_item_27_Template_mat_list_item_click_0_listener","MenuConfigComponent_mat_list_item_27_span_1_Template","MenuConfigComponent_div_34_Template_button_click_3_listener","MenuConfigComponent_div_34_Template_button_click_6_listener","showButtons","MenuConfigComponent_Query","MenuConfigComponent_scroll_HostBindingHandler","MenuConfigComponent_Template_button_click_3_listener","MenuConfigComponent_mat_form_field_15_Template","MenuConfigComponent_mat_form_field_17_Template","MenuConfigComponent_Template_mat_sidenav_mouseenter_20_listener","MenuConfigComponent_Template_mat_sidenav_mouseleave_20_listener","MenuConfigComponent_mat_icon_24_Template","MenuConfigComponent_filter_box_25_Template","MenuConfigComponent_mat_list_item_27_Template","MenuConfigComponent_Template_menu_config_edit_loading_32_listener","MenuConfigComponent_div_34_Template","MenuConfigComponent_overlay_loading_35_Template","page","ItemRoles","menuItemActual","optionMenu","optionMenus","getMenuItemRolesById","MessagesCategoriesComponent_mat_row_9_Template_mat_row_click_0_listener","MessagesCategoriesComponent","mbs","loadSystemCategories","GetAllSystemCategories","systemCategories","systemCategoriesFiltered","SystemCategoryService","MessagesCategoriesComponent_Query","MessagesCategoriesComponent_mat_header_cell_3_Template","MessagesCategoriesComponent_mat_cell_4_Template","MessagesCategoriesComponent_mat_header_cell_6_Template","MessagesCategoriesComponent_mat_cell_7_Template","MessagesCategoriesComponent_mat_header_row_8_Template","MessagesCategoriesComponent_mat_row_9_Template","EditDisplayMessageComponent","infoToken","MessageType","editMessageForm","timeout","keepAfterRouteChange","assign","EditDisplayMessageComponent_Template","EditDisplayMessageComponent_Template_button_click_36_listener","EditDisplayMessageComponent_Template_button_click_38_listener","getCategories","MessagesTableComponent_mat_cell_23_button_4_Template_button_click_0_listener","openEdition","MessagesTableComponent_mat_cell_23_Template_button_click_1_listener","MessagesTableComponent_mat_cell_23_button_4_Template","AdminDisplayMessages","MessagesTableComponent","loadMessageBanners","messageBanner$","messageBannerSubs","messageBannersFiltered","messageCategoryRelations","systemCategoryID","systemCategory","updateMessage","messageToUpdate","MessagesTableComponent_Query","MessagesTableComponent_mat_header_cell_4_Template","MessagesTableComponent_mat_cell_5_Template","MessagesTableComponent_mat_header_cell_7_Template","MessagesTableComponent_mat_cell_8_Template","MessagesTableComponent_mat_header_cell_10_Template","MessagesTableComponent_mat_cell_11_Template","MessagesTableComponent_mat_header_cell_13_Template","MessagesTableComponent_mat_cell_14_Template","MessagesTableComponent_mat_header_cell_16_Template","MessagesTableComponent_mat_cell_17_Template","MessagesTableComponent_mat_header_cell_19_Template","MessagesTableComponent_mat_cell_20_Template","MessagesTableComponent_mat_header_cell_22_Template","MessagesTableComponent_mat_cell_23_Template","MessagesTableComponent_mat_header_row_24_Template","MessagesTableComponent_mat_row_25_Template","MessagesComponent_filter_box_20_Template_filter_box_changed_0_listener","MessagesComponent","MessagesComponent_Query","MessagesComponent_scroll_HostBindingHandler","MessagesComponent_Template_button_click_3_listener","MessagesComponent_Template_mat_sidenav_mouseenter_15_listener","MessagesComponent_Template_mat_sidenav_mouseleave_15_listener","MessagesComponent_mat_icon_19_Template","MessagesComponent_filter_box_20_Template","MessagesComponent_Template_messages_categories_loading_23_listener","MessagesComponent_Template_messages_categories_selectedRow_23_listener","MessagesComponent_overlay_loading_29_Template","MessagePartEnum","MessageCategoryRelation","SystemCategory","GetAll","MBActions","MessageBannerState","MessageBannerActions","MessageBannerStoreAndListenersService","MESSAGEBANNER","OlogButtonComponent_mat_list_item_0_span_1_Template","OlogButtonComponent_mat_list_item_0_mat_icon_2_Template","OlogButtonComponent_mat_list_item_0_mat_icon_3_Template","isExpandedOrShowing","OlogButtonComponent_button_3_Template_button_click_0_listener","ologMessage_r6","openOlogMessage","OlogButtonComponent","ologMessagesSubs","documentID","OlogButtonComponent_Template","OlogButtonComponent_mat_list_item_0_Template","OlogButtonComponent_button_3_Template","t_r2","res_r3","formatMessage","OlogMainComponent_div_17_div_4_Template","OlogMainComponent_div_17_pre_5_Template","site","siteConfiguration","relatedDocumentTypeId","results","postFE","xmlBody","ologEntry","root","author","ologUser","ologPassword","entry","createXMLBody","postToOlogFE","openOlog","SiteConfigurationService","OlogMainComponent_Template","OlogMainComponent_Template_related_documents_changed_4_listener","OlogMainComponent_Template_mat_radio_group_ngModelChange_6_listener","OlogMainComponent_mat_radio_button_7_Template","OlogMainComponent_Template_button_click_10_listener","OlogMainComponent_Template_button_click_12_listener","OlogMainComponent_Template_button_click_14_listener","OlogMainComponent_div_17_Template","OlogComponent_mat_form_field_15_Template_input_ngModelChange_3_listener","OlogComponent_Query","OlogComponent_scroll_HostBindingHandler","OlogComponent_Template_button_click_3_listener","OlogComponent_mat_form_field_15_Template","OlogComponent_mat_form_field_17_Template","OlogComponent_div_19_Template","OlogComponent_Template_mat_sidenav_mouseenter_21_listener","OlogComponent_Template_mat_sidenav_mouseleave_21_listener","OlogComponent_overlay_loading_33_Template","HttpHeaders","alertService","xmlService","ologIDPosting","updateOlogNotification","ologDB","finishForm","tlog","sent","DeleteOlogBySN","SN","ologResData","extraSub","extraSubject","amendmentNo","showDialogOnErrors","overridePost","parseXml","htmlAddresses","htmlSubject","htmlDetails","htmlCategories","htmlHighlights","htmlLevel","htmlMessage","banner","displayDialog","testOlog","headers","responseType","withCredentials","XMLService","PendingApprovalsCatalogsTableComponent_mat_row_20_Template_mat_row_click_0_listener","row_r17","PendingApprovalsCatalogsTableComponent","setParams","header","NotificationTemplate","ChecklistTemplate","PendingApprovalsCatalogsTableComponent_Query","PendingApprovalsCatalogsTableComponent_mat_header_cell_5_Template","PendingApprovalsCatalogsTableComponent_mat_cell_6_Template","PendingApprovalsCatalogsTableComponent_mat_header_cell_8_Template","PendingApprovalsCatalogsTableComponent_mat_cell_9_Template","PendingApprovalsCatalogsTableComponent_mat_header_cell_11_Template","PendingApprovalsCatalogsTableComponent_mat_cell_12_Template","PendingApprovalsCatalogsTableComponent_mat_header_cell_14_Template","PendingApprovalsCatalogsTableComponent_mat_cell_15_Template","PendingApprovalsCatalogsTableComponent_mat_header_cell_17_Template","PendingApprovalsCatalogsTableComponent_mat_cell_18_Template","PendingApprovalsCatalogsTableComponent_mat_header_row_19_Template","PendingApprovalsCatalogsTableComponent_mat_row_20_Template","PendingApprovalsCatalogsComponent","updateCatalogs","pendingCatalogType","catalogsData","loadPendingApprovals","pendingApprovalsSubs","dataSourcePendingAccelerator","pendingAccelerators","dataSourcePendingUser","dataSourcePendingRole","pendingRoles","dataSourcePendingResource","dataSourcePendingNotificationTemplate","pendingNotificationTemplates","dataSourcePendingTemplates","pendingChecklistTemplates","dataSourcePendingRSSDatabase","pendingRSSDb","dataSourcePendingAPLCategories","pendingAPLCategories","dataSourcePendingAPLGroups","pendingAPLGroups","catalogDataMapping","mapping","qty","changePendingApproval","onSectionsScroll","isScrolledIntoView","setAllInactive","smoothscroll","yOffset","elemRect","PendingApprovalsCatalogsComponent_HostBindings","CatalogItem","PendingApprovalsChangesTableComponent_mat_header_cell_21_button_1_Template_button_click_0_listener","removeAll","PendingApprovalsChangesTableComponent_mat_header_cell_21_button_1_Template","showRemoveAll","PendingApprovalsChangesTableComponent_mat_cell_22_button_1_Template_button_click_0_listener","removeRow","PendingApprovalsChangesTableComponent_mat_cell_22_button_1_Template","catalogType","PendingApprovalsChangesTableComponent_mat_row_24_Template_mat_row_click_0_listener","PendingApprovalsChangesTableComponent","pendingElement","PendingApprovalsChangesTableComponent_Query","PendingApprovalsChangesTableComponent_mat_header_cell_6_Template","PendingApprovalsChangesTableComponent_mat_cell_7_Template","PendingApprovalsChangesTableComponent_mat_header_cell_9_Template","PendingApprovalsChangesTableComponent_mat_cell_10_Template","PendingApprovalsChangesTableComponent_mat_header_cell_12_Template","PendingApprovalsChangesTableComponent_mat_cell_13_Template","PendingApprovalsChangesTableComponent_mat_header_cell_15_Template","PendingApprovalsChangesTableComponent_mat_cell_16_Template","PendingApprovalsChangesTableComponent_mat_header_cell_18_Template","PendingApprovalsChangesTableComponent_mat_cell_19_Template","PendingApprovalsChangesTableComponent_mat_header_cell_21_Template","PendingApprovalsChangesTableComponent_mat_cell_22_Template","PendingApprovalsChangesTableComponent_mat_header_row_23_Template","PendingApprovalsChangesTableComponent_mat_row_24_Template","PendingApprovalsChangesComponent","updateMyChanges","loadMyPendingChanges","pendingApprovalsTotal","PendingApprovalsChangesComponent_Template","PendingApprovalsV2Component_a_13_Template_a_click_0_listener","activeLink","PendingApprovalsV2Component_a_14_Template_a_click_0_listener","e_r15","PendingApprovalsV2Component_div_20_mat_table_2_mat_row_5_Template_mat_row_click_0_listener","navigateToCatalog","PendingApprovalsV2Component_div_20_mat_table_2_mat_header_cell_2_Template","PendingApprovalsV2Component_div_20_mat_table_2_mat_cell_3_Template","PendingApprovalsV2Component_div_20_mat_table_2_mat_header_row_4_Template","PendingApprovalsV2Component_div_20_mat_table_2_mat_row_5_Template","dataSourceCatalogs","tableColumns","e_r23","PendingApprovalsV2Component_div_20_mat_table_3_mat_row_5_Template_mat_row_click_0_listener","PendingApprovalsV2Component_div_20_mat_table_3_mat_header_cell_2_Template","PendingApprovalsV2Component_div_20_mat_table_3_mat_cell_3_Template","PendingApprovalsV2Component_div_20_mat_table_3_mat_header_row_4_Template","PendingApprovalsV2Component_div_20_mat_table_3_mat_row_5_Template","dataSourceMyChanges","PendingApprovalsV2Component_div_20_mat_table_2_Template","PendingApprovalsV2Component_div_20_mat_table_3_Template","activatedRoute","setTab","tabParam","tabIndex","catalogsUpdate","activeTab","myChangesUpdate","myChangesData","navigateToRole","PendingApprovalsV2Component_Query","PendingApprovalsV2Component_Template_button_click_3_listener","PendingApprovalsV2Component_a_13_Template","PendingApprovalsV2Component_a_14_Template","PendingApprovalsV2Component_Template_mat_sidenav_mouseenter_16_listener","PendingApprovalsV2Component_Template_mat_sidenav_mouseleave_16_listener","PendingApprovalsV2Component_div_20_Template","PendingApprovalsV2Component_Template_pending_approvals_catalogs_updateCatalogs_25_listener","PendingApprovalsV2Component_Template_pending_approvals_changes_updateMyChanges_26_listener","PendingApprovalsV2Component_overlay_loading_27_Template","pendingApprovals$","PendingApprovals","getMyApprovals","getMyChanges","setNames","Pending","canApproveTemplate","templateApproval","PendingApprovalsStateModel","PendingApprovalsState","PendingApprovalsActions","PendingApprovalsStoreAndListenersService","PENDING_CATALOGS","PPSTBAcceleratorLocation","PPSTBAcceleratorLocationSave","PPSTBAcceleratorLocationHandler","ppstbAcceleratorLocation","ppstbID","PpstbFollowUpComponent_div_1_Template_mat_checkbox_ngModelChange_4_listener","checkboxChanged","isDialog","PpstbFollowUpComponent_div_4_Template_mat_checkbox_ngModelChange_7_listener","PpstbFollowUpComponent_div_8_button_15_Template_button_click_0_listener","followUpDialog","PpstbFollowUpComponent_div_8_span_7_Template","PpstbFollowUpComponent_div_8_span_13_Template","PpstbFollowUpComponent_div_8_button_15_Template","PpstbFollowUpComponent_div_9_Template_button_click_1_listener","PpstbFollowUpComponent_div_9_Template_button_click_3_listener","DialogData","PpstbFollowUpComponent","inputLabelTextCustom","textAreaControl","setDialog","infoToSend","ppstbOtherFollowUp","ppstbOtherFollowUps","ppstbFollowUpType","PpstbFollowUpComponent_Template","PpstbFollowUpComponent_div_1_Template","PpstbFollowUpComponent_div_4_Template","PpstbFollowUpComponent_Template_comments_box_textChanged_7_listener","PpstbFollowUpComponent_div_8_Template","PpstbFollowUpComponent_div_9_Template","user_r17","PpstbMainS1Component_button_82_Template_button_click_0_listener","PpstbMainS1Component_button_83_Template_button_click_0_listener","PpstbMainS1Component_button_84_Template_button_click_0_listener","PpstbMainS1Component_button_86_Template_button_click_0_listener","PpstbMainS1Component_button_87_Template_button_click_0_listener","PpstbMainS1Component_button_88_Template_button_click_0_listener","PpstbMainS1Component_button_89_Template_button_click_0_listener","PpstbMainS1Component_button_90_Template_button_click_0_listener","PpstbMainS1Component_button_91_Template_button_click_0_listener","PpstbMainS1Component","formCancelled","chkTopOffCtrl","chkRadMonCtrl","testingCtrl","activeUsers","PPSTBNewForm","PPSTBEditAmendment","tmpChkBeamline","tmpChkAccelerator","tmpChkTopOff","topOff","tmpRadMonOff","radiationMonitoringSystem","ppstbOtherSystems","technicalApprovalSignatureAmendment","justificationForBypass","ppstbShutters","ppstbAcceleratorLocations","topCheckboxChanged","radCheckboxChanged","ppstbRestrictions","testingRequiredChanged","testingRequiredBeforeOperation","ppstbRelatedLinks","PpstbMainS1Component_Template","PpstbMainS1Component_Template_form_keydown_enter_1_listener","PpstbMainS1Component_Template_input_keyup_11_listener","PpstbMainS1Component_Template_mat_autocomplete_optionSelected_13_listener","PpstbMainS1Component_mat_option_15_Template","PpstbMainS1Component_mat_error_16_Template","PpstbMainS1Component_Template_related_documents_changed_18_listener","PpstbMainS1Component_Template_related_link_chips_onEdited_20_listener","PpstbMainS1Component_Template_comments_box_textChanged_23_listener","PpstbMainS1Component_Template_mat_checkbox_ngModelChange_26_listener","PpstbMainS1Component_Template_mat_checkbox_change_26_listener","PpstbMainS1Component_Template_resource_chips_onEdit_28_listener","PpstbMainS1Component_Template_resource_chips_onError_28_listener","PpstbMainS1Component_Template_mat_checkbox_ngModelChange_30_listener","PpstbMainS1Component_Template_mat_checkbox_change_30_listener","PpstbMainS1Component_Template_resource_chips_onEdit_32_listener","PpstbMainS1Component_Template_resource_chips_onError_32_listener","PpstbMainS1Component_Template_mat_checkbox_ngModelChange_34_listener","PpstbMainS1Component_Template_mat_checkbox_change_34_listener","PpstbMainS1Component_Template_other_system_chips_onEdit_36_listener","PpstbMainS1Component_Template_mat_checkbox_ngModelChange_38_listener","PpstbMainS1Component_Template_mat_checkbox_change_38_listener","PpstbMainS1Component_Template_form_restriction_table_changed_42_listener","PpstbMainS1Component_Template_comments_box_textChanged_51_listener","PpstbMainS1Component_Template_comments_box_textChanged_54_listener","PpstbMainS1Component_Template_comments_box_textChanged_57_listener","PpstbMainS1Component_Template_comments_box_textChanged_60_listener","PpstbMainS1Component_Template_input_dateChange_66_listener","PpstbMainS1Component_mat_error_70_Template","PpstbMainS1Component_Template_input_dateChange_75_listener","PpstbMainS1Component_mat_error_79_Template","PpstbMainS1Component_button_82_Template","PpstbMainS1Component_button_83_Template","PpstbMainS1Component_button_84_Template","PpstbMainS1Component_button_86_Template","PpstbMainS1Component_button_87_Template","PpstbMainS1Component_button_88_Template","PpstbMainS1Component_button_89_Template","PpstbMainS1Component_button_90_Template","PpstbMainS1Component_button_91_Template","tmp_67_0","tmp_73_0","tmp_79_0","tmp_85_0","tmp_103_0","PPSTBTA","EMSup","tmp_107_0","tmp_108_0","tmp_109_0","PPSTBRequestAmendment","PpstbMainS2Component","PpstbMainS2Component_Template","PpstbMainS2Component_Template_form_workflow_loading_1_listener","PpstbMainS3Component","PpstbMainS3Component_Template","PpstbMainS3Component_Template_form_workflow_loading_5_listener","PpstbMainS4Component","PpstbMainS4Component_Template","PpstbMainS4Component_Template_form_workflow_loading_5_listener","PpstbMainS5Component","PpstbMainS5Component_Template","PpstbMainS5Component_Template_form_workflow_loading_5_listener","PpstbMainS6Component","PpstbMainS6Component_Template","PpstbMainS6Component_Template_form_workflow_loading_5_listener","PpstbMainS7Component","PpstbMainS7Component_Template","PpstbMainS7Component_Template_form_workflow_loading_5_listener","PPSTBFollowUpType","PpstbMainS8Component","approveFollowUp","ppstbOtherFollowUpToSave","followUp","RepairReplaceComponent","repairReplaceComponent","ModifyInterlock","modifyInterlock","Other","PpstbMainS8Component_Template","PpstbMainS8Component_Template_ppstb_follow_up_approve_7_listener","PpstbMainS8Component_Template_ppstb_follow_up_approve_10_listener","PpstbMainS8Component_Template_ppstb_follow_up_approve_13_listener","PpstbMainS8Component_Template_form_workflow_loading_14_listener","activeWork","PPSTBRepairReplaceComponent","PPSTBModifyInterlock","PPSTBOther","PpstbMainComponent_div_1_Template_ppstb_main_s2_loading_1_listener","PpstbMainComponent_div_1_Template_ppstb_main_s3_loading_2_listener","PpstbMainComponent_div_1_Template_ppstb_main_s4_loading_5_listener","PpstbMainComponent_div_1_Template_ppstb_main_s5_loading_6_listener","PpstbMainComponent_div_1_Template_ppstb_main_s6_loading_7_listener","PpstbMainComponent_div_1_Template_ppstb_main_s7_loading_8_listener","PpstbMainComponent_div_1_Template_ppstb_main_s8_loading_9_listener","PpstbMainComponent_div_1_comments_and_attachments_11_Template","PpstbMainComponent","PpstbMainComponent_Query","PpstbMainComponent_Template_ppstb_main_s1_loading_0_listener","PpstbMainComponent_Template_ppstb_main_s1_formCreated_0_listener","PpstbMainComponent_Template_ppstb_main_s1_formCancelled_0_listener","PpstbMainComponent_div_1_Template","PPSTBOtherFollowUp","PPSTBOtherFollowUpSave","PPSTBOtherFollowUpHandler","PPSTBOtherSystem","PPSTBOtherSystemSave","PPSTBOtherSystemHandler","ppstbOtherSystem","PPSTBShutter","PPSTBShutterSave","PPSTBShutterHandler","ppstbShutter","PpstbSideComponent","PpstbSideComponent_Query","PpstbSideComponent_Template_form_table_rowClick_0_listener","PpstbSideComponent_Template_form_table_error_0_listener","PpstbSideComponent_Template_form_table_loading_0_listener","PpstbComponent_mat_form_field_16_Template_input_ngModelChange_3_listener","PpstbComponent_div_20_Template_mat_slide_toggle_ngModelChange_1_listener","PpstbComponent_div_20_Template_mat_slide_toggle_change_1_listener","PpstbComponent_filter_box_28_Template_filter_box_changed_0_listener","PpstbComponent_mat_list_item_34_Template_mat_list_item_click_0_listener","PpstbComponent_mat_list_item_34_span_1_Template","PpstbComponent_mat_list_item_35_Template_mat_list_item_click_0_listener","PpstbComponent_mat_list_item_35_span_1_Template","PpstbComponent_mat_list_item_36_Template_mat_list_item_click_0_listener","PpstbComponent_mat_list_item_36_span_1_Template","PpstbComponent_mat_list_item_37_Template_mat_list_item_click_0_listener","PpstbComponent_mat_list_item_37_span_1_Template","PpstbComponent_mat_list_item_38_Template_mat_list_item_click_0_listener","PpstbComponent_mat_list_item_38_span_1_Template","PpstbComponent_mat_list_item_39_Template_mat_list_item_click_0_listener","PpstbComponent_mat_list_item_39_span_1_Template","PpstbComponent_Query","PpstbComponent_scroll_HostBindingHandler","PpstbComponent_Template_button_click_3_listener","PpstbComponent_span_14_Template","PpstbComponent_mat_form_field_16_Template","PpstbComponent_mat_form_field_18_Template","PpstbComponent_div_20_Template","PpstbComponent_div_21_Template","PpstbComponent_Template_mat_sidenav_mouseenter_23_listener","PpstbComponent_Template_mat_sidenav_mouseleave_23_listener","PpstbComponent_mat_icon_27_Template","PpstbComponent_filter_box_28_Template","PpstbComponent_Template_ppstb_side_rowSelected_31_listener","PpstbComponent_Template_ppstb_side_loading_31_listener","PpstbComponent_mat_list_item_34_Template","PpstbComponent_mat_list_item_35_Template","PpstbComponent_mat_list_item_36_Template","PpstbComponent_mat_list_item_37_Template","PpstbComponent_mat_list_item_38_Template","PpstbComponent_mat_list_item_39_Template","PpstbComponent_Template_ppstb_main_loading_43_listener","PpstbComponent_Template_ppstb_main_formCreated_43_listener","PpstbComponent_Template_ppstb_main_formCancelled_43_listener","PpstbComponent_overlay_loading_44_Template","NormalInputDialogComponent","inputType","PPSTBSave","PPSTBHandler","mitigationNotRequired","bypassNotRequired","e_r14","ProcedureCategoryPopupComponent_mat_cell_11_mat_form_field_2_Template_input_ngModelChange_3_listener","ProcedureCategoryPopupComponent_mat_cell_11_span_1_Template","ProcedureCategoryPopupComponent_mat_cell_11_mat_form_field_2_Template","getProcedureTypeName","e_r22","ProcedureCategoryPopupComponent_mat_cell_14_mat_form_field_2_Template_mat_select_ngModelChange_3_listener","ProcedureCategoryPopupComponent_mat_cell_14_span_1_Template","ProcedureCategoryPopupComponent_mat_cell_14_mat_form_field_2_Template","ProcedureCategoryPopupComponent_mat_cell_17_button_1_Template_button_click_0_listener","e_r30","ProcedureCategoryPopupComponent_mat_cell_17_button_1_Template","ProcedureCategoryPopupComponent_mat_cell_20_button_1_Template_button_click_0_listener","e_r35","startEditing","ProcedureCategoryPopupComponent_mat_cell_20_button_2_Template_button_click_0_listener","ProcedureCategoryPopupComponent_mat_cell_20_button_1_Template","ProcedureCategoryPopupComponent_mat_cell_20_button_2_Template","ProcedureCategoryPopupComponent_mat_cell_23_Template_button_click_1_listener","e_r44","ProcedureCategoryForm","ProcedureCategoryPopupComponent","procedureCategoryService","columns","x1","x2","label_are_you_sure_you_want_to_create_the_category","label_are_you_sure_you_want_to_modify_the_category","label_are_you_sure_you_want_to_delete_the_category","label_procedure_category","label_name","nameInput","ProcedureCenter","EPSDrawings","RadSurvey","ProcedureCategoryService","ProcedureCategoryPopupComponent_Query","ProcedureCategoryPopupComponent_mat_header_cell_10_Template","ProcedureCategoryPopupComponent_mat_cell_11_Template","ProcedureCategoryPopupComponent_mat_header_cell_13_Template","ProcedureCategoryPopupComponent_mat_cell_14_Template","ProcedureCategoryPopupComponent_mat_header_cell_16_Template","ProcedureCategoryPopupComponent_mat_cell_17_Template","ProcedureCategoryPopupComponent_mat_header_cell_19_Template","ProcedureCategoryPopupComponent_mat_cell_20_Template","ProcedureCategoryPopupComponent_mat_header_cell_22_Template","ProcedureCategoryPopupComponent_mat_cell_23_Template","ProcedureCategoryPopupComponent_mat_header_row_24_Template","ProcedureCategoryPopupComponent_mat_row_25_Template","ProcedureCategoryPopupComponent_Template_button_click_53_listener","ProcedureNote","label_description_is_required","ProcedureNotePopupComponent","label_note","label_cancel","label_accept","validateDescription","ProcedureNotePopupComponent_Template","ProcedureNotePopupComponent_Template_textarea_ngModelChange_7_listener","ProcedureNotePopupComponent_mat_error_8_Template","ProcedureNotePopupComponent_Template_button_click_11_listener","ProcedureNotePopupComponent_Template_button_click_12_listener","procedureCategory_r4","ProcedurePopupComponent_div_15_Template_input_ngModelChange_3_listener","label_title","resource_r8","ProcedurePopupComponent_div_16_Template_mat_select_ngModelChange_4_listener","locationId","ProcedurePopupComponent_div_16_Template_mat_select_selectionChange_4_listener","setTitleInKeByResource","shuttersBranchlines","ProcedurePopupComponent_div_16_mat_option_5_Template","ProcedurePopupComponent","fileV2Service","processingFile","label_complete_procedure","label_edit_procedure","lastReviewed","procedureFiles","label_new_procedure","procedureConfiguration$","ProcedureConfiguration","procedureConfiguration","initialFileID","setProcedureCategory","label_category","label_procedure_number","label_revision","label_review_period","label_3_years","label_5_years","label_status","label_active","label_inactive","label_select_pdf","label_upload_files","label_appendices","label_review_docs","label_display_text","label_url_link","label_popup_new_procedure","isNew","procedureApendicesFiles","currentPath","inactivePath","isThereAppendixWithFile","disabledFileUpload","resourcesSubscription","setProcedureTitle","ProcedurePopupComponent_Template","ProcedurePopupComponent_Template_mat_select_ngModelChange_9_listener","ProcedurePopupComponent_Template_mat_select_selectionChange_9_listener","ProcedurePopupComponent_mat_option_10_Template","ProcedurePopupComponent_Template_input_ngModelChange_14_listener","ProcedurePopupComponent_Template_input_keyup_14_listener","ProcedurePopupComponent_div_15_Template","ProcedurePopupComponent_div_16_Template","ProcedurePopupComponent_Template_mat_select_ngModelChange_20_listener","ProcedurePopupComponent_Template_mat_select_selectionChange_20_listener","ProcedurePopupComponent_Template_input_ngModelChange_29_listener","ProcedurePopupComponent_Template_mat_select_ngModelChange_33_listener","reviewPeriod","ProcedurePopupComponent_Template_input_ngModelChange_46_listener","ProcedurePopupComponent_Template_input_ngModelChange_54_listener","daysToExpire","ProcedurePopupComponent_Template_mat_slide_toggle_ngModelChange_57_listener","ProcedurePopupComponent_Template_file_upload_v2_fileIDChange_60_listener","ProcedurePopupComponent_Template_file_upload_v2_fileChange_60_listener","ProcedurePopupComponent_Template_file_upload_v2_processingFileChange_60_listener","ProcedurePopupComponent_Template_button_click_67_listener","ProcedurePopupComponent_Template_button_click_68_listener","procedureTab","tmp_46_0","ProcedureTrainingCredited","ProcedureCategoryRefresh","ProcedureCreditedRefresh","ProcedureTemplateRefresh","ProcedureConfigurationRefresh","ProcedureAllV2Component_a_14_Template_a_click_0_listener","link_r13","ProcedureAllV2Component_filter_box_28_Template_filter_box_changed_0_listener","label_categories","ProcedureAllV2Component_div_30_mat_row_7_Template_mat_row_click_0_listener","ProcedureAllV2Component_div_30_mat_header_cell_4_Template","ProcedureAllV2Component_div_30_mat_cell_5_Template","ProcedureAllV2Component_div_30_mat_header_row_6_Template","ProcedureAllV2Component_div_30_mat_row_7_Template","categoriesDS","categoriesColumns","ProcedureAllV2Component_div_36_div_2_Template_procedure_table_loading_2_listener","category_r27","ProcedureAllV2Component_div_36_div_2_Template","ProcedureAllV2Component_div_37_div_2_Template_procedure_table_loading_2_listener","category_r32","ProcedureAllV2Component_div_37_div_2_Template","rssTestCategories","ProcedureAllV2Component_div_38_div_2_Template_procedure_table_loading_2_listener","category_r37","ProcedureAllV2Component_div_38_div_2_Template","epsTestCategories","ProcedureAllV2Component_div_39_div_2_Template_procedure_table_loading_2_listener","category_r42","ProcedureAllV2Component_div_39_div_2_Template","epsDrawingsCategories","ProcedureAllV2Component_div_40_div_2_Template_procedure_table_loading_2_listener","category_r47","ProcedureAllV2Component_div_40_div_2_Template","radSurveyCategories","ProcedureAllV2Component","showSubMenu","showArchived","sidenavOpened","categoryPermission","addNewPermission","procedureCategorySort","prevScrollpos","headerWidth","ALSProcedureCategory","ALSProcedureAddNew","categories$","categoriesSubscription","keChecklistCategories","loadQueryParams","procedureConfigurationSubscription","label_als_procedures","label_filter","label_manage_categories","label_show_archived","label_show_inactive","setActiveLink","tabLabel","openCategoriesPopup","openProcedurePopup","archivedPath","ProcedureAllV2Component_Template","ProcedureAllV2Component_Template_button_click_3_listener","ProcedureAllV2Component_a_14_Template","ProcedureAllV2Component_Template_mat_slide_toggle_ngModelChange_20_listener","ProcedureAllV2Component_mat_icon_27_Template","ProcedureAllV2Component_filter_box_28_Template","ProcedureAllV2Component_div_30_Template","ProcedureAllV2Component_div_36_Template","ProcedureAllV2Component_div_37_Template","ProcedureAllV2Component_div_38_Template","ProcedureAllV2Component_div_39_Template","ProcedureAllV2Component_div_40_Template","ProcedureAllV2Component_overlay_loading_41_Template","labelNumber","ProcedureTableComponent_td_3_Template_td_click_0_listener","openViewModeDialog","ProcedureTableComponent_td_3_span_1_Template","ProcedureTableComponent_td_3_a_2_Template","labelTitleLocationGlobal","e_r21","appendix_r23","ProcedureTableComponent_td_6_ng_container_5_span_1_Template","ProcedureTableComponent_td_6_ng_container_5_a_2_Template","ProcedureTableComponent_td_6_ng_container_5_a_3_Template","ProcedureTableComponent_td_6_ng_container_5_a_4_Template","ProcedureTableComponent_td_6_ng_container_5_Template","sortedAppendices","e_r36","appendix_r38","ProcedureTableComponent_td_9_ng_container_5_span_1_Template","ProcedureTableComponent_td_9_ng_container_5_a_2_Template","ProcedureTableComponent_td_9_ng_container_5_a_3_Template","ProcedureTableComponent_td_9_ng_container_5_Template","locationFreeText","labelRevision","e_r48","calculateRevision","ProcedureTableComponent_td_15_waiting_text_1_Template","e_r49","ProcedureTableComponent","procedureDS","labelBeamline","loadData","procedureCategorySubscription","setColumnTitles","RADSURVEYPLAN","procedureCategory$","procedure$","getChecklistTemplates","labelLocation","ProcedureTableComponent_Template","ProcedureTableComponent_Template_table_matSortChange_0_listener","ProcedureTableComponent_th_2_Template","ProcedureTableComponent_td_3_Template","ProcedureTableComponent_th_5_Template","ProcedureTableComponent_td_6_Template","ProcedureTableComponent_th_8_Template","ProcedureTableComponent_td_9_Template","ProcedureTableComponent_th_11_Template","ProcedureTableComponent_td_12_Template","ProcedureTableComponent_th_14_Template","ProcedureTableComponent_td_15_Template","ProcedureTableComponent_th_17_Template","ProcedureTableComponent_tr_18_Template","ProcedureTableComponent_tr_19_Template","ProcedureTableComponent_tr_20_Template","ProcedureReportsComponent_mat_header_cell_51_Template_button_click_1_listener","clearFilters","creditedRevision","element_r50","numberCtrl","titleCtrl","element_r52","revisionCtrl","element_r53","creditedCtrl","element_r54","obligationCtrl","element_r56","element_r57","creditedRevisionCtrl","element_r58","dateCredited","approverName","approverCtrl","element_r60","groupManagers","groupManagerCtrl","element_r61","categoryManagers","categoryManagerCtrl","ProcedureReportsComponent_mat_header_cell_92_Template_button_click_1_listener","filterToggle","filterOn","ProcedureReportsComponent","lastReviewedCtrl","reports","filterPredicate","customFilter","credRev","obligation","credited","approver","ProcedureReportsComponent_Template","ProcedureReportsComponent_Template_button_click_12_listener","exportTable","sheet","Props","Author","ProcedureReportsComponent_Template_button_click_14_listener","ProcedureReportsComponent_Template_button_click_16_listener","ProcedureReportsComponent_Template_button_click_18_listener","ProcedureReportsComponent_mat_header_cell_25_Template","ProcedureReportsComponent_mat_header_cell_27_Template","ProcedureReportsComponent_mat_header_cell_29_Template","ProcedureReportsComponent_mat_header_cell_31_Template","ProcedureReportsComponent_mat_header_cell_33_Template","ProcedureReportsComponent_mat_header_cell_35_Template","ProcedureReportsComponent_mat_header_cell_37_Template","ProcedureReportsComponent_mat_header_cell_39_Template","ProcedureReportsComponent_mat_header_cell_41_Template","ProcedureReportsComponent_mat_header_cell_43_Template","ProcedureReportsComponent_mat_header_cell_45_Template","ProcedureReportsComponent_mat_header_cell_47_Template","ProcedureReportsComponent_mat_header_cell_49_Template","ProcedureReportsComponent_mat_header_cell_51_Template","ProcedureReportsComponent_mat_header_cell_53_Template","ProcedureReportsComponent_mat_cell_54_Template","ProcedureReportsComponent_mat_header_cell_56_Template","ProcedureReportsComponent_mat_cell_57_Template","ProcedureReportsComponent_mat_header_cell_59_Template","ProcedureReportsComponent_mat_cell_60_Template","ProcedureReportsComponent_mat_header_cell_62_Template","ProcedureReportsComponent_mat_cell_63_Template","ProcedureReportsComponent_mat_header_cell_65_Template","ProcedureReportsComponent_mat_cell_66_Template","ProcedureReportsComponent_mat_header_cell_68_Template","ProcedureReportsComponent_mat_cell_69_Template","ProcedureReportsComponent_mat_header_cell_71_Template","ProcedureReportsComponent_mat_cell_72_Template","ProcedureReportsComponent_mat_header_cell_74_Template","ProcedureReportsComponent_mat_cell_75_Template","ProcedureReportsComponent_mat_header_cell_77_Template","ProcedureReportsComponent_mat_cell_78_Template","ProcedureReportsComponent_mat_header_cell_80_Template","ProcedureReportsComponent_mat_cell_81_Template","ProcedureReportsComponent_mat_header_cell_83_Template","ProcedureReportsComponent_mat_cell_84_Template","ProcedureReportsComponent_mat_header_cell_86_Template","ProcedureReportsComponent_mat_cell_87_Template","ProcedureReportsComponent_mat_header_cell_89_Template","ProcedureReportsComponent_mat_cell_90_Template","ProcedureReportsComponent_mat_header_cell_92_Template","ProcedureReportsComponent_mat_cell_93_Template","ProcedureReportsComponent_mat_header_row_94_Template","ProcedureReportsComponent_mat_header_row_95_Template","ProcedureReportsComponent_mat_row_96_Template","ProcedureReportsComponent_overlay_loading_97_Template","CreditedDatePopupComponent","procedureTrainingCredited","CreditedDatePopupComponent_Template","CreditedDatePopupComponent_Template_input_ngModelChange_10_listener","creditDate","CreditedDatePopupComponent_Template_button_click_16_listener","CreditedDatePopupComponent_Template_button_click_18_listener","ExtraProcedureTrainingPopupComponent_mat_chip_row_10_Template_mat_chip_row_removed_0_listener","procedure_r5","ExtraProcedureTrainingPopupComponent_input_11_Template_input_matChipInputTokenEnd_0_listener","ExtraProcedureTrainingPopupComponent_input_11_Template_input_keyup_0_listener","ExtraProcedureTrainingPopupComponent_input_11_Template_input_open_0_listener","procedure_r13","ExtraProcedureTrainingPopupComponent","proceduresToCreate","procedureFiltered","allProcedures","availableProcedures","setAvailable","createExtraTraining","procedureNameSplitted","procedureTitle","closeThisModal","ExtraProcedureTrainingPopupComponent_Query","ExtraProcedureTrainingPopupComponent_mat_chip_row_10_Template","ExtraProcedureTrainingPopupComponent_input_11_Template","ExtraProcedureTrainingPopupComponent_Template_mat_autocomplete_optionSelected_12_listener","ExtraProcedureTrainingPopupComponent_mat_option_14_Template","ExtraProcedureTrainingPopupComponent_Template_button_click_17_listener","ExtraProcedureTrainingPopupComponent_Template_button_click_20_listener","MatAccordion","MatExpansionPanel","ProcedureTrainingV2Component_mat_slide_toggle_16_Template_mat_slide_toggle_change_0_listener","changeRolesUserManages","showTrainingsUserManages","ProcedureTrainingV2Component_filter_box_27_Template_filter_box_changed_0_listener","ProcedureTrainingV2Component_mat_form_field_30_mat_option_4_Template_mat_option_onSelectionChange_0_listener","user_r18","ProcedureTrainingV2Component_mat_form_field_30_button_5_Template_button_click_0_listener","ProcedureTrainingV2Component_mat_form_field_30_Template_input_ngModelChange_1_listener","ProcedureTrainingV2Component_mat_form_field_30_Template_input_keyup_1_listener","ProcedureTrainingV2Component_mat_form_field_30_mat_option_4_Template","ProcedureTrainingV2Component_mat_form_field_30_button_5_Template","ProcedureTrainingV2Component_div_32_tr_7_Template_tr_click_0_listener","ProcedureTrainingV2Component_div_32_th_4_Template","ProcedureTrainingV2Component_div_32_td_5_Template","ProcedureTrainingV2Component_div_32_tr_6_Template","ProcedureTrainingV2Component_div_32_tr_7_Template","usersColumns","ProcedureTrainingV2Component_mat_expansion_panel_41_procedure_trainings_table_component_4_Template_procedure_trainings_table_component_loading_0_listener","training_r34","trainingsWithRole","supervised","label_procedure_title","message_general_error","admin","label_training_complete_option","label_training_remove_option","ProcedureTrainingV2Component_mat_expansion_panel_41_mat_icon_button_9_Template_mat_icon_button_click_0_listener","addProcedurePopup","ProcedureTrainingV2Component_mat_expansion_panel_41_procedure_trainings_table_component_4_Template","ProcedureTrainingV2Component_mat_expansion_panel_41_mat_icon_button_9_Template","ProcedureTrainingV2Component_mat_expansion_panel_41_Template_procedure_trainings_table_component_deleteProcedureTraining_10_listener","ProcedureTrainingV2Component_mat_expansion_panel_41_Template_procedure_trainings_table_component_loading_10_listener","navId","customCollapsedHeight","customExpandedHeight","extraTrainingsPermission","trainingsWithoutRole","showAppendices","ProcedureTrainingTableInfo","trainingsWithRoles","trainingsWithoutRoles","ProcedureTrainingV2Component","userService","enableUserManageTrainings","originalTrainings","trainingsToFilter","proceduresCredited","procedureCreditedSubscription","procedureTrainingSubscription","setUsers","loadProcedureTrainings","loadProcedureCredited","checkLoading","procedureCredited$","ProcedureCredited","label_procedure_training","label_complete","label_completed","label_obligation","label_users_categories","label_required_read_only","label_required_follow_up","label_recommended","label_are_you_sure_you_want_to_delete_the_procedure","userRoles","userProceduresCredited","userProcedureTrainings","userTrainings","getUserTrainings","trainingsBeingUsed","getTrainingsMatTableDataSource","setCurrentUserTrainingsFirst","applyFilterTrainings","userTrainingsSource","procedureIds","trainingsInfo","lastProcedureApproved","getObligationTypeText","trainingApplicableRoles","getApplicableRoles","trainingInfo","procedureCredited","applicableRoles","creditedRev","creditedDate","creditedBy","userProceduresCreditedArchived","procedureClone","userProcedCredited","historyProcedure","maxObligationType","userProcedures","RequiredReadOnly","Recommended","Extra","filterName","containsName","filterByName","userFound","openPanels","usersInTables","panels","panel","changeArchived","changeAppendices","trackByIdentity","procedureInfo","procedureId","ProcedureTrainingV2Component_Query","ProcedureTrainingV2Component_Template_button_click_3_listener","ProcedureTrainingV2Component_mat_slide_toggle_16_Template","ProcedureTrainingV2Component_Template_mat_slide_toggle_change_17_listener","ProcedureTrainingV2Component_Template_mat_slide_toggle_change_19_listener","ProcedureTrainingV2Component_mat_icon_26_Template","ProcedureTrainingV2Component_filter_box_27_Template","ProcedureTrainingV2Component_mat_icon_29_Template","ProcedureTrainingV2Component_mat_form_field_30_Template","ProcedureTrainingV2Component_div_32_Template","ProcedureTrainingV2Component_div_39_Template","ProcedureTrainingV2Component_mat_expansion_panel_41_Template","ProcedureTrainingV2Component_overlay_loading_42_Template","apendix_r2","ProcedureTrainingsAppendicesComponent_div_0_div_1_Template","appendices","ProcedureTrainingsAppendicesComponent","ProcedureTrainingsAppendicesComponent_Template","ProcedureTrainingsAppendicesComponent_div_0_Template","e_r20","ProcedureTrainingsTableComponent_mat_cell_4_span_1_Template","ProcedureTrainingsTableComponent_mat_cell_4_a_2_Template","e_r25","e_r26","e_r27","e_r28","e_r29","getInitials","e_r31","formatRoles","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_6_Template_button_click_0_listener","e_r32","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_7_Template_button_click_0_listener","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_8_Template_button_click_0_listener","completeAndApprove","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_9_Template_button_click_0_listener","removeProcedureCredited","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_10_Template_button_click_0_listener","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_11_Template_button_click_0_listener","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_6_Template","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_7_Template","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_8_Template","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_9_Template","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_10_Template","ProcedureTrainingsTableComponent_mat_cell_28_div_1_button_11_Template","canComplete","canCompleteAndApprove","canUndo","canRemoveTrainingCredit","ProcedureTrainingsTableComponent_mat_cell_28_div_1_Template","row_r60","ProcedureTrainingsTableComponent","procedureCreditedService","proceduresBeingCompleted","deleteProcedureTraining","aplCategoryRoles","loadAPLCategories","aplGroupsSubs","aplCategoriesSubs","loadAPLGroups","completeTrainingInfo","trainingCanBeApproved","canRemoveOnNormalSection","canRemoveOnExtraSection","removeProcedureBeingCompleted","procedureCompletedIndex","procedureCreditedID","ProcedureCreditedService","ProcedureTrainingsTableComponent_Template","ProcedureTrainingsTableComponent_mat_header_cell_3_Template","ProcedureTrainingsTableComponent_mat_cell_4_Template","ProcedureTrainingsTableComponent_mat_header_cell_6_Template","ProcedureTrainingsTableComponent_mat_cell_7_Template","ProcedureTrainingsTableComponent_mat_header_cell_9_Template","ProcedureTrainingsTableComponent_mat_cell_10_Template","ProcedureTrainingsTableComponent_mat_header_cell_12_Template","ProcedureTrainingsTableComponent_mat_cell_13_Template","ProcedureTrainingsTableComponent_mat_header_cell_15_Template","ProcedureTrainingsTableComponent_mat_cell_16_Template","ProcedureTrainingsTableComponent_mat_header_cell_18_Template","ProcedureTrainingsTableComponent_mat_cell_19_Template","ProcedureTrainingsTableComponent_mat_header_cell_21_Template","ProcedureTrainingsTableComponent_mat_cell_22_Template","ProcedureTrainingsTableComponent_mat_header_cell_24_Template","ProcedureTrainingsTableComponent_mat_cell_25_Template","ProcedureTrainingsTableComponent_mat_header_cell_27_Template","ProcedureTrainingsTableComponent_mat_cell_28_Template","ProcedureTrainingsTableComponent_mat_header_row_29_Template","ProcedureTrainingsTableComponent_mat_row_30_Template","NoteType","NotificationComponent","ProcedureUpdateTableComponent_div_0_td_4_span_1_Template","ProcedureUpdateTableComponent_div_0_td_4_a_2_Template","e_r40","appendix_r42","ProcedureUpdateTableComponent_div_0_td_7_ng_container_4_span_1_Template","ProcedureUpdateTableComponent_div_0_td_7_ng_container_4_a_2_Template","ProcedureUpdateTableComponent_div_0_td_7_ng_container_4_a_3_Template","ProcedureUpdateTableComponent_div_0_td_7_ng_container_4_Template","e_r52","e_r53","appendix_r55","ProcedureUpdateTableComponent_div_0_td_13_ng_container_5_span_1_Template","ProcedureUpdateTableComponent_div_0_td_13_ng_container_5_a_2_Template","ProcedureUpdateTableComponent_div_0_td_13_ng_container_5_a_3_Template","ProcedureUpdateTableComponent_div_0_td_13_ng_container_5_Template","e_r65","labelStatus","e_r66","labelLastReviewed","e_r67","labelReviewPeriod","e_r68","labelNextDue","e_r69","labelGoogleDocsDraftGlobal","file_r73","e_r70","ProcedureUpdateTableComponent_div_0_td_31_ng_container_2_Template_button_click_1_listener","openChecklist","ProcedureUpdateTableComponent_div_0_td_31_ng_container_1_Template","ProcedureUpdateTableComponent_div_0_td_31_ng_container_2_Template","labelPreparers","ProcedureUpdateTableComponent_div_0_td_34_div_1_button_1_Template_button_click_0_listener","e_r78","labelAddPreparer","signature_r86","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_button_4_Template_button_click_0_listener","ctx_r92","removeSignature","labelRemovePreparer","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_button_5_Template_button_click_0_listener","ctx_r95","labelApprovePreparer","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_button_6_Template_button_click_0_listener","labelUnapprovePreparer","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_span_3_Template","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_button_4_Template","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_button_5_Template","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_button_6_Template","signatureAdmin","hasTemplates","ProcedureUpdateTableComponent_div_0_td_34_div_1_button_1_Template","ProcedureUpdateTableComponent_div_0_td_34_div_1_mat_chip_4_Template","preparer","isInSignatures","getSignatures","signature_r104","ProcedureUpdateTableComponent_div_0_td_34_div_2_mat_chip_2_span_1_Template","ProcedureUpdateTableComponent_div_0_td_34_div_2_mat_chip_2_span_2_Template","ctx_r103","ProcedureUpdateTableComponent_div_0_td_34_div_2_mat_chip_2_Template","ProcedureUpdateTableComponent_div_0_td_34_div_1_Template","ProcedureUpdateTableComponent_div_0_td_34_div_2_Template","labelReviewers","ProcedureUpdateTableComponent_div_0_td_37_div_1_button_1_Template_button_click_0_listener","_r117","e_r110","ctx_r115","ctx_r113","labelAddReviewer","signature_r118","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_button_4_Template_button_click_0_listener","_r126","labelRemoveReviewer","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_button_5_Template_button_click_0_listener","ctx_r127","ctx_r121","labelApproveReviewer","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_button_6_Template_button_click_0_listener","ctx_r130","ctx_r122","labelUnapproveReviewer","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_span_3_Template","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_button_4_Template","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_button_5_Template","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_button_6_Template","ProcedureUpdateTableComponent_div_0_td_37_div_1_button_1_Template","ProcedureUpdateTableComponent_div_0_td_37_div_1_mat_chip_4_Template","ctx_r111","signature_r136","ProcedureUpdateTableComponent_div_0_td_37_div_2_mat_chip_2_span_1_Template","ProcedureUpdateTableComponent_div_0_td_37_div_2_mat_chip_2_span_2_Template","ProcedureUpdateTableComponent_div_0_td_37_div_2_mat_chip_2_Template","ProcedureUpdateTableComponent_div_0_td_37_div_1_Template","ProcedureUpdateTableComponent_div_0_td_37_div_2_Template","labelApprovers","ProcedureUpdateTableComponent_div_0_td_40_div_1_button_1_Template_button_click_0_listener","e_r142","ctx_r147","labelAddApprover","signature_r150","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_button_4_Template_button_click_0_listener","_r158","ctx_r152","labelRemoveApprover","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_button_5_Template_button_click_0_listener","_r161","ctx_r159","labelApproveApprover","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_button_6_Template_button_click_0_listener","_r164","labelUnapproveApprover","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_span_3_Template","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_button_4_Template","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_button_5_Template","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_button_6_Template","ProcedureUpdateTableComponent_div_0_td_40_div_1_button_1_Template","ProcedureUpdateTableComponent_div_0_td_40_div_1_mat_chip_4_Template","ctx_r143","signature_r168","ProcedureUpdateTableComponent_div_0_td_40_div_2_mat_chip_2_span_1_Template","ProcedureUpdateTableComponent_div_0_td_40_div_2_mat_chip_2_span_2_Template","ProcedureUpdateTableComponent_div_0_td_40_div_2_mat_chip_2_Template","ProcedureUpdateTableComponent_div_0_td_40_div_1_Template","ProcedureUpdateTableComponent_div_0_td_40_div_2_Template","labelNotes","ProcedureUpdateTableComponent_div_0_td_43_Template_notes_delete_1_listener","_r176","ctx_r175","e_r174","procedureNotes","labelActions","_r179","ProcedureUpdateTableComponent_div_0_td_46_button_6_Template_button_click_0_listener","_r188","e_r177","ctx_r186","ctx_r180","ProcedureUpdateTableComponent_div_0_td_46_button_7_Template_button_click_0_listener","_r191","ctx_r189","ProcedureUpdateTableComponent_div_0_td_46_button_12_Template_button_click_0_listener","ctx_r182","labelPublish","_r185","ProcedureUpdateTableComponent_div_0_td_46_button_3_Template","ProcedureUpdateTableComponent_div_0_td_46_button_6_Template","ProcedureUpdateTableComponent_div_0_td_46_button_7_Template","ProcedureUpdateTableComponent_div_0_td_46_Template_button_click_8_listener","_r196","ctx_r195","ProcedureUpdateTableComponent_div_0_td_46_button_12_Template","ProcedureUpdateTableComponent_div_0_td_46_hr_13_Template","ProcedureUpdateTableComponent_div_0_td_46_button_14_Template","ProcedureUpdateTableComponent_div_0_td_46_Template_button_click_17_listener","notify","ProcedureUpdateTableComponent_div_0_td_46_Template_button_click_21_listener","actionsPermission","labelCreateNote","PCNotifications","row_r199","ProcedureUpdateTableComponent_div_0_Template_table_matSortChange_1_listener","ProcedureUpdateTableComponent_div_0_th_3_Template","ProcedureUpdateTableComponent_div_0_td_4_Template","ProcedureUpdateTableComponent_div_0_th_6_Template","ProcedureUpdateTableComponent_div_0_td_7_Template","ProcedureUpdateTableComponent_div_0_th_9_Template","ProcedureUpdateTableComponent_div_0_td_10_Template","ProcedureUpdateTableComponent_div_0_th_12_Template","ProcedureUpdateTableComponent_div_0_td_13_Template","ProcedureUpdateTableComponent_div_0_th_15_Template","ProcedureUpdateTableComponent_div_0_td_16_Template","ProcedureUpdateTableComponent_div_0_th_18_Template","ProcedureUpdateTableComponent_div_0_td_19_Template","ProcedureUpdateTableComponent_div_0_th_21_Template","ProcedureUpdateTableComponent_div_0_td_22_Template","ProcedureUpdateTableComponent_div_0_th_24_Template","ProcedureUpdateTableComponent_div_0_td_25_Template","ProcedureUpdateTableComponent_div_0_th_27_Template","ProcedureUpdateTableComponent_div_0_td_28_Template","ProcedureUpdateTableComponent_div_0_th_30_Template","ProcedureUpdateTableComponent_div_0_td_31_Template","ProcedureUpdateTableComponent_div_0_th_33_Template","ProcedureUpdateTableComponent_div_0_td_34_Template","ProcedureUpdateTableComponent_div_0_th_36_Template","ProcedureUpdateTableComponent_div_0_td_37_Template","ProcedureUpdateTableComponent_div_0_th_39_Template","ProcedureUpdateTableComponent_div_0_td_40_Template","ProcedureUpdateTableComponent_div_0_th_42_Template","ProcedureUpdateTableComponent_div_0_td_43_Template","ProcedureUpdateTableComponent_div_0_th_45_Template","ProcedureUpdateTableComponent_div_0_td_46_Template","ProcedureUpdateTableComponent_div_0_th_48_Template","ProcedureUpdateTableComponent_div_0_tr_49_Template","ProcedureUpdateTableComponent_div_0_tr_50_Template","ProcedureUpdateTableComponent_div_0_tr_51_Template","ProcedureUpdateTableComponent","notificationService","reviewer","loadProcedureCategories2","loadProcedureConfiguration","ALSProcedureSignatureAdmin","ALSProcedureActions","labellocation","labelDraft","labelGoogleDoc","Procedure","loadProcedureCategories","setHeaders","setPrivileges","myProcedures","PCEPSPreparer","PCEPSReviewer","PCEPSApprover","PCRSSPreparer","PCRSSReviewer","PCRSSApprover","PCRADPreparer","PCRADReviewer","PCRADApprover","createNote","labelChecklistNotFound","labelProcedureAndDocumentManagement","getNotes","pnotes","toAll","toAddresses","notificationId","messageAdditionalText","templateID","readOnly","send","ProcedureUpdateTableComponent_Template","ProcedureUpdateTableComponent_div_0_Template","ProcedureUpdateV2Component_a_14_Template_a_click_0_listener","ProcedureUpdateV2Component_filter_box_35_Template_filter_box_changed_0_listener","e_r19","ProcedureUpdateV2Component_div_37_mat_row_7_Template_mat_row_click_0_listener","ProcedureUpdateV2Component_div_37_mat_header_cell_4_Template","ProcedureUpdateV2Component_div_37_mat_cell_5_Template","ProcedureUpdateV2Component_div_37_mat_header_row_6_Template","ProcedureUpdateV2Component_div_37_mat_row_7_Template","ProcedureUpdateV2Component_mat_nav_list_38_Template_mat_list_item_click_1_listener","ProcedureUpdateV2Component_mat_nav_list_38_span_2_Template","ProcedureUpdateV2Component_mat_nav_list_38_Template_mat_list_item_click_5_listener","ProcedureUpdateV2Component_mat_nav_list_38_span_6_Template","ProcedureUpdateV2Component_div_46_Template_procedure_update_table_loading_1_listener","showMyProcedures","ProcedureUpdateV2Component","PCViewRadTab","label_procedure_management","label_show_myprocedures","ProcedureUpdateV2Component_Query","ProcedureUpdateV2Component_Template_button_click_3_listener","ProcedureUpdateV2Component_a_14_Template","ProcedureUpdateV2Component_Template_mat_slide_toggle_ngModelChange_22_listener","ProcedureUpdateV2Component_Template_mat_slide_toggle_ngModelChange_25_listener","ProcedureUpdateV2Component_Template_mat_slide_toggle_ngModelChange_27_listener","ProcedureUpdateV2Component_mat_icon_34_Template","ProcedureUpdateV2Component_filter_box_35_Template","ProcedureUpdateV2Component_div_37_Template","ProcedureUpdateV2Component_mat_nav_list_38_Template","ProcedureUpdateV2Component_div_46_Template","ProcedureUpdateV2Component_overlay_loading_47_Template","NgxsReduxDevtoolsPluginModule","MatTableExporterModule","ProcedureConfigurationService","readByUserID","ProcedureTemplateService","createProcedureTemplateMaster","readProcedureTemplateMaster","updateProcedureTemplateMaster","deleteProcedureTemplateMaster","createProcedureTemplate","procedureTemplate","updateProcedureTemplate","deleteProcedureTemplate","ProcedureTypeService","readByType","ProcedureCategoryCreate","ProcedureCategoryUpdate","ProcedureCategoryDelete","ProcedureCategoryStateModel","ProcedureCategoryState","ProcedureCategoryActions","ProcedureCategoryStoreAndListenersService","PROCEDURECATEGORY","ProcedureConfigurationUpdate","ProcedureConfigurationStateModel","ProcedureConfigurationState","procedureConfigurationService","ProcedureCreditedCreate","ProcedureCreditedUpdate","ProcedureCreditedDelete","ProcedureCreditedStateModel","ProcedureCreditedState","ProcedureCreditedActions","MissingTrainingRefresh","ProcedureCreditedStoreAndListenersService","PROCEDURECREDITED","MissingTrainingStateModel","MissingTrainingState","mt","MissingTrainingActions","MissingTrainingStoreAndListenersService","MISSINGTRAINING","ProcedureTemplateCreate","ProcedureTemplateUpdate","ProcedureTemplateDelete","ProcedureTemplateStateModel","ProcedureTemplates","ProcedureTemplateState","procedureTemplateService","ProcedureTemplateActions","ProcedureTemplateStoreAndListenersService","PROCEDURETEMPLATE","ProcedureTrainingCreate","ProcedureTrainingUpdate","ProcedureTrainingDelete","ProcedureTrainingStateModel","ProcedureTrainingState","ProcedureTrainingActions","ProcedureTrainingStoreAndListenersService","PROCEDURETRAINING","ProcedureTypeRefresh","ProcedureTypeCreate","ProcedureTypeUpdate","ProcedureTypeDelete","ProcedureTypeStateModel","ProcedureTypeState","ProcedureTypeActions","ProcedureTypeStoreAndListenersService","ProcedureRefresh","ProcedureRefreshByType","ProcedureCreate","ProcedureDelete","ProcedureSet","ProcedureStateModel","ProcedureState","refreshByType","ProcedureActions","ProcedureStoreAndListenersService","PROCEDURE","mouseHasEntered","mouseInDialog","removeEventListener","onMouseLeave","onMouseEnter","closeTimeout","openSameTab","openNewTab","RedirectDialogComponent_Template","RedirectDialogComponent_Template_mat_list_item_click_4_listener","RedirectDialogComponent_Template_mat_list_item_click_9_listener","notFoundText","RedirectComponent_Template","RedirectComponent_div_0_Template","RedirectComponent_overlay_loading_1_Template","DocumentsRefresh","previousUrl","currentUrl","getReviewRoute","ABSITemplate","KETemplate","boardType","retries","maxRetries","ReviewsActionItemTypesComponent_div_8_div_2_button_11_Template_button_click_0_listener","reviewActionItemType_r5","ReviewsActionItemTypesComponent_div_8_div_2_Template_button_click_8_listener","ReviewsActionItemTypesComponent_div_8_div_2_button_11_Template","ReviewsActionItemTypesComponent_div_8_Template_div_cdkDropListDropped_1_listener","ReviewsActionItemTypesComponent_div_8_div_2_Template","reviewActionItemTypes","ReviewsActionItemTypesComponent_div_9_Template_mat_slide_toggle_ngModelChange_19_listener","ReviewsActionItemTypesComponent_div_9_Template_mat_slide_toggle_change_19_listener","isStopperChanged","reviewActionItemTypeNameCtrl","reviewActionItemTypeDescriptionCtrl","reviewActionItemTypeCodeCtrl","ReviewsActionItemTypesComponent_div_11_Template_button_click_1_listener","ReviewsActionItemTypesComponent_div_12_Template_button_click_1_listener","ReviewsActionItemTypesComponent_div_12_Template_button_click_3_listener","ReviewsActionItemTypesComponent","reviewActionItemTypesSubs","filterReviewActionItems","reviewActionItemTypes$","ReviewActionItemTypes","reviewActionItemTypeID","updateReviewActionItemType","createReviewActionItemType","afterSave","deleteReviewActionItemType","ReviewsActionItemTypesComponent_Template","ReviewsActionItemTypesComponent_Template_button_click_4_listener","ReviewsActionItemTypesComponent_div_8_Template","ReviewsActionItemTypesComponent_div_9_Template","ReviewsActionItemTypesComponent_div_11_Template","ReviewsActionItemTypesComponent_div_12_Template","ReviewsActionItemsCommentsComponent","loadComments","commentsAndAttachments","ReviewsActionItemsCommentsComponent_Query","ReviewsActionItemsCommentsComponent_Template_comments_and_attachments_changed_1_listener","ReviewsActionItemsCompleteComponent","closingComments","completeComment","updateReviewActionItem","ReviewsActionItemsCompleteComponent_Template","ReviewsActionItemsCompleteComponent_Template_button_click_4_listener","ReviewsActionItemsCompleteComponent_Template_comments_box_textChanged_8_listener","ReviewsActionItemsCompleteComponent_Template_button_click_11_listener","ReviewsActionItemsCompleteComponent_Template_button_click_13_listener","actionItemType_r16","actionItemClosedByCtrl","actionItemClosedDateCtrl","ReviewsActionItemsDetailsComponent_mat_slide_toggle_61_Template_mat_slide_toggle_change_0_listener","changeCatl","ReviewsActionItemsDetailsComponent_mat_slide_toggle_61_Template_mat_slide_toggle_ngModelChange_0_listener","isCATL","ReviewsActionItemsDetailsComponent_button_62_Template_button_click_0_listener","sendEmail","ReviewsActionItemsDetailsComponent_button_68_Template_button_click_0_listener","openActionComplete","ReviewsActionItemsDetailsComponent_button_72_Template_button_click_0_listener","actionItemTypeCtrl","actionItemNameCtrl","actionItemStartDateCtrl","actionItemEndDateCtrl","actionItemResponsibleCtrl","loadReviewActionItemTypes","getEndDate","closedBy","closedOn","CompleteActionItems","canAddRemove","sendemailNotification","reviewActionItemTypesFiltered","getActionTitle","createReviewActionItem","changedActionItemType","changedActionItemResponsible","selectedActionItemType","selectedActionItemResponsible","responsibleID","changedDescription","changedStartDate","changedEndDate","canBeCompleted","ReviewsActionItemsDetailsComponent_Template","ReviewsActionItemsDetailsComponent_Template_button_click_2_listener","ReviewsActionItemsDetailsComponent_mat_progress_bar_7_Template","ReviewsActionItemsDetailsComponent_Template_input_keyup_22_listener","ReviewsActionItemsDetailsComponent_Template_mat_autocomplete_optionSelected_23_listener","ReviewsActionItemsDetailsComponent_mat_option_26_Template","ReviewsActionItemsDetailsComponent_Template_input_keyup_31_listener","ReviewsActionItemsDetailsComponent_Template_mat_autocomplete_optionSelected_32_listener","ReviewsActionItemsDetailsComponent_mat_option_35_Template","ReviewsActionItemsDetailsComponent_Template_input_dateChange_40_listener","ReviewsActionItemsDetailsComponent_Template_input_dateChange_48_listener","ReviewsActionItemsDetailsComponent_mat_form_field_53_Template","ReviewsActionItemsDetailsComponent_mat_form_field_55_Template","ReviewsActionItemsDetailsComponent_Template_comments_box_textChanged_59_listener","ReviewsActionItemsDetailsComponent_mat_slide_toggle_61_Template","ReviewsActionItemsDetailsComponent_button_62_Template","ReviewsActionItemsDetailsComponent_reviews_action_items_comments_64_Template","ReviewsActionItemsDetailsComponent_button_68_Template","ReviewsActionItemsDetailsComponent_Template_button_click_70_listener","ReviewsActionItemsDetailsComponent_button_72_Template","emailSent","ReviewActionItemsRefresh","ReviewsRefreshById","ReviewsActionItemsComponent_div_0_mat_cell_10_mat_icon_1_Template","ReviewsActionItemsComponent_div_0_mat_cell_10_mat_icon_2_Template","ReviewsActionItemsComponent_div_0_mat_cell_10_mat_icon_3_Template","ReviewsActionItemsComponent_div_0_mat_cell_25_Template_span_click_1_listener","linkToTask","getTaskName","ReviewsActionItemsComponent_div_0_ng_container_26_mat_cell_2_Template_button_click_1_listener","deleteActionItem","ReviewsActionItemsComponent_div_0_ng_container_26_mat_header_cell_1_Template","ReviewsActionItemsComponent_div_0_ng_container_26_mat_cell_2_Template","ReviewsActionItemsComponent_div_0_mat_row_28_Template_mat_row_click_0_listener","row_r34","ReviewsActionItemsComponent_div_0_mat_header_cell_9_Template","ReviewsActionItemsComponent_div_0_mat_cell_10_Template","ReviewsActionItemsComponent_div_0_mat_header_cell_12_Template","ReviewsActionItemsComponent_div_0_mat_cell_13_Template","ReviewsActionItemsComponent_div_0_mat_header_cell_15_Template","ReviewsActionItemsComponent_div_0_mat_cell_16_Template","ReviewsActionItemsComponent_div_0_mat_header_cell_18_Template","ReviewsActionItemsComponent_div_0_mat_cell_19_Template","ReviewsActionItemsComponent_div_0_mat_header_cell_21_Template","ReviewsActionItemsComponent_div_0_mat_cell_22_Template","ReviewsActionItemsComponent_div_0_mat_header_cell_24_Template","ReviewsActionItemsComponent_div_0_mat_cell_25_Template","ReviewsActionItemsComponent_div_0_ng_container_26_Template","ReviewsActionItemsComponent_div_0_mat_header_row_27_Template","ReviewsActionItemsComponent_div_0_mat_row_28_Template","actionItemType_r1","dataSources","ReviewsActionItemsComponent","actionItemTypesSubs","loadActionItemTypes","actionItemTypes$","actionItemTypes","filterActionItemTypes","actionItemTypesFiltered","actionItemType","manageCategories","newRelativeUrl","createUrlTree","baseUrl","deleteReviewActionItem","ReviewsActionItemsComponent_Template","ReviewsActionItemsComponent_div_0_Template","ReviewAttachmentTypesComponent","ReviewAttachmentComponent","ReviewLinksComponent","FileV2","ReviewAttachmentDocumentsComponent_div_1_mat_cell_10_a_2_Template_a_click_0_listener","SearchFile","ReviewAttachmentDocumentsComponent_div_1_mat_cell_10_a_1_Template","ReviewAttachmentDocumentsComponent_div_1_mat_cell_10_a_2_Template","ReviewAttachmentDocumentsComponent_div_1_ng_container_20_mat_cell_2_button_1_Template_button_click_0_listener","deleteReviewDocument","ReviewAttachmentDocumentsComponent_div_1_ng_container_20_mat_cell_2_button_1_Template","ReviewAttachmentDocumentsComponent_div_1_ng_container_20_mat_header_cell_1_Template","ReviewAttachmentDocumentsComponent_div_1_ng_container_20_mat_cell_2_Template","row_r33","ReviewAttachmentDocumentsComponent_div_1_mat_header_cell_9_Template","ReviewAttachmentDocumentsComponent_div_1_mat_cell_10_Template","ReviewAttachmentDocumentsComponent_div_1_mat_header_cell_12_Template","ReviewAttachmentDocumentsComponent_div_1_mat_cell_13_Template","ReviewAttachmentDocumentsComponent_div_1_mat_header_cell_15_Template","ReviewAttachmentDocumentsComponent_div_1_mat_cell_16_Template","ReviewAttachmentDocumentsComponent_div_1_mat_header_cell_18_Template","ReviewAttachmentDocumentsComponent_div_1_mat_cell_19_Template","ReviewAttachmentDocumentsComponent_div_1_ng_container_20_Template","ReviewAttachmentDocumentsComponent_div_1_mat_header_row_21_Template","ReviewAttachmentDocumentsComponent_div_1_mat_row_22_Template","reviewattachmentCategories_r2","i_r3","ReviewAttachmentDocumentsComponent","showTable","enableCategoriesButton","uploadingFiles","reviewattachmentCategories","reviewattachmentCategoriesFiltered","loadReviewDocuments","ObtainAttachmentCategories","getReviewDocumentsByReview","reviewDocuments","uniqueAttachmentCategories","reviewCategoryID","idCategory","searchReviewDocumentCategory","attachmentCategoryType","dataSourceCategory","getReviewDocumentCategories","addReviewDocument","uploadDocuments","addLinkDocument","uploadsLinks","rowFile","deleteCommentFileServer","deleteLinkFile","fileId","async","deleteCommentFile","promise","obtainIcon","fileExtension","pathIcon","attachedLink","reviewActual","attachedReviewDocuments","createReviewDocuments","filesAdded","fileToUpload","categoryId","getIdFileServer","fileIdServer","ObtainFile","attachedDocument","extension","numberWithCommas","round","FormData","idFileServer","append","createFiles","_x8","fileSearched","_x9","ReviewAttachmentDocumentsComponent_Template","ReviewAttachmentDocumentsComponent_mat_progress_bar_0_Template","ReviewAttachmentDocumentsComponent_div_1_Template","RCstatus_r2","ReviewAttachmentTypeDetailsComponent_button_23_Template_button_click_0_listener","ReviewAttachmentTypeDetailsComponent","_alert","listReviewCategories","currentReviewDocumentCategory","obtainReviewCategories","saveReviewDocumentCategory","reviewDocCategory","createReviewDocumentCategory","reviewDocumentCategorySearch","updateReviewDocumentCategory","reviewDocumentCategory","ReviewAttachmentTypeDetailsComponent_Template","ReviewAttachmentTypeDetailsComponent_Template_button_click_4_listener","ReviewAttachmentTypeDetailsComponent_Template_input_ngModelChange_11_listener","ReviewAttachmentTypeDetailsComponent_Template_input_ngModelChange_15_listener","ReviewAttachmentTypeDetailsComponent_Template_mat_select_ngModelChange_19_listener","ReviewAttachmentTypeDetailsComponent_mat_option_20_Template","ReviewAttachmentTypeDetailsComponent_button_23_Template","ReviewAttachmentTypeDetailsComponent_Template_button_click_24_listener","ReviewAttachmentTypesComponent_mat_header_cell_26_Template_button_click_1_listener","ReviewAttachmentTypesComponent_mat_cell_27_Template_button_click_1_listener","EditReviewDocumentCategory","ReviewAttachmentTypesComponent_mat_cell_27_Template_button_click_4_listener","deleteReviewDocumentCategory","ReviewAttachmentTypesComponent_mat_row_29_Template_mat_row_click_0_listener","loadReviewCategories","reviewCategories","refreshReviewCategories","showReviewCategoriesInactive","reviewDocumentCategoryNew","openDetailsReviewDocumentCategory","getReviewDocumentsByCategory","ReviewAttachmentTypesComponent_Template","ReviewAttachmentTypesComponent_Template_mat_slide_toggle_ngModelChange_7_listener","ReviewAttachmentTypesComponent_Template_mat_slide_toggle_click_7_listener","ReviewAttachmentTypesComponent_Template_button_click_9_listener","ReviewAttachmentTypesComponent_mat_progress_bar_12_Template","ReviewAttachmentTypesComponent_Template_mat_table_matSortChange_15_listener","ReviewAttachmentTypesComponent_mat_header_cell_17_Template","ReviewAttachmentTypesComponent_mat_cell_18_Template","ReviewAttachmentTypesComponent_mat_header_cell_20_Template","ReviewAttachmentTypesComponent_mat_cell_21_Template","ReviewAttachmentTypesComponent_mat_header_cell_23_Template","ReviewAttachmentTypesComponent_mat_cell_24_Template","ReviewAttachmentTypesComponent_mat_header_cell_26_Template","ReviewAttachmentTypesComponent_mat_cell_27_Template","ReviewAttachmentTypesComponent_mat_header_row_28_Template","ReviewAttachmentTypesComponent_mat_row_29_Template","itemList_r3","ReviewAttachmentComponent_div_21_Template_button_click_8_listener","file_r4","reviewParameter","menuListCategories","ReviewAttachmentComponent_Query","ReviewAttachmentComponent_Template_mat_select_valueChange_8_listener","ReviewAttachmentComponent_mat_option_9_Template","ReviewAttachmentComponent_Template_div_fileDropped_10_listener","ReviewAttachmentComponent_Template_input_change_11_listener","ReviewAttachmentComponent_div_21_Template","ReviewAttachmentComponent_Template_button_click_24_listener","ReviewAttachmentComponent_Template_button_click_26_listener","itemList_r1","reviewLink","ReviewLinksComponent_Template","ReviewLinksComponent_Template_mat_select_valueChange_8_listener","ReviewLinksComponent_mat_option_9_Template","ReviewLinksComponent_Template_textarea_ngModelChange_13_listener","ReviewLinksComponent_Template_textarea_ngModelChange_17_listener","ReviewLinksComponent_Template_button_click_20_listener","ReviewLinksComponent_Template_button_click_22_listener","ReviewTypesEnum","ReviewRequestComponent","ReviewsBoardsCyclesComponent_div_0_Template_span_click_2_listener","reviewCycle_r1","openReviewRequest","ReviewsBoardsCyclesComponent_div_0_Template_reviews_boards_reviews_selectedReview_8_listener","reviewSelected","reviewRequestStatus","ReviewsBoardsCyclesComponent","selectedReview","Approved","reviewBoardID","showOnlyActive","reviewBoardFromIndex","MODF","requestColor","requestIcon","requestTip","isEvaluate","ReviewsBoardsCyclesComponent_Template","ReviewsBoardsCyclesComponent_div_0_Template","ReviewsBoardsReviewCreateComponent_button_6_Template_button_click_0_listener","reviewRequest_r13","ReviewsBoardsReviewCreateComponent_mat_radio_button_20_Template_mat_radio_button_change_0_listener","option_r14","reviewType_r17","checklistTemplate_r18","ReviewsBoardsReviewCreateComponent","checklistTemplatesStore","reviewTypeCtrl","checklistTemplateCtrl","reviewRequestCtrl","reviewDateTimeCtrl","reviewTypeEnum","FULL","RCP","defaultTime","loadReviewTypes","loadReviewRequests","reviewBoardTypeID","reviewTypes$","ReviewTypes","reviewTypesSubs","reviewTypes","reviewTypesFiltered","filterReviewTypes","reviewRequests$","reviewRequestsSubs","reviewRequests","reviewRequestsFiltered","displaySerialNo","selectedReviewRequest","reviewRequest","isFullReview","changedReviewRequest","currentTarget","optionSelected","selectedReviewType","dateChanged","reviewStatuses","updateReviewCycle","reviewRequestUpdated","reviewTypeID","reviewDate","reviewStatusID","createReview","reviewCreated","ReviewsBoardsReviewCreateComponent_Template","ReviewsBoardsReviewCreateComponent_button_6_Template","ReviewsBoardsReviewCreateComponent_Template_input_keyup_13_listener","ReviewsBoardsReviewCreateComponent_Template_mat_autocomplete_optionSelected_14_listener","ReviewsBoardsReviewCreateComponent_mat_option_17_Template","ReviewsBoardsReviewCreateComponent_Template_mat_radio_group_ngModelChange_19_listener","ReviewsBoardsReviewCreateComponent_mat_radio_button_20_Template","ReviewsBoardsReviewCreateComponent_Template_mat_autocomplete_optionSelected_26_listener","ReviewsBoardsReviewCreateComponent_mat_option_29_Template","ReviewsBoardsReviewCreateComponent_mat_option_38_Template","ReviewsBoardsReviewCreateComponent_Template_datetime_picker_changed_40_listener","ReviewsBoardsReviewCreateComponent_Template_button_click_44_listener","ReviewsBoardsReviewCreateComponent_Template_button_click_46_listener","ReviewsBoardsAddResourceComponent_mat_slide_toggle_8_Template_mat_slide_toggle_change_0_listener","toggleChanged","resourceNameCtrl","ReviewsBoardsAddResourceComponent_mat_form_field_9_Template_input_ngModelChange_3_listener","ReviewsBoardsAddResourceComponent_mat_form_field_9_Template_input_keyup_3_listener","ReviewsBoardsAddResourceComponent_mat_form_field_9_mat_error_4_Template","resource_r13","ReviewsBoardsAddResourceComponent_mat_form_field_10_Template_mat_autocomplete_optionSelected_4_listener","ReviewsBoardsAddResourceComponent_mat_form_field_10_mat_option_7_Template","ReviewsBoardsAddResourceComponent","resourceDescCtrl","_resources","reviewBoardsSubs","loadReviewBoards","resourceDesc","addFromExisting","reviewBoards$","ReviewBoards","reviewBoards","ReviewProcessResource","repeated","ReviewsBoardsAddResourceComponent_Template","ReviewsBoardsAddResourceComponent_mat_slide_toggle_8_Template","ReviewsBoardsAddResourceComponent_mat_form_field_9_Template","ReviewsBoardsAddResourceComponent_mat_form_field_10_Template","ReviewsBoardsAddResourceComponent_Template_textarea_ngModelChange_14_listener","ReviewsBoardsAddResourceComponent_mat_error_15_Template","ReviewsBoardsAddResourceComponent_Template_button_click_19_listener","ReviewsBoardsAddResourceComponent_Template_button_click_21_listener","ReviewActionsRequestExtensionComponent","dateTimeCtrl","minDate","check_disabled","request","ReviewActionsRequestExtensionComponent_Template","ReviewActionsRequestExtensionComponent_Template_button_click_8_listener","ReviewsBoardsReviewsDetailsTemplateComponent","ReviewCyclesRefresh","ReviewsBoardsReviewsMembersComponent","ReviewsBoardsReviewsDetailsComponent_div_58_button_5_Template_button_click_0_listener","ReviewsBoardsReviewsDetailsComponent_div_58_button_5_Template","ChangeReviewDate","ReviewsBoardsReviewsDetailsComponent_div_59_Template_datetime_picker_changed_3_listener","ReviewsBoardsReviewsDetailsComponent_div_59_Template_button_click_5_listener","saveDate","ReviewsBoardsReviewsDetailsComponent_div_59_Template_button_click_8_listener","dateEditing","ReviewsBoardsReviewsDetailsComponent_div_60_button_3_Template_button_click_0_listener","action_r16","executeAction","nextReviewStatusID","getActionButtonColor","hasStopper","reviewStatusEnum","nextReviewStatus","statusType","ReviewsBoardsReviewsDetailsComponent_div_60_button_3_Template","reviewStatusActions","ReviewsBoardsReviewsDetailsComponent_div_76_button_1_Template_button_click_0_listener","reviewMembers","reviewMembersDialog","ReviewsBoardsReviewsDetailsComponent_div_76_button_1_Template","AddRemoveRosterMembers","ReviewsBoardsReviewsDetailsComponent_div_102_button_2_Template_button_click_0_listener","reviewAttachments","ReviewsBoardsReviewsDetailsComponent_div_102_button_4_Template_button_click_0_listener","ReviewsBoardsReviewsDetailsComponent_div_102_button_6_Template_button_click_0_listener","ReviewsBoardsReviewsDetailsComponent_div_102_button_2_Template","ReviewsBoardsReviewsDetailsComponent_div_102_button_4_Template","ReviewsBoardsReviewsDetailsComponent_div_102_button_6_Template","AddRemoveDocuments","ManageDocumentCategories","ReviewsBoardsReviewsDetailsComponent_div_115_div_1_Template_button_click_1_listener","ReviewsBoardsReviewsDetailsComponent_div_115_div_2_Template_button_click_1_listener","ReviewsBoardsReviewsDetailsComponent_div_115_div_1_Template","ReviewsBoardsReviewsDetailsComponent_div_115_div_2_Template","ManageActionItemCategories","ReviewsBoardsReviewsDetailsComponent_div_130_Template_button_click_3_listener","ReviewsBoardsReviewsDetailsComponent_div_130_Template_button_click_5_listener","selectChecklist","ReviewsBoardsReviewsDetailsComponent","reviewUpdated","reviewTypesEnum","reviewStatusesSubs","loadReviewStatuses","checkActionsRoles","actionRoles","reviewActionRoles","reviewStatuses$","ReviewStatus","getActions","openChecklistTemplate","reviewStatusAction","cancelReview","statusToChange","updateReview","saveReview","nextReviewTypeID","createNextReview","deleteReview","previousReviewID","checkButtonsPriv","reviewDetailsTemplate","isChecklistEditing","copyEmails","reviewAttendanceRosters","navigator","writeText","err","rosterCheck","ReviewsBoardsReviewsDetailsComponent_Query","ReviewsBoardsReviewsDetailsComponent_div_58_Template","ReviewsBoardsReviewsDetailsComponent_div_59_Template","ReviewsBoardsReviewsDetailsComponent_div_60_Template","ReviewsBoardsReviewsDetailsComponent_Template_button_click_69_listener","ReviewsBoardsReviewsDetailsComponent_div_76_Template","ReviewsBoardsReviewsDetailsComponent_Template_comments_and_attachments_changed_89_listener","ReviewsBoardsReviewsDetailsComponent_div_102_Template","ReviewsBoardsReviewsDetailsComponent_div_115_Template","ReviewsBoardsReviewsDetailsComponent_Template_reviews_boards_reviews_details_template_isLoading_128_listener","ReviewsBoardsReviewsDetailsComponent_div_129_Template","ReviewsBoardsReviewsDetailsComponent_div_130_Template","ɵɵtextInterpolate3","RegisterAttendance","ManageRosterCategories","AddBRCComments","ChangeReviewTemplate","LoadSavedRosterLeftComponent_div_0_mat_header_cell_8_Template","LoadSavedRosterLeftComponent_div_0_mat_cell_9_Template","LoadSavedRosterLeftComponent_div_0_mat_header_cell_11_Template","LoadSavedRosterLeftComponent_div_0_mat_cell_12_Template","LoadSavedRosterLeftComponent_div_0_mat_header_row_13_Template","LoadSavedRosterLeftComponent_div_0_mat_row_14_Template","reviewCategory_r1","getReviewMembersByCategory","LoadSavedRosterLeftComponent","reviewAttendanceSave","reviewAttendanceSavedList","categoryID","reviewCategory","LoadSavedRosterLeftComponent_Template","LoadSavedRosterLeftComponent_div_0_Template","LoadSavedRosterRightComponent","elem_r6","ReviewMembersLoadSavedRosterComponent_button_26_Template_button_click_0_listener","ReviewMembersLoadSavedRosterComponent_button_27_Template_button_click_0_listener","ReviewMembersLoadSavedRosterComponent","membersToAddCount","listCtrl","reviewMembersComponent","reviewAttendanceSavedSubs","reviewAttendanceSaved$","ReviewAttendanceSaved","reviewAttendanceSaved","reviewAttendanceSavedFiltered","reviewAttendanceSavedSelected","changedList","selectList","selectedList","editSavedRoster","deleteSavedRoster","membersToAdd","ReviewMembersLoadSavedRosterComponent_Query","ReviewMembersLoadSavedRosterComponent_Template_mat_slide_toggle_ngModelChange_9_listener","ReviewMembersLoadSavedRosterComponent_Template_input_keyup_19_listener","ReviewMembersLoadSavedRosterComponent_Template_input_blur_19_listener","ReviewMembersLoadSavedRosterComponent_Template_mat_autocomplete_optionSelected_21_listener","ReviewMembersLoadSavedRosterComponent_mat_option_24_Template","ReviewMembersLoadSavedRosterComponent_button_26_Template","ReviewMembersLoadSavedRosterComponent_button_27_Template","ReviewMembersLoadSavedRosterComponent_Template_load_saved_roster_right_membersToAddChanged_36_listener","ReviewMembersLoadSavedRosterComponent_Template_button_click_39_listener","ReviewMembersLoadSavedRosterComponent_Template_button_click_41_listener","LoadSavedRosterRightComponent_div_0_mat_cell_9_mat_icon_1_Template","LoadSavedRosterRightComponent_div_0_mat_cell_9_mat_icon_2_Template","LoadSavedRosterRightComponent_div_0_mat_header_cell_8_Template","LoadSavedRosterRightComponent_div_0_mat_cell_9_Template","LoadSavedRosterRightComponent_div_0_mat_header_cell_11_Template","LoadSavedRosterRightComponent_div_0_mat_cell_12_Template","LoadSavedRosterRightComponent_div_0_mat_header_row_13_Template","LoadSavedRosterRightComponent_div_0_mat_row_14_Template","membersToAddChanged","reviewAttendanceNew","reviewAttendanceRoster","LoadSavedRosterRightComponent_Template","LoadSavedRosterRightComponent_div_0_Template","ReviewAttendanceCategoriesRefresh","ReviewAttendanceCategoriesComponent_div_8_div_2_button_8_Template_button_click_0_listener","reviewCategory_r6","ReviewAttendanceCategoriesComponent_div_8_div_2_button_9_Template_button_click_0_listener","ReviewAttendanceCategoriesComponent_div_8_div_2_button_8_Template","ReviewAttendanceCategoriesComponent_div_8_div_2_button_9_Template","ReviewAttendanceCategoriesComponent_div_8_Template_div_cdkDropListDropped_1_listener","ReviewAttendanceCategoriesComponent_div_8_div_2_Template","reviewCategoryNameCtrl","reviewCategoryDescriptionCtrl","reviewCategoryCodeCtrl","ReviewAttendanceCategoriesComponent_button_12_Template_button_click_0_listener","ReviewAttendanceCategoriesComponent_button_14_Template_button_click_0_listener","ReviewAttendanceCategoriesComponent_button_15_Template_button_click_0_listener","ReviewAttendanceCategoriesComponent","getReviewCategories","reviewCategorySubscription","reviewCategories$","ReviewAttendanceCategories","updateReviewAttendanceCategory","reviewAttendanceCategory","createReviewAttendanceCategory","deleteReviewAttendanceCategory","ReviewAttendanceCategoriesComponent_Template","ReviewAttendanceCategoriesComponent_Template_button_click_4_listener","ReviewAttendanceCategoriesComponent_div_8_Template","ReviewAttendanceCategoriesComponent_div_9_Template","ReviewAttendanceCategoriesComponent_button_12_Template","ReviewAttendanceCategoriesComponent_button_14_Template","ReviewAttendanceCategoriesComponent_button_15_Template","roster_r3","ReviewAttendanceSaveComponent","rosterCtrl","loadReviewAttendanceSaved","changedRoster","selectedReviewAttendanceSave","disabledSave","ReviewAttendanceSaveComponent_Template","ReviewAttendanceSaveComponent_Template_input_keyup_8_listener","ReviewAttendanceSaveComponent_Template_mat_autocomplete_optionSelected_9_listener","ReviewAttendanceSaveComponent_mat_option_12_Template","ReviewAttendanceSaveComponent_Template_button_click_18_listener","ReviewAttendanceSaveComponent_Template_button_click_20_listener","ReviewMembersComponent_button_14_Template_button_click_0_listener","user_r12","reviewUserCtrl","ReviewMembersComponent_form_15_Template_input_input_6_listener","filterUserList","ReviewMembersComponent_form_15_Template_input_focus_6_listener","ReviewMembersComponent_form_15_Template_mat_autocomplete_optionSelected_8_listener","onUserSelected","ReviewMembersComponent_form_15_mat_option_10_Template","ReviewMembersComponent_form_15_mat_error_11_Template","ReviewMembersComponent_form_15_Template_mat_select_selectionChange_17_listener","getUsersByRoleId","ReviewMembersComponent_form_15_mat_option_18_Template","reviewMemberGroup","filteredUserOptions","trackUserByFn","guestMemberGroup","guestMemberNameCtrl","guestCategory","ReviewMembersComponent_button_21_Template_button_click_0_listener","ReviewMembersComponent_button_22_Template_button_click_0_listener","reviewRoleCtrl","ReviewMembersComponent","reviewCategoryCtrl","guestCtrl","guestGroup","guestMemberCategoryCtrl","addGuest","reviewMember","getFilteredUsers","roleSubscription","userCtrlValue","roleCtrlValue","userValueIsEmpty","keys","roleValueIsEmpty","getRolesByUserId","updatedAttendanceRoster","attended","updateReviewAttendanceRoster","member","newAttendanceRoster","createReviewAttendanceRoster","updatedGuestRoster","newGuestRoster","nameToCamelCase","createGuestAttendanceRoster","addGuestChange","ReviewMembersComponent_Query","ReviewMembersComponent_Template_button_click_4_listener","ReviewMembersComponent_Template_mat_checkbox_change_11_listener","ReviewMembersComponent_button_14_Template","ReviewMembersComponent_form_15_Template","ReviewMembersComponent_form_16_Template","ReviewMembersComponent_Template_button_click_19_listener","ReviewMembersComponent_button_21_Template","ReviewMembersComponent_button_22_Template","roster_r6","ReviewAttendanceSavedEditComponent_button_22_Template_button_click_0_listener","category_r9","category_r20","ReviewAttendanceSavedEditComponent_div_27_mat_form_field_3_Template_mat_autocomplete_optionSelected_4_listener","ReviewAttendanceSavedEditComponent_div_27_mat_form_field_3_mat_option_7_Template","ReviewAttendanceSavedEditComponent_div_27_mat_form_field_3_Template_button_click_8_listener","cancelAddCategory","categoryCtrl","reviewAttendanceCategoriesToAdd","ReviewAttendanceSavedEditComponent_div_27_button_4_Template_button_click_0_listener","setAdding","ReviewAttendanceSavedEditComponent_div_27_button_5_Template_button_click_0_listener","ReviewAttendanceSavedEditComponent_div_27_div_7_button_9_Template_button_click_0_listener","roster_r30","deleteMember","ReviewAttendanceSavedEditComponent_div_27_div_7_button_9_Template","addingMember","addingCategory","user_r39","ReviewAttendanceSavedEditComponent_div_27_div_8_mat_form_field_4_Template_input_keyup_3_listener","changedMember","ReviewAttendanceSavedEditComponent_div_27_div_8_mat_form_field_4_Template_mat_autocomplete_optionSelected_4_listener","selectedMember","ReviewAttendanceSavedEditComponent_div_27_div_8_mat_form_field_4_mat_option_7_Template","memberCtrl","ReviewAttendanceSavedEditComponent_div_27_div_8_Template_role_selection_selected_2_listener","ReviewAttendanceSavedEditComponent_div_27_div_8_mat_form_field_4_Template","ReviewAttendanceSavedEditComponent_div_27_div_8_Template_button_click_6_listener","cancelAddMember","ReviewAttendanceSavedEditComponent_div_27_h6_2_Template","ReviewAttendanceSavedEditComponent_div_27_mat_form_field_3_Template","ReviewAttendanceSavedEditComponent_div_27_button_4_Template","ReviewAttendanceSavedEditComponent_div_27_button_5_Template","ReviewAttendanceSavedEditComponent_div_27_div_7_Template","ReviewAttendanceSavedEditComponent_div_27_div_8_Template","getRoster","ReviewAttendanceSavedEditComponent","reviewAttendanceCategoriesSubs","loadReviewAttendanceCategories","reviewAttendanceSaveListNew","reviewAttendanceSaveListItem","reviewAttendanceSaveID","updateReviewAttendanceSaved","memberDeleted","reviewAttendanceCategories$","reviewAttendanceCategories","reviewAttendanceCategoriesFiltered","newCategory","changedRole","roster","rosters","ReviewAttendanceSavedEditComponent_Template","ReviewAttendanceSavedEditComponent_Template_input_keyup_10_listener","ReviewAttendanceSavedEditComponent_Template_mat_autocomplete_optionSelected_11_listener","ReviewAttendanceSavedEditComponent_mat_option_14_Template","ReviewAttendanceSavedEditComponent_button_22_Template","ReviewAttendanceSavedEditComponent_div_27_Template","ReviewAttendanceSavedEditComponent_Template_button_click_30_listener","ReviewAttendanceSavedEditComponent_Template_button_click_32_listener","ReviewAttendanceRosterDelete","ReviewsBoardsReviewsMembersComponent_div_0_mat_cell_15_Template_mat_checkbox_ngModelChange_1_listener","ReviewsBoardsReviewsMembersComponent_div_0_mat_cell_15_Template_mat_checkbox_change_1_listener","setAttendance","canRegister","ReviewsBoardsReviewsMembersComponent_div_0_ng_container_16_mat_cell_2_button_1_Template_button_click_0_listener","editReviewMember","ReviewsBoardsReviewsMembersComponent_div_0_ng_container_16_mat_cell_2_button_1_Template","ReviewsBoardsReviewsMembersComponent_div_0_ng_container_16_mat_cell_2_Template_button_click_2_listener","deleteReviewMember","ReviewsBoardsReviewsMembersComponent_div_0_ng_container_16_mat_header_cell_1_Template","ReviewsBoardsReviewsMembersComponent_div_0_ng_container_16_mat_cell_2_Template","ReviewsBoardsReviewsMembersComponent_div_0_Template_mat_table_matSortChange_6_listener","ReviewsBoardsReviewsMembersComponent_div_0_mat_header_cell_8_Template","ReviewsBoardsReviewsMembersComponent_div_0_mat_cell_9_Template","ReviewsBoardsReviewsMembersComponent_div_0_mat_header_cell_11_Template","ReviewsBoardsReviewsMembersComponent_div_0_mat_cell_12_Template","ReviewsBoardsReviewsMembersComponent_div_0_mat_header_cell_14_Template","ReviewsBoardsReviewsMembersComponent_div_0_mat_cell_15_Template","ReviewsBoardsReviewsMembersComponent_div_0_ng_container_16_Template","ReviewsBoardsReviewsMembersComponent_div_0_mat_header_row_17_Template","ReviewsBoardsReviewsMembersComponent_div_0_mat_row_18_Template","dataSourceMembersMap","displayedColumnsMembers","userSubscription","getReviews","getSavedLists","filteredData","getAttendance","reviewCategoriesToShow","setDefaultSort","compareSavedList","reviewAttendanceCategoryDialog","cats","addFromSavedDialog","similarReviewAttendanceSaved","loadRoster","deleteRosters","deleteReviewAttendanceRoster","countAdd","countDel","isAttended","reviewAttendanceRosterUpdated","dataSourceMembers","saveRoster","getReviewAttendanceSaveList","createReviewAttendanceSaved","dialogCfg","dialogYesNo","yes","reviewAttendanceSaveList","reviewAttendanceMemberToSave","similarRoster","deleteReviewAttendanceSaved","ReviewsBoardsReviewsMembersComponent_Template","ReviewsBoardsReviewsMembersComponent_div_0_Template","ReviewBoardsUpdate","ReviewsUpdate","ReviewsBoardsReviewsDetailsTemplateComponent_div_4_Template_span_click_1_listener","getStatusClass","checklistTemplate_r10","ReviewsBoardsReviewsDetailsTemplateComponent_div_5_mat_option_9_Template","ReviewsBoardsReviewsDetailsTemplateComponent_button_7_Template_button_click_0_listener","ReviewsBoardsReviewsDetailsTemplateComponent_span_8_Template_button_click_1_listener","ReviewsBoardsReviewsDetailsTemplateComponent_span_8_Template_button_click_4_listener","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_div_4_Template_span_click_1_listener","checklist_r25","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_div_5_mat_option_9_Template","checklistCtrl","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_span_7_Template_button_click_1_listener","editChecklist","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_span_7_Template_button_click_4_listener","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_span_8_Template_button_click_1_listener","saveChecklist","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_span_8_Template_button_click_4_listener","cancelChecklist","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_div_4_Template","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_div_5_Template","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_span_7_Template","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_span_8_Template","isTemplateEditing","templateStatuses","css","ReviewsBoardsReviewsDetailsTemplateComponent_Template","ReviewsBoardsReviewsDetailsTemplateComponent_div_4_Template","ReviewsBoardsReviewsDetailsTemplateComponent_div_5_Template","ReviewsBoardsReviewsDetailsTemplateComponent_button_7_Template","ReviewsBoardsReviewsDetailsTemplateComponent_span_8_Template","ReviewsBoardsReviewsDetailsTemplateComponent_div_9_Template","review_r3","ReviewsBoardsReviewsComponent_div_1_div_5_div_6_span_1_Template","ReviewsBoardsReviewsComponent_div_1_div_5_Template_div_click_0_listener","getReviewDetails","ReviewsBoardsReviewsComponent_div_1_div_5_div_5_Template","ReviewsBoardsReviewsComponent_div_1_div_5_div_6_Template","ReviewsBoardsReviewsComponent_div_1_div_5_Template","reviewType_r1","ReviewsBoardsReviewsComponent","getReviewById","ReviewsBoardsReviewsComponent_Template","ReviewsBoardsReviewsComponent_div_1_Template","ReviewsBoardsComponent_div_1_div_1_button_9_Template_button_click_0_listener","reviewBoard_r3","ReviewsBoardsComponent_div_1_div_1_button_10_Template_button_click_0_listener","ReviewsBoardsComponent_div_1_div_1_div_11_button_1_Template_button_click_0_listener","pendingRequests","pendingCustom","ReviewsBoardsComponent_div_1_div_1_div_11_button_2_Template_button_click_0_listener","ReviewsBoardsComponent_div_1_div_1_div_11_button_1_Template","ReviewsBoardsComponent_div_1_div_1_div_11_button_2_Template","ReviewsBoardsComponent_div_1_div_1_div_11_span_4_Template","ReviewsBoardsComponent_div_1_div_1_div_11_span_5_Template","ReviewsBoardsComponent_div_1_div_1_div_11_span_6_Template","showLabel","ReviewsBoardsComponent_div_1_div_1_div_12_Template_mat_slide_toggle_change_1_listener","sliderChanged","branchline_r42","ReviewsBoardsComponent_div_1_div_1_div_13_div_4_mat_icon_10_Template_mat_icon_click_0_listener","clearBranch","ReviewsBoardsComponent_div_1_div_1_div_13_div_4_Template_mat_autocomplete_optionSelected_5_listener","selectedBranch","ReviewsBoardsComponent_div_1_div_1_div_13_div_4_mat_option_8_Template","ReviewsBoardsComponent_div_1_div_1_div_13_div_4_mat_icon_9_Template","ReviewsBoardsComponent_div_1_div_1_div_13_div_4_mat_icon_10_Template","branchCtrl","filteredBranchlines","ReviewsBoardsComponent_div_1_div_1_div_13_div_4_Template","ReviewsBoardsComponent_div_1_div_1_Template_div_longPress_1_listener","ReviewsBoardsComponent_div_1_div_1_button_9_Template","ReviewsBoardsComponent_div_1_div_1_button_10_Template","ReviewsBoardsComponent_div_1_div_1_div_11_Template","ReviewsBoardsComponent_div_1_div_1_div_12_Template","ReviewsBoardsComponent_div_1_div_1_div_13_Template","ReviewsBoardsComponent_div_1_div_1_Template_reviews_boards_cycles_selectedReview_15_listener","CreateCustomResources","CreateReview","shutterExists","ReviewsBoardsComponent_div_1_div_1_Template","ReviewsBoardsComponent_reviews_boards_reviews_details_2_Template_reviews_boards_reviews_details_reviewUpdated_0_listener","ELEMENT_DATA","ReviewsBoardsComponent","allBranchlines","draftRequestsCount","columnDefs","Init","containerHeight","elementRect","elementTopRelativeToContainer","scrollAmount","setLoadingBar","draftRequests","hasReviews","deleteReviewBoard","created","locDiv","clearShutter","ReviewsBoardsComponent_Query","ReviewsBoardsComponent_div_1_Template","ReviewsBoardsComponent_reviews_boards_reviews_details_2_Template","ReviewIndexTableComponent_div_0_mat_cell_5_mat_icon_3_Template","isValidDate","proposedTimeline","ReviewIndexTableComponent_div_0_mat_row_13_Template_mat_row_click_0_listener","row_r13","ReviewIndexTableComponent_div_0_mat_header_cell_4_Template","ReviewIndexTableComponent_div_0_mat_cell_5_Template","ReviewIndexTableComponent_div_0_mat_header_cell_7_Template","ReviewIndexTableComponent_div_0_mat_cell_8_Template","ReviewIndexTableComponent_div_0_mat_header_cell_10_Template","ReviewIndexTableComponent_div_0_mat_cell_11_Template","ReviewIndexTableComponent_div_0_mat_header_row_12_Template","ReviewIndexTableComponent_div_0_mat_row_13_Template","ReviewIndexTableComponent","reviewCycleSelected","showNotArchived","ReviewIndexTableComponent_Template","ReviewIndexTableComponent_div_0_Template","ReviewsIndexComponent_div_0_Template_reviews_boards_cycles_selectedReview_1_listener","ReviewsIndexComponent","ReviewsIndexComponent_Template","ReviewsIndexComponent_div_0_Template","ReviewsIndexComponent_span_1_Template","resource_r10","ReviewRequestComponent_mat_form_field_35_Template_input_ngModelChange_3_listener","ReviewRequestComponent_div_37_Template_button_click_1_listener","ReviewRequestComponent_div_37_Template_button_click_3_listener","ReviewRequestComponent_div_38_button_1_Template_button_click_0_listener","acceptAndReject","ReviewRequestComponent_div_38_button_2_Template_button_click_0_listener","ReviewRequestComponent_div_38_button_3_Template_button_click_0_listener","ReviewRequestComponent_div_38_button_4_Template_button_click_0_listener","sendToPending","ReviewRequestComponent_div_38_button_5_Template_button_click_0_listener","reviewCycleStatus","ReviewRequestComponent_div_38_button_6_Template_button_click_0_listener","reActivate","ReviewRequestComponent_div_38_button_1_Template","ReviewRequestComponent_div_38_button_2_Template","ReviewRequestComponent_div_38_button_3_Template","ReviewRequestComponent_div_38_button_4_Template","ReviewRequestComponent_div_38_button_5_Template","ReviewRequestComponent_div_38_button_6_Template","reviewRequestForm","dateCtrl","disableForm","todaysDate","customLocationText","estimatedInitOn","dateWithTime","dateWithoutTime","startOf","markAsTouched","invalidResource","reviewCycleCreated","sendReviewCycleEmail","createReviewCycle","isAccepted","reviewCycleUpdated","archiveCycle","changedDate","ReviewRequestComponent_Template","ReviewRequestComponent_Template_button_click_2_listener","ReviewRequestComponent_Template_comments_box_textChanged_13_listener","ReviewRequestComponent_Template_input_keyup_18_listener","ReviewRequestComponent_Template_mat_autocomplete_optionSelected_20_listener","ReviewRequestComponent_mat_option_23_Template","ReviewRequestComponent_mat_error_24_Template","ReviewRequestComponent_Template_input_dateChange_29_listener","ReviewRequestComponent_mat_error_33_Template","ReviewRequestComponent_mat_form_field_35_Template","ReviewRequestComponent_div_37_Template","ReviewRequestComponent_div_38_Template","EvaluateReviewRequest","ɵɵclassMap","review_r21","ReviewsRequestsTableComponent_mat_cell_19_div_1_Template","ReviewsRequestsTableComponent_mat_row_21_Template_mat_row_click_0_listener","reviewRequestDialog","ReviewsRequestsTableComponent","reviewCycleSubscription","isFirstTime","filterReviewCycles","ReviewsRequestsTableComponent_Template","ReviewsRequestsTableComponent_Template_mat_table_matSortChange_1_listener","ReviewsRequestsTableComponent_mat_header_cell_3_Template","ReviewsRequestsTableComponent_mat_cell_4_Template","ReviewsRequestsTableComponent_mat_header_cell_6_Template","ReviewsRequestsTableComponent_mat_cell_7_Template","ReviewsRequestsTableComponent_mat_header_cell_9_Template","ReviewsRequestsTableComponent_mat_cell_10_Template","ReviewsRequestsTableComponent_mat_header_cell_12_Template","ReviewsRequestsTableComponent_mat_cell_13_Template","ReviewsRequestsTableComponent_mat_header_cell_15_Template","ReviewsRequestsTableComponent_mat_cell_16_Template","ReviewsRequestsTableComponent_mat_header_cell_18_Template","ReviewsRequestsTableComponent_mat_cell_19_Template","ReviewsRequestsTableComponent_mat_header_row_20_Template","ReviewsRequestsTableComponent_mat_row_21_Template","ReviewPermissionsRefresh","ReviewsRequestsComponent_mat_selection_list_25_mat_list_option_2_Template_mat_list_option_click_0_listener","status_r7","ReviewsRequestsComponent_mat_selection_list_25_mat_list_option_2_Template","ReviewsRequestsComponent","createRequestPrivilege","CreateReviewRequest","ReviewsRequestsComponent_Query","ReviewsRequestsComponent_Template_button_click_3_listener","ReviewsRequestsComponent_Template_mat_list_item_click_15_listener","ReviewsRequestsComponent_span_16_Template","ReviewsRequestsComponent_span_22_Template","ReviewsRequestsComponent_mat_selection_list_25_Template","ReviewsRequestsComponent_overlay_loading_29_Template","ReviewRequestStatus","boardType_r10","getFormattedResourceTypes","resourceType_r14","ReviewsSettingsBoardTypesComponent_div_27_Template_input_keyup_4_listener","ReviewsSettingsBoardTypesComponent_div_27_mat_option_8_Template","ReviewsSettingsBoardTypesComponent_button_32_Template_button_click_0_listener","ReviewsSettingsBoardTypesComponent_button_33_Template_button_click_0_listener","ReviewsSettingsBoardTypesComponent_button_34_Template_button_click_0_listener","ReviewsSettingsBoardTypesComponent_button_35_Template_button_click_0_listener","ReviewsSettingsBoardTypesComponent","boardTypeCtrl","boardTypeNameCtrl","boardTypeDescriptionCtrl","boardTypeCodeCtrl","crToggleCtrl","reviewBoardTypeSelected","reviewBoardTypesFiltered","crToggle","allowCustomResources","showDetails","changedBoardType","selectedBoardType","boardTypeNameCtrlElement","createReviewBoardType","updateReviewBoardType","deleteReviewBoardType","crToggleChanged","ReviewsSettingsBoardTypesComponent_Query","ReviewsSettingsBoardTypesComponent_Template_input_keyup_5_listener","ReviewsSettingsBoardTypesComponent_Template_mat_autocomplete_optionSelected_6_listener","ReviewsSettingsBoardTypesComponent_mat_option_9_Template","ReviewsSettingsBoardTypesComponent_div_26_Template","ReviewsSettingsBoardTypesComponent_div_27_Template","ReviewsSettingsBoardTypesComponent_Template_mat_slide_toggle_ngModelChange_29_listener","ReviewsSettingsBoardTypesComponent_Template_mat_slide_toggle_change_29_listener","ReviewsSettingsBoardTypesComponent_button_32_Template","ReviewsSettingsBoardTypesComponent_button_33_Template","ReviewsSettingsBoardTypesComponent_button_34_Template","ReviewsSettingsBoardTypesComponent_button_35_Template","ReviewsSettingsMenuComponent_button_2_Template_button_click_0_listener","ReviewsSettingsMenuComponent_button_3_Template_button_click_0_listener","del","ReviewsSettingsMenuComponent","menuItemSubs","showButton","getMenuMessage","menuMessage","ReviewsSettingsMenuComponent_Template","ReviewsSettingsMenuComponent_button_2_Template","ReviewsSettingsMenuComponent_button_3_Template","ReviewsSettingsPermissionsRolesComponent","reviewPermissionsSubs","loadReviewPermissions","reviewPermissions$","ReviewPermissions","reviewPermission","rolePermissions","ReviewsSettingsPermissionsRolesComponent_Template","ReviewsSettingsPermissionsRolesComponent_Template_role_selection_selected_2_listener","ReviewsSettingsPermissionsRolesComponent_Template_role_selection_deleted_2_listener","ReviewsSettingsPermissionsStatusComponent_mat_chip_row_7_Template_mat_chip_row_removed_0_listener","status_r6","removeStatus","status_r9","ReviewsSettingsPermissionsStatusComponent","statusPermissions","reviewStatusPermissions","filterStatuses","reviewStatusesFiltered","statusPermission","reviewPermissionID","createReviewStatusPermission","deleteReviewStatusPermission","ReviewsSettingsPermissionsStatusComponent_Template","ReviewsSettingsPermissionsStatusComponent_mat_chip_row_7_Template","ReviewsSettingsPermissionsStatusComponent_Template_input_ngModelChange_8_listener","statusTemp","ReviewsSettingsPermissionsStatusComponent_Template_input_keyup_8_listener","ReviewsSettingsPermissionsStatusComponent_Template_input_matChipInputTokenEnd_8_listener","ReviewsSettingsPermissionsStatusComponent_Template_mat_autocomplete_optionSelected_11_listener","ReviewsSettingsPermissionsStatusComponent_mat_option_13_Template","reviewPermission_r1","ReviewsSettingsPermissionsComponent_fieldset_0_reviews_settings_permissions_status_7_Template","hasStatusPermissions","ReviewsSettingsPermissionsComponent","reviewPermissions","ReviewsSettingsPermissionsComponent_Template","ReviewsSettingsPermissionsComponent_fieldset_0_Template","templateType_r5","reviewType_r9","ReviewsSettingsReviewTypesDetailsComponent_div_34_Template_input_keyup_4_listener","changedReviewType","ReviewsSettingsReviewTypesDetailsComponent_div_34_mat_option_8_Template","ReviewsSettingsReviewTypesDetailsComponent","reviewTypeNameCtrl","reviewTypeDescriptionCtrl","reviewTypeCodeCtrl","reviewTypeLifeSpanCtrl","hasNextReview","lifeSpan","templateTypesFiltered","changedTemplateType","changeStatus","hasNextReviewChanged","ReviewsSettingsReviewTypesDetailsComponent_Template","ReviewsSettingsReviewTypesDetailsComponent_Template_input_keyup_26_listener","ReviewsSettingsReviewTypesDetailsComponent_mat_option_30_Template","ReviewsSettingsReviewTypesDetailsComponent_Template_mat_slide_toggle_ngModelChange_32_listener","ReviewsSettingsReviewTypesDetailsComponent_Template_mat_slide_toggle_change_32_listener","ReviewsSettingsReviewTypesDetailsComponent_div_34_Template","ReviewsSettingsReviewTypesDetailsComponent_Template_mat_slide_toggle_ngModelChange_43_listener","ReviewsSettingsReviewTypesDetailsComponent_Template_mat_slide_toggle_change_43_listener","ReviewsSettingsReviewTypesDetailsComponent_Template_button_click_47_listener","ReviewsSettingsReviewTypesDetailsComponent_Template_button_click_49_listener","ReviewBoardTypesRefresh","ReviewsRefresh","ReviewTypesRefresh","ReviewsSettingsReviewTypesComponent_mat_radio_button_3_Template_mat_radio_button_change_0_listener","option_r2","ReviewsSettingsReviewTypesComponent_div_8_Template_button_click_8_listener","reviewType_r5","ReviewsSettingsReviewTypesComponent_div_8_Template_button_click_11_listener","ReviewsSettingsReviewTypesComponent","optionSelectedId","changeInactive","updateReviewType","deleteReviewType","createReviewType","updateReviewTypeOrder","ReviewsSettingsReviewTypesComponent_Template","ReviewsSettingsReviewTypesComponent_Template_mat_radio_group_ngModelChange_2_listener","ReviewsSettingsReviewTypesComponent_mat_radio_button_3_Template","ReviewsSettingsReviewTypesComponent_Template_mat_slide_toggle_ngModelChange_5_listener","ReviewsSettingsReviewTypesComponent_Template_mat_slide_toggle_change_5_listener","ReviewsSettingsReviewTypesComponent_Template_div_cdkDropListDropped_7_listener","ReviewsSettingsReviewTypesComponent_div_8_Template","ReviewsSettingsReviewTypesComponent_Template_button_click_9_listener","status_r5","ReviewsSettingsStatusesActionsDetailsComponent","nextStatusCtrl","externalActions","changedNextStatus","selectedNextStatus","getActionRoles","rolesChanged","reviewActionRole","reviewStatusActionID","ReviewsSettingsStatusesActionsDetailsComponent_Template","ReviewsSettingsStatusesActionsDetailsComponent_Template_color_picker_selected_10_listener","ReviewsSettingsStatusesActionsDetailsComponent_Template_input_keyup_14_listener","ReviewsSettingsStatusesActionsDetailsComponent_Template_mat_autocomplete_optionSelected_15_listener","ReviewsSettingsStatusesActionsDetailsComponent_mat_option_18_Template","ReviewsSettingsStatusesActionsDetailsComponent_Template_role_selection_selected_26_listener","ReviewsSettingsStatusesActionsDetailsComponent_Template_role_selection_deleted_26_listener","ReviewsSettingsStatusesActionsDetailsComponent_Template_button_click_29_listener","ReviewsSettingsStatusesActionsDetailsComponent_Template_button_click_31_listener","ReviewStatusRefresh","ReviewBoardsRefresh","ReviewsSettingsStatusesActionsComponent_div_1_Template_button_click_6_listener","reviewStatusAction_r2","ReviewsSettingsStatusesActionsComponent_div_1_Template_button_click_9_listener","ReviewsSettingsStatusesActionsComponent_button_3_Template_button_click_0_listener","ReviewsSettingsStatusesActionsComponent","deleteReviewStatusAction","ReviewsSettingsStatusesActionsComponent_Template","ReviewsSettingsStatusesActionsComponent_div_1_Template","ReviewsSettingsStatusesActionsComponent_button_3_Template","statusType_r3","ReviewsSettingsStatusesDetailsComponent","reviewStatusNameCtrl","reviewStatusDescriptionCtrl","reviewStatusCodeCtrl","reviewStatusTypeCtrl","statusTypes","getENUM","actionsChanged","ReviewsSettingsStatusesDetailsComponent_Template","ReviewsSettingsStatusesDetailsComponent_Template_color_picker_selected_26_listener","ReviewsSettingsStatusesDetailsComponent_mat_option_32_Template","ReviewsSettingsStatusesDetailsComponent_Template_reviews_settings_statuses_actions_changed_38_listener","ReviewsSettingsStatusesDetailsComponent_Template_button_click_41_listener","ReviewsSettingsStatusesDetailsComponent_Template_button_click_43_listener","ReviewStatusDelete","ReviewStatusUpdate","ReviewStatusCreate","ReviewsSettingsStatusesComponent_div_1_span_9_Template","ReviewsSettingsStatusesComponent_div_1_Template_button_click_11_listener","reviewStatus_r1","ReviewsSettingsStatusesComponent_div_1_Template_button_click_14_listener","ReviewsSettingsStatusesComponent","updateReviewStatus","deleteReviewStatus","createReviewStatus","updateReviewStatusOrder","refreshReviews","ReviewsSettingsStatusesComponent_Template","ReviewsSettingsStatusesComponent_Template_div_cdkDropListDropped_0_listener","ReviewsSettingsStatusesComponent_div_1_Template","ReviewsSettingsStatusesComponent_Template_button_click_2_listener","ReviewsSettingsComponent","ReviewsSettingsComponent_Template","ReviewsSettingsComponent_Template_button_click_4_listener","ReviewsSettingsComponent_Template_reviews_settings_board_types_reviewBoardTypeSelected_11_listener","ReviewsSettingsComponent_mat_tab_group_14_Template","resource_r20","ReviewsComponent_div_12_mat_icon_10_Template_mat_icon_click_0_listener","ReviewsComponent_div_12_Template_input_keyup_4_listener","ReviewsComponent_div_12_Template_mat_autocomplete_optionSelected_5_listener","ReviewsComponent_div_12_mat_option_8_Template","ReviewsComponent_div_12_mat_icon_9_Template","ReviewsComponent_div_12_mat_icon_10_Template","ReviewsComponent_div_12_mat_hint_11_Template","ReviewsComponent_div_13_span_1_Template","ReviewsComponent_div_13_span_2_Template","ReviewsComponent_div_14_Template_mat_slide_toggle_ngModelChange_1_listener","ReviewsComponent_div_14_Template_mat_slide_toggle_change_1_listener","showOnlyActiveChanged","ReviewsComponent_mat_list_item_19_Template_mat_list_item_click_0_listener","gotoIndex","ReviewsComponent_mat_list_item_19_span_1_Template","ReviewsComponent_mat_list_item_21_Template_mat_list_item_click_0_listener","gotoBoard","ReviewsComponent_mat_list_item_21_span_1_Template","ReviewsComponent_mat_slide_toggle_22_Template_mat_slide_toggle_ngModelChange_0_listener","ReviewsComponent_mat_slide_toggle_22_Template_mat_slide_toggle_change_0_listener","showNotArchivedChanged","ReviewsComponent_mat_list_item_23_Template_mat_list_item_click_0_listener","openAddDialog","ReviewsComponent_mat_list_item_23_span_1_Template","ReviewsComponent_span_25_Template_review_index_table_reviewCycleSelected_1_listener","reviewBoardTypeId","ReviewsComponent_mat_list_item_28_Template_mat_list_item_click_0_listener","ReviewsComponent_mat_list_item_28_span_1_Template","ReviewsComponent_reviews_boards_33_Template_reviews_boards_selectedReview_0_listener","ReviewsComponent_reviews_boards_33_Template_reviews_boards_setLoading_0_listener","ReviewsComponent","reviewBoardTypesStore","reviewTypesStore","reviewBoardsStore","reviewStatusStore","reviewAttendanceCategoriesStore","reviewActionItemTypesStore","reviewActionItemsStore","reviewsStore","reviewPermissionsStore","reviewAttendanceSaveStore","reviewCyclesStore","routeSubs","allowSettings","ChangeSettings","showAddButton","sidenavContent","addCustomResourcePrivilege","createReviewBoard","ReviewBoardTypesStoreAndListenersService","ReviewTypesStoreAndListenersService","ReviewBoardsStoreAndListenersService","ReviewStatusStoreAndListenersService","ReviewAttendanceCategoriesStoreAndListenersService","ReviewActionItemTypesStoreAndListenersService","ReviewActionItemsStoreAndListenersService","ReviewsStoreAndListenersService","ReviewPermissionsStoreAndListenersService","ReviewAttendanceSaveStoreAndListenersService","ReviewCyclesStoreAndListenersService","ReviewsComponent_Query","ReviewsComponent_Template_button_click_3_listener","ReviewsComponent_div_11_Template","ReviewsComponent_div_12_Template","ReviewsComponent_div_13_Template","ReviewsComponent_div_14_Template","ReviewsComponent_mat_list_item_19_Template","ReviewsComponent_mat_list_item_21_Template","ReviewsComponent_mat_slide_toggle_22_Template","ReviewsComponent_mat_list_item_23_Template","ReviewsComponent_span_25_Template","ReviewsComponent_mat_list_item_28_Template","ReviewsComponent_Template_reviews_index_reviewSelected_32_listener","ReviewsComponent_reviews_boards_33_Template","ReviewsComponent_overlay_loading_34_Template","NGX_MAT_DATE_FORMATS","CUSTOM_DATE_FORMATS","dateInput","display","monthYearLabel","dateA11yLabel","monthYearA11yLabel","MatMiniFabButton","ApiBoardTypes","ApiBoards","ApiReviews","ApiReviewTypes","ApiReviewStatuses","ApiReviewStatusActions","ApiReviewCycles","ApiReviewAttendanceCategories","ApiReviewAttendanceRosters","ApiReviewActionItemTypes","ApiReviewActionItems","ApiReviewSatisfactionChecks","ApiReviewPermissions","ApiReviewStatusPermissions","ApiReviewExtensions","ApiReviewDocumentCategory","ApiReviewDocuments","ApiReviewAttendanceSave","getReviewBoardTypes","getReviewBoardTypeById","getReviewTypes","getReviewTypeById","getReviewBoards","getReviewBoardById","updateReviewBoard","getReviewStatuses","getReviewStatusById","reviewstatus","getReviewStatusActions","getReviewStatusActionById","createReviewStatusAction","updateReviewStatusAction","getReviewCycles","getReviewCycleById","isTest","deleteReviewCycle","getReviewAttendanceRosters","getReviewAttendanceRosterById","saveReviewAttendanceRoster","getReviewAttendanceSaved","getReviewAttendanceSavedById","getReviewAttendanceCategories","getReviewAttendanceCategoryById","getReviewActionItemTypes","getReviewActionItemTypeById","getReviewActionItems","getReviewActionItemById","getReviewSatisfactionChecks","getReviewSatisfactionCheckById","deleteReviewSatisfactionCheck","getReviewPermissions","getReviewPermissionById","createReviewPermission","updateReviewPermission","deleteReviewPermission","getReviewStatusPermissions","getReviewStatusPermissionById","updateReviewStatusPermission","getReviewExtensions","getReviewExtensionById","createReviewExtension","reviewExtension","updateReviewExtension","deleteReviewExtension","reviewCategoryId","getReviewDocuments","idReview","ReviewActionItemTypesRefresh","ReviewActionItemTypesCreate","ReviewActionItemTypesUpdate","ReviewActionItemTypesDelete","ReviewActionItemTypesStateModel","ReviewActionItemTypesState","ReviewActionItemTypesActions","REVIEW_ACTION_ITEM_TYPES","ReviewActionItemsCreate","ReviewActionItemsUpdate","ReviewActionItemsDelete","ReviewActionItemsStateModel","ReviewActionItemsState","ReviewActionItemsActions","REVIEW_ACTION_ITEMS","ReviewAttendanceCategoriesCreate","ReviewAttendanceCategoriesUpdate","ReviewAttendanceCategoriesDelete","ReviewAttendanceCategoriesStateModel","ReviewAttendanceCategoriesState","REVIEW_ATTENDANCE_CATEGORY","ReviewAttendanceRosterRefresh","ReviewAttendanceRosterCreate","ReviewAttendanceRosterUpdate","ReviewAttendanceRosterStateModel","ReviewAttendanceRosterState","ReviewAttendanceSaveRefresh","ReviewAttendanceSaveCreate","ReviewAttendanceSaveUpdate","ReviewAttendanceSaveDelete","ReviewAttendanceSaveStateModel","ReviewAttendanceSaveState","ReviewAttendanceSaveActions","REVIEW_ATTENDANCE_SAVE","ReviewBoardTypesCreate","ReviewBoardTypesUpdate","ReviewBoardTypesDelete","ReviewBoardTypesStateModel","ReviewBoardTypesState","ReviewBoardTypesActions","REVIEW_BOARD_TYPES","ReviewBoardsCreate","ReviewBoardsDelete","ReviewBoardsRefreshByID","ReviewBoardsStateModel","ReviewBoardsState","ReviewBoardsActions","REVIEW_BOARDS","ReviewsCyclesRefreshById","ReviewCyclesCreate","ReviewCyclesUpdate","ReviewCyclesDelete","ReviewCyclesStateModel","ReviewCyclesState","ReviewCyclesActions","REVIEW_CYCLES","ReviewPermissionsCreate","ReviewPermissionsUpdate","ReviewPermissionsDelete","ReviewPermissionsStateModel","ReviewPermissionsState","ReviewPermissionsActions","REVIEW_PERMISSIONS","ReviewSatisfactionChecksRefresh","ReviewSatisfactionChecksDelete","ReviewSatisfactionChecksStateModel","ReviewSatisfactionChecksState","ReviewSatisfactionChecksActions","ReviewSatisfactionChecksStoreAndListenersService","REVIEW_SATISFACTION_CHECKS","ReviewStatusStateModel","ReviewStatusState","ReviewStatusActions","REVIEW_STATUS","ReviewTypesCreate","ReviewTypesUpdate","ReviewTypesDelete","ReviewTypesStateModel","ReviewTypesState","ReviewTypesActions","REVIEW_TYPES","ReviewsCreate","ReviewsDelete","ReviewsStateModel","ReviewsState","ReviewsActions","REVIEWS","rssFunctionalTest_r2","RssFunctionalTestListComponent","rssFunctionalTests","rsswaAmendment","ft","hasChecklists","checkDifferences","RssFunctionalTestListComponent_Template","RssFunctionalTestListComponent_span_4_Template","RssFunctionalTestListComponent_checklist_exec_standalone_7_Template","ResourceAutocompleteComponent","RSSFunctionalTestPopupComponent_div_6_Template_mat_radio_group_ngModelChange_3_listener","createFrom","templateType_r15","RSSFunctionalTestPopupComponent_div_12_div_3_resource_autocomplete_15_Template_resource_autocomplete_resourceChange_0_listener","RSSFunctionalTestPopupComponent_div_12_div_3_resource_autocomplete_15_Template_resource_autocomplete_selected_0_listener","RSSFunctionalTestPopupComponent_div_12_div_3_button_17_Template_button_click_0_listener","createTemplate","checkEnableCreate","RSSFunctionalTestPopupComponent_div_12_div_3_Template_input_ngModelChange_6_listener","RSSFunctionalTestPopupComponent_div_12_div_3_mat_error_7_Template","RSSFunctionalTestPopupComponent_div_12_div_3_Template_mat_select_ngModelChange_12_listener","RSSFunctionalTestPopupComponent_div_12_div_3_mat_option_13_Template","RSSFunctionalTestPopupComponent_div_12_div_3_resource_autocomplete_15_Template","RSSFunctionalTestPopupComponent_div_12_div_3_button_17_Template","e_r37","e_r38","RSSFunctionalTestPopupComponent_div_12_div_4_td_13_Template_button_click_1_listener","e_r39","RSSFunctionalTestPopupComponent_div_12_div_4_td_13_Template_button_click_4_listener","openViewMode","RSSFunctionalTestPopupComponent_div_12_div_4_th_3_Template","RSSFunctionalTestPopupComponent_div_12_div_4_td_4_Template","RSSFunctionalTestPopupComponent_div_12_div_4_th_6_Template","RSSFunctionalTestPopupComponent_div_12_div_4_td_7_Template","RSSFunctionalTestPopupComponent_div_12_div_4_th_9_Template","RSSFunctionalTestPopupComponent_div_12_div_4_td_10_Template","RSSFunctionalTestPopupComponent_div_12_div_4_th_12_Template","RSSFunctionalTestPopupComponent_div_12_div_4_td_13_Template","RSSFunctionalTestPopupComponent_div_12_div_4_tr_14_Template","RSSFunctionalTestPopupComponent_div_12_div_4_tr_15_Template","rssFunctionalTestTemplatesDS","checklistTemplateColumns","e_r54","e_r55","e_r56","RSSFunctionalTestPopupComponent_div_12_div_5_td_13_Template_button_click_1_listener","e_r57","RSSFunctionalTestPopupComponent_div_12_div_5_td_13_Template_button_click_4_listener","RSSFunctionalTestPopupComponent_div_12_div_5_th_3_Template","RSSFunctionalTestPopupComponent_div_12_div_5_td_4_Template","RSSFunctionalTestPopupComponent_div_12_div_5_th_6_Template","RSSFunctionalTestPopupComponent_div_12_div_5_td_7_Template","RSSFunctionalTestPopupComponent_div_12_div_5_th_9_Template","RSSFunctionalTestPopupComponent_div_12_div_5_td_10_Template","RSSFunctionalTestPopupComponent_div_12_div_5_th_12_Template","RSSFunctionalTestPopupComponent_div_12_div_5_td_13_Template","RSSFunctionalTestPopupComponent_div_12_div_5_tr_14_Template","RSSFunctionalTestPopupComponent_div_12_div_5_tr_15_Template","rssTestTemplatesDS","RSSFunctionalTestPopupComponent_div_12_div_3_Template","RSSFunctionalTestPopupComponent_div_12_div_4_Template","RSSFunctionalTestPopupComponent_div_12_div_5_Template","RSSFunctionalTestPopupComponent_div_12_span_6_Template","RSSFunctionalTestPopupComponent_div_13_checklist_builder_reject_1_Template","RSSFunctionalTestPopupComponent_div_14_div_1_Template_button_click_1_listener","RSSFunctionalTestPopupComponent_div_14_div_1_Template_button_click_3_listener","createRSSFunctionalTest","RSSFunctionalTestPopupComponent_div_14_div_1_Template","RSSFunctionalTestPopupComponent_div_14_div_2_Template","ChecklistBuilderPopupParameters","RSSFunctionalTestPopupComponent","rssTestTemplates","rssFunctionalTestTemplates","loadingRSSTestTemplates","loadingRSSFunctionalTestTemplates","loadingShutters","RSSTEST","rssTestRolePermissions","rssFunctionalTestRolePermissions","documentType$","rssTestDocumentType","rssFunctionalTestDocumentType","templateType$","schedule$","scheduleSubscription","duplicateRSSTest","duplicateRSSFunctionalTest","rsswaID","selection","resourceAutocomplete","RSSFunctionalTestPopupComponent_Query","RSSFunctionalTestPopupComponent_div_6_Template","RSSFunctionalTestPopupComponent_Template_button_click_7_listener","RSSFunctionalTestPopupComponent_mat_progress_bar_10_Template","RSSFunctionalTestPopupComponent_div_12_Template","RSSFunctionalTestPopupComponent_div_13_Template","RSSFunctionalTestPopupComponent_div_14_Template","RssFunctionalTestChipsComponent_mat_chip_row_5_mat_icon_4_Template_mat_icon_click_0_listener","rssFunctionalTest_r3","editRSSFunctionalTest","RssFunctionalTestChipsComponent_mat_chip_row_5_Template_mat_chip_row_removed_0_listener","removeRSSFunctionalTest","RssFunctionalTestChipsComponent_mat_chip_row_5_Template_span_click_1_listener","RssFunctionalTestChipsComponent_mat_chip_row_5_mat_icon_4_Template","RssFunctionalTestChipsComponent_mat_chip_row_5_mat_icon_5_Template","deletePrivilege","RssFunctionalTestChipsComponent","RSSFunctionalTestEdit","RSSFunctionalTestDelete","RssFunctionalTestChipsComponent_Template","RssFunctionalTestChipsComponent_mat_chip_row_5_Template","RssFunctionalTestChipsComponent_mat_error_7_Template","RsswaAcceleratorLocationChipsComponent","onError","onEdit","rsswaId","rsswaAcceleratorLocation","RsswaAcceleratorLocationChipsComponent_Query","RsswaAcceleratorLocationChipsComponent_Template_accelerator_location_chips_removed_0_listener","RsswaAcceleratorLocationChipsComponent_Template_accelerator_location_chips_selected_0_listener","RsswaOtherSystemChipsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","rsswaOtherSystem_r3","RsswaOtherSystemChipsComponent_mat_chip_row_6_mat_icon_2_Template","RsswaOtherSystemChipsComponent","rsswaOtherSystems","rsswaOtherSystem","RsswaOtherSystemChipsComponent_Template","RsswaOtherSystemChipsComponent_mat_chip_row_6_Template","RsswaOtherSystemChipsComponent_Template_input_matChipInputTokenEnd_7_listener","RsswaPerformingWorkUserChipsComponent_mat_chip_row_7_Template_mat_chip_row_removed_0_listener","rsswaPerformingWorkUser_r6","RsswaPerformingWorkUserChipsComponent_mat_chip_row_7_mat_icon_2_Template","user_r10","RsswaPerformingWorkUserChipsComponent","chipInputCtrl","selectedRsswaPerformingWorkUsers","rsswaPerformingWorkUser","RsswaPerformingWorkUserChipsComponent_Query","RsswaPerformingWorkUserChipsComponent_mat_chip_row_7_Template","RsswaPerformingWorkUserChipsComponent_Template_input_keyup_8_listener","RsswaPerformingWorkUserChipsComponent_Template_mat_autocomplete_optionSelected_10_listener","RsswaPerformingWorkUserChipsComponent_mat_option_12_Template","RsswaPerformingWorkUserChipsComponent_mat_error_13_Template","RsswaShutterChipsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","rsswaShutter_r5","RsswaShutterChipsComponent_mat_chip_row_6_mat_icon_2_Template","resource_r9","RsswaShutterChipsComponent","availableResources","setAvailableResources","selectedRsswaShutters","rsswaShutter","shutterInput","onShutterInputKeyup","RsswaShutterChipsComponent_Query","RsswaShutterChipsComponent_mat_chip_row_6_Template","RsswaShutterChipsComponent_Template_input_keyup_7_listener","RsswaShutterChipsComponent_Template_mat_autocomplete_optionSelected_9_listener","RsswaShutterChipsComponent_mat_option_11_Template","signature_r3","RsswaLogComponent_mat_list_item_7_mat_icon_13_Template","RsswaLogComponent_mat_list_item_7_span_14_Template","maprelatedDocument","originalBody","mapWorkPerformers","workPerformers","mapSystemsAffected","mapRSSWAAcceleratorLocations","rsswaAcceleratorLocations","mapRSSWAShutters","rsswaShutters","item_r25","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_73_span_4_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_73_span_5_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_22_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_23_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_40_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_41_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_46_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_47_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_52_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_53_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_58_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_span_59_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_60_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_61_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_62_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_63_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_64_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_65_Template","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_mat_list_item_73_Template","startOn","completeOn","rssplcSet","rssSoftware","etiAccess","tombisplcSet","tombisSoftware","topOffInterlockSetPoint","rsswaRestrictions","RsswaLogComponent_mat_expansion_panel_10_mat_list_6_Template","hasOriginal","update_r31","oldBodyRSSWA","item_r61","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_84_span_4_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_84_span_5_Template","item_r66","RsswaLogComponent_div_11_mat_expansion_panel_1_div_96_a_1_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_div_96_span_2_Template","addedField_r73","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_101_mat_list_item_5_span_4_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_101_mat_list_item_5_Template","added","deletedField_r78","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_102_mat_list_item_5_span_4_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_102_mat_list_item_5_Template","modifiedField_r83","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_103_mat_list_item_5_Template","modified","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_106_div_3_mat_divider_4_Template","signs","i_r87","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_106_div_3_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_33_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_34_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_51_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_52_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_57_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_58_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_63_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_64_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_69_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_span_70_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_71_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_72_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_73_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_74_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_75_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_76_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_84_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_item_85_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_div_96_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_101_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_102_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_expansion_panel_103_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_mat_list_106_Template","RsswaLogComponent_div_11_mat_expansion_panel_1_div_107_Template","amendmentDate","getRSSWALogHeadText","functionalTest","provisionalTestingRequired","rsswaRelatedLinks","getRSSWALogFooterText","RsswaLogComponent_div_11_mat_expansion_panel_1_Template","generalLogs","RsswaLogComponent","wfService","signLogs","amendmentsLogs","amendmentsList","pageSize","pageSizeOptions","loadWorkerVerifications","workerVerifications$","WorkerVerification","workerVerificationsSubs","workerVerifications","getLogsBySn","fillLogs","wv","WorkerVerificationSignature","originalBodyRSSWA","fillUpdates","getAmendmentList","oldBody","fakeAmendmentId","amid","olderAmendmentId","setPageSizeOptions","setPageSizeOptionsInput","mapLocations","RelatedDocuments","relatedDocumentSerialNo","TopOff","RadiationMonitoringSystem","beamLine","RsswaLogComponent_Template","RsswaLogComponent_mat_list_item_7_Template","RsswaLogComponent_mat_expansion_panel_10_Template","RsswaLogComponent_div_11_Template","testingCompleteSigned","RsswaMainPanelComponent_div_2_Template_rsswa_section3_loading_1_listener","RsswaMainPanelComponent_div_2_Template_rsswa_section4_loading_3_listener","RsswaMainPanelComponent_div_2_worker_verification_table_6_Template","RsswaMainPanelComponent_div_2_rss_functional_test_list_7_Template","RsswaMainPanelComponent_div_2_Template_rsswa_section5_loading_8_listener","RsswaMainPanelComponent_div_2_Template_rsswa_section6_loading_10_listener","RsswaMainPanelComponent","rsswaService","wfs","isSa","showEditButton","viewAmendment","startNewClicked","tmpWfTableId","IsCopyTaskVisible","changedEvent","RsswaService","RsswaMainPanelComponent_Template","RsswaMainPanelComponent_Template_rsswa_section1_loading_0_listener","RsswaMainPanelComponent_div_2_Template","RsswaSection1FunctionalTestsComponent_button_9_Template_button_click_0_listener","rssFunctionalTestCreatePrivilege","RsswaSection1FunctionalTestsComponent_div_11_Template_rss_functional_test_chips_error_1_listener","showAlert","RsswaSection1FunctionalTestsComponent_div_11_Template_rss_functional_test_chips_edit_1_listener","RsswaSection1FunctionalTestsComponent_div_11_Template_rss_functional_test_chips_remove_1_listener","chkFuncTestCtrl","functionalTestCtrl","RsswaSection1FunctionalTestsComponent","chkFuncTestCtrlChange","functionalTestCtrlChange","provisionalTestingRequiredCtrlChange","testCreated","enableControls","RSSFunctionalTestCreate","provisionalTestingRequiredCtrl","confirmRSSFunctionalTest","RsswaSection1FunctionalTestsComponent_Template","RsswaSection1FunctionalTestsComponent_Template_mat_checkbox_change_7_listener","RsswaSection1FunctionalTestsComponent_button_9_Template","RsswaSection1FunctionalTestsComponent_span_10_Template","RsswaSection1FunctionalTestsComponent_div_11_Template","RestrictionAvailableAutocompleteComponent","FormRestrictionTableComponent","estInitCtrl","estEndCtrl","user_r15","RsswaSection1Component_mat_chip_row_44_Template_mat_chip_row_removed_0_listener","performer_r16","removePer","RsswaSection1Component_mat_chip_row_44_mat_icon_2_Template","performer_r22","RsswaSection1Component_mat_optgroup_49_mat_option_1_Template","group_r20","performerCtrl","RsswaSection1Component_div_115_button_2_Template_button_click_0_listener","RsswaSection1Component_div_115_button_3_Template_button_click_0_listener","RsswaSection1Component_div_115_button_5_Template_button_click_0_listener","RsswaSection1Component_div_115_button_6_Template_button_click_0_listener","saveForm","saveButtonText","RsswaSection1Component_div_115_button_7_Template_button_click_0_listener","RsswaSection1Component_div_115_button_8_Template_button_click_0_listener","RsswaSection1Component_div_115_button_9_Template_button_click_0_listener","RsswaSection1Component_div_115_button_10_Template_button_click_0_listener","submit_amendment","RsswaSection1Component_div_115_button_2_Template","RsswaSection1Component_div_115_button_3_Template","RsswaSection1Component_div_115_button_5_Template","RsswaSection1Component_div_115_button_6_Template","RsswaSection1Component_div_115_button_7_Template","RsswaSection1Component_div_115_button_8_Template","RsswaSection1Component_div_115_button_9_Template","RsswaSection1Component_div_115_button_10_Template","showCancelDraft","showCancelForm","showUnSubmit","AmendmentSign","RSSWACancelAmendment","showSubmit","RSSWASubmit","RsswaSection1Component","_performers","_restriction","_resource","perLoading","documentCtrl","chkRadMonitorCtrl","chkETIAccessCtrl","chkTPLSetCtrl","chkTSoftwareCtrl","chkTopOffInterlockCtrl","chkRSSPLCSetCtrl","chkRSSSoftwareCtrl","rsswaShuttersControl","rsswaAcceleratorLocationsControl","rsswaOtherSystemsControl","restrictionsControl","tmpSysAffectedBL","tmpSysAffectedAcc","tmpSysAffectedTombis","tmpChkRepair","tmpRsswaShutters","tmpRsswaAcceleratorLocations","tmpRsswaOtherSystems","tmpRsswaRestrictions","tmpRsswaRelatedLinks","filteredRequesters","rsswaPrivilege","systemsAffectedError","popclass","loadRSSWAs","loadAllWorkPerformers","rsswas$","rsswasSubs","sr02areasrrf","fillResources","systemDesign","EditRSSWAAmendment","affectedSystems","restrictionAvailableAutocomplete","tmpDescription","setButtonLabels","requesterInput","addEvent","getDocuments","repairRequired","getWorkPerformers","getSystemsAffected","verifyActions","as","BLSystem","AccSystem","TOMBISSystem","rsswaPerformingWorkUsers","rsswaResource","beamlineRSS","acceleratorRSS","tombis","tombisPLCSet","rssPLCSet","filter1","clickReq","onClosedReq","clickDoc","documentInput","relatedDocs","addDoc","matAutocompleteDoc","isOpen","removeDoc","selectedDoc","selDoc","allWorkPerformers","filterWorkPerformers","onPerChange","filteredWorkPerformers","w","createWorkPerformerGroups","groups","persons","workGroupGroups","workGroupPersons","filteredPerformerGroups","addPer","matAutocompletePer","newPer","wp","selectedPer","selPer","performerInput","systemChanged","cancelSignature","actionID","saveRsswaSection1Resource","RSSWACancel","submitSignature","unSubmitSignature","unsubmitTask","tmpResourceIds","onRsswaShuttersEdited","onRsswaAcceleratorLocationsEdited","onRsswaOtherSystemsEdited","onRelatedLinksEdited","provisionalTestingRequiredChanged","setUnsubmit","diffWorkPerformers","WorkPerformerService","RestrictionService","RsswaSection1Component_Query","RsswaSection1Component_Template_form_keydown_enter_1_listener","RsswaSection1Component_Template_input_dateChange_11_listener","RsswaSection1Component_mat_error_15_Template","RsswaSection1Component_mat_error_24_Template","RsswaSection1Component_Template_input_keyup_29_listener","RsswaSection1Component_Template_mat_autocomplete_optionSelected_31_listener","RsswaSection1Component_Template_mat_autocomplete_closed_31_listener","RsswaSection1Component_mat_option_33_Template","RsswaSection1Component_mat_error_34_Template","RsswaSection1Component_Template_related_documents_changed_37_listener","RsswaSection1Component_mat_chip_row_44_Template","RsswaSection1Component_Template_input_matChipInputTokenEnd_45_listener","RsswaSection1Component_Template_input_keyup_45_listener","RsswaSection1Component_Template_mat_autocomplete_optionSelected_47_listener","RsswaSection1Component_mat_optgroup_49_Template","RsswaSection1Component_mat_error_50_Template","RsswaSection1Component_Template_mat_checkbox_change_57_listener","RsswaSection1Component_Template_resource_chips_onEdit_59_listener","RsswaSection1Component_Template_resource_chips_onError_59_listener","RsswaSection1Component_Template_mat_checkbox_change_61_listener","RsswaSection1Component_Template_resource_chips_onEdit_63_listener","RsswaSection1Component_Template_resource_chips_onError_63_listener","RsswaSection1Component_Template_mat_checkbox_change_65_listener","RsswaSection1Component_Template_rsswa_other_system_chips_onEdit_67_listener","RsswaSection1Component_Template_mat_checkbox_change_69_listener","RsswaSection1Component_Template_comments_box_textChanged_98_listener","RsswaSection1Component_Template_related_link_chips_onEdited_102_listener","RsswaSection1Component_Template_form_restriction_table_changed_108_listener","RsswaSection1Component_Template_rsswa_section1_functional_tests_chkFuncTestCtrlChange_111_listener","RsswaSection1Component_Template_rsswa_section1_functional_tests_functionalTestCtrlChange_111_listener","RsswaSection1Component_Template_rsswa_section1_functional_tests_provisionalTestingRequiredCtrlChange_111_listener","RsswaSection1Component_Template_comments_box_textChanged_114_listener","RsswaSection1Component_div_115_Template","tmp_89_0","RsswaSection3Component_div_3_div_3_Template_button_signature_approve_1_listener","RsswaSection3Component_div_3_div_3_Template_button_signature_unapprove_1_listener","RsswaSection3Component_div_3_div_3_Template_button_signature_disapprove_1_listener","RsswaSection3Component_div_3_div_3_Template_button_signature_onError_1_listener","RsswaSection3Component_div_3_span_1_Template","RsswaSection3Component_div_3_div_3_Template","RsswaSection3Component","data10","leftTasks","rightTasks","o1","o2","lastAmendmentID","previousSigned","findSignature","requesterSignature","taskEnabled","isAmendment","isFirstSignature","toActive","checkToActiveStatus","Amended","activate","signCount","signatures3","signatures4","RsswaSection3Component_Template","RsswaSection3Component_div_3_Template","RsswaSection4Component_div_3_div_3_Template_button_signature_approve_1_listener","RsswaSection4Component_div_3_div_3_Template_button_signature_unapprove_1_listener","RsswaSection4Component_div_3_div_3_Template_button_signature_disapprove_1_listener","RsswaSection4Component_div_3_div_3_Template_button_signature_onError_1_listener","RsswaSection4Component_div_3_span_1_Template","RsswaSection4Component_div_3_div_3_Template","RsswaSection4Component","data11","WorkCompleted","signatureComponents","reverse","RsswaSection4Component_Query","RsswaSection4Component_div_3_Template","RsswaSection5Component_div_6_Template_button_signature_approve_1_listener","RsswaSection5Component_div_6_Template_button_signature_unapprove_1_listener","RsswaSection5Component_div_6_Template_button_signature_disapprove_1_listener","RsswaSection5Component_div_6_Template_button_signature_onError_1_listener","RsswaSection5Component","wfSignCount","rssFunctionalTestsFinished","RsswaSection5Component_Query","RsswaSection5Component_div_6_Template","WfSignature","RsswaSection6Component_div_3_Template_question_signature_approve_3_listener","RsswaSection6Component_div_3_Template_question_signature_unapprove_3_listener","RsswaSection6Component_div_3_Template_question_signature_answered_3_listener","answered","questionDisabled","RsswaSection6Component","_rsswa","wfFinish","reqApprovals","RsswaSection6Component_Template","RsswaSection6Component_div_3_Template","RsswaSection6Component_Template_cl_close_action_closed_5_listener","RSSWAUpdate","RsswaSidePanelComponent_mat_cell_13_mat_icon_3_Template","affectedSystemsNames","RsswaSidePanelComponent_mat_row_21_Template_mat_row_click_0_listener","RsswaSidePanelComponent","requestClear","rsswasFiltered","RsswaSidePanelComponent_Query","RsswaSidePanelComponent_Template_filter_box_changed_4_listener","RsswaSidePanelComponent_Template_mat_slide_toggle_change_7_listener","RsswaSidePanelComponent_Template_mat_slide_toggle_ngModelChange_7_listener","RsswaSidePanelComponent_mat_header_cell_12_Template","RsswaSidePanelComponent_mat_cell_13_Template","RsswaSidePanelComponent_mat_header_cell_15_Template","RsswaSidePanelComponent_mat_cell_16_Template","RsswaSidePanelComponent_mat_header_cell_18_Template","RsswaSidePanelComponent_mat_cell_19_Template","RsswaSidePanelComponent_mat_header_row_20_Template","RsswaSidePanelComponent_mat_row_21_Template","RsswaComponent_mat_form_field_16_Template_input_ngModelChange_3_listener","RsswaComponent_div_20_mat_slide_toggle_1_Template_mat_slide_toggle_change_0_listener","showAmendmentChange","RsswaComponent_div_20_mat_slide_toggle_1_Template_mat_slide_toggle_ngModelChange_0_listener","RsswaComponent_div_20_mat_slide_toggle_1_Template","ViewRSSWAAmendment","isRequester","RsswaComponent_mat_list_item_31_Template_mat_list_item_click_0_listener","RsswaComponent_mat_list_item_31_span_1_Template","RsswaComponent_mat_list_item_32_Template_mat_list_item_click_0_listener","RsswaComponent_mat_list_item_32_span_1_Template","RsswaComponent_mat_list_item_33_Template_mat_list_item_click_0_listener","RsswaComponent_mat_list_item_33_span_1_Template","RsswaComponent_mat_list_item_34_Template_mat_list_item_click_0_listener","RsswaComponent_mat_list_item_34_span_1_Template","RsswaComponent_mat_list_item_35_Template_mat_list_item_click_0_listener","RsswaComponent_mat_list_item_35_span_1_Template","RsswaComponent_mat_list_item_36_Template_mat_list_item_click_0_listener","RsswaComponent_mat_list_item_36_span_1_Template","wfAmendmentSignature","canCreateAmendment","RequestRSSWAAmendment","changeEditing","removeRef","copyRSSWA","RsswaComponent_Query","RsswaComponent_Template_button_click_3_listener","RsswaComponent_span_14_Template","RsswaComponent_mat_form_field_16_Template","RsswaComponent_mat_form_field_18_Template","RsswaComponent_div_20_Template","RsswaComponent_div_21_Template","RsswaComponent_Template_mat_sidenav_mouseenter_23_listener","RsswaComponent_Template_mat_sidenav_mouseleave_23_listener","RsswaComponent_mat_icon_27_Template","RsswaComponent_Template_rsswa_side_panel_rowSelected_28_listener","RsswaComponent_Template_rsswa_side_panel_loading_28_listener","RsswaComponent_mat_list_item_31_Template","RsswaComponent_mat_list_item_32_Template","RsswaComponent_mat_list_item_33_Template","RsswaComponent_mat_list_item_34_Template","RsswaComponent_mat_list_item_35_Template","RsswaComponent_mat_list_item_36_Template","RsswaComponent_Template_rsswa_main_panel_changed_40_listener","RsswaComponent_Template_rsswa_main_panel_loading_40_listener","RsswaComponent_overlay_loading_42_Template","saveRsswaResource","getAllRequesters","RSSWARefresh","RSSWACreate","RSSWADelete","RSSWARefreshByID","RSSWAStateModel","RSSWAState","RSSWAActions","RSSWAStoreAndListenersService","ScfLogSignatureComponent","formatText","Type","cancelled","ScfLogSignatureComponent_Template","ScfLogSignatureComponent_mat_icon_3_Template","ScfLogSignatureComponent_span_5_Template","SCFLogComponent_div_0_mat_progress_bar_3_Template","signature_r7","SCFLogComponent_div_1_div_6_div_1_Template","signature_r9","SCFLogComponent_div_1_mat_list_7_mat_list_item_1_mat_icon_13_Template","SCFLogComponent_div_1_mat_list_7_mat_list_item_1_span_14_Template","SCFLogComponent_div_1_mat_list_7_mat_list_item_1_Template","SCFLogComponent_div_1_mat_tab_8_div_3_mat_expansion_panel_1_mat_slide_toggle_12_Template_mat_slide_toggle_ngModelChange_0_listener","update_r19","isViewingAmendment","signature_r32","SCFLogComponent_div_1_mat_tab_8_div_3_mat_expansion_panel_1_Template_mat_expansion_panel_afterExpand_0_listener","SCFLogComponent_div_1_mat_tab_8_div_3_mat_expansion_panel_1_mat_slide_toggle_12_Template","SCFLogComponent_div_1_mat_tab_8_div_3_mat_expansion_panel_1_div_24_Template","SCFLogComponent_div_1_mat_tab_8_div_3_mat_expansion_panel_1_div_25_Template","getTopPosition","SCFLogComponent_div_1_mat_tab_8_div_3_mat_expansion_panel_1_Template","SCFLogComponent_div_1_mat_tab_8_mat_expansion_panel_2_Template","SCFLogComponent_div_1_mat_tab_8_div_3_Template","showUpdates","SCFLogComponent_div_1_Template_mat_slide_toggle_ngModelChange_4_listener","showBoxes","SCFLogComponent_div_1_div_6_Template","SCFLogComponent_div_1_mat_list_7_Template","SCFLogComponent_div_1_mat_tab_8_Template","SCFLogComponent","scfService","workerVerificationService","showAddedUpdates","showDeletedUpdates","showModifiedUpdates","getByForm","originalBodySCF","shieldingNames","shieldingAffected","oldBodySCF","generateAmendmentViews","getScfLogHeadText","scfMasterAmended","scfAmendments","createAmendment","scfID","locationIds","accRFShielding","blShielding","permanentAccRemoval","permanentBLRemoval","tocaMovement","estimatedEndOn","estimatedStartOn","notifyARC","notifyBLSci","notifyBRC","notifyHP","notifyRF","notifyRP","notifySnA","scfRestrictionsV2","WorkerVerificationService","SCFLogComponent_Query","SCFLogComponent_div_0_Template","SCFLogComponent_div_1_Template","ScfV2MainButtonsComponent_button_3_Template_button_click_0_listener","ScfV2MainButtonsComponent_button_4_Template_button_click_0_listener","cancelAmendment","ScfV2MainButtonsComponent_button_6_Template_button_click_0_listener","ScfV2MainButtonsComponent_button_7_Template_button_click_0_listener","ScfV2MainButtonsComponent_button_8_Template_button_click_0_listener","ScfV2MainButtonsComponent_button_9_Template_button_click_0_listener","ScfV2MainButtonsComponent_button_10_Template_button_click_0_listener","ScfV2MainButtonsComponent_button_11_Template_button_click_0_listener","ScfV2MainButtonsComponent","setSetatus","scfAmendment","scfAmendmentNumber","isCreatingAmendment","isEditingAmendment","oldStatus","editingUntil","wfUnsubmitSignature","CreateSCF","computed","getEmails","scfMails","toAddressesAdded","cancelTask","ScfV2MainButtonsComponent_Template","ScfV2MainButtonsComponent_button_3_Template","ScfV2MainButtonsComponent_button_4_Template","ScfV2MainButtonsComponent_button_6_Template","ScfV2MainButtonsComponent_button_7_Template","ScfV2MainButtonsComponent_button_8_Template","ScfV2MainButtonsComponent_button_9_Template","ScfV2MainButtonsComponent_button_10_Template","ScfV2MainButtonsComponent_button_11_Template","canCancelAmendment","canEditAmendment","canUnsubmitAmendment","canSubmit","canSubmitAmendment","CdkDropListGroup","AddRelatedLinkComponent","ScfV2MainS1Component_mat_chip_row_11_Template_mat_chip_row_removed_0_listener","location_r32","ScfV2MainS1Component_mat_chip_row_11_mat_icon_2_Template","autoLocation","checkRemove","location_r38","ScfV2MainS1Component_mat_optgroup_18_mat_option_1_Template","group_r36","ScfV2MainS1Component_mat_checkbox_28_Template_mat_checkbox_change_0_listener","setNotificationChecks","workRequired","BlShielding","checkBlShCtrl","inputWorkHiddenCtrl","ScfV2MainS1Component_mat_chip_row_47_Template_mat_chip_row_cdkDragMoved_0_listener","dragMoved","ScfV2MainS1Component_mat_chip_row_47_Template_mat_chip_row_removed_0_listener","shielding_r41","removeShl","ScfV2MainS1Component_mat_chip_row_47_mat_icon_2_Template","ScfV2MainS1Component_mat_chip_row_47_mat_icon_4_Template","shared","ScfV2MainS1Component_mat_optgroup_54_mat_option_1_Template_mat_option_onSelectionChange_0_listener","shielding_r49","selectedShl","ScfV2MainS1Component_mat_optgroup_54_mat_option_1_Template","group_r47","user_r52","estimatedInitCtrl","estimatedEndCtrl","ScfV2MainS1Component_button_112_Template_button_click_0_listener","ScfV2MainS1Component_button_113_Template_button_click_0_listener","editNotification","notificationButtonDisabled","notificationButtonLabel","ScfV2MainS1Component","checkAccRFCtrl","checkTocaMovCtrl","checkPermBlCtrl","checkPermAccCtrl","inputNotificationsHiddenCtrl","relatedLinksCtrl","notiCheckHPCtrl","notiCheckBLCtrl","notiCheckBRCCtrl","notiCheckRFCtrl","notiCheckSACtrl","notiCheckARCtrl","notiCheckRPCtrl","viewportRuler","workRequiredChanged","locationAdded","descriptionHasError","allShieldings","requesterRoles","ATS","AO","MT","RFEng","SnA","RP","filteredShieldings","mentions","loadBratoi","loadTocas","loadRequesters","relatedLinksInput","getLocationsFromAmendment","getRelatedLinks","descriptionCtrlText","relatedLinksString","relatedLinksArray","Text","requesters","allLocations","filteredLocations","createLocationGroups","loadRelatedShieldings","locationGroups","getChildLocations","validateCheckboxes","shieldingMatch","restrictionMatch","tocaMatch","addLoc","matAutocompleteLoc","shld","shutterShieldings","parents","childResourceTypeName","accShieldings","locationShieldings","filterShieldings","uniqueShieldings","createShieldingGroups","shieldingGroups","getMentions","groupItem","isGroup","shieldingItems","parentGroup","mentionsChanged","selectedMentions","selectedShielding","selectedTocas","addedShieldings","mention","removedShieldings","addedTocas","addedResourceRelation","removedTocas","onShlChange","addShl","matAutocompleteShl","sh","orderShieldings","tocaId","matOption","beamlineRR","sw","locationsShared","dropListDropped","sourceIndex","targetIndex","point","getPointerPositionOnPage","drag","firstChild","childNodes","__isInsideDropListClientRect","__isTouchEvent","touches","changedTouches","scrollPosition","getViewportScrollPosition","pageX","pageY","sortedShieldings","addRelatedLink","removeRelatedLink","scfWorkRequired","PermanentAccRemoval","PermanentBLRemoval","TocaMovement","selectedRequester","openNotificationDialog","diffWorkRequired","isNull","diffLocations","diffDocuments","diffShieldings","diffNotificationChecks","chipListLoc","errorState","chipListShl","ViewportRuler","ScfV2MainS1Component_Query","ScfV2MainS1Component_Template_form_keydown_enter_0_listener","ScfV2MainS1Component_mat_chip_row_11_Template","ScfV2MainS1Component_Template_input_matChipInputTokenEnd_12_listener","ScfV2MainS1Component_Template_input_keyup_12_listener","ScfV2MainS1Component_Template_mat_autocomplete_optionSelected_15_listener","ScfV2MainS1Component_mat_optgroup_18_Template","ScfV2MainS1Component_mat_error_19_Template","ScfV2MainS1Component_Template_related_documents_changed_20_listener","ScfV2MainS1Component_Template_related_link_chips_onEdited_21_listener","ScfV2MainS1Component_Template_mat_checkbox_change_26_listener","AccRFShielding","ScfV2MainS1Component_mat_checkbox_28_Template","ScfV2MainS1Component_Template_mat_checkbox_change_30_listener","ScfV2MainS1Component_Template_mat_checkbox_change_32_listener","ScfV2MainS1Component_span_33_Template","ScfV2MainS1Component_ng_template_34_Template","ScfV2MainS1Component_Template_mat_checkbox_change_36_listener","ScfV2MainS1Component_span_37_Template","ScfV2MainS1Component_ng_template_38_Template","ScfV2MainS1Component_mat_error_40_Template","ScfV2MainS1Component_Template_mat_chip_grid_cdkDropListDropped_45_listener","ScfV2MainS1Component_mat_chip_row_47_Template","ScfV2MainS1Component_Template_input_focus_48_listener","ScfV2MainS1Component_Template_input_matChipInputTokenEnd_48_listener","ScfV2MainS1Component_Template_input_keydown_enter_48_listener","ScfV2MainS1Component_Template_input_keyup_48_listener","ScfV2MainS1Component_mat_optgroup_54_Template","ScfV2MainS1Component_mat_error_57_Template","ScfV2MainS1Component_Template_comments_box_textChanged_60_listener","ScfV2MainS1Component_Template_comments_box_mentionsChanged_60_listener","ScfV2MainS1Component_Template_mat_select_selectionChange_68_listener","ScfV2MainS1Component_mat_option_69_Template","ScfV2MainS1Component_mat_error_70_Template","ScfV2MainS1Component_Template_input_dateChange_77_listener","ScfV2MainS1Component_mat_error_81_Template","ScfV2MainS1Component_Template_input_dateChange_87_listener","ScfV2MainS1Component_mat_error_91_Template","ScfV2MainS1Component_Template_mat_checkbox_change_97_listener","ScfV2MainS1Component_Template_mat_checkbox_change_99_listener","ScfV2MainS1Component_Template_mat_checkbox_change_101_listener","ScfV2MainS1Component_Template_mat_checkbox_change_103_listener","ScfV2MainS1Component_Template_mat_checkbox_change_105_listener","ScfV2MainS1Component_Template_mat_checkbox_change_107_listener","ScfV2MainS1Component_Template_mat_checkbox_change_109_listener","ScfV2MainS1Component_button_112_Template","ScfV2MainS1Component_button_113_Template","_c10","newWorkLabel","tmp_26_0","tmp_29_0","startsWith","__indexOf","collection","ScfV2MainS2Component","formRestrictions","locationAddedID","ScfV2MainS2Component_Query","ScfV2MainS2Component_Template_form_restriction_table_changed_0_listener","amendment_r1","ScfV2MainS3Component_div_1_div_2_Template_button_signature_approve_1_listener","ScfV2MainS3Component_div_1_div_2_Template_button_signature_unapprove_1_listener","ScfV2MainS3Component_div_1_div_2_Template_button_signature_disapprove_1_listener","ScfV2MainS3Component_div_1_span_1_Template","ScfV2MainS3Component_div_1_div_2_Template","ScfV2MainS3Component","notiService","siteConfigurationService","getFirst","emailsActivated","isEmailSCFActive","createSignatures","signaturesToSign","checkAndSendNotification","requesterTask","nextSignature","lastSignatureSigned","RequesterRequired","RequesterSigned","addressesObject","emailAddreses","ScfV2MainS3Component_Template","ScfV2MainS3Component_div_1_Template","ScfV2MainS4HoldpointsAddComponent_div_7_Template_mat_checkbox_ngModelChange_2_listener","wfTaskLocal_r1","ScfV2MainS4HoldpointsAddComponent","matDialogRef","scfHoldPoint","holdPointID","rolesArray","scfMasterID","ScfV2MainS4HoldpointsAddComponent_Template","ScfV2MainS4HoldpointsAddComponent_Template_comments_box_textChanged_5_listener","ScfV2MainS4HoldpointsAddComponent_div_7_Template","ScfV2MainS4HoldpointsAddComponent_Template_button_click_11_listener","ScfV2MainS4HoldpointsAddComponent_Template_button_click_13_listener","ScfV2MainS4HoldpointsComponent_div_9_button_1_Template_button_click_0_listener","enableReorder","ScfV2MainS4HoldpointsComponent_div_9_button_2_Template_button_click_0_listener","ScfV2MainS4HoldpointsComponent_div_9_button_1_Template","ScfV2MainS4HoldpointsComponent_div_9_button_2_Template","ScfV2MainS4HoldpointsComponent_button_10_Template_button_click_0_listener","createHoldPoint","hp_r13","ScfV2MainS4HoldpointsComponent_div_13_div_2_span_1_span_2_Template","ScfV2MainS4HoldpointsComponent_div_13_div_2_button_3_Template_button_click_0_listener","editHoldPoint","ScfV2MainS4HoldpointsComponent_div_13_div_2_button_4_Template_button_click_0_listener","deleteHoldPoint","ScfV2MainS4HoldpointsComponent_div_13_div_2_div_9_Template_button_signature_approve_1_listener","s_r30","ScfV2MainS4HoldpointsComponent_div_13_div_2_div_9_Template_button_signature_disapprove_1_listener","ScfV2MainS4HoldpointsComponent_div_13_div_2_div_9_Template_button_signature_unapprove_1_listener","ScfV2MainS4HoldpointsComponent_div_13_div_2_span_1_Template","ScfV2MainS4HoldpointsComponent_div_13_div_2_button_3_Template","ScfV2MainS4HoldpointsComponent_div_13_div_2_button_4_Template","ScfV2MainS4HoldpointsComponent_div_13_div_2_div_9_Template","canAddHoldPoints","canAddHoldPointsDraft","holdPointUnsigned","ScfV2MainS4HoldpointsComponent_div_13_button_1_Template","ScfV2MainS4HoldpointsComponent_div_13_div_2_Template","amendmentActive","ScfV2MainS4HoldpointsComponent","AwaitingInspection","HoldPoint","holdPoints","scfHoldPoints","userSigned","alreadySigned","holdPoint","signPromises","relevantSignatures","hasUnapprovedSignatures","scfmaster","updateHoldPoint","hp","nextHoldPointUnsigned","nextHoldPoint","holdPointFinished","reorderArray","updateHoldPointNumbers","ScfV2MainS4HoldpointsComponent_Template","ScfV2MainS4HoldpointsComponent_span_5_Template","ScfV2MainS4HoldpointsComponent_div_9_Template","ScfV2MainS4HoldpointsComponent_button_10_Template","ScfV2MainS4HoldpointsComponent_div_11_Template","ScfV2MainS4HoldpointsComponent_Template_div_cdkDropListDropped_12_listener","ScfV2MainS4HoldpointsComponent_div_13_Template","ScfV2MainS4NoworkComponent_div_0_div_9_Template_master_control_approve_1_listener","s_r2","ScfV2MainS4NoworkComponent_div_0_div_9_Template_master_control_disapprove_1_listener","ScfV2MainS4NoworkComponent_div_0_div_9_Template_master_control_unapprove_1_listener","ScfV2MainS4NoworkComponent_div_0_div_9_Template_master_control_checked_1_listener","ScfV2MainS4NoworkComponent_div_0_div_9_Template","requesterAmended","noWorkPerformedTitle","noWorkPerformedLegend","ScfV2MainS4NoworkComponent","setMessages","PendingCancelation","Unnaprove","reqSignature","hpStatus","scfStatusResource","allSigned","ScfV2MainS4NoworkComponent_Template","ScfV2MainS4NoworkComponent_div_0_Template","ScfV2MainS4Component_scf_v2_main_s4_nowork_0_Template_scf_v2_main_s4_nowork_loading_0_listener","ScfV2MainS4Component_scf_v2_main_s4_holdpoints_1_Template_scf_v2_main_s4_holdpoints_loading_0_listener","ScfV2MainS4Component_div_2_div_4_Template_button_signature_approve_1_listener","ScfV2MainS4Component_div_2_div_4_Template_button_signature_disapprove_1_listener","ScfV2MainS4Component_div_2_div_4_Template_button_signature_unapprove_1_listener","ScfV2MainS4Component_div_2_div_4_Template","ScfV2MainS4Component","hasHoldPointTasks","hasNoWorkTasks","ScfV2MainS4Component_Template","ScfV2MainS4Component_scf_v2_main_s4_nowork_0_Template","ScfV2MainS4Component_scf_v2_main_s4_holdpoints_1_Template","ScfV2MainS4Component_div_2_Template","ScfV2MainS5Component_div_0_div_6_Template_master_control_approve_3_listener","s_r3","ScfV2MainS5Component_div_0_div_6_Template_master_control_unapprove_3_listener","ScfV2MainS5Component_div_0_div_6_Template_master_control_disapprove_3_listener","ScfV2MainS5Component_div_0_div_6_Template_master_control_checked_3_listener","ScfV2MainS5Component_div_0_div_6_Template_master_control_approveAnswer_3_listener","ScfV2MainS5Component_div_0_div_6_Template_master_control_disapproveAnswer_3_listener","ScfV2MainS5Component_div_0_div_6_Template_master_control_close_3_listener","ScfV2MainS5Component_div_0_div_6_Template_master_control_changed_3_listener","ScfV2MainS5Component_div_0_div_6_Template_master_control_loading_3_listener","diffValue","followUpChanged","privilegeToApproveAnswer","answerChangedById","answerChangedBy","ScfV2MainS5Component_div_0_div_5_Template","ScfV2MainS5Component_div_0_div_6_Template","ScfV2MainS5Component","loadSCFmasters","wfSignaturesOriginal","lastFollowUpChanged","lastFollowUpCheckChanged","pendingChange","pendingChangeObj","setChecksFromWorkRequired","saveSCFMaster","ACREVREQ","DOCUPREQ","RADSVREQ","BLREVREQ","OperationalApproval","approveOpApproval","approveAnswer","disapproveAnswer","requiredSignatures","QuestionSignature","TEXT","saveOpApproval","ScfV2MainS5Component_Template","ScfV2MainS5Component_div_0_Template","ScfV2MainComponent_div_9_scf_log_5_Template","ScfV2MainComponent","loading1","loading3","loading4","loading5","setStatusEvent","savedEvent","setAutoRestriction","ScfV2MainComponent_Query","ScfV2MainComponent_Template_scf_v2_main_s1_changed_1_listener","ScfV2MainComponent_Template_scf_v2_main_s1_loading_1_listener","ScfV2MainComponent_Template_scf_v2_main_s1_workRequiredChanged_1_listener","ScfV2MainComponent_Template_scf_v2_main_s1_locationAdded_1_listener","ScfV2MainComponent_Template_scf_v2_main_s2_changed_3_listener","ScfV2MainComponent_Template_scf_v2_main_s3_changed_4_listener","ScfV2MainComponent_Template_scf_v2_main_s3_loading_4_listener","ScfV2MainComponent_worker_verification_table_5_Template","ScfV2MainComponent_Template_scf_v2_main_s4_changed_6_listener","ScfV2MainComponent_Template_scf_v2_main_s4_loading_6_listener","ScfV2MainComponent_Template_scf_v2_main_s5_changed_7_listener","ScfV2MainComponent_Template_scf_v2_main_s5_loading_7_listener","ScfV2MainComponent_Template_scf_v2_main_s5_saved_7_listener","ScfV2MainComponent_div_9_Template","notificationHPEmailsCtrl","notificationRPEmailsCtrl","notificationEmailsCtrl","ScfV2SettingsNotificationsComponent","notificationActiveCtrl","siteConfService","buildform","loadSiteConfiguration","scfNotificationEmails","scfhpNotificationEmails","scfrpNotificationEmails","activeToggleChanged","emailsChanged","ScfV2SettingsNotificationsComponent_Template","ScfV2SettingsNotificationsComponent_Template_mat_slide_toggle_change_4_listener","ScfV2SettingsNotificationsComponent_Template_input_change_11_listener","ScfV2SettingsNotificationsComponent_mat_error_14_Template","ScfV2SettingsNotificationsComponent_Template_input_change_20_listener","ScfV2SettingsNotificationsComponent_mat_error_23_Template","ScfV2SettingsNotificationsComponent_Template_input_change_29_listener","ScfV2SettingsNotificationsComponent_mat_error_32_Template","ScfV2SettingsPermissionsComponent_div_1_div_5_Template_role_selection_deleted_1_listener","privilege_r3","ScfV2SettingsPermissionsComponent_div_1_div_5_Template_role_selection_selected_1_listener","ScfV2SettingsPermissionsComponent_div_1_div_5_Template","group_r1","ScfV2SettingsPermissionsComponent","isloading","getRolePrivileges","privGroups","ScfV2SettingsPermissionsComponent_Template","ScfV2SettingsPermissionsComponent_div_1_Template","PrivilegeGroup","ScfV2SettingsSignaturesComponent_div_1_fieldset_4_div_4_Template_button_click_3_listener","task_r5","calcWidth","step_r3","getAction","getRoleIds","getTooltips","ScfV2SettingsSignaturesComponent_div_1_fieldset_4_Template_div_cdkDropListDropped_3_listener","ScfV2SettingsSignaturesComponent_div_1_fieldset_4_div_4_Template","getConnectedTo","ScfV2SettingsSignaturesComponent_div_1_fieldset_4_Template","getSteps","ScfV2SettingsSignaturesComponent","_workflow","loadWFConfiguration","getWFSectionsByForm","workflow","taskConfigs","wfRoleConfigs","roleCode","wfActionConfigs","saveRoles","originalRoles","wfStepConfigID","putWFTask","taskIdx","saveActions","wfTaskConfigID","saveAction","wfAction","wfNextStepConfigID","postWFAction","putWFAction","delWFAction","roleConfigs","wfRoleConfig","postWFRole","delWFRole","wfTaskConfigs","putWFTasks","ScfV2SettingsSignaturesComponent_Template","ScfV2SettingsSignaturesComponent_div_1_Template","ScfV2SettingsComponent","ScfV2SettingsComponent_Template","ScfV2SettingsComponent_Template_button_click_4_listener","ScfV2SettingsComponent_mat_progress_bar_7_Template","ScfV2SettingsComponent_div_11_Template","ScfV2SettingsComponent_Template_scf_v2_settings_permissions_isLoading_14_listener","ScfV2SettingsComponent_Template_scf_v2_settings_signatures_isLoading_16_listener","ScfV2SettingsComponent_Template_scf_v2_settings_notifications_isLoading_18_listener","SCFMastersUpdate","ScfV2SideComponent_mat_cell_10_mat_icon_3_Template","ScfV2SideComponent_mat_row_18_Template_mat_row_click_0_listener","ScfV2SideComponent","loadSCFs","getSCFMasterByID","ScfV2SideComponent_Query","ScfV2SideComponent_Template_mat_slide_toggle_change_3_listener","ScfV2SideComponent_Template_mat_slide_toggle_ngModelChange_3_listener","ScfV2SideComponent_mat_header_cell_9_Template","ScfV2SideComponent_mat_cell_10_Template","ScfV2SideComponent_mat_header_cell_12_Template","ScfV2SideComponent_mat_cell_13_Template","ScfV2SideComponent_mat_header_cell_15_Template","ScfV2SideComponent_mat_cell_16_Template","ScfV2SideComponent_mat_header_row_17_Template","ScfV2SideComponent_mat_row_18_Template","SCFPrivileges","SCFStatus","SCFMaster","ScfV2Component_mat_form_field_16_Template_input_ngModelChange_3_listener","ScfV2Component_div_20_Template_mat_slide_toggle_ngModelChange_1_listener","ScfV2Component_div_20_Template_mat_slide_toggle_change_1_listener","ScfV2Component_filter_box_28_Template_filter_box_changed_0_listener","ScfV2Component_mat_list_item_33_Template_mat_list_item_click_0_listener","ScfV2Component_mat_list_item_33_span_1_Template","ScfV2Component_mat_list_item_34_Template_mat_list_item_click_0_listener","ScfV2Component_mat_list_item_34_span_1_Template","ScfV2Component_mat_list_item_35_Template_mat_list_item_click_0_listener","ScfV2Component_mat_list_item_35_span_1_Template","ScfV2Component_mat_list_item_36_Template_mat_list_item_click_0_listener","ScfV2Component_mat_list_item_36_span_1_Template","ScfV2Component_mat_list_item_37_Template_mat_list_item_click_0_listener","ScfV2Component_mat_list_item_37_span_1_Template","ScfV2Component_mat_list_item_38_Template_mat_list_item_click_0_listener","ScfV2Component_mat_list_item_38_span_1_Template","ScfV2Component_a_39_span_1_Template","procedureAppendix","ScfV2Component_a_40_span_1_Template","ScfV2Component_mat_list_item_41_Template_mat_list_item_click_0_listener","ScfV2Component_mat_list_item_41_span_1_Template","ScfV2Component_scf_v2_main_buttons_48_Template_scf_v2_main_buttons_loading_0_listener","ScfV2Component_scf_v2_main_buttons_48_Template_scf_v2_main_buttons_setSetatus_0_listener","ScfV2Component_scf_v2_main_buttons_48_Template_scf_v2_main_buttons_saved_0_listener","mainValid","bratoiStore","OT","checkButtonsVisible","scfMasterUnchanged","releaseForm","cleanSCFMaster","clonedSCFMaster","canViewAmendment","canSeeAmendment","SCFSubmit","SCFSubmitAmendment","SCFNewForm","EditSCFAmendment","ViewSCFAmendment","hasAdmin","RequestAmendment","CreateHoldPoints","CreateHoldPointsDraft","CopySCF","canRelease","copySCF","pendingChanges","ScfV2Component_Query","ScfV2Component_scroll_HostBindingHandler","ScfV2Component_Template_button_click_3_listener","ScfV2Component_span_14_Template","ScfV2Component_mat_form_field_16_Template","ScfV2Component_mat_form_field_18_Template","ScfV2Component_div_20_Template","ScfV2Component_div_21_Template","ScfV2Component_Template_mat_sidenav_mouseenter_23_listener","ScfV2Component_Template_mat_sidenav_mouseleave_23_listener","ScfV2Component_mat_icon_27_Template","ScfV2Component_filter_box_28_Template","ScfV2Component_Template_scf_v2_side_rowSelected_31_listener","ScfV2Component_Template_scf_v2_side_loading_31_listener","ScfV2Component_mat_list_item_33_Template","ScfV2Component_mat_list_item_34_Template","ScfV2Component_mat_list_item_35_Template","ScfV2Component_mat_list_item_36_Template","ScfV2Component_mat_list_item_37_Template","ScfV2Component_mat_list_item_38_Template","ScfV2Component_a_39_Template","ScfV2Component_a_40_Template","ScfV2Component_mat_list_item_41_Template","ScfV2Component_Template_scf_v2_main_setStatus_45_listener","ScfV2Component_Template_scf_v2_main_saved_45_listener","ScfV2Component_Template_scf_v2_main_loading_45_listener","ScfV2Component_scf_v2_main_buttons_48_Template","ScfV2Component_overlay_loading_49_Template","CheckSelectedSection1","SCFediting","AmendmentSwitch","copyDoc","ApiRestrictions","taskSignature","saveScfStatus","finishAmendment","notifiedRoleIDs","siteConfig","defaultEmails","pushNoRepeat","emailsHP","notifiedUsers","relUsers","related","ARC","emailsRP","emailsALL","SCFWorkRequired","SaveSCFMasterResource","SaveSCFSection1Resource","SCFSection2Resource","SaveSCFStatusResource","SCFSection3Resource","SaveSCFSection3Resource","SCFSection4Resource","SaveSCFSection4Resource","RestrictionsRefresh","RestrictionsCreate","RestrictionsUpdate","RestrictionsDelete","RestrictionsStateModel","RestrictionsState","RestrictionsActions","RESTRICTIONS","SCFMastersRefresh","SCFMastersRefreshById","SCFMastersCreate","SCFMastersDelete","SCFMastersStateModel","SCFMastersState","SCFMastersActions","SCFMastersStoreAndListenersService","SCF_MASTERS","ChooseRolesComponent_mat_cell_9_Template_mat_checkbox_change_1_listener","checking","isCheck","ChooseRolesComponent","usersTable","valR","array","getRecord","ChooseRolesComponent_Template","ChooseRolesComponent_mat_header_cell_8_Template","ChooseRolesComponent_mat_cell_9_Template","ChooseRolesComponent_mat_header_cell_11_Template","ChooseRolesComponent_mat_cell_12_Template","ChooseRolesComponent_mat_header_row_13_Template","ChooseRolesComponent_mat_row_14_Template","ChooseRolesComponent_Template_button_click_17_listener","ChooseRolesComponent_Template_button_click_19_listener","ChooseUsersComponent_mat_cell_9_Template_mat_checkbox_change_1_listener","ChooseUsersComponent","getUsers_","removeUser","ChooseUsersComponent_Template","ChooseUsersComponent_mat_header_cell_8_Template","ChooseUsersComponent_mat_cell_9_Template","ChooseUsersComponent_mat_header_cell_11_Template","ChooseUsersComponent_mat_cell_12_Template","ChooseUsersComponent_mat_header_cell_14_Template","ChooseUsersComponent_mat_cell_15_Template","ChooseUsersComponent_mat_header_cell_17_Template","ChooseUsersComponent_mat_cell_18_Template","ChooseUsersComponent_mat_header_row_19_Template","ChooseUsersComponent_mat_row_20_Template","ChooseUsersComponent_Template_button_click_23_listener","ChooseUsersComponent_Template_button_click_25_listener","EditRequestMessageComponent","statusForm","UpdateMessage","ScheduleStatusService","EditRequestMessageComponent_Template","EditRequestMessageComponent_Template_button_click_46_listener","EditRequestMessageComponent_Template_button_click_48_listener","ReminderPeriodEnum","ScheduleResourcesByTab","AddReminderComponent","Period","reminderForm","timeInDays","period","beamlineStaffNotification","messageChanged","AddReminderComponent_Template","AddReminderComponent_mat_error_12_Template","AddReminderComponent_mat_error_19_Template","AddReminderComponent_Template_comments_box_textChanged_55_listener","AddReminderComponent_Template_button_click_62_listener","AddReminderComponent_Template_button_click_64_listener","after","before","ScheduleValidations","ScheduleRemindersRefresh","ReminderTabComponent_mat_cell_18_ng_container_1_button_6_Template_button_click_0_listener","editReminder","ReminderTabComponent_mat_cell_18_ng_container_1_button_7_Template_button_click_0_listener","removeReminder","ReminderTabComponent_mat_cell_18_ng_container_1_button_8_Template_button_click_0_listener","openChooseUsers","ReminderTabComponent_mat_cell_18_ng_container_1_button_9_Template_button_click_0_listener","openChooseRoles","ReminderTabComponent_mat_cell_18_ng_container_1_button_6_Template","ReminderTabComponent_mat_cell_18_ng_container_1_button_7_Template","ReminderTabComponent_mat_cell_18_ng_container_1_button_8_Template","ReminderTabComponent_mat_cell_18_ng_container_1_button_9_Template","sv","tokenInfo","ReminderTabComponent_mat_cell_18_ng_container_1_Template","headerOnTop2","ReminderTabComponent","serviceReminder","serviceUserReminder","serviceRoleReminder","displayedColumnsReminder","reminderData","reminderSource","scheduleRemindersSubs","loadScheduleReminders","scheduleReminders$","ScheduleReminders","scheduleReminders","addReminder","getUserReminderByReminder","reminderId","readByReminder","secondId","getRolReminderByReminder","reminderedit","reminder","userreminder","firstId","rolreminder","ScheduleReminderService","UserReminderService","RoleReminderService","ReminderTabComponent_Query","ReminderTabComponent_mat_header_cell_5_Template","ReminderTabComponent_mat_cell_6_Template","ReminderTabComponent_mat_header_cell_8_Template","ReminderTabComponent_mat_cell_9_Template","ReminderTabComponent_mat_header_cell_11_Template","ReminderTabComponent_mat_cell_12_Template","ReminderTabComponent_mat_header_cell_14_Template","ReminderTabComponent_mat_cell_15_Template","ReminderTabComponent_mat_header_cell_17_Template","ReminderTabComponent_mat_cell_18_Template","ReminderTabComponent_mat_header_row_19_Template","ReminderTabComponent_mat_row_20_Template","SchedulesV2Component","ScheduleRoutingModule","forChild","AddNoteComponent","AddNoteComponent_Template","AddNoteComponent_span_2_Template","AddNoteComponent_mat_error_11_Template","AddNoteComponent_Template_button_click_14_listener","AddNoteComponent_Template_button_click_16_listener","AddScheduleComponent_mat_chip_row_14_Template_mat_chip_row_removed_0_listener","AddScheduleComponent_div_24_Template_mat_slide_toggle_change_1_listener","removeLastAndNextDateRequired","AddScheduleComponent_mat_form_field_27_Template_input_dateChange_3_listener","procedure_r28","AddScheduleComponent_div_36_mat_option_11_span_4_Template","AddScheduleComponent_div_36_Template_input_keyup_5_listener","AddScheduleComponent_div_36_mat_option_11_Template","type_r39","periodTime_r42","AddScheduleComponent_div_37_div_19_Template_mat_select_valueChange_4_listener","nextDueDatePeriodSelected","AddScheduleComponent_div_37_div_19_Template_mat_select_selectionChange_4_listener","changeNextDueDatePeriod","AddScheduleComponent_div_37_div_19_mat_option_5_Template","periodsTime","procedure_r51","AddScheduleComponent_div_37_div_21_mat_option_10_span_4_Template","AddScheduleComponent_div_37_div_21_Template_input_keyup_4_listener","AddScheduleComponent_div_37_div_21_mat_option_10_Template","AddScheduleComponent_div_37_Template_input_ngModelChange_11_listener","subtypeSelected","AddScheduleComponent_div_37_Template_mat_autocomplete_optionSelected_12_listener","changedHutch","AddScheduleComponent_div_37_mat_option_15_Template","AddScheduleComponent_div_37_div_18_Template","AddScheduleComponent_div_37_div_19_Template","AddScheduleComponent_div_37_div_21_Template","allSubtypes","showLastC2","showPeriodTime","AddScheduleComponent","lastCompleted","scheduleForm","subtypeService","numberOfCycles","isLastCompleted","isMultilocation","isInpuntEnable","isAllowStrings","locationsIdUsed","showRemoveRequired","scheduleLocationsId","showHutch","getSubtypes","subtypeCtrl","scheduleFor","lastCompleted2","expireDate","procedureNumber2","subtype","nextDueDatePeriod","setValidators","EditScheduleDates","Good","filterLocations","showProcedures","typeID","_filter","incorrect","_filterProcedures","pn","chipList","sr","getTime","setDate","sd","validateEmptyLocations","locationFree","clearValidators","updateValueAndValidity","setNextDueDateTime","setMonth","isRemoveRequired","AddScheduleComponent_Query","AddScheduleComponent_span_3_Template","AddScheduleComponent_span_4_Template","AddScheduleComponent_mat_chip_row_14_Template","AddScheduleComponent_Template_input_keyup_15_listener","AddScheduleComponent_Template_input_matChipInputTokenEnd_15_listener","AddScheduleComponent_Template_mat_autocomplete_optionSelected_18_listener","AddScheduleComponent_mat_option_21_Template","AddScheduleComponent_div_24_Template","AddScheduleComponent_mat_form_field_27_Template","AddScheduleComponent_Template_input_dateChange_32_listener","AddScheduleComponent_div_36_Template","AddScheduleComponent_div_37_Template","AddScheduleComponent_Template_button_click_40_listener","AddScheduleComponent_Template_button_click_42_listener","CompleteScheduleComponent","formComplete","CompleteScheduleComponent_Template","CompleteScheduleComponent_label_7_Template","CompleteScheduleComponent_Template_button_click_19_listener","CompleteScheduleComponent_Template_button_click_21_listener","EditScheduledForComponent","formScheduledFor","scheduledFor","onCancel","EditScheduledForComponent_Template","EditScheduledForComponent_Template_button_click_20_listener","EditScheduledForComponent_Template_button_click_22_listener","RejectExtensionComponent","noWhitespaceValidator","isExtension","Rejection","isWhitespace","RejectExtensionComponent_Template","RejectExtensionComponent_Template_button_click_16_listener","RejectExtensionComponent_Template_button_click_18_listener","RequestExtensionComponent","extendedDate","Extension","isExtended","extendedFor","beforeStatusId","beforeStatusTime","RequestExtensionComponent_Template","RequestExtensionComponent_mat_error_23_Template","RequestExtensionComponent_Template_button_click_26_listener","RequestExtensionComponent_Template_button_click_28_listener","ScheduleMenuComponent_button_4_Template_button_click_0_listener","openEditSchedule","ScheduleMenuComponent_button_5_Template_button_click_0_listener","openAddNote","ScheduleMenuComponent_button_6_Template_button_click_0_listener","ScheduleStatus","ScheduleMenuComponent_button_7_Template_button_click_0_listener","ScheduleMenuComponent_button_8_Template_button_click_0_listener","grantExtension","ScheduleMenuComponent_button_9_Template_button_click_0_listener","ScheduleMenuComponent_button_10_Template_button_click_0_listener","deleteSchedule","ScheduleMenuComponent_button_11_Template_button_click_0_listener","openEditScheduledFor","ScheduleMenuComponent","validateAction","ScheduleMenuComponent_Template","ScheduleMenuComponent_button_1_Template","ScheduleMenuComponent_button_4_Template","ScheduleMenuComponent_button_5_Template","ScheduleMenuComponent_button_6_Template","ScheduleMenuComponent_button_7_Template","ScheduleMenuComponent_button_8_Template","ScheduleMenuComponent_button_9_Template","ScheduleMenuComponent_button_10_Template","ScheduleMenuComponent_button_11_Template","ScheduleSubdetailMenuComponent_div_0_button_4_Template_button_click_0_listener","openAddNoteSub","ScheduleSubdetailMenuComponent_div_0_button_5_Template_button_click_0_listener","requestRejectExtensionSubdetail","ScheduleSubdetailMenuComponent_div_0_button_6_Template_button_click_0_listener","grantExtensionSubdetail","ScheduleSubdetailMenuComponent_div_0_button_7_Template_button_click_0_listener","ScheduleSubdetailMenuComponent_div_0_button_8_Template_button_click_0_listener","openCompleteSubdetail","completedSubdetail","ScheduleSubdetailMenuComponent_div_0_button_1_Template","ScheduleSubdetailMenuComponent_div_0_button_4_Template","ScheduleSubdetailMenuComponent_div_0_button_5_Template","ScheduleSubdetailMenuComponent_div_0_button_6_Template","ScheduleSubdetailMenuComponent_div_0_button_7_Template","ScheduleSubdetailMenuComponent_div_0_button_8_Template","ScheduleSubdetailMenuComponent","ScheduleSubdetailMenuComponent_Template","ScheduleSubdetailMenuComponent_div_0_Template","mainProperty","subdetailProperty","ScheduleTabCellComponent_div_0_ng_container_1_div_4_div_2_Template","ScheduleTabCellComponent_div_0_ng_container_1_div_3_Template","ScheduleTabCellComponent_div_0_ng_container_1_div_4_Template","mainPropertyName","ScheduleTabCellComponent_div_0_ng_template_2_div_0_div_2_Template","ScheduleTabCellComponent_div_0_ng_template_2_div_0_Template","ScheduleTabCellComponent_div_0_ng_template_2_div_3_Template","ScheduleTabCellComponent_div_0_ng_container_1_Template","ScheduleTabCellComponent_div_0_ng_template_2_Template","hutchCondition","ScheduleTabCellComponent_div_1_ng_container_1_div_3_Template_notes_delete_1_listener","deleteNoteSub","ScheduleTabCellComponent_div_1_ng_container_1_Template_notes_delete_2_listener","ScheduleTabCellComponent_div_1_ng_container_1_div_3_Template","ScheduleTabCellComponent_div_1_ng_template_2_div_0_Template_notes_delete_1_listener","ScheduleTabCellComponent_div_1_ng_template_2_div_0_Template","ScheduleTabCellComponent_div_1_ng_template_2_Template_notes_delete_2_listener","ScheduleTabCellComponent_div_1_ng_container_1_Template","ScheduleTabCellComponent_div_1_ng_template_2_Template","ScheduleTabCellComponent","isSubdetail","dateRegex","parsedDate","ScheduleTabCellComponent_Template","ScheduleTabCellComponent_div_0_Template","ScheduleTabCellComponent_div_1_Template","SchedulesCreate","SchedulesUpdate","SchedulesDelete","colorCompletedCol","getCellColor","hutchGreaterThanHutchFunctional","ScheduleTabComponent_mat_header_cell_10_span_1_Template","showTypeCol","hutchKeyWord","functionalKeyWord","ScheduleTabComponent_mat_cell_11_schedule_tab_cell_1_Template","ScheduleTabComponent_mat_cell_11_schedule_tab_cell_2_Template","getNextDueTitle","ScheduleStatusTime","ScheduleTabComponent_mat_cell_32_div_1_Template","ScheduleTabComponent_mat_cell_32_div_2_Template","row_r43","getRowPosition","ScheduleTabComponent","serviceNotes","serviceSubdetailNotes","showFilter","showHeader","ScheduleNoteType","iteraciones","messageTime","closeToTop","refreshLocations","resourceTypesArray","locationsByTab","tabId","updateScheduleData","schedulesData","changeSort","objectType","sortByDueDate","localeCompare","applyFilterSchedule","getLocationsByTab","addSchedule","acquaintSchedule","scheduleSubdetailId","openRequestExtension","resultSch","openRejectExtension","scheduleIndex","allSchedules","getLocationsIdBySchedules","updateScheduleStatus","scheduleSubdetail","changeStatusSubdetail","editScheduledFor","lastSubdetail","updateSubdetailStatus","schedulechange","nextStatus","changeCompleted","showCompleted","sortNotesDesc","normalizedData","normalizedFilter","scheduleCloned","nextDueToSort","subDetail","rowColor","diffDates","UTC","diffInDays","dateAbsoluteValue","Grace","ExtensionGranted","Expired","snotes","ScheduleNoteService","ScheduleSubdetailNoteService","ScheduleTabComponent_Query","ScheduleTabComponent_Template_mat_table_matSortChange_2_listener","ScheduleTabComponent_mat_header_cell_4_Template","ScheduleTabComponent_mat_cell_5_Template","ScheduleTabComponent_mat_header_cell_7_Template","ScheduleTabComponent_mat_cell_8_Template","ScheduleTabComponent_mat_header_cell_10_Template","ScheduleTabComponent_mat_cell_11_Template","ScheduleTabComponent_mat_header_cell_13_Template","ScheduleTabComponent_mat_cell_14_Template","ScheduleTabComponent_mat_header_cell_16_Template","ScheduleTabComponent_mat_cell_17_Template","ScheduleTabComponent_mat_header_cell_19_Template","ScheduleTabComponent_mat_cell_20_Template","ScheduleTabComponent_mat_header_cell_22_Template","ScheduleTabComponent_mat_cell_23_Template","ScheduleTabComponent_mat_header_cell_25_Template","ScheduleTabComponent_mat_cell_26_Template","ScheduleTabComponent_mat_header_cell_28_Template","ScheduleTabComponent_mat_cell_29_Template","ScheduleTabComponent_mat_header_cell_31_Template","ScheduleTabComponent_mat_cell_32_Template","ScheduleTabComponent_mat_header_row_33_Template","ScheduleTabComponent_mat_row_34_Template","SchedulesV2Component_filter_box_21_Template_filter_box_changed_0_listener","SchedulesV2Component_mat_list_item_22_Template_mat_list_item_click_0_listener","SchedulesV2Component_mat_list_item_22_span_1_Template","SchedulesV2Component_mat_list_item_23_Template_mat_list_item_click_0_listener","SchedulesV2Component_mat_list_item_24_Template_mat_list_item_click_0_listener","SchedulesV2Component_mat_list_item_25_Template_mat_list_item_click_0_listener","openEditMessage","SchedulesV2Component_mat_list_item_27_Template_mat_list_item_click_0_listener","SchedulesV2Component_mat_list_item_27_span_1_Template","SchedulesV2Component_mat_list_item_28_Template_mat_list_item_click_0_listener","SchedulesV2Component_mat_list_item_28_span_1_Template","tab_r29","SchedulesV2Component_mat_tab_33_ng_template_1_Template","SchedulesV2Component_mat_tab_33_Template_app_schedule_tab_locations_2_listener","SchedulesV2Component_mat_tab_33_Template_app_schedule_tab_loading_2_listener","refreshData","scheduleService","serviceUserStatus","serviceRoleStatus","routeLocation","vs","isReminderTestActive","scheduleTabs","tabName","scheduleType$","scheduleTypeSubs","loadCustomTabs","scheduleTab","tabChanged","tabChangeEvent","textLabel","remindersTabSelected","newRoute","replaceState","reminderTab","getUserStatusByStatus","getRolStatusByStatus","readByStatus","UserScheduleStatusService","RoleScheduleStatusService","SchedulesV2Component_Query","SchedulesV2Component_Template_button_click_3_listener","SchedulesV2Component_Template_mat_slide_toggle_change_13_listener","SchedulesV2Component_Template_mat_sidenav_mouseenter_16_listener","SchedulesV2Component_Template_mat_sidenav_mouseleave_16_listener","SchedulesV2Component_mat_icon_20_Template","SchedulesV2Component_filter_box_21_Template","SchedulesV2Component_mat_list_item_22_Template","SchedulesV2Component_mat_list_item_23_Template","SchedulesV2Component_mat_list_item_24_Template","SchedulesV2Component_mat_list_item_25_Template","SchedulesV2Component_mat_list_item_27_Template","SchedulesV2Component_mat_list_item_28_Template","SchedulesV2Component_Template_mat_tab_group_selectedTabChange_32_listener","SchedulesV2Component_Template_mat_tab_group_selectedIndexChange_32_listener","SchedulesV2Component_mat_tab_33_Template","SchedulesV2Component_ng_template_35_Template","SchedulesV2Component_Template_app_reminder_tab_loading_36_listener","SchedulesV2Component_overlay_loading_37_Template","GenericHttpService","schedTypeDocType","rootURL","getFromDocumentTypeId","controlName","getPrivileges","CreateSchedule","EditABSI","EditEPS","EditTOCA","EditABCRS","EditRSS","EditSRVIS","CompleteABSI","CompleteEPS","CompleteTOCA","CompleteABCRS","CompleteRSS","CompleteSRVIS","CreateNoteABSI","CreateNoteEPS","CreateNoteTOCA","CreateNoteABCRS","CreateNoteRSS","CreateNoteSRVIS","RequestExtensionABSI","RequestExtensionEPS","RequestExtensionTOCA","RequestExtensionABCRS","RequestExtensionRSS","RequestExtensionSRVIS","GrantScheduleExtension","SubscribePeopleRequestExtension","DeleteReminder","EditReminderABSI","EditReminderEPS","EditReminderTOCA","EditReminderABCRS","EditReminderRSS","EditReminderSRVIS","AddReminderABSI","AddReminderEPS","AddReminderTOCA","AddReminderABCRS","AddReminderRSS","AddReminderSRVIS","SubscribePeopleReminder","RefuseScheduleExtension","RemoveSchedule","EditScheduledForSRVIS","EditScheduledFor","validateCommons","ScheduleRemindersCreate","ScheduleRemindersUpdate","ScheduleRemindersDelete","ScheduleRemindersStateModel","ScheduleRemindersState","strefresh","stcreate","stupdate","stdelete","ScheduleRemindersActions","ScheduleRemindersStoreAndListenersService","SCHEDULE_REMINDERS","ScheduleSubtypesCreate","ScheduleSubtypesUpdate","ScheduleSubtypesDelete","ScheduleSubtypesStateModel","ScheduleSubtypesState","ScheduleSubtypesActions","ScheduleSubtypesStoreAndListenersService","SCHEDULE_SUBTYPES","ScheduleTypesCreate","ScheduleTypesUpdate","ScheduleTypesDelete","ScheduleTypesStateModel","ScheduleTypesState","ScheduleTypesActions","ScheduleTypesStoreAndListenersService","SCHEDULE_TYPES","SchedulesRefreshByID","SchedulesStateModel","SchedulesState","schedulesService","scheduleTypeService","SchedulesActions","SCHEDULES","isSchedulesReminderActive","secondsUntilLiberateSCF","secondsUntilMessageSCF","secondsUntilLiberateRSSWA","secondsUntilMessageRSSWA","secondsUntilLiberatePPSTB","secondsUntilMessagePPSTB","secondsUntilLiberateEB","secondsUntilMessageEB","scfResult","scfMResult","rsswaResult","rsswaMResult","ppstbResult","ppstbMResult","ebResult","ebMResult","siteConf","siteconf","SiteConfigurationComponent_Template","SiteConfigurationComponent_mat_progress_bar_4_Template","SiteConfigurationComponent_Template_button_click_34_listener","SiteConfigurationComponent_Template_button_click_36_listener","TemplateSideComponent_mat_cell_10_mat_icon_3_Template","TemplateSideComponent_mat_row_18_Template_mat_row_click_0_listener","TemplateSideComponent","createSCF","TemplateSideComponent_Query","TemplateSideComponent_Template_mat_slide_toggle_change_3_listener","TemplateSideComponent_Template_mat_slide_toggle_ngModelChange_3_listener","TemplateSideComponent_mat_header_cell_9_Template","TemplateSideComponent_mat_cell_10_Template","TemplateSideComponent_mat_header_cell_12_Template","TemplateSideComponent_mat_cell_13_Template","TemplateSideComponent_mat_header_cell_15_Template","TemplateSideComponent_mat_cell_16_Template","TemplateSideComponent_mat_header_row_17_Template","TemplateSideComponent_mat_row_18_Template","TemplateComponent_mat_form_field_15_Template_input_ngModelChange_3_listener","TemplateComponent_div_19_Template_mat_slide_toggle_ngModelChange_1_listener","TemplateComponent_div_19_Template_mat_slide_toggle_change_1_listener","TemplateComponent_filter_box_27_Template_filter_box_changed_0_listener","TemplateComponent_Query","TemplateComponent_scroll_HostBindingHandler","TemplateComponent_Template_button_click_3_listener","TemplateComponent_mat_form_field_15_Template","TemplateComponent_mat_form_field_17_Template","TemplateComponent_div_19_Template","TemplateComponent_div_20_Template","TemplateComponent_Template_mat_sidenav_mouseenter_22_listener","TemplateComponent_Template_mat_sidenav_mouseleave_22_listener","TemplateComponent_mat_icon_26_Template","TemplateComponent_filter_box_27_Template","TemplateComponent_overlay_loading_36_Template","AcceleratorLocationChipsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","location_r5","removed","AcceleratorLocationChipsComponent_mat_chip_row_6_mat_icon_2_Template","location_r11","AcceleratorLocationChipsComponent_mat_optgroup_11_mat_option_1_Template","group_r9","AcceleratorLocationChipsComponent","onKeyup","taget","AcceleratorLocationChipsComponent_Template","AcceleratorLocationChipsComponent_mat_chip_row_6_Template","AcceleratorLocationChipsComponent_Template_input_keyup_7_listener","AcceleratorLocationChipsComponent_Template_mat_autocomplete_optionSelected_9_listener","AcceleratorLocationChipsComponent_mat_optgroup_11_Template","AddRelatedLinkDocumentComponent_div_11_Template_button_click_1_listener","pasteFromAPL","AddRelatedLinkDocumentComponent_mat_form_field_18_Template_textarea_ngModelChange_3_listener","relatedLinkDocument","youMustEnterAValidaValue","AddRelatedLinkDocumentComponent_div_19_Template_file_upload_v2_fileIDChange_1_listener","AddRelatedLinkDocumentComponent_div_19_Template_file_upload_v2_fileChange_1_listener","AddRelatedLinkDocumentComponent_div_19_Template_file_upload_v2_processingFileChange_1_listener","AddRelatedLinkDocumentComponent_button_24_Template_button_click_0_listener","textCtrl","AddRelatedLinkDocumentComponent_button_25_Template_button_click_0_listener","AddRelatedLinkDocumentComponent","messageService","addRelatedDocumentOrLink","documentNameOrHyperlink","clipboardText","readText","clipboardFromAPL","optionChange","clipboardContent","AddRelatedLinkDocumentComponent_Template","AddRelatedLinkDocumentComponent_Template_mat_select_ngModelChange_6_listener","AddRelatedLinkDocumentComponent_Template_mat_select_selectionChange_6_listener","AddRelatedLinkDocumentComponent_div_11_Template","AddRelatedLinkDocumentComponent_Template_textarea_ngModelChange_15_listener","AddRelatedLinkDocumentComponent_mat_form_field_18_Template","AddRelatedLinkDocumentComponent_div_19_Template","AddRelatedLinkDocumentComponent_Template_button_click_22_listener","AddRelatedLinkDocumentComponent_button_24_Template","AddRelatedLinkDocumentComponent_button_25_Template","DocumentNameOrHyperlinkPlaceholder","WebAddressPlaceholder","AddRelatedLinkComponent_Template","AddRelatedLinkComponent_Template_textarea_ngModelChange_8_listener","AddRelatedLinkComponent_Template_textarea_ngModelChange_14_listener","AddRelatedLinkComponent_Template_button_click_19_listener","AddRelatedLinkComponent_Template_button_click_21_listener","CancelDialogComponent_Template","CancelDialogComponent_Template_textarea_ngModelChange_14_listener","CancelDialogComponent_Template_button_click_17_listener","CancelDialogComponent_Template_button_click_19_listener","debounceTime","CatalogHistoryNavigationComponent_mat_slider_9_Template_input_ngModelChange_1_listener","catalogInfo","CatalogHistoryNavigationComponent","selectedAccelerator","indexSubject","sliderCtrl","moveOnHistory","FIRST","LAST","CatalogHistoryNavigationComponent_Template","CatalogHistoryNavigationComponent_Template_button_click_2_listener","CatalogHistoryNavigationComponent_Template_button_click_5_listener","PREV","CatalogHistoryNavigationComponent_mat_slider_9_Template","CatalogHistoryNavigationComponent_span_10_Template","CatalogHistoryNavigationComponent_div_12_Template","CatalogHistoryNavigationComponent_Template_button_click_14_listener","NEXT","CatalogHistoryNavigationComponent_Template_button_click_17_listener","ActionItemsCreate","ActionItemsUpdate","user_r6","ActionItemEditComponent_mat_radio_button_29_Template_mat_radio_button_change_0_listener","r_r7","Owner","ActionItemEditComponent","_action","ownerCtrl","radioCtrl","quillCtrl","radioOptions","onSelectionChanged","oldRange","onFocus","range","onBlur","saveValues","sectionId","radioControl","quillCrtl","tmpText","textValueSanitized","ownerValue","ownerUserId","ownerName","locationValue","radioValue","duePeriod","saveActionItem","postActionItem","putActionItem","wfTaskId","displayOwner","textEdit","checkNoChanges","ownerSelected","ownerChanged","locationChanged","onOwnerChange","ActionItemEditComponent_Query","ActionItemEditComponent_Template_comments_box_textChanged_8_listener","ActionItemEditComponent_Template_input_keyup_15_listener","ActionItemEditComponent_Template_input_change_15_listener","ActionItemEditComponent_Template_mat_autocomplete_optionSelected_17_listener","ActionItemEditComponent_mat_option_20_Template","ActionItemEditComponent_Template_input_change_24_listener","ActionItemEditComponent_mat_radio_button_29_Template","ActionItemEditComponent_div_31_Template","ActionItemEditComponent_Template_button_click_33_listener","ActionItemEditComponent_Template_button_click_37_listener","ActionItemsDelete","r_r4","ActionItemComponent_button_24_Template_button_click_0_listener","ActionItemComponent_button_25_Template_button_click_0_listener","ActionItemComponent","ActionItemComponent_Query","ActionItemComponent_mat_radio_button_21_Template","ActionItemComponent_button_24_Template","ActionItemComponent_button_25_Template","readById","readBySection","readBySectionNumber","readByTask","readByForm","AbsiId","ActionItemsUpdateByForm","ActionItemsStateModel","ActionItemsState","ActionItemsService","updateBySection","updateByForm","ActionItemsActions","AbisId","CATLACTIONITEMS","action_r2","displaySection","CatlReportComponent_Template","CatlReportComponent_Template_button_click_22_listener","CatlReportComponent_mat_progress_bar_25_Template","CatlReportComponent_div_27_Template","actionItem_r1","CatlComponent","catlChanged","isActionLoading","builder","CatlComponent_Template","CatlComponent_div_0_Template","DocumentChipsComponent_mat_chip_0_Template_mat_chip_click_0_listener","c_r1","shadow","DocumentChipsComponent","DocumentChipsComponent_Template","DocumentChipsComponent_mat_chip_0_Template","ClBaseComponent","ButtonSignatureDuplicateComponent_button_1_Template_button_click_0_listener","removeDuplicateEvent","ButtonSignatureDuplicateComponent_button_2_Template_button_click_0_listener","duplicateEvent","ButtonSignatureDuplicateComponent","approveEvent","disapproveEvent","unapproveEvent","copyTask","removeTask","Remove","ButtonSignatureDuplicateComponent_Template","ButtonSignatureDuplicateComponent_Template_button_signature_approve_0_listener","ButtonSignatureDuplicateComponent_Template_button_signature_unapprove_0_listener","ButtonSignatureDuplicateComponent_Template_button_signature_disapprove_0_listener","ButtonSignatureDuplicateComponent_button_1_Template","ButtonSignatureDuplicateComponent_button_2_Template","showApprove","showUnapprove","showDisapprove","TaskDuplicateResource","ButtonSignatureRadioComponent_div_0_mat_radio_button_6_Template_mat_radio_button_change_0_listener","radioChange","ButtonSignatureRadioComponent_div_0_button_10_Template_button_click_0_listener","getTooltip","ButtonSignatureRadioComponent_div_0_mat_radio_button_6_Template","ButtonSignatureRadioComponent_div_0_role_chips_7_Template","ButtonSignatureRadioComponent_div_0_mat_chip_row_8_Template","ButtonSignatureRadioComponent_div_0_button_10_Template","ButtonSignatureRadioComponent_div_0_span_16_Template","ButtonSignatureRadioComponent_div_0_span_22_Template","radioQuestion","buttonEnabled","ButtonSignatureRadioComponent","wrapperWidth","wrapperTitle","myControl","headLeft","headRight","radioSelected","ButtonSignatureRadioComponent_HostBindings","ButtonSignatureRadioComponent_div_0_Template","ButtonSignatureComponent_div_0_button_9_Template_button_click_0_listener","ButtonSignatureComponent_div_0_button_10_Template_button_click_0_listener","ButtonSignatureComponent_div_0_role_chips_6_Template","ButtonSignatureComponent_div_0_mat_chip_row_7_Template","ButtonSignatureComponent_div_0_button_9_Template","ButtonSignatureComponent_div_0_button_10_Template","ButtonSignatureComponent_div_0_span_16_Template","ButtonSignatureComponent_div_0_span_22_Template","ButtonSignatureComponent","ButtonSignatureComponent_HostBindings","ButtonSignatureComponent_div_0_Template","MatCheckboxWithRolesComponent","CheckboxSignatureComponent","emit_results","matCheckbox","CheckboxSignatureComponent_Query","CheckboxSignatureComponent_mat_chip_row_7_Template","CheckboxSignatureComponent_Template_mat_checkbox_with_roles_change_8_listener","CheckboxSignatureComponent_span_14_Template","CheckboxSignatureComponent_span_20_Template","QuestionSignatureComponent","ClCloseActionComponent","ClCheckboxComponent","ClCheckboxAndRadioComponent","ClNoteComponent","ClScheduleAndCheckboxComponent","ClCheckboxAndTextInputComponent","ClCommentsComponent","ClCheckboxMultipleComponent","ClEditorScheduleComponent","ClEditorStatusComponent","ClEditorTagInfoComponent","ClEditorPlaceholderSelectComponent","ClEditorRadioOptionsComponent","ClEditorCheckboxOptionsComponent","ClEditorTextboxOptionsComponent","ClEditorLocationComponent","ClEditorColorsComponent","ClEditorBRATOIComponent","ClEditorSublocationsComponent","ClEditorTableHeadersComponent","ClEditorImageComponent","ClEditorHideDisableToggleComponent","ClEditorPlaceholderOptionsComponent","ClEditorCheckboxRolesSelectionComponent","ClEditorCheckboxRolesComponent","ClCheckboxAndCommentsComponent","ClCatlComponent","ClScheduleAbsiComponent","ClCheckboxMultipleWithTextBoxComponent","ClSubtitleComponent","ClMultipleTextboxComponent","ClShieldingsComponent","ClTextComponent","ClOlogComponent","ClStatusChangeComponent","ClRadMetersComponent","ClRadMetersAddComponent","ClImageUploadComponent","ClImageUploadTableComponent","ClImageUploadTableDataComponent","ClImageUploadInfoComponent","ClEditorTableChannelsAddComponent","ClLocationComponent","ClBRATOIComponent","ClCheckboxMultipleSignComponent","ClCheckboxRadioLocationComponent","ClRadioPlaceholderCondComponent","ClRadMonitorComponent","ClRadLocationComponent","ClRestrictionsComponent","OpApprovalWChecklistsComponent","ChecklistStatusComponent","ClRadMonitorDueDateComponent","ClEditorRadMonitorsComponent","ClEditorRadLocationsComponent","ClEditorStatusChangeComponent","ClEditorConditionsHelpComponent","ClEditorComponentHelpComponent","PlaceholderHighlightPipe","RoleSelectionComponent","CommentsBoxModule","RoleChipsComponent","MatCheckboxWithLabelComponent","WaitingDotsComponent","WaitingTextComponent","getValueObjects","valueString","textBefore","textAfter","textAfter2","showCancel","ClBaseComponent_Template","styles","blRequiringApprovals","blRequiringApprovals$","blRequiringApprovalSubscription","getBlRequiring","ClBRATOIComponent_Template","ClBRATOIComponent_Template_mat_checkbox_with_roles_change_18_listener","ClCatlComponent_div_8_Template_div_click_0_listener","_catl","ClCatlComponent_Query","ClCatlComponent_div_8_Template","ClCatlComponent_Template_catl_catlChanged_10_listener","ClCheckboxAndCommentsComponent_mat_radio_group_15_mat_radio_button_1_Template_mat_radio_button_change_0_listener","r_r3","ClCheckboxAndCommentsComponent_mat_radio_group_15_Template_mat_radio_group_ngModelChange_0_listener","ClCheckboxAndCommentsComponent_mat_radio_group_15_mat_radio_button_1_Template","ClCheckboxAndCommentsComponent_div_16_div_11_Template_div_click_0_listener","ClCheckboxAndCommentsComponent_div_16_Template_comments_box_textChanged_4_listener","ClCheckboxAndCommentsComponent_div_16_div_11_Template","ClCheckboxAndCommentsComponent_div_16_Template_catl_catlChanged_13_listener","applies","textBeforeSanitized","appliesChecked","ClCheckboxAndCommentsComponent_Query","ClCheckboxAndCommentsComponent_Template_mat_checkbox_with_roles_change_13_listener","ClCheckboxAndCommentsComponent_mat_radio_group_15_Template","ClCheckboxAndCommentsComponent_div_16_Template","ClCheckboxAndRadioComponent_mat_radio_button_14_Template_mat_radio_button_change_0_listener","r_r5","ClCheckboxAndRadioComponent_div_16_Template_mat_checkbox_with_roles_change_1_listener","checkboxEnabled","ClCheckboxAndRadioComponent_Template","ClCheckboxAndRadioComponent_mat_label_7_Template","ClCheckboxAndRadioComponent_legend_11_Template","ClCheckboxAndRadioComponent_legend_12_Template","ClCheckboxAndRadioComponent_mat_radio_button_14_Template","ClCheckboxAndRadioComponent_div_16_Template","ClCheckboxAndTextInputComponent_span_9_Template_span_click_0_listener","enableEdit","ɵɵpureFunction5","textTooltip","ClCheckboxAndTextInputComponent_span_10_mat_form_field_1_Template_input_blur_1_listener","inputBlurred","ClCheckboxAndTextInputComponent_span_10_mat_form_field_1_Template_input_ngModelChange_1_listener","ClCheckboxAndTextInputComponent_span_10_mat_form_field_1_Template_input_keyup_1_listener","keyup","ClCheckboxAndTextInputComponent_span_10_mat_form_field_1_Template_mat_icon_click_3_listener","ClCheckboxAndTextInputComponent_span_10_mat_form_field_1_Template_mat_icon_click_5_listener","cancelEdit","ClCheckboxAndTextInputComponent_span_10_mat_form_field_1_Template","ClCheckboxAndTextInputComponent_mat_checkbox_with_roles_14_Template_mat_checkbox_with_roles_change_0_listener","checkboxDisable","txtInput","ClCheckboxAndTextInputComponent_Query","ClCheckboxAndTextInputComponent_mat_label_7_Template","ClCheckboxAndTextInputComponent_span_9_Template","ClCheckboxAndTextInputComponent_span_10_Template","ClCheckboxAndTextInputComponent_mat_label_12_Template","ClCheckboxAndTextInputComponent_mat_checkbox_with_roles_14_Template","ClCheckboxAndTextInputComponent_role_chips_15_Template","ClCheckboxMultipleSignComponent_div_14_Template_mat_checkbox_with_roles_change_1_listener","o_r2","checkboxDisabled","getValueString","userSignedOption","ClCheckboxMultipleSignComponent_Template","ClCheckboxMultipleSignComponent_mat_icon_12_Template","ClCheckboxMultipleSignComponent_div_14_Template","ClCheckboxMultipleWithTextBoxComponent_div_15_Template_mat_checkbox_with_label_change_1_listener","getConfiguration","allowMultiple","multiple","allRequired","ClCheckboxMultipleWithTextBoxComponent_Template","ClCheckboxMultipleWithTextBoxComponent_mat_icon_13_Template","ClCheckboxMultipleWithTextBoxComponent_div_15_Template","ClCheckboxMultipleWithTextBoxComponent_Template_comments_box_textChanged_17_listener","ClCheckboxMultipleComponent_div_15_Template_mat_checkbox_with_label_change_1_listener","isMobileDevice","ClCheckboxMultipleComponent_Template","ClCheckboxMultipleComponent_mat_icon_13_Template","ClCheckboxMultipleComponent_div_15_Template","ClCheckboxRadioLocationComponent_mat_radio_button_14_Template_mat_radio_button_change_0_listener","ClCheckboxRadioLocationComponent_div_16_Template_mat_checkbox_with_roles_change_1_listener","sendOptions","sendCondition","setRadioOptions","ClCheckboxRadioLocationComponent_Template","ClCheckboxRadioLocationComponent_mat_label_7_Template","ClCheckboxRadioLocationComponent_legend_11_Template","ClCheckboxRadioLocationComponent_legend_12_Template","ClCheckboxRadioLocationComponent_mat_radio_button_14_Template","ClCheckboxRadioLocationComponent_div_16_Template","ClCheckboxComponent_mat_checkbox_with_roles_10_Template_mat_checkbox_with_roles_change_0_listener","ClCheckboxComponent_Template","ClCheckboxComponent_mat_checkbox_with_roles_10_Template","ClCloseActionComponent_div_1_Template_mat_slide_toggle_ngModelChange_2_listener","isChecked","ClCloseActionComponent_div_1_span_9_Template","ClCloseActionComponent_div_1_span_14_Template","ClCloseActionComponent_div_1_span_15_Template","toggleLabel","ClCloseActionComponent_button_13_Template_button_click_0_listener","buttonDisabled","getScheduleByID","wfActionApprove","getDocumentTypeByWFTableID","forceClose","saveChecklistStatus","updateScheduleStatusSubdetail","wfActionUnapprove","newSchedule","ClCloseActionComponent_Template","ClCloseActionComponent_div_1_Template","ClCloseActionComponent_button_13_Template","ClCloseActionComponent_div_14_Template","ClCommentsComponent_Template","ClCommentsComponent_Template_comments_box_textChanged_6_listener","blRequiring_r1","sendBRCRole","blRequiringSelected","blRequiring","ClEditorBRATOIComponent_Template","ClEditorBRATOIComponent_Template_mat_select_ngModelChange_2_listener","ClEditorBRATOIComponent_Template_mat_select_selectionChange_2_listener","ClEditorBRATOIComponent_mat_option_3_Template","ClEditorCheckboxOptionsComponent_div_10_Template_div_click_0_listener","ClEditorCheckboxOptionsComponent_div_11_div_8_Template_div_click_0_listener","o_r5","ClEditorCheckboxOptionsComponent_div_11_Template_input_ngModelChange_3_listener","ClEditorCheckboxOptionsComponent_div_11_Template_input_blur_3_listener","ClEditorCheckboxOptionsComponent_div_11_Template_input_ngModelChange_6_listener","ClEditorCheckboxOptionsComponent_div_11_Template_input_blur_6_listener","ClEditorCheckboxOptionsComponent_div_11_div_8_Template","ClEditorCheckboxOptionsComponent_mat_checkbox_17_Template_mat_checkbox_ngModelChange_0_listener","ClEditorCheckboxOptionsComponent_mat_checkbox_17_Template_mat_checkbox_change_0_listener","chkChange","tmpOptions","checkbox","arry","duplicateElements","opt","ClEditorCheckboxOptionsComponent_Template","ClEditorCheckboxOptionsComponent_div_10_Template","ClEditorCheckboxOptionsComponent_div_11_Template","ClEditorCheckboxOptionsComponent_Template_mat_checkbox_ngModelChange_14_listener","ClEditorCheckboxOptionsComponent_Template_mat_checkbox_change_14_listener","ClEditorCheckboxOptionsComponent_mat_checkbox_17_Template","ClEditorCheckboxRolesSelectionComponent_mat_chip_row_5_Template_mat_chip_row_removed_0_listener","role_r6","roleOptionChanged","roleOption","valueChanged","onKeyUp","ClEditorCheckboxRolesSelectionComponent_Template","ClEditorCheckboxRolesSelectionComponent_mat_chip_row_5_Template","ClEditorCheckboxRolesSelectionComponent_Template_input_ngModelChange_6_listener","ClEditorCheckboxRolesSelectionComponent_Template_input_keyup_6_listener","ClEditorCheckboxRolesSelectionComponent_Template_input_matChipInputTokenEnd_6_listener","ClEditorCheckboxRolesSelectionComponent_Template_mat_autocomplete_optionSelected_9_listener","ClEditorCheckboxRolesSelectionComponent_mat_option_11_Template","ClEditorCheckboxRolesComponent_div_3_div_3_Template_div_click_0_listener","o_r3","ClEditorCheckboxRolesComponent_div_3_Template_cl_editor_checkbox_roles_selection_roleOptionChanged_2_listener","roleOptionsChanged","ClEditorCheckboxRolesComponent_div_3_div_3_Template","ClEditorCheckboxRolesComponent_button_4_Template_button_click_0_listener","ClEditorCheckboxRolesComponent_Template","ClEditorCheckboxRolesComponent_mat_label_1_Template","ClEditorCheckboxRolesComponent_div_3_Template","ClEditorCheckboxRolesComponent_button_4_Template","ClEditorColorsComponent_mat_radio_button_4_Template_mat_radio_button_change_0_listener","colorChange","r_r1","colorChanged","colorOptions","setColor","ClEditorColorsComponent_Template","ClEditorColorsComponent_Template_mat_radio_group_ngModelChange_3_listener","ClEditorColorsComponent_mat_radio_button_4_Template","ClEditorComponentHelpComponent_div_7_Template_comments_box_textChanged_1_listener","helpText","ClEditorComponentHelpComponent_Template","ClEditorComponentHelpComponent_Template_button_click_4_listener","ClEditorComponentHelpComponent_div_7_Template","ClEditorConditionsHelpComponent_Template","ClEditorConditionsHelpComponent_Template_button_click_6_listener","hideDisable","ClEditorHideDisableToggleComponent_Template","ClEditorHideDisableToggleComponent_Template_mat_slide_toggle_change_0_listener","ClEditorHideDisableToggleComponent_Template_mat_slide_toggle_ngModelChange_0_listener","ClEditorImageComponent_button_5_Template_button_click_0_listener","ClEditorImageComponent_div_10_div_2_Template_div_click_0_listener","img_r5","ClEditorImageComponent_div_10_div_2_Template","image","_dMessage","imagesList","images","upload","imageList","imageId","nextId","render","FileReader","onload","img","Image","src","imageWidth","imageHeight","readAsDataURL","myuploader","uploader","listImages","_id","uniqueIds","arrayIds","n1","n2","ClEditorImageComponent_Query","ClEditorImageComponent_button_5_Template","ClEditorImageComponent_Template_input_change_7_listener","ClEditorImageComponent_div_10_Template","location_r6","ClEditorLocationComponent_mat_optgroup_8_mat_option_1_Template","group_r4","All","resourceGroups","ClEditorLocationComponent_Template","ClEditorLocationComponent_Template_input_keyup_3_listener","ClEditorLocationComponent_Template_mat_autocomplete_optionSelected_5_listener","ClEditorLocationComponent_mat_optgroup_8_Template","ResourceGroup","ClEditorPlaceholderOptionsComponent_div_12_Template_div_click_0_listener","option_r7","ClEditorPlaceholderOptionsComponent_div_14_div_12_Template_div_click_0_listener","o_r4","ClEditorPlaceholderOptionsComponent_div_14_Template_input_ngModelChange_3_listener","ClEditorPlaceholderOptionsComponent_div_14_Template_input_keyup_3_listener","ClEditorPlaceholderOptionsComponent_div_14_Template_mat_select_ngModelChange_6_listener","operator","ClEditorPlaceholderOptionsComponent_div_14_Template_mat_select_selectionChange_6_listener","ClEditorPlaceholderOptionsComponent_div_14_mat_option_7_Template","ClEditorPlaceholderOptionsComponent_div_14_Template_input_ngModelChange_10_listener","ClEditorPlaceholderOptionsComponent_div_14_Template_input_keyup_10_listener","ClEditorPlaceholderOptionsComponent_div_14_div_12_Template","operators","getOperators","ClEditorPlaceholderOptionsComponent_Template","ClEditorPlaceholderOptionsComponent_div_12_Template","ClEditorPlaceholderOptionsComponent_div_14_Template","ClEditorPlaceholderSelectComponent_mat_radio_button_4_Template_mat_radio_button_change_0_listener","o_r1","getPlaceholders","ClEditorPlaceholderSelectComponent_Template","ClEditorPlaceholderSelectComponent_Template_mat_radio_group_ngModelChange_3_listener","ClEditorPlaceholderSelectComponent_mat_radio_button_4_Template","PlaceholderOption","ClEditorRadLocationsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","radLocation_r5","ClEditorRadLocationsComponent_mat_chip_row_6_mat_icon_3_Template","radLocation_r9","radLocationsCtrl","filterRadLocations","radLocationsList","saveData","onChange","ClEditorRadLocationsComponent_Template","ClEditorRadLocationsComponent_mat_chip_row_6_Template","ClEditorRadLocationsComponent_Template_input_keyup_7_listener","ClEditorRadLocationsComponent_Template_mat_autocomplete_optionSelected_9_listener","ClEditorRadLocationsComponent_mat_option_11_Template","ClEditorRadMonitorsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","radMonitor_r5","ClEditorRadMonitorsComponent_mat_chip_row_6_mat_icon_3_Template","radMonitor_r9","radMonitorsCtrl","radMonitorsSubs","filterRadMonitors","radMonitorsList","ClEditorRadMonitorsComponent_Template","ClEditorRadMonitorsComponent_mat_chip_row_6_Template","ClEditorRadMonitorsComponent_Template_input_matChipInputTokenEnd_7_listener","ClEditorRadMonitorsComponent_Template_input_keyup_7_listener","ClEditorRadMonitorsComponent_Template_mat_autocomplete_optionSelected_9_listener","ClEditorRadMonitorsComponent_mat_option_11_Template","ClEditorRadioOptionsComponent_div_9_Template_div_click_0_listener","ClEditorRadioOptionsComponent_div_11_div_8_Template_div_click_0_listener","ClEditorRadioOptionsComponent_div_11_Template_input_ngModelChange_3_listener","ClEditorRadioOptionsComponent_div_11_Template_input_keyup_3_listener","ClEditorRadioOptionsComponent_div_11_Template_input_ngModelChange_6_listener","ClEditorRadioOptionsComponent_div_11_Template_input_keyup_6_listener","ClEditorRadioOptionsComponent_div_11_div_8_Template","ClEditorRadioOptionsComponent_Template","ClEditorRadioOptionsComponent_div_9_Template","ClEditorRadioOptionsComponent_div_11_Template","type_r2","schedule_r4","displayLocation","ClEditorScheduleComponent_div_4_Template_mat_select_valueChange_3_listener","ClEditorScheduleComponent_div_4_Template_mat_select_selectionChange_3_listener","locationSelected","ClEditorScheduleComponent_div_4_mat_option_4_Template","showLocation","scheduleChanged","subscription1","subscription2","sched1","sched2","scheduleSelected","scheduleObject","ScheduleObject","ClEditorScheduleComponent_Template","ClEditorScheduleComponent_Template_mat_select_valueChange_2_listener","ClEditorScheduleComponent_Template_mat_select_selectionChange_2_listener","ClEditorScheduleComponent_mat_option_3_Template","ClEditorScheduleComponent_div_4_Template","statusSelected","setConfiguration","statusLabel","ClEditorStatusChangeComponent_Template","ClEditorStatusChangeComponent_Template_cl_editor_status_selected_1_listener","ClEditorStatusChangeComponent_Template_role_selection_changed_3_listener","s_r4","ClEditorStatusComponent_mat_option_8_span_1_Template","nochange","sortStatuses","ClEditorStatusComponent_Template","ClEditorStatusComponent_Template_input_keyup_3_listener","ClEditorStatusComponent_Template_mat_autocomplete_optionSelected_5_listener","ClEditorStatusComponent_mat_option_8_Template","ClEditorSublocationsComponent_mat_optgroup_8_mat_option_1_Template","shieldingConfiguration","ShieldingConfiguration","ClEditorSublocationsComponent_Template","ClEditorSublocationsComponent_Template_input_keyup_3_listener","ClEditorSublocationsComponent_Template_mat_autocomplete_optionSelected_5_listener","ClEditorSublocationsComponent_mat_optgroup_8_Template","ClEditorSublocationsComponent_Template_mat_slide_toggle_ngModelChange_9_listener","ClEditorSublocationsComponent_Template_mat_slide_toggle_change_9_listener","ClEditorSublocationsComponent_Template_mat_slide_toggle_ngModelChange_11_listener","ClEditorSublocationsComponent_Template_mat_slide_toggle_change_11_listener","ClEditorTableHeadersComponent_div_7_div_1_div_2_mat_icon_3_Template_mat_icon_click_0_listener","column_r3","headerChange","ClEditorTableHeadersComponent_div_7_div_1_div_2_Template_mat_icon_click_1_listener","ClEditorTableHeadersComponent_div_7_div_1_div_2_mat_icon_3_Template","showSave","ClEditorTableHeadersComponent_div_7_div_1_div_3_mat_icon_1_Template_mat_icon_click_0_listener","moveColumn","ClEditorTableHeadersComponent_div_7_div_1_div_3_mat_icon_3_Template_mat_icon_click_0_listener","ClEditorTableHeadersComponent_div_7_div_1_div_3_mat_icon_1_Template","ClEditorTableHeadersComponent_div_7_div_1_div_3_mat_icon_2_Template","ClEditorTableHeadersComponent_div_7_div_1_div_3_mat_icon_3_Template","ClEditorTableHeadersComponent_div_7_div_1_div_3_mat_icon_4_Template","checkMove","ClEditorTableHeadersComponent_div_7_div_1_div_4_mat_icon_1_Template_mat_icon_click_0_listener","ClEditorTableHeadersComponent_div_7_div_1_div_4_mat_icon_1_Template","ClEditorTableHeadersComponent_div_7_div_1_div_4_mat_icon_2_Template","ClEditorTableHeadersComponent_div_7_div_1_div_5_mat_icon_1_Template_mat_icon_click_0_listener","ClEditorTableHeadersComponent_div_7_div_1_div_5_mat_icon_1_Template","ClEditorTableHeadersComponent_div_7_div_1_div_5_mat_icon_2_Template","ClEditorTableHeadersComponent_div_7_div_1_Template_quill_editor_ngModelChange_1_listener","ClEditorTableHeadersComponent_div_7_div_1_div_2_Template","ClEditorTableHeadersComponent_div_7_div_1_div_3_Template","ClEditorTableHeadersComponent_div_7_div_1_div_4_Template","ClEditorTableHeadersComponent_div_7_div_1_div_5_Template","ClEditorTableHeadersComponent_div_7_div_2_Template_textarea_change_1_listener","ClEditorTableHeadersComponent_div_7_div_2_Template_textarea_ngModelChange_1_listener","ClEditorTableHeadersComponent_div_7_div_1_Template","ClEditorTableHeadersComponent_div_7_div_2_Template","showHtml","ClEditorTableHeadersComponent_div_11_Template_div_click_0_listener","ClEditorTableHeadersComponent_fieldset_30_div_12_div_2_div_6_Template_div_click_0_listener","r_r53","duplicateRow","rowLabel","ClEditorTableHeadersComponent_fieldset_30_div_12_div_2_div_7_Template_div_click_0_listener","deleteRow","ClEditorTableHeadersComponent_fieldset_30_div_12_div_2_div_6_Template","ClEditorTableHeadersComponent_fieldset_30_div_12_div_2_div_7_Template","colorToggle","displayDeleteButtonRow","ClEditorTableHeadersComponent_fieldset_30_div_12_div_2_Template","ClEditorTableHeadersComponent_fieldset_30_Template_button_click_6_listener","addTableRow","ClEditorTableHeadersComponent_fieldset_30_Template_mat_slide_toggle_ngModelChange_10_listener","rowsToggle","ClEditorTableHeadersComponent_fieldset_30_div_12_Template","columnsToggle","channelsToggle","incIMToggle","incIMPosition","defaultDataChannel","pos","columnsBuilder","columnsChecklist","numericFormat","columnsIntegratedMeasurements","columnData","spotRows","posx","posy","spotText","imageid","percX","percY","dataset","rowId","spotid","placeholderCheck","colorize","includeIM","includeIMPos","channels","getRows","spots","calculatedRows","labelRow","displayButton","newConfig","displayDeleteButtonHeader","cantColums","column","columnToUpdate","newName","insertArrayAt","TableColumn","hasNotes","hasData","hasValues","pvData","newId","newRow","deleteSpot","reorderRows","lastId","newDataset","newPosition","columnNames","lastIndex","nextColumnName","prevColumnName","indexColumns","indexChecklist","imageChanged","dataSet","imageIdArray","spotsIdArray","rowsImageId","rowsIds","spotsRowIdTotal","spotsRowIdImageSpots","imageSpotsId","firstImageSpotId","imageSpotsCount","_i","ClEditorTableHeadersComponent_Template","ClEditorTableHeadersComponent_div_7_Template","ClEditorTableHeadersComponent_div_11_Template","ClEditorTableHeadersComponent_Template_div_click_13_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_change_17_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_ngModelChange_17_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_change_20_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_ngModelChange_20_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_change_22_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_ngModelChange_22_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_change_24_listener","ClEditorTableHeadersComponent_Template_mat_slide_toggle_ngModelChange_24_listener","ClEditorTableHeadersComponent_Template_cl_editor_image_changed_29_listener","ClEditorTableHeadersComponent_fieldset_30_Template","rowData","returnTypes","returnType","ClEditorTagInfoComponent_Template","ClEditorTagInfoComponent_Template_button_click_15_listener","ClEditorTagInfoComponent_tr_27_Template","ClEditorTagInfoComponent_tr_28_Template","ClEditorTagInfoComponent_tr_29_Template","ClEditorTagInfoComponent_tr_30_Template","ClEditorTagInfoComponent_tr_31_Template","ClEditorTagInfoComponent_tr_32_Template","ClEditorTagInfoComponent_tr_33_Template","ClEditorTagInfoComponent_tr_34_Template","ClEditorTagInfoComponent_tr_35_Template","ClEditorTagInfoComponent_tr_36_Template","ClEditorTagInfoComponent_tr_37_Template","ClEditorTagInfoComponent_tr_38_Template","Boolean","Sign","Numeric","multi","ClEditorTextboxOptionsComponent_div_7_Template_div_click_0_listener","ClEditorTextboxOptionsComponent_div_8_div_5_Template_div_click_0_listener","ClEditorTextboxOptionsComponent_div_8_Template_input_ngModelChange_3_listener","ClEditorTextboxOptionsComponent_div_8_Template_input_keyup_3_listener","ClEditorTextboxOptionsComponent_div_8_div_5_Template","textbox","ClEditorTextboxOptionsComponent_Template","ClEditorTextboxOptionsComponent_div_7_Template","ClEditorTextboxOptionsComponent_div_8_Template","component_r24","ClEditorComponent_button_23_Template_button_click_0_listener","checkAcceptDisabled","ClEditorComponent_mat_form_field_30_Template_input_ngModelChange_3_listener","ClEditorComponent_div_31_div_11_Template_comments_box_textChanged_1_listener","t1","ClEditorComponent_div_31_div_12_Template_comments_box_textChanged_1_listener","t2","ClEditorComponent_div_31_div_13_Template_comments_box_textChanged_1_listener","t3","ClEditorComponent_div_31_Template_button_click_7_listener","ClEditorComponent_div_31_div_11_Template","ClEditorComponent_div_31_div_12_Template","ClEditorComponent_div_31_div_13_Template","clipboardMessage","ClEditorComponent_div_33_cl_editor_status_7_Template_cl_editor_status_selected_0_listener","actionStatusSelected","ClEditorComponent_div_33_cl_editor_status_14_Template_cl_editor_status_selected_0_listener","ClEditorComponent_div_33_cl_editor_status_21_Template_cl_editor_status_selected_0_listener","ClEditorComponent_div_33_Template_mat_checkbox_ngModelChange_3_listener","ClEditorComponent_div_33_Template_mat_checkbox_change_3_listener","actionChanged","ClEditorComponent_div_33_cl_editor_status_7_Template","ClEditorComponent_div_33_Template_mat_checkbox_ngModelChange_10_listener","ClEditorComponent_div_33_Template_mat_checkbox_change_10_listener","ClEditorComponent_div_33_cl_editor_status_14_Template","ClEditorComponent_div_33_Template_mat_checkbox_ngModelChange_17_listener","ClEditorComponent_div_33_Template_mat_checkbox_change_17_listener","ClEditorComponent_div_33_cl_editor_status_21_Template","ClEditorComponent_div_34_Template_role_selection_deleted_1_listener","ClEditorComponent_div_34_Template_role_selection_selected_1_listener","ClEditorComponent_div_35_Template_cl_editor_placeholder_select_selected_1_listener","_r60","placeHolderSelected","ClEditorComponent_div_36_Template_cl_editor_status_change_changed_1_listener","ClEditorComponent_div_37_Template_cl_editor_rad_locations_changed_1_listener","ClEditorComponent_div_40_cl_editor_hide_disable_toggle_9_Template_cl_editor_hide_disable_toggle_changed_0_listener","ClEditorComponent_div_40_Template_input_ngModelChange_5_listener","ClEditorComponent_div_40_Template_button_click_6_listener","showConditionsHelp","ClEditorComponent_div_40_cl_editor_hide_disable_toggle_9_Template","ClEditorComponent_div_41_Template_input_ngModelChange_4_listener","ClEditorComponent_div_41_Template_button_click_5_listener","showTagInfo","ClEditorComponent_div_42_cl_editor_radio_options_1_Template_cl_editor_radio_options_changed_0_listener","optionsChange","ClEditorComponent_div_42_cl_editor_radio_options_1_Template_cl_editor_radio_options_error_0_listener","ClEditorComponent_div_42_cl_editor_placeholder_options_2_Template_cl_editor_placeholder_options_changed_0_listener","ClEditorComponent_div_42_cl_editor_radio_options_1_Template","ClEditorComponent_div_42_cl_editor_placeholder_options_2_Template","ClEditorComponent_div_43_Template_cl_editor_checkbox_options_changed_1_listener","_r82","ClEditorComponent_div_43_Template_cl_editor_checkbox_options_checkbox_1_listener","ClEditorComponent_div_43_Template_cl_editor_checkbox_options_error_1_listener","ClEditorComponent_div_44_Template_cl_editor_textbox_options_changed_1_listener","_r86","ClEditorComponent_div_45_Template_cl_editor_schedule_scheduleChanged_1_listener","ClEditorComponent_div_46_Template_cl_editor_location_changed_1_listener","ClEditorComponent_div_47_Template_cl_editor_colors_colorChanged_1_listener","ClEditorComponent_div_48_Template_cl_editor_bratoi_changed_1_listener","BRATOIChanged","ClEditorComponent_div_48_Template_cl_editor_bratoi_sendBRCRole_1_listener","setRoleByCode","ClEditorComponent_div_49_Template_cl_editor_sublocations_configurationChanged_1_listener","ClEditorComponent_div_50_Template_mat_expansion_panel_opened_3_listener","noOptions","ClEditorComponent_div_50_Template_mat_expansion_panel_closed_3_listener","ClEditorComponent_div_50_Template_cl_editor_table_headers_changed_6_listener","headersChange","ClEditorComponent_div_51_Template_cl_editor_checkbox_roles_changed_2_listener","overflow","filteredComponents","t4","clean","lastIndexOf","jsonOptions","defaultTag","shieldingSettingsChanged","setOptions","setCondition","filterRoles2","filterControls","channelsData","newConfiguration","placeholderMessage","opacity","timerId","radMonitorConfigChanged","radMonitorConfig","radMeterConfigChanged","tagBox","box","needRoles","hasMultipleRoles","ClEditorComponent_Query","ClEditorComponent_Template_input_ngModelChange_11_listener","ClEditorComponent_Template_input_keyup_11_listener","ClEditorComponent_Template_mat_autocomplete_optionSelected_12_listener","ClEditorComponent_mat_option_14_Template","ClEditorComponent_button_15_Template","ClEditorComponent_Template_button_click_20_listener","ClEditorComponent_button_23_Template","ClEditorComponent_mat_form_field_30_Template","ClEditorComponent_div_31_Template","ClEditorComponent_div_33_Template","ClEditorComponent_div_34_Template","ClEditorComponent_div_35_Template","ClEditorComponent_div_36_Template","ClEditorComponent_div_37_Template","ClEditorComponent_div_40_Template","ClEditorComponent_div_41_Template","ClEditorComponent_div_42_Template","ClEditorComponent_div_43_Template","ClEditorComponent_div_44_Template","ClEditorComponent_div_45_Template","ClEditorComponent_div_46_Template","ClEditorComponent_div_47_Template","ClEditorComponent_div_48_Template","ClEditorComponent_div_49_Template","ClEditorComponent_div_50_Template","ClEditorComponent_div_51_Template","ClEditorComponent_Template_master_control_changed_55_listener","needActions","hasConditions","hasTag","hasMultipleTextboxes","ScheduleAbsi","RADSurveyImageTable","ClImageUploadInfoComponent_div_7_Template_button_click_3_listener","removeImage","ClImageUploadInfoComponent_div_8_Template_button_click_2_listener","ClImageUploadInfoComponent_div_8_Template_input_change_7_listener","canBeDeleted","loadBox","loadContainer","boxPosition","containerPos","mouseClick","mouse","resize","resizeCondMeet","moveCondMeet","offsetLeft","offsetRight","offsetBottom","ClImageUploadInfoComponent_Query","ClImageUploadInfoComponent_Template_div_mousedown_0_listener","ClImageUploadInfoComponent_Template_div_mouseup_0_listener","ClImageUploadInfoComponent_div_6_Template","ClImageUploadInfoComponent_div_7_Template","ClImageUploadInfoComponent_div_8_Template","ClImageUploadInfoComponent_div_9_Template","ClImageUploadInfoComponent_Template_button_click_13_listener","actionType","AddSpot","ImageOptions","ClEditorTableChannelsAddComponent_Template","ClEditorTableChannelsAddComponent_Template_input_change_9_listener","ClEditorTableChannelsAddComponent_span_10_Template","ClEditorTableChannelsAddComponent_mat_error_11_Template","ClEditorTableChannelsAddComponent_mat_error_16_Template","ClEditorTableChannelsAddComponent_Template_button_click_20_listener","ClImageUploadTableDataComponent_div_0_mat_chip_3_Template_mat_chip_removed_0_listener","channel_r5","ClImageUploadTableDataComponent_div_0_mat_chip_3_Template_mat_icon_click_2_listener","ClImageUploadTableDataComponent_div_0_mat_chip_3_Template_mat_icon_click_4_listener","ClImageUploadTableDataComponent_div_0_button_7_Template_button_click_0_listener","paste","ClImageUploadTableDataComponent_div_0_Template_mat_chip_set_cdkDropListDropped_1_listener","ClImageUploadTableDataComponent_div_0_mat_chip_3_Template","ClImageUploadTableDataComponent_div_0_Template_button_click_4_listener","ClImageUploadTableDataComponent_div_0_button_7_Template","channelCopy","pasteAllowed","channel_r21","ClImageUploadTableDataComponent_div_1_mat_icon_5_Template_mat_icon_click_0_listener","updateChannelsConfirm","ClImageUploadTableDataComponent_div_1_span_7_Template_mat_icon_click_1_listener","ClImageUploadTableDataComponent_div_1_div_1_Template","ClImageUploadTableDataComponent_div_1_mat_icon_5_Template","ClImageUploadTableDataComponent_div_1_span_6_Template","ClImageUploadTableDataComponent_div_1_span_7_Template","ClImageUploadTableDataComponent_div_1_div_8_Template","ClImageUploadTableDataComponent_div_1_div_9_Template","channelCopied","channelsUpdated","updateChannel","getPVInfo","updateChannels","pv","updateEnd","orderChannels","ClImageUploadTableDataComponent_Template","ClImageUploadTableDataComponent_div_0_Template","ClImageUploadTableDataComponent_div_1_Template","SelectionModel","ImageActionsIds","ClImageUploadTableComponent_ng_container_6_th_1_div_3_Template_button_click_1_listener","ClImageUploadTableComponent_ng_container_6_th_1_div_2_Template","ClImageUploadTableComponent_ng_container_6_th_1_div_3_Template","col_r6","column_r5","ClImageUploadTableComponent_ng_container_6_td_2_span_1_span_1_Template","columnValue","ɵɵpropertyInterpolate2","row_r15","ClImageUploadTableComponent_ng_container_6_td_2_div_4_Template_quill_editor_ngModelChange_2_listener","ClImageUploadTableComponent_ng_container_6_td_2_div_4_Template_quill_editor_keyup_2_listener","ClImageUploadTableComponent_ng_container_6_td_2_div_4_Template_quill_editor_onEditorCreated_2_listener","editorCreated","ClImageUploadTableComponent_ng_container_6_td_2_div_5_Template_cl_image_upload_table_data_changed_1_listener","channelsChanged","ClImageUploadTableComponent_ng_container_6_td_2_div_5_Template_cl_image_upload_table_data_channelCopied_1_listener","ClImageUploadTableComponent_ng_container_6_td_2_div_5_Template_cl_image_upload_table_data_loading_1_listener","channelsUpdating","checkUpdatedTime","calculateDose","reading","time","ClImageUploadTableComponent_ng_container_6_td_2_div_7_div_2_Template_mat_icon_click_1_listener","addSpot","addingSpot","ClImageUploadTableComponent_ng_container_6_td_2_div_7_div_3_Template_mat_icon_click_1_listener","spotColor","spotClasses","BLUE","ClImageUploadTableComponent_ng_container_6_td_2_div_7_div_2_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_7_div_3_Template","RED","currentRow","ClImageUploadTableComponent_ng_container_6_td_2_div_8_div_1_Template_mat_icon_click_1_listener","addRow","ClImageUploadTableComponent_ng_container_6_td_2_div_8_div_2_Template_mat_icon_click_1_listener","ClImageUploadTableComponent_ng_container_6_td_2_div_8_div_3_Template_mat_icon_click_1_listener","ClImageUploadTableComponent_ng_container_6_td_2_div_8_div_1_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_8_div_2_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_8_div_3_Template","idSpan","ClImageUploadTableComponent_ng_container_6_td_2_Template_td_click_0_listener","ClImageUploadTableComponent_ng_container_6_td_2_Template_td_touch_0_listener","ClImageUploadTableComponent_ng_container_6_td_2_span_1_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_2_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_3_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_4_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_5_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_6_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_7_Template","ClImageUploadTableComponent_ng_container_6_td_2_div_8_Template","rowSpan","ɵɵpureFunctionV","selectedCellsState","ClImageUploadTableComponent_ng_container_6_th_1_Template","ClImageUploadTableComponent_ng_container_6_td_2_Template","row_r82","_c11","newSpot","rowDeleted","spotDeleted","tableChanged","setRow","rowDuplicated","smallId","fitId","largeId","datasetExt","currentColumn","SpotClass","IdSpotAdd","FIRST_EDITABLE_ROW","LAST_EDITABLE_ROW","FIRST_EDITABLE_COL","LAST_EDITABLE_COL","newCellValue","columnInit","columnSpot","columnActions","intersectionObservers","resizeObservers","mutationObservers","imageMaxWidth","indent","shiftEnter","shiftKey","customImageResize","imageCompressor","quality","imageType","debug","createSelectedStates","getRandomInt","scrollEvent","observer","disconnect","scrollTimeout","incChannels","chklistCols","checkChannelData","processData","columsDisplayed","rowsSameId","pvDataRows","sdate","tooltipMessage","updatePVData","getPVData","updateConfiguration","ch","roundNumber","isBuilderColumn","spotSpan","colsBuilder","cancelAddSpot","setEditorSize","textarea","col","cellsType","setSelection","getLength","enableColums","countBuilderColumn","enableColumnsBuilder","tableMouseDown","colId","removeExistingCustomContainers","tableMouseUp","updateSelectedCellsState","editorText","valueCell","updateCellSelectedValue","cols","fill","columName","IdRow","updateSelectedCellsValues","dataCopy","startCol","endCol","startRow","endRow","j","mouseDownColId","mouseUpColId","mouseDownRowId","mouseUpRowId","altKey","escapeKey","currentColumnIndex","contentToRemove","blurTable","mouseOut","tableOut","idSeen","spotSeen","localdata","dataSort","spota","spotb","dataChanged","spot","ntime","cleanHTML","nreading","calc","itemDate","timeDifference","spotId","targetId","itemsToMove","itemsNotToMove","observeHeaders","observeTableInView","checkTableVisibility","tableElement","warn","IntersectionObserver","onTableInView","rootMargin","threshold","checkCellsVisibility","tableHeader","containerTop","headerHeight","topVisible","bottomVisible","cloneElement","removeClonedElement","entries","isIntersecting","tableBody","tableBodyRect","tableContainerRect","clonedHeader","targetDiv","applyStyles","originalElement","clonedElement","computedStyles","getComputedStyle","getPropertyValue","originalChildren","clonedChildren","observeCells","scrollableContainerHeight","columnDatas","columnDataElement","offsetHeight","intersectionObserver","mutationObserver","MutationObserver","childList","subtree","attributes","isElementInViewport","makeSticky","resetSticky","columnDataFixed","parentBottom","newHeight","ClImageUploadTableComponent_Query","ClImageUploadTableComponent_Template_table_cdkDropListDropped_4_listener","ClImageUploadTableComponent_Template_table_mouseleave_4_listener","ClImageUploadTableComponent_ng_container_6_Template","ClImageUploadTableComponent_tr_7_Template","ClImageUploadTableComponent_tr_8_Template","ClImageUploadComponent_cl_image_upload_info_0_Template_cl_image_upload_info_cancel_0_listener","ClImageUploadComponent_cl_image_upload_info_0_Template_cl_image_upload_info_imageChanged_0_listener","ClImageUploadComponent_button_1_Template_button_click_0_listener","showImageDialog","TableData","ImageSpotId","canvas","mycanvas","loadImages","context","getContext","clearRect","globalCompositeOperation","imagesArray","drawImage","calcStart","loadSpots","imagePromises","imagePush","onerror","idx","imageClicked","hcanvas","wcanvas","wrect","hrect","dotX","dotY","porcentX","porcentY","dotXCalculated","dotYCalculated","calcImageid","percentages","calcPercentages","SpotOrigin","BUILDER","CHECKLIST","saveConfiguration","showImageOptions","imgWidth1","imgWidth2","imgId","calcImagePercents","totalImagesW","totalImagesH","imagesPercent","percentW","percentH","pW","pH","percentagesSpot","imgHeight","pointxImageCalculated","pointxImagePercent","pointyImagePercent","calcCoordinates","imagesPercents","percentX","percentY","spotImageId","spotCoordinates","widthX","percentImage","widthImage","widthCalculated","dsRows","firstRow","lastRow","lastRowId","imagePercents","coordinates","drawSpot","spotNewId","canvasWidth","ratio","shadowColor","shadowOffsetX","shadowOffsetY","shadowBlur","fillStyle","strokeStyle","radius","font","beginPath","arc","PI","stroke","textAlign","textBaseline","fillText","spotsToRemove","tableChange","rowIds","rrows","srows","newRowId","spotRow","exist","uploadImageTable","c1","getNewConfiguration","c2","imageProcessingPromises","imgHTML","ClImageUploadComponent_Query","ClImageUploadComponent_cl_image_upload_info_0_Template","ClImageUploadComponent_button_1_Template","ClImageUploadComponent_Template_canvas_click_6_listener","ClImageUploadComponent_Template_cl_image_upload_table_newRow_10_listener","ClImageUploadComponent_Template_cl_image_upload_table_rowDeleted_10_listener","ClImageUploadComponent_Template_cl_image_upload_table_rowDuplicated_10_listener","ClImageUploadComponent_Template_cl_image_upload_table_spotDeleted_10_listener","ClImageUploadComponent_Template_cl_image_upload_table_tableChanged_10_listener","ClImageUploadComponent_Template_cl_image_upload_table_setRow_10_listener","ClImageUploadComponent_Template_cl_image_upload_table_setLoading_10_listener","ListImage","SpotsOrder","Spot","ClLocationComponent_mat_chip_row_14_Template_mat_chip_row_removed_0_listener","location_r10","ClLocationComponent_mat_chip_row_14_mat_icon_2_Template","location_r16","ClLocationComponent_mat_optgroup_21_mat_option_1_Template","group_r14","saveLocations","ClLocationComponent_Query","ClLocationComponent_Template_form_keydown_enter_7_listener","ClLocationComponent_mat_label_8_Template","ClLocationComponent_mat_chip_row_14_Template","ClLocationComponent_Template_input_matChipInputTokenEnd_15_listener","ClLocationComponent_Template_input_keyup_15_listener","ClLocationComponent_Template_mat_autocomplete_optionSelected_18_listener","ClLocationComponent_mat_optgroup_21_Template","ClLocationComponent_mat_error_22_Template","ClLocationComponent_mat_label_23_Template","ClLocationComponent_Template_mat_checkbox_with_roles_change_25_listener","ClMultipleTextboxComponent_div_16_Template_input_ngModelChange_4_listener","ClMultipleTextboxComponent_div_16_Template_input_change_4_listener","ClMultipleTextboxComponent_Template","ClMultipleTextboxComponent_mat_icon_14_Template","ClMultipleTextboxComponent_div_16_Template","ClNoteComponent_Template","checkOlogStatus","olog","isOlogSent","btnColor","btnName","ClOlogComponent_Template","ClOlogComponent_Template_button_click_2_listener","ClOlogComponent_Template_mat_slide_toggle_ngModelChange_6_listener","radMonitor_r7","ClRadLocationComponent_div_27_mat_radio_button_7_Template_mat_radio_button_change_0_listener","changeoutReasonChange","changeoutReason_r12","failureMessage","ClRadLocationComponent_div_27_comments_box_9_Template_comments_box_textChanged_0_listener","saveFaultNote","ClRadLocationComponent_div_27_mat_radio_button_7_Template","ClRadLocationComponent_div_27_span_8_Template","ClRadLocationComponent_div_27_comments_box_9_Template","ClRadLocationComponent_div_27_div_10_Template","reasonCtrl","changeoutReasons","changeoutReason","ClRadLocationComponent_mat_checkbox_with_roles_30_Template_mat_checkbox_with_roles_change_0_listener","valuesToSend","radLocationCtrl","radMonitorCtrl","checkChecked","monitorId","setPlaceHolders","displayObjectMon","radLocationSelected","radMonitorSelected","addUpdateValues","valueIndex","filterRadLocation","filterRadMonitor","radNoteDescription","getKeyValuesRadMonitor","ClRadLocationComponent_Template","ClRadLocationComponent_Template_input_keyup_15_listener","ClRadLocationComponent_Template_mat_autocomplete_optionSelected_16_listener","ClRadLocationComponent_mat_option_18_Template","ClRadLocationComponent_Template_input_keyup_23_listener","ClRadLocationComponent_Template_mat_autocomplete_optionSelected_24_listener","ClRadLocationComponent_mat_option_26_Template","ClRadLocationComponent_div_27_Template","ClRadLocationComponent_mat_checkbox_with_roles_30_Template","radMeter_r3","isDateExpired","radMeterCtrl","radMetersList","changedRadMeter","selectedRadMeter","addNewMeter","radMetersSerialNumbers","ClRadMetersAddComponent_Template","ClRadMetersAddComponent_Template_input_keyup_8_listener","ClRadMetersAddComponent_Template_mat_autocomplete_optionSelected_9_listener","ClRadMetersAddComponent_mat_option_12_Template","ClRadMetersAddComponent_Template_button_click_15_listener","ClRadMetersAddComponent_Template_button_click_18_listener","ClRadMetersAddComponent_Template_button_click_20_listener","ClRadMetersComponent_mat_cell_18_span_2_Template_mat_label_click_1_listener","changeCalDueDate","ClRadMetersComponent_mat_cell_18_span_3_Template_input_ngModelChange_4_listener","ClRadMetersComponent_mat_cell_18_span_3_Template_input_change_4_listener","calDueDateChanged","ClRadMetersComponent_mat_cell_18_span_3_Template_input_dateChange_4_listener","ClRadMetersComponent_mat_cell_18_span_4_mat_icon_1_Template","calibrationDueDateChangedBy","calibrationDueDateChangedOn","ClRadMetersComponent_mat_cell_18_span_1_Template","ClRadMetersComponent_mat_cell_18_span_2_Template","ClRadMetersComponent_mat_cell_18_span_3_Template","ClRadMetersComponent_mat_cell_18_span_4_Template","ClRadMetersComponent_mat_cell_18_span_5_Template","dueDateChanging","ClRadMetersComponent_mat_cell_30_span_2_Template_mat_label_click_1_listener","changeSourceReading","space","ClRadMetersComponent_mat_cell_30_span_3_Template_input_ngModelChange_4_listener","ClRadMetersComponent_mat_cell_30_span_3_Template_input_blur_4_listener","textSourceChanged","sourceReadingChangedBy","sourceReadingChangedOn","ClRadMetersComponent_mat_cell_30_span_1_Template","ClRadMetersComponent_mat_cell_30_span_2_Template","ClRadMetersComponent_mat_cell_30_span_3_Template","ClRadMetersComponent_mat_cell_30_span_4_Template","sourceReadingChanging","element_r62","ClRadMetersComponent_mat_cell_33_span_2_Template_mat_label_click_1_listener","changeBackgroundReading","ClRadMetersComponent_mat_cell_33_span_3_Template_input_ngModelChange_4_listener","_r74","ClRadMetersComponent_mat_cell_33_span_3_Template_input_blur_4_listener","textBackgroundChanged","backgroundReadingChangedBy","backgroundReadingChangedOn","ClRadMetersComponent_mat_cell_33_span_1_Template","ClRadMetersComponent_mat_cell_33_span_2_Template","ClRadMetersComponent_mat_cell_33_span_3_Template","ClRadMetersComponent_mat_cell_33_span_4_Template","backgroundReadingChanging","ClRadMetersComponent_ng_container_34_mat_header_cell_1_Template_button_click_1_listener","addMeter","ClRadMetersComponent_ng_container_34_mat_cell_2_div_1_Template_button_click_1_listener","element_r83","ClRadMetersComponent_ng_container_34_mat_cell_2_div_1_Template","ClRadMetersComponent_ng_container_34_mat_header_cell_1_Template","ClRadMetersComponent_ng_container_34_mat_cell_2_Template","ClRadMetersComponent_div_37_Template_button_click_2_listener","calibrationDueDateChangedByID","lastID","rowMeter","saveCalDueDate","ClRadMetersComponent_Template","ClRadMetersComponent_mat_header_cell_14_Template","ClRadMetersComponent_mat_cell_15_Template","ClRadMetersComponent_mat_header_cell_17_Template","ClRadMetersComponent_mat_cell_18_Template","ClRadMetersComponent_mat_header_cell_20_Template","ClRadMetersComponent_mat_cell_21_Template","ClRadMetersComponent_mat_header_cell_23_Template","ClRadMetersComponent_mat_cell_24_Template","ClRadMetersComponent_mat_header_cell_26_Template","ClRadMetersComponent_mat_cell_27_Template","ClRadMetersComponent_mat_header_cell_29_Template","ClRadMetersComponent_mat_cell_30_Template","ClRadMetersComponent_mat_header_cell_32_Template","ClRadMetersComponent_mat_cell_33_Template","ClRadMetersComponent_ng_container_34_Template","ClRadMetersComponent_mat_header_row_35_Template","ClRadMetersComponent_mat_row_36_Template","ClRadMetersComponent_div_37_Template","ClRadMonitorDueDateComponent_mat_checkbox_with_roles_29_Template_mat_checkbox_with_roles_change_0_listener","globalStatus","valueObject","mode","questionSafe","getRadMonitors","saveEnabled","getCssClass","CloseToExpire","ClRadMonitorDueDateComponent_Template","ClRadMonitorDueDateComponent_mat_header_cell_12_Template","ClRadMonitorDueDateComponent_mat_cell_13_Template","ClRadMonitorDueDateComponent_mat_header_cell_15_Template","ClRadMonitorDueDateComponent_mat_cell_16_Template","ClRadMonitorDueDateComponent_mat_header_cell_18_Template","ClRadMonitorDueDateComponent_mat_cell_19_Template","ClRadMonitorDueDateComponent_mat_header_cell_21_Template","ClRadMonitorDueDateComponent_mat_cell_22_Template","ClRadMonitorDueDateComponent_mat_header_cell_24_Template","ClRadMonitorDueDateComponent_mat_cell_25_Template","ClRadMonitorDueDateComponent_mat_header_row_26_Template","ClRadMonitorDueDateComponent_mat_row_27_Template","ClRadMonitorDueDateComponent_mat_checkbox_with_roles_29_Template","ClRadMonitorComponent_mat_form_field_20_Template_input_ngModelChange_3_listener","ClRadMonitorComponent_mat_form_field_20_Template_input_dateChange_3_listener","calDueDateUpdatedBy","calDueDateUpdatedOn","ClRadMonitorComponent_mat_checkbox_with_roles_23_Template_mat_checkbox_with_roles_change_0_listener","loadOutgoingMonitor","getRadMonitorById","setHours","updateCalDueDate","displayRadMonitorName","ClRadMonitorComponent_Template","ClRadMonitorComponent_Template_input_keyup_15_listener","ClRadMonitorComponent_Template_mat_autocomplete_optionSelected_16_listener","ClRadMonitorComponent_mat_option_18_Template","ClRadMonitorComponent_mat_form_field_20_Template","ClRadMonitorComponent_div_21_Template","ClRadMonitorComponent_mat_checkbox_with_roles_23_Template","ClRadioPlaceholderCondComponent_mat_radio_button_13_Template_mat_radio_button_change_0_listener","ClRadioPlaceholderCondComponent_mat_checkbox_with_roles_15_Template_mat_checkbox_with_roles_change_0_listener","unselected","placeholderService","keyValuePairsObservable","placeHolderSelection","compareNumbers","ClRadioPlaceholderCondComponent_Template","ClRadioPlaceholderCondComponent_mat_label_10_Template","ClRadioPlaceholderCondComponent_mat_radio_button_13_Template","ClRadioPlaceholderCondComponent_mat_checkbox_with_roles_15_Template","ClRestrictionsComponent_mat_icon_with_tootip_15_Template_mat_icon_with_tootip_click_0_listener","ClRestrictionsComponent_mat_checkbox_with_roles_16_Template_mat_checkbox_with_roles_change_0_listener","manual","manualCheck","displayInfo","CheckByLocationID","ClRestrictionsComponent_Template","ClRestrictionsComponent_mat_icon_with_tootip_15_Template","ClRestrictionsComponent_mat_checkbox_with_roles_16_Template","ClScheduleAbsiComponent_button_20_Template_button_click_0_listener","addLocation","ClScheduleAbsiComponent_mat_form_field_22_Template_input_keyup_3_listener","onLocationChange","ClScheduleAbsiComponent_mat_form_field_22_Template_mat_autocomplete_optionSelected_5_listener","selectedLocation","ClScheduleAbsiComponent_mat_form_field_22_mat_option_8_Template","ClScheduleAbsiComponent_mat_icon_23_Template_mat_icon_click_0_listener","endAdding","ClScheduleAbsiComponent_div_25_mat_icon_6_Template_mat_icon_click_0_listener","due","ClScheduleAbsiComponent_div_25_mat_icon_6_Template","ClScheduleAbsiComponent_div_25_span_23_Template","ClScheduleAbsiComponent_div_25_mat_icon_24_Template","ClScheduleAbsiComponent_Template","ClScheduleAbsiComponent_button_20_Template","ClScheduleAbsiComponent_mat_form_field_22_Template","ClScheduleAbsiComponent_mat_icon_23_Template","ClScheduleAbsiComponent_div_25_Template","ClScheduleAbsiComponent_Template_comments_box_textChanged_27_listener","ClScheduleAndCheckboxComponent_div_22_span_15_Template","ClScheduleAndCheckboxComponent_Template","ClScheduleAndCheckboxComponent_div_22_Template","ClScheduleAndCheckboxComponent_div_23_Template","ClScheduleAndCheckboxComponent_Template_mat_checkbox_with_roles_change_25_listener","ClShieldingsComponent_div_9_div_14_Template_mat_checkbox_with_roles_change_1_listener","o_r7","waiting","ClShieldingsComponent_div_9_span_9_Template","ClShieldingsComponent_div_9_waiting_dots_11_Template","ClShieldingsComponent_div_9_mat_icon_12_Template","ClShieldingsComponent_div_9_div_14_Template","isShared","resourceMap","resourceRelationsMap","lastCheckedTime","saveDelay","defaultSaveDelay","saveTimer","shieldingUpdates","loadShieldingsFromConfiguration","createShielding0","savingShieldings","savingTaskID","shieldingsToDisplay","loadShieldingsFromValueString","resourceRelation","loadValues","shielding0","getRoleOptions","sid","shieldingToDisplay","optionID","checkAll","option0","shieldingUpdate","otherOptionsChecked","ro","roleAllowed","ClShieldingsComponent_Template","ClShieldingsComponent_div_9_Template","ClStatusChangeComponent_button_5_Template_button_click_0_listener","viewNotification","roleCodesToNotify","rolesToNotify","clStatus","ChecklistStatusChange","emlObj","disableSend","Approvals","ClStatusChangeComponent_Template","ClStatusChangeComponent_button_5_Template","ClStatusChangeComponent_Template_button_click_7_listener","ClStatusChangeComponent_initials_chip_10_Template","ClStatusChangeComponent_mat_icon_11_Template","ClSubtitleComponent_Template","ClTextComponent_Template","ExtraActionButtonComponent","extraAction","ExtraActionButtonComponent_Template","ExtraActionButtonComponent_Template_button_click_0_listener","MasterControlComponent_div_0_button_1_Template_button_click_0_listener","click_event","MasterControlComponent_div_0_button_signature_2_Template_button_signature_approve_0_listener","approve_event","MasterControlComponent_div_0_button_signature_2_Template_button_signature_unapprove_0_listener","unapprove_event","MasterControlComponent_div_0_button_signature_2_Template_button_signature_disapprove_0_listener","disapprove_event","headerAfter","MasterControlComponent_div_0_button_signature_radio_3_Template_button_signature_radio_approve_0_listener","MasterControlComponent_div_0_button_signature_radio_3_Template_button_signature_radio_unapprove_0_listener","MasterControlComponent_div_0_button_signature_radio_3_Template_button_signature_radio_disapprove_0_listener","MasterControlComponent_div_0_checkbox_signature_4_Template_checkbox_signature_check_0_listener","check_event","MasterControlComponent_div_0_question_signature_5_Template_question_signature_approve_0_listener","MasterControlComponent_div_0_question_signature_5_Template_question_signature_unapprove_0_listener","MasterControlComponent_div_0_question_signature_5_Template_question_signature_answered_0_listener","MasterControlComponent_div_0_question_signature_5_Template_question_signature_approveAnswer_0_listener","approveAnswer_event","MasterControlComponent_div_0_question_signature_5_Template_question_signature_disapproveAnswer_0_listener","disapproveAnswer_event","checkbox_checked","rolesToApproveChanges","MasterControlComponent_div_0_cl_checkbox_6_Template_cl_checkbox_answered_0_listener","MasterControlComponent_div_0_cl_checkbox_and_radio_7_Template_cl_checkbox_and_radio_answered_0_listener","MasterControlComponent_div_0_cl_checkbox_and_radio_7_Template_cl_checkbox_and_radio_radioSelected_0_listener","radio_event","MasterControlComponent_div_0_cl_checkbox_and_text_input_9_Template_cl_checkbox_and_text_input_answered_0_listener","MasterControlComponent_div_0_cl_checkbox_and_text_input_9_Template_cl_checkbox_and_text_input_changed_0_listener","text_changed","MasterControlComponent_div_0_cl_schedule_and_checkbox_10_Template_cl_schedule_and_checkbox_answered_0_listener","MasterControlComponent_div_0_cl_schedule_and_checkbox_10_Template_cl_schedule_and_checkbox_changed_0_listener","MasterControlComponent_div_0_cl_checkbox_yes_no_11_Template_cl_checkbox_yes_no_save_0_listener","save_event","MasterControlComponent_div_0_cl_checkbox_and_comments_12_Template_cl_checkbox_and_comments_approve_0_listener","MasterControlComponent_div_0_cl_checkbox_and_comments_12_Template_cl_checkbox_and_comments_unapprove_0_listener","MasterControlComponent_div_0_cl_checkbox_and_comments_12_Template_cl_checkbox_and_comments_save_0_listener","MasterControlComponent_div_0_cl_comments_13_Template_cl_comments_save_0_listener","MasterControlComponent_div_0_cl_catl_15_Template_cl_catl_approve_0_listener","MasterControlComponent_div_0_cl_catl_15_Template_cl_catl_unapprove_0_listener","MasterControlComponent_div_0_cl_catl_15_Template_cl_catl_save_0_listener","MasterControlComponent_div_0_cl_schedule_absi_16_Template_cl_schedule_absi_answered_0_listener","MasterControlComponent_div_0_cl_schedule_absi_16_Template_cl_schedule_absi_changed_0_listener","MasterControlComponent_div_0_cl_schedule_absi_16_Template_cl_schedule_absi_save_0_listener","MasterControlComponent_div_0_cl_checkbox_multiple_17_Template_cl_checkbox_multiple_save_0_listener","MasterControlComponent_div_0_cl_checkbox_multiple_17_Template_cl_checkbox_multiple_radioSelected_0_listener","MasterControlComponent_div_0_cl_checkbox_multiple_sign_18_Template_cl_checkbox_multiple_sign_save_0_listener","MasterControlComponent_div_0_cl_checkbox_multiple_with_textbox_19_Template_cl_checkbox_multiple_with_textbox_save_0_listener","MasterControlComponent_div_0_cl_checkbox_multiple_with_textbox_19_Template_cl_checkbox_multiple_with_textbox_radioSelected_0_listener","MasterControlComponent_div_0_cl_multiple_textbox_20_Template_cl_multiple_textbox_save_0_listener","_r93","MasterControlComponent_div_0_cl_multiple_textbox_20_Template_cl_multiple_textbox_radioSelected_0_listener","MasterControlComponent_div_0_cl_checkbox_radio_location_22_Template_cl_checkbox_radio_location_answered_0_listener","_r96","MasterControlComponent_div_0_cl_checkbox_radio_location_22_Template_cl_checkbox_radio_location_radioSelected_0_listener","ctx_r97","MasterControlComponent_div_0_cl_checkbox_radio_location_22_Template_cl_checkbox_radio_location_sendOptions_0_listener","sendOptions_event","MasterControlComponent_div_0_cl_checkbox_radio_location_22_Template_cl_checkbox_radio_location_sendCondition_0_listener","sendCondition_event","MasterControlComponent_div_0_button_signature_duplicate_23_Template_button_signature_duplicate_approve_0_listener","MasterControlComponent_div_0_button_signature_duplicate_23_Template_button_signature_duplicate_unapprove_0_listener","MasterControlComponent_div_0_button_signature_duplicate_23_Template_button_signature_duplicate_disapprove_0_listener","MasterControlComponent_div_0_button_signature_duplicate_23_Template_button_signature_duplicate_duplicate_0_listener","duplicate_event","MasterControlComponent_div_0_button_signature_duplicate_23_Template_button_signature_duplicate_loading_0_listener","MasterControlComponent_div_0_cl_image_upload_24_Template_cl_image_upload_changed_0_listener","MasterControlComponent_div_0_cl_image_upload_24_Template_cl_image_upload_save_0_listener","MasterControlComponent_div_0_cl_image_upload_24_Template_cl_image_upload_setLoading_0_listener","enableColumns","MasterControlComponent_div_0_cl_close_action_25_Template_cl_close_action_loading_0_listener","MasterControlComponent_div_0_cl_close_action_25_Template_cl_close_action_closed_0_listener","close_event","MasterControlComponent_div_0_cl_close_action_25_Template_cl_close_action_changed_0_listener","MasterControlComponent_div_0_cl_bratoi_26_Template_cl_bratoi_answered_0_listener","MasterControlComponent_div_0_app_cl_olog_27_Template_app_cl_olog_loading_0_listener","MasterControlComponent_div_0_app_cl_olog_27_Template_app_cl_olog_changed_0_listener","MasterControlComponent_div_0_app_cl_rad_monitor_28_Template_app_cl_rad_monitor_save_0_listener","_r120","ctx_r119","MasterControlComponent_div_0_app_cl_rad_monitor_28_Template_app_cl_rad_monitor_answered_0_listener","MasterControlComponent_div_0_app_cl_rad_location_29_Template_app_cl_rad_location_save_0_listener","_r123","MasterControlComponent_div_0_app_cl_rad_location_29_Template_app_cl_rad_location_answered_0_listener","MasterControlComponent_div_0_cl_status_change_30_Template_cl_status_change_loading_0_listener","MasterControlComponent_div_0_cl_rad_meters_31_Template_cl_rad_meters_changed_0_listener","_r128","MasterControlComponent_div_0_cl_rad_meters_31_Template_cl_rad_meters_save_0_listener","ctx_r129","MasterControlComponent_div_0_cl_radio_placeholder_cond_32_Template_cl_radio_placeholder_cond_answered_0_listener","_r131","MasterControlComponent_div_0_cl_radio_placeholder_cond_32_Template_cl_radio_placeholder_cond_radioSelected_0_listener","ctx_r132","MasterControlComponent_div_0_cl_shieldings_33_Template_cl_shieldings_checkShared_0_listener","check_shared_event","MasterControlComponent_div_0_cl_shieldings_33_Template_cl_shieldings_save_0_listener","MasterControlComponent_div_0_cl_restrictions_34_Template_cl_restrictions_save_0_listener","_r137","MasterControlComponent_div_0_cl_location_35_Template_cl_location_answered_0_listener","ctx_r138","MasterControlComponent_div_0_cl_location_35_Template_cl_location_save_0_listener","MasterControlComponent_div_0_op_approval_w_checklists_36_Template_op_approval_w_checklists_approve_0_listener","MasterControlComponent_div_0_op_approval_w_checklists_36_Template_op_approval_w_checklists_unapprove_0_listener","MasterControlComponent_div_0_op_approval_w_checklists_36_Template_op_approval_w_checklists_answered_0_listener","MasterControlComponent_div_0_op_approval_w_checklists_36_Template_op_approval_w_checklists_approveAnswer_0_listener","MasterControlComponent_div_0_op_approval_w_checklists_36_Template_op_approval_w_checklists_disapproveAnswer_0_listener","MasterControlComponent_div_0_op_approval_w_checklists_36_Template_op_approval_w_checklists_changed_0_listener","MasterControlComponent_div_0_op_approval_w_checklists_36_Template_op_approval_w_checklists_loading_0_listener","MasterControlComponent_div_0_cl_rad_monitor_due_date_37_Template_cl_rad_monitor_due_date_changed_0_listener","_r150","ctx_r149","MasterControlComponent_div_0_cl_rad_monitor_due_date_37_Template_cl_rad_monitor_due_date_save_0_listener","MasterControlComponent_div_0_button_1_Template","MasterControlComponent_div_0_button_signature_2_Template","MasterControlComponent_div_0_button_signature_radio_3_Template","MasterControlComponent_div_0_checkbox_signature_4_Template","MasterControlComponent_div_0_question_signature_5_Template","MasterControlComponent_div_0_cl_checkbox_6_Template","MasterControlComponent_div_0_cl_checkbox_and_radio_7_Template","MasterControlComponent_div_0_cl_note_8_Template","MasterControlComponent_div_0_cl_checkbox_and_text_input_9_Template","MasterControlComponent_div_0_cl_schedule_and_checkbox_10_Template","MasterControlComponent_div_0_cl_checkbox_yes_no_11_Template","MasterControlComponent_div_0_cl_checkbox_and_comments_12_Template","MasterControlComponent_div_0_cl_comments_13_Template","MasterControlComponent_div_0_cl_subtitle_14_Template","MasterControlComponent_div_0_cl_catl_15_Template","MasterControlComponent_div_0_cl_schedule_absi_16_Template","MasterControlComponent_div_0_cl_checkbox_multiple_17_Template","MasterControlComponent_div_0_cl_checkbox_multiple_sign_18_Template","MasterControlComponent_div_0_cl_checkbox_multiple_with_textbox_19_Template","MasterControlComponent_div_0_cl_multiple_textbox_20_Template","MasterControlComponent_div_0_cl_text_21_Template","MasterControlComponent_div_0_cl_checkbox_radio_location_22_Template","MasterControlComponent_div_0_button_signature_duplicate_23_Template","MasterControlComponent_div_0_cl_image_upload_24_Template","MasterControlComponent_div_0_cl_close_action_25_Template","MasterControlComponent_div_0_cl_bratoi_26_Template","MasterControlComponent_div_0_app_cl_olog_27_Template","MasterControlComponent_div_0_app_cl_rad_monitor_28_Template","MasterControlComponent_div_0_app_cl_rad_location_29_Template","MasterControlComponent_div_0_cl_status_change_30_Template","MasterControlComponent_div_0_cl_rad_meters_31_Template","MasterControlComponent_div_0_cl_radio_placeholder_cond_32_Template","MasterControlComponent_div_0_cl_shieldings_33_Template","MasterControlComponent_div_0_cl_restrictions_34_Template","MasterControlComponent_div_0_cl_location_35_Template","MasterControlComponent_div_0_op_approval_w_checklists_36_Template","MasterControlComponent_div_0_cl_rad_monitor_due_date_37_Template","MasterControlComponent_div_0_div_38_Template","Button","ButtonSignatureRadio","CheckboxSignature","Checkbox","CheckboxYesNo","CheckboxAndComments","ButtonSignatureDuplicate","clicked","sendHeaders","MasterControlComponent_Query","MasterControlComponent_div_0_Template","OpApprovalWChecklistsComponent_div_8_Template_checklist_status_changed_1_listener","OpApprovalWChecklistsComponent_div_8_Template_checklist_status_changing_1_listener","isChanging","checklistsIDs","checklistTypeID","questionDisable","checklistChips","lastChange","lastChangeBy","lastApproval","OpApprovalWChecklistsComponent_span_13_button_1_Template_button_click_0_listener","undo","OpApprovalWChecklistsComponent_span_13_button_2_Template_button_click_0_listener","apprAns","OpApprovalWChecklistsComponent_span_13_button_3_Template_button_click_0_listener","disapAns","OpApprovalWChecklistsComponent_span_13_button_1_Template","OpApprovalWChecklistsComponent_span_13_button_2_Template","OpApprovalWChecklistsComponent_span_13_button_3_Template","canApproveAnswer","OpApprovalWChecklistsComponent_button_23_Template_button_click_0_listener","checklistNotClosed","OpApprovalWChecklistsComponent_div_24_button_1_Template_button_click_0_listener","disap","OpApprovalWChecklistsComponent_div_24_button_1_Template","setCanAnswer","ChecklistTypeID","answer","questionSanitized","opApprovalValueFromBE","opApprovalValue","convertObjectKeysToCamelCase","getSafeContent","checklistChipsData","messages","answer_message","valuesChanged","approve_message","disapprove_message_no_reason","OpApprovalWChecklistsComponent_Query","OpApprovalWChecklistsComponent_Template_mat_checkbox_ngModelChange_7_listener","OpApprovalWChecklistsComponent_Template_mat_checkbox_change_7_listener","OpApprovalWChecklistsComponent_div_8_Template","OpApprovalWChecklistsComponent_div_11_Template","OpApprovalWChecklistsComponent_div_12_Template","OpApprovalWChecklistsComponent_span_13_Template","OpApprovalWChecklistsComponent_button_23_Template","OpApprovalWChecklistsComponent_div_24_Template","OpApprovalWChecklistsComponent_span_30_Template","OpApprovalWChecklistsComponent_span_36_Template","QuestionSignatureComponent_button_11_Template_button_click_0_listener","QuestionSignatureComponent_div_13_Template_button_click_1_listener","QuestionSignatureComponent_div_13_Template_button_click_3_listener","QuestionSignatureComponent_button_23_Template_button_click_0_listener","QuestionSignatureComponent_div_24_button_1_Template_button_click_0_listener","QuestionSignatureComponent_div_24_button_1_Template","CanApproveAnswer","RolesToApproveChanges","QuestionSignatureComponent_Template","QuestionSignatureComponent_Template_mat_checkbox_ngModelChange_7_listener","QuestionSignatureComponent_Template_mat_checkbox_change_7_listener","QuestionSignatureComponent_span_10_Template","QuestionSignatureComponent_button_11_Template","QuestionSignatureComponent_span_12_Template","QuestionSignatureComponent_div_13_Template","QuestionSignatureComponent_button_23_Template","QuestionSignatureComponent_div_24_Template","QuestionSignatureComponent_span_30_Template","QuestionSignatureComponent_span_36_Template","ChecklistStatusComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","checklist_r7","ChecklistStatusComponent_mat_chip_row_6_Template_mat_chip_row_click_0_listener","ChecklistStatusComponent_mat_chip_row_6_mat_icon_3_Template","checklist_r14","ChecklistStatusComponent_mat_optgroup_11_mat_option_1_span_5_Template","ChecklistStatusComponent_mat_optgroup_11_mat_option_1_Template","document_r12","getFilteredChecklists","ChecklistStatusComponent_div_13_button_4_Template_button_click_0_listener","ChecklistStatusComponent_div_13_Template_button_click_1_listener","ChecklistStatusComponent_div_13_button_4_Template","changing","checklistsSaved","checklistsCtrl","prevChecklistsIDs","filterChecklists","tooltipCssClasses","checklistsInput","checkChanged","compareArrays","closedChecklist","ChecklistStatusComponent_Query","ChecklistStatusComponent_mat_chip_row_6_Template","ChecklistStatusComponent_Template_input_keyup_7_listener","ChecklistStatusComponent_Template_mat_autocomplete_optionSelected_9_listener","ChecklistStatusComponent_mat_optgroup_11_Template","ChecklistStatusComponent_mat_hint_12_Template","ChecklistStatusComponent_div_13_Template","ColorPickerComponent_mat_option_7_mat_icon_1_Template","color_r3","colorSelected","DATA","ColorPickerComponent","colors","colorsFiltered","ColorPickerComponent_Template","ColorPickerComponent_Template_mat_autocomplete_optionSelected_4_listener","ColorPickerComponent_mat_option_7_Template","CommentRefreshByID","CommentsAndAttachmentsComponent_div_4_button_3_Template_button_click_0_listener","CommentsAndAttachmentsComponent_div_4_Template_comments_box_textChanged_2_listener","CommentsAndAttachmentsComponent_div_4_button_3_Template","CommentsAndAttachmentsComponent_div_4_span_4_Template","CommentsAndAttachmentsComponent_div_5_button_9_Template_button_click_0_listener","c_r11","DeleteComment","CommentsAndAttachmentsComponent_div_5_button_9_Template","CommentsAndAttachmentsComponent_div_5_Template_comments_box_textChanged_18_listener","AttachmentsDisabled","CommentsAndAttachmentsComponent_div_6_button_5_Template_button_click_0_listener","CommentsAndAttachmentsComponent_div_6_button_5_span_2_Template","CommentsAndAttachmentsComponent_div_6_Template_comments_box_textChanged_2_listener","CommentsAndAttachmentsComponent_div_6_button_5_Template","commentServ","uploadServ","Title","ShowFiles","headerClass","formTypes","loadingFile","SerialNo","comments$","commentsSubs","uploadId","newComment","uploadFiles","idFileDelete","getFloatLabel","CommentService","MatFileUploadService","CommentsAndAttachmentsComponent_Query","CommentsAndAttachmentsComponent_mat_progress_bar_3_Template","CommentsAndAttachmentsComponent_div_4_Template","CommentsAndAttachmentsComponent_div_5_Template","CommentsAndAttachmentsComponent_div_6_Template","LinkifyPipe","ReadBySerialNo","serialno","CommentRefresh","CommentCreate","CommentUpdate","CommentDelete","CommentStateModel","CommentState","CommentActions","CommentStoreAndListenersService","COMMENTS","CustomImageResize","QuillNamespace","ImageResize","ImageDrop","QuillMention","color_r6","color_r7","CommentsBoxEditComponent_quill_editor_7_Template_quill_editor_ngModelChange_0_listener","CommentsBoxEditComponent_quill_editor_7_Template_quill_editor_onEditorCreated_0_listener","CommentsBoxEditComponent_quill_editor_7_option_26_Template","CommentsBoxEditComponent_quill_editor_7_option_28_Template","CommentsBoxEditComponent_quill_editor_7_Template_button_click_43_listener","isShowHTML","CommentsBoxEditComponent_quill_editor_7_Template_button_click_46_listener","applyCustom","CommentsBoxEditComponent_quill_editor_7_Template_button_click_50_listener","CommentsBoxEditComponent_quill_editor_7_Template_button_click_53_listener","quillColors","customShielding","CommentsBoxEditComponent_div_8_Template_button_click_2_listener","CommentsBoxEditComponent_div_8_Template_button_click_6_listener","CommentsBoxEditComponent_div_8_Template_button_click_9_listener","CommentsBoxEditComponent_mat_form_field_9_Template_textarea_ngModelChange_1_listener","Quill","register","Block","import","tagName","bold","CommentsBoxEditComponent","fullScreen","dataAttributes","mentionDenotationChars","showDenotationChar","blotName","renderList","filteredMentions","matchesWithHeaders","currentGroup","isAlreadySelected","groupName","observeDropdown","renderItem","div","fontWeight","padding","fontSize","borderBottom","pointerEvents","userSelect","paddingLeft","onSelect","insertItem","maximize","quillEditorRef","mentionsInEditor","parentLi","closest","quill","dialogs","dialogId","thisQuill","getSelection","showHTML","windowHeight","addPanelClass","removePanelClass","imageSizeSelected","defaultSelect","addTable","tableHtml","dangerouslyPasteHTML","CommentsBoxEditComponent_Template","CommentsBoxEditComponent_quill_editor_7_Template","CommentsBoxEditComponent_div_8_Template","CommentsBoxEditComponent_mat_form_field_9_Template","CommentsBoxEditComponent_span_12_Template","MentionBlot","StyledMentionBlot","linkifyHtml","CommentsBoxComponent_div_0_div_6_Template","CommentsBoxComponent_div_0_div_7_Template","CommentsBoxComponent_div_1_button_14_Template_button_click_0_listener","CommentsBoxComponent_div_1_mat_progress_bar_1_Template","CommentsBoxComponent_div_1_Template_mat_form_field_click_4_listener","CommentsBoxComponent_div_1_textarea_9_Template","CommentsBoxComponent_div_1_textarea_10_Template","CommentsBoxComponent_div_1_mat_error_11_Template","CommentsBoxComponent_div_1_button_14_Template","CommentsBoxComponent_div_1_span_15_Template","noSubscript","noBorder","hint","newUrl","redirectRoute","externalUrl","onLinkClick","CommentsBoxComponent_Template","CommentsBoxComponent_div_0_Template","CommentsBoxComponent_div_1_Template","comment_r4","CommentsSummaryComponent_div_26_div_6_Template","commentsBySection","CommentsSummaryComponent_Template","CommentsSummaryComponent_Template_button_click_21_listener","CommentsSummaryComponent_mat_progress_bar_24_Template","CommentsSummaryComponent_div_26_Template","ConfirmMessageComponent","result_true","result_false","ConfirmMessageComponent_Template","DatetimePickerComponent","dateTime","ampm","emitDateTime","toDateString","DatetimePickerComponent_Template","DatetimePickerComponent_Template_input_dateChange_5_listener","DatetimePickerComponent_Template_input_ngModelChange_5_listener","DisapprovalReasonComponent_Template","DisapprovalReasonComponent_Template_textarea_ngModelChange_8_listener","DisapprovalReasonComponent_Template_button_click_11_listener","DisapprovalReasonComponent_Template_button_click_13_listener","FileUploadV2Component_fieldset_0_button_14_Template_button_click_0_listener","FileUploadV2Component_fieldset_0_button_14_Template","FileUploadV2Component_fieldset_0_span_15_Template","getFileName","FileUploadV2Component_button_1_Template_button_click_0_listener","FileUploadV2Component_button_1_span_4_Template","FileUploadV2Component_button_1_Template_input_change_5_listener","buttonLabel","FileUploadV2Component","fileIDValue","fileValue","processingFileValue","fileIDChange","fileChange","processingFileChange","helpPath","fileHelp","formatHelpFilePath","FileUploadV2Component_Template","FileUploadV2Component_fieldset_0_Template","FileUploadV2Component_button_1_Template","FilterBoxComponent_mat_icon_6_Template_mat_icon_click_0_listener","FilterBoxComponent_mat_icon_7_Template_mat_icon_click_0_listener","FilterBoxComponent_div_10_Template_div_click_0_listener","item_r9","itemSelected","FilterBoxComponent","filteredValues","filterBox","FilterBoxComponent_Query","FilterBoxComponent_Template_input_ngModelChange_5_listener","FilterBoxComponent_Template_input_keyup_5_listener","FilterBoxComponent_mat_icon_6_Template","FilterBoxComponent_mat_icon_7_Template","FilterBoxComponent_div_10_Template","FormTableComponent_mat_cell_9_mat_icon_3_Template","e_r8","e_r10","systemAffected","FormTableComponent_mat_row_17_Template_mat_row_click_0_listener","allForms","filteredForms","sortDefault","pendingSelect","filterForms","subEditing","subRefreshForms","otherSystem","FormTableComponent_Query","FormTableComponent_Template_mat_slide_toggle_change_3_listener","FormTableComponent_Template_mat_slide_toggle_ngModelChange_3_listener","FormTableComponent_mat_header_cell_8_Template","FormTableComponent_mat_cell_9_Template","FormTableComponent_mat_header_cell_11_Template","FormTableComponent_mat_cell_12_Template","FormTableComponent_mat_header_cell_14_Template","FormTableComponent_mat_cell_15_Template","FormTableComponent_mat_header_row_16_Template","FormTableComponent_mat_row_17_Template","FORMediting","currentDoc","currentSN","readBySerialNumber","serial","FormsRefresh","FormsRefreshByID","FormsCreate","FormsDelete","FormsStateModel","FormsState","FormsActions","FORMS","InitialsChipComponent","InitialsChipComponent_Template","MatCheckboxWithLabelComponent_div_6_mat_label_1_Template","MatCheckboxWithLabelComponent_div_6_ng_template_2_Template","labelPosition","MatCheckboxWithLabelComponent_Template","MatCheckboxWithLabelComponent_mat_icon_1_Template","MatCheckboxWithLabelComponent_Template_mat_checkbox_ngModelChange_3_listener","MatCheckboxWithLabelComponent_Template_mat_checkbox_change_3_listener","MatCheckboxWithLabelComponent_div_6_Template","MatCheckboxWithRolesComponent_div_5_mat_label_1_Template","MatCheckboxWithRolesComponent_div_5_ng_template_2_Template","MatCheckboxWithRolesComponent_div_6_mat_label_1_Template","MatCheckboxWithRolesComponent_Template","MatCheckboxWithRolesComponent_mat_icon_1_Template","MatCheckboxWithRolesComponent_Template_mat_checkbox_ngModelChange_3_listener","MatCheckboxWithRolesComponent_Template_mat_checkbox_change_3_listener","MatCheckboxWithRolesComponent_div_5_Template","MatCheckboxWithRolesComponent_div_6_Template","NormalInputDialogComponent_Template","NormalInputDialogComponent_Template_textarea_ngModelChange_6_listener","NormalInputDialogComponent_Template_button_click_10_listener","NormalInputDialogComponent_Template_button_click_12_listener","NotesComponent_div_0_div_6_mat_icon_8_Template_mat_icon_click_0_listener","note_r3","NotesComponent_div_0_div_6_mat_icon_8_Template","noteTypeText","NotesComponent_div_0_div_6_Template","NotesComponent","NotesComponent_Template","NotesComponent_div_0_Template","TAB","NotificationComponent_mat_chip_row_14_Template_mat_chip_row_removed_0_listener","mail_r8","NotificationComponent_mat_chip_row_14_mat_icon_2_Template","NotificationComponent_button_42_Template_button_click_0_listener","NotificationComponent_button_43_Template_button_click_0_listener","NotificationComponent_button_44_Template_button_click_0_listener","continue","disabledTooltipMessage","NotificationComponent_button_45_Template_button_click_0_listener","emailError","notificationServ","emailPattern","AddEmailRecipients","isObject","curEmails","parseEmailAddresses","newEmails","Message","AdditionalText","disableAll","addressObj","addresses","showAddEmailField","emailsInputElem","validateEmailAddresses","checkIfEmpty","isValidJSON","NotificationComponent_Query","NotificationComponent_mat_chip_row_14_Template","NotificationComponent_Template_input_keyup_15_listener","NotificationComponent_Template_input_matChipInputTokenEnd_15_listener","NotificationComponent_Template_input_keydown_Tab_15_listener","NotificationComponent_mat_error_17_Template","NotificationComponent_Template_textarea_ngModelChange_35_listener","NotificationComponent_button_42_Template","NotificationComponent_button_43_Template","NotificationComponent_button_44_Template","NotificationComponent_button_45_Template","PartialOlogComponent_form_1_button_4_Template_button_click_0_listener","PartialOlogComponent_form_1_mat_chip_row_12_Template_mat_chip_row_removed_0_listener","mail_r13","PartialOlogComponent_form_1_mat_chip_row_12_mat_icon_2_Template","formOlog","PartialOlogComponent_form_1_comments_box_28_Template_comments_box_textChanged_0_listener","tmpDetails","PartialOlogComponent_form_1_div_47_Template_button_click_1_listener","PartialOlogComponent_form_1_div_47_Template_button_click_3_listener","PartialOlogComponent_form_1_button_4_Template","PartialOlogComponent_form_1_mat_chip_row_12_Template","PartialOlogComponent_form_1_Template_input_keyup_13_listener","keyUpCc","PartialOlogComponent_form_1_Template_input_matChipInputTokenEnd_13_listener","PartialOlogComponent_form_1_mat_hint_14_Template","PartialOlogComponent_form_1_mat_chip_row_21_Template","PartialOlogComponent_form_1_mat_error_23_Template","PartialOlogComponent_form_1_div_27_Template","PartialOlogComponent_form_1_comments_box_28_Template","PartialOlogComponent_form_1_div_47_Template","fb","ologFormData","mail","formTypeID","OLogEntryCreated","OlogEntryError","ccvalue","PartialOlogComponent_Query","PartialOlogComponent_form_1_Template","OtherSystemChipsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","otherSystem_r4","OtherSystemChipsComponent_mat_chip_row_6_mat_icon_2_Template","OtherSystemChipsComponent","otherSystems","OtherSystemChipsComponent_Template","OtherSystemChipsComponent_mat_chip_row_6_Template","OtherSystemChipsComponent_Template_input_matChipInputTokenEnd_7_listener","OtherSystemChipsComponent_mat_error_9_Template","OverlayLoadingComponent_Template","OverlayLoadingComponent_span_2_Template","PendingChangesDialogComponent_Template","PendingChangesDialogComponent_Template_button_click_14_listener","PendingChangesDialogComponent_Template_button_click_17_listener","procedure_r3","ProcedureAutocompleteComponent","procedureInput","onProcedureInputKeyup","ProcedureAutocompleteComponent_Query","ProcedureAutocompleteComponent_Template_input_keyup_2_listener","ProcedureAutocompleteComponent_Template_mat_autocomplete_optionSelected_4_listener","ProcedureAutocompleteComponent_mat_option_6_Template","resourceTypeName","PvInfoDetailsComponent_mat_cell_20_button_4_Template_button_click_0_listener","PvInfoDetailsComponent_mat_cell_20_Template_button_click_1_listener","refreshPV","PvInfoDetailsComponent_mat_cell_20_button_4_Template","row_r26","PvInfoDetailsComponent","waitingRestart","waitingRefresh","restart","restartPVInfoService","PvInfoDetailsComponent_Query","PvInfoDetailsComponent_mat_header_cell_4_Template","PvInfoDetailsComponent_mat_cell_5_Template","PvInfoDetailsComponent_mat_header_cell_7_Template","PvInfoDetailsComponent_mat_cell_8_Template","PvInfoDetailsComponent_mat_header_cell_10_Template","PvInfoDetailsComponent_mat_cell_11_Template","PvInfoDetailsComponent_mat_header_cell_13_Template","PvInfoDetailsComponent_mat_cell_14_Template","PvInfoDetailsComponent_mat_header_cell_16_Template","PvInfoDetailsComponent_mat_cell_17_Template","PvInfoDetailsComponent_mat_header_cell_19_Template","PvInfoDetailsComponent_mat_cell_20_Template","PvInfoDetailsComponent_mat_header_row_21_Template","PvInfoDetailsComponent_mat_row_22_Template","PvInfoComponent_filter_box_23_Template_filter_box_changed_0_listener","PvInfoComponent_mat_list_item_34_Template_mat_list_item_click_0_listener","PvInfoComponent_mat_list_item_34_span_2_Template","PvInfoComponent_mat_list_item_34_waiting_dots_3_Template","PvInfoComponent_Query","PvInfoComponent_Template_button_click_3_listener","PvInfoComponent_Template_mat_sidenav_mouseenter_18_listener","PvInfoComponent_Template_mat_sidenav_mouseleave_18_listener","PvInfoComponent_mat_icon_22_Template","PvInfoComponent_filter_box_23_Template","PvInfoComponent_Template_mat_list_item_click_28_listener","PvInfoComponent_span_30_Template","PvInfoComponent_waiting_dots_31_Template","PvInfoComponent_mat_list_item_34_Template","PvInfoComponent_overlay_loading_41_Template","waring","RejectDialogComponent_Template","RejectDialogComponent_Template_textarea_ngModelChange_7_listener","RejectDialogComponent_Template_button_click_10_listener","RejectDialogComponent_Template_button_click_12_listener","RelatedDocumentsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","document_r5","RelatedDocumentsComponent_mat_chip_row_6_Template_span_click_1_listener","RelatedDocumentsComponent_mat_chip_row_6_mat_icon_3_Template","relatedDocumentStatus","disableTooltips","RelatedDocumentsComponent_mat_optgroup_11_mat_option_1_span_3_Template","RelatedDocumentsComponent_mat_optgroup_11_mat_option_1_Template","type_r10","filterTypeDocuments","RelatedDocumentsComponent","getRelatedinfo","relatedDocument","setDescriptions","filterDocuments","createGroups","onDocChange","RelatedDocumentsComponent_Query","RelatedDocumentsComponent_mat_chip_row_6_Template","RelatedDocumentsComponent_Template_input_matChipInputTokenEnd_7_listener","RelatedDocumentsComponent_Template_input_keyup_7_listener","RelatedDocumentsComponent_Template_mat_autocomplete_optionSelected_9_listener","RelatedDocumentsComponent_mat_optgroup_11_Template","relatedLink_r4","RelatedLinkChipsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","RelatedLinkChipsComponent_mat_chip_row_6_a_1_Template","RelatedLinkChipsComponent_mat_chip_row_6_span_2_Template","RelatedLinkChipsComponent_mat_chip_row_6_mat_icon_3_Template","RelatedLinkChipsComponent_button_9_Template_button_click_0_listener","RelatedLinkChipsComponent","onEdited","relatedLinksJson","documentNameOrHyperlinkPlaceholder","webAddressPlaceholder","relatedLink","RelatedLinkChipsComponent_Template","RelatedLinkChipsComponent_mat_chip_row_6_Template","RelatedLinkChipsComponent_button_9_Template","RelatedLinkDocumentChipsComponent_mat_chip_6_mat_icon_4_Template_mat_icon_click_0_listener","RelatedLinkDocumentChipsComponent_mat_chip_6_Template_mat_chip_removed_0_listener","RelatedLinkDocumentChipsComponent_mat_chip_6_div_1_Template","RelatedLinkDocumentChipsComponent_mat_chip_6_div_2_Template","RelatedLinkDocumentChipsComponent_mat_chip_6_div_3_Template","RelatedLinkDocumentChipsComponent_mat_chip_6_mat_icon_4_Template","RelatedLinkDocumentChipsComponent_mat_chip_6_mat_icon_5_Template","RelatedLinkDocumentChipsComponent","fileUploadService","edited","relatedLinksDocuments","RelatedLinkDocumentChipsComponent_Template","RelatedLinkDocumentChipsComponent_span_3_Template","RelatedLinkDocumentChipsComponent_mat_chip_6_Template","RelatedLinkDocumentChipsComponent_Template_button_click_7_listener","ResourceChipsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","resource_r6","ResourceChipsComponent_mat_chip_row_6_mat_icon_2_Template","resource_r12","ResourceChipsComponent_mat_optgroup_11_mat_option_1_Template","group_r10","ResourceChipsComponent","filterResourcces","selectedResources","createResourceGroups","resourceInput","ResourceChipsComponent_Query","ResourceChipsComponent_mat_chip_row_6_Template","ResourceChipsComponent_Template_input_keyup_7_listener","ResourceChipsComponent_Template_input_mousedown_7_listener","ResourceChipsComponent_Template_mat_autocomplete_optionSelected_9_listener","ResourceChipsComponent_mat_optgroup_11_Template","ResourceChipsComponent_mat_error_12_Template","ResourceAutocompleteComponent_mat_icon_5_Template_mat_icon_click_0_listener","resourceChange","resourceValue","customResources","onResourceInputKeyup","ResourceAutocompleteComponent_Query","ResourceAutocompleteComponent_Template_input_keyup_3_listener","ResourceAutocompleteComponent_mat_icon_5_Template","ResourceAutocompleteComponent_Template_mat_autocomplete_optionSelected_6_listener","ResourceAutocompleteComponent_mat_option_8_Template","FormRestrictionTableComponent_mat_cell_7_button_1_Template_button_click_0_listener","FormRestrictionTableComponent_mat_cell_7_button_1_Template","FormRestrictionTableComponent_restriction_available_autocomplete_10_Template_restriction_available_autocomplete_onRestrictionSelected_0_listener","FormRestrictionTableComponent_restriction_available_autocomplete_10_Template_restriction_available_autocomplete_onFreeTextRestrictionWritten_0_listener","formRestriction","restrictionsAutocomplete","FormRestrictionTableComponent_Query","FormRestrictionTableComponent_mat_header_cell_3_Template","FormRestrictionTableComponent_mat_cell_4_Template","FormRestrictionTableComponent_mat_header_cell_6_Template","FormRestrictionTableComponent_mat_cell_7_Template","FormRestrictionTableComponent_mat_header_row_8_Template","FormRestrictionTableComponent_mat_row_9_Template","FormRestrictionTableComponent_restriction_available_autocomplete_10_Template","restriction_r4","onRestrictionSelected","onFreeTextRestrictionWritten","autoRestriction","availablerestrictions","filteredRestrictions","uniqueRestrictions","resourceIds","selectedRestrictions","onRestrictionInputKeyup","restrictionInput","availableRestrictions","autoRestrictions","missingRestrictions","RestrictionAvailableAutocompleteComponent_Query","RestrictionAvailableAutocompleteComponent_Template_input_keyup_1_listener","RestrictionAvailableAutocompleteComponent_Template_input_blur_1_listener","RestrictionAvailableAutocompleteComponent_Template_mat_autocomplete_optionSelected_3_listener","RestrictionAvailableAutocompleteComponent_mat_option_5_Template","RestrictionAvailableAutocompleteComponent_mat_error_6_Template","endPoint","getAllRestrictions","getByFormType","postRestriction","saveRestriction","alternateRestrictionLanguage","getByShieldingId","ReadAvailable","valueOf","ReadAvailableByIds","queryString","SaveRestriction","alignLeft","noWrap","RoleChipsComponent_Template","RoleChipsComponent_mat_chip_row_1_Template","RoleSelectionComponent_mat_chip_row_5_Template_mat_chip_row_removed_0_listener","RoleSelectionComponent_mat_chip_row_5_mat_icon_2_Template","showNames","RoleSelectionComponent_input_6_Template_input_keyup_0_listener","RoleSelectionComponent_input_6_Template_input_mousedown_0_listener","mousedown","RoleSelectionComponent_input_6_Template_input_matChipInputTokenEnd_0_listener","RoleSelectionComponent_input_7_Template_input_keyup_0_listener","RoleSelectionComponent_input_7_Template_input_mousedown_0_listener","RoleSelectionComponent_input_7_Template_input_matChipInputTokenEnd_0_listener","RoleSelectionComponent_Template","RoleSelectionComponent_mat_chip_row_5_Template","RoleSelectionComponent_input_6_Template","RoleSelectionComponent_input_7_Template","RoleSelectionComponent_Template_mat_autocomplete_optionSelected_8_listener","RoleSelectionComponent_mat_option_10_Template","RoleSelectionComponent_mat_error_11_Template","RssTestShutterChipsComponent_mat_chip_row_6_Template_mat_chip_row_removed_0_listener","rssTestShutter_r5","RssTestShutterChipsComponent_mat_chip_row_6_mat_icon_2_Template","RssTestShutterChipsComponent","allResources","formatProps","selectedRssTestShutters","BeamlineID","ShutterID","rssTestShutter","RssTestShutterChipsComponent_Query","RssTestShutterChipsComponent_mat_chip_row_6_Template","RssTestShutterChipsComponent_Template_input_keyup_7_listener","RssTestShutterChipsComponent_Template_mat_autocomplete_optionSelected_9_listener","RssTestShutterChipsComponent_mat_option_11_Template","acceptDisabled","cancelClicked","textChange","TextareaDialogComponent_Template","TextareaDialogComponent_Template_textarea_ngModelChange_6_listener","TextareaDialogComponent_Template_button_click_9_listener","TextareaDialogComponent_Template_button_click_11_listener","TransactionLogRefresh","TransactionLogStateModel","TransactionLogState","GetBySerialNo","TransactionLogActionsActions","TransactionLogStoreAndListenersService","TRANSACTION_LOG","originalBodyEB2","originalBodyPPSTB","TransactionLogAmendmentsComponent_mat_expansion_panel_1_eb_main_s1_6_Template","TransactionLogAmendmentsComponent_mat_expansion_panel_1_ppstb_main_s1_7_Template","update_r6","s_r16","roleName","getUserSign","TransactionLogAmendmentsComponent_div_2_mat_expansion_panel_1_eb_main_s1_12_Template","TransactionLogAmendmentsComponent_div_2_mat_expansion_panel_1_ppstb_main_s1_13_Template","TransactionLogAmendmentsComponent_div_2_mat_expansion_panel_1_div_20_Template","TransactionLogAmendmentsComponent_div_2_mat_expansion_panel_1_div_21_Template","TransactionLogAmendmentsComponent_div_2_mat_expansion_panel_1_Template","TransactionLogAmendmentsComponent","currentBody","getLogHeadText","amendmentList","previous","TransactionLogAmendmentsComponent_Template","TransactionLogAmendmentsComponent_mat_expansion_panel_1_Template","TransactionLogAmendmentsComponent_div_2_Template","signature_r1","TransactionLogApprovalsComponent_mat_list_item_1_mat_icon_13_Template","TransactionLogApprovalsComponent_mat_list_item_1_span_14_Template","TransactionLogApprovalsComponent","createSignLogs","transactionLogs","entityName","signLog","SignedBy","SignedOn","AmendmentId","Reason","RoleName","TransactionLogApprovalsComponent_Template","TransactionLogApprovalsComponent_mat_list_item_1_Template","TransactionLogComponent","loadTransactionLogs","transactionLogsSubs","transactionLogs$","TransactionLog","TransactionLogComponent_Query","UserAutocompletePopupParameters","selectedUser","UserAutocompletePopupComponent_Query","UserAutocompletePopupComponent_Template_input_keyup_6_listener","UserAutocompletePopupComponent_Template_mat_autocomplete_optionSelected_8_listener","UserAutocompletePopupComponent_mat_option_10_Template","UserAutocompletePopupComponent_Template_button_click_12_listener","UserAutocompletePopupComponent_Template_button_click_14_listener","user_r1","UserSelectComponent","userIDValue","userIDChange","UserSelectComponent_Template","UserSelectComponent_Template_mat_select_ngModelChange_3_listener","UserSelectComponent_mat_option_4_Template","WaitingDotsComponent_Template","WaitingTextComponent_Template","WorkerVerificationRefresh","WorkerVerificationCreate","WorkerVerificationUpdate","WorkerVerificationDelete","WorkerVerificationStateModel","WorkerVerificationState","workerverificationService","WorkerVerificationActions","WorkerVerificationStoreAndListenersService","WORKERVERIFICATION","e_r9","WorkerVerificationComponent_mat_header_cell_12_button_1_Template_button_click_0_listener","addSignature","WorkerVerificationComponent_mat_header_cell_12_button_1_Template","WorkerVerificationComponent_mat_cell_13_button_1_Template_button_click_0_listener","WorkerVerificationComponent_mat_cell_13_button_1_Template","WorkerVerificationComponent","on_refresh_error","displayed_columns","ActiveBypassInstalled","ActiveOperationsVerified","ActiveMitigationsInPlace","worker_verification","confirmApprovement","deleteByFormUser","WorkerVerificationComponent_Template","WorkerVerificationComponent_mat_header_cell_6_Template","WorkerVerificationComponent_mat_cell_7_Template","WorkerVerificationComponent_mat_header_cell_9_Template","WorkerVerificationComponent_mat_cell_10_Template","WorkerVerificationComponent_mat_header_cell_12_Template","WorkerVerificationComponent_mat_cell_13_Template","WorkerVerificationComponent_mat_header_row_14_Template","WorkerVerificationComponent_mat_row_15_Template","buttonCancel","buttonAccept","YesNoDialogComponent_Template","YesNoDialogComponent_mat_icon_4_Template","YesNoDialogComponent_mat_icon_5_Template","YesNoDialogComponent_mat_icon_6_Template","YesNoDialogComponent_mat_icon_7_Template","HTTP_INTERCEPTORS","TokenInterceptor","throwError","intercept","req","ologUrl","handle","authReq","authToken","sessionFinished","navigateByUrl","MatFileListComponent_mat_file_2_Template_mat_file_deletedAttachmentFile_0_listener","OnDeletedAttachmentFile","attachment_r3","fileIcon","SizeKb","rootDirectory","MatFileListComponent_mat_file_v2_upload_3_Template_mat_file_v2_upload_selectedFilesChanged_0_listener","selectedFilesChanged","upload_when_selected","MatFileListComponent","showupload","attachments","loadFiles","attachment","fileSize","createdon","iconCheck","refresh_list","show_upload","deletedId","filteredCommentFiles","filteredRadAreaFiles","MatFileListComponent_Template","MatFileListComponent_mat_progress_bar_1_Template","MatFileListComponent_mat_file_2_Template","MatFileListComponent_mat_file_v2_upload_3_Template","ProgressStatusEnum","HttpEventType","MatFileUploadComponent_button_8_Template_button_click_0_listener","MatFileUploadComponent_button_8_span_1_Template","uploadButtonText","customSvgIcon","MatFileUploadComponent_button_12_Template_button_click_0_listener","filesChanged","MatFileUploadComponent_button_12_mat_icon_3_Template","percentage","MatFileUploadComponent_div_14_mat_file_1_Template_mat_file_deleted_0_listener","attachment_r13","MatFileUploadComponent_div_14_mat_file_1_Template","MatFileUploadComponent","labelText","selectButtonText","allowMultipleFiles","showUploadButton","showFiles","acceptedTypes","uploaded","selectedFileText","showProgress","showDownloadError","showUploadError","uploadStatus","ngOnChange","upload_invalid_exe","numSelectedFiles","resetFileInput","setId","getFiles","fileInputRef","START","formData","postFiles","UploadProgress","uploadStatusShow","IN_PROGRESS","Response","COMPLETE","ERROR","MatFileUploadComponent_Query","MatFileUploadComponent_Template_button_click_2_listener","MatFileUploadComponent_span_3_Template","MatFileUploadComponent_Template_input_change_6_listener","MatFileUploadComponent_button_8_Template","MatFileUploadComponent_button_12_Template","MatFileUploadComponent_p_13_Template","MatFileUploadComponent_div_14_Template","Attachment","MatFileComponent","HttpRequest","of","getFilesByComment","commentId","getFilesByRadArea","radAreaId","downloadFile","reportProgress","iconPath","returnUnknown","MatFileV2UploadComponent_button_10_Template_button_click_0_listener","MatFileV2UploadComponent_div_12_mat_file_1_Template_mat_file_deleted_0_listener","attachment_r9","MatFileV2UploadComponent_div_12_mat_file_1_Template","radiationAreaItemId","fileList","DataTransfer","uploading","MatFileV2UploadComponent_Query","MatFileV2UploadComponent_Template_button_click_0_listener","MatFileV2UploadComponent_span_1_Template","MatFileV2UploadComponent_mat_icon_4_Template","MatFileV2UploadComponent_Template_input_change_5_listener","MatFileV2UploadComponent_button_10_Template","MatFileV2UploadComponent_p_11_Template","MatFileV2UploadComponent_div_12_Template","MatFileComponent_mat_icon_11_Template_mat_icon_click_0_listener","deleteAttachment","deletedAttachmentFile","downloadStatus","rootDirectoryAttachment","obtainFileServer","fileServer","download","fileServerId","fileServedFound","DownloadProgress","downloadedFile","Blob","createObjectURL","removeChild","fileUrl","MatFileComponent_Template","MatFileComponent_Template_div_click_1_listener","MatFileComponent_mat_icon_11_Template","operatorsArray","Operators","getRolesChecked","getBoolean","getText","storedText","storedString","evaluateSingleCondition","EQUAL","EQUAL2","NOTEQUAL","NOTEQUAL2","op","generalConditions","getENUMString","evalGeneralConditions","operands","var1","var2","NOT","AND","OR","AllTasksCompleted","parseCondition","tokenize","tokens","buffer","depth","char","parseConditionRecursive","conditionResult","QuillCustomClasses","imageSizesClass","custom_image_sizes_class","ev","ImageBlot","Parchment","Embed","CustomImageResizeBlot","domNode","bounds","getBounds","childNode","nextSibling","insertCustomSpan","getElementsByClassName","insertBefore","customElement","previousSiblingBeforeDotContainer","smallBtn","onclick","resizeImage","Small","fitBtn","Fit","largeBtn","Original","insertEmbed","isTouchDevice","ontouchstart","maxTouchPoints","aSeparated","bSeparated","aElement","bElement","aNum","bNum","aisblbr","bisblbr","aisbl","bisbl","aLength","bLength","aMatchResult","asub","bMatchResult","bsub","ignoreCase","compareString","strA","strB","regex","aParts","bParts","partA","partB","numA","numB","stringComparison","numeric","getNestedValue","part","aValue","bValue","DatePlusseconds","d1","d2","setSeconds","hasWhiteSpace","cache","dif","setB","isDate","momentA","momentB","ENUM","myEnum","objectEnum","enumObj","customSize","naturalWidth","normalWidth","smallDivider","fitDivider","removeHtmlInstancesFromElement","removeHtmlInstances","quillEditors","objectProps","resourceProps","propName","propValue","resourceProp","instance","hasOwnProperty","camelCaseKey","num","scale","numStr","base","exponent","newExponent","arrayToInsert","checkCompletedByComponent","unchecked","words","camelCaseWords","word","arr1","arr2","ceil","random","emailStrings","emailString","HighlightSearchPipe","search","nullValue","valueStr","returnVal","rby","pure","linkExp","mailExp","parseTextHTML","isHTML","rawText","URLS","getHTMLText","NgxMaterialTimepickerModule","developmentMode","toastr","toastrConfig","progressBar","closeButton","extendedTimeOut","easing","enableHtml","newestOnTop","toastClass","disableTimeOut","getConfig","prevMessage","ToastrService","Alert","OlogAlert","AlertStateModel","AlertState","ologAlert","AlertActions","AlertStoreAndListenersService","ALERT","cookieSubject","cookieName","intervalId","newValue","getMe","showMessage","getFullInfo","atob","getRole","allPrivilage","apiDocuments","apiDocumentTypes","getRelatedDocuments","documentTypeToCreate","documentTypeToUpdate","docLocations","DocumentsRequestRefresh","DocumentsCreate","DocumentsUpdate","DocumentsUpdateAll","DocumentsDelete","DocumentsStateModel","DocumentsState","catgegory","DocumentsActions","DocumentsStoreAndListenersService","DOCUMENTS","processImages","base64","imageBlob","dataURItoBlob","imageExt","imageFile","File","byteString","arrayBuffer","ArrayBuffer","int8Array","Uint8Array","charCodeAt","blob","FormRestriction","FormRestrictionSave","recycleSerialOnCancel","readActiveByForm","FormVersionSave","FormSave","httpClient","componentMethodCallSource","componentMethodCalled$","httpOptions","genericMsgError","genericError","ErrorEvent","callComponentMethod","auth","domain","controller","readActive","PendingAccelerator","PendingResource","PendingRole","PendingNotificationTemplate","isBuilder","placeholders$","Placeholders","placeholdersSubs","getKeyValues","rs","radItem","PlaceholdersRefresh","PlaceholdersCreate","PlaceholdersUpdate","PlaceholdersDelete","PlaceholdersStateModel","PlaceholdersState","PlaceholdersActions","PlaceholdersStoreAndListenersService","PLACEHOLDERS","PVCreate","PVUpdate","PVDelete","PVRefreshByID","PVStateModel","PVState","PVActions","PVStoreAndListenersService","PVINFO","PrivilegeCategoryService","getByType","PrivilegeService","apiPending","getAllRolePrivileges","ByPrivilege","HasAccess","createRolePrivilegePending","rolePrivilegePending","PrivilegeCategoryCreate","PrivilegeCategoryUpdate","PrivilegeCategoryDelete","PrivilegeCategoryStateModel","PrivilegeCategoryState","PrivilegeCategoryActions","PrivilegeCategoryStoreAndListenersService","PRIVILEGE_CATEGORIES","PrivilegeRefresh","PrivilegeCreate","PrivilegeUpdate","PrivilegeDelete","PrivilegeStateModel","PrivilegeState","PrivilegeActions","PrivilegeStoreAndListenersService","PRIVILEGES","RolePrivilegeRefresh","RolePrivilegeCreate","RolePrivilegeUpdate","RolePrivilegeDelete","RolePrivilegeStateModel","RolePrivilegeState","RolePrivilegeActions","RolePrivilegeStoreAndListenersService","ROLE_PRIVILEGES","deleteActive","absiSectionStore","absiStore","absiTemplateTypeStore","absiTemplateVersionStore","acceleratorStatusListener","actionItemStore","annotationsStore","aplCategoryStore","aplGroupStore","bakeoutStore","beamlineStatusStore","branchlineStatusStore","bulletinBoardStore","radiationAreaStore","checklistTemplateStatusStore","checklistsStore","commentsStore","documentTypeStore","documentsStore","formsStore","kEnableStore","menuItemStore","messageBannerStore","navigationLinkStore","notificationTemplateStore","ologCategoryStore","ologEmailStore","pendingCatalogsStore","pendingResourcesStore","privilegeCategoryStore","privilegeStore","procedureCategoryStore","procedureCreditedStore","procedureStore","procedureTemplateStore","procedureTrainingStore","procedureTypeStore","radInterlockRelationsStore","radInterlockStore","radLocationStore","radLocationTypeStore","radMetersStore","radMonitorStore","resourceRelationsStore","resourceTypesStore","resourcesStore","pvStore","reviewSatisfactionCheckStore","rolePrivilegeStore","roleStore","rsswaStore","scheduleReminderStore","scheduleSubtypesStore","scheduleTypesStore","scfMastersStore","templateTypesStore","tasksStore","tocaStore","toxicGasStore","usersStore","workerVerificationStore","keVersionStore","alertStore","deletedTasksStore","deletedStepsStore","deletedSectionsStore","beamlineRestrictionStore","placeholderStore","builderTaskStore","ologMesssageStore","missingTrainingStore","transactionLogstore","checkReconnection","reconnected","closeListener","off","i20","i21","i22","i23","i24","i25","i26","i27","i28","i29","i30","i31","i32","i33","i34","i35","i36","i37","i38","i39","i40","i41","i42","i43","i44","i45","i46","i47","i48","i49","i50","i51","i52","i53","i54","i55","i56","i57","i58","i59","i60","i61","i62","i63","i64","i65","i66","i67","i68","i69","i70","i71","i72","i73","i74","i75","i76","i77","i78","i79","i80","i81","i82","i83","i84","i85","i86","i87","i88","MyLogger","logLevel","setLogLevel","getLogLevel","firstLoad","logger","listenOn2","funct","checkLogger","HubConnectionBuilder","withUrl","withAutomaticReconnect","configureLogging","build","keepAliveIntervalInMilliseconds","serverTimeoutInMilliseconds","startHubConnection","onreconnecting","onreconnected","connectionId","onclose","listenOn","start","tooltipClass","showDelay","hideDelay","touchendHideDelay","authentication","refreshTableData","ReadById","WorkFlowTask","WFConfiguration","WorkFlow","TransactionLogs","readPending","readByWorkFlow","readAllBySection","httpResult","readByWorkFlowBySection","wfTaskLocalId","duplicatedTag","readAmendmentTasks","readCurrentAmendmentID","getWFTable","getWFTableByForm","getWFTableById","getWFMaster","getWFSteps","wfRole","putWFRole","postWFTask","delWFTask","postWFStep","putWFStep","delWFStep","postWFSection","putWFSection","delWFSection","postWFTable","putWFTable","delWFTable","copyWFTable","reorderItems","amendmendTask","WfActionLocalResource","WFStepLocalResource","WFStep","WfTaskResource","showRoleCodes","WFRoleLocal","ExtraAction","ReadByIdAndType","byForm","byFormUser","getByFormUser","workerVerification","xmlString","parser","xmlDoc","detailsElement","getElementsByTagName","cdataContent","xmlToJson","xml","nodeType","attribute","nodeValue","hasChildNodes","old","RefreshCurrentUser","RefreshFormsByType","ftype","AuthenticationStoreAndListenersService","AUTHENTICATION","WFTASK","PROCEDURECONFIGURATION","CLOCKTIMER","RADMONITORDESCRIPTION","RADMONITORTYPE","RADNOTE","CHECKLISTSECTION","ALLBRANCHLINES","CHECKLISTTEMPLATES","FORMSTATUSES","REVIEW_ATTENDANCE_ROSTER","PENDING_APPROVALS","MY_PENDING_CATALOGS","FormStatusesRefresh","FormStatusesCreate","FormStatusesUpdate","FormStatusesDelete","FormStatusesStateModel","FormStatusesState","FormStatusesActions","AppStateModel","urlsProd","request_amendment","unapprove_message","disapprove_message","finish_message","toActiveWarning","toWorkCompleteWarning","toHandshakeWarning","formStateChanged","user_not_logged","LocationAdded","NewChecklistCreated","KEResetVacuumValues","KENoVersionsFound","DraftSaved","DraftUpdated","FormUpdated","Submitted","amendment_saved","amendment_Submitted","Section1Updated","Section2Updated","Section3Updated","Section4Updated","Section5Updated","Section6Updated","FormClosed","CommentAdded","CommentDeleted","invalidLocation","invalidStartDate","invalidEndDate","invalidRequester","invalidDescription","no_ketemplate","no_absiTemplate","cancelForm","deleteFormConfirmation","finishTime","oneMinuteUntilTime","editingByTimer","OlogEntrySent","OlogPasswordWrong","OlogDevEnv","KEChecklistAlreadyOpen","AbsiChecklistAlreadyOpen","defaultErrorMessage","HassDisapprovalReason","removeRelatedDoc","KEVacuumEditTextWarning","KERadioChangedWarning","KEResetToActive","ppstbRequesterValidation","ppstbJustificationValidation","ppstbBypassDetailsValidation","ppstbPermittedStartDateValidation","ppstbEstimatedCompletionValidation","ppstbEstimatedCompletionLessThanPermittedStartDateValidation","ppstbPermittedStartDateGreaterThanEstimatedCompletion","ppstbConditionsAndLimitationsValidations","ppstbSystemsValidation","noStandarRestrictionsWereAdded","KEResetShieldings","KEResetedToShieldings","pleaseCheckOnAtLeastOneSystemAffected","CopyForm","AccAdded","AccApr","AccDisapp","AccMod","inactiveUsers","logoutShib","verifyPassword","KEBlSciErrorSignature","ChangeBranchlineStatus","NoRestrictionsWereAdded","NoMitigationsWereAdded","AreYouSureYouWantToCopyThisForm","Enter_A_Reason_To_Disable","Enter_your_password_to_submit_the_entry_to_olog","DocumentNameOrHyperlink","AddRelatedDocumentOrLink","YouMustEnterAValidaValue","PPSTB_Filter","PPSTB_PPSTB_Forms","PPSTB_Show_Closed_Canceled_PPSTB","PPSTB_Loading_Data","PPSTB_Start_New","PPSTB_Edit_Form","PPSTB_Need_More_Time","PPSTB_Release_Form","PPSTB_Force_Release_Form","PPSTB_Create_An_Amendment","PPSTB_Bypass_Initiation","PPSTB_Controls_And_Approvals","PPSTB_Mitigations_Installation","PPSTB_Bypass_Installation","PPSTB_Operation_Verification","PPSTB_Bypass_Removal","PPSTB_Mitigations_And_Conditions","PPSTB_Close_Out","PPSTB_Comments_And_Attachments","PPSTB_1_Bypass_Initiation","PPSTB_Creation_Date","PPSTB_User_Initiating_Form","PPSTB_Requester","PPSTB_Related_Forms","PPSTB_Related_Documents_And_Links","PPSTB_Justification_For_Bypass","PPSTB_Systems_Affected","PPSTB_Top_Off","PPSTB_Radiation_Monitoring_System","PPSTB_Beamline","PPSTB_Accelerator","PPSTB_Shutters","PPSTB_Other_Systems","PPSTB_2_Controls_And_Approvals","PPSTB_Edit_Olog","PPSTB_Mitigations","PPSTB_Add_Mitigation","PPSTB_Conditions_And_Limitations","PPSTB_Systems_And_Print_Number","PPSTB_Bypass_Details","PPSTB_Permitted_Start_Date","PPSTB_Estimated_Completion","PPSTB_Cancel","PPSTB_Submit","PPSTB_Unsubmit","PPSTB_Save_As_Draft","PPSTB_Update_Draft","PPSTB_3_Mitigation_Installation_And_Conditions_Limitations_In_Place","PPSTB_Save_And_Continue","PPSTB_Undo","PPSTB_Mitigation_Not_Required","PPSTB_4_Bypass_Installation","PPSTB_Bypass_Not_Required","PPSTB_5_Operation_Verification","PPSTB_6_Bypass_Removal_And_Verification_Of_Operation","PPSTB_7_Mitigation_And_Conditions_Limitations_Removal","PPSTB_Follow_Up","PPSTB_Repair_Replace_Component","PPSTB_Modify_Interlock","PPSTB_Re_Design_Interlock","PPSTB_Other","PPSTB_Save","PPSTB_8_Close_Out","PPSTB_Close_PPSTB","PPSTB_History_Log","PPSTB_Initial_Values","PPSTB_Empty","PPSTB_Operational_Restrictions","PPSTB_Approvals","PPSTB_Reason","PPSTB_Amendments","PPSTB_Amendment","PPSTB_Created_On","PPSTB_By","PPSTB_On","PPSTB_Added","PPSTB_Deleted","PPSTB_Modified","PPSTB_Signatures","PPSTB_There_Are_No_Signatures","PPSTB_Date","Rad_Survey_Image_Component_Delete_Row","Rad_Survey_Image_Component_Delete_Image","Rad_Survey_Image_Component_Delete_Column","Rad_Survey_Image_Component_Delete_Spot","Rad_Survey_Cancel_Boton_Component_Properties","PPSTB_label_testing_required","genericMessage","what","creates","adds","removes","reads","shceduleMessage","pvwsURL","enableProdMode","__NgCli_bootstrap_1","platformBrowser","bootstrapModule"],"sourceRoot":"webpack:///","x_google_ignoreList":[1460]}